mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(search): forward size prop to Search skeleton
Add deprecation notice for the `small` prop.
This commit is contained in:
parent
b5bd56318a
commit
6fc073c932
6 changed files with 75 additions and 37 deletions
13
types/index.d.ts
vendored
13
types/index.d.ts
vendored
|
@ -3496,15 +3496,16 @@ export class Row extends CarbonSvelteComponent {
|
|||
export class Search extends CarbonSvelteComponent {
|
||||
$$prop_def: {
|
||||
/**
|
||||
* Set to `true` to use the small variant
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
small?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the size of the search input
|
||||
* @default "xl"
|
||||
*/
|
||||
size?: "sm" | "lg";
|
||||
size?: "sm" | "lg" | "xl";
|
||||
|
||||
/**
|
||||
* Set to `true` to display the skeleton state
|
||||
|
@ -3582,10 +3583,16 @@ export class Search extends CarbonSvelteComponent {
|
|||
export class SearchSkeleton extends CarbonSvelteComponent {
|
||||
$$prop_def: {
|
||||
/**
|
||||
* Set to `true` to use the small variant
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
small?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the size of the search input
|
||||
* @default "xl"
|
||||
*/
|
||||
size?: "sm" | "lg" | "xl";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue