mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +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
2
types/Select/Select.svelte.d.ts
vendored
2
types/Select/Select.svelte.d.ts
vendored
|
@ -1,7 +1,7 @@
|
|||
import type { SvelteComponentTyped } from "svelte";
|
||||
import type { SvelteHTMLElements } from "svelte/elements";
|
||||
|
||||
type RestProps = SvelteHTMLElements["div"];
|
||||
type RestProps = SvelteHTMLElements["select"];
|
||||
|
||||
export interface SelectProps extends RestProps {
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue