@overdoser/react-toolkit 0.0.12 → 0.0.13
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/components/inputs/Select/Select.d.ts +6 -0
- package/index.js +1180 -1179
- package/llms.txt +1 -0
- package/manifest.json +1 -0
- package/package.json +1 -1
|
@@ -46,6 +46,12 @@ export interface SelectProps extends Omit<ComponentPropsWithRef<'select'>, 'onCh
|
|
|
46
46
|
onValuesChange?: (values: string[]) => void;
|
|
47
47
|
/** Clear the search query after each toggle in multi mode. @default true */
|
|
48
48
|
clearSearchOnSelect?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Multi-mode only. When `true`, the menu closes after each add/remove (and
|
|
51
|
+
* after a `Create` row click) — the user has to reopen to pick another.
|
|
52
|
+
* Set to `false` for the "stay open until done" pattern. @default true
|
|
53
|
+
*/
|
|
54
|
+
closeOnSelect?: boolean;
|
|
49
55
|
/**
|
|
50
56
|
* Multi-mode only. When `true`, an extra "Create '<query>'" row appears
|
|
51
57
|
* in the menu whenever the search query doesn't match an existing option.
|