@wavv/ui 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/components/MultiSelect.d.ts +4 -2
- package/build/cjs/index.js +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/esm/components/MultiSelect.d.ts +4 -2
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/index.d.ts +4 -2
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1984,7 +1984,7 @@ type MultiSelectProps = {
|
|
|
1984
1984
|
items: OptionItem[];
|
|
1985
1985
|
/** A function that gives control of the list items to the user */
|
|
1986
1986
|
children?: (listOpen: boolean, disabled: boolean) => ReactNode;
|
|
1987
|
-
/** Text to display in place of the
|
|
1987
|
+
/** Text to display in place of the complete list of items */
|
|
1988
1988
|
listLabel?: string;
|
|
1989
1989
|
/** Text to display in front of the list of selected items */
|
|
1990
1990
|
listText?: string;
|
|
@@ -2000,6 +2000,8 @@ type MultiSelectProps = {
|
|
|
2000
2000
|
restrictInput?: boolean | ((text: string) => boolean);
|
|
2001
2001
|
/** Disables the Dropdown */
|
|
2002
2002
|
disabled?: boolean;
|
|
2003
|
+
/** Hides the maxItems count and the itemsTitle */
|
|
2004
|
+
hideItemsInfo?: boolean;
|
|
2003
2005
|
/** The selector (id or className) of the element the options should open in relataion to */
|
|
2004
2006
|
optionsParent?: string;
|
|
2005
2007
|
/** Causes the MultiSelect to collapse if listLabel is also present */
|
|
@@ -2015,7 +2017,7 @@ type MultiSelectProps = {
|
|
|
2015
2017
|
/** The function to be called when the input is updated */
|
|
2016
2018
|
onTextChange?: (text: string) => void;
|
|
2017
2019
|
} & Width & Margin & DropdownProps;
|
|
2018
|
-
declare const MultiSelect: ({ children, options, items, listLabel, listText, itemsTitle, maxItems, placeholder, width, filter, restrictInput, disabled, optionsParent, compact, backgroundColor, borderless, addItem, removeItem, onTextChange, autoFocus, ...props }: MultiSelectProps) => JSX.Element;
|
|
2020
|
+
declare const MultiSelect: ({ children, options, items, listLabel, listText, itemsTitle, maxItems, placeholder, width, filter, restrictInput, disabled, hideItemsInfo, optionsParent, compact, backgroundColor, borderless, addItem, removeItem, onTextChange, autoFocus, ...props }: MultiSelectProps) => JSX.Element;
|
|
2019
2021
|
|
|
2020
2022
|
declare const Notification: _emotion_styled.StyledComponent<{
|
|
2021
2023
|
theme?: _emotion_react.Theme | undefined;
|