mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(types): use @see
tag for flatpickr options link (#1299)
* chore(deps-dev): upgrade sveld to v0.15.3 * Run "yarn build:docs" * fix(types): use `@see` tag for flatpickr options link
This commit is contained in:
parent
a958825d19
commit
37b40d640b
6 changed files with 21 additions and 21 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 />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
|
||||
|
||||
|
|
|
@ -2751,7 +2751,7 @@
|
|||
{
|
||||
"name": "flatpickrProps",
|
||||
"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",
|
||||
"value": "{}",
|
||||
"isFunction": false,
|
||||
|
@ -10863,16 +10863,6 @@
|
|||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "tableStyle",
|
||||
"kind": "let",
|
||||
"description": "Set the style attribute on the `table` element",
|
||||
"type": "string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
}
|
||||
],
|
||||
"moduleExports": [],
|
||||
|
@ -10938,6 +10928,16 @@
|
|||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "tableStyle",
|
||||
"kind": "let",
|
||||
"description": "Set the style attribute on the `table` element",
|
||||
"type": "string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
}
|
||||
],
|
||||
"moduleExports": [],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"rollup-plugin-svelte": "^7.1.0",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"sass": "^1.49.11",
|
||||
"sveld": "^0.15.2",
|
||||
"sveld": "^0.15.3",
|
||||
"svelte": "^3.46.6",
|
||||
"svelte-check": "^2.4.6",
|
||||
"typescript": "^4.6.3"
|
||||
|
|
|
@ -60,8 +60,8 @@
|
|||
export let id = "ccs-" + Math.random().toString(36);
|
||||
|
||||
/**
|
||||
* Override the options passed to the Flatpickr instance
|
||||
* https://flatpickr.js.org/options
|
||||
* Override the options passed to the Flatpickr instance.
|
||||
* @see https://flatpickr.js.org/options
|
||||
* @type {import("flatpickr/dist/types/options").Options}
|
||||
*/
|
||||
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;
|
||||
|
||||
/**
|
||||
* Override the options passed to the Flatpickr instance
|
||||
* https://flatpickr.js.org/options
|
||||
* Override the options passed to the Flatpickr instance.
|
||||
* @see https://flatpickr.js.org/options
|
||||
* @default {}
|
||||
*/
|
||||
flatpickrProps?: import("flatpickr/dist/types/options").Options;
|
||||
|
|
|
@ -1330,10 +1330,10 @@ supports-color@^9.2.1:
|
|||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-9.2.2.tgz#502acaf82f2b7ee78eb7c83dcac0f89694e5a7bb"
|
||||
integrity sha512-XC6g/Kgux+rJXmwokjm9ECpD6k/smUoS5LKlUCcsYr4IY3rW0XyAympon2RmxGrlnZURMpg5T18gWDP9CsHXFA==
|
||||
|
||||
sveld@^0.15.2:
|
||||
version "0.15.2"
|
||||
resolved "https://registry.yarnpkg.com/sveld/-/sveld-0.15.2.tgz#f8a72cafa8ba5e2ff12ce5a858935b6ca72bc18f"
|
||||
integrity sha512-Ogv8IBPJxNSIkLeGKIOLkqh6bcOjy/43Tcf8wiGMzg60ZWU1vnogkDl5aEAs4QvWZ+Mzy5t3GAAG8rpb4WO1YA==
|
||||
sveld@^0.15.3:
|
||||
version "0.15.3"
|
||||
resolved "https://registry.yarnpkg.com/sveld/-/sveld-0.15.3.tgz#75fe72f472b9cfbe863f6f0b074612d4132dc960"
|
||||
integrity sha512-3TYhrLpm8z8elnZ6ffQeq1SeoxzC2zsFY/9QeNHu1UcQxAZ6LqfyUufnOkNkelYJMq9uBn4bGUAYJpbpTMjnOA==
|
||||
dependencies:
|
||||
"@rollup/plugin-node-resolve" "^13.2.1"
|
||||
acorn "^8.7.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue