From 0063c01bebcc8aea2c63a7cb51ff5f4b2484252a Mon Sep 17 00:00:00 2001 From: metonym Date: Thu, 2 Jun 2022 17:36:46 -0700 Subject: [PATCH] breaking(dropdown): remove useless `inline` prop (#1329) * breaking(dropdown): remove useless `inline` prop * Run "yarn build:docs" --- COMPONENT_INDEX.md | 1 - docs/src/COMPONENT_API.json | 12 ------------ src/Dropdown/Dropdown.svelte | 3 --- types/Dropdown/Dropdown.svelte.d.ts | 6 ------ 4 files changed, 22 deletions(-) diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 7a210268..d1c42f14 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -1148,7 +1148,6 @@ export interface DropdownItem { | Prop name | Required | Kind | Reactive | Type | Default value | Description | | :-------------- | :------- | :--------------- | :------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | ref | No | let | Yes | null | HTMLButtonElement | null | Obtain a reference to the button HTML element | -| inline | No | let | Yes | boolean | false | Set to `true` to use the inline variant | | open | No | let | Yes | boolean | false | Set to `true` to open the dropdown | | selectedId | Yes | let | Yes | DropdownItemId | undefined | Specify the selected item id | | items | No | let | No | DropdownItem[] | [] | Set the dropdown items | diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index b06a2faa..f6851af1 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -3299,18 +3299,6 @@ "constant": false, "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", "kind": "let", diff --git a/src/Dropdown/Dropdown.svelte b/src/Dropdown/Dropdown.svelte index 2ef0a144..f58abcd8 100644 --- a/src/Dropdown/Dropdown.svelte +++ b/src/Dropdown/Dropdown.svelte @@ -46,9 +46,6 @@ /** Set to `true` to open the dropdown */ export let open = false; - /** Set to `true` to use the inline variant */ - export let inline = false; - /** Set to `true` to enable the light variant */ export let light = false; diff --git a/types/Dropdown/Dropdown.svelte.d.ts b/types/Dropdown/Dropdown.svelte.d.ts index 9582a073..09ca41b1 100644 --- a/types/Dropdown/Dropdown.svelte.d.ts +++ b/types/Dropdown/Dropdown.svelte.d.ts @@ -54,12 +54,6 @@ export interface DropdownProps */ open?: boolean; - /** - * Set to `true` to use the inline variant - * @default false - */ - inline?: boolean; - /** * Set to `true` to enable the light variant * @default false