mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
chore(changelog): 0.10.0 notes
This commit is contained in:
parent
78cf1b3460
commit
9b6284a139
4 changed files with 46 additions and 4 deletions
25
CHANGELOG.md
25
CHANGELOG.md
|
@ -9,6 +9,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
- Selectable/expandable `DataTable`
|
||||
|
||||
## [0.10.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.10.0) - 2020-09-05
|
||||
|
||||
**Features**
|
||||
|
||||
- UI Shell: add Close/AppSwitcher as default icons for `HeaderAction` component (5f62cde)
|
||||
- ButtonSet: add `stacked` prop (c8e0a59)
|
||||
- Link: set `rel` attribute to "noopener noreferrer" if `target` is "_blank" (4b7d254)
|
||||
|
||||
**Fixes**
|
||||
|
||||
- TextInput: add missing `required` prop to input (PR #237), thanks [@kamil-murtaza](https://github.com/kamil-murtaza))
|
||||
- StructuredList: change element semantics from `section` to `div` to avoid accessibility error (117dbcf)
|
||||
- MultiSelect: add `light` variant to text input (6a955b1)
|
||||
- NumberInput: disable label, helper text if `disabled` is set to `true` (37c7f07)
|
||||
- Pagination: use singular page range text if `total` is 1 (3d64fb2)
|
||||
|
||||
**Housekeeping**
|
||||
|
||||
- add `.prettierrc` and enable `svelteStrictMode` (42b8159)
|
||||
- remove documentation of non-existent `small` Button prop (41a533d)
|
||||
- upgrade TypeScript to version >=4 (e7e67f3)
|
||||
- bump prettier, prettier-plugin-svelte (322b238)
|
||||
- bump rollup, rollup plugins (00b9068)
|
||||
- require node >=12 for development/CI (bf0f11a)
|
||||
|
||||
## [0.9.7](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.9.7) - 2020-08-23
|
||||
|
||||
- Fix `InlineNotification` and `ToastNotification` timeout
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Component Index
|
||||
|
||||
> 143 components exported from carbon-components-svelte 0.9.6
|
||||
> 143 components exported from carbon-components-svelte 0.10.0
|
||||
|
||||
- Accordion
|
||||
- [AccordionSkeleton](#accordionskeleton)
|
||||
|
@ -430,7 +430,9 @@ import { ButtonSet } from "carbon-components-svelte";
|
|||
|
||||
### Props
|
||||
|
||||
No exported props.
|
||||
| Prop name | Type | Default value |
|
||||
| :-------- | :------------------- | :------------ |
|
||||
| stacked | <code>boolean</code> | false |
|
||||
|
||||
### Slots
|
||||
|
||||
|
@ -4637,6 +4639,7 @@ import { TextInput } from "carbon-components-svelte";
|
|||
| invalid | <code>boolean</code> | false |
|
||||
| invalidText | <code>string</code> | "" |
|
||||
| ref | <code>null | HTMLInputElement</code> | null |
|
||||
| required | <code>boolean</code> | false |
|
||||
|
||||
### Slots
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "carbon-components-svelte",
|
||||
"version": "0.9.7",
|
||||
"version": "0.10.0",
|
||||
"license": "Apache-2.0",
|
||||
"description": "Svelte implementation of the Carbon Design System",
|
||||
"svelte": "./src/index.js",
|
||||
|
|
16
types/index.d.ts
vendored
16
types/index.d.ts
vendored
|
@ -1,4 +1,4 @@
|
|||
// Type definitions for carbon-components-svelte 0.9.6
|
||||
// Type definitions for carbon-components-svelte 0.10.0
|
||||
// Project: https://github.com/IBM/carbon-components-svelte
|
||||
|
||||
export class CarbonSvelteComponent {
|
||||
|
@ -208,6 +208,14 @@ export class Button extends CarbonSvelteComponent {
|
|||
}
|
||||
|
||||
export class ButtonSet extends CarbonSvelteComponent {
|
||||
$$prop_def: {
|
||||
/**
|
||||
* Set to `true` to stack the buttons vertically
|
||||
* @default false
|
||||
*/
|
||||
stacked?: boolean;
|
||||
};
|
||||
|
||||
$$slot_def: { default: {} };
|
||||
}
|
||||
|
||||
|
@ -4385,6 +4393,12 @@ export class TextInput extends CarbonSvelteComponent {
|
|||
* @default null
|
||||
*/
|
||||
ref?: null | HTMLInputElement;
|
||||
|
||||
/**
|
||||
* Set to `true` to mark the field as required
|
||||
* @default false
|
||||
*/
|
||||
required?: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue