carbon-components-svelte 0.52.0 → 0.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +60 -1
- package/css/all.css +1 -1
- package/css/g10.css +1 -1
- package/css/g100.css +1 -1
- package/css/g80.css +1 -1
- package/css/g90.css +1 -1
- package/css/white.css +1 -1
- package/lib/index.js +1 -1
- package/lib/index.mjs +1904 -1262
- package/package.json +4 -3
- package/preprocess/api.json +7 -1
- package/src/Checkbox/Checkbox.svelte +15 -6
- package/src/ComboBox/ComboBox.svelte +33 -40
- package/src/DataTable/DataTable.svelte +13 -1
- package/src/DatePicker/DatePickerInput.svelte +1 -4
- package/src/Dropdown/Dropdown.svelte +27 -15
- package/src/MultiSelect/MultiSelect.svelte +3 -3
- package/src/NumberInput/NumberInput.svelte +13 -8
- package/src/ProgressIndicator/ProgressStep.svelte +4 -10
- package/src/RadioButton/RadioButton.svelte +6 -2
- package/src/Slider/Slider.svelte +1 -1
- package/src/TextArea/TextArea.svelte +4 -1
- package/src/icons/CircleDash16.svelte +51 -0
- package/src/icons/Incomplete16.svelte +51 -0
- package/types/Accordion/Accordion.svelte.d.ts +1 -0
- package/types/Accordion/AccordionSkeleton.svelte.d.ts +1 -0
- package/types/Breadcrumb/BreadcrumbItem.svelte.d.ts +1 -0
- package/types/Breakpoint/Breakpoint.svelte.d.ts +1 -0
- package/types/Button/Button.svelte.d.ts +3 -0
- package/types/Button/ButtonSkeleton.svelte.d.ts +1 -0
- package/types/Checkbox/Checkbox.svelte.d.ts +8 -1
- package/types/CodeSnippet/CodeSnippet.svelte.d.ts +3 -0
- package/types/ComboBox/ComboBox.svelte.d.ts +10 -6
- package/types/ComposedModal/ComposedModal.svelte.d.ts +1 -0
- package/types/ComposedModal/ModalFooter.svelte.d.ts +2 -0
- package/types/ContentSwitcher/ContentSwitcher.svelte.d.ts +1 -0
- package/types/ContextMenu/ContextMenuOption.svelte.d.ts +1 -0
- package/types/CopyButton/CopyButton.svelte.d.ts +1 -0
- package/types/DataTable/DataTable.svelte.d.ts +13 -0
- package/types/DataTable/DataTableSkeleton.svelte.d.ts +1 -0
- package/types/DataTable/Table.svelte.d.ts +1 -0
- package/types/DatePicker/DatePickerInput.svelte.d.ts +2 -0
- package/types/Dropdown/Dropdown.svelte.d.ts +8 -5
- package/types/Grid/Column.svelte.d.ts +6 -0
- package/types/Icon/Icon.svelte.d.ts +1 -0
- package/types/ImageLoader/ImageLoader.svelte.d.ts +1 -0
- package/types/InlineLoading/InlineLoading.svelte.d.ts +2 -0
- package/types/Link/Link.svelte.d.ts +3 -0
- package/types/ListBox/ListBox.svelte.d.ts +1 -0
- package/types/ListBox/ListBoxSelection.svelte.d.ts +1 -0
- package/types/Modal/Modal.svelte.d.ts +4 -0
- package/types/MultiSelect/MultiSelect.svelte.d.ts +6 -3
- package/types/Notification/NotificationButton.svelte.d.ts +2 -0
- package/types/NumberInput/NumberInput.svelte.d.ts +11 -4
- package/types/OverflowMenu/OverflowMenu.svelte.d.ts +4 -0
- package/types/ProgressBar/ProgressBar.svelte.d.ts +1 -0
- package/types/RadioButton/RadioButton.svelte.d.ts +8 -2
- package/types/RadioButtonGroup/RadioButtonGroup.svelte.d.ts +2 -0
- package/types/Search/Search.svelte.d.ts +1 -0
- package/types/Select/Select.svelte.d.ts +3 -0
- package/types/StructuredList/StructuredList.svelte.d.ts +1 -0
- package/types/Tag/Tag.svelte.d.ts +2 -0
- package/types/TextArea/TextArea.svelte.d.ts +7 -0
- package/types/TextInput/PasswordInput.svelte.d.ts +2 -0
- package/types/TextInput/TextInput.svelte.d.ts +2 -0
- package/types/Theme/Theme.svelte.d.ts +1 -0
- package/types/Tile/ClickableTile.svelte.d.ts +1 -0
- package/types/Tile/TileGroup.svelte.d.ts +1 -0
- package/types/TimePicker/TimePicker.svelte.d.ts +2 -0
- package/types/TimePicker/TimePickerSelect.svelte.d.ts +1 -0
- package/types/Toggle/Toggle.svelte.d.ts +1 -0
- package/types/ToggleSmall/ToggleSmall.svelte.d.ts +1 -0
- package/types/Tooltip/Tooltip.svelte.d.ts +1 -0
- package/types/TooltipIcon/TooltipIcon.svelte.d.ts +1 -0
- package/types/UIShell/GlobalHeader/Header.svelte.d.ts +5 -0
- package/types/UIShell/GlobalHeader/HeaderAction.svelte.d.ts +3 -0
- package/types/UIShell/GlobalHeader/HeaderActionLink.svelte.d.ts +2 -0
- package/types/UIShell/GlobalHeader/HeaderNav.svelte.d.ts +1 -0
- package/types/UIShell/GlobalHeader/HeaderNavItem.svelte.d.ts +2 -0
- package/types/UIShell/GlobalHeader/HeaderNavMenu.svelte.d.ts +1 -0
- package/types/UIShell/GlobalHeader/HeaderPanelLink.svelte.d.ts +1 -0
- package/types/UIShell/HeaderGlobalAction.svelte.d.ts +1 -0
- package/types/UIShell/SideNav/SideNav.svelte.d.ts +1 -0
- package/types/UIShell/SideNav/SideNavLink.svelte.d.ts +3 -0
- package/types/UIShell/SideNav/SideNavMenu.svelte.d.ts +2 -0
- package/types/UIShell/SideNav/SideNavMenuItem.svelte.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,65 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
<!-- ## Unreleased -->
|
|
9
9
|
|
|
10
|
+
## [0.56.0](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.56.0) - 2022-01-27
|
|
11
|
+
|
|
12
|
+
**Breaking Changes**
|
|
13
|
+
|
|
14
|
+
- type `NumberInput` value as `null | number` instead of `string | number` (`null` signifies "no value")
|
|
15
|
+
|
|
16
|
+
**Fixes**
|
|
17
|
+
|
|
18
|
+
- export `readonly` as a prop in `TextArea`
|
|
19
|
+
- fix `Checkbox` two-way binding for `checked`, `group` props
|
|
20
|
+
|
|
21
|
+
**Documentation**
|
|
22
|
+
|
|
23
|
+
- add `Checkbox` reactive example for `bind:checked`
|
|
24
|
+
- update `Checkbox` reactive example for `bind:group` to demo two-way binding
|
|
25
|
+
- simplify `Tabs` reactive example
|
|
26
|
+
- add `NumberInput` "No value" example
|
|
27
|
+
|
|
28
|
+
## [0.55.0](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.55.0) - 2022-01-22
|
|
29
|
+
|
|
30
|
+
**Features**
|
|
31
|
+
|
|
32
|
+
- forward `focus`, `blur` events to `NumberInput`
|
|
33
|
+
- update `ProgressStep` icons for current, incomplete steps
|
|
34
|
+
- type `id` as `any` instead of `string` in `ComboBox`, `Dropdown`, `MultiSelect`
|
|
35
|
+
|
|
36
|
+
**Fixes**
|
|
37
|
+
|
|
38
|
+
- do not coerce empty value to `0` in `NumberInput` if `allowEmpty` is true
|
|
39
|
+
- label `Slider` input if `aria-label` not explicitly defined
|
|
40
|
+
- add missing `required` prop to `RadioButton`
|
|
41
|
+
- add missing `required` prop to `Checkbox`
|
|
42
|
+
- include `@default undefined` annotations for props that are `undefined` by default
|
|
43
|
+
|
|
44
|
+
**Refactor**
|
|
45
|
+
|
|
46
|
+
- remove hotfix in `DatePicker` to prevent disabled icon from being clickable
|
|
47
|
+
|
|
48
|
+
**Housekeeping**
|
|
49
|
+
|
|
50
|
+
- upgrade `carbon-components` to v10.51.0
|
|
51
|
+
|
|
52
|
+
## [0.54.0](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.54.0) - 2022-01-19
|
|
53
|
+
|
|
54
|
+
**Features**
|
|
55
|
+
|
|
56
|
+
- support paginated `DataTable`
|
|
57
|
+
|
|
58
|
+
## [0.53.0](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.53.0) - 2022-01-18
|
|
59
|
+
|
|
60
|
+
**Breaking Changes**
|
|
61
|
+
|
|
62
|
+
- replace `selectedIndex` with `selectedId` in `Dropdown`
|
|
63
|
+
- replace `selectedIndex` with `selectedId` in `ComboBox`
|
|
64
|
+
|
|
65
|
+
**Fixes**
|
|
66
|
+
|
|
67
|
+
- prevent `Dropdown` icon from being clickable when disabled
|
|
68
|
+
|
|
10
69
|
## [0.52.0](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.52.0) - 2022-01-17
|
|
11
70
|
|
|
12
71
|
**Features**
|
|
@@ -22,7 +81,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
22
81
|
- restore explicit typing of `null | HTMLElement` for TypeScript strict mode
|
|
23
82
|
- dispatch `click:button--primary` in `Modal` if `shouldSubmitOnEnter` is true
|
|
24
83
|
|
|
25
|
-
|
|
84
|
+
**Documentation**
|
|
26
85
|
|
|
27
86
|
- simplify reactive `RadioButton` example
|
|
28
87
|
- add reactive `Select` example for `Select`
|