chore(changelog): 0.9.8 notes

This commit is contained in:
Eric Liu 2020-08-23 13:33:03 -07:00
commit 7185af6d5e
3 changed files with 13 additions and 1 deletions

View file

@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Selectable/expandable `DataTable`
## [0.9.7](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.9.7) - 2020-08-23
- Fix `InlineNotification` and `ToastNotification` timeout
([PR#235](https://github.com/IBM/carbon-components-svelte/pull/235), thanks [@Overbryd](https://github.com/Overbryd))
## [0.9.6](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.9.6) - 2020-08-15
- use svelte compiler to generate TypeScript definitions, documentation (issue #227, PR #228)

View file

@ -2011,6 +2011,7 @@ import { InlineNotification } from "carbon-components-svelte";
| notificationType | <code>"toast" &#124; "inline"</code> | "inline" |
| kind | <code>"error" &#124; "info" &#124; "info-square" &#124; "success" &#124; "warning" &#124; "warning-alt"</code> | "error" |
| lowContrast | <code>boolean</code> | false |
| timeout | <code>number</code> | 0 |
| role | <code>string</code> | "alert" |
| title | <code>string</code> | "Title" |
| subtitle | <code>string</code> | "" |

8
types/index.d.ts vendored
View file

@ -1738,6 +1738,12 @@ export class InlineNotification extends CarbonSvelteComponent {
*/
lowContrast?: boolean;
/**
* Set the timeout duration (ms) to hide the notification after opening it
* @default 0
*/
timeout?: number;
/**
* Set the `role` attribute
* @default "alert"
@ -4594,7 +4600,7 @@ export class ToastNotification extends CarbonSvelteComponent {
lowContrast?: boolean;
/**
* Set the timeout duration (ms) to hide the notification after closing it
* Set the timeout duration (ms) to hide the notification after opening it
* @default 0
*/
timeout?: number;