@wavv/ui 1.3.0-beta.4 → 1.3.0-beta.6
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/index.js +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/components/MultiSelect.d.ts +5 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/components/MultiSelect.d.ts +5 -1
- package/build/index.d.ts +5 -1
- package/package.json +1 -1
|
@@ -28,6 +28,10 @@ declare type MultiSelectProps = {
|
|
|
28
28
|
optionsParent?: string;
|
|
29
29
|
/** Causes the MultiSelect to collapse if listLabel is also present */
|
|
30
30
|
compact?: boolean;
|
|
31
|
+
/** Sets the backgroundColor */
|
|
32
|
+
backgroundColor?: string;
|
|
33
|
+
/** Removes the bottom border */
|
|
34
|
+
borderless?: boolean;
|
|
31
35
|
/** Function called after an item is selected */
|
|
32
36
|
addItem: (item: DropdownOption | null) => void;
|
|
33
37
|
/** Function called after an item is removed */
|
|
@@ -35,5 +39,5 @@ declare type MultiSelectProps = {
|
|
|
35
39
|
/** The function to be called when the input is updated */
|
|
36
40
|
onTextChange?: (text: string) => void;
|
|
37
41
|
} & Width & Margin;
|
|
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;
|
|
42
|
+
declare const MultiSelect: ({ children, options, items, listLabel, listText, itemsTitle, maxItems, placeholder, width, filter, restrictInput, disabled, optionsParent, compact, backgroundColor, borderless, addItem, removeItem, onTextChange, ...props }: MultiSelectProps) => JSX.Element;
|
|
39
43
|
export default MultiSelect;
|
package/build/index.d.ts
CHANGED
|
@@ -2371,6 +2371,10 @@ declare type MultiSelectProps = {
|
|
|
2371
2371
|
optionsParent?: string;
|
|
2372
2372
|
/** Causes the MultiSelect to collapse if listLabel is also present */
|
|
2373
2373
|
compact?: boolean;
|
|
2374
|
+
/** Sets the backgroundColor */
|
|
2375
|
+
backgroundColor?: string;
|
|
2376
|
+
/** Removes the bottom border */
|
|
2377
|
+
borderless?: boolean;
|
|
2374
2378
|
/** Function called after an item is selected */
|
|
2375
2379
|
addItem: (item: OptionItem | null) => void;
|
|
2376
2380
|
/** Function called after an item is removed */
|
|
@@ -2378,7 +2382,7 @@ declare type MultiSelectProps = {
|
|
|
2378
2382
|
/** The function to be called when the input is updated */
|
|
2379
2383
|
onTextChange?: (text: string) => void;
|
|
2380
2384
|
} & Width & Margin;
|
|
2381
|
-
declare const MultiSelect: ({ children, options, items, listLabel, listText, itemsTitle, maxItems, placeholder, width, filter, restrictInput, disabled, optionsParent, compact, addItem, removeItem, onTextChange, ...props }: MultiSelectProps) => JSX.Element;
|
|
2385
|
+
declare const MultiSelect: ({ children, options, items, listLabel, listText, itemsTitle, maxItems, placeholder, width, filter, restrictInput, disabled, optionsParent, compact, backgroundColor, borderless, addItem, removeItem, onTextChange, ...props }: MultiSelectProps) => JSX.Element;
|
|
2382
2386
|
|
|
2383
2387
|
declare const Notification: _emotion_styled.StyledComponent<{
|
|
2384
2388
|
theme?: _emotion_react.Theme | undefined;
|