@dinofront/design_system 1.12.1 → 1.13.0
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/components/SelectV2/SelectV2.types.d.ts +6 -2
- package/dist/index.js +905 -905
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -53,7 +53,11 @@ export interface SelectV2BaseProps extends BaseProps, Partial<SelectV2ReactSelec
|
|
|
53
53
|
loading?: boolean;
|
|
54
54
|
/** Shows a clear ("x") indicator once a value is selected. Default `false`. */
|
|
55
55
|
clearable?: boolean;
|
|
56
|
-
/** Type-to-filter the option list.
|
|
56
|
+
/** Type-to-filter the option list. Defaults to `true`, except for a
|
|
57
|
+
* static (non-async, non-creatable) select with fewer than 10 options,
|
|
58
|
+
* where the search box is hidden automatically since it adds little
|
|
59
|
+
* value over a short list — pass `searchable` explicitly to override
|
|
60
|
+
* this in either direction. */
|
|
57
61
|
searchable?: boolean;
|
|
58
62
|
/** Virtualizes the menu list with `@tanstack/react-virtual`, for option
|
|
59
63
|
* lists in the thousands. Assumes uniform, single-line option rows — off
|
|
@@ -66,7 +70,7 @@ export interface SelectV2BaseProps extends BaseProps, Partial<SelectV2ReactSelec
|
|
|
66
70
|
* `placeholder`/`emptyText`/`formatCreateLabel` props still take
|
|
67
71
|
* precedence over the translated defaults. Default `'en-US'`. */
|
|
68
72
|
locale?: TranslationLocale;
|
|
69
|
-
/** Enables a "save selection" checkbox pinned
|
|
73
|
+
/** Enables a "save selection" checkbox pinned below the option list. When
|
|
70
74
|
* checked, the current selection is written to `localStorage` under this
|
|
71
75
|
* key and kept in sync on every subsequent change, until unchecked —
|
|
72
76
|
* which clears it. On mount, if the select is
|