@godxjp/ui 6.10.0 → 6.11.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.
Files changed (42) hide show
  1. package/dist/{checkbox-Vtb93W2X.d.ts → checkbox-9w-eF8sM.d.ts} +1 -1
  2. package/dist/{chunk-UX634MYF.js → chunk-ARDVPIF4.js} +99 -0
  3. package/dist/{chunk-DTJKTRJS.js → chunk-BM5LIDCS.js} +15 -1
  4. package/dist/{chunk-6PWNLR2F.js → chunk-FBHN6OO4.js} +1 -1
  5. package/dist/{chunk-Y6JLEGVK.js → chunk-OXKY5QMK.js} +1 -28
  6. package/dist/{chunk-43QSNZS3.js → chunk-PFOBVLF3.js} +1 -1
  7. package/dist/chunk-Y3XBNUTD.js +32 -0
  8. package/dist/components/admin/index.d.ts +2 -2
  9. package/dist/components/admin/index.js +7 -6
  10. package/dist/components/data-entry/autocomplete.d.ts +1 -1
  11. package/dist/components/data-entry/autocomplete.js +2 -1
  12. package/dist/components/data-entry/calendar.d.ts +1 -1
  13. package/dist/components/data-entry/cascader.d.ts +1 -1
  14. package/dist/components/data-entry/checkbox.d.ts +2 -2
  15. package/dist/components/data-entry/color-picker.d.ts +1 -1
  16. package/dist/components/data-entry/date-picker.d.ts +1 -1
  17. package/dist/components/data-entry/date-range-picker.d.ts +1 -1
  18. package/dist/components/data-entry/index.d.ts +4 -4
  19. package/dist/components/data-entry/index.js +4 -3
  20. package/dist/components/data-entry/radio.d.ts +1 -1
  21. package/dist/components/data-entry/select.d.ts +21 -2
  22. package/dist/components/data-entry/select.js +8 -1
  23. package/dist/components/data-entry/slider.d.ts +1 -1
  24. package/dist/components/data-entry/switch.d.ts +1 -1
  25. package/dist/components/data-entry/time-picker.d.ts +1 -1
  26. package/dist/components/data-entry/transfer.d.ts +2 -2
  27. package/dist/components/data-entry/tree-select.d.ts +1 -1
  28. package/dist/components/data-entry/upload.d.ts +2 -2
  29. package/dist/components/navigation/index.js +8 -4
  30. package/dist/components/navigation/pagination.js +6 -2
  31. package/dist/components/ui/index.d.ts +3 -3
  32. package/dist/components/ui/index.js +5 -4
  33. package/dist/{data-entry.prop-DGzBAJpn.d.ts → data-entry.prop-Cjidhei7.d.ts} +15 -2
  34. package/dist/index.d.ts +2 -2
  35. package/dist/index.js +7 -6
  36. package/dist/props/components/index.d.ts +1 -1
  37. package/dist/props/index.d.ts +1 -1
  38. package/dist/props/index.js +1 -1
  39. package/dist/props/registry.d.ts +7 -1
  40. package/dist/props/registry.js +1 -1
  41. package/dist/{search-input-CkFBczDV.d.ts → search-input-mAZy3Den.d.ts} +1 -1
  42. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { c as CheckboxGroupProp } from './data-entry.prop-DGzBAJpn.js';
4
+ import { c as CheckboxGroupProp } from './data-entry.prop-Cjidhei7.js';
5
5
 
6
6
  declare function CheckboxGroup({ value: controlledValue, defaultValue, onChange, options, orientation, disabled, name, className, children, }: CheckboxGroupProp): react_jsx_runtime.JSX.Element;
7
7
 
@@ -1,3 +1,4 @@
1
+ import { SearchSelect } from './chunk-OXKY5QMK.js';
1
2
  import { controlTriggerClass } from './chunk-ICM6XBST.js';
2
3
  import { cn } from './chunk-U7N2A7A3.js';
3
4
  import * as React from 'react';
@@ -5,7 +6,13 @@ import * as SelectPrimitive from '@radix-ui/react-select';
5
6
  import { ChevronDown, ChevronUp } from 'lucide-react';
6
7
  import { jsxs, jsx } from 'react/jsx-runtime';
7
8
 
9
+ function isDataSelect(props) {
10
+ return "options" in props || "loadOptions" in props;
11
+ }
8
12
  function Select(props) {
13
+ if (isDataSelect(props)) {
14
+ return /* @__PURE__ */ jsx(DataSelect, { ...props });
15
+ }
9
16
  return /* @__PURE__ */ jsx(SelectPrimitive.Root, { "data-slot": "select", ...props });
10
17
  }
11
18
  function SelectGroup(props) {
@@ -119,5 +126,97 @@ var SelectSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__P
119
126
  }
120
127
  ));
121
128
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
129
+ function groupDataOptions(options) {
130
+ const order = [];
131
+ const buckets = /* @__PURE__ */ new Map();
132
+ for (const option of options) {
133
+ const key = option.group ?? "";
134
+ if (!buckets.has(key)) {
135
+ buckets.set(key, []);
136
+ order.push(key);
137
+ }
138
+ buckets.get(key).push(option);
139
+ }
140
+ return order.map((key) => ({ heading: key || void 0, items: buckets.get(key) ?? [] }));
141
+ }
142
+ function DataSelect({
143
+ options = [],
144
+ loadOptions,
145
+ showSearch,
146
+ value = "",
147
+ onChange,
148
+ renderOption,
149
+ selectedLabel,
150
+ placeholder,
151
+ searchPlaceholder,
152
+ emptyMessage,
153
+ loadingMessage,
154
+ clearLabel,
155
+ clearable,
156
+ disabled,
157
+ name,
158
+ id,
159
+ className,
160
+ "data-testid": dataTestId
161
+ }) {
162
+ const searchable = showSearch ?? Boolean(loadOptions);
163
+ if (searchable) {
164
+ return /* @__PURE__ */ jsx(
165
+ SearchSelect,
166
+ {
167
+ value,
168
+ onChange,
169
+ options,
170
+ loadOptions,
171
+ renderOption,
172
+ selectedLabel,
173
+ placeholder,
174
+ searchPlaceholder,
175
+ emptyMessage,
176
+ loadingMessage,
177
+ clearLabel,
178
+ clearable,
179
+ disabled,
180
+ name,
181
+ id,
182
+ className,
183
+ "data-testid": dataTestId
184
+ }
185
+ );
186
+ }
187
+ const optionTestId = (optionValue) => dataTestId ? `${dataTestId}-option-${optionValue}` : void 0;
188
+ const renderItem = (option) => /* @__PURE__ */ jsx(
189
+ SelectItem,
190
+ {
191
+ value: option.value,
192
+ disabled: option.disabled,
193
+ "data-testid": optionTestId(option.value),
194
+ children: renderOption ? renderOption(option) : option.label
195
+ },
196
+ option.value
197
+ );
198
+ return /* @__PURE__ */ jsxs(
199
+ SelectPrimitive.Root,
200
+ {
201
+ "data-slot": "select",
202
+ value: value || void 0,
203
+ onValueChange: (next) => onChange?.(
204
+ next,
205
+ options.find((option) => option.value === next)
206
+ ),
207
+ disabled,
208
+ name,
209
+ children: [
210
+ /* @__PURE__ */ jsx(SelectTrigger, { id, "data-testid": dataTestId, className, children: /* @__PURE__ */ jsx(SelectValue, { placeholder }) }),
211
+ /* @__PURE__ */ jsx(SelectContent, { children: groupDataOptions(options).map(
212
+ (group) => group.heading ? /* @__PURE__ */ jsxs(SelectGroup, { children: [
213
+ /* @__PURE__ */ jsx(SelectLabel, { children: group.heading }),
214
+ group.items.map(renderItem)
215
+ ] }, group.heading) : /* @__PURE__ */ jsx(React.Fragment, { children: group.items.map(renderItem) }, "__ungrouped")
216
+ ) })
217
+ ]
218
+ }
219
+ );
220
+ }
122
221
 
