mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore(date-picker): also set static: true
in exported prop (#1300)
* chore(date-picker): also set `static: true` in exported prop * Run "yarn build:docs"
This commit is contained in:
parent
37b40d640b
commit
4a052afcb5
4 changed files with 4 additions and 4 deletions
|
@ -1050,7 +1050,7 @@ None.
|
|||
| short | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to use the short variant |
|
||||
| light | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to enable the light variant |
|
||||
| id | <code>let</code> | No | <code>string</code> | <code>"ccs-" + Math.random().toString(36)</code> | Set an id for the date picker element |
|
||||
| flatpickrProps | <code>let</code> | No | <code>import("flatpickr/dist/types/options").Options</code> | <code>{}</code> | Override the options passed to the Flatpickr instance.<br />@see https://flatpickr.js.org/options |
|
||||
| flatpickrProps | <code>let</code> | No | <code>import("flatpickr/dist/types/options").Options</code> | <code>{ static: true }</code> | Override the options passed to the Flatpickr instance.<br />@see https://flatpickr.js.org/options |
|
||||
|
||||
### Slots
|
||||
|
||||
|
|
|
@ -2753,7 +2753,7 @@
|
|||
"kind": "let",
|
||||
"description": "Override the options passed to the Flatpickr instance.\n@see https://flatpickr.js.org/options",
|
||||
"type": "import(\"flatpickr/dist/types/options\").Options",
|
||||
"value": "{}",
|
||||
"value": "{ static: true }",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
* @see https://flatpickr.js.org/options
|
||||
* @type {import("flatpickr/dist/types/options").Options}
|
||||
*/
|
||||
export let flatpickrProps = {};
|
||||
export let flatpickrProps = { static: true };
|
||||
|
||||
import {
|
||||
createEventDispatcher,
|
||||
|
|
2
types/DatePicker/DatePicker.svelte.d.ts
vendored
2
types/DatePicker/DatePicker.svelte.d.ts
vendored
|
@ -76,7 +76,7 @@ export interface DatePickerProps
|
|||
/**
|
||||
* Override the options passed to the Flatpickr instance.
|
||||
* @see https://flatpickr.js.org/options
|
||||
* @default {}
|
||||
* @default { static: true }
|
||||
*/
|
||||
flatpickrProps?: import("flatpickr/dist/types/options").Options;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue