Commit graph

1579 commits

Author SHA1 Message Date
Eric Liu
5e522c399c refactor(composed-modal): focus currentTarget in transitionend event
- Dispatch open event
2019-12-25 13:13:28 -08:00
Eric Liu
25cd26af24
Merge pull request #76 from IBM/refactor
refactor: use onMount, afterUpdate methods to manage state
2019-12-25 07:27:54 -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
d874c622f9
Merge pull request #75 from IBM/refactor
refactor(expandable-tile): remove onMount method
2019-12-24 13:11:33 -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
d18d9cafd2
Merge pull request #74 from IBM/refactor
refactor: use reactive over const, inline functions
2019-12-24 09:44:51 -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
4481c5a97f
Merge pull request #73 from IBM/file-uploader
feat(component): add FileUploader
2019-12-23 21:02:50 -08:00
Eric Liu
85c4a14b2a feat(component): add FileUploader
Closes #16
2019-12-23 20:59:56 -08:00
Eric Liu
fd3698b49a
Merge pull request #72 from IBM/refactor-button
feat(button): derive hasIconOnly from icon and slots
2019-12-23 18:49:29 -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
475acd6a5e
Merge pull request #71 from IBM/composed-modal
feat(component): add ComposedModal
2019-12-23 18:41:57 -08:00
Eric Liu
fc366a9366 feat(component): add ComposedModal
Closes #13
2019-12-23 18:38:33 -08:00
Eric Liu
17730914d3
Merge pull request #70 from IBM/refactor
refactor(lib): extract fillArray utility
2019-12-23 09:50:08 -08:00
Eric Liu
f3c702947c refactor(lib): extract fillArray utility 2019-12-23 09:47:34 -08:00
Eric Liu
06e02c3dc3
Merge pull request #69 from IBM/pagination
feat(component): add Pagination component
2019-12-23 09:35:32 -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
892d95931d
Merge pull request #68 from IBM/icon
feat(component): add Icon
2019-12-22 15:37:58 -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
c2ef879862
Merge pull request #67 from IBM/refactor
refactor(components): remove exported "props"
2019-12-22 09:32:09 -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
94a11920bd
Merge pull request #66 from IBM/fix
feat(components): add Form, FormGroup, FormItem, FormLabel
2019-12-22 08:57:10 -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
3345b71a8c chore(docs): rebuild storybook [ci skip]
Add Tabs component.
2019-12-22 08:35:54 -08:00
Eric Liu
766bb26f2a
Merge pull request #65 from metonym/tabs
feat(components): add Tabs
2019-12-22 05:57:51 -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
901857790d
Merge pull request #64 from metonym/form
fix(structured-list): remove StructuredList import
2019-12-21 21:06:14 -08:00
Eric Liu
3db87de307 fix(structured-list): remove StructuredList import 2019-12-21 19:05:56 -08:00
Eric Liu
06f4262bbd
Merge pull request #63 from metonym/form
feat(components): add StructuredList
2019-12-21 19:02:47 -08:00
Eric Liu
d190ad9a62 chore(docs): rebuild storybook [ci skip]
Adds RadioButtonGroup, Select, StructuredList components.
2019-12-21 19:00:10 -08:00
Eric Liu
d326bf1fce feat(components): add StructuredList
Closes #27
2019-12-21 18:59:09 -08:00
Eric Liu
db3a9a6ff5
Merge pull request #62 from metonym/form
feat(components): add RadioButtonGroup, Select, SelectItem, SelectItemGroup
2019-12-21 18:01:33 -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