@memobit/libs 1.0.13 → 1.0.15

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.d.ts CHANGED
@@ -1078,6 +1078,12 @@ declare interface DropdownProps {
1078
1078
  highlighted?: boolean;
1079
1079
  id?: string;
1080
1080
  label?: string;
1081
+ /** Number of selected option labels to spell out before collapsing the rest into
1082
+ * "(+N others)", when `multiple` is true. Defaults to 1, e.g. "France (+2 others)". */
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;
1081
1087
  multiple?: boolean;
1082
1088
  name: string;
1083
1089
  onChange: (option: DropdownOption | DropdownOption[] | null, name: string) => void;
@@ -1087,6 +1093,14 @@ declare interface DropdownProps {
1087
1093
  searchable?: boolean;
1088
1094
  searchValue?: string;
1089
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;
1090
1104
  success?: string;
1091
1105
  usePortal?: boolean;
1092
1106
  value?: number | number[] | string | string[] | null;