diff --git a/CHANGELOG.md b/CHANGELOG.md index 93561357..538a41c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [0.22.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.22.0) - 2020-10-30 + +**Features** + +- Button: add "danger-tertiary", "danger-ghost" kinds +- OverflowMenu: support "sm", "xl" size variants +- TimePicker: support "sm", "xl" size variants +- Link: support "sm", "lg" size variants +- OrderedList: support native list styles +- MultiSelect: forward "clear" event +- MultiSelect: dispatch "select" event to be consistent with ComboBox, Dropdown + +**Fixes** + +- OverflowMenu: dynamic menu shadow width should be scoped to component instance; remove `tabindex` attribute from trigger button +- CodeSnippet: `showMoreLess` should be re-computed if `code` is dynamically updated + +**Documentation** + +- Document `itemToString` prop for Dropdown, MultiSelect +- MultiSelect: add example for "Initial selected items" +- CodeSnippet: add example for dynamically updating `code` +- CodeSnippet: add example for "Hidden code snippet" edge case (issue #373) +- OverflowMenu: add example for "Custom trigger icon" + +**Housekeeping** + +- upgrade `carbon-components` to v10.23.1, `@carbon/themes` to v10.22.1 +- bump/patch development dependencies + ## [0.21.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.21.0) - 2020-10-26 **Features** diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index f412665b..1d741a4b 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -1,6 +1,6 @@ # Component Index -> 154 components exported from carbon-components-svelte 0.21.0 +> 154 components exported from carbon-components-svelte 0.22.0 - Accordion - [Accordion](#accordion) diff --git a/docs/src/PUBLIC_API.json b/docs/src/PUBLIC_API.json index 279d5abc..e1c01fd8 100644 --- a/docs/src/PUBLIC_API.json +++ b/docs/src/PUBLIC_API.json @@ -1,5 +1,5 @@ { - "version": "0.21.0", + "version": "0.22.0", "components": { "Accordion": { "moduleName": "Accordion", @@ -1544,20 +1544,20 @@ "attributes": [], "children": [ { - "start": 4853, - "end": 4859, + "start": 5081, + "end": 5087, "type": "MustacheTag", "expression": { "type": "Identifier", - "start": 4854, - "end": 4858, + "start": 5082, + "end": 5086, "loc": { "start": { - "line": 184, + "line": 191, "column": 19 }, "end": { - "line": 184, + "line": 191, "column": 23 } }, @@ -1574,8 +1574,8 @@ [ "click", { - "start": 5101, - "end": 5109, + "start": 5329, + "end": 5337, "type": "EventHandler", "name": "click", "modifiers": [], @@ -1585,8 +1585,8 @@ [ "mouseover", { - "start": 4467, - "end": 4479, + "start": 4695, + "end": 4707, "type": "EventHandler", "name": "mouseover", "modifiers": [], @@ -1596,8 +1596,8 @@ [ "mouseenter", { - "start": 4486, - "end": 4499, + "start": 4714, + "end": 4727, "type": "EventHandler", "name": "mouseenter", "modifiers": [], @@ -1607,8 +1607,8 @@ [ "mouseleave", { - "start": 4506, - "end": 4519, + "start": 4734, + "end": 4747, "type": "EventHandler", "name": "mouseleave", "modifiers": [], @@ -1618,8 +1618,8 @@ [ "animationend", { - "start": 5120, - "end": 5135, + "start": 5348, + "end": 5363, "type": "EventHandler", "name": "animationend", "modifiers": [], diff --git a/package.json b/package.json index 650f2063..753fb622 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "carbon-components-svelte", - "version": "0.21.0", + "version": "0.22.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 469c2dec..8f0b41d2 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for carbon-components-svelte 0.21.0 +// Type definitions for carbon-components-svelte 0.22.0 // Project: https://github.com/IBM/carbon-components-svelte export class CarbonSvelteComponent {