breaking(dropdown): remove useless inline prop (#1329)

* breaking(dropdown): remove useless `inline` prop

* Run "yarn build:docs"
This commit is contained in:
metonym 2022-06-02 17:36:46 -07:00 committed by GitHub
commit 0063c01beb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 22 deletions

View file

@ -1148,7 +1148,6 @@ export interface DropdownItem {
| Prop name | Required | Kind | Reactive | Type | Default value | Description | | Prop name | Required | Kind | Reactive | Type | Default value | Description |
| :-------------- | :------- | :--------------- | :------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | :-------------- | :------- | :--------------- | :------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| ref | No | <code>let</code> | Yes | <code>null &#124; HTMLButtonElement</code> | <code>null</code> | Obtain a reference to the button HTML element | | ref | No | <code>let</code> | Yes | <code>null &#124; HTMLButtonElement</code> | <code>null</code> | Obtain a reference to the button HTML element |
| inline | No | <code>let</code> | Yes | <code>boolean</code> | <code>false</code> | Set to `true` to use the inline variant |
| open | No | <code>let</code> | Yes | <code>boolean</code> | <code>false</code> | Set to `true` to open the dropdown | | open | No | <code>let</code> | Yes | <code>boolean</code> | <code>false</code> | Set to `true` to open the dropdown |
| selectedId | Yes | <code>let</code> | Yes | <code>DropdownItemId</code> | <code>undefined</code> | Specify the selected item id | | selectedId | Yes | <code>let</code> | Yes | <code>DropdownItemId</code> | <code>undefined</code> | Specify the selected item id |
| items | No | <code>let</code> | No | <code>DropdownItem[]</code> | <code>[]</code> | Set the dropdown items | | items | No | <code>let</code> | No | <code>DropdownItem[]</code> | <code>[]</code> | Set the dropdown items |

View file

@ -3299,18 +3299,6 @@
"constant": false, "constant": false,
"reactive": true "reactive": true
}, },
{
"name": "inline",
"kind": "let",
"description": "Set to `true` to use the inline variant",
"type": "boolean",
"value": "false",
"isFunction": false,
"isFunctionDeclaration": false,
"isRequired": false,
"constant": false,
"reactive": true
},
{ {
"name": "light", "name": "light",
"kind": "let", "kind": "let",

View file

@ -46,9 +46,6 @@
/** Set to `true` to open the dropdown */ /** Set to `true` to open the dropdown */
export let open = false; export let open = false;
/** Set to `true` to use the inline variant */
export let inline = false;
/** Set to `true` to enable the light variant */ /** Set to `true` to enable the light variant */
export let light = false; export let light = false;

View file

@ -54,12 +54,6 @@ export interface DropdownProps
*/ */
open?: boolean; open?: boolean;
/**
* Set to `true` to use the inline variant
* @default false
*/
inline?: boolean;
/** /**
* Set to `true` to enable the light variant * Set to `true` to enable the light variant
* @default false * @default false