qt-ui-kit 1.0.112 → 1.0.114

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/style.css CHANGED
@@ -5,6 +5,8 @@
5
5
  :root, :host {
6
6
  --font-sans: var(--font-geist-sans);
7
7
  --font-mono: var(--font-geist-mono);
8
+ --color-green-100: oklch(96.2% 0.044 156.743);
9
+ --color-green-700: oklch(52.7% 0.154 150.069);
8
10
  --color-indigo-600: oklch(51.1% 0.262 276.966);
9
11
  --color-gray-100: oklch(96.7% 0.003 264.542);
10
12
  --color-gray-200: oklch(92.8% 0.006 264.531);
@@ -16,6 +18,8 @@
16
18
  --color-black: #000;
17
19
  --color-white: #fff;
18
20
  --spacing: 0.25rem;
21
+ --container-md: 28rem;
22
+ --container-4xl: 56rem;
19
23
  --text-xs: 0.75rem;
20
24
  --text-xs--line-height: calc(1 / 0.75);
21
25
  --text-sm: 0.875rem;
@@ -29,6 +33,8 @@
29
33
  --radius-xl: 0.75rem;
30
34
  --radius-2xl: 1rem;
31
35
  --radius-3xl: 1.5rem;
36
+ --default-transition-duration: 150ms;
37
+ --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
32
38
  --default-font-family: var(--font-sans);
33
39
  --default-mono-font-family: var(--font-mono);
34
40
  --color-neutral-1: #1D1D1F;
@@ -46,11 +52,14 @@
46
52
  --color-qtpurple-500: #6558FD;
47
53
  --color-qtpurple-600: #4F3ED0;
48
54
  --color-qtpurple-800: #4D4273;
55
+ --color-qtgreen-500: #CEFF1A;
49
56
  --color-qtgreen-300: #D2F8B6;
50
57
  --color-qtgreen-200: #E8FE99;
51
58
  --color-qtgreen-50: #F1FEE8;
59
+ --color-qtred-500: #FF4B33;
52
60
  --color-qtred-400: #FF8578;
53
61
  --color-qtred-50: #FFECEA;
62
+ --color-qtorange-400: #FFC24D;
54
63
  --color-qtorange-300: #FFD991;
55
64
  --color-qtorange-50: #FFF5E1;
56
65
  }
@@ -214,12 +223,21 @@
214
223
  }
215
224
  }
216
225
  @layer utilities {
226
+ .pointer-events-none {
227
+ pointer-events: none;
228
+ }
217
229
  .absolute {
218
230
  position: absolute;
219
231
  }
232
+ .fixed {
233
+ position: fixed;
234
+ }
220
235
  .relative {
221
236
  position: relative;
222
237
  }
238
+ .inset-0 {
239
+ inset: calc(var(--spacing) * 0);
240
+ }
223
241
  .-top-2 {
224
242
  top: calc(var(--spacing) * -2);
225
243
  }
@@ -229,12 +247,18 @@
229
247
  .top-1\/2 {
230
248
  top: calc(1/2 * 100%);
231
249
  }
250
+ .top-\[2px\] {
251
+ top: 2px;
252
+ }
232
253
  .top-\[140\%\] {
233
254
  top: 140%;
234
255
  }
235
256
  .right-\[-6px\] {
236
257
  right: -6px;
237
258
  }
259
+ .right-\[-7px\] {
260
+ right: -7px;
261
+ }
238
262
  .right-\[56\%\] {
239
263
  right: 56%;
240
264
  }
@@ -256,12 +280,21 @@
256
280
  .z-10 {
257
281
  z-index: 10;
258
282
  }
283
+ .z-50 {
284
+ z-index: 50;
285
+ }
286
+ .z-999 {
287
+ z-index: 999;
288
+ }
259
289
  .col-span-2 {
260
290
  grid-column: span 2 / span 2;
261
291
  }
262
292
  .m-1 {
263
293
  margin: calc(var(--spacing) * 1);
264
294
  }
295
+ .mx-4 {
296
+ margin-inline: calc(var(--spacing) * 4);
297
+ }
265
298
  .mt-2 {
266
299
  margin-top: calc(var(--spacing) * 2);
267
300
  }
@@ -298,15 +331,24 @@
298
331
  -webkit-box-orient: horizontal;
299
332
  -webkit-line-clamp: unset;
300
333
  }
