From 38cdd8907c883537e55c3adfbd7e62aa2ad25145 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Fri, 16 Oct 2020 08:57:12 -0700 Subject: [PATCH] v0.17.0 --- CHANGELOG.md | 50 ++++++++++++++++++++++++++++++++++++ COMPONENT_INDEX.md | 4 +-- package.json | 2 +- src/Dropdown/Dropdown.svelte | 3 ++- types/index.d.ts | 2 +- 5 files changed, 56 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02ca3c9d..8cd19aa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,56 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Selectable/expandable `DataTable` +## [0.17.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.17.0) - 2020-10-16 + +**Features** + +- feat: set `rel="nooopener noreferrer"` if `target="_blank"` on link components ([PR #321](https://github.com/IBM/carbon-components-svelte/pull/321)) +- feat: support `Search` disabled state ([PR #330](https://github.com/IBM/carbon-components-svelte/pull/330)) +- feat(button-skeleton): add size prop consistent with Button ([PR #332](https://github.com/IBM/carbon-components-svelte/pull/332)) +- feat(progress-indicator-skeleton): add count prop ([PR #332](https://github.com/IBM/carbon-components-svelte/pull/332)) +- feat(accordion): add disabled prop for `Accordion` and `AccordionItem` ([PR #333](https://github.com/IBM/carbon-components-svelte/pull/333)) +- feat(accordion): add "sm", "xl" size variants to `Accordion` and `AccordionSkeleton` ([PR #333](https://github.com/IBM/carbon-components-svelte/pull/333)) +- feat(content-switcher): add "sm", "xl" size variants ([PR #334](https://github.com/IBM/carbon-components-svelte/pull/334)) +- feat(code-snippet): add wrapText prop for "multi" type CodeSnippet ([PR #335](https://github.com/IBM/carbon-components-svelte/pull/335)) +- feat(aspect-ratio): add AspectRatio component ([PR #336](https://github.com/IBM/carbon-components-svelte/pull/336)) +- feat(dropdown): dispatch select event, use window instead of body for click events ([PR #339](https://github.com/IBM/carbon-components-svelte/pull/339)) + +**Fixes** + +- fix(combo-box): disabled combobox should not open ([PR #329](https://github.com/IBM/carbon-components-svelte/pull/329)) +- fix(inline-loading): add wrapper class "bx--inline-loading" ([PR #332](https://github.com/IBM/carbon-components-svelte/pull/332)) +- fix(breadcrumb): forward noTrailingSlash to skeleton ([PR #332](https://github.com/IBM/carbon-components-svelte/pull/332)) +- fix(skeleton-text): unkey paragraph rows due to high collision rate ([PR #332](https://github.com/IBM/carbon-components-svelte/pull/332)) +- fix(accordion-skeleton): forward align prop ([PR #333](https://github.com/IBM/carbon-components-svelte/pull/333)) + +**Refactoring** + +- refactor(icon): remove old logic that inferred icon size from function name ([PR #332](https://github.com/IBM/carbon-components-svelte/pull/332)) + +**Documentation** + +- AspectRatio (new component): demo all ratios +- Breadcrumb: use `noTrailingSlash` in skeleton example +- Button: demo skeleton size variants +- CodeSnippet: add example "Wrap text" +- ComboBox: add examples "Light variant," "Filterable" +- ContentSwitcher: add examples "Extra-large size" and "Small size" +- SkeletonText: add example "Paragraph with custom line count" +- Pagination: add example "Hidden page size" +- ProgressIndicator: demo custom step count for skeleton +- Link: add example `Target _blank` +- MultiSelect: add example "No alphabetical sorting" +- Accordion: add examples for "Extra-large" and "Small" size variants +- Accordion: add examples for "Disabled" and "Disabled (item)" +- AccordionSkeleton: add examples "Skeleton (chevron aligned left)" and size variants + +**Housekeeping** + +- chore(deps-dev): bump carbon-components to ^v10.22 ([PR #337](https://github.com/IBM/carbon-components-svelte/pull/337)) +- retire Storybook by removing Storybook-related dependencies, set-up and stories ([PR #331](https://github.com/IBM/carbon-components-svelte/pull/331)) +- use `npm-run-all` to run `build:css` and `build:lib` in parallel ([PR #331](https://github.com/IBM/carbon-components-svelte/pull/331)) + ## [0.16.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.16.0) - 2020-10-12 **Features** diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 31632eff..80572f66 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -1,6 +1,6 @@ # Component Index -> 148 components exported from carbon-components-svelte 0.16.0 +> 148 components exported from carbon-components-svelte 0.17.0 - Accordion - [AccordionSkeleton](#accordionskeleton) @@ -1213,7 +1213,7 @@ No forwarded events. ### Dispatched events -No dispatched events. +- `on:select` --- diff --git a/package.json b/package.json index c6c8f294..63e6dfad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "carbon-components-svelte", - "version": "0.16.0", + "version": "0.17.0", "license": "Apache-2.0", "description": "Svelte implementation of the Carbon Design System", "svelte": "./src/index.js", diff --git a/src/Dropdown/Dropdown.svelte b/src/Dropdown/Dropdown.svelte index 80ba0a47..88fdb8d4 100644 --- a/src/Dropdown/Dropdown.svelte +++ b/src/Dropdown/Dropdown.svelte @@ -154,7 +154,8 @@ if (open && ref && !ref.contains(target)) { open = false; } - }}" /> + }}" +/>