This commit is contained in:
Eric Y Liu 2021-07-05 13:33:57 -07:00
commit 0aa52fe154
4 changed files with 47 additions and 3 deletions

View file

@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- ## Unreleased --> <!-- ## Unreleased -->
## [0.39.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.39.0) - 2021-07-05
**Breaking Changes**
- remove `clipboard-copy` direct dependency; use native Clipboard API instead of `clipboard-copy` to copy text in `CopyButton`, `CodeSnippet`
**Features**
- add `TreeView` component
- add `RecursiveList` component
- support 3 buttons in `Modal`, `ComposedModal` via `secondaryButtons`
- make `DataTable` title/description slottable
- allow custom `expansionBreakpoint` in UI Shell `Header`, `SideNav`
- dispatch "click:button--primary" as an alias to "submit" in `Modal`, `ComposedModal`
**Fixes**
- export `useStaticWidth` prop in `DataTable`
- do not render `DataTable` table header if title/description not provided
**Documentation**
- add TreeView documentation
- add RecursiveList documentation
- add CopyButton examples "Overriding copy functionality", "Preventing copy functionality"
- add CodeSnippet examples "Overriding copy functionality", "Preventing copy functionality"
- add DataTable example "Static width"
- include typedefs in Component API section
## [0.38.2](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.38.2) - 2021-07-03 ## [0.38.2](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.38.2) - 2021-07-03
**Fixes** **Fixes**

View file

@ -1,6 +1,6 @@
# Component Index # Component Index
> 170 components exported from carbon-components-svelte@0.38.2. > 170 components exported from carbon-components-svelte@0.39.0.
## Components ## Components

View file

@ -1,6 +1,6 @@
{ {
"name": "carbon-components-svelte", "name": "carbon-components-svelte",
"version": "0.38.2", "version": "0.39.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"author": "IBM", "author": "IBM",
"description": "Svelte implementation of the Carbon Design System", "description": "Svelte implementation of the Carbon Design System",

View file

@ -1,5 +1,5 @@
{ {
"version": "0.38.2", "version": "0.39.0",
"components": { "components": {
"Accordion": { "Accordion": {
"path": "carbon-components-svelte/src/Accordion/Accordion.svelte" "path": "carbon-components-svelte/src/Accordion/Accordion.svelte"
@ -313,6 +313,12 @@
"RadioButtonGroup": { "RadioButtonGroup": {
"path": "carbon-components-svelte/src/RadioButtonGroup/RadioButtonGroup.svelte" "path": "carbon-components-svelte/src/RadioButtonGroup/RadioButtonGroup.svelte"
}, },
"RecursiveList": {
"path": "carbon-components-svelte/src/RecursiveList/RecursiveList.svelte"
},
"RecursiveListItem": {
"path": "carbon-components-svelte/src/RecursiveList/RecursiveListItem.svelte"
},
"Search": { "Search": {
"path": "carbon-components-svelte/src/Search/Search.svelte" "path": "carbon-components-svelte/src/Search/Search.svelte"
}, },
@ -445,6 +451,15 @@
"TooltipIcon": { "TooltipIcon": {
"path": "carbon-components-svelte/src/TooltipIcon/TooltipIcon.svelte" "path": "carbon-components-svelte/src/TooltipIcon/TooltipIcon.svelte"
}, },
"TreeView": {
"path": "carbon-components-svelte/src/TreeView/TreeView.svelte"
},
"TreeViewNode": {
"path": "carbon-components-svelte/src/TreeView/TreeViewNode.svelte"
},
"TreeViewNodeList": {
"path": "carbon-components-svelte/src/TreeView/TreeViewNodeList.svelte"
},
"Truncate": { "Truncate": {
"path": "carbon-components-svelte/src/Truncate/Truncate.svelte" "path": "carbon-components-svelte/src/Truncate/Truncate.svelte"
}, },