334
+ .block {
335
+ display: block;
336
+ }
301
337
  .flex {
302
338
  display: flex;
303
339
  }
304
340
  .grid {
305
341
  display: grid;
306
342
  }
343
+ .hidden {
344
+ display: none;
345
+ }
307
346
  .inline-block {
308
347
  display: inline-block;
309
348
  }
349
+ .table {
350
+ display: table;
351
+ }
310
352
  .h-3\.5 {
311
353
  height: calc(var(--spacing) * 3.5);
312
354
  }
@@ -403,15 +445,27 @@
403
445
  width: -moz-min-content;
404
446
  width: min-content;
405
447
  }
448
+ .max-w-4xl {
449
+ max-width: var(--container-4xl);
450
+ }
451
+ .max-w-\[480px\] {
452
+ max-width: 480px;
453
+ }
406
454
  .max-w-\[765px\] {
407
455
  max-width: 765px;
408
456
  }
409
457
  .max-w-full {
410
458
  max-width: 100%;
411
459
  }
460
+ .max-w-md {
461
+ max-width: var(--container-md);
462
+ }
412
463
  .min-w-\[40px\] {
413
464
  min-width: 40px;
414
465
  }
466
+ .min-w-\[58px\] {
467
+ min-width: 58px;
468
+ }
415
469
  .flex-1 {
416
470
  flex: 1;
417
471
  }
@@ -424,6 +478,9 @@
424
478
  .grow {
425
479
  flex-grow: 1;
426
480
  }
