From fe2e00425fe9e479779a49d326e662275f52c79c Mon Sep 17 00:00:00 2001 From: metonym Date: Wed, 12 Jan 2022 13:19:50 -1000 Subject: [PATCH] yarn build:lib --- COMPONENT_INDEX.md | 36 +++++++++++------------ docs/src/COMPONENT_API.json | 10 +++---- types/ComboBox/ComboBox.svelte.d.ts | 2 +- types/ContextMenu/ContextMenu.svelte.d.ts | 2 +- types/DataTable/ToolbarSearch.svelte.d.ts | 2 +- types/MultiSelect/MultiSelect.svelte.d.ts | 4 +-- 6 files changed, 28 insertions(+), 28 deletions(-) diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 0fe94caf..7bb499c9 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -658,7 +658,7 @@ export interface ComboBoxItem { | Prop name | Kind | Reactive | Type | Default value | Description | | :--------------- | :-------------------- | :------- | :---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | -| listRef | let | Yes | null | HTMLDivElement | null | Obtain a reference to the list HTML element | +| listRef | let | Yes | HTMLDivElement | null | Obtain a reference to the list HTML element | | ref | let | Yes | null | HTMLInputElement | null | Obtain a reference to the input HTML element | | open | let | Yes | boolean | false | Set to `true` to open the combobox menu dropdown | | value | let | Yes | string | "" | Specify the selected combobox value | @@ -781,13 +781,13 @@ None. ### Props -| Prop name | Kind | Reactive | Type | Default value | Description | -| :-------- | :--------------- | :------- | :-------------------------------------------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| ref | let | Yes | null | HTMLUListElement | null | Obtain a reference to the unordered list HTML element | -| y | let | Yes | number | 0 | Specify the vertical offset of the menu position | -| x | let | Yes | number | 0 | Specify the horizontal offset of the menu position | -| open | let | Yes | boolean | false | Set to `true` to open the menu
Either `x` and `y` must be greater than zero | -| target | let | No | null | HTMLElement | HTMLElement[] | null | Specify an element or list of elements to trigger the context menu.
If no element is specified, the context menu applies to the entire window | +| Prop name | Kind | Reactive | Type | Default value | Description | +| :-------- | :--------------- | :------- | :-------------------------------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| ref | let | Yes | null | HTMLUListElement | null | Obtain a reference to the unordered list HTML element | +| y | let | Yes | number | 0 | Specify the vertical offset of the menu position | +| x | let | Yes | number | 0 | Specify the horizontal offset of the menu position | +| open | let | Yes | boolean | false | Set to `true` to open the menu
Either `x` and `y` must be greater than zero | +| target | let | No | HTMLElement | HTMLElement[] | null | Specify an element or list of elements to trigger the context menu.
If no element is specified, the context menu applies to the entire window | ### Slots @@ -2413,8 +2413,8 @@ export interface MultiSelectItem { | Prop name | Kind | Reactive | Type | Default value | Description | | :---------------- | :--------------- | :------- | :--------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- | -| selectionRef | let | Yes | null | HTMLDivElement | null | Obtain a reference to the selection element | -| fieldRef | let | Yes | null | HTMLDivElement | null | Obtain a reference to the field box element | +| selectionRef | let | Yes | HTMLDivElement | null | Obtain a reference to the selection element | +| fieldRef | let | Yes | HTMLDivElement | null | Obtain a reference to the field box element | | multiSelectRef | let | Yes | null | HTMLDivElement | null | Obtain a reference to the outer div element | | inputRef | let | Yes | null | HTMLInputElement | null | Obtain a reference to the input HTML element | | open | let | Yes | boolean | false | Set to `true` to open the dropdown | @@ -4612,14 +4612,14 @@ None. ### Props -| Prop name | Kind | Reactive | Type | Default value | Description | -| :--------- | :--------------- | :------- | :---------------------------------------- | ------------------ | --------------------------------------------- | -| ref | let | Yes | null | HTMLInputElement | null | Obtain a reference to the input HTML element | -| expanded | let | Yes | boolean | false | Set to `true` to expand the search bar | -| value | let | Yes | number | string | "" | Specify the value of the search input | -| persistent | let | No | boolean | false | Set to `true` to keep the search bar expanded | -| disabled | let | No | boolean | false | Set to `true` to disable the search bar | -| tabindex | let | No | string | "0" | Specify the tabindex | +| Prop name | Kind | Reactive | Type | Default value | Description | +| :--------- | :--------------- | :------- | :-------------------------------- | ------------------ | --------------------------------------------- | +| ref | let | Yes | HTMLInputElement | null | Obtain a reference to the input HTML element | +| expanded | let | Yes | boolean | false | Set to `true` to expand the search bar | +| value | let | Yes | number | string | "" | Specify the value of the search input | +| persistent | let | No | boolean | false | Set to `true` to keep the search bar expanded | +| disabled | let | No | boolean | false | Set to `true` to disable the search bar | +| tabindex | let | No | string | "0" | Specify the tabindex | ### Slots diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 35b84000..c9527b8c 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -1604,7 +1604,7 @@ "name": "listRef", "kind": "let", "description": "Obtain a reference to the list HTML element", - "type": "null | HTMLDivElement", + "type": "HTMLDivElement", "value": "null", "isFunction": false, "isFunctionDeclaration": false, @@ -1824,7 +1824,7 @@ "name": "target", "kind": "let", "description": "Specify an element or list of elements to trigger the context menu.\nIf no element is specified, the context menu applies to the entire window", - "type": "null | HTMLElement | HTMLElement[]", + "type": "HTMLElement | HTMLElement[]", "value": "null", "isFunction": false, "isFunctionDeclaration": false, @@ -6700,7 +6700,7 @@ "name": "fieldRef", "kind": "let", "description": "Obtain a reference to the field box element", - "type": "null | HTMLDivElement", + "type": "HTMLDivElement", "value": "null", "isFunction": false, "isFunctionDeclaration": false, @@ -6711,7 +6711,7 @@ "name": "selectionRef", "kind": "let", "description": "Obtain a reference to the selection element", - "type": "null | HTMLDivElement", + "type": "HTMLDivElement", "value": "null", "isFunction": false, "isFunctionDeclaration": false, @@ -12806,7 +12806,7 @@ "name": "ref", "kind": "let", "description": "Obtain a reference to the input HTML element", - "type": "null | HTMLInputElement", + "type": "HTMLInputElement", "value": "null", "isFunction": false, "isFunctionDeclaration": false, diff --git a/types/ComboBox/ComboBox.svelte.d.ts b/types/ComboBox/ComboBox.svelte.d.ts index fbd90438..eaf5a906 100644 --- a/types/ComboBox/ComboBox.svelte.d.ts +++ b/types/ComboBox/ComboBox.svelte.d.ts @@ -135,7 +135,7 @@ export interface ComboBoxProps * Obtain a reference to the list HTML element * @default null */ - listRef?: null | HTMLDivElement; + listRef?: HTMLDivElement; } export default class ComboBox extends SvelteComponentTyped< diff --git a/types/ContextMenu/ContextMenu.svelte.d.ts b/types/ContextMenu/ContextMenu.svelte.d.ts index 505265d5..cd0dca1f 100644 --- a/types/ContextMenu/ContextMenu.svelte.d.ts +++ b/types/ContextMenu/ContextMenu.svelte.d.ts @@ -8,7 +8,7 @@ export interface ContextMenuProps * If no element is specified, the context menu applies to the entire window * @default null */ - target?: null | HTMLElement | HTMLElement[]; + target?: HTMLElement | HTMLElement[]; /** * Set to `true` to open the menu diff --git a/types/DataTable/ToolbarSearch.svelte.d.ts b/types/DataTable/ToolbarSearch.svelte.d.ts index b3ced787..e9cc8466 100644 --- a/types/DataTable/ToolbarSearch.svelte.d.ts +++ b/types/DataTable/ToolbarSearch.svelte.d.ts @@ -37,7 +37,7 @@ export interface ToolbarSearchProps * Obtain a reference to the input HTML element * @default null */ - ref?: null | HTMLInputElement; + ref?: HTMLInputElement; } export default class ToolbarSearch extends SvelteComponentTyped< diff --git a/types/MultiSelect/MultiSelect.svelte.d.ts b/types/MultiSelect/MultiSelect.svelte.d.ts index b3abbcb7..f3519dbf 100644 --- a/types/MultiSelect/MultiSelect.svelte.d.ts +++ b/types/MultiSelect/MultiSelect.svelte.d.ts @@ -197,13 +197,13 @@ export interface MultiSelectProps * Obtain a reference to the field box element * @default null */ - fieldRef?: null | HTMLDivElement; + fieldRef?: HTMLDivElement; /** * Obtain a reference to the selection element * @default null */ - selectionRef?: null | HTMLDivElement; + selectionRef?: HTMLDivElement; } export default class MultiSelect extends SvelteComponentTyped<