@devalok/shilp-sutra 0.25.0 → 0.26.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/_chunks/framer.js +2 -2
- package/dist/_chunks/primitives.js +39 -39
- package/dist/_chunks/vendor-client.js +1 -1
- package/dist/_chunks/vendor-utils.js +83484 -3535
- package/dist/ai/index.js +1 -1
- package/dist/composed/bulk-action-bar.d.ts +29 -0
- package/dist/composed/bulk-action-bar.d.ts.map +1 -0
- package/dist/composed/bulk-action-bar.js +123 -0
- package/dist/composed/deadline-indicator.d.ts +18 -0
- package/dist/composed/deadline-indicator.d.ts.map +1 -0
- package/dist/composed/deadline-indicator.js +75 -0
- package/dist/composed/emoji-picker.d.ts +26 -0
- package/dist/composed/emoji-picker.d.ts.map +1 -0
- package/dist/composed/emoji-picker.js +104 -0
- package/dist/composed/file-preview.d.ts +22 -0
- package/dist/composed/file-preview.d.ts.map +1 -0
- package/dist/composed/file-preview.js +675 -0
- package/dist/composed/filter-bar.d.ts +38 -0
- package/dist/composed/filter-bar.d.ts.map +1 -0
- package/dist/composed/filter-bar.js +133 -0
- package/dist/composed/form-section.d.ts +12 -0
- package/dist/composed/form-section.d.ts.map +1 -0
- package/dist/composed/form-section.js +45 -0
- package/dist/composed/index.d.ts +22 -0
- package/dist/composed/index.d.ts.map +1 -1
- package/dist/composed/index.js +61 -36
- package/dist/composed/inline-edit.d.ts +16 -0
- package/dist/composed/inline-edit.d.ts.map +1 -0
- package/dist/composed/inline-edit.js +107 -0
- package/dist/composed/markdown-viewer.d.ts +14 -0
- package/dist/composed/markdown-viewer.d.ts.map +1 -0
- package/dist/composed/markdown-viewer.js +143 -0
- package/dist/composed/master-detail.d.ts +35 -0
- package/dist/composed/master-detail.d.ts.map +1 -0
- package/dist/composed/master-detail.js +124 -0
- package/dist/composed/member-picker.d.ts.map +1 -1
- package/dist/composed/member-picker.js +41 -88
- package/dist/composed/multi-select-popover.d.ts +44 -0
- package/dist/composed/multi-select-popover.d.ts.map +1 -0
- package/dist/composed/multi-select-popover.js +185 -0
- package/dist/composed/responsive-overlay.d.ts +15 -0
- package/dist/composed/responsive-overlay.d.ts.map +1 -0
- package/dist/composed/responsive-overlay.js +45 -0
- package/dist/ui/alert-dialog.js +10 -10
- package/dist/ui/avatar.js +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +42 -36
- package/dist/ui/card.d.ts +6 -48
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +92 -49
- package/dist/ui/checkbox.js +1 -1
- package/dist/ui/collapsible.js +1 -1
- package/dist/ui/color-swatch.d.ts +27 -0
- package/dist/ui/color-swatch.d.ts.map +1 -0
- package/dist/ui/color-swatch.js +91 -0
- package/dist/ui/data-table.d.ts +7 -1
- package/dist/ui/data-table.d.ts.map +1 -1
- package/dist/ui/data-table.js +221 -215
- package/dist/ui/dialog.js +4 -4
- package/dist/ui/dropdown-menu.js +31 -31
- package/dist/ui/index.d.ts +3 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +187 -180
- package/dist/ui/input.d.ts +1 -1
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.js +10 -9
- package/dist/ui/label.js +1 -1
- package/dist/ui/progress-ring.d.ts +46 -0
- package/dist/ui/progress-ring.d.ts.map +1 -0
- package/dist/ui/progress-ring.js +144 -0
- package/dist/ui/search-input.d.ts +1 -1
- package/dist/ui/search-input.d.ts.map +1 -1
- package/dist/ui/search-input.js +9 -8
- package/dist/ui/select.d.ts +1 -1
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +28 -27
- package/dist/ui/sheet.js +1 -1
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +15 -15
- package/dist/ui/status-dot.d.ts +27 -0
- package/dist/ui/status-dot.d.ts.map +1 -0
- package/dist/ui/status-dot.js +64 -0
- package/dist/ui/textarea.d.ts +1 -1
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/textarea.js +13 -12
- package/docs/components/composed/bulk-action-bar.md +40 -0
- package/docs/components/composed/deadline-indicator.md +27 -0
- package/docs/components/composed/emoji-picker.md +43 -0
- package/docs/components/composed/file-preview.md +40 -0
- package/docs/components/composed/filter-bar.md +57 -0
- package/docs/components/composed/form-section.md +31 -0
- package/docs/components/composed/inline-edit.md +35 -0
- package/docs/components/composed/markdown-viewer.md +27 -0
- package/docs/components/composed/master-detail.md +48 -0
- package/docs/components/composed/multi-select-popover.md +53 -0
- package/docs/components/composed/responsive-overlay.md +34 -0
- package/docs/components/ui/color-swatch.md +25 -0
- package/docs/components/ui/progress-ring.md +41 -0
- package/docs/components/ui/status-dot.md +26 -0
- package/llms-full.txt +528 -1
- package/llms.txt +37 -9
- package/package.json +808 -733
package/dist/ui/index.js
CHANGED
|
@@ -3,13 +3,13 @@ import { Button as r, buttonVariants as t } from "./button.js";
|
|
|
3
3
|
import { IconButton as n } from "./icon-button.js";
|
|
4
4
|
import { ButtonGroup as p, useButtonGroup as u } from "./button-group.js";
|
|
5
5
|
import { Input as m, inputVariants as g } from "./input.js";
|
|
6
|
-
import { ColorInput as
|
|
7
|
-
import { Label as
|
|
8
|
-
import { Separator as
|
|
9
|
-
import { VisuallyHidden as
|
|
6
|
+
import { ColorInput as x } from "./color-input.js";
|
|
7
|
+
import { Label as b } from "./label.js";
|
|
8
|
+
import { Separator as C } from "./separator.js";
|
|
9
|
+
import { VisuallyHidden as M } from "./visually-hidden.js";
|
|
10
10
|
import { Autocomplete as T } from "./autocomplete.js";
|
|
11
11
|
import { Combobox as I } from "./combobox.js";
|
|
12
|
-
import { FileUpload as
|
|
12
|
+
import { FileUpload as v } from "./file-upload.js";
|
|
13
13
|
import { Checkbox as h } from "./checkbox.js";
|
|
14
14
|
import { RadioGroup as k, RadioGroupItem as B } from "./radio.js";
|
|
15
15
|
import { Switch as G } from "./switch.js";
|
|
@@ -21,18 +21,18 @@ import { InputOTP as $, InputOTPGroup as ee, InputOTPSeparator as oe, InputOTPSl
|
|
|
21
21
|
import { FormField as ae, FormHelperText as ne, useFormField as ie } from "./form.js";
|
|
22
22
|
import { Slider as ue } from "./slider.js";
|
|
23
23
|
import { Toggle as me, toggleVariants as ge } from "./toggle.js";
|
|
24
|
-
import { ToggleGroup as
|
|
25
|
-
import { AlertDialog as
|
|
24
|
+
import { ToggleGroup as xe, ToggleGroupItem as Se } from "./toggle-group.js";
|
|
25
|
+
import { AlertDialog as fe, AlertDialogAction as Ce, AlertDialogCancel as se, AlertDialogContent as Me, AlertDialogDescription as ce, AlertDialogFooter as Te, AlertDialogHeader as De, AlertDialogOverlay as Ie, AlertDialogPortal as Pe, AlertDialogTitle as ve, AlertDialogTrigger as Ae } from "./alert-dialog.js";
|
|
26
26
|
import { Dialog as we, DialogClose as ke, DialogContent as Be, DialogContentRaw as Ve, DialogDescription as Ge, DialogFooter as Re, DialogHeader as Fe, DialogOverlay as Le, DialogPortal as He, DialogTitle as Ne, DialogTrigger as Oe } from "./dialog.js";
|
|
27
27
|
import { Sheet as Ee, SheetClose as Ue, SheetContent as ze, SheetDescription as je, SheetFooter as qe, SheetHeader as Je, SheetOverlay as Ke, SheetPortal as Qe, SheetTitle as We, SheetTrigger as Xe } from "./sheet.js";
|
|
28
28
|
import { formatFileSize as Ze, toast as _e } from "./toast.js";
|
|
29
29
|
import { Toaster as eo } from "./toaster.js";
|
|
30
30
|
import { Tooltip as ro, TooltipContent as to, TooltipProvider as ao, TooltipTrigger as no } from "./tooltip.js";
|
|
31
31
|
import { Popover as po, PopoverAnchor as uo, PopoverContent as lo, PopoverTrigger as mo } from "./popover.js";
|
|
32
|
-
import { HoverCard as
|
|
33
|
-
import { Collapsible as
|
|
32
|
+
import { HoverCard as xo, HoverCardContent as So, HoverCardTrigger as bo } from "./hover-card.js";
|
|
33
|
+
import { Collapsible as Co, CollapsibleContent as so, CollapsibleTrigger as Mo } from "./collapsible.js";
|
|
34
34
|
import { Alert as To, alertVariants as Do } from "./alert.js";
|
|
35
|
-
import { Banner as
|
|
35
|
+
import { Banner as Po, bannerVariants as vo } from "./banner.js";
|
|
36
36
|
import { Spinner as ho } from "./spinner.js";
|
|
37
37
|
import { Card as ko, CardContent as Bo, CardDescription as Vo, CardFooter as Go, CardHeader as Ro, CardTitle as Fo, cardVariants as Lo } from "./card.js";
|
|
38
38
|
import { Badge as No, badgeVariants as Oo } from "./badge.js";
|
|
@@ -40,60 +40,63 @@ import { Avatar as Eo, AvatarFallback as Uo, AvatarImage as zo, avatarVariants a
|
|
|
40
40
|
import { Table as Jo, TableBody as Ko, TableCaption as Qo, TableCell as Wo, TableFooter as Xo, TableHead as Yo, TableHeader as Zo, TableRow as _o } from "./table.js";
|
|
41
41
|
import { Progress as er, progressIndicatorVariants as or, progressTrackVariants as rr } from "./progress.js";
|
|
42
42
|
import { Skeleton as ar, SkeletonAvatar as nr, SkeletonButton as ir, SkeletonChart as pr, SkeletonGroup as ur, SkeletonImage as lr, SkeletonInput as mr, SkeletonText as gr, skeletonVariants as dr } from "./skeleton.js";
|
|
43
|
-
import { StatCard as
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
43
|
+
import { StatCard as Sr } from "./stat-card.js";
|
|
44
|
+
import { ColorSwatch as fr } from "./color-swatch.js";
|
|
45
|
+
import { StatusDot as sr } from "./status-dot.js";
|
|
46
|
+
import { MultiProgressRing as cr, ProgressRing as Tr } from "./progress-ring.js";
|
|
47
|
+
import { Code as Ir } from "./code.js";
|
|
48
|
+
import { AspectRatio as vr } from "./aspect-ratio.js";
|
|
49
|
+
import { Accordion as hr, AccordionContent as wr, AccordionItem as kr, AccordionTrigger as Br } from "./accordion.js";
|
|
50
|
+
import { Tabs as Gr, TabsContent as Rr, TabsList as Fr, TabsTrigger as Lr } from "./tabs.js";
|
|
51
|
+
import { Breadcrumb as Nr, BreadcrumbEllipsis as Or, BreadcrumbItem as yr, BreadcrumbLink as Er, BreadcrumbList as Ur, BreadcrumbPage as zr, BreadcrumbSeparator as jr } from "./breadcrumb.js";
|
|
52
|
+
import { DropdownMenu as Jr, DropdownMenuCheckboxItem as Kr, DropdownMenuContent as Qr, DropdownMenuGroup as Wr, DropdownMenuItem as Xr, DropdownMenuLabel as Yr, DropdownMenuPortal as Zr, DropdownMenuRadioGroup as _r, DropdownMenuRadioItem as $r, DropdownMenuSeparator as et, DropdownMenuShortcut as ot, DropdownMenuSub as rt, DropdownMenuSubContent as tt, DropdownMenuSubTrigger as at, DropdownMenuTrigger as nt } from "./dropdown-menu.js";
|
|
53
|
+
import { ContextMenu as pt, ContextMenuCheckboxItem as ut, ContextMenuContent as lt, ContextMenuGroup as mt, ContextMenuItem as gt, ContextMenuLabel as dt, ContextMenuPortal as xt, ContextMenuRadioGroup as St, ContextMenuRadioItem as bt, ContextMenuSeparator as ft, ContextMenuShortcut as Ct, ContextMenuSub as st, ContextMenuSubContent as Mt, ContextMenuSubTrigger as ct, ContextMenuTrigger as Tt } from "./context-menu.js";
|
|
54
|
+
import { Menubar as It, MenubarCheckboxItem as Pt, MenubarContent as vt, MenubarGroup as At, MenubarItem as ht, MenubarLabel as wt, MenubarMenu as kt, MenubarPortal as Bt, MenubarRadioGroup as Vt, MenubarRadioItem as Gt, MenubarSeparator as Rt, MenubarShortcut as Ft, MenubarSub as Lt, MenubarSubContent as Ht, MenubarSubTrigger as Nt, MenubarTrigger as Ot } from "./menubar.js";
|
|
55
|
+
import { PaginationContent as Et, PaginationEllipsis as Ut, PaginationItem as zt, PaginationLink as jt, PaginationNav as qt, PaginationNext as Jt, PaginationPrevious as Kt, PaginationRoot as Qt, generatePagination as Wt } from "./pagination.js";
|
|
56
|
+
import { NavigationMenu as Yt, NavigationMenuContent as Zt, NavigationMenuIndicator as _t, NavigationMenuItem as $t, NavigationMenuLink as ea, NavigationMenuList as oa, NavigationMenuTrigger as ra, NavigationMenuViewport as ta } from "./navigation-menu.js";
|
|
57
|
+
import { Sidebar as na, SidebarContent as ia, SidebarFooter as pa, SidebarGroup as ua, SidebarGroupAction as la, SidebarGroupContent as ma, SidebarGroupLabel as ga, SidebarHeader as da, SidebarInput as xa, SidebarInset as Sa, SidebarMenu as ba, SidebarMenuAction as fa, SidebarMenuBadge as Ca, SidebarMenuButton as sa, SidebarMenuItem as Ma, SidebarMenuSkeleton as ca, SidebarMenuSub as Ta, SidebarMenuSubButton as Da, SidebarMenuSubItem as Ia, SidebarProvider as Pa, SidebarRail as va, SidebarSeparator as Aa, SidebarTrigger as ha, useSidebar as wa } from "./sidebar.js";
|
|
58
|
+
import { Step as Ba, Stepper as Va } from "./stepper.js";
|
|
59
|
+
import { Chip as Ra, chipVariants as Fa } from "./chip.js";
|
|
60
|
+
import { Text as Ha, textVariants as Na } from "./text.js";
|
|
61
|
+
import { Stack as ya } from "./stack.js";
|
|
62
|
+
import { Container as Ua } from "./container.js";
|
|
63
|
+
import { T as ja, a as qa, u as Ja } from "../_chunks/tree-view.js";
|
|
64
|
+
import { SegmentedControl as Qa, SegmentedControlItem as Wa, segmentedControlItemVariants as Xa } from "./segmented-control.js";
|
|
65
|
+
import { Link as Za } from "./link.js";
|
|
66
|
+
import { cn as $a } from "./lib/utils.js";
|
|
67
|
+
import { formatRelativeTime as on } from "./lib/date-utils.js";
|
|
68
|
+
import { springs as tn, stagger as an, tweens as nn, withReducedMotion as pn } from "./lib/motion.js";
|
|
66
69
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
hr as Accordion,
|
|
71
|
+
wr as AccordionContent,
|
|
72
|
+
kr as AccordionItem,
|
|
73
|
+
Br as AccordionTrigger,
|
|
71
74
|
To as Alert,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
fe as AlertDialog,
|
|
76
|
+
Ce as AlertDialogAction,
|
|
77
|
+
se as AlertDialogCancel,
|
|
78
|
+
Me as AlertDialogContent,
|
|
76
79
|
ce as AlertDialogDescription,
|
|
77
80
|
Te as AlertDialogFooter,
|
|
78
81
|
De as AlertDialogHeader,
|
|
79
82
|
Ie as AlertDialogOverlay,
|
|
80
|
-
|
|
81
|
-
|
|
83
|
+
Pe as AlertDialogPortal,
|
|
84
|
+
ve as AlertDialogTitle,
|
|
82
85
|
Ae as AlertDialogTrigger,
|
|
83
|
-
|
|
86
|
+
vr as AspectRatio,
|
|
84
87
|
T as Autocomplete,
|
|
85
88
|
Eo as Avatar,
|
|
86
89
|
Uo as AvatarFallback,
|
|
87
90
|
zo as AvatarImage,
|
|
88
91
|
No as Badge,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
92
|
+
Po as Banner,
|
|
93
|
+
Nr as Breadcrumb,
|
|
94
|
+
Or as BreadcrumbEllipsis,
|
|
95
|
+
yr as BreadcrumbItem,
|
|
96
|
+
Er as BreadcrumbLink,
|
|
97
|
+
Ur as BreadcrumbList,
|
|
98
|
+
zr as BreadcrumbPage,
|
|
99
|
+
jr as BreadcrumbSeparator,
|
|
97
100
|
r as Button,
|
|
98
101
|
p as ButtonGroup,
|
|
99
102
|
ko as Card,
|
|
@@ -103,29 +106,30 @@ export {
|
|
|
103
106
|
Ro as CardHeader,
|
|
104
107
|
Fo as CardTitle,
|
|
105
108
|
h as Checkbox,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
Ra as Chip,
|
|
110
|
+
Ir as Code,
|
|
111
|
+
Co as Collapsible,
|
|
112
|
+
so as CollapsibleContent,
|
|
113
|
+
Mo as CollapsibleTrigger,
|
|
114
|
+
x as ColorInput,
|
|
115
|
+
fr as ColorSwatch,
|
|
112
116
|
I as Combobox,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
117
|
+
Ua as Container,
|
|
118
|
+
pt as ContextMenu,
|
|
119
|
+
ut as ContextMenuCheckboxItem,
|
|
120
|
+
lt as ContextMenuContent,
|
|
121
|
+
mt as ContextMenuGroup,
|
|
122
|
+
gt as ContextMenuItem,
|
|
123
|
+
dt as ContextMenuLabel,
|
|
124
|
+
xt as ContextMenuPortal,
|
|
125
|
+
St as ContextMenuRadioGroup,
|
|
126
|
+
bt as ContextMenuRadioItem,
|
|
127
|
+
ft as ContextMenuSeparator,
|
|
128
|
+
Ct as ContextMenuShortcut,
|
|
129
|
+
st as ContextMenuSub,
|
|
130
|
+
Mt as ContextMenuSubContent,
|
|
131
|
+
ct as ContextMenuSubTrigger,
|
|
132
|
+
Tt as ContextMenuTrigger,
|
|
129
133
|
we as Dialog,
|
|
130
134
|
ke as DialogClose,
|
|
131
135
|
Be as DialogContent,
|
|
@@ -137,78 +141,80 @@ export {
|
|
|
137
141
|
He as DialogPortal,
|
|
138
142
|
Ne as DialogTitle,
|
|
139
143
|
Oe as DialogTrigger,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
144
|
+
Jr as DropdownMenu,
|
|
145
|
+
Kr as DropdownMenuCheckboxItem,
|
|
146
|
+
Qr as DropdownMenuContent,
|
|
147
|
+
Wr as DropdownMenuGroup,
|
|
148
|
+
Xr as DropdownMenuItem,
|
|
149
|
+
Yr as DropdownMenuLabel,
|
|
150
|
+
Zr as DropdownMenuPortal,
|
|
151
|
+
_r as DropdownMenuRadioGroup,
|
|
152
|
+
$r as DropdownMenuRadioItem,
|
|
153
|
+
et as DropdownMenuSeparator,
|
|
154
|
+
ot as DropdownMenuShortcut,
|
|
155
|
+
rt as DropdownMenuSub,
|
|
156
|
+
tt as DropdownMenuSubContent,
|
|
157
|
+
at as DropdownMenuSubTrigger,
|
|
158
|
+
nt as DropdownMenuTrigger,
|
|
159
|
+
v as FileUpload,
|
|
156
160
|
ae as FormField,
|
|
157
161
|
ne as FormHelperText,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
162
|
+
xo as HoverCard,
|
|
163
|
+
So as HoverCardContent,
|
|
164
|
+
bo as HoverCardTrigger,
|
|
161
165
|
n as IconButton,
|
|
162
166
|
m as Input,
|
|
163
167
|
$ as InputOTP,
|
|
164
168
|
ee as InputOTPGroup,
|
|
165
169
|
oe as InputOTPSeparator,
|
|
166
170
|
re as InputOTPSlot,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
171
|
+
b as Label,
|
|
172
|
+
Za as Link,
|
|
173
|
+
It as Menubar,
|
|
174
|
+
Pt as MenubarCheckboxItem,
|
|
175
|
+
vt as MenubarContent,
|
|
176
|
+
At as MenubarGroup,
|
|
177
|
+
ht as MenubarItem,
|
|
178
|
+
wt as MenubarLabel,
|
|
179
|
+
kt as MenubarMenu,
|
|
180
|
+
Bt as MenubarPortal,
|
|
181
|
+
Vt as MenubarRadioGroup,
|
|
182
|
+
Gt as MenubarRadioItem,
|
|
183
|
+
Rt as MenubarSeparator,
|
|
184
|
+
Ft as MenubarShortcut,
|
|
185
|
+
Lt as MenubarSub,
|
|
186
|
+
Ht as MenubarSubContent,
|
|
187
|
+
Nt as MenubarSubTrigger,
|
|
188
|
+
Ot as MenubarTrigger,
|
|
189
|
+
cr as MultiProgressRing,
|
|
190
|
+
Yt as NavigationMenu,
|
|
191
|
+
Zt as NavigationMenuContent,
|
|
192
|
+
_t as NavigationMenuIndicator,
|
|
193
|
+
$t as NavigationMenuItem,
|
|
194
|
+
ea as NavigationMenuLink,
|
|
195
|
+
oa as NavigationMenuList,
|
|
196
|
+
ra as NavigationMenuTrigger,
|
|
197
|
+
ta as NavigationMenuViewport,
|
|
193
198
|
X as NumberInput,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
Et as PaginationContent,
|
|
200
|
+
Ut as PaginationEllipsis,
|
|
201
|
+
zt as PaginationItem,
|
|
202
|
+
jt as PaginationLink,
|
|
203
|
+
qt as PaginationNav,
|
|
204
|
+
Jt as PaginationNext,
|
|
205
|
+
Kt as PaginationPrevious,
|
|
206
|
+
Qt as PaginationRoot,
|
|
202
207
|
po as Popover,
|
|
203
208
|
uo as PopoverAnchor,
|
|
204
209
|
lo as PopoverContent,
|
|
205
210
|
mo as PopoverTrigger,
|
|
206
211
|
er as Progress,
|
|
212
|
+
Tr as ProgressRing,
|
|
207
213
|
k as RadioGroup,
|
|
208
214
|
B as RadioGroupItem,
|
|
209
215
|
Z as SearchInput,
|
|
210
|
-
|
|
211
|
-
|
|
216
|
+
Qa as SegmentedControl,
|
|
217
|
+
Wa as SegmentedControlItem,
|
|
212
218
|
F as Select,
|
|
213
219
|
L as SelectContent,
|
|
214
220
|
H as SelectGroup,
|
|
@@ -219,7 +225,7 @@ export {
|
|
|
219
225
|
U as SelectSeparator,
|
|
220
226
|
z as SelectTrigger,
|
|
221
227
|
j as SelectValue,
|
|
222
|
-
|
|
228
|
+
C as Separator,
|
|
223
229
|
Ee as Sheet,
|
|
224
230
|
Ue as SheetClose,
|
|
225
231
|
ze as SheetContent,
|
|
@@ -230,29 +236,29 @@ export {
|
|
|
230
236
|
Qe as SheetPortal,
|
|
231
237
|
We as SheetTitle,
|
|
232
238
|
Xe as SheetTrigger,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
239
|
+
na as Sidebar,
|
|
240
|
+
ia as SidebarContent,
|
|
241
|
+
pa as SidebarFooter,
|
|
242
|
+
ua as SidebarGroup,
|
|
243
|
+
la as SidebarGroupAction,
|
|
244
|
+
ma as SidebarGroupContent,
|
|
245
|
+
ga as SidebarGroupLabel,
|
|
246
|
+
da as SidebarHeader,
|
|
247
|
+
xa as SidebarInput,
|
|
248
|
+
Sa as SidebarInset,
|
|
249
|
+
ba as SidebarMenu,
|
|
250
|
+
fa as SidebarMenuAction,
|
|
251
|
+
Ca as SidebarMenuBadge,
|
|
252
|
+
sa as SidebarMenuButton,
|
|
253
|
+
Ma as SidebarMenuItem,
|
|
254
|
+
ca as SidebarMenuSkeleton,
|
|
255
|
+
Ta as SidebarMenuSub,
|
|
256
|
+
Da as SidebarMenuSubButton,
|
|
257
|
+
Ia as SidebarMenuSubItem,
|
|
258
|
+
Pa as SidebarProvider,
|
|
259
|
+
va as SidebarRail,
|
|
260
|
+
Aa as SidebarSeparator,
|
|
261
|
+
ha as SidebarTrigger,
|
|
256
262
|
ar as Skeleton,
|
|
257
263
|
nr as SkeletonAvatar,
|
|
258
264
|
ir as SkeletonButton,
|
|
@@ -263,10 +269,11 @@ export {
|
|
|
263
269
|
gr as SkeletonText,
|
|
264
270
|
ue as Slider,
|
|
265
271
|
ho as Spinner,
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
272
|
+
ya as Stack,
|
|
273
|
+
Sr as StatCard,
|
|
274
|
+
sr as StatusDot,
|
|
275
|
+
Ba as Step,
|
|
276
|
+
Va as Stepper,
|
|
270
277
|
G as Switch,
|
|
271
278
|
Jo as Table,
|
|
272
279
|
Ko as TableBody,
|
|
@@ -276,50 +283,50 @@ export {
|
|
|
276
283
|
Yo as TableHead,
|
|
277
284
|
Zo as TableHeader,
|
|
278
285
|
_o as TableRow,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
286
|
+
Gr as Tabs,
|
|
287
|
+
Rr as TabsContent,
|
|
288
|
+
Fr as TabsList,
|
|
289
|
+
Lr as TabsTrigger,
|
|
290
|
+
Ha as Text,
|
|
284
291
|
K as Textarea,
|
|
285
292
|
eo as Toaster,
|
|
286
293
|
me as Toggle,
|
|
287
|
-
|
|
288
|
-
|
|
294
|
+
xe as ToggleGroup,
|
|
295
|
+
Se as ToggleGroupItem,
|
|
289
296
|
ro as Tooltip,
|
|
290
297
|
to as TooltipContent,
|
|
291
298
|
ao as TooltipProvider,
|
|
292
299
|
no as TooltipTrigger,
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
300
|
+
ja as TreeItem,
|
|
301
|
+
qa as TreeView,
|
|
302
|
+
M as VisuallyHidden,
|
|
296
303
|
Do as alertVariants,
|
|
297
304
|
jo as avatarVariants,
|
|
298
305
|
Oo as badgeVariants,
|
|
299
|
-
|
|
306
|
+
vo as bannerVariants,
|
|
300
307
|
t as buttonVariants,
|
|
301
308
|
Lo as cardVariants,
|
|
302
|
-
|
|
303
|
-
|
|
309
|
+
Fa as chipVariants,
|
|
310
|
+
$a as cn,
|
|
304
311
|
Ze as formatFileSize,
|
|
305
|
-
|
|
306
|
-
|
|
312
|
+
on as formatRelativeTime,
|
|
313
|
+
Wt as generatePagination,
|
|
307
314
|
g as inputVariants,
|
|
308
315
|
or as progressIndicatorVariants,
|
|
309
316
|
rr as progressTrackVariants,
|
|
310
|
-
|
|
317
|
+
Xa as segmentedControlItemVariants,
|
|
311
318
|
q as selectTriggerVariants,
|
|
312
319
|
dr as skeletonVariants,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
320
|
+
tn as springs,
|
|
321
|
+
an as stagger,
|
|
322
|
+
Na as textVariants,
|
|
316
323
|
Q as textareaVariants,
|
|
317
324
|
_e as toast,
|
|
318
325
|
ge as toggleVariants,
|
|
319
|
-
|
|
326
|
+
nn as tweens,
|
|
320
327
|
u as useButtonGroup,
|
|
321
328
|
ie as useFormField,
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
329
|
+
wa as useSidebar,
|
|
330
|
+
Ja as useTree,
|
|
331
|
+
pn as withReducedMotion
|
|
325
332
|
};
|
package/dist/ui/input.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
export type InputState = 'default' | 'error' | 'warning' | 'success';
|
|
5
5
|
declare const inputVariants: (props?: ({
|
|
6
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
/**
|
|
9
9
|
* Props for Input — a single-line text field with size variants, validation state coloring,
|
package/dist/ui/input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/ui/input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;AAEpE,QAAA,MAAM,aAAa;;
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/ui/input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAKjE,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;AAEpE,QAAA,MAAM,aAAa;;8EAuBlB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAC/D,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,QAAA,MAAM,KAAK,qFA6CV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|
package/dist/ui/input.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
2
|
+
import { jsx as d, jsxs as v } from "react/jsx-runtime";
|
|
3
3
|
import * as g from "react";
|
|
4
4
|
import { ay as p } from "../_chunks/vendor-utils.js";
|
|
5
|
-
import { cn as
|
|
5
|
+
import { cn as o } from "./lib/utils.js";
|
|
6
6
|
import { motionProps as x } from "./lib/motion.js";
|
|
7
7
|
import { useFormField as h } from "./form.js";
|
|
8
8
|
import { m as w } from "../_chunks/framer.js";
|
|
@@ -21,6 +21,7 @@ const y = p(
|
|
|
21
21
|
{
|
|
22
22
|
variants: {
|
|
23
23
|
size: {
|
|
24
|
+
xs: "h-ds-xs-plus text-ds-sm px-ds-02",
|
|
24
25
|
sm: "h-ds-sm text-ds-sm px-ds-03",
|
|
25
26
|
md: "h-ds-md text-ds-md px-ds-04",
|
|
26
27
|
lg: "h-ds-lg text-ds-md px-ds-05"
|
|
@@ -29,13 +30,13 @@ const y = p(
|
|
|
29
30
|
defaultVariants: { size: "md" }
|
|
30
31
|
}
|
|
31
32
|
), N = g.forwardRef(
|
|
32
|
-
({ className: n, type: l, state: m, size:
|
|
33
|
-
const r = h(), i = m ?? (r.state === "helper" ? void 0 : r.state), f =
|
|
33
|
+
({ className: n, type: l, state: m, size: t = "md", startIcon: e, endIcon: s, ...a }, u) => {
|
|
34
|
+
const r = h(), i = m ?? (r.state === "helper" ? void 0 : r.state), f = a["aria-describedby"] ?? r.helperTextId, b = a["aria-required"] ?? r.required, c = /* @__PURE__ */ d(
|
|
34
35
|
w.input,
|
|
35
36
|
{
|
|
36
37
|
type: l,
|
|
37
|
-
className:
|
|
38
|
-
y({ size:
|
|
38
|
+
className: o(
|
|
39
|
+
y({ size: t }),
|
|
39
40
|
e && "pl-ds-07",
|
|
40
41
|
s && "pr-ds-07",
|
|
41
42
|
i === "error" && "border-error-7 focus-visible:ring-error-7",
|
|
@@ -47,13 +48,13 @@ const y = p(
|
|
|
47
48
|
"aria-describedby": f,
|
|
48
49
|
"aria-required": b || void 0,
|
|
49
50
|
ref: u,
|
|
50
|
-
...x(
|
|
51
|
+
...x(a)
|
|
51
52
|
}
|
|
52
53
|
);
|
|
53
54
|
return !e && !s ? c : /* @__PURE__ */ v("div", { className: "relative flex items-center w-full", children: [
|
|
54
|
-
e && /* @__PURE__ */
|
|
55
|
+
e && /* @__PURE__ */ d("span", { className: o("absolute left-ds-03 flex items-center text-surface-fg-muted pointer-events-none", t === "lg" ? "[&>svg]:h-ico-md [&>svg]:w-ico-md" : "[&>svg]:h-ico-sm [&>svg]:w-ico-sm"), children: e }),
|
|
55
56
|
c,
|
|
56
|
-
s && /* @__PURE__ */
|
|
57
|
+
s && /* @__PURE__ */ d("span", { className: o("absolute right-ds-03 flex items-center text-surface-fg-muted pointer-events-none", t === "lg" ? "[&>svg]:h-ico-md [&>svg]:w-ico-md" : "[&>svg]:h-ico-sm [&>svg]:w-ico-sm"), children: s })
|
|
57
58
|
] });
|
|
58
59
|
}
|
|
59
60
|
);
|
package/dist/ui/label.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as i, jsx as d } from "react/jsx-runtime";
|
|
3
3
|
import * as n from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { ah as a } from "../_chunks/primitives.js";
|
|
5
5
|
import { cn as m } from "./lib/utils.js";
|
|
6
6
|
const c = n.forwardRef(({ className: e, required: t, children: r, ...s }, o) => /* @__PURE__ */ i(
|
|
7
7
|
a,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* A circular progress indicator with optional label and animated fill.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <ProgressRing value={75} />
|
|
8
|
+
* <ProgressRing value={3} max={12} size="lg" color="warning" showValue />
|
|
9
|
+
*/
|
|
10
|
+
export interface ProgressRingProps extends Omit<React.SVGAttributes<SVGSVGElement>, 'color'> {
|
|
11
|
+
/** Current progress value */
|
|
12
|
+
value: number;
|
|
13
|
+
/** Maximum value @default 100 */
|
|
14
|
+
max?: number;
|
|
15
|
+
/** @default 'md' */
|
|
16
|
+
size?: 'sm' | 'md' | 'lg';
|
|
17
|
+
/** @default 'default' */
|
|
18
|
+
color?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
19
|
+
/** Show percentage text in center */
|
|
20
|
+
showValue?: boolean;
|
|
21
|
+
/** Accessible label */
|
|
22
|
+
label?: string;
|
|
23
|
+
}
|
|
24
|
+
declare const ProgressRing: React.ForwardRefExoticComponent<ProgressRingProps & React.RefAttributes<SVGSVGElement>>;
|
|
25
|
+
/**
|
|
26
|
+
* Multi-ring progress display (Activity Ring style).
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* <MultiProgressRing rings={[
|
|
30
|
+
* { value: 80, color: 'error', label: 'Move' },
|
|
31
|
+
* { value: 60, color: 'success', label: 'Exercise' },
|
|
32
|
+
* ]} size="lg" />
|
|
33
|
+
*/
|
|
34
|
+
export interface MultiProgressRingProps extends Omit<React.SVGAttributes<SVGSVGElement>, 'color'> {
|
|
35
|
+
rings: Array<{
|
|
36
|
+
value: number;
|
|
37
|
+
max?: number;
|
|
38
|
+
color?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
39
|
+
label?: string;
|
|
40
|
+
}>;
|
|
41
|
+
/** @default 'md' */
|
|
42
|
+
size?: 'sm' | 'md' | 'lg';
|
|
43
|
+
}
|
|
44
|
+
declare const MultiProgressRing: React.ForwardRefExoticComponent<MultiProgressRingProps & React.RefAttributes<SVGSVGElement>>;
|
|
45
|
+
export { ProgressRing, MultiProgressRing };
|
|
46
|
+
//# sourceMappingURL=progress-ring.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-ring.d.ts","sourceRoot":"","sources":["../../src/ui/progress-ring.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAmB9B;;;;;;GAMG;AACH,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IAC1F,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,oBAAoB;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,yBAAyB;IACzB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;IAC5D,qCAAqC;IACrC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,QAAA,MAAM,YAAY,yFA2EjB,CAAA;AAGD;;;;;;;;GAQG;AACH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC;IAC/F,KAAK,EAAE,KAAK,CAAC;QACX,KAAK,EAAE,MAAM,CAAA;QACb,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;QAC5D,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,CAAC,CAAA;IACF,oBAAoB;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC1B;AAED,QAAA,MAAM,iBAAiB,8FAsDtB,CAAA;AAGD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAA"}
|