@godxjp/ui 13.0.0 → 13.2.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-CwfNgQ9d.d.ts → checkbox-DKaBna6z.d.ts} +1 -1
- package/dist/{chunk-55S5N667.js → chunk-33AJDSML.js} +1 -1
- package/dist/{chunk-VNQ2NW22.js → chunk-4ADB5EKN.js} +3 -3
- package/dist/{chunk-WIRQNCCP.js → chunk-5NIGHXT5.js} +2 -2
- package/dist/{chunk-AKFR72DQ.js → chunk-74OPJG3N.js} +48 -50
- package/dist/{chunk-MTJHEQ46.js → chunk-BABHI2W7.js} +49 -51
- package/dist/{chunk-M4PZNAMV.js → chunk-E6J7ZTDM.js} +17 -8
- package/dist/{chunk-KQ36FDEE.js → chunk-HBOL5LSC.js} +1 -1
- package/dist/{chunk-XUEDRPWF.js → chunk-IMERLXSC.js} +2 -2
- package/dist/{chunk-NVNDO3FI.js → chunk-JAEA2IBC.js} +2 -2
- package/dist/{chunk-572FHZ3M.js → chunk-LEVFHRHU.js} +2 -2
- package/dist/{chunk-RX2F2U6D.js → chunk-NXF64JCT.js} +27 -14
- package/dist/{chunk-IYLJQVKV.js → chunk-SSNPCHG6.js} +2 -2
- package/dist/{chunk-CRERCLIZ.js → chunk-TBJBVEIP.js} +21 -2
- package/dist/{chunk-YVZPAN2W.js → chunk-UVJE3FYT.js} +1 -1
- package/dist/{chunk-IZGLEPGW.js → chunk-XGXI52Z7.js} +21 -4
- package/dist/{chunk-IWAIIBSW.js → chunk-XY2QN4VR.js} +1 -1
- package/dist/{chunk-XTVUYEJD.js → chunk-Z37463ZK.js} +60 -2
- package/dist/{chunk-WNOX32KG.js → chunk-Z652BSX7.js} +3 -3
- package/dist/{chunk-5KK3KJ6L.js → chunk-ZKUB7DHO.js} +1 -1
- package/dist/components/admin/index.d.ts +9 -9
- package/dist/components/admin/index.js +27 -27
- package/dist/components/data-display/badge.d.ts +8 -5
- package/dist/components/data-display/badge.js +1 -1
- package/dist/components/data-display/index.d.ts +4 -4
- package/dist/components/data-display/index.js +6 -6
- package/dist/components/data-entry/calendar.d.ts +3 -3
- package/dist/components/data-entry/calendar.js +2 -2
- package/dist/components/data-entry/cascader.d.ts +3 -3
- package/dist/components/data-entry/cascader.js +2 -2
- package/dist/components/data-entry/checkbox.d.ts +4 -4
- package/dist/components/data-entry/color-picker.d.ts +3 -3
- package/dist/components/data-entry/date-picker.d.ts +3 -3
- package/dist/components/data-entry/date-picker.js +3 -3
- package/dist/components/data-entry/date-range-picker.d.ts +3 -3
- package/dist/components/data-entry/date-range-picker.js +3 -3
- package/dist/components/data-entry/index.d.ts +5 -5
- package/dist/components/data-entry/index.js +19 -19
- package/dist/components/data-entry/radio.d.ts +3 -3
- package/dist/components/data-entry/select.d.ts +3 -3
- package/dist/components/data-entry/select.js +2 -2
- package/dist/components/data-entry/slider.d.ts +3 -3
- package/dist/components/data-entry/slider.js +1 -1
- package/dist/components/data-entry/switch.d.ts +3 -3
- package/dist/components/data-entry/time-picker.d.ts +3 -3
- package/dist/components/data-entry/time-picker.js +2 -2
- package/dist/components/data-entry/transfer.d.ts +4 -4
- package/dist/components/data-entry/transfer.js +4 -4
- package/dist/components/data-entry/tree-select.d.ts +3 -3
- package/dist/components/data-entry/tree-select.js +3 -3
- package/dist/components/data-entry/upload.d.ts +4 -4
- package/dist/components/data-entry/upload.js +6 -6
- package/dist/components/data-grid/index.js +5 -5
- package/dist/components/feedback/alert.d.ts +3 -3
- package/dist/components/feedback/alert.js +2 -2
- package/dist/components/feedback/dialog.d.ts +2 -2
- package/dist/components/feedback/dialog.js +4 -4
- package/dist/components/feedback/index.d.ts +2 -2
- package/dist/components/feedback/index.js +7 -7
- package/dist/components/feedback/sheet.d.ts +1 -1
- package/dist/components/feedback/sheet.js +1 -1
- package/dist/components/general/button.d.ts +5 -3
- package/dist/components/general/button.js +1 -1
- package/dist/components/general/index.d.ts +34 -3
- package/dist/components/general/index.js +46 -2
- package/dist/components/layout/index.js +3 -3
- package/dist/components/navigation/index.d.ts +6 -6
- package/dist/components/navigation/index.js +7 -7
- package/dist/components/navigation/pagination.d.ts +3 -3
- package/dist/components/navigation/pagination.js +3 -3
- package/dist/components/navigation/steps.d.ts +4 -4
- package/dist/components/query/index.d.ts +3 -3
- package/dist/components/query/index.js +2 -2
- package/dist/components/ui/index.d.ts +7 -7
- package/dist/components/ui/index.js +24 -24
- package/dist/{data-display.prop-BOtnzI17.d.ts → data-display.prop-BCC2zOTq.d.ts} +2 -2
- package/dist/{data-entry.prop-BGxD81Lf.d.ts → data-entry.prop-BGlwRXlJ.d.ts} +4 -2
- package/dist/{data-table-DO-gU4wJ.d.ts → data-table-B6HC3EFK.d.ts} +3 -3
- package/dist/{data.prop-D4uDw_SW.d.ts → data.prop-H9nROsUg.d.ts} +1 -1
- package/dist/{feedback.prop-CtrL24E1.d.ts → feedback.prop-sEx89LTF.d.ts} +1 -1
- package/dist/{filter-bar-tEwfKthz.d.ts → filter-bar-DPMQmIpX.d.ts} +1 -1
- package/dist/general.prop-4ERae5Sj.d.ts +46 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.js +35 -35
- package/dist/interaction.prop-B44hePpl.d.ts +46 -0
- package/dist/{navigation.prop-Cc_Iu87S.d.ts → navigation.prop-DMbjEig7.d.ts} +1 -1
- package/dist/props/components/index.d.ts +8 -8
- package/dist/props/index.d.ts +8 -8
- package/dist/props/index.js +1 -1
- package/dist/props/registry.d.ts +47 -2
- package/dist/props/registry.js +1 -1
- package/dist/props/vocabulary/index.d.ts +2 -2
- package/dist/{query.prop-CyNxaCHe.d.ts → query.prop-cp6fEgOD.d.ts} +1 -1
- package/dist/{search-input-BPtjUAa1.d.ts → search-input-CxGW8_7q.d.ts} +1 -1
- package/dist/styles/badge-layout.css +4 -0
- package/dist/styles/dialog-layout.css +30 -11
- package/dist/styles/index.css +1 -0
- package/dist/styles/text-layout.css +119 -0
- package/package.json +1 -1
- package/dist/general.prop-1GgJkf4b.d.ts +0 -16
- package/dist/interaction.prop-R77MnAMZ.d.ts +0 -31
- package/dist/{chunk-DEUHS5A2.js → chunk-QATON677.js} +1 -1
- package/dist/{chunk-XZXE5KVV.js → chunk-ZFBIKJSJ.js} +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { D as DataStateProp, A as AlertMutationFeedbackProp, B as ButtonRefetchProp, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../../query.prop-
|
|
2
|
+
import { D as DataStateProp, A as AlertMutationFeedbackProp, B as ButtonRefetchProp, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../../query.prop-cp6fEgOD.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import 'react-router-dom';
|
|
6
|
-
import '../../general.prop-
|
|
6
|
+
import '../../general.prop-4ERae5Sj.js';
|
|
7
7
|
import '../../shared.prop-BvMSLFJ6.js';
|
|
8
|
-
import '../../interaction.prop-
|
|
8
|
+
import '../../interaction.prop-B44hePpl.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Query lifecycle widget — orchestrates skeleton / error / empty / success for one `useQuery` block.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AlertQueryError } from '../../chunk-
|
|
1
|
+
import { AlertQueryError } from '../../chunk-UVJE3FYT.js';
|
|
2
2
|
import '../../chunk-GDHDJAVB.js';
|
|
3
3
|
import '../../chunk-INIIF7F7.js';
|
|
4
|
-
import { Button } from '../../chunk-
|
|
4
|
+
import { Button } from '../../chunk-E6J7ZTDM.js';
|
|
5
5
|
import { useTranslation } from '../../chunk-H2TX3OPW.js';
|
|
6
6
|
import '../../chunk-JEIUEOTJ.js';
|
|
7
7
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -7,7 +7,7 @@ export { Button, buttonVariants } from '../general/button.js';
|
|
|
7
7
|
export { Calendar } from '../data-entry/calendar.js';
|
|
8
8
|
export { Carousel, CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, useCarousel } from '../data-display/carousel.js';
|
|
9
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-
|
|
10
|
+
export { C as Checkbox } from '../../checkbox-DKaBna6z.js';
|
|
11
11
|
export { ColorPicker } from '../data-entry/color-picker.js';
|
|
12
12
|
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '../data-entry/command.js';
|
|
13
13
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from '../navigation/context-menu.js';
|
|
@@ -37,15 +37,15 @@ export { Tabs, TabsContent, TabsItem, TabsList, TabsProps, TabsTrigger } from '.
|
|
|
37
37
|
export { Textarea, TextareaProps } from '../data-entry/textarea.js';
|
|
38
38
|
export { TimePicker } from '../data-entry/time-picker.js';
|
|
39
39
|
export { Upload, useUploadDraft } from '../data-entry/upload.js';
|
|
40
|
-
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 } from '../../feedback.prop-
|
|
41
|
-
export { B as ButtonProp, B as ButtonProps } from '../../general.prop-
|
|
42
|
-
export { C as CalendarProp, C as CalendarProps, e as ColorPickerProp, e as ColorPickerProps, D as DatePickerProp, D as DatePickerProps, f as DateRangePickerProp, f as DateRangePickerProps, R as RadioGroupProp, R as RadioGroupProps, o as SliderProp, o as SliderProps, p as SwitchProp, p as SwitchProps, q as TimePickerProp, q as TimePickerProps, U as UploadCommitAction, w as UploadFileItem, x as UploadFileItemProp, y as UploadProp, y as UploadProps, z as UploadVariant, A as UploadVariantProp, B as collectUploadCommitActions, E as createUploadItem } from '../../data-entry.prop-
|
|
43
|
-
export { P as PaginationProp, P as PaginationProps } from '../../navigation.prop-
|
|
40
|
+
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 } from '../../feedback.prop-sEx89LTF.js';
|
|
41
|
+
export { B as ButtonProp, B as ButtonProps } from '../../general.prop-4ERae5Sj.js';
|
|
42
|
+
export { C as CalendarProp, C as CalendarProps, e as ColorPickerProp, e as ColorPickerProps, D as DatePickerProp, D as DatePickerProps, f as DateRangePickerProp, f as DateRangePickerProps, R as RadioGroupProp, R as RadioGroupProps, o as SliderProp, o as SliderProps, p as SwitchProp, p as SwitchProps, q as TimePickerProp, q as TimePickerProps, U as UploadCommitAction, w as UploadFileItem, x as UploadFileItemProp, y as UploadProp, y as UploadProps, z as UploadVariant, A as UploadVariantProp, B as collectUploadCommitActions, E as createUploadItem } from '../../data-entry.prop-BGlwRXlJ.js';
|
|
43
|
+
export { P as PaginationProp, P as PaginationProps } from '../../navigation.prop-DMbjEig7.js';
|
|
44
44
|
import 'react/jsx-runtime';
|
|
45
45
|
import '../../shared.prop-BvMSLFJ6.js';
|
|
46
46
|
import 'react';
|
|
47
47
|
import '../../content.prop-DrV_zDy-.js';
|
|
48
|
-
import '../../interaction.prop-
|
|
48
|
+
import '../../interaction.prop-B44hePpl.js';
|
|
49
49
|
import '@radix-ui/react-dialog';
|
|
50
50
|
import '@radix-ui/react-alert-dialog';
|
|
51
51
|
import '@radix-ui/react-separator';
|
|
@@ -75,6 +75,6 @@ import '@radix-ui/react-switch';
|
|
|
75
75
|
import '@radix-ui/react-tabs';
|
|
76
76
|
import 'react-day-picker';
|
|
77
77
|
import '../../layout.prop-CXvl2rVR.js';
|
|
78
|
-
import '../../data.prop-
|
|
78
|
+
import '../../data.prop-H9nROsUg.js';
|
|
79
79
|
import '../../layout.prop-ChLFNGJ6.js';
|
|
80
80
|
import '../../navigation.prop-CXDaVNaR.js';
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
export { Avatar, AvatarFallback, AvatarImage } from '../../chunk-QTUJSRDH.js';
|
|
2
2
|
export { Card, CardAction, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardTitle, StatCard } from '../../chunk-P5KPCT6R.js';
|
|
3
3
|
export { Carousel, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, useCarousel } from '../../chunk-FJBVDJGL.js';
|
|
4
|
-
export { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../../chunk-XUEDRPWF.js';
|
|
5
4
|
export { PasswordStrength, Toggle, ToggleGroup, ToggleGroupItem, toggleVariants, usePasswordStrength } from '../../chunk-VSUYVT2Q.js';
|
|
6
|
-
export { TimeInput } from '../../chunk-C6OEAQTO.js';
|
|
7
|
-
export { TimePicker } from '../../chunk-5KK3KJ6L.js';
|
|
8
|
-
export { Radio, RadioGroupOptions as RadioGroup, RadioGroupRoot, RadioItem } from '../../chunk-S2IJKT3D.js';
|
|
9
5
|
export { Switch } from '../../chunk-I7NQ2LIL.js';
|
|
10
6
|
export { Textarea } from '../../chunk-HCCID4YY.js';
|
|
7
|
+
export { TimeInput } from '../../chunk-C6OEAQTO.js';
|
|
8
|
+
export { TimePicker } from '../../chunk-ZKUB7DHO.js';
|
|
9
|
+
export { DatePicker } from '../../chunk-BABHI2W7.js';
|
|
10
|
+
export { DateRangePicker } from '../../chunk-74OPJG3N.js';
|
|
11
|
+
export { Radio, RadioGroupOptions as RadioGroup, RadioGroupRoot, RadioItem } from '../../chunk-S2IJKT3D.js';
|
|
12
|
+
export { Calendar } from '../../chunk-HBOL5LSC.js';
|
|
11
13
|
export { ColorPicker } from '../../chunk-SISAM4JZ.js';
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from '../../chunk-B73NA66T.js';
|
|
16
|
-
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport } from '../../chunk-WGWI7EGL.js';
|
|
17
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from '../../chunk-572FHZ3M.js';
|
|
18
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-V3N266PT.js';
|
|
14
|
+
export { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from '../../chunk-IMERLXSC.js';
|
|
15
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-4ADB5EKN.js';
|
|
16
|
+
export { Slider } from '../../chunk-TBJBVEIP.js';
|
|
19
17
|
export { AspectRatio, Separator } from '../../chunk-XK3M3VRR.js';
|
|
20
18
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from '../../chunk-W4REF4TD.js';
|
|
19
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-V3N266PT.js';
|
|
21
20
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from '../../chunk-HL3G4SVG.js';
|
|
21
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from '../../chunk-B73NA66T.js';
|
|
22
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport } from '../../chunk-WGWI7EGL.js';
|
|
23
|
+
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from '../../chunk-LEVFHRHU.js';
|
|
24
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-LMKUKCTN.js';
|
|
25
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-NXF64JCT.js';
|
|
26
|
+
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '../../chunk-3R3QVJCB.js';
|
|
22
27
|
export { Skeleton } from '../../chunk-2BR7KFCP.js';
|
|
23
|
-
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
24
28
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '../../chunk-32WO3YLB.js';
|
|
25
|
-
export { Alert, AlertActions, AlertBase, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-
|
|
26
|
-
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-VNQ2NW22.js';
|
|
29
|
+
export { Alert, AlertActions, AlertBase, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-UVJE3FYT.js';
|
|
27
30
|
import '../../chunk-GDHDJAVB.js';
|
|
28
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Dialog, DialogAction, DialogBody, DialogCancel, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../../chunk-
|
|
29
|
-
import '../../chunk-VU4GFGDG.js';
|
|
30
|
-
export { Slider } from '../../chunk-CRERCLIZ.js';
|
|
31
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../../chunk-LMKUKCTN.js';
|
|
32
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from '../../chunk-RX2F2U6D.js';
|
|
33
|
-
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList } from '../../chunk-3R3QVJCB.js';
|
|
31
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Dialog, DialogAction, DialogBody, DialogCancel, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogRoot, DialogTitle, DialogTrigger } from '../../chunk-Z652BSX7.js';
|
|
34
32
|
export { Input } from '../../chunk-BNXPDUO4.js';
|
|
35
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-VU4GFGDG.js';
|
|
34
|
+
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
36
35
|
export { Checkbox } from '../../chunk-BE6GJGKJ.js';
|
|
37
36
|
import '../../chunk-44YRPSZ7.js';
|
|
38
|
-
|
|
39
|
-
export {
|
|
37
|
+
import '../../chunk-INIIF7F7.js';
|
|
38
|
+
export { Button, buttonVariants } from '../../chunk-E6J7ZTDM.js';
|
|
39
|
+
export { Badge } from '../../chunk-XGXI52Z7.js';
|
|
40
40
|
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from '../../chunk-DY5C44UP.js';
|
|
41
41
|
export { ScrollArea, ScrollBar } from '../../chunk-3KPEZ5CF.js';
|
|
42
42
|
export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '../../chunk-IJ5ALJGA.js';
|
|
43
43
|
import '../../chunk-B4K4BXEF.js';
|
|
44
|
+
export { Label } from '../../chunk-7PWBC4BY.js';
|
|
44
45
|
import '../../chunk-H2TX3OPW.js';
|
|
45
46
|
import '../../chunk-JEIUEOTJ.js';
|
|
46
|
-
export { Label } from '../../chunk-7PWBC4BY.js';
|
|
47
47
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -2,8 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import { a as ClassNameProp, C as ChildrenProp } from './shared.prop-BvMSLFJ6.js';
|
|
3
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-CXvl2rVR.js';
|
|
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-
|
|
5
|
+
import { k as ToneProp, h as SortStateProp } from './interaction.prop-B44hePpl.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-H9nROsUg.js';
|
|
7
7
|
|
|
8
8
|
/** Data Display component prop types — @see docs/COMPONENTS.md#data-display */
|
|
9
9
|
|
|
@@ -7,8 +7,8 @@ import * as React from 'react';
|
|
|
7
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, W as WidthProp, g as OnValueChangeProp, N as NameProp, O as OnChangeProp } from './shared.prop-BvMSLFJ6.js';
|
|
8
8
|
import { E as EmptyMessageProp } from './content.prop-DrV_zDy-.js';
|
|
9
9
|
import { D as DensityProp } from './layout.prop-CXvl2rVR.js';
|
|
10
|
-
import {
|
|
11
|
-
import { b as OnSearchChangeProp } from './data.prop-
|
|
10
|
+
import { e as FormLayoutProp, a as BreakpointProp } from './interaction.prop-B44hePpl.js';
|
|
11
|
+
import { b as OnSearchChangeProp } from './data.prop-H9nROsUg.js';
|
|
12
12
|
import { R as ResponsiveGridColumnsProp } from './layout.prop-ChLFNGJ6.js';
|
|
13
13
|
|
|
14
14
|
/** Upload item — maps to media-service after `onUpload` resolves `mediaId`. */
|
|
@@ -232,6 +232,8 @@ type SearchSelectLoadResultProp = {
|
|
|
232
232
|
*/
|
|
233
233
|
type SearchSelectProp = {
|
|
234
234
|
value?: ValueProp;
|
|
235
|
+
/** Uncontrolled initial value — the trigger shows its option's label at rest (controlled-triad). */
|
|
236
|
+
defaultValue?: DefaultValueProp;
|
|
235
237
|
onValueChange?: (value: string, option?: SearchSelectOptionProp) => void;
|
|
236
238
|
/** Static option list (client-side filtered). Provide this OR `loadOptions`, not both. */
|
|
237
239
|
options?: SearchSelectOptionProp[];
|
|
@@ -1,9 +1,9 @@
|
|
|
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-BCC2zOTq.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { T as TableDensityProp } from './layout.prop-CXvl2rVR.js';
|
|
5
|
-
import {
|
|
6
|
-
import { C as ColumnDefProp } from './data.prop-
|
|
5
|
+
import { h as SortStateProp } from './interaction.prop-B44hePpl.js';
|
|
6
|
+
import { C as ColumnDefProp } from './data.prop-H9nROsUg.js';
|
|
7
7
|
|
|
8
8
|
declare function EmptyState({ icon: Icon, title, description, action, className }: EmptyStateProp): react_jsx_runtime.JSX.Element;
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { C as ColumnAlignProp,
|
|
2
|
+
import { C as ColumnAlignProp, g as SortDirectionProp } from './interaction.prop-B44hePpl.js';
|
|
3
3
|
import { T as TableDensityProp } from './layout.prop-CXvl2rVR.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { H as HandlerProp, a as ClassNameProp, h as OpenProp, f as OnOpenChangeProp, P as PendingProp, C as ChildrenProp } from './shared.prop-BvMSLFJ6.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 {
|
|
4
|
+
import { d as ConfirmVariantProp, A as AlertVariantProp, k as ToneProp } from './interaction.prop-B44hePpl.js';
|
|
5
5
|
|
|
6
6
|
/** Feedback component prop types — @see docs/COMPONENTS.md#feedback */
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { e as ToolbarProp, d as ToolbarGroupProp } from './navigation.prop-
|
|
2
|
+
import { e as ToolbarProp, d as ToolbarGroupProp } from './navigation.prop-DMbjEig7.js';
|
|
3
3
|
|
|
4
4
|
declare function Toolbar({ onClear, hasActiveFilters, className, children }: ToolbarProp): react_jsx_runtime.JSX.Element;
|
|
5
5
|
declare function ToolbarGroup({ label, className, children }: ToolbarGroupProp): react_jsx_runtime.JSX.Element;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { A as AsChildProp, e as OnClickProp, c as DisabledProp } from './shared.prop-BvMSLFJ6.js';
|
|
3
|
+
import { c as ButtonVariantProp, b as ButtonSizeProp, S as ShapeProp, H as HeadingLevelProp, j as TextToneProp, T as TextAlignProp, i as TextSizeProp, F as FontWeightProp } from './interaction.prop-B44hePpl.js';
|
|
4
|
+
|
|
5
|
+
/** Foundation component prop types — @see docs/COMPONENTS.md#foundation */
|
|
6
|
+
|
|
7
|
+
/** @see Text — typographic primitive; replaces hand-rolled `<span className="text-[13px] …">`. */
|
|
8
|
+
type TextProp = Omit<React.HTMLAttributes<HTMLElement>, "color"> & {
|
|
9
|
+
/** Render element (span | p | div | label | strong | em | small). Default `span`. */
|
|
10
|
+
as?: "span" | "p" | "div" | "label" | "strong" | "em" | "small";
|
|
11
|
+
/** Size from the type scale — never an arbitrary px. Default `sm` (base). */
|
|
12
|
+
size?: TextSizeProp;
|
|
13
|
+
/** Semantic colour intent. Default `default` (foreground). */
|
|
14
|
+
tone?: TextToneProp;
|
|
15
|
+
/** Weight (system 2-weight: 400/500). Default `regular`. */
|
|
16
|
+
weight?: FontWeightProp;
|
|
17
|
+
align?: TextAlignProp;
|
|
18
|
+
/** Single-line ellipsis. */
|
|
19
|
+
truncate?: boolean;
|
|
20
|
+
/** Tabular figures for aligned numbers. */
|
|
21
|
+
tabular?: boolean;
|
|
22
|
+
/** Monospace family (codes, ids). */
|
|
23
|
+
mono?: boolean;
|
|
24
|
+
htmlFor?: string;
|
|
25
|
+
};
|
|
26
|
+
/** @see Heading — h1..h4 sized from the `--heading-h*` tokens. */
|
|
27
|
+
type HeadingProp = Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
|
|
28
|
+
/** Heading level — sets size token AND the semantic element (override the element with `as`). */
|
|
29
|
+
level?: HeadingLevelProp;
|
|
30
|
+
as?: "h1" | "h2" | "h3" | "h4" | "div";
|
|
31
|
+
tone?: TextToneProp;
|
|
32
|
+
align?: TextAlignProp;
|
|
33
|
+
truncate?: boolean;
|
|
34
|
+
};
|
|
35
|
+
/** @see Button */
|
|
36
|
+
type ButtonProp = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
37
|
+
variant?: ButtonVariantProp;
|
|
38
|
+
size?: ButtonSizeProp;
|
|
39
|
+
/** Corner shape — `default` (control radius) · `pill` (fully rounded) · `sharp` (square). */
|
|
40
|
+
shape?: ShapeProp;
|
|
41
|
+
asChild?: AsChildProp;
|
|
42
|
+
onClick?: OnClickProp;
|
|
43
|
+
disabled?: DisabledProp;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type { ButtonProp as B, HeadingProp as H, TextProp as T };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { B as BreadcrumbItem } from './navigation.prop-CXDaVNaR.js';
|
|
2
2
|
export { F as FlexAlignProp, a as FlexDirectionProp, b as FlexJustifyProp, c as FlexProp, c as FlexProps, P as PageContainerProp, P as PageContainerProps } from './layout.prop-ChLFNGJ6.js';
|
|
3
3
|
export { F as Flex, P as PageContainer } from './flex-88Ps6YCv.js';
|
|
4
|
-
export { C as ColumnDef, D as DataTable, a as Density, b as Descriptions, E as EmptyState } from './data-table-
|
|
4
|
+
export { C as ColumnDef, D as DataTable, a as Density, b as Descriptions, E as EmptyState } from './data-table-B6HC3EFK.js';
|
|
5
5
|
export { Badge } from './components/data-display/badge.js';
|
|
6
|
-
export { F as Field, a as FormField, S as SearchInput } from './search-input-
|
|
6
|
+
export { F as Field, a as FormField, S as SearchInput } from './search-input-CxGW8_7q.js';
|
|
7
7
|
export { a as SkeletonDetail, c as SkeletonRows, d as SkeletonStat, e as SkeletonTable } from './skeleton-cj9kh5wo.js';
|
|
8
8
|
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from './components/feedback/alert.js';
|
|
9
9
|
export { Upload, useUploadDraft } from './components/data-entry/upload.js';
|
|
@@ -13,25 +13,25 @@ export { Transfer } from './components/data-entry/transfer.js';
|
|
|
13
13
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/navigation/tabs.js';
|
|
14
14
|
export { Pagination } from './components/navigation/pagination.js';
|
|
15
15
|
export { Steps } from './components/navigation/steps.js';
|
|
16
|
-
export { T as Toolbar, a as ToolbarGroup } from './filter-bar-
|
|
16
|
+
export { T as Toolbar, a as ToolbarGroup } from './filter-bar-DPMQmIpX.js';
|
|
17
17
|
export { AlertDialog, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './components/feedback/dialog.js';
|
|
18
18
|
export { Toaster } from './components/feedback/sonner.js';
|
|
19
19
|
export { toast } from 'sonner';
|
|
20
20
|
export { useDebouncedValue, useTimeoutFlag } from './lib/hooks.js';
|
|
21
21
|
export { formatBytes, formatCurrency, humanError, shortId } from './components/admin/index.js';
|
|
22
22
|
export { cn } from './lib/utils.js';
|
|
23
|
-
export { F as FieldProps, B as collectUploadCommitActions, E as createUploadItem } from './data-entry.prop-
|
|
24
|
-
export { c as AlertDialogProps } from './feedback.prop-
|
|
25
|
-
export { d as ToolbarGroupProps, e as ToolbarProps } from './navigation.prop-
|
|
23
|
+
export { F as FieldProps, B as collectUploadCommitActions, E as createUploadItem } from './data-entry.prop-BGlwRXlJ.js';
|
|
24
|
+
export { c as AlertDialogProps } from './feedback.prop-sEx89LTF.js';
|
|
25
|
+
export { d as ToolbarGroupProps, e as ToolbarProps } from './navigation.prop-DMbjEig7.js';
|
|
26
26
|
export { j as formatDate } from './format-date-ByyZoqI5.js';
|
|
27
27
|
import './shared.prop-BvMSLFJ6.js';
|
|
28
28
|
import 'react';
|
|
29
29
|
import './content.prop-DrV_zDy-.js';
|
|
30
30
|
import './layout.prop-CXvl2rVR.js';
|
|
31
31
|
import 'react/jsx-runtime';
|
|
32
|
-
import './data-display.prop-
|
|
33
|
-
import './interaction.prop-
|
|
34
|
-
import './data.prop-
|
|
32
|
+
import './data-display.prop-BCC2zOTq.js';
|
|
33
|
+
import './interaction.prop-B44hePpl.js';
|
|
34
|
+
import './data.prop-H9nROsUg.js';
|
|
35
35
|
import 'class-variance-authority/types';
|
|
36
36
|
import 'class-variance-authority';
|
|
37
37
|
import '@radix-ui/react-tabs';
|
package/dist/index.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import './chunk-2H65B4JA.js';
|
|
2
|
-
import './chunk-XUEDRPWF.js';
|
|
3
1
|
import './chunk-ZPHIXXTK.js';
|
|
4
2
|
import './chunk-VSUYVT2Q.js';
|
|
5
|
-
import './chunk-C6OEAQTO.js';
|
|
6
|
-
import './chunk-5KK3KJ6L.js';
|
|
7
|
-
import './chunk-S2IJKT3D.js';
|
|
8
3
|
import './chunk-I7NQ2LIL.js';
|
|
9
4
|
import './chunk-HCCID4YY.js';
|
|
5
|
+
import './chunk-C6OEAQTO.js';
|
|
6
|
+
import './chunk-ZKUB7DHO.js';
|
|
7
|
+
import './chunk-BABHI2W7.js';
|
|
8
|
+
import './chunk-74OPJG3N.js';
|
|
9
|
+
import './chunk-S2IJKT3D.js';
|
|
10
|
+
import './chunk-HBOL5LSC.js';
|
|
10
11
|
import './chunk-SISAM4JZ.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-KQ36FDEE.js';
|
|
12
|
+
import './chunk-2H65B4JA.js';
|
|
13
|
+
import './chunk-IMERLXSC.js';
|
|
14
14
|
import './chunk-GJXOBDER.js';
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
|
|
18
|
-
import './chunk-
|
|
19
|
-
export {
|
|
20
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-V3N266PT.js';
|
|
21
|
-
export { PageContainer } from './chunk-DEUHS5A2.js';
|
|
15
|
+
export { Transfer } from './chunk-JAEA2IBC.js';
|
|
16
|
+
export { TreeSelect } from './chunk-XY2QN4VR.js';
|
|
17
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from './chunk-4ADB5EKN.js';
|
|
18
|
+
import './chunk-TBJBVEIP.js';
|
|
19
|
+
export { PageContainer } from './chunk-QATON677.js';
|
|
22
20
|
import './chunk-XK3M3VRR.js';
|
|
23
21
|
import './chunk-W4REF4TD.js';
|
|
22
|
+
export { Cascader } from './chunk-33AJDSML.js';
|
|
23
|
+
import './chunk-SMLKNECP.js';
|
|
24
|
+
export { Toolbar, ToolbarGroup } from './chunk-5NIGHXT5.js';
|
|
25
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-V3N266PT.js';
|
|
24
26
|
import './chunk-HL3G4SVG.js';
|
|
27
|
+
import './chunk-B73NA66T.js';
|
|
28
|
+
import './chunk-WGWI7EGL.js';
|
|
29
|
+
export { Pagination } from './chunk-LEVFHRHU.js';
|
|
30
|
+
export { Steps } from './chunk-QD3YG56T.js';
|
|
31
|
+
export { SearchInput } from './chunk-ZFBIKJSJ.js';
|
|
32
|
+
import './chunk-LMKUKCTN.js';
|
|
33
|
+
import './chunk-NXF64JCT.js';
|
|
34
|
+
import './chunk-3R3QVJCB.js';
|
|
25
35
|
export { sonnerToast as toast } from './chunk-ES4Q3KGL.js';
|
|
26
36
|
export { SkeletonDetail, SkeletonRows, SkeletonStat, SkeletonTable } from './chunk-2BR7KFCP.js';
|
|
27
|
-
export { Toaster } from './chunk-TO7URV7U.js';
|
|
28
37
|
import './chunk-32WO3YLB.js';
|
|
29
|
-
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from './chunk-
|
|
30
|
-
export { Transfer } from './chunk-NVNDO3FI.js';
|
|
31
|
-
export { TreeSelect } from './chunk-IWAIIBSW.js';
|
|
32
|
-
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from './chunk-VNQ2NW22.js';
|
|
38
|
+
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from './chunk-UVJE3FYT.js';
|
|
33
39
|
export { formatBytes, formatCurrency, humanError, shortId } from './chunk-GDHDJAVB.js';
|
|
34
|
-
export { AlertDialog, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-
|
|
35
|
-
import './chunk-VU4GFGDG.js';
|
|
36
|
-
import './chunk-CRERCLIZ.js';
|
|
37
|
-
import './chunk-LMKUKCTN.js';
|
|
38
|
-
export { SearchInput } from './chunk-XZXE5KVV.js';
|
|
39
|
-
import './chunk-RX2F2U6D.js';
|
|
40
|
-
export { Cascader } from './chunk-55S5N667.js';
|
|
41
|
-
import './chunk-SMLKNECP.js';
|
|
42
|
-
import './chunk-3R3QVJCB.js';
|
|
40
|
+
export { AlertDialog, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-Z652BSX7.js';
|
|
43
41
|
import './chunk-BNXPDUO4.js';
|
|
44
|
-
|
|
42
|
+
import './chunk-VU4GFGDG.js';
|
|
43
|
+
export { Toaster } from './chunk-TO7URV7U.js';
|
|
44
|
+
export { DataTable, Descriptions } from './chunk-SSNPCHG6.js';
|
|
45
45
|
import './chunk-DV52WNXO.js';
|
|
46
46
|
export { EmptyState } from './chunk-YD7V2HGZ.js';
|
|
47
|
-
export { Flex } from './chunk-INIIF7F7.js';
|
|
48
47
|
import './chunk-BE6GJGKJ.js';
|
|
49
48
|
export { Field } from './chunk-44YRPSZ7.js';
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
export { Flex } from './chunk-INIIF7F7.js';
|
|
50
|
+
import './chunk-E6J7ZTDM.js';
|
|
51
|
+
export { Badge } from './chunk-XGXI52Z7.js';
|
|
52
52
|
import './chunk-DY5C44UP.js';
|
|
53
53
|
import './chunk-3KPEZ5CF.js';
|
|
54
54
|
import './chunk-IJ5ALJGA.js';
|
|
55
55
|
import './chunk-B4K4BXEF.js';
|
|
56
|
-
import './chunk-H2TX3OPW.js';
|
|
57
|
-
export { formatDate } from './chunk-JEIUEOTJ.js';
|
|
58
56
|
export { FormField } from './chunk-76S3TQFH.js';
|
|
59
57
|
import './chunk-C3PKEV6S.js';
|
|
60
58
|
import './chunk-7PWBC4BY.js';
|
|
59
|
+
import './chunk-H2TX3OPW.js';
|
|
60
|
+
export { formatDate } from './chunk-JEIUEOTJ.js';
|
|
61
61
|
export { useDebouncedValue, useTimeoutFlag } from './chunk-LFW37FGG.js';
|
|
62
62
|
export { cn } from './chunk-U7N2A7A3.js';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interaction & visual variant prop types.
|
|
3
|
+
* @see docs/PROPS-VOCABULARY.md#interaction-variants
|
|
4
|
+
*/
|
|
5
|
+
/** Button visual style. */
|
|
6
|
+
type ButtonVariantProp = "default" | "destructive" | "outline" | "dashed" | "secondary" | "ghost" | "link";
|
|
7
|
+
/** Corner shape — maps to the radius tokens (default = control/component radius). Shared by
|
|
8
|
+
* Button + Badge. `pill` = fully rounded (`--radius-pill`), `sharp` = square (`--radius-sharp`). */
|
|
9
|
+
type ShapeProp = "default" | "pill" | "sharp";
|
|
10
|
+
/** Text size — steps of the golden-ratio type scale (NEVER an arbitrary px). `sm` = base. */
|
|
11
|
+
type TextSizeProp = "2xs" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
12
|
+
/** Text colour intent — maps to semantic foreground tokens (no raw palette). */
|
|
13
|
+
type TextToneProp = "default" | "muted" | "primary" | "success" | "warning" | "destructive" | "info";
|
|
14
|
+
/** Font weight — the system is 2-weight (400/500); `semibold` resolves to the 500 token, not 600. */
|
|
15
|
+
type FontWeightProp = "regular" | "medium" | "semibold";
|
|
16
|
+
/** Heading level — drives both the `--heading-h*` size token and the semantic `<h1..h4>` element. */
|
|
17
|
+
type HeadingLevelProp = 1 | 2 | 3 | 4;
|
|
18
|
+
/** Inline text alignment (logical, RTL-safe). */
|
|
19
|
+
type TextAlignProp = "start" | "center" | "end";
|
|
20
|
+
/** Badge visual style. */
|
|
21
|
+
type BadgeVariantProp = "default" | "secondary" | "outline" | "dashed";
|
|
22
|
+
/** Button size preset. */
|
|
23
|
+
type SizeProp = "xs" | "sm" | "md" | "lg";
|
|
24
|
+
/** Button size preset; icon-only sizes are a documented Button subset. */
|
|
25
|
+
type ButtonSizeProp = SizeProp | "default" | "icon" | "icon-xs" | "icon-sm" | "icon-lg";
|
|
26
|
+
/** Form layout — label position relative to its control (Ant-style). */
|
|
27
|
+
type FormLayoutProp = "vertical" | "horizontal" | "inline";
|
|
28
|
+
/** Responsive breakpoint name (mobile-first); used by `collapseBelow` etc. */
|
|
29
|
+
type BreakpointProp = "sm" | "md" | "lg" | "xl";
|
|
30
|
+
/** Dialog confirm button emphasis. */
|
|
31
|
+
type ConfirmVariantProp = "default" | "destructive";
|
|
32
|
+
/** Semantic color/status intent. */
|
|
33
|
+
type ToneProp = "default" | "success" | "warning" | "destructive" | "info" | "muted" | "neutral";
|
|
34
|
+
/** Inline Alert visual treatment. */
|
|
35
|
+
type AlertVariantProp = "default";
|
|
36
|
+
/** Sort direction for table columns. */
|
|
37
|
+
type SortDirectionProp = "asc" | "desc";
|
|
38
|
+
/** Table column text alignment. */
|
|
39
|
+
type ColumnAlignProp = "left" | "center" | "right";
|
|
40
|
+
/** Active sort state on DataTable. */
|
|
41
|
+
type SortStateProp = {
|
|
42
|
+
key: string;
|
|
43
|
+
direction: SortDirectionProp;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type { AlertVariantProp as A, BadgeVariantProp as B, ColumnAlignProp as C, FontWeightProp as F, HeadingLevelProp as H, ShapeProp as S, TextAlignProp as T, BreakpointProp as a, ButtonSizeProp as b, ButtonVariantProp as c, ConfirmVariantProp as d, FormLayoutProp as e, SizeProp as f, SortDirectionProp as g, SortStateProp as h, TextSizeProp as i, TextToneProp as j, ToneProp as k };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { c as DisabledProp, a as ClassNameProp, C as ChildrenProp, L as LabelProp } from './shared.prop-BvMSLFJ6.js';
|
|
3
|
-
import { O as OnClearFiltersProp, H as HasActiveFiltersProp } from './data.prop-
|
|
3
|
+
import { O as OnClearFiltersProp, H as HasActiveFiltersProp } from './data.prop-H9nROsUg.js';
|
|
4
4
|
|
|
5
5
|
/** Navigation component prop types — @see docs/COMPONENTS.md#navigation */
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { A as AppShellProp, P as PageContainerProp, d as PageInsetProp, e as SidebarItemProp, f as SidebarProductProp, g as SidebarProp, h as SidebarSectionProp, T as TopbarProductProp, i as TopbarProjectProp, j as TopbarProp } from '../../layout.prop-ChLFNGJ6.js';
|
|
2
|
-
export { B as ButtonProp } from '../../general.prop-
|
|
3
|
-
export { C as CalendarProp, a as CascaderProp, b as CheckboxGroupProp, c as CheckboxProp, d as ChoiceOptionProp, e as ColorPickerProp, D as DatePickerProp, f as DateRangePickerProp, g as FormFieldProp, I as InputProp, R as RadioGroupProp, i as RadioProp, S as SearchInputProp, n as ShowCheckedStrategyProp, o as SliderProp, p as SwitchProp, T as TextareaProp, q as TimePickerProp, r as TransferItemProp, s as TransferProp, t as TreeFieldNamesProp, u as TreeOptionProp, v as TreeSelectProp, x as UploadFileItemProp, y as UploadProp, A as UploadVariantProp } from '../../data-entry.prop-
|
|
4
|
-
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../../data-display.prop-
|
|
5
|
-
export { A as AlertActionsProp, a as AlertContentProp, b as AlertDescriptionProp, d as AlertProp, e as AlertQueryErrorProp, f as AlertTitleProp, S as SkeletonRowsProp } from '../../feedback.prop-
|
|
6
|
-
export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../../query.prop-
|
|
7
|
-
export { P as PaginationProp, S as StepItemProp, a as StepStatusProp, b as StepsProp, T as TabItemProp, c as TabsProp } from '../../navigation.prop-
|
|
2
|
+
export { B as ButtonProp } from '../../general.prop-4ERae5Sj.js';
|
|
3
|
+
export { C as CalendarProp, a as CascaderProp, b as CheckboxGroupProp, c as CheckboxProp, d as ChoiceOptionProp, e as ColorPickerProp, D as DatePickerProp, f as DateRangePickerProp, g as FormFieldProp, I as InputProp, R as RadioGroupProp, i as RadioProp, S as SearchInputProp, n as ShowCheckedStrategyProp, o as SliderProp, p as SwitchProp, T as TextareaProp, q as TimePickerProp, r as TransferItemProp, s as TransferProp, t as TreeFieldNamesProp, u as TreeOptionProp, v as TreeSelectProp, x as UploadFileItemProp, y as UploadProp, A as UploadVariantProp } from '../../data-entry.prop-BGlwRXlJ.js';
|
|
4
|
+
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../../data-display.prop-BCC2zOTq.js';
|
|
5
|
+
export { A as AlertActionsProp, a as AlertContentProp, b as AlertDescriptionProp, d as AlertProp, e as AlertQueryErrorProp, f as AlertTitleProp, S as SkeletonRowsProp } from '../../feedback.prop-sEx89LTF.js';
|
|
6
|
+
export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../../query.prop-cp6fEgOD.js';
|
|
7
|
+
export { P as PaginationProp, S as StepItemProp, a as StepStatusProp, b as StepsProp, T as TabItemProp, c as TabsProp } from '../../navigation.prop-DMbjEig7.js';
|
|
8
8
|
export { A as AppContextValue, a as AppProviderProp, b as AppSettingKind, c as AppSettingPickerProp } from '../../app.prop-CVY8V4ss.js';
|
|
9
9
|
export { F as FieldErrorMessageProp, a as FormFieldControlProp, b as FormRootProp, U as UseZodFormOptionsProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from '../../form.prop-5cyL3bvT.js';
|
|
10
10
|
import 'react';
|
|
@@ -12,13 +12,13 @@ import '../../shared.prop-BvMSLFJ6.js';
|
|
|
12
12
|
import '../../content.prop-DrV_zDy-.js';
|
|
13
13
|
import '../../layout.prop-CXvl2rVR.js';
|
|
14
14
|
import '../../navigation.prop-CXDaVNaR.js';
|
|
15
|
-
import '../../interaction.prop-
|
|
15
|
+
import '../../interaction.prop-B44hePpl.js';
|
|
16
16
|
import '@radix-ui/react-checkbox';
|
|
17
17
|
import '@radix-ui/react-radio-group';
|
|
18
18
|
import '@radix-ui/react-slider';
|
|
19
19
|
import '@radix-ui/react-switch';
|
|
20
20
|
import 'react-day-picker';
|
|
21
|
-
import '../../data.prop-
|
|
21
|
+
import '../../data.prop-H9nROsUg.js';
|
|
22
22
|
import '@tanstack/react-query';
|
|
23
23
|
import 'react-router-dom';
|
|
24
24
|
import 'date-fns';
|
package/dist/props/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export { A as AsChildProp, C as ChildrenProp, a as ClassNameProp, D as DefaultOpenProp, b as DefaultValueProp, c as DisabledProp, E as ErrorProp, H as HandlerProp, d as HelperProp, I as IdProp, L as LabelProp, N as NameProp, O as OnChangeProp, e as OnClickProp, f as OnOpenChangeProp, g as OnValueChangeProp, h as OpenProp, P as PendingProp, i as PlaceholderProp, R as RequiredProp, V as ValueProp, W as WidthProp } from '../shared.prop-BvMSLFJ6.js';
|
|
2
2
|
export { A as ActionProp, a as ActionsProp, C as CancelLabelProp, b as ConfirmLabelProp, D as DescriptionProp, E as EmptyMessageProp, c as ExtraProp, F as FooterProp, I as IconProp, S as SubtitleProp, T as TitleProp } from '../content.prop-DrV_zDy-.js';
|
|
3
3
|
export { D as DensityProp, G as GapProp, P as PageContainerVariantProp, a as PageDensityProp, T as TableDensityProp } from '../layout.prop-CXvl2rVR.js';
|
|
4
|
-
export { A as AlertVariantProp, B as
|
|
4
|
+
export { A as AlertVariantProp, B as BadgeVariantProp, a as BreakpointProp, b as ButtonSizeProp, c as ButtonVariantProp, C as ColumnAlignProp, d as ConfirmVariantProp, F as FontWeightProp, e as FormLayoutProp, H as HeadingLevelProp, S as ShapeProp, f as SizeProp, g as SortDirectionProp, h as SortStateProp, T as TextAlignProp, i as TextSizeProp, j as TextToneProp, k as ToneProp } from '../interaction.prop-B44hePpl.js';
|
|
5
5
|
export { B as BreadcrumbItem, B as BreadcrumbItemProp, a as BreadcrumbProp } from '../navigation.prop-CXDaVNaR.js';
|
|
6
|
-
export { C as ColumnDef, C as ColumnDefProp, G as GetRowIdProp, H as HasActiveFiltersProp, O as OnClearFiltersProp, a as OnRowClickProp, b as OnSearchChangeProp, c as OnSelectChangeProp, d as OnSortChangeProp, e as OnTableDensityChangeProp, S as SelectedIdsProp } from '../data.prop-
|
|
6
|
+
export { C as ColumnDef, C as ColumnDefProp, G as GetRowIdProp, H as HasActiveFiltersProp, O as OnClearFiltersProp, a as OnRowClickProp, b as OnSearchChangeProp, c as OnSelectChangeProp, d as OnSortChangeProp, e as OnTableDensityChangeProp, S as SelectedIdsProp } from '../data.prop-H9nROsUg.js';
|
|
7
7
|
export { A as AppShellProp, P as PageContainerProp, P as PageContainerProps, d as PageInsetProp, e as SidebarItemProp, f as SidebarProductProp, g as SidebarProp, h as SidebarSectionProp, T as TopbarProductProp, i as TopbarProjectProp, j as TopbarProp } from '../layout.prop-ChLFNGJ6.js';
|
|
8
|
-
export { B as ButtonProp, B as ButtonProps } from '../general.prop-
|
|
9
|
-
export { C as CalendarProp, a as CascaderProp, b as CheckboxGroupProp, c as CheckboxProp, d as ChoiceOptionProp, e as ColorPickerProp, D as DatePickerProp, f as DateRangePickerProp, g as FormFieldProp, I as InputProp, R as RadioGroupProp, i as RadioProp, S as SearchInputProp, n as ShowCheckedStrategyProp, o as SliderProp, p as SwitchProp, T as TextareaProp, q as TimePickerProp, r as TransferItemProp, s as TransferProp, t as TreeFieldNamesProp, u as TreeOptionProp, v as TreeSelectProp, x as UploadFileItemProp, y as UploadProp, A as UploadVariantProp } from '../data-entry.prop-
|
|
10
|
-
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../data-display.prop-
|
|
11
|
-
export { A as AlertActionsProp, a as AlertContentProp, b as AlertDescriptionProp, d as AlertProp, e as AlertQueryErrorProp, f as AlertTitleProp, S as SkeletonRowsProp } from '../feedback.prop-
|
|
12
|
-
export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../query.prop-
|
|
13
|
-
export { P as PaginationProp, S as StepItemProp, a as StepStatusProp, b as StepsProp, T as TabItemProp, c as TabsProp } from '../navigation.prop-
|
|
8
|
+
export { B as ButtonProp, B as ButtonProps } from '../general.prop-4ERae5Sj.js';
|
|
9
|
+
export { C as CalendarProp, a as CascaderProp, b as CheckboxGroupProp, c as CheckboxProp, d as ChoiceOptionProp, e as ColorPickerProp, D as DatePickerProp, f as DateRangePickerProp, g as FormFieldProp, I as InputProp, R as RadioGroupProp, i as RadioProp, S as SearchInputProp, n as ShowCheckedStrategyProp, o as SliderProp, p as SwitchProp, T as TextareaProp, q as TimePickerProp, r as TransferItemProp, s as TransferProp, t as TreeFieldNamesProp, u as TreeOptionProp, v as TreeSelectProp, x as UploadFileItemProp, y as UploadProp, A as UploadVariantProp } from '../data-entry.prop-BGlwRXlJ.js';
|
|
10
|
+
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../data-display.prop-BCC2zOTq.js';
|
|
11
|
+
export { A as AlertActionsProp, a as AlertContentProp, b as AlertDescriptionProp, d as AlertProp, e as AlertQueryErrorProp, f as AlertTitleProp, S as SkeletonRowsProp } from '../feedback.prop-sEx89LTF.js';
|
|
12
|
+
export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../query.prop-cp6fEgOD.js';
|
|
13
|
+
export { P as PaginationProp, S as StepItemProp, a as StepStatusProp, b as StepsProp, T as TabItemProp, c as TabsProp } from '../navigation.prop-DMbjEig7.js';
|
|
14
14
|
export { A as AppContextValue, a as AppProviderProp, b as AppSettingKind, c as AppSettingPickerProp } from '../app.prop-CVY8V4ss.js';
|
|
15
15
|
export { F as FieldErrorMessageProp, a as FormFieldControlProp, b as FormRootProp, U as UseZodFormOptionsProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from '../form.prop-5cyL3bvT.js';
|
|
16
16
|
export { COMPONENT_PROP_REGISTRY, ComponentPropName, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY, VocabularyPropName } from './registry.js';
|
package/dist/props/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '../chunk-B775Y6BE.js';
|
|
2
2
|
import '../chunk-ZT5UEUBO.js';
|
|
3
|
-
export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-
|
|
3
|
+
export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-Z37463ZK.js';
|