laif-ds 0.2.36 → 0.2.38
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/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +5 -5
- package/dist/_virtual/index5.js +4 -4
- package/dist/components/ui/accordion.js +5 -5
- package/dist/components/ui/alert-dialog.js +6 -6
- package/dist/components/ui/breadcrumb.js +4 -4
- package/dist/components/ui/calendar.js +44 -44
- package/dist/components/ui/context-menu.js +13 -13
- package/dist/components/ui/date-picker.js +62 -54
- package/dist/components/ui/dialog.js +4 -4
- package/dist/components/ui/hover-card.js +4 -4
- package/dist/components/ui/input.js +138 -110
- package/dist/components/ui/menubar.js +14 -14
- package/dist/components/ui/popover.js +4 -4
- package/dist/components/ui/select.js +13 -13
- package/dist/components/ui/sheet.js +5 -5
- package/dist/components/ui/tabs.js +4 -4
- package/dist/index.d.ts +28 -6
- package/dist/index.js +144 -144
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +4 -4
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +5 -5
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +12 -12
- package/dist/node_modules/@radix-ui/react-menubar/dist/index.js +14 -14
- package/dist/node_modules/eventemitter3/index.js +1 -1
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/recharts/es6/util/Events.js +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/dist/node_modules/vaul/dist/index.js +3 -3
- package/dist/styles.v3.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { HTMLAttributes } from 'react';
|
|
|
26
26
|
import { JSX } from 'react/jsx-runtime';
|
|
27
27
|
import { JSX as JSX_2 } from 'react';
|
|
28
28
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
29
|
+
import { Locale } from 'date-fns';
|
|
29
30
|
import * as LucideIcons from 'lucide-react';
|
|
30
31
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
31
32
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
@@ -386,9 +387,7 @@ export declare const buttonVariants: (props?: ({
|
|
|
386
387
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
387
388
|
} & ClassProp) | undefined) => string;
|
|
388
389
|
|
|
389
|
-
export declare function Calendar({ className, classNames, showOutsideDays,
|
|
390
|
-
buttonVariant?: React_2.ComponentProps<typeof Button>["variant"];
|
|
391
|
-
}): JSX.Element;
|
|
390
|
+
export declare function Calendar({ className, classNames, showOutsideDays, buttonVariant, formatters, components, ...props }: CalendarProps): JSX.Element;
|
|
392
391
|
|
|
393
392
|
export declare interface CalendarAppointment {
|
|
394
393
|
id: number;
|
|
@@ -408,6 +407,10 @@ export declare interface CalendarAppointment {
|
|
|
408
407
|
groupBy?: string;
|
|
409
408
|
}
|
|
410
409
|
|
|
410
|
+
export declare type CalendarProps = React_2.ComponentProps<typeof DayPicker> & {
|
|
411
|
+
buttonVariant?: React_2.ComponentProps<typeof Button>["variant"];
|
|
412
|
+
};
|
|
413
|
+
|
|
411
414
|
export declare function Card({ className, size, ...props }: CardProps): JSX.Element;
|
|
412
415
|
|
|
413
416
|
export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
@@ -1052,9 +1055,9 @@ export declare interface DataTableState {
|
|
|
1052
1055
|
computedSorting?: DataTableSorting;
|
|
1053
1056
|
}
|
|
1054
1057
|
|
|
1055
|
-
export declare function DatePicker({ value, onChange, placeholder, dateFormat, className, buttonVariant, disabled, size, firstDate, lastDate, availableDates, }: DatePickerProps): JSX.Element;
|
|
1058
|
+
export declare function DatePicker({ value, onChange, placeholder, dateFormat, className, buttonVariant, disabled, size, firstDate, lastDate, availableDates, locale, initialCalendarMonth, customCalendarProps, }: DatePickerProps): JSX.Element;
|
|
1056
1059
|
|
|
1057
|
-
declare interface DatePickerProps {
|
|
1060
|
+
export declare interface DatePickerProps {
|
|
1058
1061
|
value?: Date;
|
|
1059
1062
|
onChange?: (date: Date | undefined) => void;
|
|
1060
1063
|
placeholder?: string;
|
|
@@ -1066,6 +1069,9 @@ declare interface DatePickerProps {
|
|
|
1066
1069
|
firstDate?: Date;
|
|
1067
1070
|
lastDate?: Date;
|
|
1068
1071
|
availableDates?: Date[];
|
|
1072
|
+
locale?: Partial<Locale>;
|
|
1073
|
+
initialCalendarMonth?: Date;
|
|
1074
|
+
customCalendarProps?: React_2.ComponentProps<typeof Calendar>;
|
|
1069
1075
|
}
|
|
1070
1076
|
|
|
1071
1077
|
export declare function Dialog({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
|
|
@@ -1337,7 +1343,9 @@ export declare interface InputProps extends Omit<React_2.ComponentProps<"input">
|
|
|
1337
1343
|
iconRight?: IconName;
|
|
1338
1344
|
startContent?: React_2.ReactNode;
|
|
1339
1345
|
endContent?: React_2.ReactNode;
|
|
1340
|
-
|
|
1346
|
+
validityI18n?: InputValidityI18n;
|
|
1347
|
+
showValidMessage?: boolean;
|
|
1348
|
+
showValidityMessage?: boolean;
|
|
1341
1349
|
}
|
|
1342
1350
|
|
|
1343
1351
|
export declare function InputSelector({ value, onChange, min, max, className, buttonClassName, counterClassName, }: InputSelectorProps): JSX.Element;
|
|
@@ -1352,6 +1360,20 @@ export declare interface InputSelectorProps {
|
|
|
1352
1360
|
counterClassName?: string;
|
|
1353
1361
|
}
|
|
1354
1362
|
|
|
1363
|
+
export declare interface InputValidityI18n {
|
|
1364
|
+
valid?: string;
|
|
1365
|
+
valueMissing?: string;
|
|
1366
|
+
typeMismatch?: string;
|
|
1367
|
+
patternMismatch?: string;
|
|
1368
|
+
tooLong?: string;
|
|
1369
|
+
tooShort?: string;
|
|
1370
|
+
rangeUnderflow?: string;
|
|
1371
|
+
rangeOverflow?: string;
|
|
1372
|
+
badInput?: string;
|
|
1373
|
+
stepMismatch?: string;
|
|
1374
|
+
customError?: string;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1355
1377
|
declare const inputVariants: (props?: ({
|
|
1356
1378
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1357
1379
|
} & ClassProp) | undefined) => string;
|
package/dist/index.js
CHANGED
|
@@ -27,34 +27,34 @@ import { AlertDialog as ge, AlertDialogAction as Ce, AlertDialogCancel as be, Al
|
|
|
27
27
|
import { AsyncSelect as Ie } from "./components/ui/async-select.js";
|
|
28
28
|
import { Calendar as he } from "./components/ui/calendar.js";
|
|
29
29
|
import { Card as Fe, CardContent as we, CardDescription as Ge, CardFooter as Le, CardHeader as Re, CardTitle as Be } from "./components/ui/card.js";
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
30
|
+
import { Command as ke, CommandDialog as ye, CommandEmpty as Ne, CommandGroup as Ve, CommandInput as ze, CommandItem as Ee, CommandList as Oe, CommandSeparator as Ue, CommandShortcut as We } from "./components/ui/command.js";
|
|
31
|
+
import { ContextMenu as qe, ContextMenuCheckboxItem as Je, ContextMenuContent as Ke, ContextMenuGroup as Qe, ContextMenuItem as Xe, ContextMenuLabel as Ye, ContextMenuPortal as Ze, ContextMenuRadioGroup as _e, ContextMenuRadioItem as $e, ContextMenuSeparator as er, ContextMenuShortcut as rr, ContextMenuSub as or, ContextMenuSubContent as tr, ContextMenuSubTrigger as ar, ContextMenuTrigger as nr } from "./components/ui/context-menu.js";
|
|
32
|
+
import { DatePicker as pr } from "./components/ui/date-picker.js";
|
|
33
|
+
import { Dialog as lr, DialogContent as ur, DialogDescription as xr, DialogFooter as dr, DialogHeader as fr, DialogTitle as gr, DialogTrigger as Cr } from "./components/ui/dialog.js";
|
|
34
|
+
import { Drawer as sr, DrawerContent as Sr, DrawerDescription as Mr, DrawerFooter as cr, DrawerHeader as Tr, DrawerTitle as Dr, DrawerTrigger as Ar } from "./components/ui/drawer.js";
|
|
35
|
+
import { Form as Pr, FormControl as hr, FormDescription as vr, FormField as Fr, FormItem as wr, FormLabel as Gr, FormMessage as Lr, useFormField as Rr } from "./components/ui/form.js";
|
|
36
|
+
import { HoverCard as Hr, HoverCardContent as kr, HoverCardTrigger as yr } from "./components/ui/hover-card.js";
|
|
37
|
+
import { InputSelector as Vr } from "./components/ui/input-selector.js";
|
|
38
|
+
import { Menubar as Er, MenubarCheckboxItem as Or, MenubarContent as Ur, MenubarGroup as Wr, MenubarItem as jr, MenubarLabel as qr, MenubarMenu as Jr, MenubarPortal as Kr, MenubarRadioGroup as Qr, MenubarRadioItem as Xr, MenubarSeparator as Yr, MenubarShortcut as Zr, MenubarSub as _r, MenubarSubContent as $r, MenubarSubTrigger as eo, MenubarTrigger as ro } from "./components/ui/menubar.js";
|
|
39
|
+
import { MultipleSelector as to } from "./components/ui/multiple-selector.js";
|
|
40
|
+
import { Pagination as no, PaginationContent as io, PaginationEllipsis as po, PaginationItem as mo, PaginationLink as lo, PaginationNext as uo, PaginationPrevious as xo } from "./components/ui/pagination.js";
|
|
41
|
+
import { Popover as go, PopoverContent as Co, PopoverTrigger as bo } from "./components/ui/popover.js";
|
|
42
|
+
import { PromptSuggestions as So } from "./components/ui/prompt-suggestions.js";
|
|
43
|
+
import { ResizableHandle as co, ResizablePanel as To, ResizablePanelGroup as Do } from "./components/ui/resizable.js";
|
|
44
|
+
import { ScrollArea as Io, ScrollBar as Po } from "./components/ui/scroll-area.js";
|
|
45
|
+
import { Select as vo, SelectContent as Fo, SelectGroup as wo, SelectItem as Go, SelectLabel as Lo, SelectSeparator as Ro, SelectTrigger as Bo, SelectValue as Ho } from "./components/ui/select.js";
|
|
46
|
+
import { Sheet as yo, SheetContent as No, SheetDescription as Vo, SheetFooter as zo, SheetHeader as Eo, SheetTitle as Oo, SheetTrigger as Uo } from "./components/ui/sheet.js";
|
|
47
|
+
import { Table as jo, TableBody as qo, TableCaption as Jo, TableCell as Ko, TableFooter as Qo, TableHead as Xo, TableHeader as Yo, TableRow as Zo } from "./components/ui/table.js";
|
|
48
|
+
import { Typo as $o } from "./components/ui/typo.js";
|
|
49
49
|
import { Tabs as rt, TabsContent as ot, TabsList as tt, TabsTrigger as at } from "./components/ui/tabs.js";
|
|
50
50
|
import { ToggleGroup as it, ToggleGroupItem as pt } from "./components/ui/toggle-group.js";
|
|
51
51
|
import { Breadcrumb as lt, BreadcrumbEllipsis as ut, BreadcrumbItem as xt, BreadcrumbLink as dt, BreadcrumbList as ft, BreadcrumbPage as gt, BreadcrumbSeparator as Ct } from "./components/ui/breadcrumb.js";
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
52
|
+
import { CircularProgress as st } from "./components/ui/charts/circular.js";
|
|
53
|
+
import { DropdownMenu as Mt, DropdownMenuContent as ct, DropdownMenuItem as Tt, DropdownMenuLabel as Dt, DropdownMenuSeparator as At, DropdownMenuTrigger as It } from "./components/ui/dropdown-menu.js";
|
|
54
|
+
import { Slider as ht } from "./components/ui/slider.js";
|
|
55
|
+
import { ThemeSwitcher as Ft } from "./components/ui/theme-switcher.js";
|
|
56
|
+
import { FilePreview as Gt } from "./components/ui/file-preview.js";
|
|
57
|
+
import { FileUploader as Rt } from "./components/ui/file-uploader.js";
|
|
58
58
|
import { AudioVisualizer as Ht } from "./components/ui/audio-visualizer.js";
|
|
59
59
|
import { Carousel as yt, CarouselContent as Nt, CarouselItem as Vt, CarouselNext as zt, CarouselPrevious as Et } from "./components/ui/carousel.js";
|
|
60
60
|
import { ChartContainer as Ut, ChartLegend as Wt, ChartLegendContent as jt, ChartStyle as qt, ChartTooltip as Jt, ChartTooltipContent as Kt } from "./components/ui/chart.js";
|
|
@@ -155,108 +155,108 @@ export {
|
|
|
155
155
|
da as ChatMessage,
|
|
156
156
|
ua as ChatMessages,
|
|
157
157
|
b as Checkbox,
|
|
158
|
-
|
|
158
|
+
st as CircularProgress,
|
|
159
159
|
S as Collapsible,
|
|
160
160
|
M as CollapsibleContent,
|
|
161
161
|
c as CollapsibleTrigger,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
162
|
+
ke as Command,
|
|
163
|
+
ye as CommandDialog,
|
|
164
|
+
Ne as CommandEmpty,
|
|
165
|
+
Ve as CommandGroup,
|
|
166
|
+
ze as CommandInput,
|
|
167
|
+
Ee as CommandItem,
|
|
168
|
+
Oe as CommandList,
|
|
169
|
+
Ue as CommandSeparator,
|
|
170
|
+
We as CommandShortcut,
|
|
171
171
|
ga as Confirmer,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
172
|
+
qe as ContextMenu,
|
|
173
|
+
Je as ContextMenuCheckboxItem,
|
|
174
|
+
Ke as ContextMenuContent,
|
|
175
|
+
Qe as ContextMenuGroup,
|
|
176
|
+
Xe as ContextMenuItem,
|
|
177
|
+
Ye as ContextMenuLabel,
|
|
178
|
+
Ze as ContextMenuPortal,
|
|
179
|
+
_e as ContextMenuRadioGroup,
|
|
180
|
+
$e as ContextMenuRadioItem,
|
|
181
|
+
er as ContextMenuSeparator,
|
|
182
|
+
rr as ContextMenuShortcut,
|
|
183
|
+
or as ContextMenuSub,
|
|
184
|
+
tr as ContextMenuSubContent,
|
|
185
|
+
ar as ContextMenuSubTrigger,
|
|
186
|
+
nr as ContextMenuTrigger,
|
|
187
187
|
D as CopyButton,
|
|
188
188
|
cn as DataCrossTable,
|
|
189
189
|
Dn as DataCrossTableButtonsGroup,
|
|
190
190
|
In as DataCrossTableProvider,
|
|
191
191
|
Ta as DataRepeatTypes,
|
|
192
192
|
hn as DataTable,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
193
|
+
pr as DatePicker,
|
|
194
|
+
lr as Dialog,
|
|
195
|
+
ur as DialogContent,
|
|
196
|
+
xr as DialogDescription,
|
|
197
|
+
dr as DialogFooter,
|
|
198
|
+
fr as DialogHeader,
|
|
199
|
+
gr as DialogTitle,
|
|
200
|
+
Cr as DialogTrigger,
|
|
201
201
|
Aa as DragStepSizes,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
202
|
+
sr as Drawer,
|
|
203
|
+
Sr as DrawerContent,
|
|
204
|
+
Mr as DrawerDescription,
|
|
205
|
+
cr as DrawerFooter,
|
|
206
|
+
Tr as DrawerHeader,
|
|
207
|
+
Dr as DrawerTitle,
|
|
208
|
+
Ar as DrawerTrigger,
|
|
209
|
+
Mt as DropdownMenu,
|
|
210
|
+
ct as DropdownMenuContent,
|
|
211
|
+
Tt as DropdownMenuItem,
|
|
212
|
+
Dt as DropdownMenuLabel,
|
|
213
|
+
At as DropdownMenuSeparator,
|
|
214
|
+
It as DropdownMenuTrigger,
|
|
215
215
|
Fn as ELogicalFilterOperator,
|
|
216
|
-
|
|
216
|
+
Gt as FilePreview,
|
|
217
217
|
sa as FilePreviewer,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
218
|
+
Rt as FileUploader,
|
|
219
|
+
Pr as Form,
|
|
220
|
+
hr as FormControl,
|
|
221
|
+
vr as FormDescription,
|
|
222
|
+
Fr as FormField,
|
|
223
|
+
wr as FormItem,
|
|
224
|
+
Gr as FormLabel,
|
|
225
|
+
Lr as FormMessage,
|
|
226
226
|
o as Gantt,
|
|
227
227
|
Pa as GanttConsts,
|
|
228
228
|
va as GanttDimensions,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
229
|
+
Hr as HoverCard,
|
|
230
|
+
kr as HoverCardContent,
|
|
231
|
+
yr as HoverCardTrigger,
|
|
232
232
|
I as Icon,
|
|
233
233
|
h as Input,
|
|
234
234
|
F as InputOTP,
|
|
235
235
|
w as InputOTPGroup,
|
|
236
236
|
G as InputOTPSlot,
|
|
237
|
-
|
|
237
|
+
Vr as InputSelector,
|
|
238
238
|
wa as InterruptPrompt,
|
|
239
239
|
R as Label,
|
|
240
240
|
La as MarkdownRenderer,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
241
|
+
Er as Menubar,
|
|
242
|
+
Or as MenubarCheckboxItem,
|
|
243
|
+
Ur as MenubarContent,
|
|
244
|
+
Wr as MenubarGroup,
|
|
245
|
+
jr as MenubarItem,
|
|
246
|
+
qr as MenubarLabel,
|
|
247
|
+
Jr as MenubarMenu,
|
|
248
|
+
Kr as MenubarPortal,
|
|
249
|
+
Qr as MenubarRadioGroup,
|
|
250
|
+
Xr as MenubarRadioItem,
|
|
251
|
+
Yr as MenubarSeparator,
|
|
252
|
+
Zr as MenubarShortcut,
|
|
253
|
+
_r as MenubarSub,
|
|
254
|
+
$r as MenubarSubContent,
|
|
255
|
+
eo as MenubarSubTrigger,
|
|
256
|
+
ro as MenubarTrigger,
|
|
257
257
|
Ba as MessageInput,
|
|
258
258
|
ka as MessageList,
|
|
259
|
-
|
|
259
|
+
to as MultipleSelector,
|
|
260
260
|
Na as NavigationMenu,
|
|
261
261
|
Va as NavigationMenuContent,
|
|
262
262
|
za as NavigationMenuIndicator,
|
|
@@ -265,42 +265,42 @@ export {
|
|
|
265
265
|
Ua as NavigationMenuList,
|
|
266
266
|
Wa as NavigationMenuTrigger,
|
|
267
267
|
ja as NavigationMenuViewport,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
268
|
+
no as Pagination,
|
|
269
|
+
io as PaginationContent,
|
|
270
|
+
po as PaginationEllipsis,
|
|
271
|
+
mo as PaginationItem,
|
|
272
|
+
lo as PaginationLink,
|
|
273
|
+
uo as PaginationNext,
|
|
274
|
+
xo as PaginationPrevious,
|
|
275
|
+
go as Popover,
|
|
276
|
+
Co as PopoverContent,
|
|
277
|
+
bo as PopoverTrigger,
|
|
278
278
|
H as Progress,
|
|
279
|
-
|
|
279
|
+
So as PromptSuggestions,
|
|
280
280
|
y as RadioGroup,
|
|
281
281
|
N as RadioGroupItem,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
282
|
+
co as ResizableHandle,
|
|
283
|
+
To as ResizablePanel,
|
|
284
|
+
Do as ResizablePanelGroup,
|
|
285
|
+
Io as ScrollArea,
|
|
286
|
+
Po as ScrollBar,
|
|
287
287
|
Ja as SecurePdfViewer,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
288
|
+
vo as Select,
|
|
289
|
+
Fo as SelectContent,
|
|
290
|
+
wo as SelectGroup,
|
|
291
|
+
Go as SelectItem,
|
|
292
|
+
Lo as SelectLabel,
|
|
293
|
+
Ro as SelectSeparator,
|
|
294
|
+
Bo as SelectTrigger,
|
|
295
|
+
Ho as SelectValue,
|
|
296
296
|
z as Separator,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
297
|
+
yo as Sheet,
|
|
298
|
+
No as SheetContent,
|
|
299
|
+
Vo as SheetDescription,
|
|
300
|
+
zo as SheetFooter,
|
|
301
|
+
Eo as SheetHeader,
|
|
302
|
+
Oo as SheetTitle,
|
|
303
|
+
Uo as SheetTrigger,
|
|
304
304
|
Qa as Sidebar,
|
|
305
305
|
Xa as SidebarContent,
|
|
306
306
|
Ya as SidebarFooter,
|
|
@@ -325,22 +325,22 @@ export {
|
|
|
325
325
|
bn as SidebarSeparator,
|
|
326
326
|
sn as SidebarTrigger,
|
|
327
327
|
O as Skeleton,
|
|
328
|
-
|
|
328
|
+
ht as Slider,
|
|
329
329
|
W as Switch,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
330
|
+
jo as Table,
|
|
331
|
+
qo as TableBody,
|
|
332
|
+
Jo as TableCaption,
|
|
333
|
+
Ko as TableCell,
|
|
334
|
+
Qo as TableFooter,
|
|
335
|
+
Xo as TableHead,
|
|
336
|
+
Yo as TableHeader,
|
|
337
|
+
Zo as TableRow,
|
|
338
338
|
rt as Tabs,
|
|
339
339
|
ot as TabsContent,
|
|
340
340
|
tt as TabsList,
|
|
341
341
|
at as TabsTrigger,
|
|
342
342
|
q as Textarea,
|
|
343
|
-
|
|
343
|
+
Ft as ThemeSwitcher,
|
|
344
344
|
K as Toaster,
|
|
345
345
|
X as Toggle,
|
|
346
346
|
it as ToggleGroup,
|
|
@@ -350,7 +350,7 @@ export {
|
|
|
350
350
|
ee as TooltipProvider,
|
|
351
351
|
re as TooltipTrigger,
|
|
352
352
|
te as TypingIndicator,
|
|
353
|
-
|
|
353
|
+
$o as Typo,
|
|
354
354
|
Gn as WeeklyCalendar,
|
|
355
355
|
x as badgeVariants,
|
|
356
356
|
g as buttonVariants,
|
|
@@ -370,7 +370,7 @@ export {
|
|
|
370
370
|
Kn as useCopyToClipboard,
|
|
371
371
|
Xn as useDebounce,
|
|
372
372
|
Xt as useEditorModal,
|
|
373
|
-
|
|
373
|
+
Rr as useFormField,
|
|
374
374
|
Zn as useIsMobile,
|
|
375
375
|
Sn as useSidebar
|
|
376
376
|
};
|
|
@@ -6,7 +6,7 @@ import { useComposedRefs as X } from "../../react-compose-refs/dist/index.js";
|
|
|
6
6
|
import { composeEventHandlers as Z } from "../../primitive/dist/index.js";
|
|
7
7
|
import { useControllableState as O } from "../../react-use-controllable-state/dist/index.js";
|
|
8
8
|
import { Primitive as T } from "../../react-primitive/dist/index.js";
|
|
9
|
-
import { createCollapsibleScope as M,
|
|
9
|
+
import { createCollapsibleScope as M, Content as $, Root as ee, Trigger as oe } from "../../react-collapsible/dist/index.js";
|
|
10
10
|
import { useId as re } from "../../react-id/dist/index.js";
|
|
11
11
|
import { useDirection as te } from "../../react-direction/dist/index.js";
|
|
12
12
|
import { jsx as n } from "react/jsx-runtime";
|
|
@@ -144,7 +144,7 @@ var [H, ae] = b(d), [K, le] = b(
|
|
|
144
144
|
disabled: v,
|
|
145
145
|
triggerId: p,
|
|
146
146
|
children: /* @__PURE__ */ n(
|
|
147
|
-
|
|
147
|
+
ee,
|
|
148
148
|
{
|
|
149
149
|
"data-orientation": r.orientation,
|
|
150
150
|
"data-state": B(m),
|
|
@@ -183,7 +183,7 @@ var y = "AccordionTrigger", j = s.forwardRef(
|
|
|
183
183
|
(o, c) => {
|
|
184
184
|
const { __scopeAccordion: e, ...t } = o, i = I(d, e), r = k(y, e), l = le(y, e), a = S(e);
|
|
185
185
|
return /* @__PURE__ */ n(E.ItemSlot, { scope: e, children: /* @__PURE__ */ n(
|
|
186
|
-
|
|
186
|
+
oe,
|
|
187
187
|
{
|
|
188
188
|
"aria-disabled": r.open && !l.collapsible || void 0,
|
|
189
189
|
"data-orientation": i.orientation,
|
|
@@ -200,7 +200,7 @@ var Y = "AccordionContent", q = s.forwardRef(
|
|
|
200
200
|
(o, c) => {
|
|
201
201
|
const { __scopeAccordion: e, ...t } = o, i = I(d, e), r = k(Y, e), l = S(e);
|
|
202
202
|
return /* @__PURE__ */ n(
|
|
203
|
-
|
|
203
|
+
$,
|
|
204
204
|
{
|
|
205
205
|
role: "region",
|
|
206
206
|
"aria-labelledby": r.triggerId,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as l from "react";
|
|
3
3
|
import { createContextScope as b } from "../../react-context/dist/index.js";
|
|
4
4
|
import { useComposedRefs as u } from "../../react-compose-refs/dist/index.js";
|
|
5
|
-
import { createDialogScope as v, Root as w,
|
|
5
|
+
import { createDialogScope as v, Root as w, Close as A, WarningProvider as M, Content as x, Description as I, Title as L, Trigger as $, Portal as F, Overlay as G } from "../../react-dialog/dist/index.js";
|
|
6
6
|
import { composeEventHandlers as j } from "../../primitive/dist/index.js";
|
|
7
7
|
import { createSlottable as W } from "../../react-slot/dist/index.js";
|
|
8
8
|
import { jsx as i, jsxs as Y } from "react/jsx-runtime";
|
|
@@ -16,7 +16,7 @@ D.displayName = f;
|
|
|
16
16
|
var B = "AlertDialogTrigger", m = l.forwardRef(
|
|
17
17
|
(e, o) => {
|
|
18
18
|
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
19
|
-
return /* @__PURE__ */ i(
|
|
19
|
+
return /* @__PURE__ */ i($, { ...a, ...t, ref: o });
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
m.displayName = B;
|
|
@@ -36,13 +36,13 @@ var s = "AlertDialogContent", [k, z] = q(s), J = W("AlertDialogContent"), N = l.
|
|
|
36
36
|
(e, o) => {
|
|
37
37
|
const { __scopeAlertDialog: r, children: t, ...a } = e, g = n(r), p = l.useRef(null), O = u(o, p), d = l.useRef(null);
|
|
38
38
|
return /* @__PURE__ */ i(
|
|
39
|
-
|
|
39
|
+
M,
|
|
40
40
|
{
|
|
41
41
|
contentName: s,
|
|
42
42
|
titleName: R,
|
|
43
43
|
docsSlug: "alert-dialog",
|
|
44
44
|
children: /* @__PURE__ */ i(k, { scope: r, cancelRef: d, children: /* @__PURE__ */ Y(
|
|
45
|
-
|
|
45
|
+
x,
|
|
46
46
|
{
|
|
47
47
|
role: "alertdialog",
|
|
48
48
|
...g,
|
|
@@ -73,7 +73,7 @@ var R = "AlertDialogTitle", C = l.forwardRef(
|
|
|
73
73
|
C.displayName = R;
|
|
74
74
|
var h = "AlertDialogDescription", E = l.forwardRef((e, o) => {
|
|
75
75
|
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
76
|
-
return /* @__PURE__ */ i(
|
|
76
|
+
return /* @__PURE__ */ i(I, { ...a, ...t, ref: o });
|
|
77
77
|
});
|
|
78
78
|
E.displayName = h;
|
|
79
79
|
var K = "AlertDialogAction", P = l.forwardRef(
|
|
@@ -3,7 +3,7 @@ import * as a from "react";
|
|
|
3
3
|
import { composeEventHandlers as f } from "../../primitive/dist/index.js";
|
|
4
4
|
import { createContextScope as B } from "../../react-context/dist/index.js";
|
|
5
5
|
import { Primitive as F } from "../../react-primitive/dist/index.js";
|
|
6
|
-
import { createMenuScope as h, Root as X,
|
|
6
|
+
import { createMenuScope as h, Root as X, CheckboxItem as j, ItemIndicator as H, Portal as W, Content as $, Group as K, Item as Y, Label as q, RadioGroup as z, RadioItem as J, Separator as Q, Sub as V, SubContent as Z, SubTrigger as ee, Anchor as te, Arrow as ne } from "../../react-menu/dist/index.js";
|
|
7
7
|
import { useCallbackRef as oe } from "../../react-use-callback-ref/dist/index.js";
|
|
8
8
|
import { useControllableState as re } from "../../react-use-controllable-state/dist/index.js";
|
|
9
9
|
import { jsx as u, jsxs as ae, Fragment as ue } from "react/jsx-runtime";
|
|
@@ -49,7 +49,7 @@ var _ = "ContextMenuTrigger", P = a.forwardRef(
|
|
|
49
49
|
c.current = { x: l.clientX, y: l.clientY }, d.onOpenChange(!0);
|
|
50
50
|
};
|
|
51
51
|
return a.useEffect(() => s, [s]), a.useEffect(() => void (t && s()), [t, s]), /* @__PURE__ */ ae(ue, { children: [
|
|
52
|
-
/* @__PURE__ */ u(
|
|
52
|
+
/* @__PURE__ */ u(te, { ...p, virtualRef: x }),
|
|
53
53
|
/* @__PURE__ */ u(
|
|
54
54
|
F.span,
|
|
55
55
|
{
|
|
@@ -78,14 +78,14 @@ var _ = "ContextMenuTrigger", P = a.forwardRef(
|
|
|
78
78
|
P.displayName = _;
|
|
79
79
|
var se = "ContextMenuPortal", S = (e) => {
|
|
80
80
|
const { __scopeContextMenu: n, ...o } = e, t = i(n);
|
|
81
|
-
return /* @__PURE__ */ u(
|
|
81
|
+
return /* @__PURE__ */ u(W, { ...t, ...o });
|
|
82
82
|
};
|
|
83
83
|
S.displayName = se;
|
|
84
84
|
var b = "ContextMenuContent", I = a.forwardRef(
|
|
85
85
|
(e, n) => {
|
|
86
86
|
const { __scopeContextMenu: o, ...t } = e, r = g(b, o), d = i(o), p = a.useRef(!1);
|
|
87
87
|
return /* @__PURE__ */ u(
|
|
88
|
-
|
|
88
|
+
$,
|
|
89
89
|
{
|
|
90
90
|
...d,
|
|
91
91
|
...t,
|
|
@@ -115,47 +115,47 @@ I.displayName = b;
|
|
|
115
115
|
var pe = "ContextMenuGroup", N = a.forwardRef(
|
|
116
116
|
(e, n) => {
|
|
117
117
|
const { __scopeContextMenu: o, ...t } = e, r = i(o);
|
|
118
|
-
return /* @__PURE__ */ u(
|
|
118
|
+
return /* @__PURE__ */ u(K, { ...r, ...t, ref: n });
|
|
119
119
|
}
|
|
120
120
|
);
|
|
121
121
|
N.displayName = pe;
|
|
122
122
|
var de = "ContextMenuLabel", w = a.forwardRef(
|
|
123
123
|
(e, n) => {
|
|
124
124
|
const { __scopeContextMenu: o, ...t } = e, r = i(o);
|
|
125
|
-
return /* @__PURE__ */ u(
|
|
125
|
+
return /* @__PURE__ */ u(q, { ...r, ...t, ref: n });
|
|
126
126
|
}
|
|
127
127
|
);
|
|
128
128
|
w.displayName = de;
|
|
129
129
|
var le = "ContextMenuItem", A = a.forwardRef(
|
|
130
130
|
(e, n) => {
|
|
131
131
|
const { __scopeContextMenu: o, ...t } = e, r = i(o);
|
|
132
|
-
return /* @__PURE__ */ u(
|
|
132
|
+
return /* @__PURE__ */ u(Y, { ...r, ...t, ref: n });
|
|
133
133
|
}
|
|
134
134
|
);
|
|
135
135
|
A.displayName = le;
|
|
136
136
|
var xe = "ContextMenuCheckboxItem", E = a.forwardRef((e, n) => {
|
|
137
137
|
const { __scopeContextMenu: o, ...t } = e, r = i(o);
|
|
138
|
-
return /* @__PURE__ */ u(
|
|
138
|
+
return /* @__PURE__ */ u(j, { ...r, ...t, ref: n });
|
|
139
139
|
});
|
|
140
140
|
E.displayName = xe;
|
|
141
141
|
var Ce = "ContextMenuRadioGroup", O = a.forwardRef((e, n) => {
|
|
142
142
|
const { __scopeContextMenu: o, ...t } = e, r = i(o);
|
|
143
|
-
return /* @__PURE__ */ u(
|
|
143
|
+
return /* @__PURE__ */ u(z, { ...r, ...t, ref: n });
|
|
144
144
|
});
|
|
145
145
|
O.displayName = Ce;
|
|
146
146
|
var me = "ContextMenuRadioItem", T = a.forwardRef((e, n) => {
|
|
147
147
|
const { __scopeContextMenu: o, ...t } = e, r = i(o);
|
|
148
|
-
return /* @__PURE__ */ u(
|
|
148
|
+
return /* @__PURE__ */ u(J, { ...r, ...t, ref: n });
|
|
149
149
|
});
|
|
150
150
|
T.displayName = me;
|
|
151
151
|
var fe = "ContextMenuItemIndicator", y = a.forwardRef((e, n) => {
|
|
152
152
|
const { __scopeContextMenu: o, ...t } = e, r = i(o);
|
|
153
|
-
return /* @__PURE__ */ u(
|
|
153
|
+
return /* @__PURE__ */ u(H, { ...r, ...t, ref: n });
|
|
154
154
|
});
|
|
155
155
|
y.displayName = fe;
|
|
156
156
|
var Me = "ContextMenuSeparator", G = a.forwardRef((e, n) => {
|
|
157
157
|
const { __scopeContextMenu: o, ...t } = e, r = i(o);
|
|
158
|
-
return /* @__PURE__ */ u(
|
|
158
|
+
return /* @__PURE__ */ u(Q, { ...r, ...t, ref: n });
|
|
159
159
|
});
|
|
160
160
|
G.displayName = Me;
|
|
161
161
|
var ve = "ContextMenuArrow", he = a.forwardRef(
|