@jameskabz/nextcraft-ui 0.6.16 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -3
- package/dist/components/craft-button.cjs +64 -4
- package/dist/components/craft-button.cjs.map +1 -1
- package/dist/components/craft-button.d.cts +5 -2
- package/dist/components/craft-button.d.ts +5 -2
- package/dist/components/craft-button.js +65 -5
- package/dist/components/craft-button.js.map +1 -1
- package/dist/components/craft-checkbox.cjs +2 -2
- package/dist/components/craft-checkbox.cjs.map +1 -1
- package/dist/components/craft-checkbox.js +2 -2
- package/dist/components/craft-checkbox.js.map +1 -1
- package/dist/components/craft-create-edit-drawer.cjs +5 -3
- package/dist/components/craft-create-edit-drawer.cjs.map +1 -1
- package/dist/components/craft-create-edit-drawer.js +5 -3
- package/dist/components/craft-create-edit-drawer.js.map +1 -1
- package/dist/components/craft-data-table-header.cjs +74 -0
- package/dist/components/craft-data-table-header.cjs.map +1 -0
- package/dist/components/craft-data-table-header.d.cts +17 -0
- package/dist/components/craft-data-table-header.d.ts +17 -0
- package/dist/components/craft-data-table-header.js +50 -0
- package/dist/components/craft-data-table-header.js.map +1 -0
- package/dist/components/craft-data-table-pagination.cjs +107 -0
- package/dist/components/craft-data-table-pagination.cjs.map +1 -0
- package/dist/components/craft-data-table-pagination.d.cts +25 -0
- package/dist/components/craft-data-table-pagination.d.ts +25 -0
- package/dist/components/craft-data-table-pagination.js +83 -0
- package/dist/components/craft-data-table-pagination.js.map +1 -0
- package/dist/components/craft-data-table.cjs +424 -192
- package/dist/components/craft-data-table.cjs.map +1 -1
- package/dist/components/craft-data-table.d.cts +61 -9
- package/dist/components/craft-data-table.d.ts +61 -9
- package/dist/components/craft-data-table.js +424 -192
- package/dist/components/craft-data-table.js.map +1 -1
- package/dist/components/craft-form-field.cjs +67 -11
- package/dist/components/craft-form-field.cjs.map +1 -1
- package/dist/components/craft-form-field.d.cts +4 -1
- package/dist/components/craft-form-field.d.ts +4 -1
- package/dist/components/craft-form-field.js +57 -11
- package/dist/components/craft-form-field.js.map +1 -1
- package/dist/components/craft-form-modal.cjs +29 -28
- package/dist/components/craft-form-modal.cjs.map +1 -1
- package/dist/components/craft-form-modal.js +29 -28
- package/dist/components/craft-form-modal.js.map +1 -1
- package/dist/components/craft-form.cjs +5 -3
- package/dist/components/craft-form.cjs.map +1 -1
- package/dist/components/craft-form.js +5 -3
- package/dist/components/craft-form.js.map +1 -1
- package/dist/components/craft-icon.cjs +26 -32
- package/dist/components/craft-icon.cjs.map +1 -1
- package/dist/components/craft-icon.d.cts +1 -2
- package/dist/components/craft-icon.d.ts +1 -2
- package/dist/components/craft-icon.js +36 -32
- package/dist/components/craft-icon.js.map +1 -1
- package/dist/components/craft-loader.cjs +195 -0
- package/dist/components/craft-loader.cjs.map +1 -0
- package/dist/components/craft-loader.d.cts +21 -0
- package/dist/components/craft-loader.d.ts +21 -0
- package/dist/components/craft-loader.js +171 -0
- package/dist/components/craft-loader.js.map +1 -0
- package/dist/components/layout/app-template.cjs +2 -3
- package/dist/components/layout/app-template.cjs.map +1 -1
- package/dist/components/layout/app-template.d.cts +1 -2
- package/dist/components/layout/app-template.d.ts +1 -2
- package/dist/components/layout/app-template.js +2 -3
- package/dist/components/layout/app-template.js.map +1 -1
- package/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +164 -12
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -44,12 +44,16 @@
|
|
|
44
44
|
--font-weight-semibold: 600;
|
|
45
45
|
--font-weight-bold: 700;
|
|
46
46
|
--tracking-wide: 0.025em;
|
|
47
|
+
--radius-sm: 0.25rem;
|
|
47
48
|
--radius-md: 0.375rem;
|
|
48
49
|
--radius-lg: 0.5rem;
|
|
49
50
|
--radius-xl: 0.75rem;
|
|
50
51
|
--radius-2xl: 1rem;
|
|
51
52
|
--radius-3xl: 1.5rem;
|
|
52
53
|
--animate-spin: spin 1s linear infinite;
|
|
54
|
+
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
55
|
+
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
56
|
+
--animate-bounce: bounce 1s infinite;
|
|
53
57
|
--blur-sm: 8px;
|
|
54
58
|
--blur-md: 12px;
|
|
55
59
|
--blur-xl: 24px;
|
|
@@ -212,6 +216,9 @@
|
|
|
212
216
|
.pointer-events-none {
|
|
213
217
|
pointer-events: none;
|
|
214
218
|
}
|
|
219
|
+
.visible {
|
|
220
|
+
visibility: visible;
|
|
221
|
+
}
|
|
215
222
|
.sr-only {
|
|
216
223
|
position: absolute;
|
|
217
224
|
width: 1px;
|
|
@@ -244,8 +251,8 @@
|
|
|
244
251
|
.top-6 {
|
|
245
252
|
top: calc(var(--spacing) * 6);
|
|
246
253
|
}
|
|
247
|
-
.top-
|
|
248
|
-
top: calc(var(--spacing) *
|
|
254
|
+
.top-12 {
|
|
255
|
+
top: calc(var(--spacing) * 12);
|
|
249
256
|
}
|
|
250
257
|
.top-full {
|
|
251
258
|
top: 100%;
|
|
@@ -289,6 +296,18 @@
|
|
|
289
296
|
.z-50 {
|
|
290
297
|
z-index: 50;
|
|
291
298
|
}
|
|
299
|
+
.row-1 {
|
|
300
|
+
grid-row: 1;
|
|
301
|
+
}
|
|
302
|
+
.row-2 {
|
|
303
|
+
grid-row: 2;
|
|
304
|
+
}
|
|
305
|
+
.row-3 {
|
|
306
|
+
grid-row: 3;
|
|
307
|
+
}
|
|
308
|
+
.row-4 {
|
|
309
|
+
grid-row: 4;
|
|
310
|
+
}
|
|
292
311
|
.mx-2 {
|
|
293
312
|
margin-inline: calc(var(--spacing) * 2);
|
|
294
313
|
}
|
|
@@ -319,6 +338,9 @@
|
|
|
319
338
|
.mt-auto {
|
|
320
339
|
margin-top: auto;
|
|
321
340
|
}
|
|
341
|
+
.mr-2 {
|
|
342
|
+
margin-right: calc(var(--spacing) * 2);
|
|
343
|
+
}
|
|
322
344
|
.mb-2 {
|
|
323
345
|
margin-bottom: calc(var(--spacing) * 2);
|
|
324
346
|
}
|
|
@@ -328,6 +350,9 @@
|
|
|
328
350
|
.mb-6 {
|
|
329
351
|
margin-bottom: calc(var(--spacing) * 6);
|
|
330
352
|
}
|
|
353
|
+
.ml-1 {
|
|
354
|
+
margin-left: calc(var(--spacing) * 1);
|
|
355
|
+
}
|
|
331
356
|
.block {
|
|
332
357
|
display: block;
|
|
333
358
|
}
|
|
@@ -400,6 +425,9 @@
|
|
|
400
425
|
.w-3 {
|
|
401
426
|
width: calc(var(--spacing) * 3);
|
|
402
427
|
}
|
|
428
|
+
.w-3\/4 {
|
|
429
|
+
width: calc(3/4 * 100%);
|
|
430
|
+
}
|
|
403
431
|
.w-4 {
|
|
404
432
|
width: calc(var(--spacing) * 4);
|
|
405
433
|
}
|
|
@@ -424,8 +452,8 @@
|
|
|
424
452
|
.w-40 {
|
|
425
453
|
width: calc(var(--spacing) * 40);
|
|
426
454
|
}
|
|
427
|
-
.w-
|
|
428
|
-
width: calc(var(--spacing) *
|
|
455
|
+
.w-56 {
|
|
456
|
+
width: calc(var(--spacing) * 56);
|
|
429
457
|
}
|
|
430
458
|
.w-full {
|
|
431
459
|
width: 100%;
|
|
@@ -460,9 +488,15 @@
|
|
|
460
488
|
.min-w-48 {
|
|
461
489
|
min-width: calc(var(--spacing) * 48);
|
|
462
490
|
}
|
|
491
|
+
.min-w-full {
|
|
492
|
+
min-width: 100%;
|
|
493
|
+
}
|
|
463
494
|
.flex-1 {
|
|
464
495
|
flex: 1;
|
|
465
496
|
}
|
|
497
|
+
.shrink-0 {
|
|
498
|
+
flex-shrink: 0;
|
|
499
|
+
}
|
|
466
500
|
.border-collapse {
|
|
467
501
|
border-collapse: collapse;
|
|
468
502
|
}
|
|
@@ -501,6 +535,15 @@
|
|
|
501
535
|
.transform {
|
|
502
536
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
503
537
|
}
|
|
538
|
+
.animate-bounce {
|
|
539
|
+
animation: var(--animate-bounce);
|
|
540
|
+
}
|
|
541
|
+
.animate-ping {
|
|
542
|
+
animation: var(--animate-ping);
|
|
543
|
+
}
|
|
544
|
+
.animate-pulse {
|
|
545
|
+
animation: var(--animate-pulse);
|
|
546
|
+
}
|
|
504
547
|
.animate-spin {
|
|
505
548
|
animation: var(--animate-spin);
|
|
506
549
|
}
|
|
@@ -528,12 +571,18 @@
|
|
|
528
571
|
.flex-col {
|
|
529
572
|
flex-direction: column;
|
|
530
573
|
}
|
|
574
|
+
.flex-col-reverse {
|
|
575
|
+
flex-direction: column-reverse;
|
|
576
|
+
}
|
|
531
577
|
.flex-wrap {
|
|
532
578
|
flex-wrap: wrap;
|
|
533
579
|
}
|
|
534
580
|
.items-center {
|
|
535
581
|
align-items: center;
|
|
536
582
|
}
|
|
583
|
+
.items-end {
|
|
584
|
+
align-items: flex-end;
|
|
585
|
+
}
|
|
537
586
|
.items-start {
|
|
538
587
|
align-items: flex-start;
|
|
539
588
|
}
|
|
@@ -546,6 +595,9 @@
|
|
|
546
595
|
.justify-end {
|
|
547
596
|
justify-content: flex-end;
|
|
548
597
|
}
|
|
598
|
+
.gap-1 {
|
|
599
|
+
gap: calc(var(--spacing) * 1);
|
|
600
|
+
}
|
|
549
601
|
.gap-2 {
|
|
550
602
|
gap: calc(var(--spacing) * 2);
|
|
551
603
|
}
|
|
@@ -627,12 +679,23 @@
|
|
|
627
679
|
margin-block-end: calc(calc(var(--spacing) * 12) * calc(1 - var(--tw-space-y-reverse)));
|
|
628
680
|
}
|
|
629
681
|
}
|
|
682
|
+
.truncate {
|
|
683
|
+
overflow: hidden;
|
|
684
|
+
text-overflow: ellipsis;
|
|
685
|
+
white-space: nowrap;
|
|
686
|
+
}
|
|
630
687
|
.overflow-hidden {
|
|
631
688
|
overflow: hidden;
|
|
632
689
|
}
|
|
690
|
+
.overflow-x-auto {
|
|
691
|
+
overflow-x: auto;
|
|
692
|
+
}
|
|
633
693
|
.overflow-y-auto {
|
|
634
694
|
overflow-y: auto;
|
|
635
695
|
}
|
|
696
|
+
.rounded {
|
|
697
|
+
border-radius: 0.25rem;
|
|
698
|
+
}
|
|
636
699
|
.rounded-2xl {
|
|
637
700
|
border-radius: var(--radius-2xl);
|
|
638
701
|
}
|
|
@@ -648,6 +711,9 @@
|
|
|
648
711
|
.rounded-md {
|
|
649
712
|
border-radius: var(--radius-md);
|
|
650
713
|
}
|
|
714
|
+
.rounded-sm {
|
|
715
|
+
border-radius: var(--radius-sm);
|
|
716
|
+
}
|
|
651
717
|
.rounded-xl {
|
|
652
718
|
border-radius: var(--radius-xl);
|
|
653
719
|
}
|
|
@@ -703,27 +769,33 @@
|
|
|
703
769
|
.border-\[rgb\(var\(--nc-accent-2\)\/0\.45\)\] {
|
|
704
770
|
border-color: rgb(var(--nc-accent-2)/0.45);
|
|
705
771
|
}
|
|
772
|
+
.border-\[rgb\(var\(--nc-accent-3\)\)\] {
|
|
773
|
+
border-color: rgb(var(--nc-accent-3));
|
|
774
|
+
}
|
|
706
775
|
.border-\[rgb\(var\(--nc-accent-3\)\/0\.45\)\] {
|
|
707
776
|
border-color: rgb(var(--nc-accent-3)/0.45);
|
|
708
777
|
}
|
|
709
778
|
.border-\[rgb\(var\(--nc-accent-3\)\/0\.65\)\] {
|
|
710
779
|
border-color: rgb(var(--nc-accent-3)/0.65);
|
|
711
780
|
}
|
|
781
|
+
.border-\[rgb\(var\(--nc-border\)\/0\.2\)\] {
|
|
782
|
+
border-color: rgb(var(--nc-border)/0.2);
|
|
783
|
+
}
|
|
712
784
|
.border-\[rgb\(var\(--nc-border\)\/0\.3\)\] {
|
|
713
785
|
border-color: rgb(var(--nc-border)/0.3);
|
|
714
786
|
}
|
|
715
787
|
.border-\[rgb\(var\(--nc-border\)\/0\.15\)\] {
|
|
716
788
|
border-color: rgb(var(--nc-border)/0.15);
|
|
717
789
|
}
|
|
790
|
+
.border-\[rgb\(var\(--nc-border\)\/0\.25\)\] {
|
|
791
|
+
border-color: rgb(var(--nc-border)/0.25);
|
|
792
|
+
}
|
|
718
793
|
.border-\[rgb\(var\(--nc-border\)\/0\.35\)\] {
|
|
719
794
|
border-color: rgb(var(--nc-border)/0.35);
|
|
720
795
|
}
|
|
721
796
|
.border-\[rgb\(var\(--nc-border\)\/0\.45\)\] {
|
|
722
797
|
border-color: rgb(var(--nc-border)/0.45);
|
|
723
798
|
}
|
|
724
|
-
.border-\[rgb\(var\(--nc-fg-muted\)\)\] {
|
|
725
|
-
border-color: rgb(var(--nc-fg-muted));
|
|
726
|
-
}
|
|
727
799
|
.border-amber-400\/40 {
|
|
728
800
|
border-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 40%, transparent);
|
|
729
801
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -745,6 +817,9 @@
|
|
|
745
817
|
.border-slate-300 {
|
|
746
818
|
border-color: var(--color-slate-300);
|
|
747
819
|
}
|
|
820
|
+
.border-transparent {
|
|
821
|
+
border-color: transparent;
|
|
822
|
+
}
|
|
748
823
|
.border-white\/10 {
|
|
749
824
|
border-color: color-mix(in srgb, #fff 10%, transparent);
|
|
750
825
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -784,9 +859,6 @@
|
|
|
784
859
|
.bg-\[rgb\(var\(--nc-accent-1\)\/0\.3\)\] {
|
|
785
860
|
background-color: rgb(var(--nc-accent-1)/0.3);
|
|
786
861
|
}
|
|
787
|
-
.bg-\[rgb\(var\(--nc-accent-1\)\/0\.08\)\] {
|
|
788
|
-
background-color: rgb(var(--nc-accent-1)/0.08);
|
|
789
|
-
}
|
|
790
862
|
.bg-\[rgb\(var\(--nc-accent-1\)\/0\.12\)\] {
|
|
791
863
|
background-color: rgb(var(--nc-accent-1)/0.12);
|
|
792
864
|
}
|
|
@@ -805,9 +877,15 @@
|
|
|
805
877
|
.bg-\[rgb\(var\(--nc-accent-3\)\/0\.18\)\] {
|
|
806
878
|
background-color: rgb(var(--nc-accent-3)/0.18);
|
|
807
879
|
}
|
|
880
|
+
.bg-\[rgb\(var\(--nc-border\)\/0\.3\)\] {
|
|
881
|
+
background-color: rgb(var(--nc-border)/0.3);
|
|
882
|
+
}
|
|
808
883
|
.bg-\[rgb\(var\(--nc-surface\)\/0\.2\)\] {
|
|
809
884
|
background-color: rgb(var(--nc-surface)/0.2);
|
|
810
885
|
}
|
|
886
|
+
.bg-\[rgb\(var\(--nc-surface\)\/0\.04\)\] {
|
|
887
|
+
background-color: rgb(var(--nc-surface)/0.04);
|
|
888
|
+
}
|
|
811
889
|
.bg-\[rgb\(var\(--nc-surface\)\/0\.08\)\] {
|
|
812
890
|
background-color: rgb(var(--nc-surface)/0.08);
|
|
813
891
|
}
|
|
@@ -898,6 +976,9 @@
|
|
|
898
976
|
.bg-clip-text {
|
|
899
977
|
background-clip: text;
|
|
900
978
|
}
|
|
979
|
+
.p-0 {
|
|
980
|
+
padding: calc(var(--spacing) * 0);
|
|
981
|
+
}
|
|
901
982
|
.p-2 {
|
|
902
983
|
padding: calc(var(--spacing) * 2);
|
|
903
984
|
}
|
|
@@ -946,11 +1027,17 @@
|
|
|
946
1027
|
.py-4 {
|
|
947
1028
|
padding-block: calc(var(--spacing) * 4);
|
|
948
1029
|
}
|
|
1030
|
+
.py-5 {
|
|
1031
|
+
padding-block: calc(var(--spacing) * 5);
|
|
1032
|
+
}
|
|
1033
|
+
.py-6 {
|
|
1034
|
+
padding-block: calc(var(--spacing) * 6);
|
|
1035
|
+
}
|
|
949
1036
|
.py-8 {
|
|
950
1037
|
padding-block: calc(var(--spacing) * 8);
|
|
951
1038
|
}
|
|
952
|
-
.py-
|
|
953
|
-
padding-block: calc(var(--spacing) *
|
|
1039
|
+
.py-12 {
|
|
1040
|
+
padding-block: calc(var(--spacing) * 12);
|
|
954
1041
|
}
|
|
955
1042
|
.py-16 {
|
|
956
1043
|
padding-block: calc(var(--spacing) * 16);
|
|
@@ -1011,6 +1098,9 @@
|
|
|
1011
1098
|
font-size: var(--text-xs);
|
|
1012
1099
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
1013
1100
|
}
|
|
1101
|
+
.text-\[11px\] {
|
|
1102
|
+
font-size: 11px;
|
|
1103
|
+
}
|
|
1014
1104
|
.font-bold {
|
|
1015
1105
|
--tw-font-weight: var(--font-weight-bold);
|
|
1016
1106
|
font-weight: var(--font-weight-bold);
|
|
@@ -1034,12 +1124,18 @@
|
|
|
1034
1124
|
.whitespace-nowrap {
|
|
1035
1125
|
white-space: nowrap;
|
|
1036
1126
|
}
|
|
1127
|
+
.whitespace-pre-wrap {
|
|
1128
|
+
white-space: pre-wrap;
|
|
1129
|
+
}
|
|
1037
1130
|
.text-\[color\:rgb\(var\(--nc-accent-1\)\)\] {
|
|
1038
1131
|
color: rgb(var(--nc-accent-1));
|
|
1039
1132
|
}
|
|
1040
1133
|
.text-\[rgb\(var\(--nc-accent-1\)\)\] {
|
|
1041
1134
|
color: rgb(var(--nc-accent-1));
|
|
1042
1135
|
}
|
|
1136
|
+
.text-\[rgb\(var\(--nc-accent-2\)\)\] {
|
|
1137
|
+
color: rgb(var(--nc-accent-2));
|
|
1138
|
+
}
|
|
1043
1139
|
.text-\[rgb\(var\(--nc-accent-3\)\)\] {
|
|
1044
1140
|
color: rgb(var(--nc-accent-3));
|
|
1045
1141
|
}
|
|
@@ -1061,6 +1157,9 @@
|
|
|
1061
1157
|
.text-amber-200 {
|
|
1062
1158
|
color: var(--color-amber-200);
|
|
1063
1159
|
}
|
|
1160
|
+
.text-current {
|
|
1161
|
+
color: currentcolor;
|
|
1162
|
+
}
|
|
1064
1163
|
.text-emerald-200 {
|
|
1065
1164
|
color: var(--color-emerald-200);
|
|
1066
1165
|
}
|
|
@@ -1116,6 +1215,9 @@
|
|
|
1116
1215
|
.opacity-0 {
|
|
1117
1216
|
opacity: 0%;
|
|
1118
1217
|
}
|
|
1218
|
+
.opacity-25 {
|
|
1219
|
+
opacity: 25%;
|
|
1220
|
+
}
|
|
1119
1221
|
.opacity-40 {
|
|
1120
1222
|
opacity: 40%;
|
|
1121
1223
|
}
|
|
@@ -1125,6 +1227,9 @@
|
|
|
1125
1227
|
.opacity-60 {
|
|
1126
1228
|
opacity: 60%;
|
|
1127
1229
|
}
|
|
1230
|
+
.opacity-75 {
|
|
1231
|
+
opacity: 75%;
|
|
1232
|
+
}
|
|
1128
1233
|
.opacity-100 {
|
|
1129
1234
|
opacity: 100%;
|
|
1130
1235
|
}
|
|
@@ -1208,6 +1313,10 @@
|
|
|
1208
1313
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1209
1314
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1210
1315
|
}
|
|
1316
|
+
.ring {
|
|
1317
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1318
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1319
|
+
}
|
|
1211
1320
|
.outline {
|
|
1212
1321
|
outline-style: var(--tw-outline-style);
|
|
1213
1322
|
outline-width: 1px;
|
|
@@ -1350,6 +1459,11 @@
|
|
|
1350
1459
|
color: rgb(var(--nc-fg));
|
|
1351
1460
|
}
|
|
1352
1461
|
}
|
|
1462
|
+
.placeholder\:text-\[rgb\(var\(--nc-fg-muted\)\)\] {
|
|
1463
|
+
&::placeholder {
|
|
1464
|
+
color: rgb(var(--nc-fg-muted));
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1353
1467
|
.placeholder\:text-\[rgb\(var\(--nc-fg-soft\)\)\] {
|
|
1354
1468
|
&::placeholder {
|
|
1355
1469
|
color: rgb(var(--nc-fg-soft));
|
|
@@ -1718,6 +1832,13 @@
|
|
|
1718
1832
|
}
|
|
1719
1833
|
}
|
|
1720
1834
|
}
|
|
1835
|
+
.hover\:text-\[rgb\(var\(--nc-accent-2\)\)\] {
|
|
1836
|
+
&:hover {
|
|
1837
|
+
@media (hover: hover) {
|
|
1838
|
+
color: rgb(var(--nc-accent-2));
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1721
1842
|
.hover\:text-\[rgb\(var\(--nc-fg\)\)\] {
|
|
1722
1843
|
&:hover {
|
|
1723
1844
|
@media (hover: hover) {
|
|
@@ -1772,6 +1893,11 @@
|
|
|
1772
1893
|
border-color: rgb(var(--nc-accent-1)/0.8);
|
|
1773
1894
|
}
|
|
1774
1895
|
}
|
|
1896
|
+
.focus\:border-\[rgb\(var\(--nc-accent-3\)\)\] {
|
|
1897
|
+
&:focus {
|
|
1898
|
+
border-color: rgb(var(--nc-accent-3));
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1775
1901
|
.focus\:shadow-\[0_0_30px_-5px_var\(--glow-color\)\] {
|
|
1776
1902
|
&:focus {
|
|
1777
1903
|
--tw-shadow: 0 0 30px -5px var(--tw-shadow-color, var(--glow-color));
|
|
@@ -1800,6 +1926,11 @@
|
|
|
1800
1926
|
--tw-ring-color: rgb(var(--nc-accent-1)/0.5);
|
|
1801
1927
|
}
|
|
1802
1928
|
}
|
|
1929
|
+
.focus\:ring-\[rgb\(var\(--nc-accent-3\)\/0\.35\)\] {
|
|
1930
|
+
&:focus {
|
|
1931
|
+
--tw-ring-color: rgb(var(--nc-accent-3)/0.35);
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1803
1934
|
.focus\:outline-none {
|
|
1804
1935
|
&:focus {
|
|
1805
1936
|
--tw-outline-style: none;
|
|
@@ -2353,6 +2484,27 @@ body {
|
|
|
2353
2484
|
transform: rotate(360deg);
|
|
2354
2485
|
}
|
|
2355
2486
|
}
|
|
2487
|
+
@keyframes ping {
|
|
2488
|
+
75%, 100% {
|
|
2489
|
+
transform: scale(2);
|
|
2490
|
+
opacity: 0;
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
@keyframes pulse {
|
|
2494
|
+
50% {
|
|
2495
|
+
opacity: 0.5;
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
@keyframes bounce {
|
|
2499
|
+
0%, 100% {
|
|
2500
|
+
transform: translateY(-25%);
|
|
2501
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
2502
|
+
}
|
|
2503
|
+
50% {
|
|
2504
|
+
transform: none;
|
|
2505
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2356
2508
|
@layer properties {
|
|
2357
2509
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
2358
2510
|
*, ::before, ::after, ::backdrop {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jameskabz/nextcraft-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Next.js + Tailwind UI components with a bold, crafted aesthetic.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,19 +45,20 @@
|
|
|
45
45
|
"test:coverage": "echo \"No coverage configured\""
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"
|
|
48
|
+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
49
|
+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
|
50
|
+
"@fortawesome/react-fontawesome": "^3.1.1",
|
|
49
51
|
"next": "^16.1.4",
|
|
50
52
|
"react": "^19.2.3",
|
|
51
53
|
"react-dom": "^19.2.3",
|
|
52
54
|
"react-hook-form": "^7.71.1",
|
|
53
55
|
"tailwindcss": "^4"
|
|
54
56
|
},
|
|
55
|
-
"peerDependenciesMeta": {
|
|
56
|
-
"lucide-react": {
|
|
57
|
-
"optional": true
|
|
58
|
-
}
|
|
59
|
-
},
|
|
57
|
+
"peerDependenciesMeta": {},
|
|
60
58
|
"devDependencies": {
|
|
59
|
+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
|
60
|
+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
|
61
|
+
"@fortawesome/react-fontawesome": "^3.1.1",
|
|
61
62
|
"@tailwindcss/cli": "^4",
|
|
62
63
|
"@tailwindcss/postcss": "^4",
|
|
63
64
|
"@types/node": "^20",
|
|
@@ -66,7 +67,6 @@
|
|
|
66
67
|
"babel-plugin-react-compiler": "1.0.0",
|
|
67
68
|
"eslint": "^9",
|
|
68
69
|
"eslint-config-next": "16.1.4",
|
|
69
|
-
"lucide-react": "^0.563.0",
|
|
70
70
|
"next": "16.1.4",
|
|
71
71
|
"react": "19.2.3",
|
|
72
72
|
"react-dom": "19.2.3",
|