mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-21 04:39:19 +00:00
Run "yarn build:docs"
This commit is contained in:
parent
f853876128
commit
76c73f82fc
3 changed files with 18 additions and 18 deletions
|
@ -3163,8 +3163,8 @@ None.
|
||||||
| Prop name | Kind | Reactive | Type | Default value | Description |
|
| Prop name | Kind | Reactive | Type | Default value | Description |
|
||||||
| :------------------- | :--------------- | :------- | :--------------------------------------------------- | ------------------------------------------------ | ------------------------------------------------------- |
|
| :------------------- | :--------------- | :------- | :--------------------------------------------------- | ------------------------------------------------ | ------------------------------------------------------- |
|
||||||
| ref | <code>let</code> | Yes | <code>null | HTMLInputElement</code> | <code>null</code> | Obtain a reference to the input HTML element |
|
| ref | <code>let</code> | Yes | <code>null | HTMLInputElement</code> | <code>null</code> | Obtain a reference to the input HTML element |
|
||||||
| value | <code>let</code> | Yes | <code>string</code> | <code>""</code> | Specify the value of the search input |
|
|
||||||
| expanded | <code>let</code> | Yes | <code>boolean</code> | <code>false</code> | Set to `true to expand the search input |
|
| expanded | <code>let</code> | Yes | <code>boolean</code> | <code>false</code> | Set to `true to expand the search input |
|
||||||
|
| value | <code>let</code> | Yes | <code>any</code> | <code>""</code> | Specify the value of the search input |
|
||||||
| small | <code>let</code> | No | <code>boolean</code> | <code>false</code> | -- |
|
| small | <code>let</code> | No | <code>boolean</code> | <code>false</code> | -- |
|
||||||
| size | <code>let</code> | No | <code>"sm" | "lg" | "xl"</code> | <code>"xl"</code> | Specify the size of the search input |
|
| size | <code>let</code> | No | <code>"sm" | "lg" | "xl"</code> | <code>"xl"</code> | Specify the size of the search input |
|
||||||
| searchClass | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the class name passed to the outer div element |
|
| searchClass | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the class name passed to the outer div element |
|
||||||
|
|
|
@ -9115,6 +9115,17 @@
|
||||||
"moduleName": "Search",
|
"moduleName": "Search",
|
||||||
"filePath": "src/Search/Search.svelte",
|
"filePath": "src/Search/Search.svelte",
|
||||||
"props": [
|
"props": [
|
||||||
|
{
|
||||||
|
"name": "value",
|
||||||
|
"kind": "let",
|
||||||
|
"description": "Specify the value of the search input",
|
||||||
|
"type": "any",
|
||||||
|
"value": "\"\"",
|
||||||
|
"isFunction": false,
|
||||||
|
"isFunctionDeclaration": false,
|
||||||
|
"constant": false,
|
||||||
|
"reactive": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "small",
|
"name": "small",
|
||||||
"kind": "let",
|
"kind": "let",
|
||||||
|
@ -9202,17 +9213,6 @@
|
||||||
"constant": false,
|
"constant": false,
|
||||||
"reactive": true
|
"reactive": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "value",
|
|
||||||
"kind": "let",
|
|
||||||
"description": "Specify the value of the search input",
|
|
||||||
"type": "string",
|
|
||||||
"value": "\"\"",
|
|
||||||
"isFunction": false,
|
|
||||||
"isFunctionDeclaration": false,
|
|
||||||
"constant": false,
|
|
||||||
"reactive": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "placeholder",
|
"name": "placeholder",
|
||||||
"kind": "let",
|
"kind": "let",
|
||||||
|
|
12
types/Search/Search.svelte.d.ts
vendored
12
types/Search/Search.svelte.d.ts
vendored
|
@ -2,6 +2,12 @@
|
||||||
import { SvelteComponentTyped } from "svelte";
|
import { SvelteComponentTyped } from "svelte";
|
||||||
|
|
||||||
export interface SearchProps {
|
export interface SearchProps {
|
||||||
|
/**
|
||||||
|
* Specify the value of the search input
|
||||||
|
* @default ""
|
||||||
|
*/
|
||||||
|
value?: any;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @default false
|
* @default false
|
||||||
*/
|
*/
|
||||||
|
@ -49,12 +55,6 @@ export interface SearchProps {
|
||||||
*/
|
*/
|
||||||
expanded?: boolean;
|
expanded?: boolean;
|
||||||
|
|
||||||
/**
|
|
||||||
* Specify the value of the search input
|
|
||||||
* @default ""
|
|
||||||
*/
|
|
||||||
value?: string;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify the `placeholder` attribute of the search input
|
* Specify the `placeholder` attribute of the search input
|
||||||
* @default "Search..."
|
* @default "Search..."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue