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:
metonym 2022-05-14 12:49:06 -07:00 committed by GitHub
commit 4a052afcb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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,

View file

@ -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,

View file

@ -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;
}