481
+ .border-collapse {
482
+ border-collapse: collapse;
483
+ }
427
484
  .-translate-x-1\/2 {
428
485
  --tw-translate-x: calc(calc(1/2 * 100%) * -1);
429
486
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -442,9 +499,18 @@
442
499
  .transform {
443
500
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
444
501
  }
502
+ .cursor-not-allowed {
503
+ cursor: not-allowed;
504
+ }
445
505
  .cursor-pointer {
446
506
  cursor: pointer;
447
507
  }
508
+ .list-inside {
509
+ list-style-position: inside;
510
+ }
511
+ .list-disc {
512
+ list-style-type: disc;
513
+ }
448
514
  .grid-cols-1 {
449
515
  grid-template-columns: repeat(1, minmax(0, 1fr));
450
516
  }
@@ -496,15 +562,36 @@
496
562
  .items-center {
497
563
  align-items: center;
498
564
  }
565
+ .justify-between {
566
+ justify-content: space-between;
567
+ }
568
+ .justify-center {
569
+ justify-content: center;
570
+ }
571
+ .justify-end {
572
+ justify-content: flex-end;
573
+ }
574
+ .gap-0 {
575
+ gap: calc(var(--spacing) * 0);
576
+ }
499
577
  .gap-0\.5 {
500
578
  gap: calc(var(--spacing) * 0.5);
501
579
  }
502
580
  .gap-1 {
503
581
  gap: calc(var(--spacing) * 1);
504
582
  }
583
+ .gap-1\.5 {
584
+ gap: calc(var(--spacing) * 1.5);
585
+ }
505
586
  .gap-2 {
506
587
  gap: calc(var(--spacing) * 2);
507
588
  }
589
+ .gap-2\.5 {
590
+ gap: calc(var(--spacing) * 2.5);
591
+ }
592
+ .gap-3 {
593
+ gap: calc(var(--spacing) * 3);
594
+ }
508
595
  .gap-4 {
509
596
  gap: calc(var(--spacing) * 4);
510
597
  }
@@ -520,6 +607,13 @@
520
607
  .gap-\[40px\] {
521
608
  gap: 40px;
522
609
  }
610
+ .space-y-1 {
611
+ :where(& > :not(:last-child)) {
612
+ --tw-space-y-reverse: 0;
613
+ margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
614
+ margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
615
+ }
616
+ }
523
617
  .space-y-2 {
524
618
  :where(& > :not(:last-child)) {
525
619
  --tw-space-y-reverse: 0;
@@ -534,8 +628,8 @@
534
628
  margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
535
629
  }
536
630
  }
537
- .overflow-auto {
538
- overflow: auto;
631
+ .overflow-x-hidden {
632
+ overflow-x: hidden;
539
633
  }
540
634
  .overflow-y-auto {
541
635
  overflow-y: auto;
@@ -543,6 +637,9 @@
543
637
  .overscroll-contain {
544
638
  overscroll-behavior: contain;
545
639
  }
640
+ .rounded {
641
+ border-radius: 0.25rem;
642
+ }
546
643
  .rounded-2xl {
547
644
  border-radius: var(--radius-2xl);
548
645
  }
@@ -618,6 +715,10 @@
618
715
  border-bottom-style: var(--tw-border-style);
619
716
  border-bottom-width: 2px;
620
717
  }
718
+ .border-none {
719
+ --tw-border-style: none;
720
+ border-style: none;
721
+ }
621
722
  .border-solid {
622
723
  --tw-border-style: solid;
623
724
  border-style: solid;
@@ -628,6 +729,9 @@
628
729
  .border-gray-200 {
629
730
  border-color: var(--color-gray-200);
630
731
  }
732
+ .border-green-700 {
733
+ border-color: var(--color-green-700);
734
+ }
631
735
  .border-neutral-6 {
632
736
  border-color: var(--color-neutral-6);
633
737
  }
@@ -661,12 +765,21 @@
661
765
  .border-transparent {
662
766
  border-color: transparent;
663
767
  }
768
+ .border-white {
769
+ border-color: var(--color-white);
770
+ }
771
+ .bg-\[\#545454\] {
772
+ background-color: #545454;
773
+ }
664
774
  .bg-black {
665
775
  background-color: var(--color-black);
666
776
  }
667
777
  .bg-gray-100 {
668
778
  background-color: var(--color-gray-100);
669
779
  }
780
+ .bg-green-100 {
781
+ background-color: var(--color-green-100);
782
+ }
670
783
  .bg-qtgreen-50 {
671
784
  background-color: var(--color-qtgreen-50);
672
785
  }
@@ -682,12 +795,24 @@
682
795
  .bg-qtneutral-300 {
683
796
  background-color: var(--color-qtneutral-300);
684
797
  }
798
+ .bg-qtneutral-400 {
799
+ background-color: var(--color-qtneutral-400);
800
+ }
685
801
  .bg-qtneutral-500 {
686
802
  background-color: var(--color-qtneutral-500);
687
803
  }
804
+ .bg-qtneutral-900\/50 {
805
+ background-color: color-mix(in srgb, #1D1D1F 50%, transparent);
806
+ @supports (color: color-mix(in lab, red, red)) {
807
+ background-color: color-mix(in oklab, var(--color-qtneutral-900) 50%, transparent);
808
+ }
809
+ }
688
810
  .bg-qtorange-50 {
689
811
  background-color: var(--color-qtorange-50);
690
812
  }
813
+ .bg-qtorange-400 {
814
+ background-color: var(--color-qtorange-400);
815
+ }
691
816
  .bg-qtpurple-200 {
692
817
  background-color: var(--color-qtpurple-200);
693
818
  }
@@ -703,6 +828,9 @@
703
828
  .bg-qtred-50 {
704
829
  background-color: var(--color-qtred-50);
705
830
  }
831
+ .bg-qtred-500 {
832
+ background-color: var(--color-qtred-500);
833
+ }
706
834
  .bg-transparent {
707
835
  background-color: transparent;
708
836
  }
@@ -712,9 +840,21 @@
712
840
  .p-0 {
713
841
  padding: calc(var(--spacing) * 0);
714
842
  }
843
+ .p-2 {
844
+ padding: calc(var(--spacing) * 2);
845
+ }
846
+ .p-3 {
847
+ padding: calc(var(--spacing) * 3);
848
+ }
715
849
  .p-4 {
716
850
  padding: calc(var(--spacing) * 4);
717
851
  }
852
+ .p-6 {
853
+ padding: calc(var(--spacing) * 6);
854
+ }
855
+ .p-\[0\] {
856
+ padding: 0;
857
+ }
718
858
  .p-\[45px\] {
719
859
  padding: 45px;
720
860
  }
@@ -727,6 +867,12 @@
727
867
  .px-4 {
728
868
  padding-inline: calc(var(--spacing) * 4);
729
869
  }
870
+ .px-6 {
871
+ padding-inline: calc(var(--spacing) * 6);
872
+ }
873
+ .px-8 {
874
+ padding-inline: calc(var(--spacing) * 8);
875
+ }
730
876
  .py-0\.5 {
731
877
  padding-block: calc(var(--spacing) * 0.5);
732
878
  }
@@ -736,6 +882,9 @@
736
882
  .py-2 {
737
883
  padding-block: calc(var(--spacing) * 2);
738
884
  }
885
+ .py-2\.5 {
886
+ padding-block: calc(var(--spacing) * 2.5);
887
+ }
739
888
  .py-3 {
740
889
  padding-block: calc(var(--spacing) * 3);
741
890
  }
@@ -748,12 +897,21 @@
748
897
  .pt-2 {
749
898
  padding-top: calc(var(--spacing) * 2);
750
899
  }
900
+ .pt-6 {
901
+ padding-top: calc(var(--spacing) * 6);
902
+ }
903
+ .pt-\[15px\] {
904
+ padding-top: 15px;
905
+ }
751
906
  .pr-2 {
752
907
  padding-right: calc(var(--spacing) * 2);
753
908
  }
754
909
  .pr-8 {
755
910
  padding-right: calc(var(--spacing) * 8);
756
911
  }
912
+ .pb-6 {
913
+ padding-bottom: calc(var(--spacing) * 6);
914
+ }
757
915
  .pl-1 {
758
916
  padding-left: calc(var(--spacing) * 1);
759
917
  }
@@ -777,9 +935,16 @@
777
935
  .text-\[0\.7rem\] {
778
936
  font-size: 0.7rem;
779
937
  }
938
+ .text-\[8px\] {
939
+ font-size: 8px;
940
+ }
780
941
  .text-\[9px\] {
781
942
  font-size: 9px;
782
943
  }
944
+ .leading-none {
945
+ --tw-leading: 1;
946
+ line-height: 1;
947
+ }
783
948
  .font-bold {
784
949
  --tw-font-weight: var(--font-weight-bold);
785
950
  font-weight: var(--font-weight-bold);
@@ -826,6 +991,9 @@
826
991
  .text-neutral-900 {
827
992
  color: var(--color-neutral-900);
828
993
  }
994
+ .text-qtgreen-500 {
995
+ color: var(--color-qtgreen-500);
996
+ }
829
997
  .text-qtneutral-200 {
830
998
  color: var(--color-qtneutral-200);
831
999
  }
@@ -841,15 +1009,27 @@
841
1009
  .text-qtneutral-900 {
842
1010
  color: var(--color-qtneutral-900);
843
1011
  }
1012
+ .text-qtorange-400 {
1013
+ color: var(--color-qtorange-400);
1014
+ }
844
1015
  .text-qtpurple-500 {
845
1016
  color: var(--color-qtpurple-500);
846
1017
  }
847
1018
  .text-qtpurple-600 {
848
1019
  color: var(--color-qtpurple-600);
849
1020
  }
1021
+ .text-qtred-500 {
1022
+ color: var(--color-qtred-500);
1023
+ }
850
1024
  .text-white {
851
1025
  color: var(--color-white);
852
1026
  }
1027
+ .underline {
1028
+ text-decoration-line: underline;
1029
+ }
1030
+ .opacity-50 {
1031
+ opacity: 50%;
1032
+ }
853
1033
  .shadow-lg {
854
1034
  --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
855
1035
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -862,6 +1042,16 @@
862
1042
  --tw-grayscale: grayscale(100%);
863
1043
  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,);
864
1044
  }
1045
+ .transition-colors {
1046
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
1047
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1048
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
1049
+ }
1050
+ .transition-opacity {
1051
+ transition-property: opacity;
1052
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1053
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
1054
+ }
865
1055
  .outline-none {
866
1056
  --tw-outline-style: none;
867
1057
  outline-style: none;
@@ -871,9 +1061,6 @@
871
1061
  -moz-user-select: none;
872
1062
  user-select: none;
873
1063
  }
874
- .\[scrollbar-gutter\:stable\] {
875
- scrollbar-gutter: stable;
876
- }
877
1064
  .placeholder\:text-gray-400 {
878
1065
  &::-moz-placeholder {
879
1066
  color: var(--color-gray-400);
@@ -918,6 +1105,41 @@
918
1105
  }
919
1106
  }
920
1107
  }
1108
+ .hover\:bg-qtneutral-500 {
1109
+ &:hover {
1110
+ @media (hover: hover) {
1111
+ background-color: var(--color-qtneutral-500);
1112
+ }
1113
+ }
1114
+ }
1115
+ .hover\:bg-qtorange-300 {
1116
+ &:hover {
1117
+ @media (hover: hover) {
1118
+ background-color: var(--color-qtorange-300);
1119
+ }
1120
+ }
1121
+ }
1122
+ .hover\:bg-qtpurple-200 {
1123
+ &:hover {
1124
+ @media (hover: hover) {
1125
+ background-color: var(--color-qtpurple-200);
1126
+ }
1127
+ }
1128
+ }
1129
+ .hover\:bg-qtpurple-600 {
1130
+ &:hover {
1131
+ @media (hover: hover) {
1132
+ background-color: var(--color-qtpurple-600);
1133
+ }
1134
+ }
1135
+ }
1136
+ .hover\:bg-qtred-400 {
1137
+ &:hover {
1138
+ @media (hover: hover) {
1139
+ background-color: var(--color-qtred-400);
1140
+ }
1141
+ }
1142
+ }
921
1143
  .hover\:bg-white {
922
1144
  &:hover {
923
1145
  @media (hover: hover) {
@@ -932,6 +1154,13 @@
932
1154
  }
933
1155
  }
934
1156
  }
1157
+ .hover\:text-qtred-400 {
1158
+ &:hover {
1159
+ @media (hover: hover) {
1160
+ color: var(--color-qtred-400);
1161
+ }
1162
+ }
1163
+ }
935
1164
  .hover\:grayscale-0 {
936
1165
  &:hover {
937
1166
  @media (hover: hover) {
@@ -940,6 +1169,11 @@
940
1169
  }
941
1170
  }
942
1171
  }
1172
+ .md\:grid-cols-2 {
1173
+ @media (width >= 48rem) {
1174
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1175
+ }
1176
+ }
943
1177
  }
944
1178
  @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&family=Inter:wght@400;500;700&display=swap');
945
1179
  :root {
@@ -1077,6 +1311,33 @@
1077
1311
  .checkbox-inset {
1078
1312
  box-shadow: 4px 4px 2px 0px rgba(0, 0, 0, 0.15) inset;
1079
1313
  }
1314
+ .modal-shadow {
1315
+ box-shadow: 8px 8px 16px 0px rgba(29, 29, 31, 0.25);
1316
+ }
1317
+ @keyframes fadeIn {
1318
+ from {
1319
+ opacity: 0;
1320
+ }
1321
+ to {
1322
+ opacity: 1;
1323
+ }
1324
+ }
1325
+ @keyframes modalScale {
1326
+ from {
1327
+ opacity: 0;
1328
+ transform: scale(0.95);
1329
+ }
1330
+ to {
1331
+ opacity: 1;
1332
+ transform: scale(1);
1333
+ }
1334
+ }
1335
+ .animate-fade-in {
1336
+ animation: fadeIn 0.2s ease-out;
1337
+ }
1338
+ .animate-modal-scale {
1339
+ animation: modalScale 0.2s ease-out;
1340
+ }
1080
1341
  .preview-card-shadow:hover {
1081
1342
  box-shadow: 8px 8px 8px 0px rgba(29, 29, 31, 0.15);
1082
1343
  }
@@ -1152,6 +1413,10 @@
1152
1413
  inherits: false;
1153
1414
  initial-value: solid;
1154
1415
  }
1416
+ @property --tw-leading {
1417
+ syntax: "*";
1418
+ inherits: false;
1419
+ }
1155
1420
  @property --tw-font-weight {
1156
1421
  syntax: "*";
1157
1422
  inherits: false;
@@ -1291,6 +1556,7 @@
1291
1556
  --tw-skew-y: initial;
1292
1557
  --tw-space-y-reverse: 0;
1293
1558
  --tw-border-style: solid;
1559
+ --tw-leading: initial;
1294
1560
  --tw-font-weight: initial;
1295
1561
  --tw-tracking: initial;
1296
1562
  --tw-shadow: 0 0 #0000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qt-ui-kit",
3
- "version": "1.0.112",
3
+ "version": "1.0.114",
4
4
  "description": "Reusable component library with Tailwind v4 and custom CSS",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -17,22 +17,25 @@
17
17
  ],
18
18
  "scripts": {
19
19
  "dev": "npx ladle serve",
20
+ "watch": "tsup --watch --onSuccess \"npm run build:css\"",
20
21
  "build:css": "postcss src/index.css -o dist/style.css",
21
- "build": "tsup",
22
+ "build": "tsup && npm run build:css",
22
23
  "prepublishOnly": "npm run build && npm run build:css",
23
24
  "test": "echo \"Error: no test specified\" && exit 1"
24
25
  },
25
26
  "keywords": [],
26
27
  "author": "",
27
28
  "license": "ISC",
29
+ "peerDependencies": {
30
+ "react": "^19.0.0",
31
+ "react-dom": "^19.0.0"
32
+ },
28
33
  "dependencies": {
29
34
  "@tailwindcss/line-clamp": "^0.4.4",
30
35
  "@tailwindcss/postcss": "^4.1.4",
31
36
  "@tailwindcss/typography": "^0.5.16",
32
37
  "clsx": "^2.1.1",
33
38
  "dompurify": "^3.2.6",
34
- "react": "^19.1.0",
35
- "react-dom": "^19.1.0",
36
39
  "react-markdown": "^10.1.0",
37
40
  "rehype-raw": "^7.0.0",
38
41
  "remark-gfm": "^4.0.1",
@@ -43,6 +46,7 @@
43
46
  "@tailwindcss/forms": "^0.5.10",
44
47
  "@types/node": "^22.14.1",
45
48
  "@types/react": "^19.1.2",
49
+ "@types/react-dom": "^19.2.2",
46
50
  "autoprefixer": "^10.4.21",
47
51
  "date-fns": "^4.1.0",
48
52
  "emoji-dictionary": "^1.0.12",