docbrown/app/javascript
Nick Taylor d6e5808dec
Created Crayons Button Preact component (#6987)
* 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.
2020-04-03 10:49:01 -04:00
..
.storybook Add webpack aliases for Crayons components (#6958) 2020-03-31 07:16:29 -04:00
analytics Move Chart.js to dynamic import (#5576) [deploy] 2020-01-18 20:46:35 -05:00
article-form [deploy] Revert "Serve Feed Content From Elasticsearch (#6847)" (#6983) 2020-03-31 16:25:48 -05:00
articles [deploy] Revert "Serve Feed Content From Elasticsearch (#6847)" (#6983) 2020-03-31 16:25:48 -05:00
chat remove user search from chat channel settings (#7015) 2020-04-02 09:13:51 +02:00
contentDisplayPolicy Migrate to streaming app shell via serviceworkers (#5020) [deploy] 2019-12-16 12:21:33 -05:00
crayons Created Crayons Button Preact component (#6987) 2020-04-03 10:49:01 -04:00
githubRepos [deploy] Remove github_repos from public API (#6304) 2020-02-26 11:23:39 -05:00
internal Remove mutationobserver-shim (#7041) 2020-04-02 15:53:06 -04:00
leftSidebar Fix homepage back button flicker (#6688) [deploy] 2020-03-17 22:40:49 -04:00
listings Use correct attribute for rendering tags in listings (#6741) [deploy] 2020-03-21 11:46:23 +01:00
onboarding [deploy] Fix small onboarding issues (#6963) 2020-03-30 20:43:33 -04:00
organization Refactored to use a common <OrganizationPicker /> component (#4470) 2019-10-24 17:27:16 -04:00
packs [deploy] Add valiation for file name length to file uploads (#6918) 2020-03-27 18:54:27 -04:00
podcasts Upgrade Storybook to 5.3.17 (#6754) 2020-03-23 09:46:50 -04:00
profileDropdown Chat: Remove Report Button from user's own profile sidebar (#4604) [deploy] 2019-12-02 16:35:47 -05:00
readingList Refactor debounce usage into debounceAction util (#6506) 2020-03-09 17:38:39 -04:00
searchableItemList fix totalCount getting an array instead of a number (#5359) 2020-01-09 09:47:55 -05:00
shared/components Remove debouncing from Tags component to fix glitching in autocompletion (#6598) [deploy] 2020-03-20 18:18:05 +01:00
sidebar-widget Move user following suggestions to internal API (#6601) [deploy] 2020-03-13 13:37:24 +01:00
src [deploy] Revert "Serve Feed Content From Elasticsearch (#6847)" (#6983) 2020-03-31 16:25:48 -05:00
utilities/__tests__ [deploy] Made changes to timeAgo function for Preact component usage. (#6083) 2020-02-17 10:04:38 -05:00
.eslintrc.js Add webpack aliases for Crayons components (#6958) 2020-03-31 07:16:29 -04:00