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
|
@ -3506,8 +3506,8 @@ import { Search } from "carbon-components-svelte";
|
|||
|
||||
| Prop name | Type | Default value | Description |
|
||||
| :------------------- | :---------------------------------------- | :--------------------- | :------------------------------------------------------- |
|
||||
| small | <code>boolean</code> | `false` | Set to `true` to use the small variant. |
|
||||
| size | <code>"sm" | "lg"</code> | -- | Specify the size of the search input. |
|
||||
| small | <code>boolean</code> | `false` | . |
|
||||
| size | <code>"sm" | "lg" | "xl"</code> | `"xl"` | Specify the size of the search input. |
|
||||
| skeleton | <code>boolean</code> | `false` | Set to `true` to display the skeleton state. |
|
||||
| light | <code>boolean</code> | `false` | Set to `true` to enable the light variant. |
|
||||
| disabled | <code>boolean</code> | `false` | Set to `true` to disable the search input. |
|
||||
|
@ -3550,9 +3550,10 @@ import { SearchSkeleton } from "carbon-components-svelte";
|
|||
|
||||
### Props
|
||||
|
||||
| Prop name | Type | Default value | Description |
|
||||
| :-------- | :------------------- | :------------ | :-------------------------------------- |
|
||||
| small | <code>boolean</code> | `false` | Set to `true` to use the small variant. |
|
||||
| Prop name | Type | Default value | Description |
|
||||
| :-------- | :---------------------------------------- | :------------ | :------------------------------------ |
|
||||
| small | <code>boolean</code> | `false` | . |
|
||||
| size | <code>"sm" | "lg" | "xl"</code> | `"xl"` | Specify the size of the search input. |
|
||||
|
||||
### Slots
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue