From 1300104661e80de37112e50e998f72adf15045cf Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Mon, 26 Oct 2020 18:43:45 -0700 Subject: [PATCH] v0.21.0 --- CHANGELOG.md | 21 +++++++++++++++++++++ COMPONENT_INDEX.md | 2 +- docs/src/PUBLIC_API.json | 2 +- package.json | 2 +- types/index.d.ts | 2 +- 5 files changed, 25 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a042cca..93561357 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [0.21.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.21.0) - 2020-10-26 + +**Features** + +- ListBoxMenu: forward "scroll" event ([PR #366](https://github.com/IBM/carbon-components-svelte/pull/366)) +- ComboBox: export reference to list box menu ([PR #366](https://github.com/IBM/carbon-components-svelte/pull/366)) +- DataTable: add `ToolbarMenu`, `ToolbarMenuItem` ([PR #369](https://github.com/IBM/carbon-components-svelte/pull/369)) +- DataTable: support empty table body columns by adding optional `empty` key to `headers` prop ([PR #370](https://github.com/IBM/carbon-components-svelte/pull/370)) +- Dropdown: support "sm", "xl" field sizes + +**Fixes** + +- DataTable: cancelling batch selection should deselect "select all rows" checkbox +- Toolbar: remove duplicate "bx--toolbar-content" element + +**Documentation** + +- DataTable: add example ["Empty column with overflow menu"](https://carbon-svelte.vercel.app/components/DataTable#empty-column-with-overflow-menu) +- hand off current theme for examples opened in a new tab +- add field size examples for `Dropdown`, `MultiSelect`, `Select` + ## [0.20.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.20.0) - 2020-10-24 **Features** diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 4e9b3cd9..245a25e9 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -1,6 +1,6 @@ # Component Index -> 154 components exported from carbon-components-svelte 0.20.0 +> 154 components exported from carbon-components-svelte 0.21.0 - Accordion - [Accordion](#accordion) diff --git a/docs/src/PUBLIC_API.json b/docs/src/PUBLIC_API.json index 34e460df..93f06fef 100644 --- a/docs/src/PUBLIC_API.json +++ b/docs/src/PUBLIC_API.json @@ -1,5 +1,5 @@ { - "version": "0.20.0", + "version": "0.21.0", "components": { "Accordion": { "moduleName": "Accordion", diff --git a/package.json b/package.json index 9209396b..b05defdc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "carbon-components-svelte", - "version": "0.20.0", + "version": "0.21.0", "license": "Apache-2.0", "description": "Svelte implementation of the Carbon Design System", "svelte": "./src/index.js", diff --git a/types/index.d.ts b/types/index.d.ts index baf799a9..4c1afe0f 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for carbon-components-svelte 0.20.0 +// Type definitions for carbon-components-svelte 0.21.0 // Project: https://github.com/IBM/carbon-components-svelte export class CarbonSvelteComponent {