@copilotz/admin 0.9.33 → 0.9.35
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 +2949 -2855
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +345 -170
- package/dist/index.d.ts +345 -170
- package/dist/index.js +2913 -2854
- package/dist/index.js.map +1 -1
- package/dist/styles.css +222 -0
- package/package.json +2 -1
package/dist/styles.css
CHANGED
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
--color-white: #fff;
|
|
13
13
|
--spacing: 0.25rem;
|
|
14
14
|
--container-sm: 24rem;
|
|
15
|
+
--container-md: 28rem;
|
|
15
16
|
--container-lg: 32rem;
|
|
17
|
+
--container-xl: 36rem;
|
|
18
|
+
--container-3xl: 48rem;
|
|
16
19
|
--text-xs: 0.75rem;
|
|
17
20
|
--text-xs--line-height: calc(1 / 0.75);
|
|
18
21
|
--text-sm: 0.875rem;
|
|
@@ -28,6 +31,7 @@
|
|
|
28
31
|
--font-weight-medium: 500;
|
|
29
32
|
--font-weight-semibold: 600;
|
|
30
33
|
--tracking-tight: -0.025em;
|
|
34
|
+
--tracking-wide: 0.025em;
|
|
31
35
|
--radius-xs: 0.125rem;
|
|
32
36
|
--radius-sm: 0.25rem;
|
|
33
37
|
--radius-md: 0.375rem;
|
|
@@ -347,6 +351,9 @@
|
|
|
347
351
|
.mb-2 {
|
|
348
352
|
margin-bottom: calc(var(--spacing) * 2);
|
|
349
353
|
}
|
|
354
|
+
.mb-3 {
|
|
355
|
+
margin-bottom: calc(var(--spacing) * 3);
|
|
356
|
+
}
|
|
350
357
|
.-ml-1 {
|
|
351
358
|
margin-left: calc(var(--spacing) * -1);
|
|
352
359
|
}
|
|
@@ -371,6 +378,9 @@
|
|
|
371
378
|
.inline-flex {
|
|
372
379
|
display: inline-flex;
|
|
373
380
|
}
|
|
381
|
+
.table {
|
|
382
|
+
display: table;
|
|
383
|
+
}
|
|
374
384
|
.aspect-auto {
|
|
375
385
|
aspect-ratio: auto;
|
|
376
386
|
}
|
|
@@ -385,6 +395,10 @@
|
|
|
385
395
|
width: calc(var(--spacing) * 2.5);
|
|
386
396
|
height: calc(var(--spacing) * 2.5);
|
|
387
397
|
}
|
|
398
|
+
.size-3 {
|
|
399
|
+
width: calc(var(--spacing) * 3);
|
|
400
|
+
height: calc(var(--spacing) * 3);
|
|
401
|
+
}
|
|
388
402
|
.size-3\.5 {
|
|
389
403
|
width: calc(var(--spacing) * 3.5);
|
|
390
404
|
height: calc(var(--spacing) * 3.5);
|
|
@@ -397,6 +411,10 @@
|
|
|
397
411
|
width: calc(var(--spacing) * 7);
|
|
398
412
|
height: calc(var(--spacing) * 7);
|
|
399
413
|
}
|
|
414
|
+
.size-8 {
|
|
415
|
+
width: calc(var(--spacing) * 8);
|
|
416
|
+
height: calc(var(--spacing) * 8);
|
|
417
|
+
}
|
|
400
418
|
.size-9 {
|
|
401
419
|
width: calc(var(--spacing) * 9);
|
|
402
420
|
height: calc(var(--spacing) * 9);
|
|
@@ -434,6 +452,9 @@
|
|
|
434
452
|
.h-\[100svh\] {
|
|
435
453
|
height: 100svh;
|
|
436
454
|
}
|
|
455
|
+
.h-\[320px\] {
|
|
456
|
+
height: 320px;
|
|
457
|
+
}
|
|
437
458
|
.h-\[var\(--radix-select-trigger-height\)\] {
|
|
438
459
|
height: var(--radix-select-trigger-height);
|
|
439
460
|
}
|
|
@@ -452,12 +473,24 @@
|
|
|
452
473
|
.max-h-60 {
|
|
453
474
|
max-height: calc(var(--spacing) * 60);
|
|
454
475
|
}
|
|
476
|
+
.max-h-72 {
|
|
477
|
+
max-height: calc(var(--spacing) * 72);
|
|
478
|
+
}
|
|
479
|
+
.max-h-\[620px\] {
|
|
480
|
+
max-height: 620px;
|
|
481
|
+
}
|
|
455
482
|
.min-h-0 {
|
|
456
483
|
min-height: calc(var(--spacing) * 0);
|
|
457
484
|
}
|
|
458
485
|
.min-h-10 {
|
|
459
486
|
min-height: calc(var(--spacing) * 10);
|
|
460
487
|
}
|
|
488
|
+
.min-h-12 {
|
|
489
|
+
min-height: calc(var(--spacing) * 12);
|
|
490
|
+
}
|
|
491
|
+
.min-h-20 {
|
|
492
|
+
min-height: calc(var(--spacing) * 20);
|
|
493
|
+
}
|
|
461
494
|
.min-h-\[200px\] {
|
|
462
495
|
min-height: 200px;
|
|
463
496
|
}
|
|
@@ -521,9 +554,24 @@
|
|
|
521
554
|
.w-\[132px\] {
|
|
522
555
|
width: 132px;
|
|
523
556
|
}
|
|
557
|
+
.w-\[140px\] {
|
|
558
|
+
width: 140px;
|
|
559
|
+
}
|
|
524
560
|
.w-\[150px\] {
|
|
525
561
|
width: 150px;
|
|
526
562
|
}
|
|
563
|
+
.w-\[170px\] {
|
|
564
|
+
width: 170px;
|
|
565
|
+
}
|
|
566
|
+
.w-\[180px\] {
|
|
567
|
+
width: 180px;
|
|
568
|
+
}
|
|
569
|
+
.w-\[190px\] {
|
|
570
|
+
width: 190px;
|
|
571
|
+
}
|
|
572
|
+
.w-\[220px\] {
|
|
573
|
+
width: 220px;
|
|
574
|
+
}
|
|
527
575
|
.w-auto {
|
|
528
576
|
width: auto;
|
|
529
577
|
}
|
|
@@ -536,6 +584,9 @@
|
|
|
536
584
|
.max-w-\(--skeleton-width\) {
|
|
537
585
|
max-width: var(--skeleton-width);
|
|
538
586
|
}
|
|
587
|
+
.max-w-3xl {
|
|
588
|
+
max-width: var(--container-3xl);
|
|
589
|
+
}
|
|
539
590
|
.max-w-48 {
|
|
540
591
|
max-width: calc(var(--spacing) * 48);
|
|
541
592
|
}
|
|
@@ -545,12 +596,21 @@
|
|
|
545
596
|
.max-w-80 {
|
|
546
597
|
max-width: calc(var(--spacing) * 80);
|
|
547
598
|
}
|
|
599
|
+
.max-w-\[1600px\] {
|
|
600
|
+
max-width: 1600px;
|
|
601
|
+
}
|
|
548
602
|
.max-w-lg {
|
|
549
603
|
max-width: var(--container-lg);
|
|
550
604
|
}
|
|
605
|
+
.max-w-md {
|
|
606
|
+
max-width: var(--container-md);
|
|
607
|
+
}
|
|
551
608
|
.max-w-sm {
|
|
552
609
|
max-width: var(--container-sm);
|
|
553
610
|
}
|
|
611
|
+
.max-w-xl {
|
|
612
|
+
max-width: var(--container-xl);
|
|
613
|
+
}
|
|
554
614
|
.min-w-0 {
|
|
555
615
|
min-width: calc(var(--spacing) * 0);
|
|
556
616
|
}
|
|
@@ -569,6 +629,9 @@
|
|
|
569
629
|
.min-w-\[240px\] {
|
|
570
630
|
min-width: 240px;
|
|
571
631
|
}
|
|
632
|
+
.min-w-\[260px\] {
|
|
633
|
+
min-width: 260px;
|
|
634
|
+
}
|
|
572
635
|
.min-w-\[940px\] {
|
|
573
636
|
min-width: 940px;
|
|
574
637
|
}
|
|
@@ -584,6 +647,9 @@
|
|
|
584
647
|
.shrink-0 {
|
|
585
648
|
flex-shrink: 0;
|
|
586
649
|
}
|
|
650
|
+
.caption-bottom {
|
|
651
|
+
caption-side: bottom;
|
|
652
|
+
}
|
|
587
653
|
.origin-\(--radix-tooltip-content-transform-origin\) {
|
|
588
654
|
transform-origin: var(--radix-tooltip-content-transform-origin);
|
|
589
655
|
}
|
|
@@ -797,6 +863,10 @@
|
|
|
797
863
|
border-style: var(--tw-border-style);
|
|
798
864
|
border-width: 1px;
|
|
799
865
|
}
|
|
866
|
+
.border-0 {
|
|
867
|
+
border-style: var(--tw-border-style);
|
|
868
|
+
border-width: 0px;
|
|
869
|
+
}
|
|
800
870
|
.border-t {
|
|
801
871
|
border-top-style: var(--tw-border-style);
|
|
802
872
|
border-top-width: 1px;
|
|
@@ -1036,6 +1106,9 @@
|
|
|
1036
1106
|
.text-right {
|
|
1037
1107
|
text-align: right;
|
|
1038
1108
|
}
|
|
1109
|
+
.align-middle {
|
|
1110
|
+
vertical-align: middle;
|
|
1111
|
+
}
|
|
1039
1112
|
.font-mono {
|
|
1040
1113
|
font-family: var(--font-mono);
|
|
1041
1114
|
}
|
|
@@ -1089,6 +1162,10 @@
|
|
|
1089
1162
|
--tw-tracking: var(--tracking-tight);
|
|
1090
1163
|
letter-spacing: var(--tracking-tight);
|
|
1091
1164
|
}
|
|
1165
|
+
.tracking-wide {
|
|
1166
|
+
--tw-tracking: var(--tracking-wide);
|
|
1167
|
+
letter-spacing: var(--tracking-wide);
|
|
1168
|
+
}
|
|
1092
1169
|
.text-balance {
|
|
1093
1170
|
text-wrap: balance;
|
|
1094
1171
|
}
|
|
@@ -1101,6 +1178,9 @@
|
|
|
1101
1178
|
.whitespace-pre-wrap {
|
|
1102
1179
|
white-space: pre-wrap;
|
|
1103
1180
|
}
|
|
1181
|
+
.text-accent-foreground {
|
|
1182
|
+
color: var(--color-accent-foreground);
|
|
1183
|
+
}
|
|
1104
1184
|
.text-card-foreground {
|
|
1105
1185
|
color: var(--color-card-foreground);
|
|
1106
1186
|
}
|
|
@@ -1122,6 +1202,12 @@
|
|
|
1122
1202
|
color: color-mix(in oklab, var(--color-muted-foreground) 50%, transparent);
|
|
1123
1203
|
}
|
|
1124
1204
|
}
|
|
1205
|
+
.text-muted-foreground\/60 {
|
|
1206
|
+
color: color-mix(in srgb, hsl(var(--muted-foreground)) 60%, transparent);
|
|
1207
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1208
|
+
color: color-mix(in oklab, var(--color-muted-foreground) 60%, transparent);
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1125
1211
|
.text-popover-foreground {
|
|
1126
1212
|
color: var(--color-popover-foreground);
|
|
1127
1213
|
}
|
|
@@ -1207,6 +1293,9 @@
|
|
|
1207
1293
|
outline-style: var(--tw-outline-style);
|
|
1208
1294
|
outline-width: 1px;
|
|
1209
1295
|
}
|
|
1296
|
+
.filter {
|
|
1297
|
+
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
1298
|
+
}
|
|
1210
1299
|
.backdrop-blur {
|
|
1211
1300
|
--tw-backdrop-blur: blur(8px);
|
|
1212
1301
|
-webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
@@ -1580,6 +1669,13 @@
|
|
|
1580
1669
|
}
|
|
1581
1670
|
}
|
|
1582
1671
|
}
|
|
1672
|
+
.hover\:bg-muted {
|
|
1673
|
+
&:hover {
|
|
1674
|
+
@media (hover: hover) {
|
|
1675
|
+
background-color: var(--color-muted);
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1583
1679
|
.hover\:bg-muted\/50 {
|
|
1584
1680
|
&:hover {
|
|
1585
1681
|
@media (hover: hover) {
|
|
@@ -1617,6 +1713,13 @@
|
|
|
1617
1713
|
}
|
|
1618
1714
|
}
|
|
1619
1715
|
}
|
|
1716
|
+
.hover\:bg-transparent {
|
|
1717
|
+
&:hover {
|
|
1718
|
+
@media (hover: hover) {
|
|
1719
|
+
background-color: transparent;
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1620
1723
|
.hover\:text-accent-foreground {
|
|
1621
1724
|
&:hover {
|
|
1622
1725
|
@media (hover: hover) {
|
|
@@ -1735,6 +1838,12 @@
|
|
|
1735
1838
|
border-color: var(--color-ring);
|
|
1736
1839
|
}
|
|
1737
1840
|
}
|
|
1841
|
+
.focus-visible\:ring-0 {
|
|
1842
|
+
&:focus-visible {
|
|
1843
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1844
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1738
1847
|
.focus-visible\:ring-2 {
|
|
1739
1848
|
&:focus-visible {
|
|
1740
1849
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -2025,6 +2134,11 @@
|
|
|
2025
2134
|
}
|
|
2026
2135
|
}
|
|
2027
2136
|
}
|
|
2137
|
+
.data-\[state\=selected\]\:bg-muted {
|
|
2138
|
+
&[data-state="selected"] {
|
|
2139
|
+
background-color: var(--color-muted);
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2028
2142
|
.supports-\[backdrop-filter\]\:bg-background\/80 {
|
|
2029
2143
|
@supports (backdrop-filter: var(--tw)) {
|
|
2030
2144
|
background-color: color-mix(in srgb, hsl(var(--background)) 80%, transparent);
|
|
@@ -2140,11 +2254,41 @@
|
|
|
2140
2254
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
2141
2255
|
}
|
|
2142
2256
|
}
|
|
2257
|
+
.lg\:grid-cols-\[240px_minmax\(0\,1fr\)\] {
|
|
2258
|
+
@media (width >= 64rem) {
|
|
2259
|
+
grid-template-columns: 240px minmax(0,1fr);
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
.lg\:p-5 {
|
|
2263
|
+
@media (width >= 64rem) {
|
|
2264
|
+
padding: calc(var(--spacing) * 5);
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2143
2267
|
.lg\:px-4 {
|
|
2144
2268
|
@media (width >= 64rem) {
|
|
2145
2269
|
padding-inline: calc(var(--spacing) * 4);
|
|
2146
2270
|
}
|
|
2147
2271
|
}
|
|
2272
|
+
.xl\:grid-cols-2 {
|
|
2273
|
+
@media (width >= 80rem) {
|
|
2274
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
.xl\:grid-cols-4 {
|
|
2278
|
+
@media (width >= 80rem) {
|
|
2279
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
.xl\:grid-cols-\[1fr_420px\] {
|
|
2283
|
+
@media (width >= 80rem) {
|
|
2284
|
+
grid-template-columns: 1fr 420px;
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
.xl\:grid-cols-\[minmax\(0\,1fr\)_360px\] {
|
|
2288
|
+
@media (width >= 80rem) {
|
|
2289
|
+
grid-template-columns: minmax(0,1fr) 360px;
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2148
2292
|
.dark\:border-input {
|
|
2149
2293
|
&:is(.dark *) {
|
|
2150
2294
|
border-color: var(--color-input);
|
|
@@ -2254,6 +2398,18 @@
|
|
|
2254
2398
|
height: calc(var(--spacing) * 4);
|
|
2255
2399
|
}
|
|
2256
2400
|
}
|
|
2401
|
+
.\[\&_tr\]\:border-b {
|
|
2402
|
+
& tr {
|
|
2403
|
+
border-bottom-style: var(--tw-border-style);
|
|
2404
|
+
border-bottom-width: 1px;
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
.\[\&_tr\:last-child\]\:border-0 {
|
|
2408
|
+
& tr:last-child {
|
|
2409
|
+
border-style: var(--tw-border-style);
|
|
2410
|
+
border-width: 0px;
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2257
2413
|
.\[\.border-b\]\:pb-6 {
|
|
2258
2414
|
&:is(.border-b) {
|
|
2259
2415
|
padding-bottom: calc(var(--spacing) * 6);
|
|
@@ -2813,6 +2969,59 @@
|
|
|
2813
2969
|
inherits: false;
|
|
2814
2970
|
initial-value: solid;
|
|
2815
2971
|
}
|
|
2972
|
+
@property --tw-blur {
|
|
2973
|
+
syntax: "*";
|
|
2974
|
+
inherits: false;
|
|
2975
|
+
}
|
|
2976
|
+
@property --tw-brightness {
|
|
2977
|
+
syntax: "*";
|
|
2978
|
+
inherits: false;
|
|
2979
|
+
}
|
|
2980
|
+
@property --tw-contrast {
|
|
2981
|
+
syntax: "*";
|
|
2982
|
+
inherits: false;
|
|
2983
|
+
}
|
|
2984
|
+
@property --tw-grayscale {
|
|
2985
|
+
syntax: "*";
|
|
2986
|
+
inherits: false;
|
|
2987
|
+
}
|
|
2988
|
+
@property --tw-hue-rotate {
|
|
2989
|
+
syntax: "*";
|
|
2990
|
+
inherits: false;
|
|
2991
|
+
}
|
|
2992
|
+
@property --tw-invert {
|
|
2993
|
+
syntax: "*";
|
|
2994
|
+
inherits: false;
|
|
2995
|
+
}
|
|
2996
|
+
@property --tw-opacity {
|
|
2997
|
+
syntax: "*";
|
|
2998
|
+
inherits: false;
|
|
2999
|
+
}
|
|
3000
|
+
@property --tw-saturate {
|
|
3001
|
+
syntax: "*";
|
|
3002
|
+
inherits: false;
|
|
3003
|
+
}
|
|
3004
|
+
@property --tw-sepia {
|
|
3005
|
+
syntax: "*";
|
|
3006
|
+
inherits: false;
|
|
3007
|
+
}
|
|
3008
|
+
@property --tw-drop-shadow {
|
|
3009
|
+
syntax: "*";
|
|
3010
|
+
inherits: false;
|
|
3011
|
+
}
|
|
3012
|
+
@property --tw-drop-shadow-color {
|
|
3013
|
+
syntax: "*";
|
|
3014
|
+
inherits: false;
|
|
3015
|
+
}
|
|
3016
|
+
@property --tw-drop-shadow-alpha {
|
|
3017
|
+
syntax: "<percentage>";
|
|
3018
|
+
inherits: false;
|
|
3019
|
+
initial-value: 100%;
|
|
3020
|
+
}
|
|
3021
|
+
@property --tw-drop-shadow-size {
|
|
3022
|
+
syntax: "*";
|
|
3023
|
+
inherits: false;
|
|
3024
|
+
}
|
|
2816
3025
|
@property --tw-backdrop-blur {
|
|
2817
3026
|
syntax: "*";
|
|
2818
3027
|
inherits: false;
|
|
@@ -2918,6 +3127,19 @@
|
|
|
2918
3127
|
--tw-ring-offset-color: #fff;
|
|
2919
3128
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
2920
3129
|
--tw-outline-style: solid;
|
|
3130
|
+
--tw-blur: initial;
|
|
3131
|
+
--tw-brightness: initial;
|
|
3132
|
+
--tw-contrast: initial;
|
|
3133
|
+
--tw-grayscale: initial;
|
|
3134
|
+
--tw-hue-rotate: initial;
|
|
3135
|
+
--tw-invert: initial;
|
|
3136
|
+
--tw-opacity: initial;
|
|
3137
|
+
--tw-saturate: initial;
|
|
3138
|
+
--tw-sepia: initial;
|
|
3139
|
+
--tw-drop-shadow: initial;
|
|
3140
|
+
--tw-drop-shadow-color: initial;
|
|
3141
|
+
--tw-drop-shadow-alpha: 100%;
|
|
3142
|
+
--tw-drop-shadow-size: initial;
|
|
2921
3143
|
--tw-backdrop-blur: initial;
|
|
2922
3144
|
--tw-backdrop-brightness: initial;
|
|
2923
3145
|
--tw-backdrop-contrast: initial;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotz/admin",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.35",
|
|
4
4
|
"description": "Copilotz admin dashboard components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"build:watch": "tsup --watch",
|
|
27
27
|
"build:css:watch": "tailwindcss -c tailwind.config.ts -i ./src/styles.css -o ./dist/styles.css --watch",
|
|
28
28
|
"dev": "npm run build:watch & npm run build:css:watch",
|
|
29
|
+
"test": "npm run build && node --test test/*.test.mjs",
|
|
29
30
|
"prepack": "npm run build && npm run build:css"
|
|
30
31
|
},
|
|
31
32
|
"peerDependencies": {
|