File tree Expand file tree Collapse file tree 4 files changed +46
-4
lines changed
Expand file tree Collapse file tree 4 files changed +46
-4
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010- Selectable/expandable ` DataTable `
1111
12+ ## [ 0.10.0] ( https://github.com/IBM/carbon-components-svelte/releases/tag/v0.10.0 ) - 2020-09-05
13+
14+ ** Features**
15+
16+ - UI Shell: add Close/AppSwitcher as default icons for ` HeaderAction ` component (5f62cde)
17+ - ButtonSet: add ` stacked ` prop (c8e0a59)
18+ - Link: set ` rel ` attribute to "noopener noreferrer" if ` target ` is "_ blank" (4b7d254)
19+
20+ ** Fixes**
21+
22+ - TextInput: add missing ` required ` prop to input (PR #237 ), thanks [ @kamil-murtaza ] ( https://github.com/kamil-murtaza ) )
23+ - StructuredList: change element semantics from ` section ` to ` div ` to avoid accessibility error (117dbcf)
24+ - MultiSelect: add ` light ` variant to text input (6a955b1)
25+ - NumberInput: disable label, helper text if ` disabled ` is set to ` true ` (37c7f07)
26+ - Pagination: use singular page range text if ` total ` is 1 (3d64fb2)
27+
28+ ** Housekeeping**
29+
30+ - add ` .prettierrc ` and enable ` svelteStrictMode ` (42b8159)
31+ - remove documentation of non-existent ` small ` Button prop (41a533d)
32+ - upgrade TypeScript to version >=4 (e7e67f3)
33+ - bump prettier, prettier-plugin-svelte (322b238)
34+ - bump rollup, rollup plugins (00b9068)
35+ - require node >=12 for development/CI (bf0f11a)
36+
1237## [ 0.9.7] ( https://github.com/IBM/carbon-components-svelte/releases/tag/v0.9.7 ) - 2020-08-23
1338
1439- Fix ` InlineNotification ` and ` ToastNotification ` timeout
Original file line number Diff line number Diff line change 11# Component Index
22
3- > 143 components exported from carbon-components-svelte 0.9.6
3+ > 143 components exported from carbon-components-svelte 0.10.0
44
55- Accordion
66 - [ AccordionSkeleton] ( #accordionskeleton )
@@ -430,7 +430,9 @@ import { ButtonSet } from "carbon-components-svelte";
430430
431431### Props
432432
433- No exported props.
433+ | Prop name | Type | Default value |
434+ | :-------- | :------------------- | :------------ |
435+ | stacked | <code >boolean</code > | false |
434436
435437### Slots
436438
@@ -4637,6 +4639,7 @@ import { TextInput } from "carbon-components-svelte";
46374639| invalid | <code >boolean</code > | false |
46384640| invalidText | <code >string</code > | "" |
46394641| ref | <code >null | ; HTMLInputElement</code > | null |
4642+ | required | <code >boolean</code > | false |
46404643
46414644### Slots
46424645
Original file line number Diff line number Diff line change 11{
22 "name" : " carbon-components-svelte" ,
3- "version" : " 0.9.7 " ,
3+ "version" : " 0.10.0 " ,
44 "license" : " Apache-2.0" ,
55 "description" : " Svelte implementation of the Carbon Design System" ,
66 "svelte" : " ./src/index.js" ,
Original file line number Diff line number Diff line change 1- // Type definitions for carbon-components-svelte 0.9.6
1+ // Type definitions for carbon-components-svelte 0.10.0
22// Project: https://github.com/IBM/carbon-components-svelte
33
44export class CarbonSvelteComponent {
@@ -208,6 +208,14 @@ export class Button extends CarbonSvelteComponent {
208208}
209209
210210export class ButtonSet extends CarbonSvelteComponent {
211+ $$prop_def : {
212+ /**
213+ * Set to `true` to stack the buttons vertically
214+ * @default false
215+ */
216+ stacked ?: boolean ;
217+ } ;
218+
211219 $$slot_def : { default : { } } ;
212220}
213221
@@ -4385,6 +4393,12 @@ export class TextInput extends CarbonSvelteComponent {
43854393 * @default null
43864394 */
43874395 ref ?: null | HTMLInputElement ;
4396+
4397+ /**
4398+ * Set to `true` to mark the field as required
4399+ * @default false
4400+ */
4401+ required ?: boolean ;
43884402 } ;
43894403}
43904404
You can’t perform that action at this time.
0 commit comments