@godxjp/ui 6.9.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.
- package/dist/{checkbox-BKIGsv3G.d.ts → checkbox-9w-eF8sM.d.ts} +1 -1
- package/dist/{chunk-PE2QZHY2.js → chunk-25ZZ2W3M.js} +2 -2
- package/dist/{chunk-UX634MYF.js → chunk-ARDVPIF4.js} +99 -0
- package/dist/{chunk-6RA3KSVK.js → chunk-BM5LIDCS.js} +57 -1
- package/dist/{chunk-Z5D4E73N.js → chunk-EXBWDW5E.js} +2 -2
- package/dist/{chunk-6PWNLR2F.js → chunk-FBHN6OO4.js} +1 -1
- package/dist/chunk-OXKY5QMK.js +220 -0
- package/dist/{chunk-43QSNZS3.js → chunk-PFOBVLF3.js} +1 -1
- package/dist/chunk-Y3XBNUTD.js +32 -0
- package/dist/components/admin/index.d.ts +10 -10
- package/dist/components/admin/index.js +21 -20
- package/dist/components/data-display/index.d.ts +3 -3
- package/dist/components/data-display/index.js +6 -6
- package/dist/components/data-entry/autocomplete.d.ts +10 -2
- package/dist/components/data-entry/autocomplete.js +4 -2
- package/dist/components/data-entry/calendar.d.ts +2 -1
- package/dist/components/data-entry/calendar.js +2 -2
- package/dist/components/data-entry/cascader.d.ts +2 -1
- package/dist/components/data-entry/cascader.js +3 -3
- package/dist/components/data-entry/checkbox.d.ts +3 -2
- package/dist/components/data-entry/color-picker.d.ts +2 -1
- package/dist/components/data-entry/color-picker.js +2 -2
- package/dist/components/data-entry/date-picker.d.ts +2 -1
- package/dist/components/data-entry/date-picker.js +4 -4
- package/dist/components/data-entry/date-range-picker.d.ts +2 -1
- package/dist/components/data-entry/date-range-picker.js +4 -4
- package/dist/components/data-entry/index.d.ts +12 -10
- package/dist/components/data-entry/index.js +20 -216
- package/dist/components/data-entry/radio.d.ts +2 -1
- package/dist/components/data-entry/select.d.ts +21 -2
- package/dist/components/data-entry/select.js +8 -1
- package/dist/components/data-entry/slider.d.ts +2 -1
- package/dist/components/data-entry/switch.d.ts +2 -1
- package/dist/components/data-entry/time-picker.d.ts +2 -1
- package/dist/components/data-entry/time-picker.js +2 -2
- package/dist/components/data-entry/transfer.d.ts +3 -2
- package/dist/components/data-entry/transfer.js +2 -2
- package/dist/components/data-entry/tree-select.d.ts +2 -1
- package/dist/components/data-entry/tree-select.js +3 -3
- package/dist/components/data-entry/upload.d.ts +3 -2
- package/dist/components/data-entry/upload.js +2 -2
- package/dist/components/feedback/alert.d.ts +3 -3
- package/dist/components/feedback/dialog.d.ts +2 -2
- package/dist/components/feedback/index.d.ts +2 -2
- package/dist/components/feedback/index.js +3 -3
- package/dist/components/feedback/sheet.d.ts +1 -1
- package/dist/components/layout/index.d.ts +6 -6
- package/dist/components/layout/index.js +3 -3
- package/dist/components/navigation/index.d.ts +4 -4
- package/dist/components/navigation/index.js +8 -4
- package/dist/components/navigation/pagination.js +7 -3
- package/dist/components/ui/index.d.ts +5 -5
- package/dist/components/ui/index.js +17 -16
- package/dist/{content.prop-D1Dd3TAc.d.ts → content.prop-DrV_zDy-.d.ts} +3 -1
- package/dist/{data-display.prop-Cvi2Mrfw.d.ts → data-display.prop-i0iaSwMV.d.ts} +1 -1
- package/dist/{data-entry.prop-CzBVxZ2F.d.ts → data-entry.prop-Cjidhei7.d.ts} +39 -16
- package/dist/{data-table-CnRksymA.d.ts → data-table-Bg7fPpXy.d.ts} +1 -1
- package/dist/{feedback.prop-BmxUlpAW.d.ts → feedback.prop-BnBpUzNK.d.ts} +1 -1
- package/dist/{filter-bar-DNDVhpCE.d.ts → filter-bar-BpUvE_yO.d.ts} +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.js +21 -20
- package/dist/{inline-Bu_syXvi.d.ts → inline-CV3A46np.d.ts} +1 -1
- package/dist/{layout.prop-D3rD3uZq.d.ts → layout.prop-MwHm4-Zl.d.ts} +2 -2
- package/dist/{navigation.prop-DxBiClEH.d.ts → navigation.prop-Hu7s7MJa.d.ts} +1 -1
- package/dist/props/components/index.d.ts +6 -6
- package/dist/props/index.d.ts +6 -6
- package/dist/props/index.js +1 -1
- package/dist/props/registry.d.ts +34 -1
- package/dist/props/registry.js +1 -1
- package/dist/props/vocabulary/index.d.ts +2 -2
- package/dist/{search-input-Br_LCi4p.d.ts → search-input-mAZy3Den.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-BEQDDDT7.js +0 -81
- package/dist/{chunk-I2V4Y2VF.js → chunk-IK7I3ABN.js} +1 -1
- package/dist/{chunk-PWFFEMYI.js → chunk-NTUHJ37K.js} +1 -1
- package/dist/{chunk-DOVA5SWV.js → chunk-OI7TDPEJ.js} +1 -1
- package/dist/{chunk-ZTYEH3UW.js → chunk-TT2L7JM6.js} +1 -1
- package/dist/{chunk-BBXDT2P2.js → chunk-V7RC4PBY.js} +1 -1
- package/dist/{chunk-ICQGSUTC.js → chunk-VRSHUKDF.js} +1 -1
- package/dist/{chunk-VV3M6PXD.js → chunk-X3OSXYAB.js} +1 -1
- package/dist/{chunk-GH7E5N6F.js → chunk-ZKIAZDVU.js} +1 -1
- package/dist/{chunk-YVBZ37ZE.js → chunk-ZR2TIBPG.js} +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Transfer } from '../../chunk-
|
|
1
|
+
export { Transfer } from '../../chunk-ZR2TIBPG.js';
|
|
2
2
|
import '../../chunk-SMLKNECP.js';
|
|
3
3
|
import '../../chunk-E76QIYSY.js';
|
|
4
4
|
import '../../chunk-CQBADMFG.js';
|
|
5
|
-
import '../../chunk-VOHTRR5X.js';
|
|
6
5
|
import '../../chunk-3KPEZ5CF.js';
|
|
6
|
+
import '../../chunk-VOHTRR5X.js';
|
|
7
7
|
import '../../chunk-HJEBRCXL.js';
|
|
8
8
|
import '../../chunk-7PWBC4BY.js';
|
|
9
9
|
import '../../chunk-RLGHEV4A.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
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';
|
|
@@ -7,6 +7,7 @@ import '@radix-ui/react-switch';
|
|
|
7
7
|
import 'react-day-picker';
|
|
8
8
|
import 'react';
|
|
9
9
|
import '../../shared.prop-BNRJc9K0.js';
|
|
10
|
+
import '../../content.prop-DrV_zDy-.js';
|
|
10
11
|
import '../../data.prop-BmLaGLb7.js';
|
|
11
12
|
import '../../interaction.prop-Cdn7wOtq.js';
|
|
12
13
|
import '../../layout.prop-4TCNvyQZ.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeSelect } from '../../chunk-
|
|
1
|
+
export { SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeSelect } from '../../chunk-V7RC4PBY.js';
|
|
2
2
|
import '../../chunk-SMLKNECP.js';
|
|
3
3
|
import '../../chunk-V6UWJKZF.js';
|
|
4
4
|
import '../../chunk-E76QIYSY.js';
|
|
5
5
|
import '../../chunk-CQBADMFG.js';
|
|
6
|
-
import '../../chunk-3KPEZ5CF.js';
|
|
7
6
|
import '../../chunk-DY5C44UP.js';
|
|
8
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-3KPEZ5CF.js';
|
|
9
8
|
import '../../chunk-ICM6XBST.js';
|
|
9
|
+
import '../../chunk-HJEBRCXL.js';
|
|
10
10
|
import '../../chunk-7PWBC4BY.js';
|
|
11
11
|
import '../../chunk-RLGHEV4A.js';
|
|
12
12
|
import '../../chunk-FXFJF4YA.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
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';
|
|
@@ -8,6 +8,7 @@ import '@radix-ui/react-switch';
|
|
|
8
8
|
import 'react-day-picker';
|
|
9
9
|
import 'react';
|
|
10
10
|
import '../../shared.prop-BNRJc9K0.js';
|
|
11
|
+
import '../../content.prop-DrV_zDy-.js';
|
|
11
12
|
import '../../data.prop-BmLaGLb7.js';
|
|
12
13
|
import '../../interaction.prop-Cdn7wOtq.js';
|
|
13
14
|
import '../../layout.prop-4TCNvyQZ.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-
|
|
1
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-NTUHJ37K.js';
|
|
2
2
|
import '../../chunk-CRERCLIZ.js';
|
|
3
|
+
import '../../chunk-ICM6XBST.js';
|
|
3
4
|
import '../../chunk-4R7QL3MW.js';
|
|
4
5
|
import '../../chunk-2HLWHQJA.js';
|
|
5
6
|
import '../../chunk-VOHTRR5X.js';
|
|
6
7
|
import '../../chunk-HJEBRCXL.js';
|
|
7
|
-
import '../../chunk-ICM6XBST.js';
|
|
8
8
|
import '../../chunk-7PWBC4BY.js';
|
|
9
9
|
import '../../chunk-RLGHEV4A.js';
|
|
10
10
|
import '../../chunk-FXFJF4YA.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { H as HandlerProp, a as ClassNameProp, C as ChildrenProp } from '../../shared.prop-BNRJc9K0.js';
|
|
3
|
-
import { I as IconProp } from '../../content.prop-
|
|
3
|
+
import { I as IconProp } from '../../content.prop-DrV_zDy-.js';
|
|
4
4
|
import { A as AlertVariantProp } from '../../interaction.prop-Cdn7wOtq.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { d as AlertQueryErrorProp } from '../../feedback.prop-
|
|
7
|
-
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, e as AlertTitleProp, e as AlertTitleProps } from '../../feedback.prop-
|
|
6
|
+
import { d as AlertQueryErrorProp } from '../../feedback.prop-BnBpUzNK.js';
|
|
7
|
+
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, e as AlertTitleProp, e as AlertTitleProps } from '../../feedback.prop-BnBpUzNK.js';
|
|
8
8
|
|
|
9
9
|
declare const AlertBase: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
10
10
|
variant?: AlertVariantProp;
|
|
@@ -2,9 +2,9 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
4
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
5
|
-
import { D as DialogConfirmProp } from '../../feedback.prop-
|
|
5
|
+
import { D as DialogConfirmProp } from '../../feedback.prop-BnBpUzNK.js';
|
|
6
6
|
import '../../shared.prop-BNRJc9K0.js';
|
|
7
|
-
import '../../content.prop-
|
|
7
|
+
import '../../content.prop-DrV_zDy-.js';
|
|
8
8
|
import '../../interaction.prop-Cdn7wOtq.js';
|
|
9
9
|
|
|
10
10
|
/** form = nhập liệu / wizard (role=dialog, có nút X). confirm = quyết định (role=alertdialog, không X). */
|
|
@@ -6,14 +6,14 @@ export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, A
|
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
9
|
-
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-
|
|
9
|
+
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';
|
|
10
10
|
import '@radix-ui/react-dialog';
|
|
11
11
|
import '@radix-ui/react-alert-dialog';
|
|
12
12
|
import 'class-variance-authority/types';
|
|
13
13
|
import 'class-variance-authority';
|
|
14
14
|
import 'sonner';
|
|
15
15
|
import '../../shared.prop-BNRJc9K0.js';
|
|
16
|
-
import '../../content.prop-
|
|
16
|
+
import '../../content.prop-DrV_zDy-.js';
|
|
17
17
|
import '../../interaction.prop-Cdn7wOtq.js';
|
|
18
18
|
|
|
19
19
|
/** Opt-in provider for tuning delay across a subtree. Each <Tooltip> already self-provides. */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../../chunk-BHV2FUOA.js';
|
|
2
2
|
export { SkeletonCard, SkeletonDetail, SkeletonRows, SkeletonTable, toast, useToast } from '../../chunk-M64MVRLS.js';
|
|
3
3
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../../chunk-32WO3YLB.js';
|
|
4
|
+
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
5
|
+
import '../../chunk-ICM6XBST.js';
|
|
4
6
|
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-6UFKWOEW.js';
|
|
5
7
|
import '../../chunk-4R7QL3MW.js';
|
|
8
|
+
import '../../chunk-S66TJXJU.js';
|
|
6
9
|
export { Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from '../../chunk-2HLWHQJA.js';
|
|
7
10
|
import '../../chunk-VOHTRR5X.js';
|
|
8
|
-
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
9
|
-
import '../../chunk-S66TJXJU.js';
|
|
10
11
|
import '../../chunk-HJEBRCXL.js';
|
|
11
|
-
import '../../chunk-ICM6XBST.js';
|
|
12
12
|
import '../../chunk-7PWBC4BY.js';
|
|
13
13
|
import '../../chunk-RLGHEV4A.js';
|
|
14
14
|
import '../../chunk-FXFJF4YA.js';
|
|
@@ -10,7 +10,7 @@ declare function SheetClose(props: React.ComponentProps<typeof DialogPrimitive.C
|
|
|
10
10
|
declare function SheetPortal(props: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
11
11
|
declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
declare const sheetVariants: (props?: ({
|
|
13
|
-
side?: "
|
|
13
|
+
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
15
|
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
16
16
|
showCloseButton?: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { I as Inline, P as PageContainer, S as Stack } from '../../inline-
|
|
1
|
+
export { I as Inline, P as PageContainer, S as Stack } from '../../inline-CV3A46np.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { b as PageInsetProp, A as AppShellProp, d as SidebarProp, S as SidebarItemProp, h as TopbarProp } from '../../layout.prop-
|
|
4
|
-
export { I as InlineProp, I as InlineProps, P as PageContainerProp, P as PageContainerProps, c as SidebarProduct, e as SidebarSection, f as StackProp, f as StackProps, T as TopbarProduct, g as TopbarProject } from '../../layout.prop-
|
|
3
|
+
import { b as PageInsetProp, A as AppShellProp, d as SidebarProp, S as SidebarItemProp, h as TopbarProp } from '../../layout.prop-MwHm4-Zl.js';
|
|
4
|
+
export { I as InlineProp, I as InlineProps, P as PageContainerProp, P as PageContainerProps, c as SidebarProduct, e as SidebarSection, f as StackProp, f as StackProps, T as TopbarProduct, g as TopbarProject } from '../../layout.prop-MwHm4-Zl.js';
|
|
5
5
|
import { ReactNode, ComponentType, SVGProps } from 'react';
|
|
6
|
-
import { a as BreadcrumbProp } from '../../navigation.prop-
|
|
7
|
-
export { B as BreadcrumbItem, B as BreadcrumbItemProp } from '../../navigation.prop-
|
|
6
|
+
import { a as BreadcrumbProp } from '../../navigation.prop-Hu7s7MJa.js';
|
|
7
|
+
export { B as BreadcrumbItem, B as BreadcrumbItemProp } from '../../navigation.prop-Hu7s7MJa.js';
|
|
8
8
|
import '../../shared.prop-BNRJc9K0.js';
|
|
9
|
-
import '../../content.prop-
|
|
9
|
+
import '../../content.prop-DrV_zDy-.js';
|
|
10
10
|
import '../../layout.prop-4TCNvyQZ.js';
|
|
11
11
|
|
|
12
12
|
declare function PageInset({ className, children, ...props }: PageInsetProp): react_jsx_runtime.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { AppShell, Breadcrumb, Menu, MobileFrame, PageContainer, PageInset, ResponsiveGrid, ShellApp, Sidebar, SplitPane, Stack, Topbar } from '../../chunk-
|
|
1
|
+
export { AppShell, Breadcrumb, Menu, MobileFrame, PageContainer, PageInset, ResponsiveGrid, ShellApp, Sidebar, SplitPane, Stack, Topbar } from '../../chunk-X3OSXYAB.js';
|
|
2
2
|
import '../../chunk-TO33OY4L.js';
|
|
3
3
|
import '../../chunk-32WO3YLB.js';
|
|
4
4
|
import '../../chunk-DV52WNXO.js';
|
|
5
|
-
import '../../chunk-DY5C44UP.js';
|
|
6
|
-
export { Inline } from '../../chunk-S66TJXJU.js';
|
|
7
5
|
import '../../chunk-PIIRNAXA.js';
|
|
6
|
+
import '../../chunk-DY5C44UP.js';
|
|
8
7
|
import '../../chunk-ICM6XBST.js';
|
|
8
|
+
export { Inline } from '../../chunk-S66TJXJU.js';
|
|
9
9
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -2,11 +2,11 @@ export { Tabs, TabsContent, TabsList, TabsTrigger } from './tabs.js';
|
|
|
2
2
|
export { TabsItems } from './tabs-items.js';
|
|
3
3
|
export { Pagination } from './pagination.js';
|
|
4
4
|
export { Steps } from './steps.js';
|
|
5
|
-
export { F as FilterBar, a as FilterGroup, P as PageHeader } from '../../filter-bar-
|
|
5
|
+
export { F as FilterBar, a as FilterGroup, P as PageHeader } from '../../filter-bar-BpUvE_yO.js';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
import { L as LocalePickerProp, b as TimezonePickerProp, T as TimeFormatPickerProp, D as DateFormatPickerProp } from '../../app.prop-IobwLwaM.js';
|
|
8
8
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './dropdown-menu.js';
|
|
9
|
-
export { B as BreadcrumbItem } from '../../navigation.prop-
|
|
9
|
+
export { B as BreadcrumbItem } from '../../navigation.prop-Hu7s7MJa.js';
|
|
10
10
|
import 'react';
|
|
11
11
|
import '@radix-ui/react-tabs';
|
|
12
12
|
import '../../navigation.prop-Ck5_gSfs.js';
|
|
@@ -14,8 +14,8 @@ import '../../shared.prop-BNRJc9K0.js';
|
|
|
14
14
|
import '../../data.prop-BmLaGLb7.js';
|
|
15
15
|
import '../../interaction.prop-Cdn7wOtq.js';
|
|
16
16
|
import '../../layout.prop-4TCNvyQZ.js';
|
|
17
|
-
import '../../layout.prop-
|
|
18
|
-
import '../../content.prop-
|
|
17
|
+
import '../../layout.prop-MwHm4-Zl.js';
|
|
18
|
+
import '../../content.prop-DrV_zDy-.js';
|
|
19
19
|
import 'date-fns';
|
|
20
20
|
import 'react-day-picker';
|
|
21
21
|
import '../../types-mvzYGrma.js';
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
export { DateFormatPicker, FilterBar, FilterGroup, LocalePicker, PageHeader, TimeFormatPicker, TimezonePicker } from '../../chunk-
|
|
2
|
-
export { Pagination } from '../../chunk-
|
|
1
|
+
export { DateFormatPicker, FilterBar, FilterGroup, LocalePicker, PageHeader, TimeFormatPicker, TimezonePicker } from '../../chunk-PFOBVLF3.js';
|
|
2
|
+
export { Pagination } from '../../chunk-FBHN6OO4.js';
|
|
3
3
|
export { Steps } from '../../chunk-L6J44O74.js';
|
|
4
4
|
export { TabsItems } from '../../chunk-BPSKQUL2.js';
|
|
5
5
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-XG7XDYIM.js';
|
|
6
6
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-TO33OY4L.js';
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-ARDVPIF4.js';
|
|
8
|
+
import '../../chunk-OXKY5QMK.js';
|
|
9
|
+
import '../../chunk-V6UWJKZF.js';
|
|
10
|
+
import '../../chunk-DY5C44UP.js';
|
|
9
11
|
import '../../chunk-ICM6XBST.js';
|
|
12
|
+
import '../../chunk-VOHTRR5X.js';
|
|
13
|
+
import '../../chunk-HJEBRCXL.js';
|
|
10
14
|
import '../../chunk-RLGHEV4A.js';
|
|
11
15
|
import '../../chunk-FXFJF4YA.js';
|
|
12
16
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export { Pagination } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
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';
|
|
4
6
|
import '../../chunk-ICM6XBST.js';
|
|
7
|
+
import '../../chunk-VOHTRR5X.js';
|
|
8
|
+
import '../../chunk-HJEBRCXL.js';
|
|
5
9
|
import '../../chunk-RLGHEV4A.js';
|
|
6
10
|
import '../../chunk-FXFJF4YA.js';
|
|
7
11
|
import '../../chunk-U7N2A7A3.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-
|
|
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';
|
|
@@ -28,14 +28,14 @@ export { TabsItems } from '../navigation/tabs-items.js';
|
|
|
28
28
|
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
|
-
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-
|
|
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,
|
|
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, 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';
|
|
36
36
|
import '../../shared.prop-BNRJc9K0.js';
|
|
37
37
|
import 'react';
|
|
38
|
-
import '../../content.prop-
|
|
38
|
+
import '../../content.prop-DrV_zDy-.js';
|
|
39
39
|
import '../../interaction.prop-Cdn7wOtq.js';
|
|
40
40
|
import '@radix-ui/react-dialog';
|
|
41
41
|
import '@radix-ui/react-alert-dialog';
|
|
@@ -1,36 +1,37 @@
|
|
|
1
1
|
export { Switch } from '../../chunk-WXW43RK5.js';
|
|
2
2
|
export { Textarea } from '../../chunk-ZLK5SPT6.js';
|
|
3
|
-
export { TimePicker } from '../../chunk-
|
|
4
|
-
export { DatePicker } from '../../chunk-
|
|
5
|
-
export { DateRangePicker } from '../../chunk-
|
|
3
|
+
export { TimePicker } from '../../chunk-ZKIAZDVU.js';
|
|
4
|
+
export { DatePicker } from '../../chunk-EXBWDW5E.js';
|
|
5
|
+
export { DateRangePicker } from '../../chunk-25ZZ2W3M.js';
|
|
6
6
|
export { Radio, RadioGroupOptions as RadioGroup, RadioGroupRoot, RadioItem } from '../../chunk-3UGU5TYP.js';
|
|
7
|
-
export { Autocomplete } from '../../chunk-BEQDDDT7.js';
|
|
8
|
-
export { Calendar } from '../../chunk-I2V4Y2VF.js';
|
|
9
|
-
export { ColorPicker } from '../../chunk-ZTYEH3UW.js';
|
|
10
7
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../../chunk-BHV2FUOA.js';
|
|
8
|
+
export { Autocomplete } from '../../chunk-Y3XBNUTD.js';
|
|
9
|
+
export { Calendar } from '../../chunk-IK7I3ABN.js';
|
|
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 { Pagination } from '../../chunk-
|
|
12
|
+
export { Pagination } from '../../chunk-FBHN6OO4.js';
|
|
13
13
|
export { TabsItems } from '../../chunk-BPSKQUL2.js';
|
|
14
14
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-XG7XDYIM.js';
|
|
15
15
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-TO33OY4L.js';
|
|
16
|
-
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-
|
|
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-
|
|
18
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-ARDVPIF4.js';
|
|
19
|
+
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
20
|
+
import '../../chunk-OXKY5QMK.js';
|
|
19
21
|
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '../../chunk-V6UWJKZF.js';
|
|
20
22
|
export { Checkbox } from '../../chunk-E76QIYSY.js';
|
|
21
23
|
import '../../chunk-CQBADMFG.js';
|
|
24
|
+
export { Badge } from '../../chunk-PIIRNAXA.js';
|
|
25
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from '../../chunk-DY5C44UP.js';
|
|
26
|
+
export { ScrollArea, ScrollBar } from '../../chunk-3KPEZ5CF.js';
|
|
27
|
+
export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '../../chunk-ZS6DTAM2.js';
|
|
28
|
+
import '../../chunk-ICM6XBST.js';
|
|
22
29
|
export { Alert, AlertActions, AlertBase, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-6UFKWOEW.js';
|
|
23
30
|
import '../../chunk-4R7QL3MW.js';
|
|
31
|
+
import '../../chunk-S66TJXJU.js';
|
|
24
32
|
export { Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../../chunk-2HLWHQJA.js';
|
|
25
33
|
export { Input } from '../../chunk-VOHTRR5X.js';
|
|
26
|
-
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
27
|
-
export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '../../chunk-ZS6DTAM2.js';
|
|
28
|
-
export { ScrollArea, ScrollBar } from '../../chunk-3KPEZ5CF.js';
|
|
29
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from '../../chunk-DY5C44UP.js';
|
|
30
|
-
import '../../chunk-S66TJXJU.js';
|
|
31
34
|
export { Button, buttonVariants } from '../../chunk-HJEBRCXL.js';
|
|
32
|
-
export { Badge } from '../../chunk-PIIRNAXA.js';
|
|
33
|
-
import '../../chunk-ICM6XBST.js';
|
|
34
35
|
export { Label } from '../../chunk-7PWBC4BY.js';
|
|
35
36
|
import '../../chunk-RLGHEV4A.js';
|
|
36
37
|
import '../../chunk-FXFJF4YA.js';
|
|
@@ -27,5 +27,7 @@ type ConfirmLabelProp = React.ReactNode;
|
|
|
27
27
|
type CancelLabelProp = React.ReactNode;
|
|
28
28
|
/** Toolbar actions slot in tables and filter rows. */
|
|
29
29
|
type ActionsProp = React.ReactNode;
|
|
30
|
+
/** "No results / no data" message in lists, selects, and empty states. */
|
|
31
|
+
type EmptyMessageProp = string;
|
|
30
32
|
|
|
31
|
-
export type { ActionProp as A, CancelLabelProp as C, DescriptionProp as D,
|
|
33
|
+
export type { ActionProp as A, CancelLabelProp as C, DescriptionProp as D, EmptyMessageProp as E, FooterProp as F, IconProp as I, SubtitleProp as S, TitleProp as T, ActionsProp as a, ConfirmLabelProp as b, ExtraProp as c };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { a as ClassNameProp, C as ChildrenProp } from './shared.prop-BNRJc9K0.js';
|
|
3
|
-
import { I as IconProp, T as TitleProp, D as DescriptionProp, A as ActionProp } from './content.prop-
|
|
3
|
+
import { I as IconProp, T as TitleProp, D as DescriptionProp, A as ActionProp } from './content.prop-DrV_zDy-.js';
|
|
4
4
|
import { T as TableDensityProp } from './layout.prop-4TCNvyQZ.js';
|
|
5
5
|
import { c as SortStateProp, d as StatusToneProp } from './interaction.prop-Cdn7wOtq.js';
|
|
6
6
|
import { C as ColumnDefProp, G as GetRowIdProp, S as SelectedIdsProp, c as OnSelectChangeProp, a as OnRowClickProp, e as OnTableDensityChangeProp, d as OnSortChangeProp } from './data.prop-BmLaGLb7.js';
|
|
@@ -4,7 +4,8 @@ import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
|
4
4
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
5
5
|
import { DayPickerProps, DateRange } from 'react-day-picker';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { f as PlaceholderProp, D as DisabledProp, a as ClassNameProp, I as IdProp, L as LabelProp, R as RequiredProp, b as HelperProp, E as ErrorProp, V as ValueProp, O as OnChangeProp } from './shared.prop-BNRJc9K0.js';
|
|
7
|
+
import { f as PlaceholderProp, D as DisabledProp, a as ClassNameProp, I as IdProp, L as LabelProp, R as RequiredProp, b as HelperProp, E as ErrorProp, V as ValueProp, N as NameProp, O as OnChangeProp } from './shared.prop-BNRJc9K0.js';
|
|
8
|
+
import { E as EmptyMessageProp } from './content.prop-DrV_zDy-.js';
|
|
8
9
|
import { b as OnSearchChangeProp } from './data.prop-BmLaGLb7.js';
|
|
9
10
|
|
|
10
11
|
/** Upload item — maps to media-service after `onUpload` resolves `mediaId`. */
|
|
@@ -92,7 +93,7 @@ type CheckboxGroupProp = {
|
|
|
92
93
|
options?: ChoiceOptionProp[];
|
|
93
94
|
orientation?: "horizontal" | "vertical";
|
|
94
95
|
disabled?: DisabledProp;
|
|
95
|
-
name?:
|
|
96
|
+
name?: NameProp;
|
|
96
97
|
className?: ClassNameProp;
|
|
97
98
|
children?: React.ReactNode;
|
|
98
99
|
};
|
|
@@ -104,7 +105,7 @@ type RadioGroupProp = {
|
|
|
104
105
|
options?: ChoiceOptionProp[];
|
|
105
106
|
orientation?: "horizontal" | "vertical";
|
|
106
107
|
disabled?: DisabledProp;
|
|
107
|
-
name?:
|
|
108
|
+
name?: NameProp;
|
|
108
109
|
className?: ClassNameProp;
|
|
109
110
|
children?: React.ReactNode;
|
|
110
111
|
};
|
|
@@ -118,7 +119,7 @@ type SwitchProp = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> &
|
|
|
118
119
|
type SwitchFieldProp = {
|
|
119
120
|
id: IdProp;
|
|
120
121
|
label: LabelProp;
|
|
121
|
-
name:
|
|
122
|
+
name: NameProp;
|
|
122
123
|
required?: RequiredProp;
|
|
123
124
|
helper?: HelperProp;
|
|
124
125
|
error?: ErrorProp;
|
|
@@ -149,7 +150,7 @@ type CountryOptionLabelProp = {
|
|
|
149
150
|
/** @see CountrySelect — country picker built on Select. */
|
|
150
151
|
type CountrySelectProp = {
|
|
151
152
|
id: IdProp;
|
|
152
|
-
name:
|
|
153
|
+
name: NameProp;
|
|
153
154
|
options: CountryOptionProp[];
|
|
154
155
|
defaultValue?: string | null;
|
|
155
156
|
required?: RequiredProp;
|
|
@@ -171,7 +172,7 @@ type DatePickerProp = {
|
|
|
171
172
|
className?: ClassNameProp;
|
|
172
173
|
id?: IdProp;
|
|
173
174
|
/** Form field name — emits the value as an ISO-8601 `yyyy-MM-dd` string for native submission. */
|
|
174
|
-
name?:
|
|
175
|
+
name?: NameProp;
|
|
175
176
|
locale?: DayPickerProps["locale"];
|
|
176
177
|
fromDate?: Date;
|
|
177
178
|
toDate?: Date;
|
|
@@ -185,7 +186,7 @@ type DateRangePickerProp = {
|
|
|
185
186
|
className?: ClassNameProp;
|
|
186
187
|
id?: IdProp;
|
|
187
188
|
/** Form field name — emits the range as `${name}_from` / `${name}_to` ISO `yyyy-MM-dd` fields. */
|
|
188
|
-
name?:
|
|
189
|
+
name?: NameProp;
|
|
189
190
|
locale?: DayPickerProps["locale"];
|
|
190
191
|
fromDate?: Date;
|
|
191
192
|
toDate?: Date;
|
|
@@ -200,7 +201,7 @@ type TimePickerProp = {
|
|
|
200
201
|
className?: ClassNameProp;
|
|
201
202
|
id?: IdProp;
|
|
202
203
|
/** Form field name — emits the value as a canonical 24h `HH:mm` string for native submission. */
|
|
203
|
-
name?:
|
|
204
|
+
name?: NameProp;
|
|
204
205
|
/** Minute column step — default 5 (logistics cut-offs). */
|
|
205
206
|
minuteStep?: number;
|
|
206
207
|
};
|
|
@@ -218,14 +219,18 @@ type AutocompleteOptionProp = {
|
|
|
218
219
|
value: string;
|
|
219
220
|
label: string;
|
|
220
221
|
};
|
|
221
|
-
/**
|
|
222
|
+
/**
|
|
223
|
+
* @see Autocomplete — searchable combobox over a static list.
|
|
224
|
+
* @deprecated Use `SearchSelect` with a static `options` array — it is a superset (grouping,
|
|
225
|
+
* sublabels, async, custom render). `Autocomplete` is kept as a thin compatibility wrapper.
|
|
226
|
+
*/
|
|
222
227
|
type AutocompleteProp = {
|
|
223
228
|
options: AutocompleteOptionProp[];
|
|
224
229
|
value?: ValueProp;
|
|
225
230
|
onValueChange?: (value: string) => void;
|
|
226
231
|
placeholder?: PlaceholderProp;
|
|
227
232
|
searchPlaceholder?: PlaceholderProp;
|
|
228
|
-
emptyMessage?:
|
|
233
|
+
emptyMessage?: EmptyMessageProp;
|
|
229
234
|
disabled?: DisabledProp;
|
|
230
235
|
className?: ClassNameProp;
|
|
231
236
|
id?: IdProp;
|
|
@@ -249,28 +254,46 @@ type SearchSelectLoadResultProp = {
|
|
|
249
254
|
/** True if another page is available (drives infinite scroll). */
|
|
250
255
|
hasMore?: boolean;
|
|
251
256
|
};
|
|
252
|
-
/**
|
|
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
|
+
*/
|
|
253
262
|
type SearchSelectProp = {
|
|
254
263
|
value?: ValueProp;
|
|
255
264
|
onChange?: (value: string, option?: SearchSelectOptionProp) => void;
|
|
256
|
-
/**
|
|
257
|
-
|
|
265
|
+
/** Static option list (client-side filtered). Provide this OR `loadOptions`, not both. */
|
|
266
|
+
options?: SearchSelectOptionProp[];
|
|
267
|
+
/** Remote fetcher — debounced search + infinite-scroll pagination call into this. Provide this
|
|
268
|
+
* OR `options`. */
|
|
269
|
+
loadOptions?: (params: SearchSelectLoadParamsProp) => Promise<SearchSelectLoadResultProp>;
|
|
270
|
+
/** Custom per-option renderer (Ant-Design style). Defaults to label + optional sublabel. */
|
|
271
|
+
renderOption?: (option: SearchSelectOptionProp) => React.ReactNode;
|
|
258
272
|
/** Label for the current value when its option isn't in the loaded page (avoids a flash of id). */
|
|
259
273
|
selectedLabel?: string;
|
|
260
274
|
placeholder?: PlaceholderProp;
|
|
261
275
|
searchPlaceholder?: PlaceholderProp;
|
|
262
|
-
emptyMessage?:
|
|
276
|
+
emptyMessage?: EmptyMessageProp;
|
|
263
277
|
loadingMessage?: string;
|
|
264
278
|
clearLabel?: string;
|
|
265
279
|
/** Show a "clear" row when a value is selected (default true). */
|
|
266
280
|
clearable?: boolean;
|
|
267
281
|
disabled?: DisabledProp;
|
|
268
282
|
/** Form field name — submits the selected value via a hidden input. */
|
|
269
|
-
name?:
|
|
283
|
+
name?: NameProp;
|
|
270
284
|
id?: IdProp;
|
|
271
285
|
className?: ClassNameProp;
|
|
272
286
|
"data-testid"?: string;
|
|
273
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
|
+
};
|
|
274
297
|
/** @see UploadFileItem */
|
|
275
298
|
type UploadFileItemProp = UploadFileItem;
|
|
276
299
|
/** @see Upload */
|
|
@@ -367,4 +390,4 @@ type TransferProp = {
|
|
|
367
390
|
onSelectChange?: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
|
|
368
391
|
};
|
|
369
392
|
|
|
370
|
-
export { type AutocompleteOptionProp as A, type
|
|
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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmptyStateProp } from './data-display.prop-
|
|
2
|
+
import { E as EmptyStateProp } from './data-display.prop-i0iaSwMV.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { LucideIcon } from 'lucide-react';
|
|
5
5
|
import { T as TableDensityProp } from './layout.prop-4TCNvyQZ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { H as HandlerProp, a as ClassNameProp, e as OpenProp, d as OnOpenChangeProp, P as PendingProp, C as ChildrenProp } from './shared.prop-BNRJc9K0.js';
|
|
3
|
-
import { T as TitleProp, D as DescriptionProp, b as ConfirmLabelProp, C as CancelLabelProp, I as IconProp } from './content.prop-
|
|
3
|
+
import { T as TitleProp, D as DescriptionProp, b as ConfirmLabelProp, C as CancelLabelProp, I as IconProp } from './content.prop-DrV_zDy-.js';
|
|
4
4
|
import { b as ConfirmVariantProp, A as AlertVariantProp } from './interaction.prop-Cdn7wOtq.js';
|
|
5
5
|
|
|
6
6
|
/** Feedback component prop types — @see docs/COMPONENTS.md#feedback */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { a as PageHeaderProp } from './layout.prop-
|
|
2
|
+
import { a as PageHeaderProp } from './layout.prop-MwHm4-Zl.js';
|
|
3
3
|
import { F as FilterBarProp, a as FilterGroupProp } from './navigation.prop-Ck5_gSfs.js';
|
|
4
4
|
|
|
5
5
|
declare function PageHeader({ title, description, breadcrumb, actions, className }: PageHeaderProp): react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { B as BreadcrumbItem } from './navigation.prop-
|
|
2
|
-
export { I as InlineProp, P as PageContainerProp, P as PageContainerProps, a as PageHeaderProp, f as StackProp } from './layout.prop-
|
|
3
|
-
export { F as FilterBar, a as FilterGroup, P as PageHeader } from './filter-bar-
|
|
4
|
-
export { I as Inline, P as PageContainer, S as Stack } from './inline-
|
|
5
|
-
export { C as ColumnDef, D as DataTable, a as Density, E as EmptyState, K as KeyValueGrid, S as StatusBadge } from './data-table-
|
|
6
|
-
export { F as FormField, S as SearchInput } from './search-input-
|
|
1
|
+
export { B as BreadcrumbItem } from './navigation.prop-Hu7s7MJa.js';
|
|
2
|
+
export { I as InlineProp, P as PageContainerProp, P as PageContainerProps, a as PageHeaderProp, f as StackProp } from './layout.prop-MwHm4-Zl.js';
|
|
3
|
+
export { F as FilterBar, a as FilterGroup, P as PageHeader } from './filter-bar-BpUvE_yO.js';
|
|
4
|
+
export { I as Inline, P as PageContainer, S as Stack } from './inline-CV3A46np.js';
|
|
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-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,24 +21,24 @@ 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 {
|
|
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';
|
|
28
|
-
import './content.prop-
|
|
28
|
+
import './content.prop-DrV_zDy-.js';
|
|
29
29
|
import './layout.prop-4TCNvyQZ.js';
|
|
30
30
|
import 'react/jsx-runtime';
|
|
31
31
|
import './navigation.prop-Ck5_gSfs.js';
|
|
32
32
|
import './data.prop-BmLaGLb7.js';
|
|
33
33
|
import './interaction.prop-Cdn7wOtq.js';
|
|
34
|
-
import './data-display.prop-
|
|
34
|
+
import './data-display.prop-i0iaSwMV.js';
|
|
35
35
|
import 'lucide-react';
|
|
36
36
|
import 'sonner';
|
|
37
37
|
import './query.prop-hIPrk2zI.js';
|
|
38
38
|
import '@tanstack/react-query';
|
|
39
39
|
import 'react-router-dom';
|
|
40
40
|
import './general.prop-D7brMPNL.js';
|
|
41
|
-
import './feedback.prop-
|
|
41
|
+
import './feedback.prop-BnBpUzNK.js';
|
|
42
42
|
import '@radix-ui/react-tabs';
|
|
43
43
|
import '@radix-ui/react-dialog';
|
|
44
44
|
import '@radix-ui/react-alert-dialog';
|