From b24453f5858bf01cfd8f720cda7e43e8af1dfade Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 14 May 2022 12:46:14 -0700 Subject: [PATCH] Run "yarn build:docs" --- COMPONENT_INDEX.md | 2 +- docs/src/COMPONENT_API.json | 2 +- types/DatePicker/DatePicker.svelte.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 1223585a..3811e23c 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -1050,7 +1050,7 @@ None. | short | let | No | boolean | false | Set to `true` to use the short variant | | light | let | No | boolean | false | Set to `true` to enable the light variant | | id | let | No | string | "ccs-" + Math.random().toString(36) | Set an id for the date picker element | -| flatpickrProps | let | No | import("flatpickr/dist/types/options").Options | {} | Override the options passed to the Flatpickr instance.
@see https://flatpickr.js.org/options | +| flatpickrProps | let | No | import("flatpickr/dist/types/options").Options | { static: true } | Override the options passed to the Flatpickr instance.
@see https://flatpickr.js.org/options | ### Slots diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 396c40d6..1aee0035 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -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, diff --git a/types/DatePicker/DatePicker.svelte.d.ts b/types/DatePicker/DatePicker.svelte.d.ts index 928953cc..98062528 100644 --- a/types/DatePicker/DatePicker.svelte.d.ts +++ b/types/DatePicker/DatePicker.svelte.d.ts @@ -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; }