* wip <Button > component. * wip button components. * Fixed issue when icon does not exist. * Removed subfolder JSX for Preact components in Storybook sidebar. * Touched up some Storybook stories. * Now <Button /> component supports a or button for HTML. * Now the <Button /> component supports the disabled prop * A nice little refactor. * Added onClick, onMouseOver, onMouseOut, onFocus and onBlur events to the <Button /> component. * Set the cursor to default when a <Button /> component is disabled. * Added tests for <Button /> component. * Added tests for <SecondaryButton />, <OutlineButton /> and <DangerButton />. * Updated disabled cursor. * Removed link href when button is disabled and is an <a />. * Added the icon alone option for the <Button /> component. * Now active and hover states are disabled for <Button /> when an HTML button is rendered. * Now the disabled <Button /> component deactivates hover/active states properly. * Removed global button hover styling as per @ludwiczakpawel's request. * Renamed the as prop to tagName. * Removed components that were wrapping different variants. |
||
|---|---|---|
| .. | ||
| __stories__ | ||
| __tests__ | ||
| Dropdown.jsx | ||
| index.js | ||