@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.
@@ -9,7 +9,7 @@ type MultiSelectProps = {
9
9
  items: DropdownOption[];
10
10
  /** A function that gives control of the list items to the user */
11
11
  children?: (listOpen: boolean, disabled: boolean) => ReactNode;
12
- /** Text to display in place of the conplete list of items */
12
+ /** Text to display in place of the complete list of items */
13
13
  listLabel?: string;
14
14
  /** Text to display in front of the list of selected items */
15
15
  listText?: string;
@@ -25,6 +25,8 @@ type MultiSelectProps = {
25
25
  restrictInput?: boolean | ((text: string) => boolean);
26
26
  /** Disables the Dropdown */
27
27
  disabled?: boolean;
28
+ /** Hides the maxItems count and the itemsTitle */
29
+ hideItemsInfo?: boolean;
28
30
  /** The selector (id or className) of the element the options should open in relataion to */
29
31
  optionsParent?: string;
30
32
  /** Causes the MultiSelect to collapse if listLabel is also present */
@@ -40,5 +42,5 @@ type MultiSelectProps = {
40
42
  /** The function to be called when the input is updated */
41
43
  onTextChange?: (text: string) => void;
42
44
  } & Width & Margin & DropdownProps;
43
- 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;
45
+ 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;
44
46
  export default MultiSelect;