Eric Liu
d1a85915fe
v0.57.0
2022-01-30 19:11:20 -08:00
brunnerh
099efedef1
breaking(number-input): align change
, input
events with native input
behavior ( #1053 )
...
* Closes #1052
* Closes #1050
2022-01-30 09:01:51 -08:00
Gregor Wassmann
a8039a4d1e
feat(modal): support primaryButtonIcon prop ( #1047 )
2022-01-29 09:35:08 -08:00
Eric Liu
f53b5472e5
v0.56.1
2022-01-27 08:01:44 -08:00
metonym
402de56029
fix(number-input): value 0
should not be converted to null
( #1046 )
2022-01-27 08:00:32 -08:00
Eric Liu
6154e8ba05
v0.56.0
2022-01-27 07:31:48 -08:00
metonym
4e3415a4e9
docs: Checkbox, Tabs, NumberInput ( #1045 )
...
* add `Checkbox` reactive example for `bind:checked` (#967 )
* update `Checkbox` reactive example for `bind:group` to demo two-way binding
* simplify `Tabs` reactive example
* add `NumberInput` "No value" example
2022-01-27 07:27:10 -08:00
metonym
9e915cf90a
breaking(number-input): type value
as null | number
( #1044 )
...
Fixes #1039
2022-01-27 06:57:32 -08:00
metonym
3018c2b207
fix(text-area): export readonly prop ( #1043 )
...
Fixes #1009
2022-01-26 19:19:49 -08:00
metonym
048ebc7b81
fix(checkbox): fix two-way binding ( #1042 )
...
Fixes #967
2022-01-26 19:04:32 -08:00
Eric Liu
e37b632fef
build: decouple typegen/docgen from yarn build:lib
( #1038 )
...
* chore(deps-dev): upgrade sveld to v0.13.1
* build: separate sveld into a separate build script
* docs(contributing): update guideline on re-building docs
2022-01-24 14:16:31 -08:00
metonym
fd040b3b66
docs(clickable-tile): fix formatting
2022-01-24 13:17:35 -08:00
Eric Liu
ced7a25880
v0.55.0
2022-01-22 09:16:05 -08:00
brunnerh
25ce57fd5a
Add required
prop to RadioButton
. ( #1035 )
...
Fixes #1034 .
2022-01-22 09:05:41 -08:00
Eric Liu
493568f08d
feat(number-input): forward focus, blur events to input ( #1033 )
2022-01-22 08:58:59 -08:00
Eric Liu
222d5a90e4
fix(number-input): empty input should not be coerced to 0 ( #1032 )
...
Fixes #1031
2022-01-22 08:58:48 -08:00
Eric Liu
4d51250173
Align 10.51 ( #1021 )
...
* chore(deps-dev): upgrade carbon-components to v10.51.0
* fix(slider): input should also be labelled
* refactor(date-picker): remove hotfix logic to prevent disabled icon from being clickable
Ref: https://github.com/carbon-design-system/carbon-components-svelte/pull/860
* feat(progress-step): update icons for current, incomplete steps
2022-01-22 08:02:24 -08:00
brunnerh
201e03757b
Add required
prop to Checkbox. ( #1030 )
...
Fixes #1029 .
2022-01-22 07:43:53 -08:00
dependabot[bot]
e3902fe724
build(deps): bump nanoid from 3.1.30 to 3.2.0 in /examples/webpack ( #1027 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 19:06:00 -08:00
dependabot[bot]
e951c9425d
build(deps): bump nanoid from 3.1.30 to 3.2.0 in /docs ( #1022 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 19:04:44 -08:00
dependabot[bot]
a238032b58
build(deps): bump nanoid from 3.1.23 to 3.2.0 in /examples/rollup ( #1026 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 19:02:31 -08:00
dependabot[bot]
b31b176c09
build(deps): bump nanoid from 3.1.23 to 3.2.0 in /examples/sapper ( #1024 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 18:51:55 -08:00
dependabot[bot]
37c54e0a14
build(deps): bump nanoid from 3.1.30 to 3.2.0 in /examples/snowpack ( #1025 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 18:43:13 -08:00
dependabot[bot]
8094fd4fef
build(deps): bump nanoid from 3.1.30 to 3.2.0 ( #1023 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 18:31:07 -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
metonym
144eba1747
chore(examples): bump deps [ci skip]
2022-01-20 09:55:18 -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
Eric Liu
52705bae03
docs: add breaking change notice to ComboBox, Dropdown docs ( #1018 )
2022-01-18 19:33:33 -08:00
István Pató
cfa036d7a6
fix(dropdown): prevent icon from being clickable in disabled state ( #1017 )
...
* fix(Dropdown): list icon was clickable in disabled state
* fix(Dropdown): the ListBox element was selectable in disabled state if extended Dropdown
2022-01-18 06:38:21 -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
37f10ad1a2
chore(changelog): fix formatting
2022-01-17 15:14:47 -08:00
Eric Liu
c02b84edb2
v0.52.0
2022-01-17 14:12:36 -08:00
Eric Liu
b13bb8e09f
fix(tooltip): pressing "Escape" should break out of trap focus ( #1015 )
...
Fixes #924
2022-01-17 13:40:10 -08:00
Eric Liu
a60bc73fea
fix(combo-box): name should be passed to input ( #1014 )
...
Fixes #797
2022-01-17 13:07:42 -08:00
Alexis Reigel
9b32fe90f5
Emit Checkbox
change event after modifying internal state ( #1013 )
...
The checkbox's internal state doesn't match the visual checked /
unchecked state. The behaviour is visible when using 1-way binding on
the checkbox and using the on:change event. The internal state is always
the opposite of the visual state.
2022-01-17 12:50:08 -08:00
Eric Liu
58de79d66b
docs(radio-button): simplify reactive example ( #1012 )
...
* docs(radio-button): simplify reactive radio button example
* docs(radio-button): rename to "Reactive example"
2022-01-16 15:06:29 -08:00
Eric Liu
e5f77aa614
docs(select): add reactive example ( #1011 )
2022-01-16 14:53:22 -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
metonym
84d6778036
docs: add pnpm install command for carbon-preprocess-svelte
2022-01-14 06:53:22 -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
Eric Liu
d4dd33e28c
Update docs ( #1001 )
...
* docs(tree-view): avoid redundant copy
* docs(search): "clear" is dispatched when pressing "Escape"
* docs(search): refactor "Expandable variant" to demonstrate reactivity
2022-01-12 16:12:14 -10:00
dependabot[bot]
1a470cb331
build(deps): bump follow-redirects in /examples/webpack ( #999 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.6 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-12 13:49:49 -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