@akira-io/ui 1.1.0 → 1.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/blocks.d.ts +27 -27
- package/dist/blocks.js +79 -66
- package/dist/blocks.js.map +1 -1
- package/dist/{chunk-SA5LM2GD.js → chunk-2HLBBU3O.js} +44 -20
- package/dist/chunk-2HLBBU3O.js.map +1 -0
- package/dist/{chunk-MNGNBEYN.js → chunk-3HKIYFWI.js} +263 -166
- package/dist/chunk-3HKIYFWI.js.map +1 -0
- package/dist/{chunk-UUTXPPRN.js → chunk-DW42Z75X.js} +147 -90
- package/dist/chunk-DW42Z75X.js.map +1 -0
- package/dist/{chunk-DSD7MVLL.js → chunk-I5UZAJB4.js} +13 -9
- package/dist/chunk-I5UZAJB4.js.map +1 -0
- package/dist/{chunk-JAHTUAQL.js → chunk-MCMBS2SB.js} +6 -5
- package/dist/chunk-MCMBS2SB.js.map +1 -0
- package/dist/{chunk-YOVY3KT6.js → chunk-NGMG2UWX.js} +3 -3
- package/dist/{chunk-YOVY3KT6.js.map → chunk-NGMG2UWX.js.map} +1 -1
- package/dist/{chunk-6QM5BA7B.js → chunk-O5DZTX7D.js} +40 -23
- package/dist/chunk-O5DZTX7D.js.map +1 -0
- package/dist/{chunk-5AJFQ6C4.js → chunk-QNF4LJVT.js} +2 -2
- package/dist/chunk-QNF4LJVT.js.map +1 -0
- package/dist/{chunk-LKSM3WLK.js → chunk-SBLZ6T3D.js} +6 -5
- package/dist/chunk-SBLZ6T3D.js.map +1 -0
- package/dist/{chunk-KYWA5UYN.js → chunk-SH5QZCOW.js} +46 -28
- package/dist/chunk-SH5QZCOW.js.map +1 -0
- package/dist/chunk-UTSTTTH5.js +48 -0
- package/dist/chunk-UTSTTTH5.js.map +1 -0
- package/dist/code.d.ts +5 -2
- package/dist/code.js +52 -53
- package/dist/code.js.map +1 -1
- package/dist/{context-VgHq4U98.d.ts → context-OwSoVEri.d.ts} +55 -27
- package/dist/editor.d.ts +8 -6
- package/dist/editor.js +31 -18
- package/dist/editor.js.map +1 -1
- package/dist/field-DWm5NXeV.d.ts +39 -0
- package/dist/index.d.ts +230 -238
- package/dist/index.js +451 -337
- package/dist/index.js.map +1 -1
- package/dist/inertia.d.ts +1 -1
- package/dist/inertia.js +6 -7
- package/dist/inertia.js.map +1 -1
- package/dist/{button-B6wQRe7p.d.ts → input-Dxnsxi-f.d.ts} +6 -2
- package/dist/{json-viewer-BTHBACj9.d.ts → json-viewer-BARA2RCW.d.ts} +3 -2
- package/dist/{language-Dgjr9bm3.d.ts → language-Cv_N_53L.d.ts} +5 -2
- package/dist/locales/pt.d.ts +9 -9
- package/dist/locales/pt.js +7 -1
- package/dist/locales/pt.js.map +1 -1
- package/dist/shells.d.ts +6 -7
- package/dist/shells.js +9 -9
- package/dist/shells.js.map +1 -1
- package/dist/sidebar-Bp6Q46j-.d.ts +80 -0
- package/dist/{types-CT0rBsFc.d.ts → types-B-eGPoFD.d.ts} +3 -2
- package/dist/{types-B4QS3h5p.d.ts → types-cmBL8zOc.d.ts} +4 -1
- package/package.json +3 -3
- package/dist/chunk-5AJFQ6C4.js.map +0 -1
- package/dist/chunk-6QM5BA7B.js.map +0 -1
- package/dist/chunk-6X4TKSF6.js +0 -21
- package/dist/chunk-6X4TKSF6.js.map +0 -1
- package/dist/chunk-DSD7MVLL.js.map +0 -1
- package/dist/chunk-JAHTUAQL.js.map +0 -1
- package/dist/chunk-KYWA5UYN.js.map +0 -1
- package/dist/chunk-LKSM3WLK.js.map +0 -1
- package/dist/chunk-MNGNBEYN.js.map +0 -1
- package/dist/chunk-SA5LM2GD.js.map +0 -1
- package/dist/chunk-UUEWFCKT.js +0 -28
- package/dist/chunk-UUEWFCKT.js.map +0 -1
- package/dist/chunk-UUTXPPRN.js.map +0 -1
- package/dist/input-4uxAHW6y.d.ts +0 -5
- package/dist/password-input-r39y2pCT.d.ts +0 -50
- package/dist/sidebar-BhOIlSjt.d.ts +0 -80
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, Label, DialogFooter } from './chunk-
|
|
2
|
-
import { useUiLabels } from './chunk-
|
|
3
|
-
import { Input } from './chunk-
|
|
4
|
-
import { elevatedSurface, cn, panelSurface, glassControl, controlFill, focusRing, nestedSurfaceReset, fieldSurface, Button, buttonVariants, modalSurface, menuSurface } from './chunk-
|
|
1
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, Label, DialogFooter } from './chunk-O5DZTX7D.js';
|
|
2
|
+
import { useUiLabels } from './chunk-QNF4LJVT.js';
|
|
3
|
+
import { Input } from './chunk-UTSTTTH5.js';
|
|
4
|
+
import { elevatedSurface, cn, panelSurface, glassControl, controlFill, focusRing, nestedSurfaceReset, fieldSurface, fieldFocus, Button, buttonVariants, modalSurface, menuSurface } from './chunk-I5UZAJB4.js';
|
|
5
5
|
import { Minus, AlertCircle, ChevronRight, ChevronLeftIcon, ChevronRightIcon, ChevronDownIcon, SearchIcon, SearchXIcon, CheckIcon, ChevronUpIcon, ArrowLeftIcon, XIcon } from 'lucide-react';
|
|
6
6
|
import * as React6 from 'react';
|
|
7
7
|
import { useId, useState, useEffect } from 'react';
|
|
@@ -35,7 +35,8 @@ function ConfirmDialog({
|
|
|
35
35
|
requiredValue,
|
|
36
36
|
requiredValueLabel = "Type {{value}} to confirm",
|
|
37
37
|
onConfirm,
|
|
38
|
-
onCancel
|
|
38
|
+
onCancel,
|
|
39
|
+
slotName = "confirm-dialog"
|
|
39
40
|
}) {
|
|
40
41
|
const labels = useUiLabels("confirmDialog", confirmDialogDefaultLabels, {
|
|
41
42
|
title,
|
|
@@ -65,7 +66,7 @@ function ConfirmDialog({
|
|
|
65
66
|
onCancel?.();
|
|
66
67
|
onOpenChange(false);
|
|
67
68
|
};
|
|
68
|
-
return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-w-md p-0",
|
|
69
|
+
return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-w-md p-0", slotName, children: [
|
|
69
70
|
/* @__PURE__ */ jsxs(DialogHeader, { className: "p-6 md:p-8", children: [
|
|
70
71
|
/* @__PURE__ */ jsx("div", { className: "mb-6 flex justify-center", children: /* @__PURE__ */ jsx(
|
|
71
72
|
"div",
|
|
@@ -136,7 +137,9 @@ var alertVariants = cva(
|
|
|
136
137
|
variants: {
|
|
137
138
|
variant: {
|
|
138
139
|
default: "bg-card/60 text-card-foreground",
|
|
139
|
-
destructive: "border-destructive/30 bg-destructive/10 text-destructive [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/80"
|
|
140
|
+
destructive: "border-destructive/30 bg-destructive/10 text-destructive [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/80",
|
|
141
|
+
warning: "ring-warning/20 bg-warning/10 text-warning *:data-[slot=alert-description]:text-warning/80",
|
|
142
|
+
info: "ring-info/20 bg-info/10 text-info *:data-[slot=alert-description]:text-info/80"
|
|
140
143
|
}
|
|
141
144
|
},
|
|
142
145
|
defaultVariants: {
|
|
@@ -144,47 +147,65 @@ var alertVariants = cva(
|
|
|
144
147
|
}
|
|
145
148
|
}
|
|
146
149
|
);
|
|
150
|
+
var alertDefaultLabels = {
|
|
151
|
+
warningLabel: "Warning",
|
|
152
|
+
infoLabel: "Information"
|
|
153
|
+
};
|
|
154
|
+
var SEVERITY_LABELS = {
|
|
155
|
+
warning: "warningLabel",
|
|
156
|
+
info: "infoLabel"
|
|
157
|
+
};
|
|
147
158
|
function Alert({
|
|
148
159
|
className,
|
|
149
160
|
variant,
|
|
161
|
+
labels,
|
|
162
|
+
slotName = "alert",
|
|
150
163
|
...props
|
|
151
164
|
}) {
|
|
165
|
+
const resolved = useUiLabels("alert", alertDefaultLabels, labels);
|
|
166
|
+
const severity = variant ? SEVERITY_LABELS[variant] : void 0;
|
|
152
167
|
return /* @__PURE__ */ jsx(
|
|
153
168
|
"div",
|
|
154
169
|
{
|
|
155
|
-
"data-slot": "alert",
|
|
156
170
|
role: "alert",
|
|
171
|
+
"aria-label": severity ? resolved[severity] : void 0,
|
|
157
172
|
className: cn(alertVariants({ variant }), className),
|
|
158
|
-
...props
|
|
173
|
+
...props,
|
|
174
|
+
"data-slot": slotName
|
|
159
175
|
}
|
|
160
176
|
);
|
|
161
177
|
}
|
|
162
|
-
function AlertTitle({
|
|
178
|
+
function AlertTitle({
|
|
179
|
+
className,
|
|
180
|
+
slotName = "alert-title",
|
|
181
|
+
...props
|
|
182
|
+
}) {
|
|
163
183
|
return /* @__PURE__ */ jsx(
|
|
164
184
|
"div",
|
|
165
185
|
{
|
|
166
|
-
"data-slot": "alert-title",
|
|
167
186
|
className: cn(
|
|
168
187
|
"min-h-4 font-medium tracking-tight col-start-2 line-clamp-1",
|
|
169
188
|
className
|
|
170
189
|
),
|
|
171
|
-
...props
|
|
190
|
+
...props,
|
|
191
|
+
"data-slot": slotName
|
|
172
192
|
}
|
|
173
193
|
);
|
|
174
194
|
}
|
|
175
195
|
function AlertDescription({
|
|
176
196
|
className,
|
|
197
|
+
slotName = "alert-description",
|
|
177
198
|
...props
|
|
178
199
|
}) {
|
|
179
200
|
return /* @__PURE__ */ jsx(
|
|
180
201
|
"div",
|
|
181
202
|
{
|
|
182
|
-
"data-slot": "alert-description",
|
|
183
203
|
className: cn(
|
|
184
204
|
"gap-1 text-sm [&_p]:leading-relaxed col-start-2 grid justify-items-start text-muted-foreground",
|
|
185
205
|
className
|
|
186
206
|
),
|
|
187
|
-
...props
|
|
207
|
+
...props,
|
|
208
|
+
"data-slot": slotName
|
|
188
209
|
}
|
|
189
210
|
);
|
|
190
211
|
}
|
|
@@ -196,6 +217,7 @@ function Calendar({
|
|
|
196
217
|
buttonVariant = "ghost",
|
|
197
218
|
formatters,
|
|
198
219
|
components,
|
|
220
|
+
slotName = "calendar",
|
|
199
221
|
...props
|
|
200
222
|
}) {
|
|
201
223
|
const defaultClassNames = getDefaultClassNames();
|
|
@@ -249,7 +271,7 @@ function Calendar({
|
|
|
249
271
|
defaultClassNames.dropdowns
|
|
250
272
|
),
|
|
251
273
|
dropdown_root: cn(
|
|
252
|
-
"shadow-xs rounded-xl relative border border-border has-focus:
|
|
274
|
+
"shadow-xs rounded-xl relative border border-border has-focus:outline-1 has-focus:outline-offset-0 has-focus:outline-ring has-focus:outline-solid",
|
|
253
275
|
defaultClassNames.dropdown_root
|
|
254
276
|
),
|
|
255
277
|
dropdown: cn(
|
|
@@ -316,10 +338,10 @@ function Calendar({
|
|
|
316
338
|
return /* @__PURE__ */ jsx(
|
|
317
339
|
"div",
|
|
318
340
|
{
|
|
319
|
-
"data-slot": "calendar",
|
|
320
341
|
ref: rootRef,
|
|
321
342
|
className: cn(className2),
|
|
322
|
-
...props2
|
|
343
|
+
...props2,
|
|
344
|
+
"data-slot": slotName
|
|
323
345
|
}
|
|
324
346
|
);
|
|
325
347
|
},
|
|
@@ -393,19 +415,20 @@ function CalendarDayButton({
|
|
|
393
415
|
}
|
|
394
416
|
function Command({
|
|
395
417
|
className,
|
|
418
|
+
slotName = "command",
|
|
396
419
|
...props
|
|
397
420
|
}) {
|
|
398
421
|
return /* @__PURE__ */ jsx(
|
|
399
422
|
Command$1,
|
|
400
423
|
{
|
|
401
|
-
"data-slot": "command",
|
|
402
424
|
className: cn(
|
|
403
425
|
elevatedSurface,
|
|
404
426
|
nestedSurfaceReset,
|
|
405
427
|
"flex h-full w-full flex-col overflow-hidden bg-card text-card-foreground",
|
|
406
428
|
className
|
|
407
429
|
),
|
|
408
|
-
...props
|
|
430
|
+
...props,
|
|
431
|
+
"data-slot": slotName
|
|
409
432
|
}
|
|
410
433
|
);
|
|
411
434
|
}
|
|
@@ -437,6 +460,7 @@ function CommandDialog({
|
|
|
437
460
|
}
|
|
438
461
|
function CommandInput({
|
|
439
462
|
className,
|
|
463
|
+
slotName = "command-input",
|
|
440
464
|
...props
|
|
441
465
|
}) {
|
|
442
466
|
return /* @__PURE__ */ jsx("div", { className: "shrink-0 border-b border-border", children: /* @__PURE__ */ jsxs(
|
|
@@ -452,12 +476,12 @@ function CommandInput({
|
|
|
452
476
|
/* @__PURE__ */ jsx(
|
|
453
477
|
Command$1.Input,
|
|
454
478
|
{
|
|
455
|
-
"data-slot": "command-input",
|
|
456
479
|
className: cn(
|
|
457
480
|
"h-11 text-sm font-medium flex w-full bg-transparent outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
458
481
|
className
|
|
459
482
|
),
|
|
460
|
-
...props
|
|
483
|
+
...props,
|
|
484
|
+
"data-slot": slotName
|
|
461
485
|
}
|
|
462
486
|
)
|
|
463
487
|
]
|
|
@@ -466,34 +490,36 @@ function CommandInput({
|
|
|
466
490
|
}
|
|
467
491
|
function CommandList({
|
|
468
492
|
className,
|
|
493
|
+
slotName = "command-list",
|
|
469
494
|
...props
|
|
470
495
|
}) {
|
|
471
496
|
return /* @__PURE__ */ jsx(
|
|
472
497
|
Command$1.List,
|
|
473
498
|
{
|
|
474
|
-
"data-slot": "command-list",
|
|
475
499
|
className: cn(
|
|
476
500
|
"scroll-py-1 max-h-[300px] overflow-x-hidden overflow-y-auto",
|
|
477
501
|
className
|
|
478
502
|
),
|
|
479
|
-
...props
|
|
503
|
+
...props,
|
|
504
|
+
"data-slot": slotName
|
|
480
505
|
}
|
|
481
506
|
);
|
|
482
507
|
}
|
|
483
508
|
function CommandEmpty({
|
|
484
509
|
className,
|
|
485
510
|
children,
|
|
511
|
+
slotName = "command-empty",
|
|
486
512
|
...props
|
|
487
513
|
}) {
|
|
488
514
|
return /* @__PURE__ */ jsxs(
|
|
489
515
|
Command$1.Empty,
|
|
490
516
|
{
|
|
491
|
-
"data-slot": "command-empty",
|
|
492
517
|
className: cn(
|
|
493
518
|
"gap-3 px-6 py-10 flex flex-col items-center justify-center text-center",
|
|
494
519
|
className
|
|
495
520
|
),
|
|
496
521
|
...props,
|
|
522
|
+
"data-slot": slotName,
|
|
497
523
|
children: [
|
|
498
524
|
/* @__PURE__ */ jsx("span", { className: "size-10 flex items-center justify-center rounded-full bg-surface-recessed text-muted-foreground", children: /* @__PURE__ */ jsx(SearchXIcon, { className: "size-5" }) }),
|
|
499
525
|
/* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children })
|
|
@@ -503,112 +529,128 @@ function CommandEmpty({
|
|
|
503
529
|
}
|
|
504
530
|
function CommandGroup({
|
|
505
531
|
className,
|
|
532
|
+
slotName = "command-group",
|
|
506
533
|
...props
|
|
507
534
|
}) {
|
|
508
535
|
return /* @__PURE__ */ jsx(
|
|
509
536
|
Command$1.Group,
|
|
510
537
|
{
|
|
511
|
-
"data-slot": "command-group",
|
|
512
538
|
className: cn(
|
|
513
539
|
"p-3 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium overflow-hidden text-foreground [&_[cmdk-group-heading]]:text-muted-foreground",
|
|
514
540
|
className
|
|
515
541
|
),
|
|
516
|
-
...props
|
|
542
|
+
...props,
|
|
543
|
+
"data-slot": slotName
|
|
517
544
|
}
|
|
518
545
|
);
|
|
519
546
|
}
|
|
520
547
|
function CommandSeparator({
|
|
521
548
|
className,
|
|
549
|
+
slotName = "command-separator",
|
|
522
550
|
...props
|
|
523
551
|
}) {
|
|
524
552
|
return /* @__PURE__ */ jsx(
|
|
525
553
|
Command$1.Separator,
|
|
526
554
|
{
|
|
527
|
-
"data-slot": "command-separator",
|
|
528
555
|
className: cn("mx-3 h-px bg-border", className),
|
|
529
|
-
...props
|
|
556
|
+
...props,
|
|
557
|
+
"data-slot": slotName
|
|
530
558
|
}
|
|
531
559
|
);
|
|
532
560
|
}
|
|
533
561
|
function CommandItem({
|
|
534
562
|
className,
|
|
563
|
+
slotName = "command-item",
|
|
535
564
|
...props
|
|
536
565
|
}) {
|
|
537
566
|
return /* @__PURE__ */ jsx(
|
|
538
567
|
Command$1.Item,
|
|
539
568
|
{
|
|
540
|
-
"data-slot": "command-item",
|
|
541
569
|
className: cn(
|
|
542
570
|
"gap-2 px-2 py-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 rounded-xl relative flex cursor-default items-center outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='text-'])]:text-muted-foreground",
|
|
543
571
|
className
|
|
544
572
|
),
|
|
545
|
-
...props
|
|
573
|
+
...props,
|
|
574
|
+
"data-slot": slotName
|
|
546
575
|
}
|
|
547
576
|
);
|
|
548
577
|
}
|
|
549
578
|
function CommandShortcut({
|
|
550
579
|
className,
|
|
580
|
+
slotName = "command-shortcut",
|
|
551
581
|
...props
|
|
552
582
|
}) {
|
|
553
583
|
return /* @__PURE__ */ jsx(
|
|
554
584
|
"span",
|
|
555
585
|
{
|
|
556
|
-
"data-slot": "command-shortcut",
|
|
557
586
|
className: cn(
|
|
558
587
|
"text-xs tracking-widest ml-auto text-muted-foreground",
|
|
559
588
|
className
|
|
560
589
|
),
|
|
561
|
-
...props
|
|
590
|
+
...props,
|
|
591
|
+
"data-slot": slotName
|
|
562
592
|
}
|
|
563
593
|
);
|
|
564
594
|
}
|
|
565
595
|
var Popover = Popover$1.Root;
|
|
566
596
|
var PopoverTrigger = Popover$1.Trigger;
|
|
567
597
|
var PopoverAnchor = Popover$1.Anchor;
|
|
568
|
-
var PopoverContent = React6.forwardRef(
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
sideOffset,
|
|
575
|
-
className: cn(
|
|
576
|
-
`${panelSurface} p-4 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-full origin-[--radix-popover-content-transform-origin] bg-popover/90 outline-none`,
|
|
577
|
-
className
|
|
578
|
-
),
|
|
598
|
+
var PopoverContent = React6.forwardRef(
|
|
599
|
+
({
|
|
600
|
+
className,
|
|
601
|
+
align = "center",
|
|
602
|
+
sideOffset = 4,
|
|
603
|
+
slotName = "popover-content",
|
|
579
604
|
...props
|
|
580
|
-
}
|
|
581
|
-
|
|
605
|
+
}, ref) => /* @__PURE__ */ jsx(Popover$1.Portal, { children: /* @__PURE__ */ jsx(
|
|
606
|
+
Popover$1.Content,
|
|
607
|
+
{
|
|
608
|
+
ref,
|
|
609
|
+
align,
|
|
610
|
+
sideOffset,
|
|
611
|
+
className: cn(
|
|
612
|
+
`${panelSurface} p-4 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-full origin-[--radix-popover-content-transform-origin] bg-popover/90 outline-none`,
|
|
613
|
+
className
|
|
614
|
+
),
|
|
615
|
+
...props,
|
|
616
|
+
"data-slot": slotName
|
|
617
|
+
}
|
|
618
|
+
) })
|
|
619
|
+
);
|
|
582
620
|
PopoverContent.displayName = Popover$1.Content.displayName;
|
|
583
621
|
function Select({
|
|
622
|
+
slotName = "select",
|
|
584
623
|
...props
|
|
585
624
|
}) {
|
|
586
|
-
return /* @__PURE__ */ jsx(SelectPrimitive.Root, { "data-slot":
|
|
625
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.Root, { ...props, "data-slot": slotName });
|
|
587
626
|
}
|
|
588
627
|
function SelectGroup({
|
|
628
|
+
slotName = "select-group",
|
|
589
629
|
...props
|
|
590
630
|
}) {
|
|
591
|
-
return /* @__PURE__ */ jsx(SelectPrimitive.Group, { "data-slot":
|
|
631
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.Group, { ...props, "data-slot": slotName });
|
|
592
632
|
}
|
|
593
633
|
function SelectValue({
|
|
634
|
+
slotName = "select-value",
|
|
594
635
|
...props
|
|
595
636
|
}) {
|
|
596
|
-
return /* @__PURE__ */ jsx(SelectPrimitive.Value, { "data-slot":
|
|
637
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.Value, { ...props, "data-slot": slotName });
|
|
597
638
|
}
|
|
598
639
|
function SelectTrigger({
|
|
599
640
|
className,
|
|
600
641
|
children,
|
|
642
|
+
slotName = "select-trigger",
|
|
601
643
|
...props
|
|
602
644
|
}) {
|
|
603
645
|
return /* @__PURE__ */ jsxs(
|
|
604
646
|
SelectPrimitive.Trigger,
|
|
605
647
|
{
|
|
606
|
-
"data-slot": "select-trigger",
|
|
607
648
|
className: cn(
|
|
608
|
-
`${fieldSurface} h-11 px-4 text-sm font-medium *:data-[slot=select-value]:gap-2 [&_svg:not([class*='size-'])]:size-4 flex w-full items-center justify-between transition-[color,box-shadow] disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0 [&>span]:line-clamp-1 ${
|
|
649
|
+
`${fieldSurface} h-11 px-4 text-sm font-medium *:data-[slot=select-value]:gap-2 [&_svg:not([class*='size-'])]:size-4 flex w-full items-center justify-between transition-[color,box-shadow] disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0 [&>span]:line-clamp-1 ${fieldFocus}`,
|
|
609
650
|
className
|
|
610
651
|
),
|
|
611
652
|
...props,
|
|
653
|
+
"data-slot": slotName,
|
|
612
654
|
children: [
|
|
613
655
|
children,
|
|
614
656
|
/* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4 opacity-50" }) })
|
|
@@ -620,12 +662,12 @@ function SelectContent({
|
|
|
620
662
|
className,
|
|
621
663
|
children,
|
|
622
664
|
position = "popper",
|
|
665
|
+
slotName = "select-content",
|
|
623
666
|
...props
|
|
624
667
|
}) {
|
|
625
668
|
return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
|
|
626
669
|
SelectPrimitive.Content,
|
|
627
670
|
{
|
|
628
|
-
"data-slot": "select-content",
|
|
629
671
|
className: cn(
|
|
630
672
|
`${menuSurface} max-h-96 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 relative z-50 min-w-[8rem] overflow-hidden bg-popover/95`,
|
|
631
673
|
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
@@ -633,6 +675,7 @@ function SelectContent({
|
|
|
633
675
|
),
|
|
634
676
|
position,
|
|
635
677
|
...props,
|
|
678
|
+
"data-slot": slotName,
|
|
636
679
|
children: [
|
|
637
680
|
/* @__PURE__ */ jsx(SelectScrollUpButton, {}),
|
|
638
681
|
/* @__PURE__ */ jsx(
|
|
@@ -652,34 +695,36 @@ function SelectContent({
|
|
|
652
695
|
}
|
|
653
696
|
function SelectLabel({
|
|
654
697
|
className,
|
|
698
|
+
slotName = "select-label",
|
|
655
699
|
...props
|
|
656
700
|
}) {
|
|
657
701
|
return /* @__PURE__ */ jsx(
|
|
658
702
|
SelectPrimitive.Label,
|
|
659
703
|
{
|
|
660
|
-
"data-slot": "select-label",
|
|
661
704
|
className: cn(
|
|
662
705
|
"px-2 py-1.5 text-xs font-medium tracking-wider text-muted-foreground uppercase",
|
|
663
706
|
className
|
|
664
707
|
),
|
|
665
|
-
...props
|
|
708
|
+
...props,
|
|
709
|
+
"data-slot": slotName
|
|
666
710
|
}
|
|
667
711
|
);
|
|
668
712
|
}
|
|
669
713
|
function SelectItem({
|
|
670
714
|
className,
|
|
671
715
|
children,
|
|
716
|
+
slotName = "select-item",
|
|
672
717
|
...props
|
|
673
718
|
}) {
|
|
674
719
|
return /* @__PURE__ */ jsxs(
|
|
675
720
|
SelectPrimitive.Item,
|
|
676
721
|
{
|
|
677
|
-
"data-slot": "select-item",
|
|
678
722
|
className: cn(
|
|
679
723
|
"gap-2 rounded-xl py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:gap-2 focus:font-semibold relative flex w-full cursor-default items-center outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center",
|
|
680
724
|
className
|
|
681
725
|
),
|
|
682
726
|
...props,
|
|
727
|
+
"data-slot": slotName,
|
|
683
728
|
children: [
|
|
684
729
|
/* @__PURE__ */ jsx("span", { className: "right-2 size-3.5 absolute flex items-center justify-center", children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) }) }),
|
|
685
730
|
/* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children })
|
|
@@ -689,50 +734,53 @@ function SelectItem({
|
|
|
689
734
|
}
|
|
690
735
|
function SelectSeparator({
|
|
691
736
|
className,
|
|
737
|
+
slotName = "select-separator",
|
|
692
738
|
...props
|
|
693
739
|
}) {
|
|
694
740
|
return /* @__PURE__ */ jsx(
|
|
695
741
|
SelectPrimitive.Separator,
|
|
696
742
|
{
|
|
697
|
-
"data-slot": "select-separator",
|
|
698
743
|
className: cn(
|
|
699
744
|
"-mx-1 my-1 pointer-events-none h-px bg-border",
|
|
700
745
|
className
|
|
701
746
|
),
|
|
702
|
-
...props
|
|
747
|
+
...props,
|
|
748
|
+
"data-slot": slotName
|
|
703
749
|
}
|
|
704
750
|
);
|
|
705
751
|
}
|
|
706
752
|
function SelectScrollUpButton({
|
|
707
753
|
className,
|
|
754
|
+
slotName = "select-scroll-up-button",
|
|
708
755
|
...props
|
|
709
756
|
}) {
|
|
710
757
|
return /* @__PURE__ */ jsx(
|
|
711
758
|
SelectPrimitive.ScrollUpButton,
|
|
712
759
|
{
|
|
713
|
-
"data-slot": "select-scroll-up-button",
|
|
714
760
|
className: cn(
|
|
715
761
|
"py-1 flex cursor-default items-center justify-center",
|
|
716
762
|
className
|
|
717
763
|
),
|
|
718
764
|
...props,
|
|
765
|
+
"data-slot": slotName,
|
|
719
766
|
children: /* @__PURE__ */ jsx(ChevronUpIcon, { className: "size-4" })
|
|
720
767
|
}
|
|
721
768
|
);
|
|
722
769
|
}
|
|
723
770
|
function SelectScrollDownButton({
|
|
724
771
|
className,
|
|
772
|
+
slotName = "select-scroll-down-button",
|
|
725
773
|
...props
|
|
726
774
|
}) {
|
|
727
775
|
return /* @__PURE__ */ jsx(
|
|
728
776
|
SelectPrimitive.ScrollDownButton,
|
|
729
777
|
{
|
|
730
|
-
"data-slot": "select-scroll-down-button",
|
|
731
778
|
className: cn(
|
|
732
779
|
"py-1 flex cursor-default items-center justify-center",
|
|
733
780
|
className
|
|
734
781
|
),
|
|
735
782
|
...props,
|
|
783
|
+
"data-slot": slotName,
|
|
736
784
|
children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4" })
|
|
737
785
|
}
|
|
738
786
|
);
|
|
@@ -748,7 +796,12 @@ function useField() {
|
|
|
748
796
|
}
|
|
749
797
|
return field;
|
|
750
798
|
}
|
|
751
|
-
function FieldError({
|
|
799
|
+
function FieldError({
|
|
800
|
+
message,
|
|
801
|
+
className,
|
|
802
|
+
slotName = "field-error",
|
|
803
|
+
...props
|
|
804
|
+
}) {
|
|
752
805
|
const field = useOptionalField();
|
|
753
806
|
if (!message) {
|
|
754
807
|
return null;
|
|
@@ -761,8 +814,8 @@ function FieldError({ message, className, ...props }) {
|
|
|
761
814
|
"ml-1 text-xs font-medium text-destructive group-data-[orientation=horizontal]/field:col-span-2 group-data-[orientation=horizontal]/field:row-start-3",
|
|
762
815
|
className
|
|
763
816
|
),
|
|
764
|
-
"data-slot": "field-error",
|
|
765
817
|
...props,
|
|
818
|
+
"data-slot": slotName,
|
|
766
819
|
children: message
|
|
767
820
|
}
|
|
768
821
|
);
|
|
@@ -784,7 +837,8 @@ function useFloatingSheetStack() {
|
|
|
784
837
|
}
|
|
785
838
|
function FloatingSheetStack({
|
|
786
839
|
children,
|
|
787
|
-
labels
|
|
840
|
+
labels,
|
|
841
|
+
slotName = "floating-sheet-stack"
|
|
788
842
|
}) {
|
|
789
843
|
const { backLabel, closeLabel } = useUiLabels(
|
|
790
844
|
"floatingSheet",
|
|
@@ -848,7 +902,6 @@ function FloatingSheetStack({
|
|
|
848
902
|
/* @__PURE__ */ jsxs(
|
|
849
903
|
DialogPrimitive.Content,
|
|
850
904
|
{
|
|
851
|
-
"data-slot": "floating-sheet-stack",
|
|
852
905
|
"aria-describedby": void 0,
|
|
853
906
|
onEscapeKeyDown: (event) => {
|
|
854
907
|
event.preventDefault();
|
|
@@ -864,6 +917,7 @@ function FloatingSheetStack({
|
|
|
864
917
|
onOpenAutoFocus: (event) => event.preventDefault(),
|
|
865
918
|
onCloseAutoFocus: (event) => event.preventDefault(),
|
|
866
919
|
className: "inset-y-0 right-0 sm:inset-y-4 sm:right-4 sm:w-[calc(100vw-2rem)] sm:max-w-lg fixed z-50 w-full outline-none",
|
|
920
|
+
"data-slot": slotName,
|
|
867
921
|
children: [
|
|
868
922
|
/* @__PURE__ */ jsx(DialogPrimitive.Title, { className: "sr-only", children: top?.title }),
|
|
869
923
|
/* @__PURE__ */ jsx(
|
|
@@ -890,6 +944,7 @@ function FloatingSheet({
|
|
|
890
944
|
persistent = false,
|
|
891
945
|
className,
|
|
892
946
|
children,
|
|
947
|
+
slotName = "floating-sheet",
|
|
893
948
|
...props
|
|
894
949
|
}) {
|
|
895
950
|
const { labels, container, entries, register, unregister, closeAll } = useFloatingSheetStack();
|
|
@@ -958,7 +1013,6 @@ function FloatingSheet({
|
|
|
958
1013
|
"section",
|
|
959
1014
|
{
|
|
960
1015
|
ref: panelRef,
|
|
961
|
-
"data-slot": "floating-sheet",
|
|
962
1016
|
"data-depth": depth,
|
|
963
1017
|
role: "dialog",
|
|
964
1018
|
"aria-labelledby": titleId,
|
|
@@ -976,12 +1030,13 @@ function FloatingSheet({
|
|
|
976
1030
|
className
|
|
977
1031
|
),
|
|
978
1032
|
...props,
|
|
1033
|
+
"data-slot": slotName,
|
|
979
1034
|
children: [
|
|
980
1035
|
/* @__PURE__ */ jsxs(
|
|
981
1036
|
"header",
|
|
982
1037
|
{
|
|
983
1038
|
"data-slot": "floating-sheet-header",
|
|
984
|
-
className: "gap-1 p-5 flex flex-col
|
|
1039
|
+
className: "gap-1 p-5 flex flex-col",
|
|
985
1040
|
children: [
|
|
986
1041
|
index > 0 ? /* @__PURE__ */ jsxs(
|
|
987
1042
|
"button",
|
|
@@ -1043,30 +1098,32 @@ function FloatingSheet({
|
|
|
1043
1098
|
}
|
|
1044
1099
|
function FloatingSheetBody({
|
|
1045
1100
|
className,
|
|
1101
|
+
slotName = "floating-sheet-body",
|
|
1046
1102
|
...props
|
|
1047
1103
|
}) {
|
|
1048
1104
|
return /* @__PURE__ */ jsx(
|
|
1049
1105
|
"div",
|
|
1050
1106
|
{
|
|
1051
|
-
"data-slot": "floating-sheet-body",
|
|
1052
1107
|
className: cn("p-5 flex-1 overflow-y-auto", className),
|
|
1053
|
-
...props
|
|
1108
|
+
...props,
|
|
1109
|
+
"data-slot": slotName
|
|
1054
1110
|
}
|
|
1055
1111
|
);
|
|
1056
1112
|
}
|
|
1057
1113
|
function FloatingSheetFooter({
|
|
1058
1114
|
className,
|
|
1115
|
+
slotName = "floating-sheet-footer",
|
|
1059
1116
|
...props
|
|
1060
1117
|
}) {
|
|
1061
1118
|
return /* @__PURE__ */ jsx(
|
|
1062
1119
|
"div",
|
|
1063
1120
|
{
|
|
1064
|
-
"data-slot": "floating-sheet-footer",
|
|
1065
1121
|
className: cn(
|
|
1066
|
-
"gap-2 p-5 mt-auto flex items-center justify-end
|
|
1122
|
+
"gap-2 p-5 mt-auto flex items-center justify-end",
|
|
1067
1123
|
className
|
|
1068
1124
|
),
|
|
1069
|
-
...props
|
|
1125
|
+
...props,
|
|
1126
|
+
"data-slot": slotName
|
|
1070
1127
|
}
|
|
1071
1128
|
);
|
|
1072
1129
|
}
|
|
@@ -1085,14 +1142,13 @@ var InputOTP = React6.forwardRef(({ className, containerClassName, ...props }, r
|
|
|
1085
1142
|
InputOTP.displayName = "InputOTP";
|
|
1086
1143
|
var InputOTPGroup = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props }));
|
|
1087
1144
|
InputOTPGroup.displayName = "InputOTPGroup";
|
|
1088
|
-
var InputOTPSlot = React6.forwardRef(({ index, className, ...props }, ref) => {
|
|
1145
|
+
var InputOTPSlot = React6.forwardRef(({ index, className, slotName = "input-otp-slot", ...props }, ref) => {
|
|
1089
1146
|
const inputOTPContext = React6.useContext(OTPInputContext);
|
|
1090
1147
|
const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
|
|
1091
1148
|
return /* @__PURE__ */ jsxs(
|
|
1092
1149
|
"div",
|
|
1093
1150
|
{
|
|
1094
1151
|
ref,
|
|
1095
|
-
"data-slot": "input-otp-slot",
|
|
1096
1152
|
className: cn(
|
|
1097
1153
|
glassControl,
|
|
1098
1154
|
controlFill,
|
|
@@ -1101,6 +1157,7 @@ var InputOTPSlot = React6.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
1101
1157
|
className
|
|
1102
1158
|
),
|
|
1103
1159
|
...props,
|
|
1160
|
+
"data-slot": slotName,
|
|
1104
1161
|
children: [
|
|
1105
1162
|
char,
|
|
1106
1163
|
hasFakeCaret && /* @__PURE__ */ jsx("div", { className: "inset-0 pointer-events-none absolute flex items-center justify-center", children: /* @__PURE__ */ jsx("div", { className: "h-4 animate-caret-blink w-px bg-foreground duration-1000" }) })
|
|
@@ -1111,16 +1168,16 @@ var InputOTPSlot = React6.forwardRef(({ index, className, ...props }, ref) => {
|
|
|
1111
1168
|
InputOTPSlot.displayName = "InputOTPSlot";
|
|
1112
1169
|
var InputOTPSeparator = React6.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx(Minus, {}) }));
|
|
1113
1170
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
1114
|
-
var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1171
|
+
var Switch = React6.forwardRef(({ className, slotName = "switch", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1115
1172
|
SwitchPrimitives.Root,
|
|
1116
1173
|
{
|
|
1117
|
-
"data-slot": "switch",
|
|
1118
1174
|
className: cn(
|
|
1119
1175
|
`peer h-6 w-11 shadow-sm inline-flex shrink-0 cursor-pointer items-center rounded-full border border-transparent transition-colors disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input ${focusRing}`,
|
|
1120
1176
|
className
|
|
1121
1177
|
),
|
|
1122
1178
|
...props,
|
|
1123
1179
|
ref,
|
|
1180
|
+
"data-slot": slotName,
|
|
1124
1181
|
children: /* @__PURE__ */ jsx(
|
|
1125
1182
|
SwitchPrimitives.Thumb,
|
|
1126
1183
|
{
|
|
@@ -1133,38 +1190,37 @@ var Switch = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
1133
1190
|
}
|
|
1134
1191
|
));
|
|
1135
1192
|
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
1136
|
-
var Tabs = React6.forwardRef((props, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Root, { "data-slot":
|
|
1193
|
+
var Tabs = React6.forwardRef(({ slotName = "tabs", ...props }, ref) => /* @__PURE__ */ jsx(TabsPrimitive.Root, { ref, ...props, "data-slot": slotName }));
|
|
1137
1194
|
Tabs.displayName = TabsPrimitive.Root.displayName;
|
|
1138
|
-
var TabsList = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1195
|
+
var TabsList = React6.forwardRef(({ className, slotName = "tabs-list", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1139
1196
|
TabsPrimitive.List,
|
|
1140
1197
|
{
|
|
1141
|
-
"data-slot": "tabs-list",
|
|
1142
1198
|
ref,
|
|
1143
1199
|
className: cn(
|
|
1144
1200
|
"h-11 p-1.5 rounded-2xl inline-flex items-center justify-center bg-muted text-muted-foreground",
|
|
1145
1201
|
className
|
|
1146
1202
|
),
|
|
1147
|
-
...props
|
|
1203
|
+
...props,
|
|
1204
|
+
"data-slot": slotName
|
|
1148
1205
|
}
|
|
1149
1206
|
));
|
|
1150
1207
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
1151
|
-
var TabsTrigger = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1208
|
+
var TabsTrigger = React6.forwardRef(({ className, slotName = "tabs-trigger", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1152
1209
|
TabsPrimitive.Trigger,
|
|
1153
1210
|
{
|
|
1154
|
-
"data-slot": "tabs-trigger",
|
|
1155
1211
|
ref,
|
|
1156
1212
|
className: cn(
|
|
1157
1213
|
`px-4 text-sm font-medium data-[state=active]:shadow-sm h-8 rounded-xl data-[state=active]:font-semibold inline-flex items-center justify-center whitespace-nowrap transition-all disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground ${focusRing}`,
|
|
1158
1214
|
className
|
|
1159
1215
|
),
|
|
1160
|
-
...props
|
|
1216
|
+
...props,
|
|
1217
|
+
"data-slot": slotName
|
|
1161
1218
|
}
|
|
1162
1219
|
));
|
|
1163
1220
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
1164
|
-
var TabsContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1221
|
+
var TabsContent = React6.forwardRef(({ className, slotName = "tabs-content", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1165
1222
|
TabsPrimitive.Content,
|
|
1166
1223
|
{
|
|
1167
|
-
"data-slot": "tabs-content",
|
|
1168
1224
|
ref,
|
|
1169
1225
|
className: cn(
|
|
1170
1226
|
elevatedSurface,
|
|
@@ -1172,29 +1228,30 @@ var TabsContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
1172
1228
|
`mt-2 p-5 bg-card ${focusRing}`,
|
|
1173
1229
|
className
|
|
1174
1230
|
),
|
|
1175
|
-
...props
|
|
1231
|
+
...props,
|
|
1232
|
+
"data-slot": slotName
|
|
1176
1233
|
}
|
|
1177
1234
|
));
|
|
1178
1235
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
1179
|
-
var Textarea = React6.forwardRef(({ className, ...props }, ref) => {
|
|
1236
|
+
var Textarea = React6.forwardRef(({ className, slotName = "textarea", ...props }, ref) => {
|
|
1180
1237
|
return /* @__PURE__ */ jsx(
|
|
1181
1238
|
"textarea",
|
|
1182
1239
|
{
|
|
1183
|
-
"data-slot": "textarea",
|
|
1184
1240
|
className: cn(
|
|
1185
1241
|
fieldSurface,
|
|
1186
1242
|
"px-4 py-3 text-sm font-medium min-h-24 flex w-full resize-none transition-[color,box-shadow] selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
|
|
1187
|
-
|
|
1243
|
+
fieldFocus,
|
|
1188
1244
|
"aria-invalid:border-destructive aria-invalid:ring-destructive/20",
|
|
1189
1245
|
className
|
|
1190
1246
|
),
|
|
1191
1247
|
ref,
|
|
1192
|
-
...props
|
|
1248
|
+
...props,
|
|
1249
|
+
"data-slot": slotName
|
|
1193
1250
|
}
|
|
1194
1251
|
);
|
|
1195
1252
|
});
|
|
1196
1253
|
Textarea.displayName = "Textarea";
|
|
1197
1254
|
|
|
1198
|
-
export { Alert, AlertDescription, AlertTitle, Calendar, CalendarDayButton, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, FieldContext, FieldError, FloatingSheet, FloatingSheetBody, FloatingSheetFooter, FloatingSheetStack, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, confirmDialogDefaultLabels, floatingSheetDefaultLabels, useField };
|
|
1199
|
-
//# sourceMappingURL=chunk-
|
|
1200
|
-
//# sourceMappingURL=chunk-
|
|
1255
|
+
export { Alert, AlertDescription, AlertTitle, Calendar, CalendarDayButton, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, FieldContext, FieldError, FloatingSheet, FloatingSheetBody, FloatingSheetFooter, FloatingSheetStack, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, alertDefaultLabels, confirmDialogDefaultLabels, floatingSheetDefaultLabels, useField };
|
|
1256
|
+
//# sourceMappingURL=chunk-DW42Z75X.js.map
|
|
1257
|
+
//# sourceMappingURL=chunk-DW42Z75X.js.map
|