mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
feat(search)!: integrate Search
with v11 (#1970)
This commit is contained in:
parent
a27a2fc185
commit
cf41756cf4
7 changed files with 105 additions and 189 deletions
11
types/Search/Search.svelte.d.ts
vendored
11
types/Search/Search.svelte.d.ts
vendored
|
@ -22,12 +22,6 @@ export interface SearchProps extends RestProps {
|
|||
*/
|
||||
searchClass?: string;
|
||||
|
||||
/**
|
||||
* Set to `true` to display the skeleton state
|
||||
* @default false
|
||||
*/
|
||||
skeleton?: boolean;
|
||||
|
||||
/**
|
||||
* Set to `true` to enable the light variant
|
||||
* @default false
|
||||
|
@ -109,10 +103,6 @@ export default class Search extends SvelteComponentTyped<
|
|||
{
|
||||
expand: CustomEvent<null>;
|
||||
collapse: CustomEvent<null>;
|
||||
click: WindowEventMap["click"];
|
||||
mouseover: WindowEventMap["mouseover"];
|
||||
mouseenter: WindowEventMap["mouseenter"];
|
||||
mouseleave: WindowEventMap["mouseleave"];
|
||||
change: WindowEventMap["change"];
|
||||
input: WindowEventMap["input"];
|
||||
focus: WindowEventMap["focus"];
|
||||
|
@ -120,6 +110,7 @@ export default class Search extends SvelteComponentTyped<
|
|||
keydown: WindowEventMap["keydown"];
|
||||
keyup: WindowEventMap["keyup"];
|
||||
paste: DocumentAndElementEventHandlersEventMap["paste"];
|
||||
click: WindowEventMap["click"];
|
||||
clear: CustomEvent<null>;
|
||||
},
|
||||
{ labelText: {} }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue