@crystallize/design-system 1.11.1 → 1.11.2
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/CHANGELOG.md +6 -0
- package/dist/index.css +105 -108
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/index.css
CHANGED
|
@@ -539,43 +539,34 @@ button {
|
|
|
539
539
|
.relative {
|
|
540
540
|
position: relative;
|
|
541
541
|
}
|
|
542
|
-
.top-2 {
|
|
543
|
-
top: 0.5rem;
|
|
544
|
-
}
|
|
545
542
|
.left-2 {
|
|
546
543
|
left: 0.5rem;
|
|
547
544
|
}
|
|
545
|
+
.left-6 {
|
|
546
|
+
left: 1.5rem;
|
|
547
|
+
}
|
|
548
|
+
.right-10 {
|
|
549
|
+
right: 2.5rem;
|
|
550
|
+
}
|
|
548
551
|
.right-2 {
|
|
549
552
|
right: 0.5rem;
|
|
550
553
|
}
|
|
551
554
|
.top-0 {
|
|
552
555
|
top: 0px;
|
|
553
556
|
}
|
|
554
|
-
.
|
|
555
|
-
|
|
556
|
-
}
|
|
557
|
-
.right-10 {
|
|
558
|
-
right: 2.5rem;
|
|
557
|
+
.top-2 {
|
|
558
|
+
top: 0.5rem;
|
|
559
559
|
}
|
|
560
560
|
.z-50 {
|
|
561
561
|
z-index: 50;
|
|
562
562
|
}
|
|
563
|
-
.my-6 {
|
|
564
|
-
margin-top: 1.5rem;
|
|
565
|
-
margin-bottom: 1.5rem;
|
|
566
|
-
}
|
|
567
563
|
.mx-auto {
|
|
568
564
|
margin-left: auto;
|
|
569
565
|
margin-right: auto;
|
|
570
566
|
}
|
|
571
|
-
.
|
|
572
|
-
margin-top:
|
|
573
|
-
|
|
574
|
-
.mt-4 {
|
|
575
|
-
margin-top: 1rem;
|
|
576
|
-
}
|
|
577
|
-
.mt-2 {
|
|
578
|
-
margin-top: 0.5rem;
|
|
567
|
+
.my-6 {
|
|
568
|
+
margin-top: 1.5rem;
|
|
569
|
+
margin-bottom: 1.5rem;
|
|
579
570
|
}
|
|
580
571
|
.mb-4 {
|
|
581
572
|
margin-bottom: 1rem;
|
|
@@ -586,9 +577,18 @@ button {
|
|
|
586
577
|
.mt-1 {
|
|
587
578
|
margin-top: 0.25rem;
|
|
588
579
|
}
|
|
580
|
+
.mt-2 {
|
|
581
|
+
margin-top: 0.5rem;
|
|
582
|
+
}
|
|
589
583
|
.mt-3 {
|
|
590
584
|
margin-top: 0.75rem;
|
|
591
585
|
}
|
|
586
|
+
.mt-4 {
|
|
587
|
+
margin-top: 1rem;
|
|
588
|
+
}
|
|
589
|
+
.mt-8 {
|
|
590
|
+
margin-top: 2rem;
|
|
591
|
+
}
|
|
592
592
|
.block {
|
|
593
593
|
display: block;
|
|
594
594
|
}
|
|
@@ -598,12 +598,12 @@ button {
|
|
|
598
598
|
.inline {
|
|
599
599
|
display: inline;
|
|
600
600
|
}
|
|
601
|
-
.flex {
|
|
602
|
-
display: flex;
|
|
603
|
-
}
|
|
604
601
|
.\!flex {
|
|
605
602
|
display: flex !important;
|
|
606
603
|
}
|
|
604
|
+
.flex {
|
|
605
|
+
display: flex;
|
|
606
|
+
}
|
|
607
607
|
.table {
|
|
608
608
|
display: table;
|
|
609
609
|
}
|
|
@@ -625,48 +625,48 @@ button {
|
|
|
625
625
|
.h-24 {
|
|
626
626
|
height: 6rem;
|
|
627
627
|
}
|
|
628
|
-
.h
|
|
629
|
-
height:
|
|
628
|
+
.h-5 {
|
|
629
|
+
height: 1.25rem;
|
|
630
|
+
}
|
|
631
|
+
.h-6 {
|
|
632
|
+
height: 1.5rem;
|
|
630
633
|
}
|
|
631
634
|
.h-\[44px\] {
|
|
632
635
|
height: 44px;
|
|
633
636
|
}
|
|
637
|
+
.h-\[8px\] {
|
|
638
|
+
height: 8px;
|
|
639
|
+
}
|
|
634
640
|
.h-full {
|
|
635
641
|
height: 100%;
|
|
636
642
|
}
|
|
637
|
-
.
|
|
638
|
-
|
|
643
|
+
.w-4 {
|
|
644
|
+
width: 1rem;
|
|
639
645
|
}
|
|
640
|
-
.
|
|
641
|
-
|
|
646
|
+
.w-5 {
|
|
647
|
+
width: 1.25rem;
|
|
642
648
|
}
|
|
643
|
-
.w
|
|
644
|
-
width:
|
|
649
|
+
.w-6 {
|
|
650
|
+
width: 1.5rem;
|
|
645
651
|
}
|
|
646
652
|
.w-\[44px\] {
|
|
647
653
|
width: 44px;
|
|
648
654
|
}
|
|
655
|
+
.w-\[8px\] {
|
|
656
|
+
width: 8px;
|
|
657
|
+
}
|
|
649
658
|
.w-full {
|
|
650
659
|
width: 100%;
|
|
651
660
|
}
|
|
652
|
-
.w-6 {
|
|
653
|
-
width: 1.5rem;
|
|
654
|
-
}
|
|
655
|
-
.w-4 {
|
|
656
|
-
width: 1rem;
|
|
657
|
-
}
|
|
658
|
-
.w-5 {
|
|
659
|
-
width: 1.25rem;
|
|
660
|
-
}
|
|
661
|
-
.min-w-\[44px\] {
|
|
662
|
-
min-width: 44px;
|
|
663
|
-
}
|
|
664
661
|
.min-w-\[150px\] {
|
|
665
662
|
min-width: 150px;
|
|
666
663
|
}
|
|
667
664
|
.min-w-\[200px\] {
|
|
668
665
|
min-width: 200px;
|
|
669
666
|
}
|
|
667
|
+
.min-w-\[44px\] {
|
|
668
|
+
min-width: 44px;
|
|
669
|
+
}
|
|
670
670
|
.max-w-\[1100px\] {
|
|
671
671
|
max-width: 1100px;
|
|
672
672
|
}
|
|
@@ -688,15 +688,15 @@ button {
|
|
|
688
688
|
.resize {
|
|
689
689
|
resize: both;
|
|
690
690
|
}
|
|
691
|
-
.grid-cols-6 {
|
|
692
|
-
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
693
|
-
}
|
|
694
691
|
.grid-cols-10 {
|
|
695
692
|
grid-template-columns: repeat(10, minmax(0, 1fr));
|
|
696
693
|
}
|
|
697
694
|
.grid-cols-5 {
|
|
698
695
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
699
696
|
}
|
|
697
|
+
.grid-cols-6 {
|
|
698
|
+
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
699
|
+
}
|
|
700
700
|
.grid-cols-\[1fr_1px_1fr\] {
|
|
701
701
|
grid-template-columns: 1fr 1px 1fr;
|
|
702
702
|
}
|
|
@@ -724,31 +724,26 @@ button {
|
|
|
724
724
|
.justify-items-center {
|
|
725
725
|
justify-items: center;
|
|
726
726
|
}
|
|
727
|
-
.gap-
|
|
728
|
-
gap:
|
|
727
|
+
.gap-0 {
|
|
728
|
+
gap: 0px;
|
|
729
729
|
}
|
|
730
|
-
.gap-
|
|
731
|
-
gap:
|
|
730
|
+
.gap-0\.5 {
|
|
731
|
+
gap: 0.125rem;
|
|
732
732
|
}
|
|
733
733
|
.gap-1 {
|
|
734
734
|
gap: 0.25rem;
|
|
735
735
|
}
|
|
736
|
-
.gap-
|
|
737
|
-
gap:
|
|
736
|
+
.gap-4 {
|
|
737
|
+
gap: 1rem;
|
|
738
738
|
}
|
|
739
|
-
.gap-
|
|
740
|
-
gap:
|
|
739
|
+
.gap-6 {
|
|
740
|
+
gap: 1.5rem;
|
|
741
741
|
}
|
|
742
742
|
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
|
|
743
743
|
--tw-space-x-reverse: 0;
|
|
744
744
|
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
745
745
|
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
|
746
746
|
}
|
|
747
|
-
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
|
|
748
|
-
--tw-space-y-reverse: 0;
|
|
749
|
-
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
750
|
-
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
|
751
|
-
}
|
|
752
747
|
.space-x-6 > :not([hidden]) ~ :not([hidden]) {
|
|
753
748
|
--tw-space-x-reverse: 0;
|
|
754
749
|
margin-right: calc(1.5rem * var(--tw-space-x-reverse));
|
|
@@ -759,6 +754,11 @@ button {
|
|
|
759
754
|
margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
|
|
760
755
|
margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
|
|
761
756
|
}
|
|
757
|
+
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
|
|
758
|
+
--tw-space-y-reverse: 0;
|
|
759
|
+
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
760
|
+
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
|
761
|
+
}
|
|
762
762
|
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
|
|
763
763
|
--tw-space-y-reverse: 0;
|
|
764
764
|
margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
|
|
@@ -788,12 +788,12 @@ button {
|
|
|
788
788
|
.rounded-sm {
|
|
789
789
|
border-radius: 0.125rem;
|
|
790
790
|
}
|
|
791
|
-
.border-0 {
|
|
792
|
-
border-width: 0px;
|
|
793
|
-
}
|
|
794
791
|
.border {
|
|
795
792
|
border-width: 1px;
|
|
796
793
|
}
|
|
794
|
+
.border-0 {
|
|
795
|
+
border-width: 0px;
|
|
796
|
+
}
|
|
797
797
|
.border-b {
|
|
798
798
|
border-bottom-width: 1px;
|
|
799
799
|
}
|
|
@@ -804,37 +804,37 @@ button {
|
|
|
804
804
|
--tw-border-opacity: 1;
|
|
805
805
|
border-color: rgb(var(--c-color-gray-100-800) / var(--tw-border-opacity));
|
|
806
806
|
}
|
|
807
|
+
.\!bg-purple-50-900 {
|
|
808
|
+
--tw-bg-opacity: 1 !important;
|
|
809
|
+
background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity)) !important;
|
|
810
|
+
}
|
|
807
811
|
.bg-gray {
|
|
808
812
|
background-color: rgb(var(--c-color-gray));
|
|
809
813
|
}
|
|
810
|
-
.bg-gray-
|
|
814
|
+
.bg-gray-100-800 {
|
|
811
815
|
--tw-bg-opacity: 1;
|
|
812
|
-
background-color: rgb(var(--c-color-gray-
|
|
816
|
+
background-color: rgb(var(--c-color-gray-100-800) / var(--tw-bg-opacity));
|
|
813
817
|
}
|
|
814
|
-
.bg-
|
|
818
|
+
.bg-gray-50-900 {
|
|
815
819
|
--tw-bg-opacity: 1;
|
|
816
|
-
background-color: rgb(
|
|
820
|
+
background-color: rgb(var(--c-color-gray-50-900) / var(--tw-bg-opacity));
|
|
817
821
|
}
|
|
818
822
|
.bg-purple-50-900 {
|
|
819
823
|
--tw-bg-opacity: 1;
|
|
820
824
|
background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity));
|
|
821
825
|
}
|
|
822
|
-
|
|
823
|
-
--tw-bg-opacity: 1 !important;
|
|
824
|
-
background-color: rgb(var(--c-color-purple-50-900) / var(--tw-bg-opacity)) !important;
|
|
825
|
-
}
|
|
826
|
-
.bg-gray-100-800 {
|
|
826
|
+
.bg-white {
|
|
827
827
|
--tw-bg-opacity: 1;
|
|
828
|
-
background-color: rgb(
|
|
828
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
829
829
|
}
|
|
830
|
-
.bg-\[length\:
|
|
831
|
-
background-size:
|
|
830
|
+
.bg-\[length\:16px_16px\] {
|
|
831
|
+
background-size: 16px 16px;
|
|
832
832
|
}
|
|
833
833
|
.bg-\[length\:17px_17px\] {
|
|
834
834
|
background-size: 17px 17px;
|
|
835
835
|
}
|
|
836
|
-
.bg-\[length\:
|
|
837
|
-
background-size:
|
|
836
|
+
.bg-\[length\:18px_18px\] {
|
|
837
|
+
background-size: 18px 18px;
|
|
838
838
|
}
|
|
839
839
|
.bg-\[length\:20px_20px\] {
|
|
840
840
|
background-size: 20px 20px;
|
|
@@ -845,14 +845,18 @@ button {
|
|
|
845
845
|
.bg-no-repeat {
|
|
846
846
|
background-repeat: no-repeat;
|
|
847
847
|
}
|
|
848
|
+
.p-10 {
|
|
849
|
+
padding: 2.5rem;
|
|
850
|
+
}
|
|
848
851
|
.p-4 {
|
|
849
852
|
padding: 1rem;
|
|
850
853
|
}
|
|
851
854
|
.p-\[5px\] {
|
|
852
855
|
padding: 5px;
|
|
853
856
|
}
|
|
854
|
-
.
|
|
855
|
-
padding:
|
|
857
|
+
.px-1 {
|
|
858
|
+
padding-left: 0.25rem;
|
|
859
|
+
padding-right: 0.25rem;
|
|
856
860
|
}
|
|
857
861
|
.px-3 {
|
|
858
862
|
padding-left: 0.75rem;
|
|
@@ -862,21 +866,17 @@ button {
|
|
|
862
866
|
padding-left: 1.5rem;
|
|
863
867
|
padding-right: 1.5rem;
|
|
864
868
|
}
|
|
865
|
-
.py-
|
|
866
|
-
padding-top:
|
|
867
|
-
padding-bottom:
|
|
868
|
-
}
|
|
869
|
-
.px-1 {
|
|
870
|
-
padding-left: 0.25rem;
|
|
871
|
-
padding-right: 0.25rem;
|
|
869
|
+
.py-0 {
|
|
870
|
+
padding-top: 0px;
|
|
871
|
+
padding-bottom: 0px;
|
|
872
872
|
}
|
|
873
873
|
.py-0\.5 {
|
|
874
874
|
padding-top: 0.125rem;
|
|
875
875
|
padding-bottom: 0.125rem;
|
|
876
876
|
}
|
|
877
|
-
.py-
|
|
878
|
-
padding-top:
|
|
879
|
-
padding-bottom:
|
|
877
|
+
.py-2 {
|
|
878
|
+
padding-top: 0.5rem;
|
|
879
|
+
padding-bottom: 0.5rem;
|
|
880
880
|
}
|
|
881
881
|
.text-center {
|
|
882
882
|
text-align: center;
|
|
@@ -899,6 +899,12 @@ button {
|
|
|
899
899
|
"Segoe UI Symbol",
|
|
900
900
|
"Noto Color Emoji";
|
|
901
901
|
}
|
|
902
|
+
.text-\[10px\] {
|
|
903
|
+
font-size: 10px;
|
|
904
|
+
}
|
|
905
|
+
.text-\[14px\] {
|
|
906
|
+
font-size: 14px;
|
|
907
|
+
}
|
|
902
908
|
.text-sm {
|
|
903
909
|
font-size: 0.875rem;
|
|
904
910
|
line-height: 1.25rem;
|
|
@@ -907,21 +913,15 @@ button {
|
|
|
907
913
|
font-size: 0.75rem;
|
|
908
914
|
line-height: 1rem;
|
|
909
915
|
}
|
|
910
|
-
.text-\[14px\] {
|
|
911
|
-
font-size: 14px;
|
|
912
|
-
}
|
|
913
|
-
.text-\[10px\] {
|
|
914
|
-
font-size: 10px;
|
|
915
|
-
}
|
|
916
|
-
.font-normal {
|
|
917
|
-
font-weight: 400;
|
|
918
|
-
}
|
|
919
916
|
.font-bold {
|
|
920
917
|
font-weight: 700;
|
|
921
918
|
}
|
|
922
919
|
.font-medium {
|
|
923
920
|
font-weight: 500;
|
|
924
921
|
}
|
|
922
|
+
.font-normal {
|
|
923
|
+
font-weight: 400;
|
|
924
|
+
}
|
|
925
925
|
.italic {
|
|
926
926
|
font-style: italic;
|
|
927
927
|
}
|
|
@@ -931,10 +931,6 @@ button {
|
|
|
931
931
|
.text-gray {
|
|
932
932
|
color: rgb(var(--c-color-gray));
|
|
933
933
|
}
|
|
934
|
-
.text-gray-700-200 {
|
|
935
|
-
--tw-text-opacity: 1;
|
|
936
|
-
color: rgb(var(--c-color-gray-700-200) / var(--tw-text-opacity));
|
|
937
|
-
}
|
|
938
934
|
.text-gray-300-600 {
|
|
939
935
|
--tw-text-opacity: 1;
|
|
940
936
|
color: rgb(var(--c-color-gray-300-600) / var(--tw-text-opacity));
|
|
@@ -943,6 +939,10 @@ button {
|
|
|
943
939
|
--tw-text-opacity: 1;
|
|
944
940
|
color: rgb(var(--c-color-gray-600-300) / var(--tw-text-opacity));
|
|
945
941
|
}
|
|
942
|
+
.text-gray-700-200 {
|
|
943
|
+
--tw-text-opacity: 1;
|
|
944
|
+
color: rgb(var(--c-color-gray-700-200) / var(--tw-text-opacity));
|
|
945
|
+
}
|
|
946
946
|
.text-pink-600-300 {
|
|
947
947
|
--tw-text-opacity: 1;
|
|
948
948
|
color: rgb(var(--c-color-pink-600-300) / var(--tw-text-opacity));
|
|
@@ -953,12 +953,12 @@ button {
|
|
|
953
953
|
.opacity-100 {
|
|
954
954
|
opacity: 1;
|
|
955
955
|
}
|
|
956
|
-
.opacity-60 {
|
|
957
|
-
opacity: 0.6;
|
|
958
|
-
}
|
|
959
956
|
.opacity-30 {
|
|
960
957
|
opacity: 0.3;
|
|
961
958
|
}
|
|
959
|
+
.opacity-60 {
|
|
960
|
+
opacity: 0.6;
|
|
961
|
+
}
|
|
962
962
|
.opacity-80 {
|
|
963
963
|
opacity: 0.8;
|
|
964
964
|
}
|
|
@@ -1532,10 +1532,7 @@ button {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
.c-dialog-overlay {
|
|
1534
1534
|
position: fixed;
|
|
1535
|
-
|
|
1536
|
-
right: 0px;
|
|
1537
|
-
bottom: 0px;
|
|
1538
|
-
left: 0px;
|
|
1535
|
+
inset: 0px;
|
|
1539
1536
|
z-index: 10;
|
|
1540
1537
|
background-color: rgb(var(--c-color-overlay) / 0.3);
|
|
1541
1538
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystallize/design-system",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.2",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
"storybook": "7.0.0-beta.14",
|
|
86
86
|
"storybook-addon-designs": "^6.3.1",
|
|
87
87
|
"storybook-dark-mode": "^2.0.5",
|
|
88
|
-
"tailwindcss": "^3.
|
|
89
|
-
"tsconfig": "0.0.0",
|
|
88
|
+
"tailwindcss": "^3.3.0",
|
|
90
89
|
"tsup": "^6.5.0",
|
|
91
90
|
"typescript": "^4.9.4",
|
|
92
91
|
"vite": "^4.1.1",
|
|
93
|
-
"vitest": "^0.29.1"
|
|
92
|
+
"vitest": "^0.29.1",
|
|
93
|
+
"tsconfig": "0.0.0"
|
|
94
94
|
},
|
|
95
95
|
"keywords": [
|
|
96
96
|
"react",
|