From efe9ef1fb648cba497fe516f5ac88e556c0d5d54 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 26 Feb 2022 10:51:26 -0800 Subject: [PATCH] Run "yarn build:docs" --- COMPONENT_INDEX.md | 17 +++++++++-------- docs/src/COMPONENT_API.json | 11 +++++++++++ types/ProgressBar/ProgressBar.svelte.d.ts | 6 ++++++ 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 7668f9e1..5a63bf96 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -2903,14 +2903,15 @@ None. ### Props -| Prop name | Kind | Reactive | Type | Default value | Description | -| :--------- | :--------------- | :------- | :------------------- | ------------------------------------------------ | --------------------------------------------- | -| value | let | No | number | undefined | Specify the current value | -| max | let | No | number | 100 | Specify the maximum value | -| labelText | let | No | string | "" | Specify the label text | -| hideLabel | let | No | boolean | false | Set to `true` to visually hide the label text | -| helperText | let | No | string | "" | Specify the helper text | -| id | let | No | string | "ccs-" + Math.random().toString(36) | Set an id for the progress bar element | +| Prop name | Kind | Reactive | Type | Default value | Description | +| :--------- | :--------------- | :------- | :---------------------------- | ------------------------------------------------ | --------------------------------------------- | +| value | let | No | number | undefined | Specify the current value | +| max | let | No | number | 100 | Specify the maximum value | +| size | let | No | "sm" | "md" | "md" | Specify the size | +| labelText | let | No | string | "" | Specify the label text | +| hideLabel | let | No | boolean | false | Set to `true` to visually hide the label text | +| helperText | let | No | string | "" | Specify the helper text | +| id | let | No | string | "ccs-" + Math.random().toString(36) | Set an id for the progress bar element | ### Slots diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 02745291..6f0130f3 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -8354,6 +8354,17 @@ "constant": false, "reactive": false }, + { + "name": "size", + "kind": "let", + "description": "Specify the size", + "type": "\"sm\" | \"md\"", + "value": "\"md\"", + "isFunction": false, + "isFunctionDeclaration": false, + "constant": false, + "reactive": false + }, { "name": "labelText", "kind": "let", diff --git a/types/ProgressBar/ProgressBar.svelte.d.ts b/types/ProgressBar/ProgressBar.svelte.d.ts index 7ee4d79b..f86e9a1b 100644 --- a/types/ProgressBar/ProgressBar.svelte.d.ts +++ b/types/ProgressBar/ProgressBar.svelte.d.ts @@ -15,6 +15,12 @@ export interface ProgressBarProps */ max?: number; + /** + * Specify the size + * @default "md" + */ + size?: "sm" | "md"; + /** * Specify the label text * @default ""