mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +00:00
Breaking: Move $$restProps
in Select
to <select>
.
This aligns the component with others like `TextInput`, `NumberInput` or `TextArea` and allows adding not explicitly defined attributes to the "main" element of the component. Other changes are from formatting by `lint` task. (Prettier removes manual line breaks via ` ` from JSDoc strings; turned that into paragraph in `Header`.)
This commit is contained in:
parent
b00ccc1d92
commit
93961b106b
8 changed files with 21 additions and 15 deletions
|
@ -4788,7 +4788,7 @@
|
|||
{
|
||||
"name": "company",
|
||||
"kind": "let",
|
||||
"description": "Specify the company name. \nAlternatively, use the named slot \"company\" (e.g., `<span slot=\"company\">...</span>`)",
|
||||
"description": "Specify the company name.\n\nAlternatively, use the named slot \"company\" (e.g., `<span slot=\"company\">...</span>`)",
|
||||
"type": "string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
|
@ -4799,7 +4799,7 @@
|
|||
{
|
||||
"name": "platformName",
|
||||
"kind": "let",
|
||||
"description": "Specify the platform name.\nAlternatively, use the named slot \"platform\" (e.g., `<span slot=\"platform\">...</span>`)",
|
||||
"description": "Specify the platform name.\n\nAlternatively, use the named slot \"platform\" (e.g., `<span slot=\"platform\">...</span>`)",
|
||||
"type": "string",
|
||||
"value": "\"\"",
|
||||
"isFunction": false,
|
||||
|
@ -10367,7 +10367,7 @@
|
|||
{ "type": "forwarded", "name": "blur", "element": "select" }
|
||||
],
|
||||
"typedefs": [],
|
||||
"rest_props": { "type": "Element", "name": "div" }
|
||||
"rest_props": { "type": "Element", "name": "select" }
|
||||
},
|
||||
{
|
||||
"moduleName": "SelectItem",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue