From 0aa52fe1544a8abda7c42062995deb76d50262c6 Mon Sep 17 00:00:00 2001 From: Eric Y Liu Date: Mon, 5 Jul 2021 13:33:57 -0700 Subject: [PATCH] v0.39.0 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ COMPONENT_INDEX.md | 2 +- package.json | 2 +- preprocess/api.json | 17 ++++++++++++++++- 4 files changed, 47 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b9a1c5c..cc92bc1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [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 **Fixes** diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index f0929f70..9f3d4afc 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -1,6 +1,6 @@ # Component Index -> 170 components exported from carbon-components-svelte@0.38.2. +> 170 components exported from carbon-components-svelte@0.39.0. ## Components diff --git a/package.json b/package.json index 22454b34..e185b3d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "carbon-components-svelte", - "version": "0.38.2", + "version": "0.39.0", "license": "Apache-2.0", "author": "IBM", "description": "Svelte implementation of the Carbon Design System", diff --git a/preprocess/api.json b/preprocess/api.json index 8a004458..22ec4606 100644 --- a/preprocess/api.json +++ b/preprocess/api.json @@ -1,5 +1,5 @@ { - "version": "0.38.2", + "version": "0.39.0", "components": { "Accordion": { "path": "carbon-components-svelte/src/Accordion/Accordion.svelte" @@ -313,6 +313,12 @@ "RadioButtonGroup": { "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": { "path": "carbon-components-svelte/src/Search/Search.svelte" }, @@ -445,6 +451,15 @@ "TooltipIcon": { "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": { "path": "carbon-components-svelte/src/Truncate/Truncate.svelte" },