123
222
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -438,7 +438,21 @@ var COMPONENT_PROP_REGISTRY = {
438
438
  "IdProp",
439
439
  "ClassNameProp"
440
440
  ],
441
- note: "Searchable single-select combobox (static `options` OR async `loadOptions`), optgroup grouping, custom `renderOption`. Supersedes Autocomplete."
441
+ note: "Deprecated \u2014 the searchable engine behind `<Select options showSearch>`; prefer Select."
442
+ },
443
+ SelectDataProp: {
444
+ group: "data-entry",
445
+ file: "components/data-entry.prop.ts",
446
+ vocabulary: [
447
+ "ValueProp",
448
+ "PlaceholderProp",
449
+ "EmptyMessageProp",
450
+ "DisabledProp",
451
+ "NameProp",
452
+ "IdProp",
453
+ "ClassNameProp"
454
+ ],
455
+ note: "Ant-style data-driven form of Select (options|loadOptions + showSearch). One Select for all single-selects."
442
456
  },
443
457
  SearchSelectOptionProp: {
444
458
  group: "data-entry",
@@ -1,4 +1,4 @@
1
- import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-UX634MYF.js';
1
+ import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-ARDVPIF4.js';
2
2
  import { Button } from './chunk-HJEBRCXL.js';
3
3
  import { useTranslation } from './chunk-RLGHEV4A.js';
4
4
  import { cn } from './chunk-U7N2A7A3.js';
@@ -216,32 +216,5 @@ function SearchSelect({
216
216
  }
217
217
  );
218
218
  }
219
- function Autocomplete({
220
- options,
221
- value,
222
- onValueChange,
223
- placeholder,
224
- searchPlaceholder,
225
- emptyMessage,
226
- disabled,
227
- className,
228
- id
229
- }) {
230
- return /* @__PURE__ */ jsx(
231
- SearchSelect,
232
- {
233
- id,
234
- value,
235
- onChange: (next) => onValueChange?.(next),
236
- options,
237
- clearable: false,
238
- placeholder,
239
- searchPlaceholder,
240
- emptyMessage,
241
- disabled,
242
- className
243
- }
244
- );
245
- }
246
219
 
247
- export { Autocomplete, SearchSelect };
220
+ export { SearchSelect };
@@ -1,4 +1,4 @@
1
- import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-UX634MYF.js';
1
+ import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-ARDVPIF4.js';
2
2
  import { Button } from './chunk-HJEBRCXL.js';
3
3
  import { useTranslation, useOptionalAppContext, APP_LOCALES, resolveTimezonePickerOptions, getTimezoneLabel, APP_TIME_FORMAT_OPTIONS, getTimeFormatLabel } from './chunk-RLGHEV4A.js';
4
4
  import { APP_DATE_FORMAT_OPTIONS, getDateFormatLabel } from './chunk-FXFJF4YA.js';
