This commit is contained in:
Eric Liu 2020-09-18 19:19:53 -07:00
commit be7bbeda03
4 changed files with 38 additions and 6 deletions

View file

@ -9,6 +9,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Selectable/expandable `DataTable` - Selectable/expandable `DataTable`
## [0.13.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.13.0) - 2020-09-18
**Features**
- Move helper text below form inputs in `ComboBox`, `Dropdown`, `MultiSelect`, `TextArea`, `NumberInput`, `TextInput`, `Select` ([PR #256](https://github.com/IBM/carbon-components-svelte/pull/256), [issue #255](https://github.com/IBM/carbon-components-svelte/issues/255))
- ProgressIndicator: add `spaceEqual` prop and functionality ([PR #263](https://github.com/IBM/carbon-components-svelte/pull/263), [issue #262](https://github.com/IBM/carbon-components-svelte/issues/262))
**Fixes**
- Link: remove visited styles by default ([PR #259](https://github.com/IBM/carbon-components-svelte/pull/259), [issue #258](https://github.com/IBM/carbon-components-svelte/issues/258))
- TimePickerSelect: deprecate `hideLabel` prop to match spec and set default value to `true` ([PR #261](https://github.com/IBM/carbon-components-svelte/pull/261), [issue #260](https://github.com/IBM/carbon-components-svelte/issues/260))
**Breaking Changes**
- TimePickerSelect: `hideLabel` prop is `true` by default
## [0.12.3](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.12.3) - 2020-09-16 ## [0.12.3](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.12.3) - 2020-09-16
**Fixes** **Fixes**

View file

@ -1,6 +1,6 @@
# Component Index # Component Index
> 144 components exported from carbon-components-svelte 0.12.3 > 144 components exported from carbon-components-svelte 0.13.0
- Accordion - Accordion
- [AccordionSkeleton](#accordionskeleton) - [AccordionSkeleton](#accordionskeleton)
@ -2083,6 +2083,7 @@ import { Link } from "carbon-components-svelte";
| :-------- | :--------------------------------------------------------------------- | :------------ | | :-------- | :--------------------------------------------------------------------- | :------------ |
| inline | <code>boolean</code> | false | | inline | <code>boolean</code> | false |
| disabled | <code>boolean</code> | false | | disabled | <code>boolean</code> | false |
| visited | <code>boolean</code> | false |
| ref | <code>null &#124; HTMLAnchorElement &#124; HTMLParagraphElement</code> | null | | ref | <code>null &#124; HTMLAnchorElement &#124; HTMLParagraphElement</code> | null |
### Slots ### Slots
@ -3083,6 +3084,7 @@ import { ProgressIndicator } from "carbon-components-svelte";
| :----------- | :------------------- | :------------ | | :----------- | :------------------- | :------------ |
| currentIndex | <code>number</code> | 0 | | currentIndex | <code>number</code> | 0 |
| vertical | <code>boolean</code> | false | | vertical | <code>boolean</code> | false |
| spaceEqually | <code>boolean</code> | false |
### Slots ### Slots
@ -4852,7 +4854,7 @@ import { TimePickerSelect } from "carbon-components-svelte";
| disabled | <code>boolean</code> | false | | disabled | <code>boolean</code> | false |
| iconDescription | <code>string</code> | "Open list of options" | | iconDescription | <code>string</code> | "Open list of options" |
| labelText | <code>string</code> | "" | | labelText | <code>string</code> | "" |
| hideLabel | <code>boolean</code> | false | | hideLabel | <code>boolean</code> | true |
| id | <code>string</code> | -- | | id | <code>string</code> | -- |
| name | <code>string</code> | -- | | name | <code>string</code> | -- |
| ref | <code>null &#124; HTMLSelectElement</code> | null | | ref | <code>null &#124; HTMLSelectElement</code> | null |

View file

@ -1,6 +1,6 @@
{ {
"name": "carbon-components-svelte", "name": "carbon-components-svelte",
"version": "0.12.3", "version": "0.13.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"description": "Svelte implementation of the Carbon Design System", "description": "Svelte implementation of the Carbon Design System",
"svelte": "./src/index.js", "svelte": "./src/index.js",

18
types/index.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for carbon-components-svelte 0.12.3 // Type definitions for carbon-components-svelte 0.13.0
// Project: https://github.com/IBM/carbon-components-svelte // Project: https://github.com/IBM/carbon-components-svelte
export class CarbonSvelteComponent { export class CarbonSvelteComponent {
@ -1828,6 +1828,12 @@ export class Link extends CarbonSvelteComponent {
*/ */
disabled?: boolean; disabled?: boolean;
/**
* Set to `true` to allow visited styles
* @default false
*/
visited?: boolean;
/** /**
* Obtain a reference to the top-level HTML element * Obtain a reference to the top-level HTML element
* @default null * @default null
@ -3023,6 +3029,12 @@ export class ProgressIndicator extends CarbonSvelteComponent {
* @default false * @default false
*/ */
vertical?: boolean; vertical?: boolean;
/**
* Set to `true` to specify whether the progress steps should be split equally in size in the div
* @default false
*/
spaceEqually?: boolean;
}; };
$$slot_def: { default: {} }; $$slot_def: { default: {} };
@ -4590,8 +4602,8 @@ export class TimePickerSelect extends CarbonSvelteComponent {
labelText?: string; labelText?: string;
/** /**
* Set to `true` to visually hide the label text *
* @default false * @default true
*/ */
hideLabel?: boolean; hideLabel?: boolean;