docbrown/app/javascript/crayons
Ridhwana fe447694ed
BETA version of the Storybook Multi Input (#17828)
* feat: create a crayons component called MultiInput that appears under App Components/MultiInput

* feat: add the doc describing the components to storybook

* feat: create the component ina  different file and reference its usage from the stories

* feat: add a random class to hook up a stylesheet to the component

* lets just copy soem HTML

* chore: remove arias that will not be used for the multiinput

* feat: update the classnames and remove unneeded html

* feat: multi input css updates

* feat: add the ability to set the list of emails using state

* feat: add the ability to clear the input selection

* feat: remove item

* feat: handle key events like space, comma and enter in the input

* refactor: clean up code a bit

* refactor: rename email to item

* fix: remove space keydown as its causing weird behaviour

* refactor: remove unused css now that we using pills

* feat: ensure that we do not add blank pills

* feat: add the component to BETA

* feat: rename addToList to addItemToList to be more verbose

* feat: add the first component prop i.e. placeholder

* feat: add a more descriptive text

* feat: add a padding to the field

* remove unused arial labels, and erword soem descriptions

* feat: add imports to scss

* Update app/javascript/crayons/MultiInput/MultiInput.jsx

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* Update app/javascript/crayons/MultiInput/MultiInput.jsx

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* Update app/javascript/crayons/MultiInput/__stories__/MultiInput.mdx

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
2022-06-07 12:22:33 +02:00
..
avatarsAndLogos Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Button Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
ButtonGroup Update a11y of ButtonGroup component (#15765) 2021-12-15 12:52:33 +00:00
Buttons Now <viewbox /> is preserved in SVGs when using the inline-react-svg plugin (#16287) 2022-01-24 16:25:14 -05:00
CTAs Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Dropdown Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
formElements Reusable user admin modals (#17763) 2022-06-02 09:52:26 -06:00
guidelines/__stories__ Storybook improvements (#15860) 2022-01-14 11:06:42 +01:00
Icons Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Indicators Color tokens (#16107) 2022-01-21 07:41:03 +01:00
Links Now <viewbox /> is preserved in SVGs when using the inline-react-svg plugin (#16287) 2022-01-24 16:25:14 -05:00
MarkdownToolbar Refactor runtime to webpacker JS (#17142) 2022-04-07 15:39:38 +01:00
MentionAutocompleteTextArea Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
MobileDrawer Bump @testing-library/user-event from 13.5.0 to 14.1.0 (#17253) 2022-04-13 10:41:08 -06:00
Modal Member index phase 2 - mock filters modal (#17578) 2022-05-17 15:25:21 +01:00
MultiInput BETA version of the Storybook Multi Input (#17828) 2022-06-07 12:22:33 +02:00
MultiSelectAutocomplete Add prop for user-defined selections in MultiSelectAutocomplete (#17402) 2022-04-29 09:39:25 +01:00
navigation/NavigationTabs/__stories__ Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Notice/__stories__ Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Pills Crayons: Pills component (#16271) 2022-01-27 15:34:03 +01:00
Spinner Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
storybook-utilities Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
typography/__stories__ Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
index.js Add new tag autocomplete to editor (#16025) 2022-01-21 08:58:05 +00:00