@@ -0,0 +1,32 @@
1
+ import { SearchSelect } from './chunk-OXKY5QMK.js';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ function Autocomplete({
5
+ options,
6
+ value,
7
+ onValueChange,
8
+ placeholder,
9
+ searchPlaceholder,
10
+ emptyMessage,
11
+ disabled,
12
+ className,
13
+ id
14
+ }) {
15
+ return /* @__PURE__ */ jsx(
16
+ SearchSelect,
17
+ {
18
+ id,
19
+ value,
20
+ onChange: (next) => onValueChange?.(next),
21
+ options,
22
+ clearable: false,
23
+ placeholder,
24
+ searchPlaceholder,
25
+ emptyMessage,
26
+ disabled,
27
+ className
28
+ }
29
+ );
30
+ }
31
+
32
+ export { Autocomplete };
@@ -3,7 +3,7 @@ export { I as InlineProp, P as PageContainerProp, P as PageContainerProps, a as
3
3
  export { F as FilterBar, a as FilterGroup, P as PageHeader } from '../../filter-bar-BpUvE_yO.js';
4
4
  export { I as Inline, P as PageContainer, S as Stack } from '../../inline-CV3A46np.js';
5
5
  export { C as ColumnDef, D as DataTable, a as Density, E as EmptyState, K as KeyValueGrid, S as StatusBadge } from '../../data-table-Bg7fPpXy.js';
6
- export { F as FormField, S as SearchInput } from '../../search-input-CkFBczDV.js';
6
+ export { F as FormField, S as SearchInput } from '../../search-input-mAZy3Den.js';
7
7
  export { L as LegacyToastOptions, S as SkeletonCard, a as SkeletonDetail, b as SkeletonRows, c as SkeletonTable, t as toast, u as useToast } from '../../use-toast-Dol5bdY3.js';
8
8
  export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from '../query/index.js';
9
9
  export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../feedback/alert.js';
@@ -19,7 +19,7 @@ export { Dialog, DialogConfirm, DialogContent, DialogDescription, DialogFooter,
19
19
  export { Toaster } from '../feedback/sonner.js';
20
20
  import { b as FormatDatetimeOptions, a as FormatDateOptions } from '../../format-date-ByyZoqI5.js';
21
21
  export { j as formatDate } from '../../format-date-ByyZoqI5.js';
22
- export { J as collectUploadCommitActions, K as createUploadItem } from '../../data-entry.prop-DGzBAJpn.js';
22
+ export { K as collectUploadCommitActions, L as createUploadItem } from '../../data-entry.prop-Cjidhei7.js';
23
23
  import '../../shared.prop-BNRJc9K0.js';
24
24
  import 'react';
25
25
  import '../../content.prop-DrV_zDy-.js';
@@ -1,20 +1,21 @@
1
1
  import '../../chunk-LDSLS6HE.js';
2
- export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from '../../chunk-2QG3OVAD.js';
3
- export { PageContainer, Stack } from '../../chunk-X3OSXYAB.js';
4
- export { FilterBar, FilterGroup, PageHeader } from '../../chunk-43QSNZS3.js';
5
- import '../../chunk-TO33OY4L.js';
6
- export { Pagination } from '../../chunk-6PWNLR2F.js';
2
+ export { FilterBar, FilterGroup, PageHeader } from '../../chunk-PFOBVLF3.js';
3
+ export { Pagination } from '../../chunk-FBHN6OO4.js';
7
4
  export { Steps } from '../../chunk-L6J44O74.js';
8
5
  export { TabsItems } from '../../chunk-BPSKQUL2.js';
9
6
  export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-XG7XDYIM.js';
7
+ export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from '../../chunk-2QG3OVAD.js';
8
+ export { PageContainer, Stack } from '../../chunk-X3OSXYAB.js';
9
+ import '../../chunk-TO33OY4L.js';
10
10
  export { SearchInput, Transfer, useDebouncedValue, useTimeoutFlag } from '../../chunk-ZR2TIBPG.js';
11
11
  export { TreeSelect } from '../../chunk-V7RC4PBY.js';
12
12
  export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-NTUHJ37K.js';
13
13
  import '../../chunk-CRERCLIZ.js';
14
- import '../../chunk-UX634MYF.js';
14
+ import '../../chunk-ARDVPIF4.js';
15
15
  export { SkeletonCard, SkeletonDetail, SkeletonRows, SkeletonTable, toast, useToast } from '../../chunk-M64MVRLS.js';
16
16
  import '../../chunk-32WO3YLB.js';
17
17
  export { Toaster } from '../../chunk-TO7URV7U.js';
18
+ import '../../chunk-OXKY5QMK.js';
18
19
  export { Cascader } from '../../chunk-VRSHUKDF.js';
19
20
  import '../../chunk-SMLKNECP.js';
20
21
  import '../../chunk-V6UWJKZF.js';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { a as AutocompleteProp } from '../../data-entry.prop-DGzBAJpn.js';
2
+ import { a as AutocompleteProp } from '../../data-entry.prop-Cjidhei7.js';
3
3
  import '@radix-ui/react-checkbox';
4
4
  import '@radix-ui/react-radio-group';
5
5
  import '@radix-ui/react-slider';
@@ -1,4 +1,5 @@
1
- export { Autocomplete } from '../../chunk-Y6JLEGVK.js';
1
+ export { Autocomplete } from '../../chunk-Y3XBNUTD.js';
2
+ import '../../chunk-OXKY5QMK.js';
2
3
  import '../../chunk-V6UWJKZF.js';
3
4
  import '../../chunk-DY5C44UP.js';
4
5
  import '../../chunk-ICM6XBST.js';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CalendarProp } from '../../data-entry.prop-DGzBAJpn.js';
2
+ import { C as CalendarProp } from '../../data-entry.prop-Cjidhei7.js';
3
3
  import '@radix-ui/react-checkbox';
4
4
  import '@radix-ui/react-radio-group';
5
5
  import '@radix-ui/react-slider';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { b as CascaderProp } from '../../data-entry.prop-DGzBAJpn.js';
2
+ import { b as CascaderProp } from '../../data-entry.prop-Cjidhei7.js';
3
3
  import * as React from 'react';
4
4
  import '@radix-ui/react-checkbox';
5
5
  import '@radix-ui/react-radio-group';
@@ -1,8 +1,8 @@
1
1
  import 'react';
2
2
  import '@radix-ui/react-checkbox';
3
- export { C as Checkbox } from '../../checkbox-Vtb93W2X.js';
3
+ export { C as Checkbox } from '../../checkbox-9w-eF8sM.js';
4
4
  import 'react/jsx-runtime';
5
- import '../../data-entry.prop-DGzBAJpn.js';
5
+ import '../../data-entry.prop-Cjidhei7.js';
6
6
  import '@radix-ui/react-radio-group';
7
7
  import '@radix-ui/react-slider';
8
8
  import '@radix-ui/react-switch';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { f as ColorPickerProp } from '../../data-entry.prop-DGzBAJpn.js';
2
+ import { f as ColorPickerProp } from '../../data-entry.prop-Cjidhei7.js';
3
3
  import '@radix-ui/react-checkbox';
4
4
  import '@radix-ui/react-radio-group';
5
5
  import '@radix-ui/react-slider';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { D as DatePickerProp } from '../../data-entry.prop-DGzBAJpn.js';
2
+ import { D as DatePickerProp } from '../../data-entry.prop-Cjidhei7.js';
3
3
  import '@radix-ui/react-checkbox';
4
4
  import '@radix-ui/react-radio-group';
5
5
  import '@radix-ui/react-slider';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { j as DateRangePickerProp } from '../../data-entry.prop-DGzBAJpn.js';
2
+ import { j as DateRangePickerProp } from '../../data-entry.prop-Cjidhei7.js';
3
3
  import '@radix-ui/react-checkbox';
4
4
  import '@radix-ui/react-radio-group';
5
5
  import '@radix-ui/react-slider';
@@ -1,13 +1,13 @@
1
1
  export { Input, InputProps } from './input.js';
2
2
  export { Label } from './label.js';
3
3
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './select.js';
4
- export { C as Checkbox, a as CheckboxGroup } from '../../checkbox-Vtb93W2X.js';
4
+ export { C as Checkbox, a as CheckboxGroup } from '../../checkbox-9w-eF8sM.js';
5
5
  export { Radio, RadioGroup, RadioGroupRoot, RadioItem } from './radio.js';
6
6
  export { Textarea, TextareaProps } from './textarea.js';
7
- export { F as FormField, S as SearchInput } from '../../search-input-CkFBczDV.js';
7
+ export { F as FormField, S as SearchInput } from '../../search-input-mAZy3Den.js';
8
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
- import { r as SwitchFieldProp, g as CountryOptionLabelProp, i as CountrySelectProp, o as SearchSelectProp } from '../../data-entry.prop-DGzBAJpn.js';
10
- export { a as AutocompleteProps, C as CalendarProps, b as CascaderProps, f as ColorPickerProps, h as CountryOptionProp, D as DatePickerProps, j as DateRangePickerProps, l as SearchSelectLoadParamsProp, m as SearchSelectLoadResultProp, n as SearchSelectOption, q as SliderProps, s as SwitchProps, t as TimePickerProps, u as TransferItemProp, v as TransferProps, y as TreeSelectProps, U as UploadCommitAction, z as UploadFileItem, E as UploadProps, G as UploadVariant, J as collectUploadCommitActions, K as createUploadItem } from '../../data-entry.prop-DGzBAJpn.js';
9
+ import { s as SwitchFieldProp, g as CountryOptionLabelProp, i as CountrySelectProp, o as SearchSelectProp } from '../../data-entry.prop-Cjidhei7.js';
10
+ export { a as AutocompleteProps, C as CalendarProps, b as CascaderProps, f as ColorPickerProps, h as CountryOptionProp, D as DatePickerProps, j as DateRangePickerProps, l as SearchSelectLoadParamsProp, m as SearchSelectLoadResultProp, n as SearchSelectOption, r as SliderProps, t as SwitchProps, u as TimePickerProps, v as TransferItemProp, w as TransferProps, z as TreeSelectProps, U as UploadCommitAction, B as UploadFileItem, G as UploadProps, H as UploadVariant, K as collectUploadCommitActions, L as createUploadItem } from '../../data-entry.prop-Cjidhei7.js';
11
11
  export { Switch } from './switch.js';
12
12
  export { Slider } from './slider.js';
13
13
  export { Calendar } from './calendar.js';
@@ -5,15 +5,16 @@ export { TimePicker } from '../../chunk-ZKIAZDVU.js';
5
5
  export { DatePicker } from '../../chunk-EXBWDW5E.js';
6
6
  export { DateRangePicker } from '../../chunk-25ZZ2W3M.js';
7
7
  export { Radio, RadioGroupOptions as RadioGroup, RadioGroupRoot, RadioItem } from '../../chunk-3UGU5TYP.js';
8
- export { Autocomplete, SearchSelect } from '../../chunk-Y6JLEGVK.js';
8
+ export { Autocomplete } from '../../chunk-Y3XBNUTD.js';
9
9
  export { Calendar } from '../../chunk-IK7I3ABN.js';
10
10
  export { ColorPicker } from '../../chunk-TT2L7JM6.js';
11
11
  export { SearchInput, Transfer } from '../../chunk-ZR2TIBPG.js';
12
12
  export { SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeSelect } from '../../chunk-V7RC4PBY.js';
13
13
  export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-NTUHJ37K.js';
14
14
  export { Slider } from '../../chunk-CRERCLIZ.js';
15
- import { Select, SelectTrigger, SelectValue, SelectContent, SelectGroup, SelectItem } from '../../chunk-UX634MYF.js';
16
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-UX634MYF.js';
15
+ import { Select, SelectTrigger, SelectValue, SelectContent, SelectGroup, SelectItem } from '../../chunk-ARDVPIF4.js';
16
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-ARDVPIF4.js';
17
+ export { SearchSelect } from '../../chunk-OXKY5QMK.js';
17
18
  export { Cascader } from '../../chunk-VRSHUKDF.js';
18
19
  import '../../chunk-SMLKNECP.js';
19
20
  export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '../../chunk-V6UWJKZF.js';
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
4
- import { R as RadioGroupProp } from '../../data-entry.prop-DGzBAJpn.js';
4
+ import { R as RadioGroupProp } from '../../data-entry.prop-Cjidhei7.js';
5
5
  import '@radix-ui/react-checkbox';
6
6
  import '@radix-ui/react-slider';
7
7
  import '@radix-ui/react-switch';
@@ -1,8 +1,27 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import * as SelectPrimitive from '@radix-ui/react-select';
4
+ import { p as SelectDataProp } from '../../data-entry.prop-Cjidhei7.js';
5
+ import '@radix-ui/react-checkbox';
6
+ import '@radix-ui/react-radio-group';
7
+ import '@radix-ui/react-slider';
8
+ import '@radix-ui/react-switch';
9
+ import 'react-day-picker';
10
+ import '../../shared.prop-BNRJc9K0.js';
11
+ import '../../content.prop-DrV_zDy-.js';
12
+ import '../../data.prop-BmLaGLb7.js';
13
+ import '../../interaction.prop-Cdn7wOtq.js';
14
+ import '../../layout.prop-4TCNvyQZ.js';
4
15
 
5
- declare function Select(props: React.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
16
+ type SelectProp = SelectDataProp | React.ComponentProps<typeof SelectPrimitive.Root>;
17
+ /**
18
+ * Select — one component for every single-select. Use the compound API for full control
19
+ * (`<Select><SelectTrigger/><SelectContent><SelectItem/></SelectContent></Select>`), OR the
20
+ * data-driven (Ant-style) API by passing `options` / `loadOptions`: `showSearch` toggles a
21
+ * searchable combobox (powered by SearchSelect) vs a plain no-search listbox; supports async,
22
+ * optgroup grouping, and `renderOption`.
23
+ */
24
+ declare function Select(props: SelectProp): react_jsx_runtime.JSX.Element;
6
25
  declare function SelectGroup(props: React.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
7
26
  declare function SelectValue(props: React.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
8
27
  declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
@@ -15,4 +34,4 @@ declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.
15
34
  declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
16
35
  declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
36
 
18
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
37
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectProp, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -1,3 +1,10 @@
1
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-UX634MYF.js';
1
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-ARDVPIF4.js';
2
+ import '../../chunk-OXKY5QMK.js';
3
+ import '../../chunk-V6UWJKZF.js';
4
+ import '../../chunk-DY5C44UP.js';
2
5
  import '../../chunk-ICM6XBST.js';
6
+ import '../../chunk-VOHTRR5X.js';
7
+ import '../../chunk-HJEBRCXL.js';
8
+ import '../../chunk-RLGHEV4A.js';
9
+ import '../../chunk-FXFJF4YA.js';
3
10
  import '../../chunk-U7N2A7A3.js';
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import * as SliderPrimitive from '@radix-ui/react-slider';
3
- export { q as SliderProp, q as SliderProps } from '../../data-entry.prop-DGzBAJpn.js';
3
+ export { r as SliderProp, r as SliderProps } from '../../data-entry.prop-Cjidhei7.js';
4
4
  import '@radix-ui/react-checkbox';
5
5
  import '@radix-ui/react-radio-group';
6
6
  import '@radix-ui/react-switch';
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import * as SwitchPrimitive from '@radix-ui/react-switch';
3
- export { s as SwitchProp, s as SwitchProps } from '../../data-entry.prop-DGzBAJpn.js';
3
+ export { t as SwitchProp, t as SwitchProps } from '../../data-entry.prop-Cjidhei7.js';
4
4
  import '@radix-ui/react-checkbox';
5
5
  import '@radix-ui/react-radio-group';
6
6
  import '@radix-ui/react-slider';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { t as TimePickerProp } from '../../data-entry.prop-DGzBAJpn.js';
2
+ import { u as TimePickerProp } from '../../data-entry.prop-Cjidhei7.js';
3
3
  import '@radix-ui/react-checkbox';
4
4
  import '@radix-ui/react-radio-group';
5
5
  import '@radix-ui/react-slider';
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { v as TransferProp } from '../../data-entry.prop-DGzBAJpn.js';
3
- export { u as TransferItemProp } from '../../data-entry.prop-DGzBAJpn.js';
2
+ import { w as TransferProp } from '../../data-entry.prop-Cjidhei7.js';
3
+ export { v as TransferItemProp } from '../../data-entry.prop-Cjidhei7.js';
4
4
  import '@radix-ui/react-checkbox';
5
5
  import '@radix-ui/react-radio-group';
6
6
  import '@radix-ui/react-slider';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { y as TreeSelectProp } from '../../data-entry.prop-DGzBAJpn.js';
2
+ import { z as TreeSelectProp } from '../../data-entry.prop-Cjidhei7.js';
3
3
  import '@radix-ui/react-checkbox';
4
4
  import '@radix-ui/react-radio-group';
5
5
  import '@radix-ui/react-slider';
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { z as UploadFileItem, U as UploadCommitAction, E as UploadProp } from '../../data-entry.prop-DGzBAJpn.js';
3
- export { B as UploadFileItemProp, G as UploadVariant, H as UploadVariantProp, J as collectUploadCommitActions, K as createUploadItem } from '../../data-entry.prop-DGzBAJpn.js';
2
+ import { B as UploadFileItem, U as UploadCommitAction, G as UploadProp } from '../../data-entry.prop-Cjidhei7.js';
3
+ export { E as UploadFileItemProp, H as UploadVariant, J as UploadVariantProp, K as collectUploadCommitActions, L as createUploadItem } from '../../data-entry.prop-Cjidhei7.js';
4
4
  import '@radix-ui/react-checkbox';
5
5
  import '@radix-ui/react-radio-group';
6
6
  import '@radix-ui/react-slider';
@@ -1,11 +1,15 @@
1
- export { DateFormatPicker, FilterBar, FilterGroup, LocalePicker, PageHeader, TimeFormatPicker, TimezonePicker } from '../../chunk-43QSNZS3.js';
2
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-TO33OY4L.js';
3
- export { Pagination } from '../../chunk-6PWNLR2F.js';
1
+ export { DateFormatPicker, FilterBar, FilterGroup, LocalePicker, PageHeader, TimeFormatPicker, TimezonePicker } from '../../chunk-PFOBVLF3.js';
2
+ export { Pagination } from '../../chunk-FBHN6OO4.js';
4
3
  export { Steps } from '../../chunk-L6J44O74.js';
5
4
  export { TabsItems } from '../../chunk-BPSKQUL2.js';
6
5
  export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-XG7XDYIM.js';
7
- import '../../chunk-UX634MYF.js';
6
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-TO33OY4L.js';
7
+ import '../../chunk-ARDVPIF4.js';
8
+ import '../../chunk-OXKY5QMK.js';
9
+ import '../../chunk-V6UWJKZF.js';
10
+ import '../../chunk-DY5C44UP.js';
8
11
  import '../../chunk-ICM6XBST.js';
12
+ import '../../chunk-VOHTRR5X.js';
9
13
  import '../../chunk-HJEBRCXL.js';
10
14
  import '../../chunk-RLGHEV4A.js';
11
15
  import '../../chunk-FXFJF4YA.js';
@@ -1,6 +1,10 @@
1
- export { Pagination } from '../../chunk-6PWNLR2F.js';
2
- import '../../chunk-UX634MYF.js';
1
+ export { Pagination } from '../../chunk-FBHN6OO4.js';
2
+ import '../../chunk-ARDVPIF4.js';
3
+ import '../../chunk-OXKY5QMK.js';
4
+ import '../../chunk-V6UWJKZF.js';
5
+ import '../../chunk-DY5C44UP.js';
3
6
  import '../../chunk-ICM6XBST.js';
7
+ import '../../chunk-VOHTRR5X.js';
4
8
  import '../../chunk-HJEBRCXL.js';
5
9
  import '../../chunk-RLGHEV4A.js';
6
10
  import '../../chunk-FXFJF4YA.js';
@@ -5,7 +5,7 @@ export { Badge, BadgeProps } from '../data-display/badge.js';
5
5
  export { Button, buttonVariants } from '../general/button.js';
6
6
  export { Calendar } from '../data-entry/calendar.js';
7
7
  export { Card, CardAction, CardContent, CardContentProps, CardCover, CardCoverProps, CardDescription, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardStat, CardStatProps, CardTitle } from '../data-display/card.js';
8
- export { C as Checkbox } from '../../checkbox-Vtb93W2X.js';
8
+ export { C as Checkbox } from '../../checkbox-9w-eF8sM.js';
9
9
  export { ColorPicker } from '../data-entry/color-picker.js';
10
10
  export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '../data-entry/command.js';
11
11
  export { DatePicker } from '../data-entry/date-picker.js';
@@ -17,7 +17,7 @@ export { Pagination } from '../navigation/pagination.js';
17
17
  export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from '../data-display/popover.js';
18
18
  export { Radio, RadioGroup, RadioGroupRoot, RadioItem } from '../data-entry/radio.js';
19
19
  export { ScrollArea, ScrollBar } from '../data-display/scroll-area.js';
20
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../data-entry/select.js';
20
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectProp, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../data-entry/select.js';
21
21
  export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../feedback/sheet.js';
22
22
  export { Slider } from '../data-entry/slider.js';
23
23
  export { Toaster } from '../feedback/sonner.js';
@@ -29,7 +29,7 @@ export { Textarea, TextareaProps } from '../data-entry/textarea.js';
29
29
  export { TimePicker } from '../data-entry/time-picker.js';
30
30
  export { Upload, useUploadDraft } from '../data-entry/upload.js';
31
31
  export { A as AlertActionsProp, A as AlertActionsProps, a as AlertContentProp, a as AlertContentProps, b as AlertDescriptionProp, b as AlertDescriptionProps, c as AlertProp, c as AlertProps, d as AlertQueryErrorProp, d as AlertQueryErrorProps, e as AlertTitleProp, e as AlertTitleProps, D as DialogConfirmProp, D as DialogConfirmProps } from '../../feedback.prop-BnBpUzNK.js';
32
- export { a as AutocompleteProp, a as AutocompleteProps, C as CalendarProp, C as CalendarProps, f as ColorPickerProp, f as ColorPickerProps, D as DatePickerProp, D as DatePickerProps, j as DateRangePickerProp, j as DateRangePickerProps, R as RadioGroupProp, R as RadioGroupProps, q as SliderProp, q as SliderProps, s as SwitchProp, s as SwitchProps, t as TimePickerProp, t as TimePickerProps, U as UploadCommitAction, z as UploadFileItem, B as UploadFileItemProp, E as UploadProp, E as UploadProps, G as UploadVariant, H as UploadVariantProp, J as collectUploadCommitActions, K as createUploadItem } from '../../data-entry.prop-DGzBAJpn.js';
32
+ export { a as AutocompleteProp, a as AutocompleteProps, C as CalendarProp, C as CalendarProps, f as ColorPickerProp, f as ColorPickerProps, D as DatePickerProp, D as DatePickerProps, j as DateRangePickerProp, j as DateRangePickerProps, R as RadioGroupProp, R as RadioGroupProps, r as SliderProp, r as SliderProps, t as SwitchProp, t as SwitchProps, u as TimePickerProp, u as TimePickerProps, U as UploadCommitAction, B as UploadFileItem, E as UploadFileItemProp, G as UploadProp, G as UploadProps, H as UploadVariant, J as UploadVariantProp, K as collectUploadCommitActions, L as createUploadItem } from '../../data-entry.prop-Cjidhei7.js';
33
33
  export { B as ButtonProp, B as ButtonProps } from '../../general.prop-D7brMPNL.js';
34
34
  export { P as PaginationProp, P as PaginationProps, d as TabsItemsProp, d as TabsItemsProps } from '../../navigation.prop-Ck5_gSfs.js';
35
35
  import 'react/jsx-runtime';
@@ -5,18 +5,19 @@ export { DatePicker } from '../../chunk-EXBWDW5E.js';
5
5
  export { DateRangePicker } from '../../chunk-25ZZ2W3M.js';
6
6
  export { Radio, RadioGroupOptions as RadioGroup, RadioGroupRoot, RadioItem } from '../../chunk-3UGU5TYP.js';
7
7
  export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../../chunk-BHV2FUOA.js';
8
- export { Autocomplete } from '../../chunk-Y6JLEGVK.js';
8
+ export { Autocomplete } from '../../chunk-Y3XBNUTD.js';
9
9
  export { Calendar } from '../../chunk-IK7I3ABN.js';
10
10
  export { ColorPicker } from '../../chunk-TT2L7JM6.js';
11
11
  export { Card, CardAction, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardStat, CardTitle } from '../../chunk-GXHZAJUA.js';
12
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-TO33OY4L.js';
13
- export { Pagination } from '../../chunk-6PWNLR2F.js';
12
+ export { Pagination } from '../../chunk-FBHN6OO4.js';
14
13
  export { TabsItems } from '../../chunk-BPSKQUL2.js';
15
14
  export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-XG7XDYIM.js';
15
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-TO33OY4L.js';
16
16
  export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-NTUHJ37K.js';
17
17
  export { Slider } from '../../chunk-CRERCLIZ.js';
18
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-UX634MYF.js';
18
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-ARDVPIF4.js';
19
19
  export { Toaster } from '../../chunk-TO7URV7U.js';
20
+ import '../../chunk-OXKY5QMK.js';
20
21
  export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '../../chunk-V6UWJKZF.js';
21
22
  export { Checkbox } from '../../chunk-E76QIYSY.js';
22
23
  import '../../chunk-CQBADMFG.js';
@@ -254,7 +254,11 @@ type SearchSelectLoadResultProp = {
254
254
  /** True if another page is available (drives infinite scroll). */
255
255
  hasMore?: boolean;
256
256
  };
257
- /** @see SearchSelect — searchable, optionally grouped single-select combobox (static or async). */
257
+ /**
258
+ * @see SearchSelect — searchable, optionally grouped single-select combobox (static or async).
259
+ * @deprecated Prefer `<Select options|loadOptions showSearch …/>` — `Select` is now the single
260
+ * data-driven entry point and uses this engine internally. `SearchSelect` stays exported.
261
+ */
258
262
  type SearchSelectProp = {
259
263
  value?: ValueProp;
260
264
  onChange?: (value: string, option?: SearchSelectOptionProp) => void;
@@ -281,6 +285,15 @@ type SearchSelectProp = {
281
285
  className?: ClassNameProp;
282
286
  "data-testid"?: string;
283
287
  };
288
+ /**
289
+ * Data-driven (Ant-style) form of {@link Select} — one component covering static `options` or
290
+ * async `loadOptions`, with `showSearch` toggling the searchable combobox vs a plain listbox.
291
+ * Passing `options`/`loadOptions` to `<Select>` switches it from the compound API to this one.
292
+ */
293
+ type SelectDataProp = SearchSelectProp & {
294
+ /** Show the search box (combobox). Defaults to true when `loadOptions` is set, otherwise false. */
295
+ showSearch?: boolean;
296
+ };
284
297
  /** @see UploadFileItem */
285
298
  type UploadFileItemProp = UploadFileItem;
286
299
  /** @see Upload */
@@ -377,4 +390,4 @@ type TransferProp = {
377
390
  onSelectChange?: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
378
391
  };
379
392
 
380
- export { type AutocompleteOptionProp as A, type UploadFileItemProp as B, type CalendarProp as C, type DatePickerProp as D, type UploadProp as E, type FormFieldProp as F, type UploadVariant as G, type UploadVariantProp as H, type InputProp as I, collectUploadCommitActions as J, createUploadItem as K, type RadioGroupProp as R, type SearchInputProp as S, type TextareaProp as T, type UploadCommitAction as U, type AutocompleteProp as a, type CascaderProp as b, type CheckboxGroupProp as c, type CheckboxProp as d, type ChoiceOptionProp as e, type ColorPickerProp as f, type CountryOptionLabelProp as g, type CountryOptionProp as h, type CountrySelectProp as i, type DateRangePickerProp as j, type RadioProp as k, type SearchSelectLoadParamsProp as l, type SearchSelectLoadResultProp as m, type SearchSelectOptionProp as n, type SearchSelectProp as o, type ShowCheckedStrategyProp as p, type SliderProp as q, type SwitchFieldProp as r, type SwitchProp as s, type TimePickerProp as t, type TransferItemProp as u, type TransferProp as v, type TreeFieldNamesProp as w, type TreeOptionProp as x, type TreeSelectProp as y, type UploadFileItem as z };
393
+ export { type AutocompleteOptionProp as A, type UploadFileItem as B, type CalendarProp as C, type DatePickerProp as D, type UploadFileItemProp as E, type FormFieldProp as F, type UploadProp as G, type UploadVariant as H, type InputProp as I, type UploadVariantProp as J, collectUploadCommitActions as K, createUploadItem as L, type RadioGroupProp as R, type SearchInputProp as S, type TextareaProp as T, type UploadCommitAction as U, type AutocompleteProp as a, type CascaderProp as b, type CheckboxGroupProp as c, type CheckboxProp as d, type ChoiceOptionProp as e, type ColorPickerProp as f, type CountryOptionLabelProp as g, type CountryOptionProp as h, type CountrySelectProp as i, type DateRangePickerProp as j, type RadioProp as k, type SearchSelectLoadParamsProp as l, type SearchSelectLoadResultProp as m, type SearchSelectOptionProp as n, type SearchSelectProp as o, type SelectDataProp as p, type ShowCheckedStrategyProp as q, type SliderProp as r, type SwitchFieldProp as s, type SwitchProp as t, type TimePickerProp as u, type TransferItemProp as v, type TransferProp as w, type TreeFieldNamesProp as x, type TreeOptionProp as y, type TreeSelectProp as z };
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { I as InlineProp, P as PageContainerProp, P as PageContainerProps, a as
3
3
  export { F as FilterBar, a as FilterGroup, P as PageHeader } from './filter-bar-BpUvE_yO.js';
4
4
  export { I as Inline, P as PageContainer, S as Stack } from './inline-CV3A46np.js';
5
5
  export { C as ColumnDef, D as DataTable, a as Density, E as EmptyState, K as KeyValueGrid, S as StatusBadge } from './data-table-Bg7fPpXy.js';
6
- export { F as FormField, S as SearchInput } from './search-input-CkFBczDV.js';
6
+ export { F as FormField, S as SearchInput } from './search-input-mAZy3Den.js';
7
7
  export { L as LegacyToastOptions, S as SkeletonCard, a as SkeletonDetail, b as SkeletonRows, c as SkeletonTable, t as toast, u as useToast } from './use-toast-Dol5bdY3.js';
8
8
  export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from './components/query/index.js';
9
9
  export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from './components/feedback/alert.js';
@@ -21,7 +21,7 @@ export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRela
21
21
  export { FormFieldControl, FormRoot, useZodForm } from './form/index.js';
22
22
  export { F as FieldErrorMessageProp, a as FormFieldControlProp, b as FormRootProp, U as UseZodFormOptionsProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from './form.prop-BHgpuFFm.js';
23
23
  export { cn } from './lib/utils.js';
24
- export { J as collectUploadCommitActions, K as createUploadItem } from './data-entry.prop-DGzBAJpn.js';
24
+ export { K as collectUploadCommitActions, L as createUploadItem } from './data-entry.prop-Cjidhei7.js';
25
25
  export { j as formatDate } from './format-date-ByyZoqI5.js';
26
26
  import './shared.prop-BNRJc9K0.js';
27
27
  import 'react';
package/dist/index.js CHANGED
@@ -1,21 +1,22 @@
1
1
  export { FormFieldControl, FormRoot, useZodForm } from './chunk-7WRZG2IG.js';
2
2
  import './chunk-LDSLS6HE.js';
3
- export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from './chunk-2QG3OVAD.js';
4
- export { PageContainer, Stack } from './chunk-X3OSXYAB.js';
5
- export { FilterBar, FilterGroup, PageHeader } from './chunk-43QSNZS3.js';
6
- import './chunk-TO33OY4L.js';
7
- export { Pagination } from './chunk-6PWNLR2F.js';
3
+ export { FilterBar, FilterGroup, PageHeader } from './chunk-PFOBVLF3.js';
4
+ export { Pagination } from './chunk-FBHN6OO4.js';
8
5
  export { Steps } from './chunk-L6J44O74.js';
9
6
  export { TabsItems } from './chunk-BPSKQUL2.js';
10
7
  export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-XG7XDYIM.js';
8
+ export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from './chunk-2QG3OVAD.js';
9
+ export { PageContainer, Stack } from './chunk-X3OSXYAB.js';
10
+ import './chunk-TO33OY4L.js';
11
11
  export { SearchInput, Transfer, useDebouncedValue, useTimeoutFlag } from './chunk-ZR2TIBPG.js';
12
12
  export { TreeSelect } from './chunk-V7RC4PBY.js';
13
13
  export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from './chunk-NTUHJ37K.js';
14
14
  import './chunk-CRERCLIZ.js';
15
- import './chunk-UX634MYF.js';
15
+ import './chunk-ARDVPIF4.js';
16
16
  export { SkeletonCard, SkeletonDetail, SkeletonRows, SkeletonTable, toast, useToast } from './chunk-M64MVRLS.js';
17
17
  import './chunk-32WO3YLB.js';
18
18
  export { Toaster } from './chunk-TO7URV7U.js';
19
+ import './chunk-OXKY5QMK.js';
19
20
  export { Cascader } from './chunk-VRSHUKDF.js';
20
21
  import './chunk-SMLKNECP.js';
21
22
  import './chunk-V6UWJKZF.js';
@@ -1,6 +1,6 @@
1
1
  export { A as AppShellProp, I as InlineProp, P as PageContainerProp, a as PageHeaderProp, b as PageInsetProp, S as SidebarItemProp, c as SidebarProductProp, d as SidebarProp, e as SidebarSectionProp, f as StackProp, T as TopbarProductProp, g as TopbarProjectProp, h as TopbarProp } from '../../layout.prop-MwHm4-Zl.js';
2
2
  export { B as ButtonProp } from '../../general.prop-D7brMPNL.js';
3
- export { A as AutocompleteOptionProp, a as AutocompleteProp, C as CalendarProp, b as CascaderProp, c as CheckboxGroupProp, d as CheckboxProp, e as ChoiceOptionProp, f as ColorPickerProp, D as DatePickerProp, j as DateRangePickerProp, F as FormFieldProp, I as InputProp, R as RadioGroupProp, k as RadioProp, S as SearchInputProp, p as ShowCheckedStrategyProp, q as SliderProp, s as SwitchProp, T as TextareaProp, t as TimePickerProp, u as TransferItemProp, v as TransferProp, w as TreeFieldNamesProp, x as TreeOptionProp, y as TreeSelectProp, B as UploadFileItemProp, E as UploadProp, H as UploadVariantProp } from '../../data-entry.prop-DGzBAJpn.js';
3
+ export { A as AutocompleteOptionProp, a as AutocompleteProp, C as CalendarProp, b as CascaderProp, c as CheckboxGroupProp, d as CheckboxProp, e as ChoiceOptionProp, f as ColorPickerProp, D as DatePickerProp, j as DateRangePickerProp, F as FormFieldProp, I as InputProp, R as RadioGroupProp, k as RadioProp, S as SearchInputProp, q as ShowCheckedStrategyProp, r as SliderProp, t as SwitchProp, T as TextareaProp, u as TimePickerProp, v as TransferItemProp, w as TransferProp, x as TreeFieldNamesProp, y as TreeOptionProp, z as TreeSelectProp, E as UploadFileItemProp, G as UploadProp, J as UploadVariantProp } from '../../data-entry.prop-Cjidhei7.js';
4
4
  export { B as BadgeProp, D as DataTableProp, E as EmptyStateProp, K as KeyValueGridItemProp, a as KeyValueGridProp, S as StatusBadgeProp } from '../../data-display.prop-i0iaSwMV.js';
5
5
  export { A as AlertActionsProp, a as AlertContentProp, b as AlertDescriptionProp, c as AlertProp, d as AlertQueryErrorProp, e as AlertTitleProp, D as DialogConfirmProp, S as SkeletonRowsProp } from '../../feedback.prop-BnBpUzNK.js';
6
6
  export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, M as MutationFeedbackProp, P as PrefetchLinkProp, Q as QueryRefetchButtonProp } from '../../query.prop-hIPrk2zI.js';
@@ -6,7 +6,7 @@ export { B as BreadcrumbItem, B as BreadcrumbItemProp, a as BreadcrumbProp, P as
6
6
  export { C as ColumnDef, C as ColumnDefProp, G as GetRowIdProp, H as HasActiveFiltersProp, O as OnClearFiltersProp, a as OnRowClickProp, b as OnSearchChangeProp, c as OnSelectChangeProp, d as OnSortChangeProp, e as OnTableDensityChangeProp, S as SelectedIdsProp } from '../data.prop-BmLaGLb7.js';
7
7
  export { A as AppShellProp, I as InlineProp, I as InlineProps, P as PageContainerProp, P as PageContainerProps, a as PageHeaderProp, b as PageInsetProp, S as SidebarItemProp, c as SidebarProductProp, d as SidebarProp, e as SidebarSectionProp, f as StackProp, f as StackProps, T as TopbarProductProp, g as TopbarProjectProp, h as TopbarProp } from '../layout.prop-MwHm4-Zl.js';
8
8
  export { B as ButtonProp, B as ButtonProps } from '../general.prop-D7brMPNL.js';
9
- export { A as AutocompleteOptionProp, a as AutocompleteProp, C as CalendarProp, b as CascaderProp, c as CheckboxGroupProp, d as CheckboxProp, e as ChoiceOptionProp, f as ColorPickerProp, D as DatePickerProp, j as DateRangePickerProp, F as FormFieldProp, I as InputProp, R as RadioGroupProp, k as RadioProp, S as SearchInputProp, p as ShowCheckedStrategyProp, q as SliderProp, s as SwitchProp, T as TextareaProp, t as TimePickerProp, u as TransferItemProp, v as TransferProp, w as TreeFieldNamesProp, x as TreeOptionProp, y as TreeSelectProp, B as UploadFileItemProp, E as UploadProp, H as UploadVariantProp } from '../data-entry.prop-DGzBAJpn.js';
9
+ export { A as AutocompleteOptionProp, a as AutocompleteProp, C as CalendarProp, b as CascaderProp, c as CheckboxGroupProp, d as CheckboxProp, e as ChoiceOptionProp, f as ColorPickerProp, D as DatePickerProp, j as DateRangePickerProp, F as FormFieldProp, I as InputProp, R as RadioGroupProp, k as RadioProp, S as SearchInputProp, q as ShowCheckedStrategyProp, r as SliderProp, t as SwitchProp, T as TextareaProp, u as TimePickerProp, v as TransferItemProp, w as TransferProp, x as TreeFieldNamesProp, y as TreeOptionProp, z as TreeSelectProp, E as UploadFileItemProp, G as UploadProp, J as UploadVariantProp } from '../data-entry.prop-Cjidhei7.js';
10
10
  export { B as BadgeProp, D as DataTableProp, E as EmptyStateProp, K as KeyValueGridItemProp, a as KeyValueGridProp, S as StatusBadgeProp } from '../data-display.prop-i0iaSwMV.js';
11
11
  export { A as AlertActionsProp, a as AlertContentProp, b as AlertDescriptionProp, c as AlertProp, d as AlertQueryErrorProp, e as AlertTitleProp, D as DialogConfirmProp, S as SkeletonRowsProp } from '../feedback.prop-BnBpUzNK.js';
12
12
  export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, M as MutationFeedbackProp, P as PrefetchLinkProp, Q as QueryRefetchButtonProp } from '../query.prop-hIPrk2zI.js';
@@ -1,3 +1,3 @@
1
1
  import '../chunk-B775Y6BE.js';
2
2
  import '../chunk-ZT5UEUBO.js';
3
- export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-DTJKTRJS.js';
3
+ export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-BM5LIDCS.js';
@@ -448,7 +448,13 @@ declare const COMPONENT_PROP_REGISTRY: {
448
448
  readonly group: "data-entry";
449
449
  readonly file: "components/data-entry.prop.ts";
450
450
  readonly vocabulary: readonly ["ValueProp", "PlaceholderProp", "EmptyMessageProp", "DisabledProp", "NameProp", "IdProp", "ClassNameProp"];
451
- readonly note: "Searchable single-select combobox (static `options` OR async `loadOptions`), optgroup grouping, custom `renderOption`. Supersedes Autocomplete.";
451
+ readonly note: "Deprecated the searchable engine behind `<Select options showSearch>`; prefer Select.";
452
+ };
453
+ readonly SelectDataProp: {
454
+ readonly group: "data-entry";
455
+ readonly file: "components/data-entry.prop.ts";
456
+ readonly vocabulary: readonly ["ValueProp", "PlaceholderProp", "EmptyMessageProp", "DisabledProp", "NameProp", "IdProp", "ClassNameProp"];
457
+ readonly note: "Ant-style data-driven form of Select (options|loadOptions + showSearch). One Select for all single-selects.";
452
458
  };
453
459
  readonly SearchSelectOptionProp: {
454
460
  readonly group: "data-entry";
@@ -1 +1 @@
1
- export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-DTJKTRJS.js';
1
+ export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-BM5LIDCS.js';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { F as FormFieldProp } from './data-entry.prop-DGzBAJpn.js';
2
+ import { F as FormFieldProp } from './data-entry.prop-Cjidhei7.js';
3
3
  import * as React from 'react';
4
4
 
5
5
  declare function FormField({ id, label, required, helper, error, labelAddon, className, children, }: FormFieldProp): react_jsx_runtime.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@godxjp/ui",
3
- "version": "6.10.0",
3
+ "version": "6.11.0",
4
4
  "type": "module",
5
5
  "description": "@godxjp/ui — shared React UI framework (shadcn + Radix + Tailwind v4).",
6
6
  "files": [