From c02b84edb2a2c6c4edafa277be0f77048ae979ef Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Mon, 17 Jan 2022 14:12:36 -0800 Subject: [PATCH] v0.52.0 --- CHANGELOG.md | 23 +++++++++++++++++++++++ COMPONENT_INDEX.md | 2 +- package.json | 2 +- preprocess/api.json | 2 +- 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b0896b1..36b195a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [0.52.0](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.52.0) - 2022-01-17 + +**Features** + +- make `Toggle` labels slottable +- add option to `ComboBox.clear` to not re-focus input (`clear({ focus: false })`) + +**Fixes** + +- break out of trap focus in `Tooltip` when pressing "Escape" +- pass "name" prop in `ComboBox` to input element +- emit `change` event in `Checkbox` after modifying state +- restore explicit typing of `null | HTMLElement` for TypeScript strict mode +- dispatch `click:button--primary` in `Modal` if `shouldSubmitOnEnter` is true + +- **Documentation** + +- simplify reactive `RadioButton` example +- add reactive `Select` example for `Select` +- fix grammar in `TreeView` "Expand all nodes" example +- note that `Search` clear event is also dispatched when pressing "Escape" +- demo reactivity in expandable `Search` example + ## [0.51.3](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.51.3) - 2022-01-12 **Fixes** diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 0941acfa..61560a86 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -1,6 +1,6 @@ # Component Index -> 172 components exported from carbon-components-svelte@0.51.3. +> 172 components exported from carbon-components-svelte@0.52.0. ## Components diff --git a/package.json b/package.json index ab984e19..9454fe8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "carbon-components-svelte", - "version": "0.51.3", + "version": "0.52.0", "license": "Apache-2.0", "description": "Svelte implementation of the Carbon Design System", "svelte": "./src/index.js", diff --git a/preprocess/api.json b/preprocess/api.json index 1421b87f..afde8ece 100644 --- a/preprocess/api.json +++ b/preprocess/api.json @@ -1,5 +1,5 @@ { - "version": "0.51.3", + "version": "0.52.0", "components": { "Accordion": { "path": "carbon-components-svelte/src/Accordion/Accordion.svelte"