Commit graph

306 commits

Author SHA1 Message Date
Eric Liu
35806566a0 fix(select): update defaultValue when $selected changes 2019-12-23 09:30:55 -08:00
Eric Liu
5ae12066fb feat(component): add Icon
Closes #30
2019-12-22 15:33:55 -08:00
Eric Liu
9c83fbda69 feat(lib): add css utility to format style values 2019-12-22 15:32:21 -08:00
Eric Liu
1286b9901d refactor(components): remove exported "props"
Closes #17

- Forward events
- Adds style prop, removes exported props
2019-12-22 09:29:45 -08:00
Eric Liu
3be285e112 feat(components): add Form, FormGroup, FormItem, FormLabel
Supports #17

Fixes broken storybook.

TODO: Define stories using other components (e.g. NumberInput, Select...)
2019-12-22 08:53:50 -08:00
Eric Liu
d2878983dc
Merge branch 'master' into tabs 2019-12-22 05:51:51 -08:00
Eric Liu
4ba8df4425 feat(components): add Tabs
Closes #32
2019-12-22 05:50:12 -08:00
Eric Liu
3db87de307 fix(structured-list): remove StructuredList import 2019-12-21 19:05:56 -08:00
Eric Liu
d326bf1fce feat(components): add StructuredList
Closes #27
2019-12-21 18:59:09 -08:00
Eric Liu
b8a5d7bdcc refactor(tooltip): forward events, remove external props
Supports #7
2019-12-21 17:56:32 -08:00
Eric Liu
6c75c8a973 feat(components): add Select, SelectItem, SelectItemGroup
Closes #31
2019-12-21 17:18:35 -08:00
Eric Liu
4f73b8b71a feat(components): add RadioButtonGroup
Closes #25
2019-12-21 17:16:15 -08:00
Eric Liu
73e96e3d35 fix(progress-indicator): correct Story 2019-12-21 11:10:35 -08:00
Eric Liu
a0c4d347d5 feat(component): add ProgressIndicator
Closes #24
2019-12-21 11:03:50 -08:00
Eric Liu
724196abb5 fix(checkbox): support two way binding
- Forward events, inline functions
- Add style, remove exported props (#7)
2019-12-20 19:13:56 -08:00
Eric Liu
6cc2eecd88 chore(docs): rebuild storybook [ci skip]
Adds Notification component.

Removes space from "Unordered List," "Ordered List" story names.
2019-12-20 19:01:49 -08:00
Eric Liu
94dceae1fb feat(component): add Notification
Closes #20
2019-12-20 18:56:56 -08:00
Eric Liu
865aeb0748 refactor(text-input): remove dispatch, forward events
Supports #7

- Forward events, inline functions
- Add style prop
- Remove exported props
- Bind value for TextInput
2019-12-20 17:34:47 -08:00
Eric Liu
95a4ead0e3 fix(password-input): mark passwordIsVisible as reactive 2019-12-20 17:28:33 -08:00
Eric Liu
ea39fdd4a7 refactor(toggle): forward events, inline functions
Supports #7

- Forward events
- Add style prop
- Remove exported props
- Inline change, keyup functions
- Dispatch only 'toggle' event
2019-12-20 17:07:37 -08:00
Eric Liu
70c6336a68
Merge pull request #47 from metonym/accordion
fix(accordion): set animation on click
2019-12-20 16:37:20 -08:00
Eric Liu
1b1c3c6cb6
Merge pull request #48 from metonym/content-switcher
feat(components): add ContentSwitcher, Switch
2019-12-20 16:37:12 -08:00
Eric Liu
9afc149193 feat(components): add ContentSwitcher, Switch
Closes #33
2019-12-20 16:35:48 -08:00
Eric Liu
39ca81f9a8 fix(accordion): set animation on click 2019-12-20 13:39:32 -08:00
Eric Liu
71ddcfccc0 feat(tile): complete RadioTile
Closes #34

- Add Tile to list of supported components
- Make RadioTile composable as a "child" component
2019-12-20 09:09:55 -08:00
Eric Liu
1d66a8b127 feat(selectable-tile): dispatch select event
Supports #34
2019-12-20 07:43:50 -08:00
Eric Liu
a828218d15 refactor(tile): forward events, inline functions
Supports #7, #34

- Forward events, style prop
- Remove unneeded dispatched events
- Remove exported props
2019-12-20 04:16:50 -08:00
Eric Liu
5ec9c0089f
Merge pull request #45 from metonym/accordion
refactor(accordion-item): remove comments, let assignment
2019-12-19 19:48:53 -08:00
Eric Liu
ce985ea90e refactor(accordion-item): remove comments, let assignment 2019-12-19 19:48:29 -08:00
Eric Liu
5ed4b24613
Merge pull request #43 from metonym/accordion
refactor(accordion): remove expando, inline functions
2019-12-19 19:44:08 -08:00
Eric Liu
f0869edceb refactor(skeleton-text): forward events
Supports #7
2019-12-19 19:34:29 -08:00
Eric Liu
18a5f4e5cb refactor(skeleton-placeholder): forward events
Supports #7
2019-12-19 19:34:12 -08:00
Eric Liu
6f3834211e refactor(accordion): remove expando, inline functions
Supports #7

- Forward events
- Export style
2019-12-19 19:31:04 -08:00
Eric Liu
381bf366aa
Merge pull request #41 from metonym/tile
feat(components): add Tile
2019-12-19 08:05:20 -08:00
Eric Liu
46cb9aa44b feat(components): add Tile
Supports #34

TODO:

- remove exported props
- compose TileGroup, SelectableTile, RadioTile components
2019-12-19 04:20:20 -08:00
Eric Liu
d978119cc4 fix(breadcrumb): pass aria-current prop to Link 2019-12-18 09:50:02 -08:00
Eric Liu
42f01372f0 refactor(data-table-skeleton): remove exported props
Supports #7

- Add supported component to readme
2019-12-18 09:27:48 -08:00
Eric Liu
7a21a3150e refactor(inline-loading): remove exported props
Supports #7
2019-12-18 09:26:31 -08:00
Eric Liu
4888d09479 refactor(link): remove exported props
Supports #7
2019-12-18 09:24:05 -08:00
Eric Liu
f048e9ea4a
Merge pull request #39 from metonym/refactor
refactor(code-snippet): fix multi-line copy button styling
2019-12-18 09:14:39 -08:00
Eric Liu
9c09073b58 chore(text-input): remove printed value from story 2019-12-18 09:11:43 -08:00
Eric Liu
40a7be5c79 refactor(code-snippet): pass snippet button class for multi-line
- Remove exported props from CopyButton, skeleton
- Replace onMount with reactive statement
- Forward events to skeleton
- Clean up Story
2019-12-18 09:10:49 -08:00
Eric Liu
7a7fd93121 refactor(copy): inline handleClick, remove dispatcher 2019-12-18 08:52:36 -08:00
Eric Liu
0bf3c465c8 fix(copy-button): use ^10.9.0 styles for CopyButton
Fixes #36

- Remove creaetEventDispatcher
- Remove exported props
- Breaking Change: upgrade to carbon-components@10.9.0-rc.1
- Clean up CopyButton story
2019-12-18 08:47:43 -08:00
Eric Liu
fb6983b94e
Merge pull request #35 from metonym/datatable-skeleton
feat(component): add DataTableSkeleton
2019-12-18 08:12:56 -08:00
Eric Liu
b95fd1ac55 feat(component): add DataTableSkeleton 2019-12-18 04:21:59 -08:00
Eric Liu
5726e99d92 test(lib): add test for cx 2019-12-17 09:27:57 -08:00
Eric Liu
299426191e test(breadcrumb): add tests for Breadcrumb 2019-12-17 09:22:39 -08:00
Eric Liu
f7b3dd926c chore: formatting [ci skip] 2019-12-15 15:31:59 -08:00
Eric Liu
b63e62e6f1 refactor(text-area): update bound value on input 2019-12-15 15:30:56 -08:00