@kopexa/theme 1.4.3 → 1.4.4
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/chunk-32L6KXLV.mjs +324 -0
- package/dist/chunk-67PPUTSS.mjs +53 -0
- package/dist/{chunk-25CHZW25.mjs → chunk-KE2E5LGH.mjs} +3 -3
- package/dist/components/button.js +24 -2
- package/dist/components/button.mjs +2 -2
- package/dist/components/chip.d.mts +356 -0
- package/dist/components/chip.d.ts +356 -0
- package/dist/components/chip.js +396 -0
- package/dist/components/chip.mjs +7 -0
- package/dist/components/dropdown-menu.d.mts +3 -3
- package/dist/components/dropdown-menu.d.ts +3 -3
- package/dist/components/index.d.mts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +362 -21
- package/dist/components/index.mjs +7 -3
- package/dist/index.css +98 -19
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +362 -21
- package/dist/index.mjs +8 -4
- package/dist/utils/variants.d.mts +20 -0
- package/dist/utils/variants.d.ts +20 -0
- package/dist/utils/variants.js +24 -2
- package/dist/utils/variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-U6ONJKJY.mjs +0 -31
- /package/dist/{chunk-HNTFXPSN.mjs → chunk-N2UQGV46.mjs} +0 -0
package/dist/index.js
CHANGED
|
@@ -22,6 +22,7 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
button: () => button,
|
|
24
24
|
calendar: () => calendar,
|
|
25
|
+
chip: () => chip,
|
|
25
26
|
command: () => command,
|
|
26
27
|
dialog: () => dialog,
|
|
27
28
|
drawer: () => drawer,
|
|
@@ -49,6 +50,7 @@ var focusWithinClasses = [
|
|
|
49
50
|
|
|
50
51
|
// src/utils/variants.ts
|
|
51
52
|
var solid = {
|
|
53
|
+
default: "bg-accent text-accent-foreground",
|
|
52
54
|
primary: "bg-primary text-primary-foreground",
|
|
53
55
|
secondary: "bg-secondary text-secondary-foreground",
|
|
54
56
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -56,12 +58,31 @@ var solid = {
|
|
|
56
58
|
success: "bg-success text-success-foreground"
|
|
57
59
|
};
|
|
58
60
|
var outline = {
|
|
61
|
+
default: "bg-transparent border border-accent text-accent-foreground",
|
|
59
62
|
primary: "bg-transparent border-primary text-primary",
|
|
60
|
-
secondary: "bg-transparent border-secondary text-secondary",
|
|
63
|
+
secondary: "bg-transparent border-secondary text-secondary-foreground",
|
|
61
64
|
destructive: "bg-transparent border-destructive text-destructive",
|
|
62
65
|
warning: "bg-transparent border-warning text-warning",
|
|
63
66
|
success: "bg-transparent border-success text-success"
|
|
64
67
|
};
|
|
68
|
+
var flat = {
|
|
69
|
+
default: "bg-accent/40 text-accent-700",
|
|
70
|
+
primary: "bg-primary/20 text-primary-600",
|
|
71
|
+
secondary: "bg-secondary/20 text-secondary-600",
|
|
72
|
+
success: "bg-success/20 text-success-700 dark:text-success",
|
|
73
|
+
warning: "bg-warning/20 text-warning-700 dark:text-warning",
|
|
74
|
+
destructive: "bg-danger/20 text-danger-600 dark:text-danger-500",
|
|
75
|
+
foreground: "bg-foreground/10 text-foreground"
|
|
76
|
+
};
|
|
77
|
+
var faded = {
|
|
78
|
+
default: "border-default bg-accent/30 text-default-foreground",
|
|
79
|
+
primary: "border-default bg-accent/30 text-primary",
|
|
80
|
+
secondary: "border-default bg-accent/30 text-secondary-foreground",
|
|
81
|
+
success: "border-default bg-accent/30 text-success",
|
|
82
|
+
warning: "border-default bg-accent/30 text-warning",
|
|
83
|
+
destructive: "border-default bg-accent/30 text-danger",
|
|
84
|
+
foreground: "border-default bg-accent/30 text-foreground"
|
|
85
|
+
};
|
|
65
86
|
var ghost = {
|
|
66
87
|
primary: "bg-transparent text-primary",
|
|
67
88
|
secondary: "bg-transparent text-secondary",
|
|
@@ -72,7 +93,9 @@ var ghost = {
|
|
|
72
93
|
var colorVariants = {
|
|
73
94
|
solid,
|
|
74
95
|
ghost,
|
|
75
|
-
outline
|
|
96
|
+
outline,
|
|
97
|
+
flat,
|
|
98
|
+
faded
|
|
76
99
|
};
|
|
77
100
|
|
|
78
101
|
// src/components/button.ts
|
|
@@ -275,9 +298,326 @@ var calendar = (0, import_tailwind_variants2.tv)({
|
|
|
275
298
|
}
|
|
276
299
|
});
|
|
277
300
|
|
|
278
|
-
// src/components/
|
|
301
|
+
// src/components/chip.ts
|
|
279
302
|
var import_tailwind_variants3 = require("tailwind-variants");
|
|
280
|
-
var
|
|
303
|
+
var chip = (0, import_tailwind_variants3.tv)({
|
|
304
|
+
slots: {
|
|
305
|
+
root: [
|
|
306
|
+
"relative",
|
|
307
|
+
"max-w-fit",
|
|
308
|
+
"min-w-min",
|
|
309
|
+
"inline-flex",
|
|
310
|
+
"items-center",
|
|
311
|
+
"justify-between",
|
|
312
|
+
"box-border",
|
|
313
|
+
"whitespace-nowrap",
|
|
314
|
+
"isolate"
|
|
315
|
+
],
|
|
316
|
+
content: "flex-1 text-inherit font-normal",
|
|
317
|
+
indicator: "relative flex size-2 ml-1",
|
|
318
|
+
indicatorPulse: "absolute inline-flex h-full w-full animate-ping rounded-full opacity-75",
|
|
319
|
+
indicatorDot: "relative inline-flex size-2 rounded-full",
|
|
320
|
+
status: "flex items-center gap-2 border-r pr-1 font-medium ml-1",
|
|
321
|
+
closeButton: [
|
|
322
|
+
"z-10 appearance-none outline-none select-none transition-opacity",
|
|
323
|
+
"opacity-70 hover:opacity-100 cursor-pointer active:opacity-50"
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
variants: {
|
|
327
|
+
variant: {
|
|
328
|
+
solid: {},
|
|
329
|
+
bordered: {
|
|
330
|
+
root: "border-2 bg-transparent"
|
|
331
|
+
},
|
|
332
|
+
faded: {
|
|
333
|
+
root: "border-2"
|
|
334
|
+
},
|
|
335
|
+
flat: {}
|
|
336
|
+
},
|
|
337
|
+
color: {
|
|
338
|
+
default: {
|
|
339
|
+
status: "border-default-200 dark:border-default-700"
|
|
340
|
+
},
|
|
341
|
+
primary: {
|
|
342
|
+
status: "border-primary-200 dark:border-primary-700"
|
|
343
|
+
},
|
|
344
|
+
secondary: {
|
|
345
|
+
status: "border-secondary-200 dark:border-secondary-700"
|
|
346
|
+
},
|
|
347
|
+
success: {
|
|
348
|
+
status: "border-success-200 dark:border-success-700"
|
|
349
|
+
},
|
|
350
|
+
destructive: {
|
|
351
|
+
status: "border-destructive-200 dark:border-destructive-700"
|
|
352
|
+
},
|
|
353
|
+
warning: {
|
|
354
|
+
status: "border-warning-200 dark:border-warning-700"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
indicatorColor: {
|
|
358
|
+
default: {
|
|
359
|
+
indicatorDot: "bg-accent"
|
|
360
|
+
},
|
|
361
|
+
primary: {
|
|
362
|
+
indicatorDot: "bg-primary"
|
|
363
|
+
},
|
|
364
|
+
secondary: {
|
|
365
|
+
indicatorDot: "bg-secondary"
|
|
366
|
+
},
|
|
367
|
+
success: {
|
|
368
|
+
indicatorDot: "bg-success"
|
|
369
|
+
},
|
|
370
|
+
warning: {
|
|
371
|
+
indicatorDot: "bg-warning"
|
|
372
|
+
},
|
|
373
|
+
destructive: {
|
|
374
|
+
indicatorDot: "bg-destructive"
|
|
375
|
+
},
|
|
376
|
+
info: {
|
|
377
|
+
indicatorDot: "bg-info"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
indicator: {
|
|
381
|
+
true: {},
|
|
382
|
+
false: {}
|
|
383
|
+
},
|
|
384
|
+
indicatorVariant: {
|
|
385
|
+
pulse: {}
|
|
386
|
+
},
|
|
387
|
+
size: {
|
|
388
|
+
sm: {
|
|
389
|
+
root: "px-1 h-6 text-[11px] [&_svg]:size-3",
|
|
390
|
+
status: "text-[11px]",
|
|
391
|
+
content: "px-1",
|
|
392
|
+
closeButton: ["[&_svg]:size-3", "px-1"]
|
|
393
|
+
},
|
|
394
|
+
md: {
|
|
395
|
+
root: "px-1 h-7 text-sm [&_svg]:size-4",
|
|
396
|
+
status: "text-sm",
|
|
397
|
+
content: "px-2",
|
|
398
|
+
closeButton: ["[&_svg]:size-4", "px-2"]
|
|
399
|
+
},
|
|
400
|
+
lg: {
|
|
401
|
+
root: "px-2 h-8 text-md [&_svg]:size-5",
|
|
402
|
+
status: "text-md",
|
|
403
|
+
content: "px-2",
|
|
404
|
+
closeButton: ["[&_svg]:size-5", "px-2"]
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
isCloseable: {
|
|
408
|
+
true: {},
|
|
409
|
+
false: {}
|
|
410
|
+
},
|
|
411
|
+
radius: {
|
|
412
|
+
none: {
|
|
413
|
+
root: "rounded-none"
|
|
414
|
+
},
|
|
415
|
+
sm: {
|
|
416
|
+
root: "rounded-sm"
|
|
417
|
+
},
|
|
418
|
+
md: {
|
|
419
|
+
root: "rounded-md"
|
|
420
|
+
},
|
|
421
|
+
lg: {
|
|
422
|
+
root: "rounded-lg"
|
|
423
|
+
},
|
|
424
|
+
full: {
|
|
425
|
+
root: "rounded-full"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
disabled: {
|
|
429
|
+
true: {
|
|
430
|
+
root: "opacity-50 pointer-events-none"
|
|
431
|
+
},
|
|
432
|
+
false: {}
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
defaultVariants: {
|
|
436
|
+
color: "default",
|
|
437
|
+
variant: "solid",
|
|
438
|
+
size: "sm",
|
|
439
|
+
radius: "full",
|
|
440
|
+
indicatorVariant: "pulse",
|
|
441
|
+
indicatorColor: "success"
|
|
442
|
+
},
|
|
443
|
+
compoundVariants: [
|
|
444
|
+
// solid / color
|
|
445
|
+
{
|
|
446
|
+
variant: "solid",
|
|
447
|
+
color: "default",
|
|
448
|
+
class: {
|
|
449
|
+
root: colorVariants.solid.default
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
variant: "solid",
|
|
454
|
+
color: "primary",
|
|
455
|
+
class: {
|
|
456
|
+
root: colorVariants.solid.primary
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
variant: "solid",
|
|
461
|
+
color: "secondary",
|
|
462
|
+
class: {
|
|
463
|
+
root: colorVariants.solid.secondary
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
variant: "solid",
|
|
468
|
+
color: "success",
|
|
469
|
+
class: {
|
|
470
|
+
root: colorVariants.solid.success
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
variant: "solid",
|
|
475
|
+
color: "warning",
|
|
476
|
+
class: {
|
|
477
|
+
root: colorVariants.solid.warning
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
variant: "solid",
|
|
482
|
+
color: "destructive",
|
|
483
|
+
class: {
|
|
484
|
+
root: colorVariants.solid.destructive
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
// bordered / color
|
|
488
|
+
{
|
|
489
|
+
variant: "bordered",
|
|
490
|
+
color: "default",
|
|
491
|
+
class: {
|
|
492
|
+
root: colorVariants.outline.default
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
variant: "bordered",
|
|
497
|
+
color: "primary",
|
|
498
|
+
class: {
|
|
499
|
+
root: colorVariants.outline.primary
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
variant: "bordered",
|
|
504
|
+
color: "secondary",
|
|
505
|
+
class: {
|
|
506
|
+
root: colorVariants.outline.secondary
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
variant: "bordered",
|
|
511
|
+
color: "success",
|
|
512
|
+
class: {
|
|
513
|
+
root: colorVariants.outline.success
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
variant: "bordered",
|
|
518
|
+
color: "warning",
|
|
519
|
+
class: {
|
|
520
|
+
root: colorVariants.outline.warning
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
variant: "bordered",
|
|
525
|
+
color: "destructive",
|
|
526
|
+
class: {
|
|
527
|
+
root: colorVariants.outline.destructive
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
variant: "flat",
|
|
532
|
+
color: "default",
|
|
533
|
+
class: {
|
|
534
|
+
root: colorVariants.flat.default
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
variant: "flat",
|
|
539
|
+
color: "primary",
|
|
540
|
+
class: {
|
|
541
|
+
root: colorVariants.flat.primary
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
variant: "flat",
|
|
546
|
+
color: "secondary",
|
|
547
|
+
class: {
|
|
548
|
+
root: colorVariants.flat.secondary
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
variant: "flat",
|
|
553
|
+
color: "success",
|
|
554
|
+
class: {
|
|
555
|
+
root: colorVariants.flat.success
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
variant: "flat",
|
|
560
|
+
color: "warning",
|
|
561
|
+
class: {
|
|
562
|
+
root: colorVariants.flat.warning
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
variant: "flat",
|
|
567
|
+
color: "destructive",
|
|
568
|
+
class: {
|
|
569
|
+
root: colorVariants.flat.destructive
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
// faded / color
|
|
573
|
+
{
|
|
574
|
+
variant: "faded",
|
|
575
|
+
color: "default",
|
|
576
|
+
class: {
|
|
577
|
+
root: colorVariants.faded.default
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
variant: "faded",
|
|
582
|
+
color: "primary",
|
|
583
|
+
class: {
|
|
584
|
+
root: colorVariants.faded.primary
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
variant: "faded",
|
|
589
|
+
color: "secondary",
|
|
590
|
+
class: {
|
|
591
|
+
root: colorVariants.faded.secondary
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
variant: "faded",
|
|
596
|
+
color: "success",
|
|
597
|
+
class: {
|
|
598
|
+
root: colorVariants.faded.success
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
variant: "faded",
|
|
603
|
+
color: "warning",
|
|
604
|
+
class: {
|
|
605
|
+
root: colorVariants.faded.warning
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
variant: "faded",
|
|
610
|
+
color: "destructive",
|
|
611
|
+
class: {
|
|
612
|
+
root: colorVariants.faded.destructive
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
]
|
|
616
|
+
});
|
|
617
|
+
|
|
618
|
+
// src/components/command.ts
|
|
619
|
+
var import_tailwind_variants4 = require("tailwind-variants");
|
|
620
|
+
var command = (0, import_tailwind_variants4.tv)({
|
|
281
621
|
slots: {
|
|
282
622
|
root: "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
|
|
283
623
|
inputWrapper: "flex h-9 items-center gap-2 border-b px-3",
|
|
@@ -296,8 +636,8 @@ var command = (0, import_tailwind_variants3.tv)({
|
|
|
296
636
|
});
|
|
297
637
|
|
|
298
638
|
// src/components/dialog.ts
|
|
299
|
-
var
|
|
300
|
-
var dialog = (0,
|
|
639
|
+
var import_tailwind_variants5 = require("tailwind-variants");
|
|
640
|
+
var dialog = (0, import_tailwind_variants5.tv)({
|
|
301
641
|
slots: {
|
|
302
642
|
overlay: ["fixed inset-0 z-50 bg-black/25"],
|
|
303
643
|
content: [
|
|
@@ -388,8 +728,8 @@ var dialog = (0, import_tailwind_variants4.tv)({
|
|
|
388
728
|
});
|
|
389
729
|
|
|
390
730
|
// src/components/drawer.ts
|
|
391
|
-
var
|
|
392
|
-
var drawer = (0,
|
|
731
|
+
var import_tailwind_variants6 = require("tailwind-variants");
|
|
732
|
+
var drawer = (0, import_tailwind_variants6.tv)({
|
|
393
733
|
slots: {
|
|
394
734
|
overlay: dialog.slots.overlay,
|
|
395
735
|
content: [
|
|
@@ -469,8 +809,8 @@ var drawer = (0, import_tailwind_variants5.tv)({
|
|
|
469
809
|
});
|
|
470
810
|
|
|
471
811
|
// src/components/dropdown-menu.ts
|
|
472
|
-
var
|
|
473
|
-
var dropdownMenu = (0,
|
|
812
|
+
var import_tailwind_variants7 = require("tailwind-variants");
|
|
813
|
+
var dropdownMenu = (0, import_tailwind_variants7.tv)({
|
|
474
814
|
slots: {
|
|
475
815
|
root: "",
|
|
476
816
|
content: "min-w-56 bg-popover text-popover-foreground 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 max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
@@ -490,14 +830,14 @@ var dropdownMenu = (0, import_tailwind_variants6.tv)({
|
|
|
490
830
|
});
|
|
491
831
|
|
|
492
832
|
// src/components/input.ts
|
|
493
|
-
var
|
|
494
|
-
var passwordInput = (0,
|
|
833
|
+
var import_tailwind_variants8 = require("tailwind-variants");
|
|
834
|
+
var passwordInput = (0, import_tailwind_variants8.tv)({
|
|
495
835
|
slots: {
|
|
496
836
|
button: "focus:outline-hidden",
|
|
497
837
|
icon: "pointer-events-none text-muted-foreground"
|
|
498
838
|
}
|
|
499
839
|
});
|
|
500
|
-
var input = (0,
|
|
840
|
+
var input = (0, import_tailwind_variants8.tv)({
|
|
501
841
|
base: [],
|
|
502
842
|
slots: {
|
|
503
843
|
inputWrapper: [
|
|
@@ -578,8 +918,8 @@ var input = (0, import_tailwind_variants7.tv)({
|
|
|
578
918
|
});
|
|
579
919
|
|
|
580
920
|
// src/components/page-layout.ts
|
|
581
|
-
var
|
|
582
|
-
var pageLayout = (0,
|
|
921
|
+
var import_tailwind_variants9 = require("tailwind-variants");
|
|
922
|
+
var pageLayout = (0, import_tailwind_variants9.tv)({
|
|
583
923
|
slots: {
|
|
584
924
|
root: "",
|
|
585
925
|
wrapper: "flex mx-auto flex-wrap",
|
|
@@ -676,8 +1016,8 @@ var pageLayout = (0, import_tailwind_variants8.tv)({
|
|
|
676
1016
|
});
|
|
677
1017
|
|
|
678
1018
|
// src/components/popover.ts
|
|
679
|
-
var
|
|
680
|
-
var popover = (0,
|
|
1019
|
+
var import_tailwind_variants10 = require("tailwind-variants");
|
|
1020
|
+
var popover = (0, import_tailwind_variants10.tv)({
|
|
681
1021
|
slots: {
|
|
682
1022
|
content: [
|
|
683
1023
|
"bg-popover text-popover-foreground z-50 w-72",
|
|
@@ -688,8 +1028,8 @@ var popover = (0, import_tailwind_variants9.tv)({
|
|
|
688
1028
|
});
|
|
689
1029
|
|
|
690
1030
|
// src/components/spinner.ts
|
|
691
|
-
var
|
|
692
|
-
var spinner = (0,
|
|
1031
|
+
var import_tailwind_variants11 = require("tailwind-variants");
|
|
1032
|
+
var spinner = (0, import_tailwind_variants11.tv)({
|
|
693
1033
|
slots: {
|
|
694
1034
|
base: "relative inline-flex flex-col gap-2 items-center justify-center",
|
|
695
1035
|
wrapper: "relative flex",
|
|
@@ -806,8 +1146,8 @@ var spinner = (0, import_tailwind_variants10.tv)({
|
|
|
806
1146
|
});
|
|
807
1147
|
|
|
808
1148
|
// src/components/tooltip.ts
|
|
809
|
-
var
|
|
810
|
-
var tooltip = (0,
|
|
1149
|
+
var import_tailwind_variants12 = require("tailwind-variants");
|
|
1150
|
+
var tooltip = (0, import_tailwind_variants12.tv)({
|
|
811
1151
|
slots: {
|
|
812
1152
|
content: [
|
|
813
1153
|
"bg-primary text-primary-foreground",
|
|
@@ -821,6 +1161,7 @@ var tooltip = (0, import_tailwind_variants11.tv)({
|
|
|
821
1161
|
0 && (module.exports = {
|
|
822
1162
|
button,
|
|
823
1163
|
calendar,
|
|
1164
|
+
chip,
|
|
824
1165
|
command,
|
|
825
1166
|
dialog,
|
|
826
1167
|
drawer,
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
2
|
-
import "./chunk-HNTFXPSN.mjs";
|
|
1
|
+
import "./chunk-N2UQGV46.mjs";
|
|
3
2
|
import {
|
|
4
3
|
input,
|
|
5
4
|
passwordInput
|
|
@@ -16,14 +15,18 @@ import {
|
|
|
16
15
|
import {
|
|
17
16
|
tooltip
|
|
18
17
|
} from "./chunk-SVCFD7RR.mjs";
|
|
18
|
+
import "./chunk-XSN6P5JL.mjs";
|
|
19
19
|
import {
|
|
20
20
|
button
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-U6ONJKJY.mjs";
|
|
21
|
+
} from "./chunk-KE2E5LGH.mjs";
|
|
23
22
|
import "./chunk-2C5EQ4P3.mjs";
|
|
24
23
|
import {
|
|
25
24
|
calendar
|
|
26
25
|
} from "./chunk-JWF5ABNP.mjs";
|
|
26
|
+
import {
|
|
27
|
+
chip
|
|
28
|
+
} from "./chunk-32L6KXLV.mjs";
|
|
29
|
+
import "./chunk-67PPUTSS.mjs";
|
|
27
30
|
import {
|
|
28
31
|
command
|
|
29
32
|
} from "./chunk-YPHFKGNI.mjs";
|
|
@@ -39,6 +42,7 @@ import {
|
|
|
39
42
|
export {
|
|
40
43
|
button,
|
|
41
44
|
calendar,
|
|
45
|
+
chip,
|
|
42
46
|
command,
|
|
43
47
|
dialog,
|
|
44
48
|
drawer,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const colorVariants: {
|
|
2
2
|
solid: {
|
|
3
|
+
default: string;
|
|
3
4
|
primary: string;
|
|
4
5
|
secondary: string;
|
|
5
6
|
destructive: string;
|
|
@@ -14,12 +15,31 @@ declare const colorVariants: {
|
|
|
14
15
|
success: string;
|
|
15
16
|
};
|
|
16
17
|
outline: {
|
|
18
|
+
default: string;
|
|
17
19
|
primary: string;
|
|
18
20
|
secondary: string;
|
|
19
21
|
destructive: string;
|
|
20
22
|
warning: string;
|
|
21
23
|
success: string;
|
|
22
24
|
};
|
|
25
|
+
flat: {
|
|
26
|
+
default: string;
|
|
27
|
+
primary: string;
|
|
28
|
+
secondary: string;
|
|
29
|
+
success: string;
|
|
30
|
+
warning: string;
|
|
31
|
+
destructive: string;
|
|
32
|
+
foreground: string;
|
|
33
|
+
};
|
|
34
|
+
faded: {
|
|
35
|
+
default: string;
|
|
36
|
+
primary: string;
|
|
37
|
+
secondary: string;
|
|
38
|
+
success: string;
|
|
39
|
+
warning: string;
|
|
40
|
+
destructive: string;
|
|
41
|
+
foreground: string;
|
|
42
|
+
};
|
|
23
43
|
};
|
|
24
44
|
|
|
25
45
|
export { colorVariants };
|
package/dist/utils/variants.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const colorVariants: {
|
|
2
2
|
solid: {
|
|
3
|
+
default: string;
|
|
3
4
|
primary: string;
|
|
4
5
|
secondary: string;
|
|
5
6
|
destructive: string;
|
|
@@ -14,12 +15,31 @@ declare const colorVariants: {
|
|
|
14
15
|
success: string;
|
|
15
16
|
};
|
|
16
17
|
outline: {
|
|
18
|
+
default: string;
|
|
17
19
|
primary: string;
|
|
18
20
|
secondary: string;
|
|
19
21
|
destructive: string;
|
|
20
22
|
warning: string;
|
|
21
23
|
success: string;
|
|
22
24
|
};
|
|
25
|
+
flat: {
|
|
26
|
+
default: string;
|
|
27
|
+
primary: string;
|
|
28
|
+
secondary: string;
|
|
29
|
+
success: string;
|
|
30
|
+
warning: string;
|
|
31
|
+
destructive: string;
|
|
32
|
+
foreground: string;
|
|
33
|
+
};
|
|
34
|
+
faded: {
|
|
35
|
+
default: string;
|
|
36
|
+
primary: string;
|
|
37
|
+
secondary: string;
|
|
38
|
+
success: string;
|
|
39
|
+
warning: string;
|
|
40
|
+
destructive: string;
|
|
41
|
+
foreground: string;
|
|
42
|
+
};
|
|
23
43
|
};
|
|
24
44
|
|
|
25
45
|
export { colorVariants };
|
package/dist/utils/variants.js
CHANGED
|
@@ -24,6 +24,7 @@ __export(variants_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(variants_exports);
|
|
26
26
|
var solid = {
|
|
27
|
+
default: "bg-accent text-accent-foreground",
|
|
27
28
|
primary: "bg-primary text-primary-foreground",
|
|
28
29
|
secondary: "bg-secondary text-secondary-foreground",
|
|
29
30
|
destructive: "bg-destructive text-destructive-foreground",
|
|
@@ -31,12 +32,31 @@ var solid = {
|
|
|
31
32
|
success: "bg-success text-success-foreground"
|
|
32
33
|
};
|
|
33
34
|
var outline = {
|
|
35
|
+
default: "bg-transparent border border-accent text-accent-foreground",
|
|
34
36
|
primary: "bg-transparent border-primary text-primary",
|
|
35
|
-
secondary: "bg-transparent border-secondary text-secondary",
|
|
37
|
+
secondary: "bg-transparent border-secondary text-secondary-foreground",
|
|
36
38
|
destructive: "bg-transparent border-destructive text-destructive",
|
|
37
39
|
warning: "bg-transparent border-warning text-warning",
|
|
38
40
|
success: "bg-transparent border-success text-success"
|
|
39
41
|
};
|
|
42
|
+
var flat = {
|
|
43
|
+
default: "bg-accent/40 text-accent-700",
|
|
44
|
+
primary: "bg-primary/20 text-primary-600",
|
|
45
|
+
secondary: "bg-secondary/20 text-secondary-600",
|
|
46
|
+
success: "bg-success/20 text-success-700 dark:text-success",
|
|
47
|
+
warning: "bg-warning/20 text-warning-700 dark:text-warning",
|
|
48
|
+
destructive: "bg-danger/20 text-danger-600 dark:text-danger-500",
|
|
49
|
+
foreground: "bg-foreground/10 text-foreground"
|
|
50
|
+
};
|
|
51
|
+
var faded = {
|
|
52
|
+
default: "border-default bg-accent/30 text-default-foreground",
|
|
53
|
+
primary: "border-default bg-accent/30 text-primary",
|
|
54
|
+
secondary: "border-default bg-accent/30 text-secondary-foreground",
|
|
55
|
+
success: "border-default bg-accent/30 text-success",
|
|
56
|
+
warning: "border-default bg-accent/30 text-warning",
|
|
57
|
+
destructive: "border-default bg-accent/30 text-danger",
|
|
58
|
+
foreground: "border-default bg-accent/30 text-foreground"
|
|
59
|
+
};
|
|
40
60
|
var ghost = {
|
|
41
61
|
primary: "bg-transparent text-primary",
|
|
42
62
|
secondary: "bg-transparent text-secondary",
|
|
@@ -47,7 +67,9 @@ var ghost = {
|
|
|
47
67
|
var colorVariants = {
|
|
48
68
|
solid,
|
|
49
69
|
ghost,
|
|
50
|
-
outline
|
|
70
|
+
outline,
|
|
71
|
+
flat,
|
|
72
|
+
faded
|
|
51
73
|
};
|
|
52
74
|
// Annotate the CommonJS export names for ESM import in node:
|
|
53
75
|
0 && (module.exports = {
|
package/dist/utils/variants.mjs
CHANGED
package/package.json
CHANGED
package/dist/chunk-U6ONJKJY.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// src/utils/variants.ts
|
|
2
|
-
var solid = {
|
|
3
|
-
primary: "bg-primary text-primary-foreground",
|
|
4
|
-
secondary: "bg-secondary text-secondary-foreground",
|
|
5
|
-
destructive: "bg-destructive text-destructive-foreground",
|
|
6
|
-
warning: "bg-warning text-warning-foreground",
|
|
7
|
-
success: "bg-success text-success-foreground"
|
|
8
|
-
};
|
|
9
|
-
var outline = {
|
|
10
|
-
primary: "bg-transparent border-primary text-primary",
|
|
11
|
-
secondary: "bg-transparent border-secondary text-secondary",
|
|
12
|
-
destructive: "bg-transparent border-destructive text-destructive",
|
|
13
|
-
warning: "bg-transparent border-warning text-warning",
|
|
14
|
-
success: "bg-transparent border-success text-success"
|
|
15
|
-
};
|
|
16
|
-
var ghost = {
|
|
17
|
-
primary: "bg-transparent text-primary",
|
|
18
|
-
secondary: "bg-transparent text-secondary",
|
|
19
|
-
destructive: "bg-transparent text-destructive",
|
|
20
|
-
warning: "bg-transparent text-warning",
|
|
21
|
-
success: "bg-transparent text-success"
|
|
22
|
-
};
|
|
23
|
-
var colorVariants = {
|
|
24
|
-
solid,
|
|
25
|
-
ghost,
|
|
26
|
-
outline
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export {
|
|
30
|
-
colorVariants
|
|
31
|
-
};
|
|
File without changes
|