@godxjp/ui 6.12.0 → 8.0.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/README.md +5 -0
- package/dist/app/index.d.ts +2 -2
- package/dist/{app.prop-IobwLwaM.d.ts → app.prop-DnIXFzLi.d.ts} +9 -9
- package/dist/aspect-ratio-DGoYrOry.d.ts +6 -0
- package/dist/avatar-D9MdXzfF.d.ts +8 -0
- package/dist/{checkbox-9w-eF8sM.d.ts → checkbox-ChRsR7Nk.d.ts} +2 -2
- package/dist/{chunk-3UGU5TYP.js → chunk-25RYBC5T.js} +2 -2
- package/dist/{chunk-CQBADMFG.js → chunk-26CPAKUP.js} +3 -2
- package/dist/{chunk-ZTYEH3UW.js → chunk-3TS3G4U3.js} +3 -3
- package/dist/{chunk-ZS6DTAM2.js → chunk-4MMIMZMK.js} +1 -1
- package/dist/{chunk-T2S3IGZG.js → chunk-4R7RQDXI.js} +23 -21
- package/dist/{chunk-Y7AV7QJO.js → chunk-6QXQQAOQ.js} +5 -5
- package/dist/{chunk-JJCGMCTL.js → chunk-A22MCA3X.js} +6 -6
- package/dist/{chunk-TW4IRRAX.js → chunk-A7PKMT7Y.js} +8 -49
- package/dist/chunk-AINW5WYN.js +57 -0
- package/dist/chunk-B3WX53JQ.js +40 -0
- package/dist/{chunk-BM5LIDCS.js → chunk-C5H655GK.js} +223 -67
- package/dist/{chunk-ZLK5SPT6.js → chunk-EOTOCNT7.js} +1 -1
- package/dist/chunk-FRU44GA2.js +18 -0
- package/dist/chunk-FYM3MJSK.js +59 -0
- package/dist/{chunk-EE3B3TEQ.js → chunk-G2WYOCDL.js} +5 -5
- package/dist/chunk-HKD6ERY7.js +1 -0
- package/dist/{chunk-V6UWJKZF.js → chunk-HTEL5DQI.js} +1 -1
- package/dist/{chunk-ICM6XBST.js → chunk-IBK5D2Q6.js} +2 -1
- package/dist/{chunk-IK7I3ABN.js → chunk-IOGU3ZWF.js} +2 -2
- package/dist/{chunk-HJEBRCXL.js → chunk-M4PZNAMV.js} +1 -0
- package/dist/{chunk-2QG3OVAD.js → chunk-N43OKOFT.js} +7 -5
- package/dist/{chunk-YVBZ37ZE.js → chunk-NG23LVTM.js} +5 -5
- package/dist/{chunk-E76QIYSY.js → chunk-O24Z3ULJ.js} +4 -4
- package/dist/{chunk-GXHZAJUA.js → chunk-O2OUNXV4.js} +10 -10
- package/dist/{chunk-L6J44O74.js → chunk-OJZ6C2HM.js} +2 -2
- package/dist/{chunk-2HLWHQJA.js → chunk-P4HFJQID.js} +5 -4
- package/dist/chunk-R2W2FX5Q.js +48 -0
- package/dist/{chunk-AZS7553U.js → chunk-RGIYKJPW.js} +6 -6
- package/dist/{chunk-GH7E5N6F.js → chunk-RGPF3HU6.js} +3 -3
- package/dist/chunk-SEG2YBXF.js +29 -0
- package/dist/{chunk-JBEIL3VD.js → chunk-SKIRU7GC.js} +2 -2
- package/dist/chunk-TILFZBTE.js +50 -0
- package/dist/{chunk-6UFKWOEW.js → chunk-TMDGV4CN.js} +15 -11
- package/dist/chunk-UIYEAUWA.js +78 -0
- package/dist/{chunk-XG7XDYIM.js → chunk-V3N266PT.js} +48 -2
- package/dist/{chunk-I3272Y2C.js → chunk-WN52SCGE.js} +4 -4
- package/dist/{chunk-T4UT3B3K.js → chunk-WTVLZVBA.js} +153 -188
- package/dist/{chunk-SWGQX3AP.js → chunk-XDUZ7JJL.js} +2 -2
- package/dist/chunk-XMBCNMJI.js +61 -0
- package/dist/{chunk-RVY4F7LK.js → chunk-XZM2GNAY.js} +7 -7
- package/dist/{chunk-K27I23OA.js → chunk-Z6HNY2PL.js} +9 -9
- package/dist/components/admin/index.d.ts +24 -22
- package/dist/components/admin/index.js +33 -32
- package/dist/components/data-display/badge.d.ts +15 -4
- package/dist/components/data-display/badge.js +4 -2
- package/dist/components/data-display/card.d.ts +3 -3
- package/dist/components/data-display/card.js +1 -1
- package/dist/components/data-display/index.d.ts +14 -26
- package/dist/components/data-display/index.js +28 -37
- package/dist/components/data-display/table.js +2 -2
- package/dist/components/data-entry/autocomplete.d.ts +5 -5
- package/dist/components/data-entry/autocomplete.js +5 -5
- package/dist/components/data-entry/calendar.d.ts +5 -5
- package/dist/components/data-entry/calendar.js +3 -3
- package/dist/components/data-entry/cascader.d.ts +6 -6
- package/dist/components/data-entry/cascader.js +7 -7
- package/dist/components/data-entry/checkbox.d.ts +6 -6
- package/dist/components/data-entry/checkbox.js +2 -2
- package/dist/components/data-entry/color-picker.d.ts +6 -6
- package/dist/components/data-entry/color-picker.js +2 -2
- package/dist/components/data-entry/command.d.ts +11 -11
- package/dist/components/data-entry/command.js +2 -2
- package/dist/components/data-entry/date-picker.d.ts +6 -6
- package/dist/components/data-entry/date-picker.js +4 -4
- package/dist/components/data-entry/date-range-picker.d.ts +6 -6
- package/dist/components/data-entry/date-range-picker.js +4 -4
- package/dist/components/data-entry/index.d.ts +13 -19
- package/dist/components/data-entry/index.js +27 -145
- package/dist/components/data-entry/radio.d.ts +5 -5
- package/dist/components/data-entry/radio.js +2 -2
- package/dist/components/data-entry/select.d.ts +5 -5
- package/dist/components/data-entry/select.js +5 -5
- package/dist/components/data-entry/slider.d.ts +5 -5
- package/dist/components/data-entry/switch.d.ts +5 -5
- package/dist/components/data-entry/switch.js +1 -1
- package/dist/components/data-entry/textarea.js +2 -2
- package/dist/components/data-entry/time-picker.d.ts +6 -6
- package/dist/components/data-entry/time-picker.js +2 -2
- package/dist/components/data-entry/transfer.d.ts +7 -7
- package/dist/components/data-entry/transfer.js +5 -5
- package/dist/components/data-entry/tree-select.d.ts +6 -6
- package/dist/components/data-entry/tree-select.js +7 -7
- package/dist/components/data-entry/upload.d.ts +7 -7
- package/dist/components/data-entry/upload.js +5 -5
- package/dist/components/feedback/alert.d.ts +7 -5
- package/dist/components/feedback/alert.js +3 -3
- package/dist/components/feedback/dialog.d.ts +9 -6
- package/dist/components/feedback/dialog.js +2 -2
- package/dist/components/feedback/index.d.ts +7 -6
- package/dist/components/feedback/index.js +9 -7
- package/dist/components/general/button.d.ts +4 -4
- package/dist/components/general/button.js +1 -1
- package/dist/components/general/index.d.ts +3 -3
- package/dist/components/general/index.js +1 -1
- package/dist/components/layout/index.d.ts +19 -45
- package/dist/components/layout/index.js +4 -5
- package/dist/components/navigation/index.d.ts +13 -14
- package/dist/components/navigation/index.js +9 -10
- package/dist/components/navigation/pagination.d.ts +5 -5
- package/dist/components/navigation/pagination.js +6 -6
- package/dist/components/navigation/steps.d.ts +6 -6
- package/dist/components/navigation/steps.js +2 -2
- package/dist/components/navigation/tabs.d.ts +14 -2
- package/dist/components/navigation/tabs.js +1 -1
- package/dist/components/query/index.d.ts +12 -7
- package/dist/components/query/index.js +4 -4
- package/dist/components/ui/index.d.ts +21 -14
- package/dist/components/ui/index.js +32 -29
- package/dist/{data-display.prop-i0iaSwMV.d.ts → data-display.prop-Cf2p9QC4.d.ts} +18 -17
- package/dist/{data-entry.prop-Cjidhei7.d.ts → data-entry.prop-CDkOajPj.d.ts} +34 -40
- package/dist/{data-table-Bg7fPpXy.d.ts → data-table-B_q7j992.d.ts} +10 -33
- package/dist/{data.prop-BmLaGLb7.d.ts → data.prop-DMYMNl6L.d.ts} +2 -2
- package/dist/{feedback.prop-BnBpUzNK.d.ts → feedback.prop-BR5JOpPl.d.ts} +8 -5
- package/dist/filter-bar-DvVXm_d1.d.ts +14 -0
- package/dist/form/index.d.ts +3 -3
- package/dist/{form.prop-BHgpuFFm.d.ts → form.prop-Bc6r6JJW.d.ts} +1 -1
- package/dist/{general.prop-D7brMPNL.d.ts → general.prop-DoHDCRmL.d.ts} +2 -2
- package/dist/index.d.ts +27 -25
- package/dist/index.js +46 -32
- package/dist/inline-DqfYlGKj.d.ts +18 -0
- package/dist/{interaction.prop-Cdn7wOtq.d.ts → interaction.prop-DSFizzP6.d.ts} +8 -6
- package/dist/{layout.prop-MwHm4-Zl.d.ts → layout.prop-Baq9muDN.d.ts} +27 -13
- package/dist/layout.prop-CXvl2rVR.d.ts +16 -0
- package/dist/{navigation.prop-Ck5_gSfs.d.ts → navigation.prop-8DgElO0c.d.ts} +17 -14
- package/dist/{navigation.prop-Hu7s7MJa.d.ts → navigation.prop-BKlxd-j7.d.ts} +2 -5
- package/dist/props/components/index.d.ts +14 -14
- package/dist/props/index.d.ts +14 -14
- package/dist/props/index.js +2 -2
- package/dist/props/registry.d.ts +254 -64
- package/dist/props/registry.js +1 -1
- package/dist/props/vocabulary/index.d.ts +5 -5
- package/dist/{query.prop-hIPrk2zI.d.ts → query.prop-DuODxsiU.d.ts} +12 -8
- package/dist/{search-input-mAZy3Den.d.ts → search-input-cezAxpgb.d.ts} +7 -2
- package/dist/{shared.prop-BNRJc9K0.d.ts → shared.prop-BsNSXeqD.d.ts} +9 -3
- package/dist/skeleton-uWAjSacg.d.ts +22 -0
- package/dist/styles/alert-layout.css +38 -18
- package/dist/styles/badge-layout.css +4 -4
- package/dist/styles/card-layout.css +24 -24
- package/dist/styles/control.css +68 -0
- package/dist/styles/data-display-layout.css +23 -81
- package/dist/styles/density.css +10 -10
- package/dist/styles/dialog-layout.css +4 -4
- package/dist/styles/index.css +6 -9
- package/dist/styles/layout.css +114 -85
- package/dist/styles/table-layout.css +3 -3
- package/dist/theme/example.service.css +0 -5
- package/dist/toggle-group-BulJgKh3.d.ts +26 -0
- package/dist/tokens/base.css +7 -7
- package/dist/tokens/components/badge.css +7 -0
- package/dist/tokens/{primitives → components}/card.css +11 -12
- package/dist/tokens/{primitives → components}/control.css +10 -0
- package/dist/tokens/components/feedback.css +17 -0
- package/dist/tokens/{primitives → components}/table.css +2 -2
- package/dist/tokens/foundation.css +7 -22
- package/dist/use-toast-Dsw3yE2S.d.ts +19 -0
- package/package.json +13 -7
- package/scripts/ui-audit.mjs +22 -0
- package/dist/chunk-BPSKQUL2.js +0 -68
- package/dist/chunk-M64MVRLS.js +0 -92
- package/dist/chunk-PIIRNAXA.js +0 -26
- package/dist/chunk-S66TJXJU.js +0 -33
- package/dist/chunk-WXW43RK5.js +0 -24
- package/dist/components/navigation/tabs-items.d.ts +0 -12
- package/dist/components/navigation/tabs-items.js +0 -3
- package/dist/filter-bar-BpUvE_yO.d.ts +0 -10
- package/dist/inline-CV3A46np.d.ts +0 -10
- package/dist/layout.prop-4TCNvyQZ.d.ts +0 -20
- package/dist/tokens/primitives/badge.css +0 -13
- package/dist/tokens/primitives/feedback.css +0 -17
- package/dist/use-toast-Dol5bdY3.d.ts +0 -34
- /package/dist/{chunk-LDSLS6HE.js → chunk-2H65B4JA.js} +0 -0
- /package/dist/tokens/{primitives → components}/navigation.css +0 -0
- /package/dist/tokens/{primitives → semantic}/layout.css +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { D as DataStateProp,
|
|
2
|
+
import { D as DataStateProp, A as AlertMutationFeedbackProp, B as ButtonRefetchProp, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../../query.prop-DuODxsiU.js';
|
|
3
|
+
export { M as MutationFeedbackProp, M as MutationFeedbackProps, Q as QueryRefetchButtonProp, Q as QueryRefetchButtonProps } from '../../query.prop-DuODxsiU.js';
|
|
3
4
|
import 'react';
|
|
4
5
|
import '@tanstack/react-query';
|
|
5
6
|
import 'react-router-dom';
|
|
6
|
-
import '../../general.prop-
|
|
7
|
-
import '../../shared.prop-
|
|
8
|
-
import '../../interaction.prop-
|
|
7
|
+
import '../../general.prop-DoHDCRmL.js';
|
|
8
|
+
import '../../shared.prop-BsNSXeqD.js';
|
|
9
|
+
import '../../interaction.prop-DSFizzP6.js';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Query lifecycle widget — orchestrates skeleton / error / empty / success for one `useQuery` block.
|
|
@@ -17,10 +18,14 @@ declare function DataState<T>({ query, skeleton, empty, isEmpty, errorRenderer,
|
|
|
17
18
|
* Inline mutation error — renders nothing when idle/success.
|
|
18
19
|
* Prefer toast for transient saves; use this for blocking form sections (SimulatorPage).
|
|
19
20
|
*/
|
|
20
|
-
declare function
|
|
21
|
+
declare function AlertMutationFeedback({ mutation, onRetry, showRetry, pending, className, }: AlertMutationFeedbackProp): react_jsx_runtime.JSX.Element | null;
|
|
22
|
+
/** @deprecated Use AlertMutationFeedback or Alert.QueryError. */
|
|
23
|
+
declare const MutationFeedback: typeof AlertMutationFeedback;
|
|
21
24
|
|
|
22
25
|
/** Page-header Refresh — spins while `query.isFetching`, calls `query.refetch()`. */
|
|
23
|
-
declare function
|
|
26
|
+
declare function ButtonRefetch({ query, label, children, variant, size, className, ...props }: ButtonRefetchProp): react_jsx_runtime.JSX.Element;
|
|
27
|
+
/** @deprecated Use ButtonRefetch or Button. */
|
|
28
|
+
declare const QueryRefetchButton: typeof ButtonRefetch;
|
|
24
29
|
|
|
25
30
|
/** Flatten `{ pages: [{ items }] }` — default GODX paginated API shape. */
|
|
26
31
|
declare function flattenItemPages<TItem, TPage extends {
|
|
@@ -40,4 +45,4 @@ declare function InfiniteQueryState<TPage, TFlat>({ query, skeleton, empty, flat
|
|
|
40
45
|
*/
|
|
41
46
|
declare function PrefetchLink({ queryKey, queryFn, prefetchOn, staleTime, onMouseEnter, onFocus, ...linkProps }: PrefetchLinkProp): react_jsx_runtime.JSX.Element;
|
|
42
47
|
|
|
43
|
-
export { DataState, DataStateProp, DataStateProp as DataStateProps, InfiniteQueryState, InfiniteQueryStateProp, InfiniteQueryStateProp as InfiniteQueryStateProps, MutationFeedback,
|
|
48
|
+
export { AlertMutationFeedback, AlertMutationFeedbackProp, AlertMutationFeedbackProp as AlertMutationFeedbackProps, ButtonRefetch, ButtonRefetchProp, ButtonRefetchProp as ButtonRefetchProps, DataState, DataStateProp, DataStateProp as DataStateProps, InfiniteQueryState, InfiniteQueryStateProp, InfiniteQueryStateProp as InfiniteQueryStateProps, MutationFeedback, PrefetchLink, PrefetchLinkProp, PrefetchLinkProp as PrefetchLinkProps, QueryRefetchButton, flattenItemPages };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { AlertMutationFeedback, ButtonRefetch, DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from '../../chunk-N43OKOFT.js';
|
|
2
|
+
import '../../chunk-TMDGV4CN.js';
|
|
3
3
|
import '../../chunk-4R7QL3MW.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-TILFZBTE.js';
|
|
5
|
+
import '../../chunk-M4PZNAMV.js';
|
|
6
6
|
import '../../chunk-RLGHEV4A.js';
|
|
7
7
|
import '../../chunk-FXFJF4YA.js';
|
|
8
8
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export { Alert, AlertActions, AlertBase, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../feedback/alert.js';
|
|
2
|
-
export { Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogMode, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../feedback/dialog.js';
|
|
2
|
+
export { AlertDialog, Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogMode, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../feedback/dialog.js';
|
|
3
|
+
export { A as AspectRatio } from '../../aspect-ratio-DGoYrOry.js';
|
|
3
4
|
export { Autocomplete } from '../data-entry/autocomplete.js';
|
|
4
|
-
export {
|
|
5
|
+
export { A as Avatar, a as AvatarFallback, b as AvatarImage } from '../../avatar-D9MdXzfF.js';
|
|
6
|
+
export { Badge, BadgeProps, BadgeTone, BadgeVariant } from '../data-display/badge.js';
|
|
5
7
|
export { Button, buttonVariants } from '../general/button.js';
|
|
6
8
|
export { Calendar } from '../data-entry/calendar.js';
|
|
7
|
-
export { Card, CardAction, CardContent, CardContentProps, CardCover, CardCoverProps, CardDescription, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps,
|
|
8
|
-
export { C as Checkbox } from '../../checkbox-
|
|
9
|
+
export { Card, CardAction, CardContent, CardContentProps, CardCover, CardCoverProps, CardDescription, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, StatCard, StatCardProps } from '../data-display/card.js';
|
|
10
|
+
export { C as Checkbox } from '../../checkbox-ChRsR7Nk.js';
|
|
9
11
|
export { ColorPicker } from '../data-entry/color-picker.js';
|
|
10
12
|
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '../data-entry/command.js';
|
|
11
13
|
export { DatePicker } from '../data-entry/date-picker.js';
|
|
@@ -20,25 +22,28 @@ export { ScrollArea, ScrollBar } from '../data-display/scroll-area.js';
|
|
|
20
22
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectProp, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../data-entry/select.js';
|
|
21
23
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../feedback/sheet.js';
|
|
22
24
|
export { Slider } from '../data-entry/slider.js';
|
|
25
|
+
export { S as Skeleton } from '../../skeleton-uWAjSacg.js';
|
|
23
26
|
export { Toaster } from '../feedback/sonner.js';
|
|
24
27
|
export { Switch } from '../data-entry/switch.js';
|
|
25
28
|
export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '../data-display/table.js';
|
|
26
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../navigation/tabs.js';
|
|
27
|
-
export { TabsItems } from '../navigation/tabs-items.js';
|
|
29
|
+
export { Tabs, TabsContent, TabsItem, TabsList, TabsProps, TabsTrigger } from '../navigation/tabs.js';
|
|
28
30
|
export { Textarea, TextareaProps } from '../data-entry/textarea.js';
|
|
29
31
|
export { TimePicker } from '../data-entry/time-picker.js';
|
|
32
|
+
export { T as Toggle, a as ToggleGroup, b as ToggleGroupItem, c as ToggleProps, t as toggleVariants } from '../../toggle-group-BulJgKh3.js';
|
|
30
33
|
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
|
|
32
|
-
export { a as AutocompleteProp, a as AutocompleteProps, C as CalendarProp, C as CalendarProps,
|
|
33
|
-
export { B as ButtonProp, B as ButtonProps } from '../../general.prop-
|
|
34
|
-
export { P as PaginationProp, P as PaginationProps
|
|
34
|
+
export { A as AlertActionsProp, A as AlertActionsProps, a as AlertContentProp, a as AlertContentProps, b as AlertDescriptionProp, b as AlertDescriptionProps, c as AlertDialogProp, c as AlertDialogProps, d as AlertProp, d as AlertProps, e as AlertQueryErrorProp, e as AlertQueryErrorProps, f as AlertTitleProp, f as AlertTitleProps, D as DialogConfirmProp, D as DialogConfirmProps } from '../../feedback.prop-BR5JOpPl.js';
|
|
35
|
+
export { a as AutocompleteProp, a as AutocompleteProps, C as CalendarProp, C as CalendarProps, g as ColorPickerProp, g as ColorPickerProps, D as DatePickerProp, D as DatePickerProps, k as DateRangePickerProp, k as DateRangePickerProps, R as RadioGroupProp, R as RadioGroupProps, t as SliderProp, t as SliderProps, u as SwitchProp, u as SwitchProps, v as TimePickerProp, v as TimePickerProps, U as UploadCommitAction, E as UploadFileItem, G as UploadFileItemProp, H as UploadProp, H as UploadProps, J as UploadVariant, K as UploadVariantProp, L as collectUploadCommitActions, M as createUploadItem } from '../../data-entry.prop-CDkOajPj.js';
|
|
36
|
+
export { B as ButtonProp, B as ButtonProps } from '../../general.prop-DoHDCRmL.js';
|
|
37
|
+
export { P as PaginationProp, P as PaginationProps } from '../../navigation.prop-8DgElO0c.js';
|
|
35
38
|
import 'react/jsx-runtime';
|
|
36
|
-
import '../../shared.prop-
|
|
39
|
+
import '../../shared.prop-BsNSXeqD.js';
|
|
37
40
|
import 'react';
|
|
38
41
|
import '../../content.prop-DrV_zDy-.js';
|
|
39
|
-
import '../../interaction.prop-
|
|
42
|
+
import '../../interaction.prop-DSFizzP6.js';
|
|
40
43
|
import '@radix-ui/react-dialog';
|
|
41
44
|
import '@radix-ui/react-alert-dialog';
|
|
45
|
+
import '@radix-ui/react-aspect-ratio';
|
|
46
|
+
import '@radix-ui/react-avatar';
|
|
42
47
|
import 'class-variance-authority/types';
|
|
43
48
|
import 'class-variance-authority';
|
|
44
49
|
import '@radix-ui/react-checkbox';
|
|
@@ -52,6 +57,8 @@ import '@radix-ui/react-slider';
|
|
|
52
57
|
import 'sonner';
|
|
53
58
|
import '@radix-ui/react-switch';
|
|
54
59
|
import '@radix-ui/react-tabs';
|
|
60
|
+
import '@radix-ui/react-toggle-group';
|
|
61
|
+
import '@radix-ui/react-toggle';
|
|
55
62
|
import 'react-day-picker';
|
|
56
|
-
import '../../data.prop-
|
|
57
|
-
import '../../layout.prop-
|
|
63
|
+
import '../../data.prop-DMYMNl6L.js';
|
|
64
|
+
import '../../layout.prop-CXvl2rVR.js';
|
|
@@ -1,37 +1,40 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export { Textarea } from '../../chunk-ZLK5SPT6.js';
|
|
4
|
-
export { TimePicker } from '../../chunk-GH7E5N6F.js';
|
|
5
|
-
export { ColorPicker } from '../../chunk-ZTYEH3UW.js';
|
|
6
|
-
export { DatePicker } from '../../chunk-AZS7553U.js';
|
|
7
|
-
export { DateRangePicker } from '../../chunk-I3272Y2C.js';
|
|
1
|
+
export { Avatar, AvatarFallback, AvatarImage } from '../../chunk-SEG2YBXF.js';
|
|
2
|
+
export { Card, CardAction, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardTitle, StatCard } from '../../chunk-O2OUNXV4.js';
|
|
8
3
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../../chunk-BHV2FUOA.js';
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
|
|
20
|
-
export { Alert, AlertActions, AlertBase, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-
|
|
21
|
-
import '../../chunk-4R7QL3MW.js';
|
|
22
|
-
export { Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../../chunk-2HLWHQJA.js';
|
|
4
|
+
export { Toggle, ToggleGroup, ToggleGroupItem, toggleVariants } from '../../chunk-FYM3MJSK.js';
|
|
5
|
+
export { Radio, RadioGroupOptions as RadioGroup, RadioGroupRoot, RadioItem } from '../../chunk-25RYBC5T.js';
|
|
6
|
+
export { Switch } from '../../chunk-R2W2FX5Q.js';
|
|
7
|
+
export { Textarea } from '../../chunk-EOTOCNT7.js';
|
|
8
|
+
export { TimePicker } from '../../chunk-RGPF3HU6.js';
|
|
9
|
+
export { ColorPicker } from '../../chunk-3TS3G4U3.js';
|
|
10
|
+
export { DatePicker } from '../../chunk-RGIYKJPW.js';
|
|
11
|
+
export { DateRangePicker } from '../../chunk-WN52SCGE.js';
|
|
12
|
+
export { Autocomplete } from '../../chunk-XDUZ7JJL.js';
|
|
13
|
+
export { Calendar } from '../../chunk-IOGU3ZWF.js';
|
|
14
|
+
export { Skeleton } from '../../chunk-AINW5WYN.js';
|
|
15
|
+
export { Alert, AlertActions, AlertBase, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-TMDGV4CN.js';
|
|
23
16
|
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
17
|
+
export { AspectRatio } from '../../chunk-FRU44GA2.js';
|
|
24
18
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-TO33OY4L.js';
|
|
25
|
-
|
|
26
|
-
export {
|
|
19
|
+
export { Pagination } from '../../chunk-SKIRU7GC.js';
|
|
20
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-V3N266PT.js';
|
|
21
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-Z6HNY2PL.js';
|
|
22
|
+
import '../../chunk-4R7QL3MW.js';
|
|
23
|
+
export { AlertDialog, Dialog, DialogAction, DialogCancel, DialogClose, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../../chunk-P4HFJQID.js';
|
|
24
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-G2WYOCDL.js';
|
|
25
|
+
export { Slider } from '../../chunk-CRERCLIZ.js';
|
|
26
|
+
export { Checkbox } from '../../chunk-O24Z3ULJ.js';
|
|
27
|
+
import '../../chunk-26CPAKUP.js';
|
|
28
|
+
import '../../chunk-TILFZBTE.js';
|
|
29
|
+
export { Badge } from '../../chunk-UIYEAUWA.js';
|
|
30
|
+
export { ScrollArea, ScrollBar } from '../../chunk-3KPEZ5CF.js';
|
|
31
|
+
export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '../../chunk-4MMIMZMK.js';
|
|
32
|
+
import '../../chunk-6QXQQAOQ.js';
|
|
33
|
+
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '../../chunk-HTEL5DQI.js';
|
|
27
34
|
export { Input } from '../../chunk-VOHTRR5X.js';
|
|
28
|
-
import '../../chunk-S66TJXJU.js';
|
|
29
|
-
export { Badge } from '../../chunk-PIIRNAXA.js';
|
|
30
35
|
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from '../../chunk-DY5C44UP.js';
|
|
31
|
-
export {
|
|
32
|
-
|
|
33
|
-
import '../../chunk-ICM6XBST.js';
|
|
34
|
-
export { Button, buttonVariants } from '../../chunk-HJEBRCXL.js';
|
|
36
|
+
export { Button, buttonVariants } from '../../chunk-M4PZNAMV.js';
|
|
37
|
+
import '../../chunk-IBK5D2Q6.js';
|
|
35
38
|
export { Label } from '../../chunk-7PWBC4BY.js';
|
|
36
39
|
import '../../chunk-RLGHEV4A.js';
|
|
37
40
|
import '../../chunk-FXFJF4YA.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { a as ClassNameProp, C as ChildrenProp } from './shared.prop-
|
|
2
|
+
import { a as ClassNameProp, C as ChildrenProp } from './shared.prop-BsNSXeqD.js';
|
|
3
3
|
import { I as IconProp, T as TitleProp, D as DescriptionProp, A as ActionProp } from './content.prop-DrV_zDy-.js';
|
|
4
|
-
import { T as TableDensityProp } from './layout.prop-
|
|
5
|
-
import {
|
|
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-
|
|
4
|
+
import { T as TableDensityProp } from './layout.prop-CXvl2rVR.js';
|
|
5
|
+
import { T as ToneProp, d as SortStateProp } from './interaction.prop-DSFizzP6.js';
|
|
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-DMYMNl6L.js';
|
|
7
7
|
|
|
8
8
|
/** Data Display component prop types — @see docs/COMPONENTS.md#data-display */
|
|
9
9
|
|
|
@@ -15,22 +15,27 @@ type EmptyStateProp = {
|
|
|
15
15
|
action?: ActionProp;
|
|
16
16
|
className?: ClassNameProp;
|
|
17
17
|
};
|
|
18
|
-
/** @see
|
|
19
|
-
type
|
|
20
|
-
items:
|
|
18
|
+
/** @see Descriptions */
|
|
19
|
+
type DescriptionsProp = {
|
|
20
|
+
items: DescriptionsItemProp[];
|
|
21
21
|
columns?: 1 | 2 | 3;
|
|
22
22
|
className?: ClassNameProp;
|
|
23
23
|
};
|
|
24
|
-
type
|
|
24
|
+
type DescriptionsItemProp = {
|
|
25
25
|
label: React.ReactNode;
|
|
26
26
|
value: React.ReactNode;
|
|
27
27
|
mono?: boolean;
|
|
28
28
|
};
|
|
29
|
-
/** @see
|
|
30
|
-
type
|
|
31
|
-
|
|
32
|
-
tone?:
|
|
29
|
+
/** @see Badge */
|
|
30
|
+
type BadgeProp = {
|
|
31
|
+
variant?: "default" | "secondary" | "outline";
|
|
32
|
+
tone?: ToneProp;
|
|
33
|
+
status?: string;
|
|
34
|
+
icon?: React.ComponentType<{
|
|
35
|
+
className?: string;
|
|
36
|
+
}> | null;
|
|
33
37
|
className?: ClassNameProp;
|
|
38
|
+
children?: ChildrenProp;
|
|
34
39
|
};
|
|
35
40
|
/** @see DataTable */
|
|
36
41
|
type DataTableProp<T> = {
|
|
@@ -50,9 +55,5 @@ type DataTableProp<T> = {
|
|
|
50
55
|
className?: ClassNameProp;
|
|
51
56
|
children?: ChildrenProp;
|
|
52
57
|
};
|
|
53
|
-
/** @see Badge */
|
|
54
|
-
type BadgeProp = React.HTMLAttributes<HTMLDivElement> & {
|
|
55
|
-
variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning";
|
|
56
|
-
};
|
|
57
58
|
|
|
58
|
-
export type { BadgeProp as B, DataTableProp as D, EmptyStateProp as E,
|
|
59
|
+
export type { BadgeProp as B, DataTableProp as D, EmptyStateProp as E, DescriptionsItemProp as a, DescriptionsProp as b };
|
|
@@ -4,9 +4,9 @@ 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 {
|
|
7
|
+
import { V as ValueProp, b as DefaultValueProp, i as PlaceholderProp, c as DisabledProp, a as ClassNameProp, I as IdProp, L as LabelProp, R as RequiredProp, d as HelperProp, E as ErrorProp, g as OnValueChangeProp, N as NameProp, O as OnChangeProp } from './shared.prop-BsNSXeqD.js';
|
|
8
8
|
import { E as EmptyMessageProp } from './content.prop-DrV_zDy-.js';
|
|
9
|
-
import { b as OnSearchChangeProp } from './data.prop-
|
|
9
|
+
import { b as OnSearchChangeProp } from './data.prop-DMYMNl6L.js';
|
|
10
10
|
|
|
11
11
|
/** Upload item — maps to media-service after `onUpload` resolves `mediaId`. */
|
|
12
12
|
type UploadFileStatus = "idle" | "uploading" | "done" | "error" | "removed";
|
|
@@ -87,9 +87,9 @@ type ChoiceOptionProp = {
|
|
|
87
87
|
};
|
|
88
88
|
/** @see Checkbox.Group */
|
|
89
89
|
type CheckboxGroupProp = {
|
|
90
|
-
value?: string[]
|
|
91
|
-
defaultValue?: string[]
|
|
92
|
-
|
|
90
|
+
value?: ValueProp<string[]>;
|
|
91
|
+
defaultValue?: DefaultValueProp<string[]>;
|
|
92
|
+
onValueChange?: OnValueChangeProp<string[]>;
|
|
93
93
|
options?: ChoiceOptionProp[];
|
|
94
94
|
orientation?: "horizontal" | "vertical";
|
|
95
95
|
disabled?: DisabledProp;
|
|
@@ -99,9 +99,9 @@ type CheckboxGroupProp = {
|
|
|
99
99
|
};
|
|
100
100
|
/** @see Radio.Group */
|
|
101
101
|
type RadioGroupProp = {
|
|
102
|
-
value?:
|
|
103
|
-
defaultValue?:
|
|
104
|
-
onValueChange?:
|
|
102
|
+
value?: ValueProp;
|
|
103
|
+
defaultValue?: DefaultValueProp;
|
|
104
|
+
onValueChange?: OnValueChangeProp;
|
|
105
105
|
options?: ChoiceOptionProp[];
|
|
106
106
|
orientation?: "horizontal" | "vertical";
|
|
107
107
|
disabled?: DisabledProp;
|
|
@@ -115,22 +115,16 @@ type RadioProp = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>
|
|
|
115
115
|
type SwitchProp = React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> & {
|
|
116
116
|
size?: "sm" | "default";
|
|
117
117
|
};
|
|
118
|
-
/** @see
|
|
119
|
-
type
|
|
118
|
+
/** @see Field — inline control + label + description wrapper. */
|
|
119
|
+
type FieldProp = {
|
|
120
120
|
id: IdProp;
|
|
121
121
|
label: LabelProp;
|
|
122
|
-
|
|
123
|
-
required?: RequiredProp;
|
|
124
|
-
helper?: HelperProp;
|
|
125
|
-
error?: ErrorProp;
|
|
126
|
-
labelAddon?: React.ReactNode;
|
|
122
|
+
description?: React.ReactNode;
|
|
127
123
|
className?: ClassNameProp;
|
|
128
|
-
|
|
129
|
-
defaultChecked?: boolean;
|
|
130
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
131
|
-
disabled?: DisabledProp;
|
|
132
|
-
size?: SwitchProp["size"];
|
|
124
|
+
children: React.ReactNode;
|
|
133
125
|
};
|
|
126
|
+
/** @see ChoiceField — deprecated alias for Field. */
|
|
127
|
+
type ChoiceFieldProp = FieldProp;
|
|
134
128
|
/** Country row accepted by CountrySelect / CountryOptionLabel.
|
|
135
129
|
* Accepts either a select-option (`value`) or a summary (`code`). */
|
|
136
130
|
type CountryOptionProp = {
|
|
@@ -166,7 +160,7 @@ type CalendarProp = DayPickerProps;
|
|
|
166
160
|
/** @see DatePicker */
|
|
167
161
|
type DatePickerProp = {
|
|
168
162
|
value?: Date;
|
|
169
|
-
|
|
163
|
+
onValueChange?: OnValueChangeProp<Date | undefined>;
|
|
170
164
|
placeholder?: PlaceholderProp;
|
|
171
165
|
disabled?: DisabledProp;
|
|
172
166
|
className?: ClassNameProp;
|
|
@@ -180,7 +174,7 @@ type DatePickerProp = {
|
|
|
180
174
|
/** @see DateRangePicker */
|
|
181
175
|
type DateRangePickerProp = {
|
|
182
176
|
value?: DateRange;
|
|
183
|
-
|
|
177
|
+
onValueChange?: OnValueChangeProp<DateRange | undefined>;
|
|
184
178
|
placeholder?: PlaceholderProp;
|
|
185
179
|
disabled?: DisabledProp;
|
|
186
180
|
className?: ClassNameProp;
|
|
@@ -193,9 +187,9 @@ type DateRangePickerProp = {
|
|
|
193
187
|
};
|
|
194
188
|
/** @see TimePicker — popover HH:mm picker (canonical 24h storage). */
|
|
195
189
|
type TimePickerProp = {
|
|
196
|
-
value?:
|
|
197
|
-
defaultValue?:
|
|
198
|
-
|
|
190
|
+
value?: ValueProp;
|
|
191
|
+
defaultValue?: DefaultValueProp;
|
|
192
|
+
onValueChange?: OnValueChangeProp;
|
|
199
193
|
placeholder?: PlaceholderProp;
|
|
200
194
|
disabled?: DisabledProp;
|
|
201
195
|
className?: ClassNameProp;
|
|
@@ -207,8 +201,8 @@ type TimePickerProp = {
|
|
|
207
201
|
};
|
|
208
202
|
/** @see ColorPicker */
|
|
209
203
|
type ColorPickerProp = {
|
|
210
|
-
value?:
|
|
211
|
-
|
|
204
|
+
value?: ValueProp;
|
|
205
|
+
onValueChange?: OnValueChangeProp;
|
|
212
206
|
disabled?: DisabledProp;
|
|
213
207
|
className?: ClassNameProp;
|
|
214
208
|
id?: IdProp;
|
|
@@ -227,7 +221,7 @@ type AutocompleteOptionProp = {
|
|
|
227
221
|
type AutocompleteProp = {
|
|
228
222
|
options: AutocompleteOptionProp[];
|
|
229
223
|
value?: ValueProp;
|
|
230
|
-
onValueChange?:
|
|
224
|
+
onValueChange?: OnValueChangeProp;
|
|
231
225
|
placeholder?: PlaceholderProp;
|
|
232
226
|
searchPlaceholder?: PlaceholderProp;
|
|
233
227
|
emptyMessage?: EmptyMessageProp;
|
|
@@ -261,7 +255,7 @@ type SearchSelectLoadResultProp = {
|
|
|
261
255
|
*/
|
|
262
256
|
type SearchSelectProp = {
|
|
263
257
|
value?: ValueProp;
|
|
264
|
-
|
|
258
|
+
onValueChange?: (value: string, option?: SearchSelectOptionProp) => void;
|
|
265
259
|
/** Static option list (client-side filtered). Provide this OR `loadOptions`, not both. */
|
|
266
260
|
options?: SearchSelectOptionProp[];
|
|
267
261
|
/** Remote fetcher — debounced search + infinite-scroll pagination call into this. Provide this
|
|
@@ -301,9 +295,9 @@ type UploadVariantProp = "dropzone" | "button" | "picture-card" | "picture" | "a
|
|
|
301
295
|
/** @see Upload — presentational; wire `onUpload` to media-service in app api.ts */
|
|
302
296
|
type UploadProp = {
|
|
303
297
|
variant?: UploadVariantProp;
|
|
304
|
-
value?: UploadFileItemProp[]
|
|
305
|
-
defaultValue?: UploadFileItemProp[]
|
|
306
|
-
|
|
298
|
+
value?: ValueProp<UploadFileItemProp[]>;
|
|
299
|
+
defaultValue?: DefaultValueProp<UploadFileItemProp[]>;
|
|
300
|
+
onValueChange?: OnValueChangeProp<UploadFileItemProp[]>;
|
|
307
301
|
accept?: string;
|
|
308
302
|
multiple?: boolean;
|
|
309
303
|
maxCount?: number;
|
|
@@ -335,9 +329,9 @@ type TreeFieldNamesProp = {
|
|
|
335
329
|
/** @see Cascader — cascade picker (Popover + multi-column). */
|
|
336
330
|
type CascaderProp = {
|
|
337
331
|
options: TreeOptionProp[];
|
|
338
|
-
value?: string[] | string[][]
|
|
339
|
-
defaultValue?: string[] | string[][]
|
|
340
|
-
|
|
332
|
+
value?: ValueProp<string[] | string[][]>;
|
|
333
|
+
defaultValue?: DefaultValueProp<string[] | string[][]>;
|
|
334
|
+
onValueChange?: (value: string[] | string[][], selectedOptions?: TreeOptionProp[] | TreeOptionProp[][]) => void;
|
|
341
335
|
multiple?: boolean;
|
|
342
336
|
changeOnSelect?: boolean;
|
|
343
337
|
showSearch?: boolean;
|
|
@@ -353,9 +347,9 @@ type ShowCheckedStrategyProp = "SHOW_CHILD" | "SHOW_PARENT" | "SHOW_ALL";
|
|
|
353
347
|
/** @see TreeSelect — tree in Popover (cmdk search + expand/collapse). */
|
|
354
348
|
type TreeSelectProp = {
|
|
355
349
|
treeData: TreeOptionProp[];
|
|
356
|
-
value?: string | string[]
|
|
357
|
-
defaultValue?: string | string[]
|
|
358
|
-
|
|
350
|
+
value?: ValueProp<string | string[]>;
|
|
351
|
+
defaultValue?: DefaultValueProp<string | string[]>;
|
|
352
|
+
onValueChange?: OnValueChangeProp<string | string[] | undefined>;
|
|
359
353
|
multiple?: boolean;
|
|
360
354
|
treeCheckable?: boolean;
|
|
361
355
|
treeCheckStrictly?: boolean;
|
|
@@ -380,7 +374,7 @@ type TransferItemProp = {
|
|
|
380
374
|
type TransferProp = {
|
|
381
375
|
dataSource: TransferItemProp[];
|
|
382
376
|
targetKeys: string[];
|
|
383
|
-
|
|
377
|
+
onValueChange?: (targetKeys: string[], direction: "left" | "right", moveKeys: string[]) => void;
|
|
384
378
|
titles?: [React.ReactNode, React.ReactNode];
|
|
385
379
|
showSearch?: boolean;
|
|
386
380
|
oneWay?: boolean;
|
|
@@ -390,4 +384,4 @@ type TransferProp = {
|
|
|
390
384
|
onSelectChange?: (sourceSelectedKeys: string[], targetSelectedKeys: string[]) => void;
|
|
391
385
|
};
|
|
392
386
|
|
|
393
|
-
export { type AutocompleteOptionProp as A, type
|
|
387
|
+
export { type AutocompleteOptionProp as A, type TreeSelectProp as B, type CalendarProp as C, type DatePickerProp as D, type UploadFileItem as E, type FieldProp as F, type UploadFileItemProp as G, type UploadProp as H, type InputProp as I, type UploadVariant as J, type UploadVariantProp as K, collectUploadCommitActions as L, createUploadItem as M, 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 ChoiceFieldProp as e, type ChoiceOptionProp as f, type ColorPickerProp as g, type CountryOptionLabelProp as h, type CountryOptionProp as i, type CountrySelectProp as j, type DateRangePickerProp as k, type FormFieldProp as l, type RadioProp as m, type SearchSelectLoadParamsProp as n, type SearchSelectLoadResultProp as o, type SearchSelectOptionProp as p, type SearchSelectProp as q, type SelectDataProp as r, type ShowCheckedStrategyProp as s, type SliderProp as t, type SwitchProp as u, type TimePickerProp as v, type TransferItemProp as w, type TransferProp as x, type TreeFieldNamesProp as y, type TreeOptionProp as z };
|
|
@@ -1,45 +1,22 @@
|
|
|
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-Cf2p9QC4.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { C as ColumnDefProp } from './data.prop-BmLaGLb7.js';
|
|
4
|
+
import { T as TableDensityProp } from './layout.prop-CXvl2rVR.js';
|
|
5
|
+
import { d as SortStateProp } from './interaction.prop-DSFizzP6.js';
|
|
6
|
+
import { C as ColumnDefProp } from './data.prop-DMYMNl6L.js';
|
|
8
7
|
|
|
9
8
|
declare function EmptyState({ icon: Icon, title, description, action, className }: EmptyStateProp): react_jsx_runtime.JSX.Element;
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
type StatusBadgeTone = "success" | "warning" | "destructive" | "info" | "neutral";
|
|
13
|
-
type Tone = StatusBadgeTone;
|
|
14
|
-
interface StatusBadgeProps {
|
|
15
|
-
status: string;
|
|
16
|
-
className?: string;
|
|
17
|
-
label?: React.ReactNode;
|
|
18
|
-
/**
|
|
19
|
-
* Override the auto-resolved tone. Escape hatch for domain values that are
|
|
20
|
-
* not in STATUS_MAP (e.g. localized labels or categorical tiers) — without
|
|
21
|
-
* this they all fall back to the neutral grey tone.
|
|
22
|
-
*/
|
|
23
|
-
tone?: Tone;
|
|
24
|
-
/**
|
|
25
|
-
* Override the auto-resolved icon. Pass `null` to render no icon — preferred
|
|
26
|
-
* for categorical / tier badges where a lifecycle glyph (✓ / ○ / clock) would
|
|
27
|
-
* be misleading.
|
|
28
|
-
*/
|
|
29
|
-
icon?: LucideIcon | null;
|
|
30
|
-
}
|
|
31
|
-
declare function StatusBadge({ status, className, label: labelOverride, tone, icon }: StatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
32
|
-
|
|
33
|
-
interface KeyValueGridProps {
|
|
10
|
+
interface DescriptionsProps {
|
|
34
11
|
columns?: 1 | 2 | 3;
|
|
35
12
|
className?: string;
|
|
36
13
|
children: React.ReactNode;
|
|
37
14
|
}
|
|
38
|
-
declare function
|
|
39
|
-
declare namespace
|
|
40
|
-
var Item: ({ label, mono, span, className, children, }:
|
|
15
|
+
declare function Descriptions({ columns, className, children }: DescriptionsProps): react_jsx_runtime.JSX.Element;
|
|
16
|
+
declare namespace Descriptions {
|
|
17
|
+
var Item: ({ label, mono, span, className, children, }: DescriptionsItemProps) => react_jsx_runtime.JSX.Element;
|
|
41
18
|
}
|
|
42
|
-
interface
|
|
19
|
+
interface DescriptionsItemProps {
|
|
43
20
|
label: React.ReactNode;
|
|
44
21
|
/** Use mono spacing for IDs, paths, JSON. */
|
|
45
22
|
mono?: boolean;
|
|
@@ -100,4 +77,4 @@ interface RowActionsProps {
|
|
|
100
77
|
children: React.ReactNode;
|
|
101
78
|
}
|
|
102
79
|
|
|
103
|
-
export { type ColumnDef as C, DataTable as D, EmptyState as E,
|
|
80
|
+
export { type ColumnDef as C, DataTable as D, EmptyState as E, type Density as a, Descriptions as b };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { C as ColumnAlignProp,
|
|
3
|
-
import { T as TableDensityProp } from './layout.prop-
|
|
2
|
+
import { C as ColumnAlignProp, c as SortDirectionProp } from './interaction.prop-DSFizzP6.js';
|
|
3
|
+
import { T as TableDensityProp } from './layout.prop-CXvl2rVR.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Data & collection prop types.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { H as HandlerProp, a as ClassNameProp,
|
|
2
|
+
import { H as HandlerProp, a as ClassNameProp, h as OpenProp, f as OnOpenChangeProp, P as PendingProp, C as ChildrenProp } from './shared.prop-BsNSXeqD.js';
|
|
3
3
|
import { T as TitleProp, D as DescriptionProp, b as ConfirmLabelProp, C as CancelLabelProp, I as IconProp } from './content.prop-DrV_zDy-.js';
|
|
4
|
-
import { b as ConfirmVariantProp, A as AlertVariantProp } from './interaction.prop-
|
|
4
|
+
import { b as ConfirmVariantProp, A as AlertVariantProp, T as ToneProp } from './interaction.prop-DSFizzP6.js';
|
|
5
5
|
|
|
6
6
|
/** Feedback component prop types — @see docs/COMPONENTS.md#feedback */
|
|
7
7
|
|
|
8
|
-
/** @see
|
|
9
|
-
type
|
|
8
|
+
/** @see AlertDialog */
|
|
9
|
+
type AlertDialogProp = {
|
|
10
10
|
open: OpenProp;
|
|
11
11
|
onOpenChange: OnOpenChangeProp;
|
|
12
12
|
title: TitleProp;
|
|
@@ -20,6 +20,8 @@ type DialogConfirmProp = {
|
|
|
20
20
|
keepOpenOnConfirm?: boolean;
|
|
21
21
|
pending?: PendingProp;
|
|
22
22
|
};
|
|
23
|
+
/** @see DialogConfirm — deprecated alias for AlertDialog. */
|
|
24
|
+
type DialogConfirmProp = AlertDialogProp;
|
|
23
25
|
/** @see Alert */
|
|
24
26
|
type AlertQueryErrorProp = {
|
|
25
27
|
error: unknown;
|
|
@@ -29,6 +31,7 @@ type AlertQueryErrorProp = {
|
|
|
29
31
|
/** @see Alert */
|
|
30
32
|
type AlertProp = React.HTMLAttributes<HTMLDivElement> & {
|
|
31
33
|
variant?: AlertVariantProp;
|
|
34
|
+
tone?: ToneProp;
|
|
32
35
|
/** Pass `false` to hide the default variant icon. */
|
|
33
36
|
icon?: IconProp | false;
|
|
34
37
|
onDismiss?: HandlerProp;
|
|
@@ -61,4 +64,4 @@ type SkeletonRowsProp = {
|
|
|
61
64
|
columns?: number;
|
|
62
65
|
};
|
|
63
66
|
|
|
64
|
-
export type { AlertActionsProp as A, DialogConfirmProp as D, SkeletonRowsProp as S, AlertContentProp as a, AlertDescriptionProp as b,
|
|
67
|
+
export type { AlertActionsProp as A, DialogConfirmProp as D, SkeletonRowsProp as S, AlertContentProp as a, AlertDescriptionProp as b, AlertDialogProp as c, AlertProp as d, AlertQueryErrorProp as e, AlertTitleProp as f };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { d as PageHeaderProp } from './layout.prop-Baq9muDN.js';
|
|
3
|
+
import { f as ToolbarProp, e as ToolbarGroupProp } from './navigation.prop-8DgElO0c.js';
|
|
4
|
+
|
|
5
|
+
declare function PageHeader({ title, description, breadcrumb, actions, className }: PageHeaderProp): react_jsx_runtime.JSX.Element;
|
|
6
|
+
|
|
7
|
+
declare function Toolbar({ onClear, hasActiveFilters, className, children, }: ToolbarProp): react_jsx_runtime.JSX.Element;
|
|
8
|
+
declare function ToolbarGroup({ label, className, children }: ToolbarGroupProp): react_jsx_runtime.JSX.Element;
|
|
9
|
+
/** @deprecated Use Toolbar. */
|
|
10
|
+
declare const FilterBar: typeof Toolbar;
|
|
11
|
+
/** @deprecated Use ToolbarGroup. */
|
|
12
|
+
declare const FilterGroup: typeof ToolbarGroup;
|
|
13
|
+
|
|
14
|
+
export { FilterBar as F, PageHeader as P, Toolbar as T, FilterGroup as a, ToolbarGroup as b };
|
package/dist/form/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FieldValues, DefaultValues, UseFormReturn } from 'react-hook-form';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { U as UseZodFormOptionsProp, b as FormRootProp, a as FormFieldControlProp } from '../form.prop-
|
|
4
|
-
export { F as FieldErrorMessageProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from '../form.prop-
|
|
3
|
+
import { U as UseZodFormOptionsProp, b as FormRootProp, a as FormFieldControlProp } from '../form.prop-Bc6r6JJW.js';
|
|
4
|
+
export { F as FieldErrorMessageProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from '../form.prop-Bc6r6JJW.js';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import 'react';
|
|
7
|
-
import '../shared.prop-
|
|
7
|
+
import '../shared.prop-BsNSXeqD.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Mandatory form hook — wraps react-hook-form + @hookform/resolvers/zod (Zod 4).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { FieldValues, FieldPath, UseFormReturn, UseFormProps } from 'react-hook-form';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { E as ErrorProp, L as LabelProp, R as RequiredProp,
|
|
4
|
+
import { E as ErrorProp, L as LabelProp, R as RequiredProp, d as HelperProp, I as IdProp } from './shared.prop-BsNSXeqD.js';
|
|
5
5
|
|
|
6
6
|
/** Form module prop types — react-hook-form + Zod 4 only. */
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { A as AsChildProp,
|
|
3
|
-
import { a as ButtonVariantProp, B as ButtonSizeProp } from './interaction.prop-
|
|
2
|
+
import { A as AsChildProp, e as OnClickProp, c as DisabledProp } from './shared.prop-BsNSXeqD.js';
|
|
3
|
+
import { a as ButtonVariantProp, B as ButtonSizeProp } from './interaction.prop-DSFizzP6.js';
|
|
4
4
|
|
|
5
5
|
/** Foundation component prop types — @see docs/COMPONENTS.md#foundation */
|
|
6
6
|
|