luaniverse 4.2.4 → 4.2.6
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/index.cjs +632 -256
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +632 -256
- package/dist/index.js.map +1 -1
- package/dist/safelist.js +469 -52
- package/dist/safelist.txt +397 -54
- package/dist/styles.css +100 -118
- package/dist/tailwind.preset.js +2 -2
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -134,62 +134,55 @@ var LogoSpinner = ({
|
|
|
134
134
|
var buttonVariants = cva(
|
|
135
135
|
[
|
|
136
136
|
"lua:flex lua:items-center lua:justify-center lua:rounded-full lua:font-onest lua:font-semibold lua:leading-5 lua:transition-all lua:focus-visible:outline-hidden lua:gap-2 lua:cursor-pointer",
|
|
137
|
-
"lua:disabled:pointer-events-none lua:disabled:
|
|
138
|
-
"lua:focus-visible:ring-2 lua:focus-visible:ring-offset-2 lua:focus-visible:ring-
|
|
137
|
+
"lua:disabled:pointer-events-none lua:disabled:opacity-50",
|
|
138
|
+
"lua:focus-visible:ring-2 lua:focus-visible:ring-offset-2 lua:focus-visible:ring-ring"
|
|
139
139
|
].join(" "),
|
|
140
140
|
{
|
|
141
141
|
variants: {
|
|
142
142
|
variant: {
|
|
143
143
|
default: [
|
|
144
|
-
"lua:bg-
|
|
145
|
-
"lua:hover:bg-
|
|
146
|
-
"lua:active:bg-
|
|
147
|
-
"lua:focus-visible:bg-black lua:focus-visible:ring-black"
|
|
144
|
+
"lua:bg-default lua:text-default-foreground",
|
|
145
|
+
"lua:hover:bg-default-hover",
|
|
146
|
+
"lua:active:bg-default-active"
|
|
148
147
|
].join(" "),
|
|
149
148
|
primary: [
|
|
150
|
-
"lua:bg-
|
|
151
|
-
"lua:hover:bg-
|
|
152
|
-
"lua:active:bg-
|
|
153
|
-
"lua:focus-visible:bg-blue-600 lua:focus-visible:ring-blue-600"
|
|
149
|
+
"lua:bg-primary lua:text-primary-foreground",
|
|
150
|
+
"lua:hover:bg-primary-hover",
|
|
151
|
+
"lua:active:bg-primary-active"
|
|
154
152
|
].join(" "),
|
|
155
153
|
outline: [
|
|
156
|
-
"lua:border lua:border-
|
|
157
|
-
"lua:hover:bg-
|
|
158
|
-
"lua:active:bg-
|
|
159
|
-
"lua:focus-visible:ring-blue-600"
|
|
154
|
+
"lua:border lua:border-primary lua:bg-card lua:text-primary",
|
|
155
|
+
"lua:hover:bg-primary lua:hover:text-primary-foreground lua:hover:border-primary",
|
|
156
|
+
"lua:active:bg-primary-hover lua:active:border-primary-hover"
|
|
160
157
|
].join(" "),
|
|
161
158
|
tertiary: [
|
|
162
|
-
"lua:bg-
|
|
163
|
-
"lua:hover:bg-
|
|
164
|
-
"lua:active:bg-
|
|
165
|
-
"lua:focus-visible:bg-neutral-100 lua:focus-visible:border-neutral-500 lua:focus-visible:ring-black"
|
|
159
|
+
"lua:bg-card lua:border lua:border-border lua:text-card-foreground",
|
|
160
|
+
"lua:hover:bg-secondary",
|
|
161
|
+
"lua:active:bg-secondary-hover"
|
|
166
162
|
].join(" "),
|
|
167
163
|
secondary: [
|
|
168
|
-
"lua:bg-
|
|
169
|
-
"lua:hover:bg-
|
|
170
|
-
"lua:active:bg-
|
|
171
|
-
"lua:focus-visible:bg-gray-100 lua:focus-visible:ring-black"
|
|
164
|
+
"lua:bg-secondary lua:text-secondary-foreground",
|
|
165
|
+
"lua:hover:bg-secondary-hover",
|
|
166
|
+
"lua:active:bg-secondary-active"
|
|
172
167
|
].join(" "),
|
|
173
168
|
muted: [
|
|
174
|
-
"lua:bg-transparent lua:text-
|
|
175
|
-
"lua:hover:bg-
|
|
176
|
-
"lua:active:bg-
|
|
177
|
-
"lua:focus-visible:bg-white lua:focus-visible:ring-black"
|
|
169
|
+
"lua:bg-transparent lua:text-muted-foreground",
|
|
170
|
+
"lua:hover:bg-muted",
|
|
171
|
+
"lua:active:bg-secondary"
|
|
178
172
|
].join(" "),
|
|
179
173
|
destructive: [
|
|
180
|
-
"lua:bg-
|
|
181
|
-
"lua:hover:bg-
|
|
182
|
-
"lua:active:bg-
|
|
183
|
-
"lua:focus-visible:bg-red-600 lua:focus-visible:ring-red-600"
|
|
174
|
+
"lua:bg-destructive lua:text-destructive-foreground",
|
|
175
|
+
"lua:hover:bg-destructive-hover",
|
|
176
|
+
"lua:active:bg-destructive-active"
|
|
184
177
|
].join(" ")
|
|
185
178
|
},
|
|
186
179
|
size: {
|
|
187
|
-
small: "lua:h-6 lua:px-3 lua:text-xs
|
|
188
|
-
// 12px
|
|
189
|
-
default: "lua:h-8 lua:px-3 lua:text-sm
|
|
190
|
-
// 14px
|
|
191
|
-
large: "lua:h-10 lua:px-4 lua:text-base
|
|
192
|
-
// 16px
|
|
180
|
+
small: "lua:h-6 lua:px-3 lua:text-xs",
|
|
181
|
+
// 12px
|
|
182
|
+
default: "lua:h-8 lua:px-3 lua:text-sm",
|
|
183
|
+
// 14px
|
|
184
|
+
large: "lua:h-10 lua:px-4 lua:text-base"
|
|
185
|
+
// 16px
|
|
193
186
|
},
|
|
194
187
|
hasStartAdornment: {
|
|
195
188
|
true: "lua:pl-2"
|
|
@@ -359,14 +352,14 @@ var Input = React121.forwardRef(
|
|
|
359
352
|
{
|
|
360
353
|
htmlFor: inputId,
|
|
361
354
|
className: cn(
|
|
362
|
-
"lua:block lua:text-sm lua:font-medium lua:mb-2 lua:text-
|
|
363
|
-
disabled && "lua:text-
|
|
355
|
+
"lua:block lua:text-sm lua:font-medium lua:mb-2 lua:text-foreground",
|
|
356
|
+
disabled && "lua:text-muted-foreground lua:cursor-not-allowed"
|
|
364
357
|
),
|
|
365
358
|
children: label
|
|
366
359
|
}
|
|
367
360
|
),
|
|
368
361
|
/* @__PURE__ */ jsxs("div", { className: "lua:relative", children: [
|
|
369
|
-
hasStartAdornment && /* @__PURE__ */ jsx("div", { className: "lua:absolute lua:left-3 lua:top-1/2 lua:-translate-y-1/2 lua:flex lua:items-center lua:pointer-events-none lua:text-
|
|
362
|
+
hasStartAdornment && /* @__PURE__ */ jsx("div", { className: "lua:absolute lua:left-3 lua:top-1/2 lua:-translate-y-1/2 lua:flex lua:items-center lua:pointer-events-none lua:text-muted-foreground", children: startAdornment }),
|
|
370
363
|
/* @__PURE__ */ jsx(
|
|
371
364
|
"input",
|
|
372
365
|
{
|
|
@@ -374,36 +367,36 @@ var Input = React121.forwardRef(
|
|
|
374
367
|
id: inputId,
|
|
375
368
|
className: cn(
|
|
376
369
|
// Base styles
|
|
377
|
-
"lua:flex lua:h-10 lua:w-full lua:rounded-md lua:border lua:bg-
|
|
378
|
-
"file:
|
|
379
|
-
"placeholder:
|
|
380
|
-
"focus-visible:
|
|
370
|
+
"lua:flex lua:h-10 lua:w-full lua:rounded-md lua:border lua:bg-card lua:px-3 lua:py-2 lua:text-base lua:transition-all lua:duration-200",
|
|
371
|
+
"lua:file:border-0 lua:file:bg-transparent lua:file:text-sm lua:file:font-medium lua:file:text-foreground",
|
|
372
|
+
"lua:placeholder:text-muted-foreground",
|
|
373
|
+
"lua:focus-visible:outline-hidden lua:focus-visible:ring-2 lua:focus-visible:ring-offset-2 lua:focus-visible:ring-offset-background",
|
|
381
374
|
// Default state
|
|
382
|
-
"lua:border-
|
|
383
|
-
"focus-visible:
|
|
375
|
+
"lua:border-input lua:text-foreground",
|
|
376
|
+
"lua:focus-visible:ring-ring",
|
|
384
377
|
// Error state
|
|
385
378
|
hasError && [
|
|
386
|
-
"lua:border-
|
|
387
|
-
"focus-visible:
|
|
388
|
-
"lua:text-
|
|
379
|
+
"lua:border-destructive",
|
|
380
|
+
"lua:focus-visible:ring-destructive",
|
|
381
|
+
"lua:text-foreground"
|
|
389
382
|
],
|
|
390
383
|
// Success state
|
|
391
384
|
hasSuccess && [
|
|
392
|
-
"lua:border-
|
|
393
|
-
"focus-visible:
|
|
385
|
+
"lua:border-success",
|
|
386
|
+
"lua:focus-visible:ring-success"
|
|
394
387
|
],
|
|
395
388
|
// Disabled state
|
|
396
389
|
disabled && [
|
|
397
390
|
"lua:cursor-not-allowed lua:opacity-50",
|
|
398
|
-
"lua:bg-
|
|
399
|
-
"lua:text-
|
|
400
|
-
"placeholder:
|
|
391
|
+
"lua:bg-muted",
|
|
392
|
+
"lua:text-muted-foreground",
|
|
393
|
+
"lua:placeholder:text-muted-foreground"
|
|
401
394
|
],
|
|
402
395
|
// Padding adjustments for adornments
|
|
403
396
|
hasStartAdornment && "lua:pl-10",
|
|
404
397
|
hasEndAdornment && "lua:pr-10",
|
|
405
398
|
// Responsive text size
|
|
406
|
-
"md:
|
|
399
|
+
"lua:md:text-sm",
|
|
407
400
|
className
|
|
408
401
|
),
|
|
409
402
|
ref,
|
|
@@ -413,13 +406,13 @@ var Input = React121.forwardRef(
|
|
|
413
406
|
...props
|
|
414
407
|
}
|
|
415
408
|
),
|
|
416
|
-
hasEndAdornment && /* @__PURE__ */ jsx("div", { className: "lua:absolute lua:right-3 lua:top-1/2 lua:-translate-y-1/2 lua:flex lua:items-center lua:pointer-events-none lua:text-
|
|
409
|
+
hasEndAdornment && /* @__PURE__ */ jsx("div", { className: "lua:absolute lua:right-3 lua:top-1/2 lua:-translate-y-1/2 lua:flex lua:items-center lua:pointer-events-none lua:text-muted-foreground", children: endAdornment })
|
|
417
410
|
] }),
|
|
418
411
|
description && !error && !success && /* @__PURE__ */ jsx(
|
|
419
412
|
"p",
|
|
420
413
|
{
|
|
421
414
|
id: descriptionId,
|
|
422
|
-
className: "lua:mt-2 lua:text-sm lua:text-
|
|
415
|
+
className: "lua:mt-2 lua:text-sm lua:text-muted-foreground",
|
|
423
416
|
children: description
|
|
424
417
|
}
|
|
425
418
|
),
|
|
@@ -427,7 +420,7 @@ var Input = React121.forwardRef(
|
|
|
427
420
|
"p",
|
|
428
421
|
{
|
|
429
422
|
id: errorId,
|
|
430
|
-
className: "lua:mt-2 lua:text-sm lua:text-
|
|
423
|
+
className: "lua:mt-2 lua:text-sm lua:text-destructive",
|
|
431
424
|
role: "alert",
|
|
432
425
|
"aria-live": "polite",
|
|
433
426
|
children: error
|
|
@@ -437,7 +430,7 @@ var Input = React121.forwardRef(
|
|
|
437
430
|
"p",
|
|
438
431
|
{
|
|
439
432
|
id: successId,
|
|
440
|
-
className: "lua:mt-2 lua:text-sm lua:text-
|
|
433
|
+
className: "lua:mt-2 lua:text-sm lua:text-success",
|
|
441
434
|
role: "status",
|
|
442
435
|
"aria-live": "polite",
|
|
443
436
|
children: success
|
|
@@ -450,38 +443,40 @@ Input.displayName = "Input";
|
|
|
450
443
|
var badgeVariants = cva(
|
|
451
444
|
[
|
|
452
445
|
"lua:inline-flex lua:items-center lua:justify-center lua:rounded-md lua:border lua:px-2 lua:py-1 lua:text-xs lua:font-medium",
|
|
453
|
-
"lua:w-fit lua:whitespace-nowrap lua:shrink-0 [&>svg]:
|
|
454
|
-
"lua:focus-visible:
|
|
455
|
-
"
|
|
456
|
-
"aria-invalid:lua:border-red-600 lua:transition-[color,box-shadow] lua:overflow-hidden"
|
|
446
|
+
"lua:w-fit lua:whitespace-nowrap lua:shrink-0 lua:[&>svg]:size-3 lua:gap-1 lua:[&>svg]:pointer-events-none",
|
|
447
|
+
"lua:focus-visible:ring-ring lua:focus-visible:ring-2",
|
|
448
|
+
"lua:transition-[color,box-shadow] lua:overflow-hidden"
|
|
457
449
|
].join(" "),
|
|
458
450
|
{
|
|
459
451
|
variants: {
|
|
460
452
|
variant: {
|
|
461
453
|
default: [
|
|
462
|
-
"lua:border-transparent lua:bg-
|
|
463
|
-
"[a&]:
|
|
454
|
+
"lua:border-transparent lua:bg-default lua:text-default-foreground",
|
|
455
|
+
"lua:[a&]:hover:bg-default-hover"
|
|
456
|
+
].join(" "),
|
|
457
|
+
primary: [
|
|
458
|
+
"lua:border-transparent lua:bg-primary lua:text-primary-foreground",
|
|
459
|
+
"lua:[a&]:hover:bg-primary-hover"
|
|
464
460
|
].join(" "),
|
|
465
461
|
secondary: [
|
|
466
|
-
"lua:border-transparent lua:bg-
|
|
467
|
-
"[a&]:
|
|
462
|
+
"lua:border-transparent lua:bg-secondary lua:text-secondary-foreground",
|
|
463
|
+
"lua:[a&]:hover:bg-secondary-hover"
|
|
468
464
|
].join(" "),
|
|
469
465
|
destructive: [
|
|
470
|
-
"lua:border-transparent lua:bg-
|
|
471
|
-
"[a&]:
|
|
472
|
-
"lua:focus-visible:ring-red-600/20"
|
|
466
|
+
"lua:border-transparent lua:bg-destructive lua:text-destructive-foreground",
|
|
467
|
+
"lua:[a&]:hover:bg-destructive-hover"
|
|
473
468
|
].join(" "),
|
|
474
469
|
outline: [
|
|
475
|
-
"lua:text-
|
|
476
|
-
"
|
|
470
|
+
"lua:bg-card lua:text-card-foreground lua:border-border",
|
|
471
|
+
"lua:[a&]:hover:bg-secondary"
|
|
477
472
|
].join(" "),
|
|
478
473
|
success: [
|
|
479
|
-
"lua:border-transparent lua:bg-
|
|
480
|
-
"[a&]:
|
|
474
|
+
"lua:border-transparent lua:bg-success lua:text-success-foreground",
|
|
475
|
+
"lua:[a&]:hover:bg-success-hover"
|
|
481
476
|
].join(" "),
|
|
482
477
|
warning: [
|
|
483
|
-
"lua:border-transparent lua:bg-
|
|
484
|
-
"[a&]:
|
|
478
|
+
"lua:border-transparent lua:bg-warning lua:text-warning-foreground",
|
|
479
|
+
"lua:[a&]:hover:bg-warning-hover"
|
|
485
480
|
].join(" ")
|
|
486
481
|
}
|
|
487
482
|
},
|
|
@@ -540,29 +535,29 @@ var Textarea = React121.forwardRef(
|
|
|
540
535
|
"data-slot": "textarea",
|
|
541
536
|
className: cn(
|
|
542
537
|
// Base styles
|
|
543
|
-
"lua:flex lua:min-h-16 lua:w-full lua:rounded-md lua:border lua:bg-
|
|
544
|
-
"lua:placeholder:text-
|
|
545
|
-
"lua:focus-visible:outline-hidden lua:focus-visible:ring-2 lua:focus-visible:ring-offset-2 lua:focus-visible:ring-offset-
|
|
538
|
+
"lua:flex lua:min-h-16 lua:w-full lua:rounded-md lua:border lua:bg-card lua:px-3 lua:py-2 lua:text-base lua:transition-all lua:duration-200",
|
|
539
|
+
"lua:placeholder:text-muted-foreground",
|
|
540
|
+
"lua:focus-visible:outline-hidden lua:focus-visible:ring-2 lua:focus-visible:ring-offset-2 lua:focus-visible:ring-offset-background",
|
|
546
541
|
// Default state
|
|
547
|
-
"lua:border-
|
|
548
|
-
"lua:focus-visible:ring-
|
|
542
|
+
"lua:border-input lua:text-foreground",
|
|
543
|
+
"lua:focus-visible:ring-ring",
|
|
549
544
|
// Error state
|
|
550
545
|
hasError && [
|
|
551
|
-
"lua:border-
|
|
552
|
-
"lua:focus-visible:ring-
|
|
553
|
-
"lua:text-
|
|
546
|
+
"lua:border-destructive",
|
|
547
|
+
"lua:focus-visible:ring-destructive",
|
|
548
|
+
"lua:text-foreground"
|
|
554
549
|
],
|
|
555
550
|
// Success state
|
|
556
551
|
hasSuccess && [
|
|
557
|
-
"lua:border-
|
|
558
|
-
"lua:focus-visible:ring-
|
|
552
|
+
"lua:border-success",
|
|
553
|
+
"lua:focus-visible:ring-success"
|
|
559
554
|
],
|
|
560
555
|
// Disabled state
|
|
561
556
|
disabled && [
|
|
562
557
|
"lua:cursor-not-allowed lua:opacity-50",
|
|
563
|
-
"lua:bg-
|
|
564
|
-
"lua:text-
|
|
565
|
-
"lua:placeholder:text-
|
|
558
|
+
"lua:bg-muted",
|
|
559
|
+
"lua:text-muted-foreground",
|
|
560
|
+
"lua:placeholder:text-muted-foreground"
|
|
566
561
|
],
|
|
567
562
|
// Resize behavior
|
|
568
563
|
resizeClasses[resize],
|
|
@@ -581,7 +576,7 @@ var Textarea = React121.forwardRef(
|
|
|
581
576
|
"p",
|
|
582
577
|
{
|
|
583
578
|
id: descriptionId,
|
|
584
|
-
className: "lua:mt-2 lua:text-sm lua:text-
|
|
579
|
+
className: "lua:mt-2 lua:text-sm lua:text-muted-foreground",
|
|
585
580
|
children: description
|
|
586
581
|
}
|
|
587
582
|
),
|
|
@@ -589,7 +584,7 @@ var Textarea = React121.forwardRef(
|
|
|
589
584
|
"p",
|
|
590
585
|
{
|
|
591
586
|
id: errorId,
|
|
592
|
-
className: "lua:mt-2 lua:text-sm lua:text-
|
|
587
|
+
className: "lua:mt-2 lua:text-sm lua:text-destructive",
|
|
593
588
|
role: "alert",
|
|
594
589
|
"aria-live": "polite",
|
|
595
590
|
children: error
|
|
@@ -599,7 +594,7 @@ var Textarea = React121.forwardRef(
|
|
|
599
594
|
"p",
|
|
600
595
|
{
|
|
601
596
|
id: successId,
|
|
602
|
-
className: "lua:mt-2 lua:text-sm lua:text-
|
|
597
|
+
className: "lua:mt-2 lua:text-sm lua:text-success",
|
|
603
598
|
role: "status",
|
|
604
599
|
"aria-live": "polite",
|
|
605
600
|
children: success
|
|
@@ -611,7 +606,7 @@ var Textarea = React121.forwardRef(
|
|
|
611
606
|
Textarea.displayName = "Textarea";
|
|
612
607
|
var Tabs = TabsPrimitive.Root;
|
|
613
608
|
var tabsListVariants = cva([
|
|
614
|
-
"lua:inline-flex lua:items-center lua:justify-center lua:p-1 lua:text-
|
|
609
|
+
"lua:inline-flex lua:items-center lua:justify-center lua:p-1 lua:text-muted-foreground lua:gap-2 lua:flex-wrap"
|
|
615
610
|
].join(" "));
|
|
616
611
|
var TabsList = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
617
612
|
TabsPrimitive.List,
|
|
@@ -624,10 +619,10 @@ var TabsList = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
624
619
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
625
620
|
var tabsTriggerVariants = cva([
|
|
626
621
|
"lua:font-onest lua:inline-flex lua:items-center lua:justify-center lua:whitespace-nowrap lua:rounded-full lua:px-3 lua:py-1 lua:text-sm lua:font-medium",
|
|
627
|
-
"lua:ring-offset-
|
|
628
|
-
"lua:focus-visible:ring-
|
|
629
|
-
"lua:data-[state=active]:bg-
|
|
630
|
-
"lua:text-
|
|
622
|
+
"lua:ring-offset-background lua:transition-all lua:focus-visible:outline-hidden lua:focus-visible:ring-2",
|
|
623
|
+
"lua:focus-visible:ring-ring lua:focus-visible:ring-offset-2 lua:disabled:pointer-events-none lua:disabled:opacity-50",
|
|
624
|
+
"lua:data-[state=active]:bg-accent-subtle lua:data-[state=active]:text-accent-subtle-foreground lua:data-[state=active]:hover:bg-accent-subtle-hover",
|
|
625
|
+
"lua:text-muted-foreground lua:hover:bg-secondary"
|
|
631
626
|
].join(" "));
|
|
632
627
|
var TabsTrigger = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
633
628
|
TabsPrimitive.Trigger,
|
|
@@ -639,8 +634,8 @@ var TabsTrigger = React121.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
639
634
|
));
|
|
640
635
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
641
636
|
var tabsContentVariants = cva([
|
|
642
|
-
"lua:mt-2 lua:ring-offset-
|
|
643
|
-
"lua:focus-visible:ring-
|
|
637
|
+
"lua:mt-2 lua:ring-offset-background lua:focus-visible:outline-hidden lua:focus-visible:ring-2",
|
|
638
|
+
"lua:focus-visible:ring-ring lua:focus-visible:ring-offset-2"
|
|
644
639
|
].join(" "));
|
|
645
640
|
var TabsContent = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
646
641
|
TabsPrimitive.Content,
|
|
@@ -656,7 +651,7 @@ var InputOTP = React121.forwardRef(({ className, containerClassName, ...props },
|
|
|
656
651
|
{
|
|
657
652
|
ref,
|
|
658
653
|
containerClassName: cn(
|
|
659
|
-
"lua:flex lua:items-center lua:gap-2 has-disabled:
|
|
654
|
+
"lua:flex lua:items-center lua:gap-2 lua:has-disabled:opacity-50",
|
|
660
655
|
containerClassName
|
|
661
656
|
),
|
|
662
657
|
className: cn("lua:disabled:cursor-not-allowed", className),
|
|
@@ -674,14 +669,14 @@ var InputOTPSlot = React121.forwardRef(({ index, className, ...props }, ref) =>
|
|
|
674
669
|
{
|
|
675
670
|
ref,
|
|
676
671
|
className: cn(
|
|
677
|
-
"lua:relative lua:flex lua:h-10 lua:w-10 lua:items-center lua:justify-center lua:border lua:border-
|
|
678
|
-
isActive && "lua:z-10 lua:ring-2 lua:ring-
|
|
672
|
+
"lua:relative lua:flex lua:h-10 lua:w-10 lua:items-center lua:justify-center lua:border lua:border-input lua:bg-card lua:text-sm lua:text-foreground lua:transition-all lua:first:rounded-l-md lua:last:rounded-r-md lua:focus-within:z-10 lua:focus-within:ring-2 lua:focus-within:ring-ring lua:focus-within:ring-offset-2 lua:focus-within:ring-offset-background lua:disabled:cursor-not-allowed lua:disabled:opacity-50",
|
|
673
|
+
isActive && "lua:z-10 lua:ring-2 lua:ring-ring lua:ring-offset-2 lua:ring-offset-background",
|
|
679
674
|
className
|
|
680
675
|
),
|
|
681
676
|
...props,
|
|
682
677
|
children: [
|
|
683
678
|
char,
|
|
684
|
-
hasFakeCaret && /* @__PURE__ */ jsx("div", { className: "lua:pointer-events-none lua:absolute lua:inset-0 lua:flex lua:items-center lua:justify-center", children: /* @__PURE__ */ jsx("div", { className: "lua:h-4 lua:w-px lua:animate-caret-blink lua:bg-
|
|
679
|
+
hasFakeCaret && /* @__PURE__ */ jsx("div", { className: "lua:pointer-events-none lua:absolute lua:inset-0 lua:flex lua:items-center lua:justify-center", children: /* @__PURE__ */ jsx("div", { className: "lua:h-4 lua:w-px lua:animate-caret-blink lua:bg-foreground lua:duration-1000" }) })
|
|
685
680
|
]
|
|
686
681
|
}
|
|
687
682
|
);
|
|
@@ -694,31 +689,25 @@ var InputOTPSeparator = React121.forwardRef(({ className, ...props }, ref) => /*
|
|
|
694
689
|
role: "separator",
|
|
695
690
|
className: cn("lua:flex lua:items-center lua:justify-center", className),
|
|
696
691
|
...props,
|
|
697
|
-
children: /* @__PURE__ */ jsx("div", { className: "lua:h-px lua:w-3 lua:bg-
|
|
692
|
+
children: /* @__PURE__ */ jsx("div", { className: "lua:h-px lua:w-3 lua:bg-border" })
|
|
698
693
|
}
|
|
699
694
|
));
|
|
700
695
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
701
696
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
702
697
|
var Tooltip = TooltipPrimitive.Root;
|
|
703
698
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
704
|
-
var TooltipArrow = React121.forwardRef(({ className,
|
|
699
|
+
var TooltipArrow = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
705
700
|
TooltipPrimitive.Arrow,
|
|
706
701
|
{
|
|
707
702
|
ref,
|
|
708
|
-
className: cn("", className),
|
|
703
|
+
className: cn("lua:fill-popover lua:stroke-border", className),
|
|
709
704
|
width: 8,
|
|
710
705
|
height: 4,
|
|
711
|
-
style: {
|
|
712
|
-
fill: "#ffffff",
|
|
713
|
-
stroke: "#d1d5db",
|
|
714
|
-
strokeWidth: "1px",
|
|
715
|
-
...style
|
|
716
|
-
},
|
|
717
706
|
...props
|
|
718
707
|
}
|
|
719
708
|
));
|
|
720
709
|
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
|
721
|
-
var TooltipContent = React121.forwardRef(({ className, sideOffset = 4,
|
|
710
|
+
var TooltipContent = React121.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
722
711
|
TooltipPrimitive.Content,
|
|
723
712
|
{
|
|
724
713
|
ref,
|
|
@@ -726,18 +715,9 @@ var TooltipContent = React121.forwardRef(({ className, sideOffset = 4, style, ..
|
|
|
726
715
|
className: cn(
|
|
727
716
|
"lua:z-50 lua:overflow-hidden lua:px-3 lua:py-2 lua:text-xs lua:transition-all lua:duration-200",
|
|
728
717
|
"lua:shadow-lg lua:border lua:rounded-lg",
|
|
729
|
-
"lua:bg-
|
|
718
|
+
"lua:bg-popover lua:text-popover-foreground lua:border-border",
|
|
730
719
|
className
|
|
731
720
|
),
|
|
732
|
-
style: {
|
|
733
|
-
color: "#111827",
|
|
734
|
-
// gray-900
|
|
735
|
-
backgroundColor: "#ffffff",
|
|
736
|
-
// white
|
|
737
|
-
borderColor: "#d1d5db",
|
|
738
|
-
// gray-300
|
|
739
|
-
...style
|
|
740
|
-
},
|
|
741
721
|
...props
|
|
742
722
|
}
|
|
743
723
|
) }));
|
|
@@ -747,7 +727,7 @@ var Card = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
747
727
|
{
|
|
748
728
|
ref,
|
|
749
729
|
className: cn(
|
|
750
|
-
"lua:rounded-xl lua:border lua:border-
|
|
730
|
+
"lua:rounded-xl lua:border lua:border-border lua:bg-card lua:text-card-foreground lua:shadow-sm",
|
|
751
731
|
className
|
|
752
732
|
),
|
|
753
733
|
...props
|
|
@@ -767,7 +747,10 @@ var CardTitle = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
767
747
|
"div",
|
|
768
748
|
{
|
|
769
749
|
ref,
|
|
770
|
-
className: cn(
|
|
750
|
+
className: cn(
|
|
751
|
+
"lua:font-semibold lua:leading-none lua:tracking-tight lua:text-card-foreground",
|
|
752
|
+
className
|
|
753
|
+
),
|
|
771
754
|
...props
|
|
772
755
|
}
|
|
773
756
|
));
|
|
@@ -776,12 +759,25 @@ var CardDescription = React121.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
776
759
|
"div",
|
|
777
760
|
{
|
|
778
761
|
ref,
|
|
779
|
-
className: cn(
|
|
762
|
+
className: cn(
|
|
763
|
+
"lua:text-sm lua:text-muted-foreground",
|
|
764
|
+
className
|
|
765
|
+
),
|
|
780
766
|
...props
|
|
781
767
|
}
|
|
782
768
|
));
|
|
783
769
|
CardDescription.displayName = "CardDescription";
|
|
784
|
-
var CardContent = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
770
|
+
var CardContent = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
771
|
+
"div",
|
|
772
|
+
{
|
|
773
|
+
ref,
|
|
774
|
+
className: cn(
|
|
775
|
+
"lua:p-6 lua:pt-0 lua:text-card-foreground",
|
|
776
|
+
className
|
|
777
|
+
),
|
|
778
|
+
...props
|
|
779
|
+
}
|
|
780
|
+
));
|
|
785
781
|
CardContent.displayName = "CardContent";
|
|
786
782
|
var CardFooter = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
787
783
|
"div",
|
|
@@ -4966,7 +4962,7 @@ var CarouselPrevious = React121.forwardRef(({ className, variant = "outline", si
|
|
|
4966
4962
|
variant,
|
|
4967
4963
|
size,
|
|
4968
4964
|
className: cn(
|
|
4969
|
-
"lua:absolute lua:h-8 lua:w-8 lua:p-0 lua:rounded-full
|
|
4965
|
+
"lua:absolute lua:h-8 lua:w-8 lua:p-0 lua:rounded-full",
|
|
4970
4966
|
orientation === "horizontal" ? "lua:-left-12 lua:top-1/2 lua:-translate-y-1/2" : "lua:-top-12 lua:left-1/2 lua:-translate-x-1/2 lua:rotate-90",
|
|
4971
4967
|
className
|
|
4972
4968
|
),
|
|
@@ -4988,7 +4984,7 @@ var CarouselNext = React121.forwardRef(({ className, variant = "outline", size =
|
|
|
4988
4984
|
variant,
|
|
4989
4985
|
size,
|
|
4990
4986
|
className: cn(
|
|
4991
|
-
"lua:absolute lua:h-8 lua:w-8 lua:p-0 lua:rounded-full
|
|
4987
|
+
"lua:absolute lua:h-8 lua:w-8 lua:p-0 lua:rounded-full",
|
|
4992
4988
|
orientation === "horizontal" ? "lua:-right-12 lua:top-1/2 lua:-translate-y-1/2" : "lua:-bottom-12 lua:left-1/2 lua:-translate-x-1/2 lua:rotate-90",
|
|
4993
4989
|
className
|
|
4994
4990
|
),
|
|
@@ -5029,7 +5025,7 @@ var DialogContent = React121.forwardRef(({ className, children, showClose = true
|
|
|
5029
5025
|
{
|
|
5030
5026
|
ref,
|
|
5031
5027
|
className: cn(
|
|
5032
|
-
"lua:fixed lua:z-50 lua:max-w-lg lua:outline-hidden lua:border lua:border-
|
|
5028
|
+
"lua:fixed lua:z-50 lua:max-w-lg lua:outline-hidden lua:border lua:border-border lua:bg-card lua:text-card-foreground lua:p-6 lua:shadow-lg lua:transition-all lua:duration-200 lua:rounded-xl lua:mx-4",
|
|
5033
5029
|
className
|
|
5034
5030
|
),
|
|
5035
5031
|
style: {
|
|
@@ -5040,7 +5036,7 @@ var DialogContent = React121.forwardRef(({ className, children, showClose = true
|
|
|
5040
5036
|
...props,
|
|
5041
5037
|
children: [
|
|
5042
5038
|
children,
|
|
5043
|
-
showClose && /* @__PURE__ */ jsx(DialogPrimitive.Close, { className: "lua:absolute lua:right-4 lua:top-4 lua:rounded-sm lua:opacity-70 lua:ring-offset-
|
|
5039
|
+
showClose && /* @__PURE__ */ jsx(DialogPrimitive.Close, { className: "lua:absolute lua:right-4 lua:top-4 lua:rounded-sm lua:opacity-70 lua:ring-offset-background lua:transition-opacity lua:hover:opacity-100 lua:focus:outline-hidden lua:focus:ring-2 lua:focus:ring-ring lua:focus:ring-offset-2 lua:disabled:pointer-events-none lua:hover:bg-secondary lua:text-muted-foreground", children: /* @__PURE__ */ jsx(XIcon, { size: 24 }) })
|
|
5044
5040
|
]
|
|
5045
5041
|
}
|
|
5046
5042
|
)
|
|
@@ -5053,7 +5049,7 @@ var DialogHeader = ({
|
|
|
5053
5049
|
"div",
|
|
5054
5050
|
{
|
|
5055
5051
|
className: cn(
|
|
5056
|
-
"lua:flex lua:flex-col lua:space-y-2 sm:
|
|
5052
|
+
"lua:flex lua:flex-col lua:space-y-2 lua:sm:text-left lua:min-h-6",
|
|
5057
5053
|
className
|
|
5058
5054
|
),
|
|
5059
5055
|
...props
|
|
@@ -5090,7 +5086,7 @@ var DialogDescription = React121.forwardRef(({ className, ...props }, ref) => /*
|
|
|
5090
5086
|
DialogPrimitive.Description,
|
|
5091
5087
|
{
|
|
5092
5088
|
ref,
|
|
5093
|
-
className: cn("lua:text-sm lua:text-
|
|
5089
|
+
className: cn("lua:text-sm lua:text-muted-foreground", className),
|
|
5094
5090
|
...props
|
|
5095
5091
|
}
|
|
5096
5092
|
));
|
|
@@ -5103,7 +5099,7 @@ var SheetOverlay = React121.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
5103
5099
|
DialogPrimitive.Overlay,
|
|
5104
5100
|
{
|
|
5105
5101
|
className: cn(
|
|
5106
|
-
"lua:fixed lua:inset-0 lua:z-50 lua:bg-black/80 lua:backdrop-blur-sm data-[state=open]:
|
|
5102
|
+
"lua:fixed lua:inset-0 lua:z-50 lua:bg-black/80 lua:backdrop-blur-sm lua:data-[state=open]:animate-in lua:data-[state=closed]:animate-out lua:data-[state=closed]:fade-out-0 lua:data-[state=open]:fade-in-0",
|
|
5107
5103
|
className
|
|
5108
5104
|
),
|
|
5109
5105
|
...props,
|
|
@@ -5112,14 +5108,14 @@ var SheetOverlay = React121.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
5112
5108
|
));
|
|
5113
5109
|
SheetOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
5114
5110
|
var sheetVariants = cva(
|
|
5115
|
-
"lua:fixed lua:z-50 lua:gap-4 lua:bg-
|
|
5111
|
+
"lua:fixed lua:z-50 lua:gap-4 lua:bg-card lua:text-card-foreground lua:shadow-lg lua:transition lua:ease-in-out lua:data-[state=open]:animate-in lua:data-[state=closed]:animate-out lua:data-[state=closed]:duration-300 lua:data-[state=open]:duration-500",
|
|
5116
5112
|
{
|
|
5117
5113
|
variants: {
|
|
5118
5114
|
side: {
|
|
5119
|
-
top: "lua:inset-x-0 lua:top-0 lua:border-b data-[state=closed]:
|
|
5120
|
-
bottom: "lua:inset-x-0 lua:bottom-0 lua:border-t data-[state=closed]:
|
|
5121
|
-
left: "lua:inset-y-0 lua:left-0 lua:h-full lua:w-3/4 lua:border-r lua:data-[state=closed]:slide-out-to-left lua:data-[state=open]:slide-in-from-left lua:sm:max-w-sm",
|
|
5122
|
-
right: "lua:inset-y-0 lua:right-0 lua:h-full lua:w-3/4 lua:border-l lua:data-[state=closed]:slide-out-to-right lua:data-[state=open]:slide-in-from-right lua:sm:max-w-sm"
|
|
5115
|
+
top: "lua:inset-x-0 lua:top-0 lua:border-b lua:border-border lua:data-[state=closed]:slide-out-to-top lua:data-[state=open]:slide-in-from-top",
|
|
5116
|
+
bottom: "lua:inset-x-0 lua:bottom-0 lua:border-t lua:border-border lua:data-[state=closed]:slide-out-to-bottom lua:data-[state=open]:slide-in-from-bottom",
|
|
5117
|
+
left: "lua:inset-y-0 lua:left-0 lua:h-full lua:w-3/4 lua:border-r lua:border-border lua:data-[state=closed]:slide-out-to-left lua:data-[state=open]:slide-in-from-left lua:sm:max-w-sm",
|
|
5118
|
+
right: "lua:inset-y-0 lua:right-0 lua:h-full lua:w-3/4 lua:border-l lua:border-border lua:data-[state=closed]:slide-out-to-right lua:data-[state=open]:slide-in-from-right lua:sm:max-w-sm"
|
|
5123
5119
|
}
|
|
5124
5120
|
},
|
|
5125
5121
|
defaultVariants: {
|
|
@@ -5145,7 +5141,7 @@ var SheetContent = React121.forwardRef(
|
|
|
5145
5141
|
...props,
|
|
5146
5142
|
children: [
|
|
5147
5143
|
children,
|
|
5148
|
-
showClose && /* @__PURE__ */ jsxs(DialogPrimitive.Close, { className: "lua:absolute lua:right-4 lua:top-4 lua:rounded-sm lua:opacity-70 lua:ring-offset-
|
|
5144
|
+
showClose && /* @__PURE__ */ jsxs(DialogPrimitive.Close, { className: "lua:absolute lua:right-4 lua:top-4 lua:rounded-sm lua:opacity-70 lua:ring-offset-background lua:transition-opacity lua:hover:opacity-100 lua:focus:outline-hidden lua:focus:ring-2 lua:focus:ring-ring lua:focus:ring-offset-2 lua:disabled:pointer-events-none lua:data-[state=open]:bg-secondary", children: [
|
|
5149
5145
|
/* @__PURE__ */ jsx(XIcon, { size: 16 }),
|
|
5150
5146
|
/* @__PURE__ */ jsx("span", { className: "lua:sr-only", children: "Close" })
|
|
5151
5147
|
] })
|
|
@@ -5162,7 +5158,7 @@ var SheetHeader = ({
|
|
|
5162
5158
|
"div",
|
|
5163
5159
|
{
|
|
5164
5160
|
className: cn(
|
|
5165
|
-
"lua:flex lua:flex-col lua:space-y-2 lua:text-center lua:sm:text-left lua:p-4 lua:border-b",
|
|
5161
|
+
"lua:flex lua:flex-col lua:space-y-2 lua:text-center lua:sm:text-left lua:p-4 lua:border-b lua:border-border",
|
|
5166
5162
|
className
|
|
5167
5163
|
),
|
|
5168
5164
|
...props
|
|
@@ -5176,7 +5172,7 @@ var SheetFooter = ({
|
|
|
5176
5172
|
"div",
|
|
5177
5173
|
{
|
|
5178
5174
|
className: cn(
|
|
5179
|
-
"lua:flex lua:flex-col-reverse lua:sm:flex-row lua:sm:justify-end lua:sm:space-x-2 lua:p-4 lua:border-t",
|
|
5175
|
+
"lua:flex lua:flex-col-reverse lua:sm:flex-row lua:sm:justify-end lua:sm:space-x-2 lua:p-4 lua:border-t lua:border-border",
|
|
5180
5176
|
className
|
|
5181
5177
|
),
|
|
5182
5178
|
...props
|
|
@@ -5188,7 +5184,7 @@ var SheetTitle = React121.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
5188
5184
|
{
|
|
5189
5185
|
ref,
|
|
5190
5186
|
className: cn(
|
|
5191
|
-
"lua:text-base lua:font-semibold lua:text-
|
|
5187
|
+
"lua:text-base lua:font-semibold lua:text-foreground",
|
|
5192
5188
|
className
|
|
5193
5189
|
),
|
|
5194
5190
|
...props
|
|
@@ -5199,7 +5195,7 @@ var SheetDescription = React121.forwardRef(({ className, ...props }, ref) => /*
|
|
|
5199
5195
|
DialogPrimitive.Description,
|
|
5200
5196
|
{
|
|
5201
5197
|
ref,
|
|
5202
|
-
className: cn("lua:text-sm lua:text-
|
|
5198
|
+
className: cn("lua:text-sm lua:text-muted-foreground", className),
|
|
5203
5199
|
...props
|
|
5204
5200
|
}
|
|
5205
5201
|
));
|
|
@@ -5349,10 +5345,10 @@ PaginationItem.displayName = "PaginationItem";
|
|
|
5349
5345
|
var paginationLinkVariants = cva(
|
|
5350
5346
|
[
|
|
5351
5347
|
"lua:flex lua:items-center lua:justify-center lua:rounded-md lua:font-semibold lua:transition-colors lua:no-underline",
|
|
5352
|
-
"lua:bg-
|
|
5353
|
-
"lua:hover:bg-
|
|
5354
|
-
"lua:active:bg-
|
|
5355
|
-
"lua:focus-visible:outline-hidden lua:focus-visible:ring-2 lua:focus-visible:ring-
|
|
5348
|
+
"lua:bg-default lua:text-default-foreground",
|
|
5349
|
+
"lua:hover:bg-default-hover",
|
|
5350
|
+
"lua:active:bg-default-active",
|
|
5351
|
+
"lua:focus-visible:outline-hidden lua:focus-visible:ring-2 lua:focus-visible:ring-ring lua:focus-visible:ring-offset-2 lua:focus-visible:ring-offset-background"
|
|
5356
5352
|
],
|
|
5357
5353
|
{
|
|
5358
5354
|
variants: {
|
|
@@ -5375,7 +5371,7 @@ var PaginationLink = React121.forwardRef(({ className, isActive, ...props }, ref
|
|
|
5375
5371
|
"aria-current": isActive ? "page" : void 0,
|
|
5376
5372
|
className: cn(
|
|
5377
5373
|
paginationLinkVariants({ size }),
|
|
5378
|
-
isActive && "lua:bg-
|
|
5374
|
+
isActive && "lua:bg-default-hover",
|
|
5379
5375
|
className
|
|
5380
5376
|
),
|
|
5381
5377
|
...props
|
|
@@ -5398,7 +5394,7 @@ var PaginationPrevious = React121.forwardRef(({ className, ...props }, ref) => {
|
|
|
5398
5394
|
...props,
|
|
5399
5395
|
children: [
|
|
5400
5396
|
/* @__PURE__ */ jsx(ArrowLeft, { size: size === "small" ? 12 : 16, "aria-hidden": true }),
|
|
5401
|
-
/* @__PURE__ */ jsx("span", { className: "lua:hidden lua:sm:
|
|
5397
|
+
/* @__PURE__ */ jsx("span", { className: "lua:hidden lua:sm:inline", children: "Previous" })
|
|
5402
5398
|
]
|
|
5403
5399
|
}
|
|
5404
5400
|
);
|
|
@@ -5418,7 +5414,7 @@ var PaginationNext = React121.forwardRef(({ className, ...props }, ref) => {
|
|
|
5418
5414
|
),
|
|
5419
5415
|
...props,
|
|
5420
5416
|
children: [
|
|
5421
|
-
/* @__PURE__ */ jsx("span", { className: "lua:hidden lua:sm:
|
|
5417
|
+
/* @__PURE__ */ jsx("span", { className: "lua:hidden lua:sm:inline", children: "Next" }),
|
|
5422
5418
|
/* @__PURE__ */ jsx(ArrowRight, { size: size === "small" ? 12 : 16, "aria-hidden": true })
|
|
5423
5419
|
]
|
|
5424
5420
|
}
|
|
@@ -5454,7 +5450,7 @@ var DropdownMenuSubTrigger = React121.forwardRef(({ className, inset, children,
|
|
|
5454
5450
|
{
|
|
5455
5451
|
ref,
|
|
5456
5452
|
className: cn(
|
|
5457
|
-
"lua:flex lua:cursor-default lua:select-none lua:items-center lua:gap-2 lua:rounded-sm lua:px-2 lua:py-2 lua:text-sm lua:outline-hidden lua:focus:bg-gray-100 data-[state=open]:
|
|
5453
|
+
"lua:flex lua:cursor-default lua:select-none lua:items-center lua:gap-2 lua:rounded-sm lua:px-2 lua:py-2 lua:text-sm lua:outline-hidden lua:focus:bg-gray-100 lua:data-[state=open]:bg-gray-100 lua:[&_svg]:pointer-events-none lua:[&_svg]:size-4 lua:[&_svg]:shrink-0",
|
|
5458
5454
|
inset && "lua:pl-8",
|
|
5459
5455
|
className
|
|
5460
5456
|
),
|
|
@@ -5471,7 +5467,7 @@ var DropdownMenuSubContent = React121.forwardRef(({ className, ...props }, ref)
|
|
|
5471
5467
|
{
|
|
5472
5468
|
ref,
|
|
5473
5469
|
className: cn(
|
|
5474
|
-
"lua:z-50 lua:min-w-32 lua:overflow-hidden lua:rounded-md lua:border lua:border-gray-200 lua:bg-white lua:text-gray-900 lua:p-1 lua:shadow-lg data-[state=open]:
|
|
5470
|
+
"lua:z-50 lua:min-w-32 lua:overflow-hidden lua:rounded-md lua:border lua:border-gray-200 lua:bg-white lua:text-gray-900 lua:p-1 lua:shadow-lg lua:data-[state=open]:animate-in lua:data-[state=closed]:animate-out lua:data-[state=closed]:fade-out-0 lua:data-[state=open]:fade-in-0 lua:data-[state=closed]:zoom-out-95 lua:data-[state=open]:zoom-in-95",
|
|
5475
5471
|
className
|
|
5476
5472
|
),
|
|
5477
5473
|
...props
|
|
@@ -5485,7 +5481,7 @@ var DropdownMenuContent = React121.forwardRef(({ className, sideOffset = 4, ...p
|
|
|
5485
5481
|
sideOffset,
|
|
5486
5482
|
className: cn(
|
|
5487
5483
|
"lua:z-50 lua:max-h-96 lua:min-w-32 lua:overflow-y-auto lua:overflow-x-hidden lua:rounded-md lua:border lua:border-gray-200 lua:bg-white lua:text-gray-900 lua:p-1 lua:shadow-md",
|
|
5488
|
-
"data-[state=open]:
|
|
5484
|
+
"lua:data-[state=open]:animate-in lua:data-[state=closed]:animate-out lua:data-[state=closed]:fade-out-0 lua:data-[state=open]:fade-in-0 lua:data-[state=closed]:zoom-out-95 lua:data-[state=open]:zoom-in-95",
|
|
5489
5485
|
className
|
|
5490
5486
|
),
|
|
5491
5487
|
...props
|
|
@@ -5497,7 +5493,7 @@ var DropdownMenuItem = React121.forwardRef(({ className, inset, ...props }, ref)
|
|
|
5497
5493
|
{
|
|
5498
5494
|
ref,
|
|
5499
5495
|
className: cn(
|
|
5500
|
-
"lua:relative lua:flex lua:cursor-default lua:select-none lua:items-center lua:gap-2 lua:rounded-sm lua:px-2 lua:py-2 lua:text-sm lua:outline-hidden lua:transition-colors lua:focus:bg-gray-100 lua:focus:text-gray-900 data-disabled:
|
|
5496
|
+
"lua:relative lua:flex lua:cursor-default lua:select-none lua:items-center lua:gap-2 lua:rounded-sm lua:px-2 lua:py-2 lua:text-sm lua:outline-hidden lua:transition-colors lua:focus:bg-gray-100 lua:focus:text-gray-900 lua:data-disabled:pointer-events-none lua:data-disabled:opacity-50 lua:[&>svg]:size-4 lua:[&>svg]:shrink-0",
|
|
5501
5497
|
inset && "lua:pl-8",
|
|
5502
5498
|
className
|
|
5503
5499
|
),
|
|
@@ -5510,7 +5506,7 @@ var DropdownMenuCheckboxItem = React121.forwardRef(({ className, children, check
|
|
|
5510
5506
|
{
|
|
5511
5507
|
ref,
|
|
5512
5508
|
className: cn(
|
|
5513
|
-
"lua:relative lua:flex lua:cursor-default lua:select-none lua:items-center lua:rounded-sm lua:py-2 lua:pl-8 lua:pr-2 lua:text-sm lua:outline-hidden lua:transition-colors lua:focus:bg-gray-100 lua:focus:text-gray-900 data-disabled:
|
|
5509
|
+
"lua:relative lua:flex lua:cursor-default lua:select-none lua:items-center lua:rounded-sm lua:py-2 lua:pl-8 lua:pr-2 lua:text-sm lua:outline-hidden lua:transition-colors lua:focus:bg-gray-100 lua:focus:text-gray-900 lua:data-disabled:pointer-events-none lua:data-disabled:opacity-50",
|
|
5514
5510
|
className
|
|
5515
5511
|
),
|
|
5516
5512
|
checked,
|
|
@@ -5527,7 +5523,7 @@ var DropdownMenuRadioItem = React121.forwardRef(({ className, children, ...props
|
|
|
5527
5523
|
{
|
|
5528
5524
|
ref,
|
|
5529
5525
|
className: cn(
|
|
5530
|
-
"lua:relative lua:flex lua:cursor-default lua:select-none lua:items-center lua:rounded-sm lua:py-2 lua:pl-8 lua:pr-2 lua:text-sm lua:outline-hidden lua:transition-colors lua:focus:bg-gray-100 lua:focus:text-gray-900 data-disabled:
|
|
5526
|
+
"lua:relative lua:flex lua:cursor-default lua:select-none lua:items-center lua:rounded-sm lua:py-2 lua:pl-8 lua:pr-2 lua:text-sm lua:outline-hidden lua:transition-colors lua:focus:bg-gray-100 lua:focus:text-gray-900 lua:data-disabled:pointer-events-none lua:data-disabled:opacity-50",
|
|
5531
5527
|
className
|
|
5532
5528
|
),
|
|
5533
5529
|
...props,
|
|
@@ -5580,7 +5576,7 @@ var TableWrapper = React121.forwardRef(
|
|
|
5580
5576
|
ref,
|
|
5581
5577
|
"data-slot": "table-wrapper",
|
|
5582
5578
|
className: cn(
|
|
5583
|
-
" lua:border-
|
|
5579
|
+
" lua:border-border lua:rounded-xl lua:border-0 lua:md:border-1",
|
|
5584
5580
|
className
|
|
5585
5581
|
),
|
|
5586
5582
|
...props
|
|
@@ -5642,7 +5638,7 @@ var TableFooter = React121.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
5642
5638
|
ref,
|
|
5643
5639
|
"data-slot": "table-footer",
|
|
5644
5640
|
className: cn(
|
|
5645
|
-
"lua:bg-
|
|
5641
|
+
"lua:bg-muted lua:border-t lua:border-border lua:font-medium lua:[&>tr]:last:border-b-0 lua:block lua:md:table-footer-group lua:mt-4 lua:md:mt-0",
|
|
5646
5642
|
className
|
|
5647
5643
|
),
|
|
5648
5644
|
...props
|
|
@@ -5657,10 +5653,10 @@ var TableRow = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
5657
5653
|
className: cn(
|
|
5658
5654
|
"lua:transition-colors lua:block lua:md:table-row",
|
|
5659
5655
|
// Mobile card styles (default)
|
|
5660
|
-
"lua:bg-
|
|
5656
|
+
"lua:bg-card lua:border lua:border-border lua:rounded-lg lua:p-4 lua:shadow-sm lua:mb-4",
|
|
5661
5657
|
// Desktop table styles (md and up)
|
|
5662
|
-
"lua:md:bg-transparent lua:md:border-0 lua:md:border-b lua:md:border-
|
|
5663
|
-
"lua:md:hover:bg-
|
|
5658
|
+
"lua:md:bg-transparent lua:md:border-0 lua:md:border-b lua:md:border-border lua:md:rounded-none lua:md:p-0 lua:md:shadow-none lua:md:mb-0",
|
|
5659
|
+
"lua:md:hover:bg-muted lua:md:data-[state=selected]:bg-secondary",
|
|
5664
5660
|
className
|
|
5665
5661
|
),
|
|
5666
5662
|
...props
|
|
@@ -5673,7 +5669,7 @@ var TableHead = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
5673
5669
|
ref,
|
|
5674
5670
|
"data-slot": "table-head",
|
|
5675
5671
|
className: cn(
|
|
5676
|
-
"lua:bg-
|
|
5672
|
+
"lua:bg-secondary lua:text-foreground lua:h-11 lua:px-4 lua:text-left lua:align-middle lua:font-medium lua:whitespace-nowrap lua:[&:has([role=checkbox])]:pr-0 lua:[&>[role=checkbox]]:translate-y-[2px] lua:hidden lua:md:table-cell",
|
|
5677
5673
|
className
|
|
5678
5674
|
),
|
|
5679
5675
|
...props
|
|
@@ -5689,8 +5685,8 @@ var TableCell = React121.forwardRef(({ className, label, ...props }, ref) => /*
|
|
|
5689
5685
|
className: cn(
|
|
5690
5686
|
"lua:[&:has([role=checkbox])]:pr-0 lua:[&>[role=checkbox]]:translate-y-[2px] lua:block lua:md:table-cell",
|
|
5691
5687
|
// Mobile card cell styles (default)
|
|
5692
|
-
"lua:py-3 lua:px-0 lua:border-b lua:border-
|
|
5693
|
-
"lua:before:content-[attr(data-label)] lua:before:float-left lua:before:font-normal before:
|
|
5688
|
+
"lua:py-3 lua:px-0 lua:border-b lua:border-border lua:last:border-b-0 lua:text-left",
|
|
5689
|
+
"lua:before:content-[attr(data-label)] lua:before:float-left lua:before:font-normal lua:before:text-foreground lua:before:mr-4 lua:before:min-w-[100px]",
|
|
5694
5690
|
// Desktop table cell styles (md and up)
|
|
5695
5691
|
"lua:md:px-4 lua:md:align-middle lua:md:whitespace-nowrap lua:md:text-left lua:md:border-b-0",
|
|
5696
5692
|
"lua:md:before:content-none",
|
|
@@ -5705,7 +5701,7 @@ var TableCaption = React121.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
5705
5701
|
{
|
|
5706
5702
|
ref,
|
|
5707
5703
|
"data-slot": "table-caption",
|
|
5708
|
-
className: cn("lua:text-
|
|
5704
|
+
className: cn("lua:text-muted-foreground lua:mt-4 lua:text-sm", className),
|
|
5709
5705
|
...props
|
|
5710
5706
|
}
|
|
5711
5707
|
));
|
|
@@ -5718,7 +5714,7 @@ var SelectTrigger = React121.forwardRef(({ className, children, ...props }, ref)
|
|
|
5718
5714
|
{
|
|
5719
5715
|
ref,
|
|
5720
5716
|
className: cn(
|
|
5721
|
-
"lua:flex lua:h-10 lua:w-full lua:items-center lua:justify-between lua:rounded-md lua:border lua:border-
|
|
5717
|
+
"lua:flex lua:h-10 lua:w-full lua:items-center lua:justify-between lua:rounded-md lua:border lua:border-input lua:bg-card lua:px-3 lua:py-2 lua:text-sm lua:text-foreground lua:ring-offset-background lua:placeholder:text-muted-foreground lua:focus:outline-hidden lua:focus:ring-2 lua:focus:ring-ring lua:focus:ring-offset-2 lua:disabled:cursor-not-allowed lua:disabled:opacity-50 lua:[&>span]:line-clamp-1",
|
|
5722
5718
|
className
|
|
5723
5719
|
),
|
|
5724
5720
|
...props,
|
|
@@ -5760,7 +5756,7 @@ var SelectContent = React121.forwardRef(({ className, children, position = "popp
|
|
|
5760
5756
|
{
|
|
5761
5757
|
ref,
|
|
5762
5758
|
className: cn(
|
|
5763
|
-
"lua:relative lua:z-50 lua:max-h-96 lua:min-w-32 lua:overflow-hidden lua:rounded-md lua:border lua:border-
|
|
5759
|
+
"lua:relative lua:z-50 lua:max-h-96 lua:min-w-32 lua:overflow-hidden lua:rounded-md lua:border lua:border-border lua:bg-popover lua:text-popover-foreground lua:shadow-md lua:data-[state=open]:animate-in lua:data-[state=closed]:animate-out lua:data-[state=closed]:fade-out-0 lua:data-[state=open]:fade-in-0 lua:data-[state=closed]:zoom-out-95 lua:data-[state=open]:zoom-in-95",
|
|
5764
5760
|
className
|
|
5765
5761
|
),
|
|
5766
5762
|
position,
|
|
@@ -5796,7 +5792,7 @@ var SelectItem = React121.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
5796
5792
|
{
|
|
5797
5793
|
ref,
|
|
5798
5794
|
className: cn(
|
|
5799
|
-
"lua:relative lua:flex lua:w-full lua:cursor-default lua:select-none lua:items-center lua:rounded-sm lua:py-2 lua:pl-8 lua:pr-2 lua:text-sm lua:outline-hidden lua:focus:bg-
|
|
5795
|
+
"lua:relative lua:flex lua:w-full lua:cursor-default lua:select-none lua:items-center lua:rounded-sm lua:py-2 lua:pl-8 lua:pr-2 lua:text-sm lua:outline-hidden lua:focus:bg-secondary lua:focus:text-foreground lua:data-disabled:pointer-events-none lua:data-disabled:opacity-50",
|
|
5800
5796
|
className
|
|
5801
5797
|
),
|
|
5802
5798
|
...props,
|
|
@@ -5811,7 +5807,7 @@ var SelectSeparator = React121.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
5811
5807
|
SelectPrimitive.Separator,
|
|
5812
5808
|
{
|
|
5813
5809
|
ref,
|
|
5814
|
-
className: cn("lua:-mx-1 lua:my-1 lua:h-px lua:bg-
|
|
5810
|
+
className: cn("lua:-mx-1 lua:my-1 lua:h-px lua:bg-border", className),
|
|
5815
5811
|
...props
|
|
5816
5812
|
}
|
|
5817
5813
|
));
|
|
@@ -5832,12 +5828,12 @@ var Switch = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
5832
5828
|
SwitchPrimitives.Root,
|
|
5833
5829
|
{
|
|
5834
5830
|
className: cn(
|
|
5835
|
-
"lua:peer lua:inline-flex lua:h-5 lua:w-9 lua:shrink-0 lua:cursor-pointer lua:items-center lua:rounded-full lua:border-2 lua:border-transparent lua:transition-all lua:focus-visible:outline-none lua:focus-visible:ring-2 lua:focus-visible:ring-
|
|
5831
|
+
"lua:peer lua:inline-flex lua:h-5 lua:w-9 lua:shrink-0 lua:cursor-pointer lua:items-center lua:rounded-full lua:border-2 lua:border-transparent lua:transition-all lua:focus-visible:outline-none lua:focus-visible:ring-2 lua:focus-visible:ring-ring lua:focus-visible:ring-offset-2 lua:focus-visible:ring-offset-background lua:disabled:cursor-not-allowed lua:disabled:opacity-50 lua:data-[state=checked]:bg-primary lua:data-[state=unchecked]:bg-secondary",
|
|
5836
5832
|
className
|
|
5837
5833
|
),
|
|
5838
5834
|
...props,
|
|
5839
5835
|
ref,
|
|
5840
|
-
children: /* @__PURE__ */ jsx(SwitchPrimitives.Thumb, { className: "lua:pointer-events-none lua:block lua:h-4 lua:w-4 lua:rounded-full lua:bg-
|
|
5836
|
+
children: /* @__PURE__ */ jsx(SwitchPrimitives.Thumb, { className: "lua:pointer-events-none lua:block lua:h-4 lua:w-4 lua:rounded-full lua:bg-background lua:shadow-lg lua:ring-0 lua:transition-transform lua:data-[state=checked]:translate-x-4 lua:data-[state=unchecked]:translate-x-0" })
|
|
5841
5837
|
}
|
|
5842
5838
|
));
|
|
5843
5839
|
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
@@ -5858,7 +5854,7 @@ var RadioGroupItem = React121.forwardRef(({ className, ...props }, ref) => {
|
|
|
5858
5854
|
{
|
|
5859
5855
|
ref,
|
|
5860
5856
|
className: cn(
|
|
5861
|
-
"lua:aspect-square lua:h-4 lua:w-4 lua:rounded-full lua:border lua:border-
|
|
5857
|
+
"lua:aspect-square lua:h-4 lua:w-4 lua:rounded-full lua:border lua:border-primary lua:text-primary lua:ring-offset-background lua:focus:outline-hidden lua:focus-visible:ring-2 lua:focus-visible:ring-ring lua:focus-visible:ring-offset-2 lua:disabled:cursor-not-allowed lua:disabled:opacity-50",
|
|
5862
5858
|
className
|
|
5863
5859
|
),
|
|
5864
5860
|
...props,
|
|
@@ -5872,7 +5868,7 @@ var Checkbox = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
5872
5868
|
{
|
|
5873
5869
|
ref,
|
|
5874
5870
|
className: cn(
|
|
5875
|
-
"lua:peer lua:h-4 lua:w-4 lua:shrink-0 lua:rounded lua:border lua:border-
|
|
5871
|
+
"lua:peer lua:h-4 lua:w-4 lua:shrink-0 lua:rounded lua:border lua:border-input lua:bg-card lua:shadow-xs lua:transition-all lua:outline-hidden lua:focus-visible:ring-2 lua:focus-visible:ring-ring lua:focus-visible:ring-offset-2 lua:focus-visible:ring-offset-background lua:disabled:cursor-not-allowed lua:disabled:opacity-50 lua:data-[state=checked]:bg-primary lua:data-[state=checked]:text-primary-foreground lua:data-[state=checked]:border-primary lua:aria-[invalid=true]:border-destructive",
|
|
5876
5872
|
className
|
|
5877
5873
|
),
|
|
5878
5874
|
...props,
|
|
@@ -5934,7 +5930,7 @@ var MultiSelect = React121.forwardRef(
|
|
|
5934
5930
|
{
|
|
5935
5931
|
ref,
|
|
5936
5932
|
className: cn(
|
|
5937
|
-
"lua:flex lua:h-10 lua:w-full lua:items-center lua:justify-between lua:rounded-md lua:border lua:border-
|
|
5933
|
+
"lua:flex lua:h-10 lua:w-full lua:items-center lua:justify-between lua:rounded-md lua:border lua:border-input lua:bg-card lua:px-3 lua:py-2 lua:text-sm lua:text-foreground lua:ring-offset-background lua:placeholder:text-muted-foreground lua:focus:outline-hidden lua:focus:ring-2 lua:focus:ring-ring lua:focus:ring-offset-2 lua:disabled:cursor-not-allowed lua:disabled:opacity-50",
|
|
5938
5934
|
className
|
|
5939
5935
|
),
|
|
5940
5936
|
disabled,
|
|
@@ -5948,7 +5944,7 @@ var MultiSelect = React121.forwardRef(
|
|
|
5948
5944
|
{
|
|
5949
5945
|
className: cn(
|
|
5950
5946
|
"lua:line-clamp-1",
|
|
5951
|
-
value.length === 0 && "lua:text-
|
|
5947
|
+
value.length === 0 && "lua:text-muted-foreground"
|
|
5952
5948
|
),
|
|
5953
5949
|
children: displayValue
|
|
5954
5950
|
}
|
|
@@ -5960,7 +5956,7 @@ var MultiSelect = React121.forwardRef(
|
|
|
5960
5956
|
/* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
|
|
5961
5957
|
DropdownMenuPrimitive.Content,
|
|
5962
5958
|
{
|
|
5963
|
-
className: "lua:z-50 lua:max-h-96 lua:w-[var(--radix-dropdown-menu-trigger-width)] lua:overflow-y-auto lua:overflow-x-hidden lua:rounded-md lua:border lua:border-
|
|
5959
|
+
className: "lua:z-50 lua:max-h-96 lua:w-[var(--radix-dropdown-menu-trigger-width)] lua:overflow-y-auto lua:overflow-x-hidden lua:rounded-md lua:border lua:border-border lua:bg-popover lua:text-popover-foreground lua:p-1 lua:shadow-md lua:data-[state=open]:animate-in lua:data-[state=closed]:animate-out lua:data-[state=closed]:fade-out-0 lua:data-[state=open]:fade-in-0 lua:data-[state=closed]:zoom-out-95 lua:data-[state=open]:zoom-in-95",
|
|
5964
5960
|
sideOffset: 4,
|
|
5965
5961
|
align: "start",
|
|
5966
5962
|
role: "listbox",
|
|
@@ -5970,7 +5966,7 @@ var MultiSelect = React121.forwardRef(
|
|
|
5970
5966
|
/* @__PURE__ */ jsxs(
|
|
5971
5967
|
"div",
|
|
5972
5968
|
{
|
|
5973
|
-
className: "lua:relative lua:flex lua:cursor-default lua:select-none lua:items-center lua:gap-2 lua:rounded-sm lua:px-2 lua:py-2 lua:text-sm lua:outline-hidden lua:transition-colors lua:focus:bg-
|
|
5969
|
+
className: "lua:relative lua:flex lua:cursor-default lua:select-none lua:items-center lua:gap-2 lua:rounded-sm lua:px-2 lua:py-2 lua:text-sm lua:outline-hidden lua:transition-colors lua:focus:bg-secondary lua:focus:text-foreground",
|
|
5974
5970
|
role: "option",
|
|
5975
5971
|
"aria-selected": isAllSelected,
|
|
5976
5972
|
children: [
|
|
@@ -5994,13 +5990,13 @@ var MultiSelect = React121.forwardRef(
|
|
|
5994
5990
|
]
|
|
5995
5991
|
}
|
|
5996
5992
|
),
|
|
5997
|
-
/* @__PURE__ */ jsx(DropdownMenuPrimitive.Separator, { className: "lua:-mx-1 lua:my-1 lua:h-px lua:bg-
|
|
5993
|
+
/* @__PURE__ */ jsx(DropdownMenuPrimitive.Separator, { className: "lua:-mx-1 lua:my-1 lua:h-px lua:bg-border" })
|
|
5998
5994
|
] }),
|
|
5999
5995
|
options.map((option) => /* @__PURE__ */ jsxs(
|
|
6000
5996
|
"div",
|
|
6001
5997
|
{
|
|
6002
5998
|
className: cn(
|
|
6003
|
-
"lua:relative lua:flex lua:cursor-default lua:select-none lua:items-center lua:gap-2 lua:rounded-sm lua:px-2 lua:py-2 lua:text-sm lua:outline-hidden lua:transition-colors lua:focus:bg-
|
|
5999
|
+
"lua:relative lua:flex lua:cursor-default lua:select-none lua:items-center lua:gap-2 lua:rounded-sm lua:px-2 lua:py-2 lua:text-sm lua:outline-hidden lua:transition-colors lua:focus:bg-secondary lua:focus:text-foreground",
|
|
6004
6000
|
option.disabled && "lua:pointer-events-none lua:opacity-50"
|
|
6005
6001
|
),
|
|
6006
6002
|
role: "option",
|
|
@@ -6046,8 +6042,8 @@ var Slider = React121.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
6046
6042
|
),
|
|
6047
6043
|
...props,
|
|
6048
6044
|
children: [
|
|
6049
|
-
/* @__PURE__ */ jsx(SliderPrimitive.Track, { className: "lua:relative lua:h-2 lua:w-full lua:grow lua:overflow-hidden lua:rounded-full lua:bg-
|
|
6050
|
-
/* @__PURE__ */ jsx(SliderPrimitive.Thumb, { className: "lua:block lua:h-5 lua:w-5 lua:rounded-full lua:border-2 lua:border-
|
|
6045
|
+
/* @__PURE__ */ jsx(SliderPrimitive.Track, { className: "lua:relative lua:h-2 lua:w-full lua:grow lua:overflow-hidden lua:rounded-full lua:bg-secondary", children: /* @__PURE__ */ jsx(SliderPrimitive.Range, { className: "lua:absolute lua:h-full lua:bg-primary" }) }),
|
|
6046
|
+
/* @__PURE__ */ jsx(SliderPrimitive.Thumb, { className: "lua:block lua:h-5 lua:w-5 lua:rounded-full lua:border-2 lua:border-background lua:bg-primary lua:shadow-lg lua:ring-offset-background lua:transition-all lua:focus-visible:outline-none lua:focus-visible:ring-2 lua:focus-visible:ring-ring lua:focus-visible:ring-offset-2 lua:hover:shadow-xl lua:hover:scale-105 lua:active:scale-95 lua:disabled:bg-muted lua:disabled:pointer-events-none lua:disabled:opacity-50" })
|
|
6051
6047
|
]
|
|
6052
6048
|
}
|
|
6053
6049
|
));
|
|
@@ -6121,8 +6117,8 @@ function Calendar({
|
|
|
6121
6117
|
showOutsideDays,
|
|
6122
6118
|
className: cn(
|
|
6123
6119
|
"lua:group/calendar lua:p-1.5 lua:rounded-md [--cell-size:1.5rem] lua:font-onest",
|
|
6124
|
-
String.raw`rtl:**:[.rdp-button\_next>svg]:
|
|
6125
|
-
String.raw`rtl:**:[.rdp-button\_previous>svg]:
|
|
6120
|
+
String.raw`lua:rtl:**:[.rdp-button\_next>svg]:rotate-180`,
|
|
6121
|
+
String.raw`lua:rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
|
|
6126
6122
|
className
|
|
6127
6123
|
),
|
|
6128
6124
|
captionLayout,
|
|
@@ -6133,7 +6129,7 @@ function Calendar({
|
|
|
6133
6129
|
classNames: {
|
|
6134
6130
|
root: cn("lua:w-fit", defaultClassNames.root),
|
|
6135
6131
|
months: cn(
|
|
6136
|
-
"lua:relative lua:flex lua:flex-col lua:gap-2 md:
|
|
6132
|
+
"lua:relative lua:flex lua:flex-col lua:gap-2 lua:md:flex-row",
|
|
6137
6133
|
defaultClassNames.months
|
|
6138
6134
|
),
|
|
6139
6135
|
month: cn(
|
|
@@ -6163,14 +6159,14 @@ function Calendar({
|
|
|
6163
6159
|
defaultClassNames.dropdown
|
|
6164
6160
|
),
|
|
6165
6161
|
caption_label: cn(
|
|
6166
|
-
"lua:select-none lua:font-onest lua:font-semibold lua:text-
|
|
6167
|
-
captionLayout === "label" ? "lua:text-sm" : "[&>svg]:
|
|
6162
|
+
"lua:select-none lua:font-onest lua:font-semibold lua:text-foreground",
|
|
6163
|
+
captionLayout === "label" ? "lua:text-sm" : "lua:[&>svg]:text-muted-foreground lua:flex lua:h-6 lua:items-center lua:gap-1 lua:rounded-md lua:pl-2 lua:pr-1 lua:text-xs lua:[&>svg]:size-3",
|
|
6168
6164
|
defaultClassNames.caption_label
|
|
6169
6165
|
),
|
|
6170
6166
|
table: "lua:w-full lua:border-collapse",
|
|
6171
6167
|
weekdays: cn("lua:flex", defaultClassNames.weekdays),
|
|
6172
6168
|
weekday: cn(
|
|
6173
|
-
"lua:text-
|
|
6169
|
+
"lua:text-muted-foreground lua:flex-1 lua:select-none lua:text-xs lua:font-onest lua:font-medium",
|
|
6174
6170
|
defaultClassNames.weekday
|
|
6175
6171
|
),
|
|
6176
6172
|
week: cn("lua:mt-1 lua:flex lua:w-full", defaultClassNames.week),
|
|
@@ -6179,26 +6175,26 @@ function Calendar({
|
|
|
6179
6175
|
defaultClassNames.week_number_header
|
|
6180
6176
|
),
|
|
6181
6177
|
week_number: cn(
|
|
6182
|
-
"lua:text-
|
|
6178
|
+
"lua:text-muted-foreground lua:select-none lua:text-xs lua:font-onest",
|
|
6183
6179
|
defaultClassNames.week_number
|
|
6184
6180
|
),
|
|
6185
6181
|
day: cn(
|
|
6186
|
-
"lua:relative lua:w-full lua:h-full lua:p-0 lua:text-center lua:group/day lua:aspect-square lua:select-none",
|
|
6182
|
+
"lua:relative lua:w-full lua:h-full lua:p-0 lua:text-center lua:group/day lua:aspect-square lua:select-none lua:text-foreground",
|
|
6187
6183
|
defaultClassNames.day
|
|
6188
6184
|
),
|
|
6189
|
-
range_start: cn("lua:bg-
|
|
6190
|
-
range_middle: cn("lua:bg-
|
|
6191
|
-
range_end: cn("lua:bg-
|
|
6185
|
+
range_start: cn("lua:bg-secondary", defaultClassNames.range_start),
|
|
6186
|
+
range_middle: cn("lua:bg-muted", defaultClassNames.range_middle),
|
|
6187
|
+
range_end: cn("lua:bg-secondary", defaultClassNames.range_end),
|
|
6192
6188
|
today: cn(
|
|
6193
|
-
"lua:bg-
|
|
6189
|
+
"lua:bg-secondary lua:text-foreground lua:font-bold",
|
|
6194
6190
|
defaultClassNames.today
|
|
6195
6191
|
),
|
|
6196
6192
|
outside: cn(
|
|
6197
|
-
"lua:text-
|
|
6193
|
+
"lua:text-muted-foreground lua:opacity-50 lua:aria-selected:text-muted-foreground",
|
|
6198
6194
|
defaultClassNames.outside
|
|
6199
6195
|
),
|
|
6200
6196
|
disabled: cn(
|
|
6201
|
-
"lua:text-
|
|
6197
|
+
"lua:text-muted-foreground lua:opacity-50",
|
|
6202
6198
|
defaultClassNames.disabled
|
|
6203
6199
|
),
|
|
6204
6200
|
hidden: cn("lua:invisible", defaultClassNames.hidden),
|
|
@@ -6225,15 +6221,15 @@ var PopoverContent = React121.forwardRef(({ className, align = "center", sideOff
|
|
|
6225
6221
|
align,
|
|
6226
6222
|
sideOffset,
|
|
6227
6223
|
className: cn(
|
|
6228
|
-
// Base styles - Luaniverse design
|
|
6229
|
-
"lua:z-50 lua:rounded-md lua:border lua:border-
|
|
6224
|
+
// Base styles - Luaniverse design with semantic tokens
|
|
6225
|
+
"lua:z-50 lua:rounded-md lua:border lua:border-border lua:bg-popover lua:text-popover-foreground lua:shadow-lg lua:font-onest",
|
|
6230
6226
|
// Animation
|
|
6231
6227
|
"lua:transition-all lua:duration-200",
|
|
6232
|
-
"data-[state=open]:
|
|
6233
|
-
"data-[state=closed]:
|
|
6234
|
-
"data-[side=bottom]:
|
|
6228
|
+
"lua:data-[state=open]:animate-in lua:data-[state=open]:fade-in-0 lua:data-[state=open]:zoom-in-95",
|
|
6229
|
+
"lua:data-[state=closed]:animate-out lua:data-[state=closed]:fade-out-0 lua:data-[state=closed]:zoom-out-95",
|
|
6230
|
+
"lua:data-[side=bottom]:slide-in-from-top-2 lua:data-[side=left]:slide-in-from-right-2 lua:data-[side=right]:slide-in-from-left-2 lua:data-[side=top]:slide-in-from-bottom-2",
|
|
6235
6231
|
// Focus
|
|
6236
|
-
"focus-visible:
|
|
6232
|
+
"lua:focus-visible:outline-none lua:focus-visible:ring-2 lua:focus-visible:ring-ring lua:focus-visible:ring-offset-2",
|
|
6237
6233
|
className
|
|
6238
6234
|
),
|
|
6239
6235
|
...props
|
|
@@ -6243,6 +6239,269 @@ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
|
6243
6239
|
|
|
6244
6240
|
// src/safelist.js
|
|
6245
6241
|
var luaniverseSafelist = [
|
|
6242
|
+
// Semantic Color Tokens - Emphasis (black-based)
|
|
6243
|
+
"lua:bg-emphasis-base",
|
|
6244
|
+
"lua:bg-emphasis-hover",
|
|
6245
|
+
"lua:bg-emphasis-active",
|
|
6246
|
+
"lua:text-emphasis-text",
|
|
6247
|
+
"lua:text-emphasis-text-inverse",
|
|
6248
|
+
"lua:hover:bg-emphasis-base",
|
|
6249
|
+
"lua:hover:bg-emphasis-hover",
|
|
6250
|
+
"lua:hover:bg-emphasis-active",
|
|
6251
|
+
"lua:active:bg-emphasis-base",
|
|
6252
|
+
"lua:active:bg-emphasis-hover",
|
|
6253
|
+
"lua:active:bg-emphasis-active",
|
|
6254
|
+
"lua:focus-visible:bg-emphasis-base",
|
|
6255
|
+
// Semantic Color Tokens - Brand (blue-based)
|
|
6256
|
+
"lua:bg-brand-base",
|
|
6257
|
+
"lua:bg-brand-hover",
|
|
6258
|
+
"lua:bg-brand-active",
|
|
6259
|
+
"lua:text-brand-text",
|
|
6260
|
+
"lua:text-brand-text-inverse",
|
|
6261
|
+
"lua:border-brand-border",
|
|
6262
|
+
"lua:hover:bg-brand-base",
|
|
6263
|
+
"lua:hover:bg-brand-hover",
|
|
6264
|
+
"lua:hover:bg-brand-active",
|
|
6265
|
+
"lua:hover:text-brand-text",
|
|
6266
|
+
"lua:active:bg-brand-base",
|
|
6267
|
+
"lua:active:bg-brand-hover",
|
|
6268
|
+
"lua:active:bg-brand-active",
|
|
6269
|
+
"lua:active:text-brand-text",
|
|
6270
|
+
"lua:focus-visible:bg-brand-base",
|
|
6271
|
+
"lua:focus-visible:border-brand-border",
|
|
6272
|
+
// Semantic Color Tokens - Neutral (gray-based)
|
|
6273
|
+
"lua:bg-neutral-base",
|
|
6274
|
+
"lua:bg-neutral-hover",
|
|
6275
|
+
"lua:bg-neutral-active",
|
|
6276
|
+
"lua:text-neutral-text",
|
|
6277
|
+
"lua:text-neutral-text-muted",
|
|
6278
|
+
"lua:border-neutral-border",
|
|
6279
|
+
"lua:border-neutral-border-strong",
|
|
6280
|
+
"lua:hover:bg-neutral-base",
|
|
6281
|
+
"lua:hover:bg-neutral-hover",
|
|
6282
|
+
"lua:hover:bg-neutral-active",
|
|
6283
|
+
"lua:hover:text-neutral-text",
|
|
6284
|
+
"lua:active:bg-neutral-base",
|
|
6285
|
+
"lua:active:bg-neutral-hover",
|
|
6286
|
+
"lua:active:bg-neutral-active",
|
|
6287
|
+
"lua:focus-visible:bg-neutral-base",
|
|
6288
|
+
// Semantic Color Tokens - Outline
|
|
6289
|
+
"lua:bg-outline-bg",
|
|
6290
|
+
"lua:bg-outline-hover",
|
|
6291
|
+
"lua:bg-outline-active",
|
|
6292
|
+
"lua:border-outline-border",
|
|
6293
|
+
"lua:border-outline-border-hover",
|
|
6294
|
+
"lua:hover:bg-outline-bg",
|
|
6295
|
+
"lua:hover:bg-outline-hover",
|
|
6296
|
+
"lua:hover:bg-outline-active",
|
|
6297
|
+
"lua:active:bg-outline-bg",
|
|
6298
|
+
"lua:active:bg-outline-hover",
|
|
6299
|
+
"lua:active:bg-outline-active",
|
|
6300
|
+
"lua:focus-visible:bg-outline-bg",
|
|
6301
|
+
"lua:focus-visible:border-outline-border-hover",
|
|
6302
|
+
// Semantic Color Tokens - Danger (red-based)
|
|
6303
|
+
"lua:bg-danger-base",
|
|
6304
|
+
"lua:bg-danger-hover",
|
|
6305
|
+
"lua:bg-danger-active",
|
|
6306
|
+
"lua:text-danger-text",
|
|
6307
|
+
"lua:text-danger-text-inverse",
|
|
6308
|
+
"lua:border-danger-base",
|
|
6309
|
+
"lua:hover:bg-danger-base",
|
|
6310
|
+
"lua:hover:bg-danger-hover",
|
|
6311
|
+
"lua:hover:bg-danger-active",
|
|
6312
|
+
"lua:active:bg-danger-base",
|
|
6313
|
+
"lua:active:bg-danger-hover",
|
|
6314
|
+
"lua:active:bg-danger-active",
|
|
6315
|
+
"lua:focus-visible:bg-danger-base",
|
|
6316
|
+
// Semantic Color Tokens - Success (green-based)
|
|
6317
|
+
"lua:bg-success-base",
|
|
6318
|
+
"lua:bg-success-hover",
|
|
6319
|
+
"lua:bg-success-active",
|
|
6320
|
+
"lua:text-success-text",
|
|
6321
|
+
"lua:text-success-text-inverse",
|
|
6322
|
+
"lua:hover:bg-success-base",
|
|
6323
|
+
"lua:hover:bg-success-hover",
|
|
6324
|
+
"lua:hover:bg-success-active",
|
|
6325
|
+
"lua:active:bg-success-base",
|
|
6326
|
+
"lua:active:bg-success-hover",
|
|
6327
|
+
"lua:active:bg-success-active",
|
|
6328
|
+
"lua:focus-visible:bg-success-base",
|
|
6329
|
+
// Semantic Color Tokens - Warning (yellow-based)
|
|
6330
|
+
"lua:bg-warning-base",
|
|
6331
|
+
"lua:bg-warning-hover",
|
|
6332
|
+
"lua:bg-warning-active",
|
|
6333
|
+
"lua:text-warning-text",
|
|
6334
|
+
"lua:text-warning-text-inverse",
|
|
6335
|
+
"lua:hover:bg-warning-base",
|
|
6336
|
+
"lua:hover:bg-warning-hover",
|
|
6337
|
+
"lua:hover:bg-warning-active",
|
|
6338
|
+
"lua:active:bg-warning-base",
|
|
6339
|
+
"lua:active:bg-warning-hover",
|
|
6340
|
+
"lua:active:bg-warning-active",
|
|
6341
|
+
"lua:focus-visible:bg-warning-base",
|
|
6342
|
+
// Semantic Color Tokens - Disabled State
|
|
6343
|
+
"lua:bg-disabled-bg",
|
|
6344
|
+
"lua:text-disabled-text",
|
|
6345
|
+
"lua:border-disabled-border",
|
|
6346
|
+
"lua:disabled:bg-disabled-bg",
|
|
6347
|
+
"lua:disabled:text-disabled-text",
|
|
6348
|
+
"lua:disabled:border-disabled-border",
|
|
6349
|
+
// Semantic Color Tokens - Focus Rings
|
|
6350
|
+
"lua:ring-focus-ring-emphasis",
|
|
6351
|
+
"lua:ring-focus-ring-brand",
|
|
6352
|
+
"lua:ring-focus-ring-danger",
|
|
6353
|
+
"lua:ring-offset-focus-ring-offset",
|
|
6354
|
+
"lua:focus-visible:ring-focus-ring-emphasis",
|
|
6355
|
+
"lua:focus-visible:ring-focus-ring-brand",
|
|
6356
|
+
"lua:focus-visible:ring-focus-ring-danger",
|
|
6357
|
+
"lua:focus-visible:ring-offset-focus-ring-offset",
|
|
6358
|
+
// Dark Mode Variants - Default/Emphasis
|
|
6359
|
+
"lua:dark:bg-gray-50",
|
|
6360
|
+
"lua:dark:bg-gray-100",
|
|
6361
|
+
"lua:dark:bg-gray-200",
|
|
6362
|
+
"lua:dark:text-gray-900",
|
|
6363
|
+
"lua:dark:hover:bg-gray-50",
|
|
6364
|
+
"lua:dark:active:bg-gray-200",
|
|
6365
|
+
"lua:dark:focus-visible:bg-gray-100",
|
|
6366
|
+
"lua:dark:focus-visible:ring-gray-300",
|
|
6367
|
+
"lua:[a&]:dark:hover:bg-gray-50",
|
|
6368
|
+
// Dark Mode Variants - Primary/Brand
|
|
6369
|
+
"lua:dark:bg-blue-500",
|
|
6370
|
+
"lua:dark:bg-blue-600",
|
|
6371
|
+
"lua:dark:bg-blue-700",
|
|
6372
|
+
"lua:dark:text-blue-400",
|
|
6373
|
+
"lua:dark:border-blue-400",
|
|
6374
|
+
"lua:dark:border-blue-600",
|
|
6375
|
+
"lua:dark:border-blue-700",
|
|
6376
|
+
"lua:dark:hover:bg-blue-500",
|
|
6377
|
+
"lua:dark:hover:bg-blue-600",
|
|
6378
|
+
"lua:dark:hover:text-white",
|
|
6379
|
+
"lua:dark:hover:border-blue-600",
|
|
6380
|
+
"lua:dark:active:bg-blue-700",
|
|
6381
|
+
"lua:dark:active:border-blue-700",
|
|
6382
|
+
"lua:dark:focus-visible:bg-blue-600",
|
|
6383
|
+
"lua:dark:focus-visible:ring-blue-400",
|
|
6384
|
+
"lua:[a&]:dark:hover:bg-blue-500",
|
|
6385
|
+
// Dark Mode Variants - Secondary/Neutral
|
|
6386
|
+
"lua:dark:bg-gray-600",
|
|
6387
|
+
"lua:dark:bg-gray-700",
|
|
6388
|
+
"lua:dark:bg-gray-800",
|
|
6389
|
+
"lua:dark:bg-gray-900",
|
|
6390
|
+
"lua:dark:text-gray-100",
|
|
6391
|
+
"lua:dark:text-gray-200",
|
|
6392
|
+
"lua:dark:text-gray-400",
|
|
6393
|
+
"lua:dark:border-gray-600",
|
|
6394
|
+
"lua:dark:border-gray-700",
|
|
6395
|
+
"lua:dark:hover:bg-gray-600",
|
|
6396
|
+
"lua:dark:hover:bg-gray-700",
|
|
6397
|
+
"lua:dark:hover:bg-gray-800",
|
|
6398
|
+
"lua:dark:active:bg-gray-600",
|
|
6399
|
+
"lua:dark:active:bg-gray-700",
|
|
6400
|
+
"lua:dark:focus-visible:bg-gray-800",
|
|
6401
|
+
"lua:dark:focus-visible:bg-gray-900",
|
|
6402
|
+
"lua:dark:focus-visible:border-gray-600",
|
|
6403
|
+
"lua:dark:focus-visible:ring-gray-400",
|
|
6404
|
+
"lua:[a&]:dark:hover:bg-gray-700",
|
|
6405
|
+
"lua:[a&]:dark:hover:bg-gray-800",
|
|
6406
|
+
// Dark Mode Variants - Danger/Destructive
|
|
6407
|
+
"lua:dark:bg-red-500",
|
|
6408
|
+
"lua:dark:bg-red-600",
|
|
6409
|
+
"lua:dark:bg-red-700",
|
|
6410
|
+
"lua:dark:hover:bg-red-500",
|
|
6411
|
+
"lua:dark:active:bg-red-700",
|
|
6412
|
+
"lua:dark:focus-visible:bg-red-600",
|
|
6413
|
+
"lua:dark:focus-visible:ring-red-400",
|
|
6414
|
+
"lua:[a&]:dark:hover:bg-red-500",
|
|
6415
|
+
// Dark Mode Variants - Success
|
|
6416
|
+
"lua:dark:bg-green-500",
|
|
6417
|
+
"lua:dark:bg-green-600",
|
|
6418
|
+
"lua:dark:hover:bg-green-500",
|
|
6419
|
+
"lua:[a&]:dark:hover:bg-green-500",
|
|
6420
|
+
// Dark Mode Variants - Warning
|
|
6421
|
+
"lua:dark:bg-amber-500",
|
|
6422
|
+
"lua:dark:bg-amber-600",
|
|
6423
|
+
"lua:dark:text-gray-900",
|
|
6424
|
+
"lua:dark:hover:bg-amber-500",
|
|
6425
|
+
"lua:[a&]:dark:hover:bg-amber-500",
|
|
6426
|
+
// Dark Mode Variants - Disabled
|
|
6427
|
+
"lua:dark:disabled:bg-white/5",
|
|
6428
|
+
"lua:dark:disabled:text-white/30",
|
|
6429
|
+
// Semantic Color Tokens - Base
|
|
6430
|
+
"lua:bg-background",
|
|
6431
|
+
"lua:text-foreground",
|
|
6432
|
+
// Semantic Color Tokens - Card & Surface
|
|
6433
|
+
"lua:bg-card",
|
|
6434
|
+
"lua:text-card-foreground",
|
|
6435
|
+
"lua:border-border",
|
|
6436
|
+
// Semantic Color Tokens - Popover
|
|
6437
|
+
"lua:bg-popover",
|
|
6438
|
+
"lua:text-popover-foreground",
|
|
6439
|
+
// Semantic Color Tokens - Default (Emphasis - Black/Bold)
|
|
6440
|
+
"lua:bg-default",
|
|
6441
|
+
"lua:text-default-foreground",
|
|
6442
|
+
"lua:bg-default-hover",
|
|
6443
|
+
"lua:hover:bg-default-hover",
|
|
6444
|
+
"lua:bg-default-active",
|
|
6445
|
+
"lua:active:bg-default-active",
|
|
6446
|
+
"lua:[a&]:hover:bg-default-hover",
|
|
6447
|
+
// Semantic Color Tokens - Primary (Brand - Blue)
|
|
6448
|
+
"lua:bg-primary",
|
|
6449
|
+
"lua:text-primary-foreground",
|
|
6450
|
+
"lua:text-primary",
|
|
6451
|
+
"lua:border-primary",
|
|
6452
|
+
"lua:bg-primary-hover",
|
|
6453
|
+
"lua:hover:bg-primary",
|
|
6454
|
+
"lua:hover:bg-primary-hover",
|
|
6455
|
+
"lua:hover:text-primary-foreground",
|
|
6456
|
+
"lua:hover:border-primary",
|
|
6457
|
+
"lua:bg-primary-active",
|
|
6458
|
+
"lua:active:bg-primary-hover",
|
|
6459
|
+
"lua:active:border-primary-hover",
|
|
6460
|
+
"lua:[a&]:hover:bg-primary-hover",
|
|
6461
|
+
// Semantic Color Tokens - Secondary (Neutral - Gray)
|
|
6462
|
+
"lua:bg-secondary",
|
|
6463
|
+
"lua:text-secondary-foreground",
|
|
6464
|
+
"lua:bg-secondary-hover",
|
|
6465
|
+
"lua:hover:bg-secondary",
|
|
6466
|
+
"lua:hover:bg-secondary-hover",
|
|
6467
|
+
"lua:bg-secondary-active",
|
|
6468
|
+
"lua:active:bg-secondary-active",
|
|
6469
|
+
"lua:[a&]:hover:bg-secondary",
|
|
6470
|
+
"lua:[a&]:hover:bg-secondary-hover",
|
|
6471
|
+
// Semantic Color Tokens - Muted
|
|
6472
|
+
"lua:bg-muted",
|
|
6473
|
+
"lua:text-muted-foreground",
|
|
6474
|
+
// Semantic Color Tokens - Accent
|
|
6475
|
+
"lua:bg-accent",
|
|
6476
|
+
"lua:text-accent-foreground",
|
|
6477
|
+
// Semantic Color Tokens - Destructive (Danger - Red)
|
|
6478
|
+
"lua:bg-destructive",
|
|
6479
|
+
"lua:text-destructive-foreground",
|
|
6480
|
+
"lua:bg-destructive-hover",
|
|
6481
|
+
"lua:hover:bg-destructive-hover",
|
|
6482
|
+
"lua:bg-destructive-active",
|
|
6483
|
+
"lua:active:bg-destructive-active",
|
|
6484
|
+
"lua:[a&]:hover:bg-destructive-hover",
|
|
6485
|
+
// Semantic Color Tokens - Success (Green)
|
|
6486
|
+
"lua:bg-success",
|
|
6487
|
+
"lua:text-success-foreground",
|
|
6488
|
+
"lua:bg-success-hover",
|
|
6489
|
+
"lua:hover:bg-success-hover",
|
|
6490
|
+
"lua:[a&]:hover:bg-success-hover",
|
|
6491
|
+
// Semantic Color Tokens - Warning (Amber)
|
|
6492
|
+
"lua:bg-warning",
|
|
6493
|
+
"lua:text-warning-foreground",
|
|
6494
|
+
"lua:bg-warning-hover",
|
|
6495
|
+
"lua:hover:bg-warning-hover",
|
|
6496
|
+
"lua:[a&]:hover:bg-warning-hover",
|
|
6497
|
+
// Semantic Color Tokens - Input & Ring
|
|
6498
|
+
"lua:border-input",
|
|
6499
|
+
"lua:ring-ring",
|
|
6500
|
+
"lua:focus-visible:ring-ring",
|
|
6501
|
+
"lua:focus-visible:ring-2",
|
|
6502
|
+
"lua:focus-visible:ring-offset-2",
|
|
6503
|
+
"lua:disabled:opacity-50",
|
|
6504
|
+
"lua:disabled:pointer-events-none",
|
|
6246
6505
|
// Dialog positioning
|
|
6247
6506
|
"left-[50%]",
|
|
6248
6507
|
"top-[50%]",
|
|
@@ -6320,8 +6579,9 @@ var luaniverseSafelist = [
|
|
|
6320
6579
|
"lua:lg:border-r-2",
|
|
6321
6580
|
"lua:min-h-0",
|
|
6322
6581
|
// Tables
|
|
6323
|
-
"lua:
|
|
6324
|
-
"lua:md:hover:bg-
|
|
6582
|
+
"lua:relative",
|
|
6583
|
+
"lua:md:hover:bg-muted",
|
|
6584
|
+
"lua:md:data-[state=selected]:bg-secondary",
|
|
6325
6585
|
"lua:transition-colors",
|
|
6326
6586
|
"lua:block",
|
|
6327
6587
|
"lua:md:table-row",
|
|
@@ -6329,57 +6589,96 @@ var luaniverseSafelist = [
|
|
|
6329
6589
|
"lua:md:table",
|
|
6330
6590
|
"lua:md:table-header-group",
|
|
6331
6591
|
"lua:md:table-cell",
|
|
6592
|
+
"lua:md:table-footer-group",
|
|
6332
6593
|
"lua:[&_tr]:border-none",
|
|
6594
|
+
"lua:[&_tr:last-child]:border-0",
|
|
6595
|
+
"lua:[&>tr]:last:border-b-0",
|
|
6333
6596
|
"lua:hidden",
|
|
6334
6597
|
"lua:shadow-sm",
|
|
6598
|
+
"lua:md:shadow-none",
|
|
6335
6599
|
"lua:text-sm",
|
|
6336
6600
|
"lua:w-full",
|
|
6337
6601
|
"lua:caption-bottom",
|
|
6338
6602
|
"lua:h-11",
|
|
6339
6603
|
"lua:align-middle",
|
|
6604
|
+
"lua:md:align-middle",
|
|
6605
|
+
"lua:px-4",
|
|
6340
6606
|
"lua:md:px-4",
|
|
6607
|
+
"lua:py-3",
|
|
6608
|
+
"lua:px-0",
|
|
6609
|
+
"lua:p-4",
|
|
6610
|
+
"lua:md:p-0",
|
|
6611
|
+
"lua:text-left",
|
|
6341
6612
|
"lua:md:text-left",
|
|
6342
|
-
"lua:md:border-b",
|
|
6343
|
-
"lua:md:border-b-0",
|
|
6344
6613
|
"lua:font-medium",
|
|
6345
6614
|
"lua:space-y-4",
|
|
6615
|
+
"lua:md:space-y-0",
|
|
6346
6616
|
"lua:cursor-pointer",
|
|
6617
|
+
"lua:border-0",
|
|
6618
|
+
"lua:md:border-0",
|
|
6347
6619
|
"lua:md:border-1",
|
|
6348
6620
|
"lua:rounded-xl",
|
|
6621
|
+
"lua:rounded-lg",
|
|
6622
|
+
"lua:md:rounded-none",
|
|
6349
6623
|
"lua:overflow-x-auto",
|
|
6350
|
-
"lua:
|
|
6351
|
-
"last:lua:border-b-0",
|
|
6624
|
+
"lua:last:border-b-0",
|
|
6352
6625
|
"lua:border-b",
|
|
6353
|
-
"lua:border-
|
|
6354
|
-
"lua:md:border-0",
|
|
6355
|
-
"lua:
|
|
6626
|
+
"lua:md:border-b",
|
|
6627
|
+
"lua:md:border-b-0",
|
|
6628
|
+
"lua:border-t",
|
|
6356
6629
|
"lua:border",
|
|
6357
|
-
"lua:
|
|
6630
|
+
"lua:md:bg-transparent",
|
|
6631
|
+
"lua:mb-4",
|
|
6632
|
+
"lua:md:mb-0",
|
|
6633
|
+
"lua:mt-4",
|
|
6634
|
+
"lua:md:mt-0",
|
|
6635
|
+
"lua:whitespace-nowrap",
|
|
6636
|
+
"lua:md:whitespace-nowrap",
|
|
6637
|
+
"lua:[&:has([role=checkbox])]:pr-0",
|
|
6638
|
+
"lua:[&>[role=checkbox]]:translate-y-[2px]",
|
|
6639
|
+
"lua:before:text-foreground",
|
|
6640
|
+
"lua:before:content-[attr(data-label)]",
|
|
6641
|
+
"lua:before:float-left",
|
|
6642
|
+
"lua:before:font-normal",
|
|
6643
|
+
"lua:before:mr-4",
|
|
6644
|
+
"lua:before:min-w-[100px]",
|
|
6645
|
+
"lua:md:before:content-none",
|
|
6646
|
+
// IconButton
|
|
6647
|
+
"lua:size-7",
|
|
6648
|
+
"lua:size-10",
|
|
6649
|
+
"lua:size-12",
|
|
6650
|
+
"lua:p-2",
|
|
6651
|
+
"lua:p-3",
|
|
6358
6652
|
// Checkbox
|
|
6359
6653
|
"lua:peer",
|
|
6360
|
-
"lua:
|
|
6361
|
-
"lua:
|
|
6362
|
-
"lua:
|
|
6363
|
-
"lua:
|
|
6364
|
-
"lua:
|
|
6654
|
+
"lua:h-4",
|
|
6655
|
+
"lua:w-4",
|
|
6656
|
+
"lua:shrink-0",
|
|
6657
|
+
"lua:rounded",
|
|
6658
|
+
"lua:shadow-xs",
|
|
6659
|
+
"lua:transition-all",
|
|
6660
|
+
"lua:outline-hidden",
|
|
6661
|
+
"lua:data-[state=checked]:bg-primary",
|
|
6662
|
+
"lua:data-[state=checked]:text-primary-foreground",
|
|
6663
|
+
"lua:data-[state=checked]:border-primary",
|
|
6664
|
+
"lua:aria-[invalid=true]:border-destructive",
|
|
6365
6665
|
"lua:disabled:opacity-50",
|
|
6366
6666
|
"lua:disabled:cursor-not-allowed",
|
|
6367
|
-
"lua:focus-visible:ring-offset-white",
|
|
6368
6667
|
"lua:focus-visible:ring-offset-2",
|
|
6369
|
-
"lua:transition-
|
|
6370
|
-
|
|
6371
|
-
"lua:
|
|
6372
|
-
"lua:bg-
|
|
6373
|
-
"lua
|
|
6374
|
-
"lua:
|
|
6375
|
-
"lua:h-px",
|
|
6668
|
+
"lua:transition-none",
|
|
6669
|
+
// Switch
|
|
6670
|
+
"lua:data-[state=checked]:bg-primary",
|
|
6671
|
+
"lua:data-[state=unchecked]:bg-secondary",
|
|
6672
|
+
"lua:data-[state=checked]:translate-x-4",
|
|
6673
|
+
"lua:data-[state=unchecked]:translate-x-0",
|
|
6376
6674
|
"lua:w-[var(--radix-dropdown-menu-trigger-width)]",
|
|
6377
6675
|
// tabs
|
|
6378
|
-
"lua:data-[state=active]:
|
|
6676
|
+
"lua:data-[state=active]:bg-accent-subtle",
|
|
6677
|
+
"lua:data-[state=active]:text-accent-subtle-foreground",
|
|
6678
|
+
"lua:data-[state=active]:hover:bg-accent-subtle-hover",
|
|
6379
6679
|
"lua:data-[state=active]:border-b-2",
|
|
6380
|
-
"lua:data-[state=active]:border-blue-600",
|
|
6381
6680
|
"lua:data-[state=active]:-mb-px",
|
|
6382
|
-
"lua:hover:
|
|
6681
|
+
"lua:hover:bg-secondary",
|
|
6383
6682
|
"lua:disabled:pointer-events-none",
|
|
6384
6683
|
"lua:focus-visible:outline-hidden",
|
|
6385
6684
|
"lua:whitespace-nowrap",
|
|
@@ -6388,10 +6687,11 @@ var luaniverseSafelist = [
|
|
|
6388
6687
|
"lua:inline-flex",
|
|
6389
6688
|
"lua:rounded-full",
|
|
6390
6689
|
"lua:py-1",
|
|
6391
|
-
"lua:
|
|
6392
|
-
"lua:
|
|
6393
|
-
"lua:
|
|
6394
|
-
"lua:
|
|
6690
|
+
"lua:px-3",
|
|
6691
|
+
"lua:text-sm",
|
|
6692
|
+
"lua:font-medium",
|
|
6693
|
+
"lua:mt-2",
|
|
6694
|
+
"lua:flex-wrap",
|
|
6395
6695
|
// carousel
|
|
6396
6696
|
"lua:justify-center",
|
|
6397
6697
|
"lua:overflow-hidden",
|
|
@@ -6422,8 +6722,7 @@ var luaniverseSafelist = [
|
|
|
6422
6722
|
"lua:z-50",
|
|
6423
6723
|
"lua:backdrop-blur-sm",
|
|
6424
6724
|
"lua:bg-black/80",
|
|
6425
|
-
"lua:data-[state=open]:bg-
|
|
6426
|
-
"lua:focus:ring-blue-600",
|
|
6725
|
+
"lua:data-[state=open]:bg-secondary",
|
|
6427
6726
|
"lua:focus:outline-hidden",
|
|
6428
6727
|
"lua:hover:opacity-100",
|
|
6429
6728
|
"lua:transition-opacity",
|
|
@@ -6464,14 +6763,10 @@ var luaniverseSafelist = [
|
|
|
6464
6763
|
"lua:max-h-96",
|
|
6465
6764
|
"lua:min-w-32",
|
|
6466
6765
|
// slider
|
|
6467
|
-
"lua:disabled:bg-
|
|
6766
|
+
"lua:disabled:bg-muted",
|
|
6468
6767
|
"lua:hover:shadow-xl",
|
|
6469
6768
|
"lua:hover:scale-105",
|
|
6470
6769
|
"lua:active:scale-95",
|
|
6471
|
-
"lua:bg-gradient-to-r",
|
|
6472
|
-
"lua:from-blue-600",
|
|
6473
|
-
"lua:to-purple-600",
|
|
6474
|
-
"lua:bg-purple-600",
|
|
6475
6770
|
// input
|
|
6476
6771
|
"lua:text-gray-600",
|
|
6477
6772
|
"lua:cursor-not-allowed",
|
|
@@ -6487,38 +6782,119 @@ var luaniverseSafelist = [
|
|
|
6487
6782
|
"lua:bg-transparent",
|
|
6488
6783
|
"lua:px-3",
|
|
6489
6784
|
"lua:text-base",
|
|
6490
|
-
"file:
|
|
6491
|
-
"file:
|
|
6492
|
-
"file:
|
|
6493
|
-
"file:
|
|
6494
|
-
"file:
|
|
6495
|
-
"placeholder:
|
|
6496
|
-
"focus-visible:
|
|
6497
|
-
"focus-visible:
|
|
6498
|
-
"focus-visible:
|
|
6499
|
-
"focus-visible:
|
|
6785
|
+
"lua:file:border-0",
|
|
6786
|
+
"lua:file:bg-transparent",
|
|
6787
|
+
"lua:file:text-sm",
|
|
6788
|
+
"lua:file:font-medium",
|
|
6789
|
+
"lua:file:text-foreground",
|
|
6790
|
+
"lua:placeholder:text-muted-foreground",
|
|
6791
|
+
"lua:focus-visible:outline-hidden",
|
|
6792
|
+
"lua:focus-visible:ring-2",
|
|
6793
|
+
"lua:focus-visible:ring-offset-2",
|
|
6794
|
+
"lua:focus-visible:ring-offset-white",
|
|
6795
|
+
"lua:focus-visible:ring-offset-background",
|
|
6500
6796
|
"lua:border-gray-300",
|
|
6501
|
-
"
|
|
6797
|
+
"lua:border-input",
|
|
6798
|
+
"lua:focus-visible:ring-ring",
|
|
6502
6799
|
"lua:border-red-600",
|
|
6503
|
-
"
|
|
6800
|
+
"lua:border-destructive",
|
|
6801
|
+
"lua:focus-visible:ring-destructive",
|
|
6504
6802
|
"lua:border-green-500",
|
|
6505
|
-
"
|
|
6803
|
+
"lua:border-success",
|
|
6804
|
+
"lua:focus-visible:ring-success",
|
|
6506
6805
|
"lua:opacity-50",
|
|
6507
|
-
"placeholder:lua:text-gray-400",
|
|
6508
6806
|
"lua:pr-10",
|
|
6509
|
-
"md:
|
|
6807
|
+
"lua:md:text-sm",
|
|
6510
6808
|
"lua:right-3",
|
|
6511
6809
|
"lua:mt-2",
|
|
6512
6810
|
"lua:text-red-600",
|
|
6513
6811
|
"lua:text-green-600",
|
|
6812
|
+
"lua:text-success",
|
|
6813
|
+
// Textarea
|
|
6814
|
+
"lua:min-h-16",
|
|
6815
|
+
"lua:resize-none",
|
|
6816
|
+
"lua:resize-y",
|
|
6817
|
+
"lua:resize-x",
|
|
6818
|
+
"lua:resize",
|
|
6819
|
+
"lua:py-2",
|
|
6820
|
+
"lua:duration-200",
|
|
6514
6821
|
// Tooltip
|
|
6515
|
-
"lua:
|
|
6822
|
+
"lua:z-50",
|
|
6823
|
+
"lua:overflow-hidden",
|
|
6824
|
+
"lua:px-3",
|
|
6825
|
+
"lua:py-2",
|
|
6826
|
+
"lua:text-xs",
|
|
6827
|
+
"lua:transition-all",
|
|
6828
|
+
"lua:duration-200",
|
|
6829
|
+
"lua:shadow-lg",
|
|
6830
|
+
"lua:rounded-lg",
|
|
6831
|
+
"lua:fill-popover",
|
|
6832
|
+
"lua:stroke-border",
|
|
6833
|
+
// Calendar
|
|
6834
|
+
"lua:aspect-square",
|
|
6835
|
+
"lua:border-collapse",
|
|
6836
|
+
"lua:group/calendar",
|
|
6837
|
+
"lua:group/day",
|
|
6838
|
+
"lua:mt-1",
|
|
6839
|
+
"lua:inset-x-0",
|
|
6840
|
+
"lua:aria-selected:text-muted-foreground",
|
|
6841
|
+
"lua:invisible",
|
|
6842
|
+
"lua:[&>svg]:text-muted-foreground",
|
|
6843
|
+
"lua:[&>svg]:size-3",
|
|
6844
|
+
"lua:pl-2",
|
|
6845
|
+
"lua:pr-1",
|
|
6846
|
+
"lua:ring-offset-background",
|
|
6847
|
+
"lua:placeholder:text-muted-foreground",
|
|
6848
|
+
"lua:line-clamp-1",
|
|
6849
|
+
"lua:md:grid-cols-2",
|
|
6850
|
+
"lua:grid-cols-2",
|
|
6851
|
+
"lua:cursor-not-allowed",
|
|
6852
|
+
"lua:font-semibold",
|
|
6853
|
+
// Dialog
|
|
6854
|
+
"lua:sm:max-w-[425px]",
|
|
6855
|
+
"lua:sm:max-w-[500px]",
|
|
6856
|
+
"lua:grid-cols-4",
|
|
6857
|
+
"lua:col-span-3",
|
|
6858
|
+
"lua:space-y-3",
|
|
6859
|
+
"lua:space-y-2",
|
|
6860
|
+
"lua:py-0.5",
|
|
6861
|
+
// Select
|
|
6862
|
+
"lua:rotate-90",
|
|
6863
|
+
"lua:rotate-270",
|
|
6864
|
+
"lua:data-[state=open]:animate-in",
|
|
6865
|
+
"lua:data-[state=closed]:animate-out",
|
|
6866
|
+
"lua:data-[state=closed]:fade-out-0",
|
|
6867
|
+
"lua:data-[state=open]:fade-in-0",
|
|
6868
|
+
"lua:data-[state=closed]:zoom-out-95",
|
|
6869
|
+
"lua:data-[state=open]:zoom-in-95",
|
|
6870
|
+
"lua:data-disabled:pointer-events-none",
|
|
6871
|
+
"lua:data-disabled:opacity-50",
|
|
6872
|
+
"lua:has-disabled:opacity-50",
|
|
6873
|
+
"lua:[&>span]:line-clamp-1",
|
|
6874
|
+
// Pagination
|
|
6875
|
+
"lua:no-underline",
|
|
6876
|
+
"lua:w-auto",
|
|
6877
|
+
"lua:sm:inline",
|
|
6878
|
+
"lua:active:bg-default-active",
|
|
6879
|
+
// MultiSelect
|
|
6880
|
+
"lua:w-[var(--radix-dropdown-menu-trigger-width)]",
|
|
6881
|
+
"lua:overflow-y-auto",
|
|
6882
|
+
"lua:overflow-x-hidden",
|
|
6883
|
+
"lua:max-h-96",
|
|
6884
|
+
"lua:line-clamp-1",
|
|
6885
|
+
// Popover
|
|
6886
|
+
"lua:w-80",
|
|
6887
|
+
"lua:data-[side=bottom]:slide-in-from-top-2",
|
|
6888
|
+
"lua:data-[side=left]:slide-in-from-right-2",
|
|
6889
|
+
"lua:data-[side=right]:slide-in-from-left-2",
|
|
6890
|
+
"lua:data-[side=top]:slide-in-from-bottom-2",
|
|
6891
|
+
"lua:duration-200"
|
|
6516
6892
|
];
|
|
6517
6893
|
|
|
6518
6894
|
// src/tailwind.preset.js
|
|
6519
6895
|
var luaniversePreset = {
|
|
6520
|
-
// Dark mode
|
|
6521
|
-
darkMode:
|
|
6896
|
+
// Dark mode enabled using class strategy
|
|
6897
|
+
darkMode: "class",
|
|
6522
6898
|
// Safelist story-specific arbitrary values that are hard to standardize
|
|
6523
6899
|
safelist: luaniverseSafelist,
|
|
6524
6900
|
theme: {
|