This commit is contained in:
Eric Y Liu 2021-04-23 19:23:46 -07:00
commit 9e0893051d
5 changed files with 16 additions and 4 deletions

View file

@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- ## Unreleased -->
## [0.32.2](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.32.2) - 2021-04-23
**Fixes**
- prevent multiple Dropdown items from being selected by updating the `selectedId`
- prevent the default keydown behavior so that pressing "Enter" should open the Dropdown menu
- resolve Carbon icon imports to Svelte files in `DataTable`, `HamburgerMenu` components
**Housekeeping**
- patch `carbon-components` to version 10.32.1
## [0.32.1](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.32.1) - 2021-04-02
**Fixes**

View file

@ -1,6 +1,6 @@
# Component Index
> 167 components exported from carbon-components-svelte@0.32.1.
> 167 components exported from carbon-components-svelte@0.32.2.
## Components

View file

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

View file

@ -1,5 +1,5 @@
{
"version": "0.32.1",
"version": "0.32.2",
"components": {
"Accordion": {
"path": "carbon-components-svelte/src/Accordion/Accordion.svelte"

View file

@ -128,7 +128,7 @@
}
$: inline = type === "inline";
$: selectedItem = items[selectedIndex];
$: selectedId = items[selectedIndex] ? items[selectedIndex].id : undefined;
$: selectedId = items[selectedIndex] ? items[selectedIndex].id : undefined;
$: if (!open) {
highlightedIndex = -1;
}