Commit graph

79 commits

Author SHA1 Message Date
Eric Liu
9e3d387da3 feat(component): add OverflowMenu
Closes #22
2019-12-26 10:25:46 -08:00
Eric Liu
bf18b7b65a feat(component): add TimePicker
Closes #28
2019-12-25 14:23:20 -08:00
Eric Liu
0cc7c7afeb chore: forward class to Tile content 2019-12-25 14:22:52 -08:00
Eric Liu
a8f464586a feat(component): add Modal
Closes #18
2019-12-25 13:20:14 -08:00
Eric Liu
5e522c399c refactor(composed-modal): focus currentTarget in transitionend event
- Dispatch open event
2019-12-25 13:13:28 -08:00
Eric Liu
fd91dd80c5 feat(search): export autofocus prop 2019-12-25 07:22:29 -08:00
Eric Liu
152cbcd1ab refactor(code-snippet): use afterUpdate 2019-12-25 07:20:57 -08:00
Eric Liu
6a28583a85 chore(file-uploader-drop-container): move class names to markup 2019-12-25 07:20:23 -08:00
Eric Liu
3f03a1c259 refactor(composed-modal): use onMount, afterUpdate methods 2019-12-25 07:19:51 -08:00
Eric Liu
52dd244516 refactor(switch): focus ref in afterUpdate method 2019-12-25 07:17:51 -08:00
Eric Liu
0fe8975850 feat(file-uploader): export clearFiles method 2019-12-25 07:17:30 -08:00
Eric Liu
8ea50a807a refactor(toggle): access ref in afterUpdate method 2019-12-25 07:16:43 -08:00
Eric Liu
2cac297abf refactor(timeout): move setTimeout to afterUpdate method 2019-12-25 06:21:09 -08:00
Eric Liu
7a612e60cf feat(toast-notification): clear timeout when destroyed 2019-12-25 06:20:38 -08:00
Eric Liu
41c096bada refactor(expandable-tile): use onMount, afterUpdate methods 2019-12-25 06:10:07 -08:00
Eric Liu
f802fdb1bd refactor(expandable-tile): remove onMount method
- Prevent default keypress if key is a <Space> or 'Enter'
2019-12-24 09:55:52 -08:00
Eric Liu
0c9fb41aff chore(button-skeleton): remove unused const 2019-12-24 09:55:16 -08:00
Eric Liu
c446fc74f4 refactor(components): convert const to reactive where appropriate
- Inline class assignments to avoid script-level clutter
- Ignore a11y-missing-attribute instead of redundant href
2019-12-24 09:41:12 -08:00
Eric Liu
4ed754c549 refactor(expandable-tile): remove dispatcher, inline functions 2019-12-24 09:38:33 -08:00
Eric Liu
ffb6f477b9 refactor(composed-modal): register buttonRef directly 2019-12-24 09:37:35 -08:00
Eric Liu
85c4a14b2a feat(component): add FileUploader
Closes #16
2019-12-23 20:59:56 -08:00
Eric Liu
2d3edce3ca feat(button): derive hasIconOnly from icon and slots
Instead of explicitly defining hasIconOnly, its value can be inferred from a falsy icon prop and an empty slot.
2019-12-23 18:46:22 -08:00
Eric Liu
fc366a9366 feat(component): add ComposedModal
Closes #13
2019-12-23 18:38:33 -08:00
Eric Liu
f3c702947c refactor(lib): extract fillArray utility 2019-12-23 09:47:34 -08:00
Eric Liu
4dad89e12d feat(component): add Pagination
Closes #23
2019-12-23 09:32:20 -08:00
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
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