@wavv/ui 1.3.0-beta.1 → 1.3.0-beta.3

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.
@@ -24,6 +24,10 @@ declare type MultiSelectProps = {
24
24
  restrictInput?: boolean | ((text: string) => boolean);
25
25
  /** Disables the Dropdown */
26
26
  disabled?: boolean;
27
+ /** The selector (id or className) of the element the options should open in relataion to */
28
+ optionsParent?: string;
29
+ /** Causes the MultiSelect to collapse if listLabel is also present */
30
+ compact?: boolean;
27
31
  /** Function called after an item is selected */
28
32
  addItem: (item: DropdownOption | null) => void;
29
33
  /** Function called after an item is removed */
@@ -31,5 +35,5 @@ declare type MultiSelectProps = {
31
35
  /** The function to be called when the input is updated */
32
36
  onTextChange?: (text: string) => void;
33
37
  } & Width & Margin;
34
- declare const MultiSelect: ({ children, options, items, listLabel, listText, itemsTitle, maxItems, placeholder, width, filter, restrictInput, disabled, addItem, removeItem, onTextChange, ...props }: MultiSelectProps) => JSX.Element;
38
+ declare const MultiSelect: ({ children, options, items, listLabel, listText, itemsTitle, maxItems, placeholder, width, filter, restrictInput, disabled, optionsParent, compact, addItem, removeItem, onTextChange, ...props }: MultiSelectProps) => JSX.Element;
35
39
  export default MultiSelect;