brunnerh
201e03757b
Add required
prop to Checkbox. ( #1030 )
...
Fixes #1029 .
2022-01-22 07:43:53 -08:00
Eric Liu
0d78c30b9d
fix(types): include @default
annotations for props that are undefined
by default ( #1020 )
...
* chore(deps-dev): upgrade sveld to v0.12.1
* Run "yarn build:lib"
* Re-run "yarn build:lib"
2022-01-20 19:29:06 -08:00
Eric Liu
1f7b5560a8
Type id
as any in ComboBox
, Dropdown
, MultiSelect
( #1019 )
...
Loosen the prop type for `id`, `selectedId` to be `any` instead of a `string`.
2022-01-20 18:50:36 -08:00
Eric Liu
533e7d6a1c
v0.54.0
2022-01-19 07:59:04 -08:00
kwieszalka-maystreet
5da83ec869
feat(data-table): support paginated data table ( #880 )
...
Closes #702
2022-01-19 07:51:42 -08:00
Eric Liu
915f976dc0
v0.53.0
2022-01-18 19:36:15 -08:00
Koichi Kiyokawa
cde8a79fa8
feat(ComboBox): selectedIndex -> selectedId ( #1016 )
...
* feat(breaking): selectedIndex -> selectedId in ComboBox
* docs: update ComboBox
2022-01-18 06:37:55 -08:00
Koichi Kiyokawa
e11a893bee
feat(Dropdown): selectedIndex -> selectedId ( #1004 )
...
* feat(breaking): selectedIndex -> selectedId in Dropdown
* feat: omit `selectedIndex` from the `select` event
2022-01-18 06:37:32 -08:00
Eric Liu
c02b84edb2
v0.52.0
2022-01-17 14:12:36 -08:00
Eric Liu
653a601f9b
Revert "Refactor prop types to omit redundant null
for null | HTMLElement
types" ( #1008 )
...
#996
2022-01-14 11:29:37 -10:00
Eric Liu
49a94b0ee4
fix(modal): shouldSubmitOnEnter should also dispatch "click:button--primary" ( #1007 )
...
* fix(modal): shouldSubmitOnEnter should also dispatch "click:button--primary"
Fixes #1005
* yarn build:lib
2022-01-14 08:51:48 -10:00
Eric Liu
32edfa59dd
Make Toggle
labels slottable ( #1002 )
...
* feat(toggle): support slottable labels
* yarn build:lib
* docs(toggle): add "Slottable labels" example
2022-01-12 16:43:27 -10:00
Eric Liu
37f19d2171
Add option to not re-focus ComboBox
when invoking clear()
( #1000 )
...
* feat(combo-box): add option to clear accessor to not re-focus input
Closes #994
* yarn build:lib
* test(combo-box): validate clear accessor params
* docs(combo-box): add clear without focus to "Clear selection" example
2022-01-12 16:12:43 -10:00
metonym
e6f905228f
v0.51.3
2022-01-12 13:44:50 -10:00
Eric Liu
6de73f86fb
Refactor prop types to omit redundant null
for null | HTMLElement
types ( #998 )
...
* refactor: omit redundant `null` prop type for HTMLElements
* yarn build:lib
* test: assert updated element prop types
2022-01-12 13:36:47 -10:00
metonym
8936b9b5fa
chore: re-generate api docs
2022-01-10 13:58:38 -10:00
metonym
6a6713d068
v0.51.2
2022-01-10 13:41:02 -10:00
metonym
31a11e6800
v0.51.1
2022-01-03 11:06:53 -08:00
brunnerh
6458c97c1a
Add required
prop to Select. ( #968 )
...
Upgrade sveld to set paths correctly on Windows.
Make Prettier script compatible with Windows and run it.
2022-01-03 10:46:12 -08:00
Eric Liu
406d8dca25
v0.51.0
2021-12-30 14:24:42 -08:00
Gregor Wassmann
f0cf4e7ba5
Enhance Checkbox to use bind:group ( #947 )
...
* Enhance Checkbox to use bind:group
* Use custom logic
* Move multiple checkboxes above skeleton
* Incorprate PR feedback
* Any instead of string
2021-12-30 13:31:33 -08:00
Eric Liu
8443b2d7c1
v0.50.5
2021-12-30 13:15:21 -08:00
Eric Liu
66150609aa
chore: rebuild docs/types
2021-12-30 13:14:22 -08:00
Eric Liu
001d62c001
v0.50.4
2021-12-30 07:21:51 -08:00
Eric Liu
0214e30edf
chore: update COMPONENT_INDEX.md [ci skip]
2021-12-28 14:15:53 -08:00
Eric Liu
3cadf2c001
v0.50.2
2021-11-27 10:06:03 -08:00
metonym
96930a4065
v0.50.1
2021-11-19 08:33:07 -08:00
metonym
6ba20fdd65
v0.50.0
2021-11-18 13:48:14 -08:00
Eric Liu
ccc733f3f7
Support custom target(s) for ContextMenu
( #916 )
...
* feat(context-menu): add target prop to selectively trigger context menu
* feat(context-menu): include clicked element in "open" event detail
* docs(context-menu): add target, multiple target examples
2021-11-18 13:32:13 -08:00
metonym
d8f8ac2b73
v0.49.2
2021-11-18 07:49:42 -08:00
metonym
a160ef3b40
v0.49.1
2021-11-17 09:28:05 -08:00
metonym
62b71305d6
v0.49.0
2021-11-12 16:27:46 -08:00
Eric Liu
27ba4350cf
Align v10.48 ( #907 )
...
* chore(deps-dev): upgrade carbon-components to v10.48.0
* feat(ui-shell): support HeaderNavMenu with current item
* refactor(tile): remove unnecessary "position: relative" style
* refactor(tile): remove unused ref
* feat(inline-notification): make title/subtitle slottable
Closes #883
* feat(toast-notification): make title/subtitle/caption slottable
* chore(notification): deprecate NotificationTextDetails
2021-11-12 16:25:02 -08:00
metonym
aaf60485f0
v0.48.1
2021-11-12 14:40:14 -08:00
Eric Liu
a308c89e42
fix(date-picker): type locale prop using flatpickr types ( #906 )
...
Fixes #855
2021-11-12 14:36:46 -08:00
Eric Liu
f2493c083d
v0.48.0
2021-11-11 09:10:27 -08:00
Eric Liu
ea6757d020
Add autoWidth prop to Tabs
( #901 )
...
* feat(tabs): support auto width tabs
Closes #899
* docs(tabs): add auto width example
2021-11-10 19:46:20 -08:00
Eric Liu
08402e54bf
feat(form): add ref prop ( #900 )
...
Closes #877
2021-11-10 19:46:14 -08:00
Eric Liu
186d2863d3
v0.47.6
2021-11-10 19:38:13 -08:00
Eric Liu
81daaab1ff
v0.47.5
2021-11-07 12:14:44 -08:00
Eric Liu
0e460cdd91
v0.47.4
2021-11-06 10:46:47 -07:00
metonym
af9b9a1d92
v0.47.3
2021-10-22 07:21:07 -07:00
metonym
4cdf4a9b24
v0.47.2
2021-10-21 08:47:55 -07:00
Eric Liu
7b65a15345
Omit explicit "from carbon-icons-svelte" from icon
prop definitions ( #866 )
...
* fix(types): update description for icon props #865
* docs(component-api): remove hardcoded Carbon Svelte icon description
2021-10-20 13:48:52 -07:00
metonym
0509e8f640
v0.47.1
2021-10-20 10:46:25 -07:00
metonym
7af2732f83
v0.47.0
2021-10-19 07:28:04 -07:00
Eric Liu
96d848e9ef
feat(data-table): add nonExpandableRowIds prop ( #862 )
...
* feat(data-table): add nonExpandableRowIds prop #861
* test(data-table): validate nonExpandableRowIds prop
* docs(data-table): add Non-expandable rows example
2021-10-19 07:25:22 -07:00
Eric Liu
f64b021a94
v0.46.0
2021-10-17 13:06:10 -07:00
Eric Liu
c6fc8548d3
Align v10.46 ( #854 )
...
* chore(deps-dev): upgrade carbon-components to v10.46.0
* feat(tag): support outline type
* feat(multi-select): add hideLabel prop
* chore: delete unused publish-examples.js
* chore(deps-dev): remove gh-pages
* chore: remove publish-examples script
* chore(deps-dev): upgrade carbon-components to v10.46.0
* feat(tag): support outline type
* feat(multi-select): add hideLabel prop
* chore: delete unused publish-examples.js
* chore(deps-dev): remove gh-pages
* chore: remove publish-examples script
* chore: rebuild component index
2021-10-15 17:03:45 -07:00
Eric Liu
b21600c9d6
feat(types): loosen icon
prop type to allow any Svelte component #806 ( #853 )
...
* feat(types): loosen type for Carbon icons #806
* Add closeIcon option and remove stopPropagation on:click in HeaderAction (#840 )
* Remove stopPropagation on:click
Remove stopPropagation on:click helps when you have more then one acction to switch between actions tabs
* fix bug for default icon
* add closeIcon attribute to HeaderAction
* feat(types): loosen type for Carbon icons #806
* chore: update TreeView, HeaderAction icon types
Co-authored-by: Daniel Miedzik <daniel.miedzik@gmail.com>
2021-10-15 16:40:23 -07:00