* wip
* no comment
* tests
* typo
* typo
* crayons example page
* doc
* boxes fix
* fix
* Update index.html.erb
* Small refactor to return null when the modal is not visible.
* Update app/assets/stylesheets/components/modals.scss
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
* tiny fixes & improvements
Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
* 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.
* Created barrel files so we can import directly from @crayons.
* Added stories for Dropdown for JSX.
* Tweaked Dropdown Storybook stories.
* Tweaked <Dropdown /> component.
* Added module mapping to jest for @crayons.
* Added tests for <Dropdown /> component.
* Removed Storybook custom decorator that is no longer required.