@memobit/libs 1.0.14 → 1.0.16
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/dist/index.css +1 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.esm.js +3255 -3227
- package/dist/version.json +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1081,6 +1081,9 @@ declare interface DropdownProps {
|
|
|
1081
1081
|
/** Number of selected option labels to spell out before collapsing the rest into
|
|
1082
1082
|
* "(+N others)", when `multiple` is true. Defaults to 1, e.g. "France (+2 others)". */
|
|
1083
1083
|
maxVisibleSelectedLabels?: number;
|
|
1084
|
+
/** When `showChips` is true, lets the chip row wrap onto multiple lines
|
|
1085
|
+
* (container grows) instead of staying on a single scrollable line. */
|
|
1086
|
+
multilineChips?: boolean;
|
|
1084
1087
|
multiple?: boolean;
|
|
1085
1088
|
name: string;
|
|
1086
1089
|
onChange: (option: DropdownOption | DropdownOption[] | null, name: string) => void;
|
|
@@ -1090,6 +1093,14 @@ declare interface DropdownProps {
|
|
|
1090
1093
|
searchable?: boolean;
|
|
1091
1094
|
searchValue?: string;
|
|
1092
1095
|
selectedCountDisplay?: DropdownSelectedCountDisplay;
|
|
1096
|
+
/** When `multiple` is true, renders each selection as a removable chip
|
|
1097
|
+
* instead of a joined text summary. */
|
|
1098
|
+
showChips?: boolean;
|
|
1099
|
+
/** When `multiple` is true, floats already-selected options to the top of
|
|
1100
|
+
* the list while it's open (frozen for the duration of that open
|
|
1101
|
+
* session), so they're easy to spot in a long list instead of being
|
|
1102
|
+
* scattered wherever they sort alphabetically. */
|
|
1103
|
+
sortSelectedFirst?: boolean;
|
|
1093
1104
|
success?: string;
|
|
1094
1105
|
usePortal?: boolean;
|
|
1095
1106
|
value?: number | number[] | string | string[] | null;
|