mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
fix(types): use @see
tag for flatpickr options link
This commit is contained in:
parent
79d387442c
commit
22ea5654bf
4 changed files with 6 additions and 6 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 |
|
| 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 |
|
| 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 |
|
| 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 />https://flatpickr.js.org/options |
|
| 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 |
|
||||||
|
|
||||||
### Slots
|
### Slots
|
||||||
|
|
||||||
|
|
|
@ -2751,7 +2751,7 @@
|
||||||
{
|
{
|
||||||
"name": "flatpickrProps",
|
"name": "flatpickrProps",
|
||||||
"kind": "let",
|
"kind": "let",
|
||||||
"description": "Override the options passed to the Flatpickr instance\nhttps://flatpickr.js.org/options",
|
"description": "Override the options passed to the Flatpickr instance.\n@see https://flatpickr.js.org/options",
|
||||||
"type": "import(\"flatpickr/dist/types/options\").Options",
|
"type": "import(\"flatpickr/dist/types/options\").Options",
|
||||||
"value": "{}",
|
"value": "{}",
|
||||||
"isFunction": false,
|
"isFunction": false,
|
||||||
|
|
|
@ -60,8 +60,8 @@
|
||||||
export let id = "ccs-" + Math.random().toString(36);
|
export let id = "ccs-" + Math.random().toString(36);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override the options passed to the Flatpickr instance
|
* Override the options passed to the Flatpickr instance.
|
||||||
* https://flatpickr.js.org/options
|
* @see https://flatpickr.js.org/options
|
||||||
* @type {import("flatpickr/dist/types/options").Options}
|
* @type {import("flatpickr/dist/types/options").Options}
|
||||||
*/
|
*/
|
||||||
export let flatpickrProps = {};
|
export let flatpickrProps = {};
|
||||||
|
|
4
types/DatePicker/DatePicker.svelte.d.ts
vendored
4
types/DatePicker/DatePicker.svelte.d.ts
vendored
|
@ -74,8 +74,8 @@ export interface DatePickerProps
|
||||||
id?: string;
|
id?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override the options passed to the Flatpickr instance
|
* Override the options passed to the Flatpickr instance.
|
||||||
* https://flatpickr.js.org/options
|
* @see https://flatpickr.js.org/options
|
||||||
* @default {}
|
* @default {}
|
||||||
*/
|
*/
|
||||||
flatpickrProps?: import("flatpickr/dist/types/options").Options;
|
flatpickrProps?: import("flatpickr/dist/types/options").Options;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue