@machinerd/js-module 0.7.0 → 0.8.1
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/common-Bn0Ko6B7.cjs +1 -0
- package/dist/common-Df03Ovdm.mjs +1 -0
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks-CUj2xuzU.cjs +1 -0
- package/dist/hooks-gbU5dqVF.mjs +1 -0
- package/dist/{index-4pIelCz_.d.cts → index-DiRj3rRA.d.cts} +3 -3
- package/dist/providers/index.d.cts +2 -2
- package/dist/{skeleton-6QtpIO7l.mjs → skeleton-B6_oBhkl.mjs} +1 -1
- package/dist/{skeleton-DBha34Cx.cjs → skeleton-DtV9S1QK.cjs} +1 -1
- package/dist/styles/index.css +175 -347
- package/dist/ui/carousel/index.cjs +1 -1
- package/dist/ui/carousel/index.d.cts +9 -9
- package/dist/ui/carousel/index.d.mts +9 -9
- package/dist/ui/carousel/index.mjs +1 -1
- package/dist/ui/dialog/index.cjs +1 -1
- package/dist/ui/dialog/index.d.cts +3 -3
- package/dist/ui/dialog/index.d.mts +1 -1
- package/dist/ui/dialog/index.mjs +1 -1
- package/dist/ui/image/index.cjs +1 -1
- package/dist/ui/image/index.d.cts +8 -8
- package/dist/ui/image/index.d.mts +2 -2
- package/dist/ui/image/index.mjs +1 -1
- package/dist/ui/index.cjs +1 -1
- package/dist/ui/index.d.cts +12 -12
- package/dist/ui/index.d.mts +20 -20
- package/dist/ui/index.mjs +1 -1
- package/dist/ui/sheet/index.cjs +1 -1
- package/dist/ui/sheet/index.d.cts +2 -2
- package/dist/ui/sheet/index.mjs +1 -1
- package/dist/ui/tooltip/index.cjs +1 -1
- package/dist/ui/tooltip/index.d.cts +2 -2
- package/dist/ui/tooltip/index.mjs +1 -1
- package/dist/{use-subset-image-DvV5Mlkc.mjs → use-subset-image-D8ssrZhj.mjs} +1 -1
- package/dist/{use-subset-image-DhX5WmYG.cjs → use-subset-image-DC86cg6O.cjs} +1 -1
- package/dist/util/common.cjs +1 -1
- package/dist/util/common.mjs +1 -1
- package/package.json +50 -6
- package/dist/common-CQWUs1nE.cjs +0 -1
- package/dist/common-DbEp6YNc.mjs +0 -1
- package/dist/hooks--O5RcEJq.cjs +0 -1
- package/dist/hooks-C9rXWkfW.mjs +0 -1
package/dist/styles/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.3.
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer theme {
|
|
@@ -92,28 +92,28 @@
|
|
|
92
92
|
position: sticky;
|
|
93
93
|
}
|
|
94
94
|
.komc\:inset-0 {
|
|
95
|
-
inset:
|
|
95
|
+
inset: 0px;
|
|
96
96
|
}
|
|
97
97
|
.komc\:top-0 {
|
|
98
|
-
top:
|
|
98
|
+
top: 0px;
|
|
99
99
|
}
|
|
100
100
|
.komc\:top-full {
|
|
101
101
|
top: 100%;
|
|
102
102
|
}
|
|
103
103
|
.komc\:right-0 {
|
|
104
|
-
right:
|
|
104
|
+
right: 0px;
|
|
105
105
|
}
|
|
106
106
|
.komc\:right-5 {
|
|
107
107
|
right: calc(var(--komc-spacing) * 5);
|
|
108
108
|
}
|
|
109
109
|
.komc\:bottom-0 {
|
|
110
|
-
bottom:
|
|
110
|
+
bottom: 0px;
|
|
111
111
|
}
|
|
112
112
|
.komc\:bottom-full {
|
|
113
113
|
bottom: 100%;
|
|
114
114
|
}
|
|
115
115
|
.komc\:left-0 {
|
|
116
|
-
left:
|
|
116
|
+
left: 0px;
|
|
117
117
|
}
|
|
118
118
|
.komc\:left-1\/2 {
|
|
119
119
|
left: calc(1 / 2 * 100%);
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
max-height: 100%;
|
|
243
243
|
}
|
|
244
244
|
.komc\:min-h-0 {
|
|
245
|
-
min-height:
|
|
245
|
+
min-height: 0px;
|
|
246
246
|
}
|
|
247
247
|
.komc\:min-h-15 {
|
|
248
248
|
min-height: calc(var(--komc-spacing) * 15);
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
max-width: var(--komc-container-xl);
|
|
318
318
|
}
|
|
319
319
|
.komc\:min-w-0 {
|
|
320
|
-
min-width:
|
|
320
|
+
min-width: 0px;
|
|
321
321
|
}
|
|
322
322
|
.komc\:min-w-\[320px\] {
|
|
323
323
|
min-width: 320px;
|
|
@@ -408,10 +408,10 @@
|
|
|
408
408
|
justify-items: center;
|
|
409
409
|
}
|
|
410
410
|
.komc\:gap-0 {
|
|
411
|
-
gap:
|
|
411
|
+
gap: 0px;
|
|
412
412
|
}
|
|
413
413
|
.komc\:gap-1 {
|
|
414
|
-
gap:
|
|
414
|
+
gap: var(--komc-spacing);
|
|
415
415
|
}
|
|
416
416
|
.komc\:gap-2 {
|
|
417
417
|
gap: calc(var(--komc-spacing) * 2);
|
|
@@ -428,12 +428,10 @@
|
|
|
428
428
|
.komc\:gap-6 {
|
|
429
429
|
gap: calc(var(--komc-spacing) * 6);
|
|
430
430
|
}
|
|
431
|
-
.komc\:space-y-3 {
|
|
432
|
-
:
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
margin-block-end: calc(calc(var(--komc-spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
|
|
436
|
-
}
|
|
431
|
+
:where(.komc\:space-y-3 > :not(:last-child)) {
|
|
432
|
+
--tw-space-y-reverse: 0;
|
|
433
|
+
margin-block-start: calc(calc(var(--komc-spacing) * 3) * var(--tw-space-y-reverse));
|
|
434
|
+
margin-block-end: calc(calc(var(--komc-spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
|
|
437
435
|
}
|
|
438
436
|
.komc\:gap-x-2 {
|
|
439
437
|
column-gap: calc(var(--komc-spacing) * 2);
|
|
@@ -596,10 +594,10 @@
|
|
|
596
594
|
background-color: var(--komc-color-white);
|
|
597
595
|
}
|
|
598
596
|
.komc\:p-0 {
|
|
599
|
-
padding:
|
|
597
|
+
padding: 0px;
|
|
600
598
|
}
|
|
601
599
|
.komc\:p-1 {
|
|
602
|
-
padding:
|
|
600
|
+
padding: var(--komc-spacing);
|
|
603
601
|
}
|
|
604
602
|
.komc\:p-2 {
|
|
605
603
|
padding: calc(var(--komc-spacing) * 2);
|
|
@@ -617,13 +615,13 @@
|
|
|
617
615
|
padding: calc(var(--komc-spacing) * 10);
|
|
618
616
|
}
|
|
619
617
|
.komc\:px-0 {
|
|
620
|
-
padding-inline:
|
|
618
|
+
padding-inline: 0px;
|
|
621
619
|
}
|
|
622
620
|
.komc\:px-0\.5 {
|
|
623
621
|
padding-inline: calc(var(--komc-spacing) * 0.5);
|
|
624
622
|
}
|
|
625
623
|
.komc\:px-1 {
|
|
626
|
-
padding-inline:
|
|
624
|
+
padding-inline: var(--komc-spacing);
|
|
627
625
|
}
|
|
628
626
|
.komc\:px-1\.5 {
|
|
629
627
|
padding-inline: calc(var(--komc-spacing) * 1.5);
|
|
@@ -644,7 +642,7 @@
|
|
|
644
642
|
padding-inline: calc(var(--komc-spacing) * 6);
|
|
645
643
|
}
|
|
646
644
|
.komc\:py-1 {
|
|
647
|
-
padding-block:
|
|
645
|
+
padding-block: var(--komc-spacing);
|
|
648
646
|
}
|
|
649
647
|
.komc\:py-2 {
|
|
650
648
|
padding-block: calc(var(--komc-spacing) * 2);
|
|
@@ -837,398 +835,228 @@
|
|
|
837
835
|
--tw-outline-style: none;
|
|
838
836
|
outline-style: none;
|
|
839
837
|
}
|
|
840
|
-
.komc\:after\:pointer-events-none {
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
pointer-events: none;
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
.komc\:after\:invisible {
|
|
847
|
-
&::after {
|
|
848
|
-
content: var(--tw-content);
|
|
849
|
-
visibility: hidden;
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
.komc\:after\:h-0 {
|
|
853
|
-
&::after {
|
|
854
|
-
content: var(--tw-content);
|
|
855
|
-
height: calc(var(--komc-spacing) * 0);
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
.komc\:after\:overflow-hidden {
|
|
859
|
-
&::after {
|
|
860
|
-
content: var(--tw-content);
|
|
861
|
-
overflow: hidden;
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
.komc\:after\:font-bold {
|
|
865
|
-
&::after {
|
|
866
|
-
content: var(--tw-content);
|
|
867
|
-
--tw-font-weight: var(--komc-font-weight-bold);
|
|
868
|
-
font-weight: var(--komc-font-weight-bold);
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
.komc\:after\:content-\[attr\(data-text\)\] {
|
|
872
|
-
&::after {
|
|
873
|
-
--tw-content: attr(data-text);
|
|
874
|
-
content: var(--tw-content);
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
.komc\:after\:select-none {
|
|
878
|
-
&::after {
|
|
879
|
-
content: var(--tw-content);
|
|
880
|
-
-webkit-user-select: none;
|
|
881
|
-
user-select: none;
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
.komc\:hover\:border-transparent {
|
|
885
|
-
&:hover {
|
|
886
|
-
@media (hover: hover) {
|
|
887
|
-
border-color: transparent;
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
.komc\:hover\:bg-\[rgb\(76\,76\,77\)\] {
|
|
892
|
-
&:hover {
|
|
893
|
-
@media (hover: hover) {
|
|
894
|
-
background-color: rgb(76,76,77);
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
.komc\:hover\:bg-\[rgb\(199\,199\,199\)\] {
|
|
899
|
-
&:hover {
|
|
900
|
-
@media (hover: hover) {
|
|
901
|
-
background-color: rgb(199,199,199);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
.komc\:hover\:bg-blue-500 {
|
|
906
|
-
&:hover {
|
|
907
|
-
@media (hover: hover) {
|
|
908
|
-
background-color: var(--komc-color-blue-500);
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
.komc\:hover\:bg-gray-200 {
|
|
913
|
-
&:hover {
|
|
914
|
-
@media (hover: hover) {
|
|
915
|
-
background-color: var(--komc-color-gray-200);
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
.komc\:hover\:bg-indigo-700 {
|
|
920
|
-
&:hover {
|
|
921
|
-
@media (hover: hover) {
|
|
922
|
-
background-color: var(--komc-color-indigo-700);
|
|
923
|
-
}
|
|
924
|
-
}
|
|
838
|
+
.komc\:after\:pointer-events-none::after {
|
|
839
|
+
content: var(--tw-content);
|
|
840
|
+
pointer-events: none;
|
|
925
841
|
}
|
|
926
|
-
.komc\:
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
background-color: var(--komc-color-night-700);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
.komc\:hover\:bg-night-800 {
|
|
934
|
-
&:hover {
|
|
935
|
-
@media (hover: hover) {
|
|
936
|
-
background-color: var(--komc-color-night-800);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
.komc\:hover\:bg-sky-450 {
|
|
941
|
-
&:hover {
|
|
942
|
-
@media (hover: hover) {
|
|
943
|
-
background-color: var(--komc-color-sky-450);
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
.komc\:hover\:bg-sky-650 {
|
|
948
|
-
&:hover {
|
|
949
|
-
@media (hover: hover) {
|
|
950
|
-
background-color: var(--komc-color-sky-650);
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
.komc\:hover\:bg-sky-750 {
|
|
955
|
-
&:hover {
|
|
956
|
-
@media (hover: hover) {
|
|
957
|
-
background-color: var(--komc-color-sky-750);
|
|
958
|
-
}
|
|
959
|
-
}
|
|
842
|
+
.komc\:after\:invisible::after {
|
|
843
|
+
content: var(--tw-content);
|
|
844
|
+
visibility: hidden;
|
|
960
845
|
}
|
|
961
|
-
.komc\:
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
background-color: var(--komc-color-sky-950);
|
|
965
|
-
}
|
|
966
|
-
}
|
|
846
|
+
.komc\:after\:h-0::after {
|
|
847
|
+
content: var(--tw-content);
|
|
848
|
+
height: 0px;
|
|
967
849
|
}
|
|
968
|
-
.komc\:
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
background-color: transparent;
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
.komc\:hover\:text-\[\#1890FF\] {
|
|
976
|
-
&:hover {
|
|
977
|
-
@media (hover: hover) {
|
|
978
|
-
color: #1890FF;
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
.komc\:hover\:text-black {
|
|
983
|
-
&:hover {
|
|
984
|
-
@media (hover: hover) {
|
|
985
|
-
color: var(--komc-color-black);
|
|
986
|
-
}
|
|
987
|
-
}
|
|
850
|
+
.komc\:after\:overflow-hidden::after {
|
|
851
|
+
content: var(--tw-content);
|
|
852
|
+
overflow: hidden;
|
|
988
853
|
}
|
|
989
|
-
.komc\:
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
}
|
|
994
|
-
}
|
|
854
|
+
.komc\:after\:font-bold::after {
|
|
855
|
+
content: var(--tw-content);
|
|
856
|
+
--tw-font-weight: var(--komc-font-weight-bold);
|
|
857
|
+
font-weight: var(--komc-font-weight-bold);
|
|
995
858
|
}
|
|
996
|
-
.komc\:
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
color: var(--komc-color-white);
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
859
|
+
.komc\:after\:content-\[attr\(data-text\)\]::after {
|
|
860
|
+
--tw-content: attr(data-text);
|
|
861
|
+
content: var(--tw-content);
|
|
1002
862
|
}
|
|
1003
|
-
.komc\:
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
863
|
+
.komc\:after\:select-none::after {
|
|
864
|
+
content: var(--tw-content);
|
|
865
|
+
-webkit-user-select: none;
|
|
866
|
+
user-select: none;
|
|
1009
867
|
}
|
|
1010
|
-
|
|
1011
|
-
|
|
868
|
+
@media (hover: hover) {
|
|
869
|
+
.komc\:hover\:border-transparent:hover {
|
|
1012
870
|
border-color: transparent;
|
|
1013
871
|
}
|
|
1014
|
-
|
|
1015
|
-
.komc\:active\:bg-\[rgb\(76\,76\,77\)\] {
|
|
1016
|
-
&:active {
|
|
872
|
+
.komc\:hover\:bg-\[rgb\(76\,76\,77\)\]:hover {
|
|
1017
873
|
background-color: rgb(76,76,77);
|
|
1018
874
|
}
|
|
1019
|
-
|
|
1020
|
-
.komc\:active\:bg-\[rgb\(199\,199\,199\)\] {
|
|
1021
|
-
&:active {
|
|
875
|
+
.komc\:hover\:bg-\[rgb\(199\,199\,199\)\]:hover {
|
|
1022
876
|
background-color: rgb(199,199,199);
|
|
1023
877
|
}
|
|
1024
|
-
|
|
1025
|
-
.komc\:active\:bg-blue-500 {
|
|
1026
|
-
&:active {
|
|
878
|
+
.komc\:hover\:bg-blue-500:hover {
|
|
1027
879
|
background-color: var(--komc-color-blue-500);
|
|
1028
880
|
}
|
|
1029
|
-
|
|
1030
|
-
.komc\:active\:bg-gray-200 {
|
|
1031
|
-
&:active {
|
|
881
|
+
.komc\:hover\:bg-gray-200:hover {
|
|
1032
882
|
background-color: var(--komc-color-gray-200);
|
|
1033
883
|
}
|
|
1034
|
-
|
|
1035
|
-
.komc\:active\:bg-indigo-700 {
|
|
1036
|
-
&:active {
|
|
884
|
+
.komc\:hover\:bg-indigo-700:hover {
|
|
1037
885
|
background-color: var(--komc-color-indigo-700);
|
|
1038
886
|
}
|
|
1039
|
-
|
|
1040
|
-
.komc\:active\:bg-night-700 {
|
|
1041
|
-
&:active {
|
|
887
|
+
.komc\:hover\:bg-night-700:hover {
|
|
1042
888
|
background-color: var(--komc-color-night-700);
|
|
1043
889
|
}
|
|
1044
|
-
|
|
1045
|
-
.komc\:active\:bg-night-800 {
|
|
1046
|
-
&:active {
|
|
890
|
+
.komc\:hover\:bg-night-800:hover {
|
|
1047
891
|
background-color: var(--komc-color-night-800);
|
|
1048
892
|
}
|
|
1049
|
-
|
|
1050
|
-
.komc\:active\:bg-sky-450 {
|
|
1051
|
-
&:active {
|
|
893
|
+
.komc\:hover\:bg-sky-450:hover {
|
|
1052
894
|
background-color: var(--komc-color-sky-450);
|
|
1053
895
|
}
|
|
1054
|
-
|
|
1055
|
-
.komc\:active\:bg-sky-650 {
|
|
1056
|
-
&:active {
|
|
896
|
+
.komc\:hover\:bg-sky-650:hover {
|
|
1057
897
|
background-color: var(--komc-color-sky-650);
|
|
1058
898
|
}
|
|
1059
|
-
|
|
1060
|
-
.komc\:active\:bg-sky-750 {
|
|
1061
|
-
&:active {
|
|
899
|
+
.komc\:hover\:bg-sky-750:hover {
|
|
1062
900
|
background-color: var(--komc-color-sky-750);
|
|
1063
901
|
}
|
|
1064
|
-
|
|
1065
|
-
.komc\:active\:bg-sky-950 {
|
|
1066
|
-
&:active {
|
|
902
|
+
.komc\:hover\:bg-sky-950:hover {
|
|
1067
903
|
background-color: var(--komc-color-sky-950);
|
|
1068
904
|
}
|
|
1069
|
-
|
|
1070
|
-
.komc\:active\:bg-transparent {
|
|
1071
|
-
&:active {
|
|
905
|
+
.komc\:hover\:bg-transparent:hover {
|
|
1072
906
|
background-color: transparent;
|
|
1073
907
|
}
|
|
1074
|
-
|
|
1075
|
-
.komc\:active\:text-\[\#1890FF\] {
|
|
1076
|
-
&:active {
|
|
908
|
+
.komc\:hover\:text-\[\#1890FF\]:hover {
|
|
1077
909
|
color: #1890FF;
|
|
1078
910
|
}
|
|
1079
|
-
|
|
1080
|
-
.komc\:active\:text-black {
|
|
1081
|
-
&:active {
|
|
911
|
+
.komc\:hover\:text-black:hover {
|
|
1082
912
|
color: var(--komc-color-black);
|
|
1083
913
|
}
|
|
1084
|
-
|
|
1085
|
-
.komc\:active\:text-gray-800 {
|
|
1086
|
-
&:active {
|
|
914
|
+
.komc\:hover\:text-gray-800:hover {
|
|
1087
915
|
color: var(--komc-color-gray-800);
|
|
1088
916
|
}
|
|
1089
|
-
|
|
1090
|
-
.komc\:active\:text-white {
|
|
1091
|
-
&:active {
|
|
917
|
+
.komc\:hover\:text-white:hover {
|
|
1092
918
|
color: var(--komc-color-white);
|
|
1093
919
|
}
|
|
1094
|
-
|
|
1095
|
-
.komc\:active\:underline {
|
|
1096
|
-
&:active {
|
|
920
|
+
.komc\:hover\:underline:hover {
|
|
1097
921
|
text-decoration-line: underline;
|
|
1098
922
|
}
|
|
1099
923
|
}
|
|
1100
|
-
.komc\:
|
|
1101
|
-
|
|
1102
|
-
cursor: default;
|
|
1103
|
-
}
|
|
924
|
+
.komc\:active\:border-transparent:active {
|
|
925
|
+
border-color: transparent;
|
|
1104
926
|
}
|
|
1105
|
-
.komc\:
|
|
1106
|
-
|
|
1107
|
-
border-color: var(--komc-color-gray-500);
|
|
1108
|
-
}
|
|
927
|
+
.komc\:active\:bg-\[rgb\(76\,76\,77\)\]:active {
|
|
928
|
+
background-color: rgb(76,76,77);
|
|
1109
929
|
}
|
|
1110
|
-
.komc\:
|
|
1111
|
-
|
|
1112
|
-
border-color: transparent;
|
|
1113
|
-
}
|
|
930
|
+
.komc\:active\:bg-\[rgb\(199\,199\,199\)\]:active {
|
|
931
|
+
background-color: rgb(199,199,199);
|
|
1114
932
|
}
|
|
1115
|
-
.komc\:
|
|
1116
|
-
|
|
1117
|
-
border-color: var(--komc-color-white);
|
|
1118
|
-
}
|
|
933
|
+
.komc\:active\:bg-blue-500:active {
|
|
934
|
+
background-color: var(--komc-color-blue-500);
|
|
1119
935
|
}
|
|
1120
|
-
.komc\:
|
|
1121
|
-
|
|
1122
|
-
background-color: var(--komc-color-gray-50);
|
|
1123
|
-
}
|
|
936
|
+
.komc\:active\:bg-gray-200:active {
|
|
937
|
+
background-color: var(--komc-color-gray-200);
|
|
1124
938
|
}
|
|
1125
|
-
.komc\:
|
|
1126
|
-
|
|
1127
|
-
background-color: var(--komc-color-gray-700);
|
|
1128
|
-
}
|
|
939
|
+
.komc\:active\:bg-indigo-700:active {
|
|
940
|
+
background-color: var(--komc-color-indigo-700);
|
|
1129
941
|
}
|
|
1130
|
-
.komc\:
|
|
1131
|
-
|
|
1132
|
-
background-color: transparent;
|
|
1133
|
-
}
|
|
942
|
+
.komc\:active\:bg-night-700:active {
|
|
943
|
+
background-color: var(--komc-color-night-700);
|
|
1134
944
|
}
|
|
1135
|
-
.komc\:
|
|
1136
|
-
|
|
1137
|
-
background-color: var(--komc-color-white);
|
|
1138
|
-
}
|
|
945
|
+
.komc\:active\:bg-night-800:active {
|
|
946
|
+
background-color: var(--komc-color-night-800);
|
|
1139
947
|
}
|
|
1140
|
-
.komc\:
|
|
1141
|
-
|
|
1142
|
-
color: var(--komc-color-gray-500);
|
|
1143
|
-
}
|
|
948
|
+
.komc\:active\:bg-sky-450:active {
|
|
949
|
+
background-color: var(--komc-color-sky-450);
|
|
1144
950
|
}
|
|
1145
|
-
.komc\:
|
|
1146
|
-
|
|
1147
|
-
color: var(--komc-color-gray-800);
|
|
1148
|
-
}
|
|
951
|
+
.komc\:active\:bg-sky-650:active {
|
|
952
|
+
background-color: var(--komc-color-sky-650);
|
|
1149
953
|
}
|
|
1150
|
-
.komc\:
|
|
1151
|
-
|
|
1152
|
-
--tw-scale-x: 95%;
|
|
1153
|
-
--tw-scale-y: 95%;
|
|
1154
|
-
--tw-scale-z: 95%;
|
|
1155
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
1156
|
-
}
|
|
954
|
+
.komc\:active\:bg-sky-750:active {
|
|
955
|
+
background-color: var(--komc-color-sky-750);
|
|
1157
956
|
}
|
|
1158
|
-
.komc\:
|
|
1159
|
-
|
|
1160
|
-
opacity: 0%;
|
|
1161
|
-
}
|
|
957
|
+
.komc\:active\:bg-sky-950:active {
|
|
958
|
+
background-color: var(--komc-color-sky-950);
|
|
1162
959
|
}
|
|
1163
|
-
.komc\:
|
|
1164
|
-
|
|
1165
|
-
--tw-translate-x: calc(var(--komc-spacing) * 0);
|
|
1166
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1167
|
-
}
|
|
960
|
+
.komc\:active\:bg-transparent:active {
|
|
961
|
+
background-color: transparent;
|
|
1168
962
|
}
|
|
1169
|
-
.komc\:
|
|
1170
|
-
|
|
1171
|
-
--tw-translate-y: calc(var(--komc-spacing) * 0);
|
|
1172
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1173
|
-
}
|
|
963
|
+
.komc\:active\:text-\[\#1890FF\]:active {
|
|
964
|
+
color: #1890FF;
|
|
1174
965
|
}
|
|
1175
|
-
.komc\:
|
|
1176
|
-
|
|
1177
|
-
--tw-scale-x: 100%;
|
|
1178
|
-
--tw-scale-y: 100%;
|
|
1179
|
-
--tw-scale-z: 100%;
|
|
1180
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
1181
|
-
}
|
|
966
|
+
.komc\:active\:text-black:active {
|
|
967
|
+
color: var(--komc-color-black);
|
|
1182
968
|
}
|
|
1183
|
-
.komc\:
|
|
1184
|
-
|
|
1185
|
-
opacity: 100%;
|
|
1186
|
-
}
|
|
969
|
+
.komc\:active\:text-gray-800:active {
|
|
970
|
+
color: var(--komc-color-gray-800);
|
|
1187
971
|
}
|
|
1188
|
-
.komc
|
|
1189
|
-
|
|
1190
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
1191
|
-
transition-timing-function: var(--tw-ease, var(--komc-default-transition-timing-function));
|
|
1192
|
-
transition-duration: var(--tw-duration, var(--komc-default-transition-duration));
|
|
1193
|
-
}
|
|
972
|
+
.komc\:active\:text-white:active {
|
|
973
|
+
color: var(--komc-color-white);
|
|
1194
974
|
}
|
|
1195
|
-
.komc
|
|
1196
|
-
|
|
1197
|
-
--tw-duration: 200ms;
|
|
1198
|
-
transition-duration: 200ms;
|
|
1199
|
-
}
|
|
975
|
+
.komc\:active\:underline:active {
|
|
976
|
+
text-decoration-line: underline;
|
|
1200
977
|
}
|
|
1201
|
-
.komc
|
|
1202
|
-
|
|
1203
|
-
height: 100%;
|
|
1204
|
-
}
|
|
978
|
+
.komc\:disabled\:cursor-default:disabled {
|
|
979
|
+
cursor: default;
|
|
1205
980
|
}
|
|
1206
|
-
.komc
|
|
1207
|
-
|
|
1208
|
-
width: 100%;
|
|
1209
|
-
}
|
|
981
|
+
.komc\:disabled\:border-gray-500:disabled {
|
|
982
|
+
border-color: var(--komc-color-gray-500);
|
|
1210
983
|
}
|
|
1211
|
-
.komc
|
|
1212
|
-
|
|
1213
|
-
--tw-outline-style: none;
|
|
1214
|
-
outline-style: none;
|
|
1215
|
-
}
|
|
984
|
+
.komc\:disabled\:border-transparent:disabled {
|
|
985
|
+
border-color: transparent;
|
|
1216
986
|
}
|
|
1217
|
-
.komc
|
|
1218
|
-
|
|
1219
|
-
&:focus {
|
|
1220
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1221
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1222
|
-
}
|
|
1223
|
-
}
|
|
987
|
+
.komc\:disabled\:border-white:disabled {
|
|
988
|
+
border-color: var(--komc-color-white);
|
|
1224
989
|
}
|
|
1225
|
-
.komc
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
990
|
+
.komc\:disabled\:bg-gray-50:disabled {
|
|
991
|
+
background-color: var(--komc-color-gray-50);
|
|
992
|
+
}
|
|
993
|
+
.komc\:disabled\:bg-gray-700:disabled {
|
|
994
|
+
background-color: var(--komc-color-gray-700);
|
|
995
|
+
}
|
|
996
|
+
.komc\:disabled\:bg-transparent:disabled {
|
|
997
|
+
background-color: transparent;
|
|
998
|
+
}
|
|
999
|
+
.komc\:disabled\:bg-white:disabled {
|
|
1000
|
+
background-color: var(--komc-color-white);
|
|
1001
|
+
}
|
|
1002
|
+
.komc\:disabled\:text-gray-500:disabled {
|
|
1003
|
+
color: var(--komc-color-gray-500);
|
|
1004
|
+
}
|
|
1005
|
+
.komc\:disabled\:text-gray-800:disabled {
|
|
1006
|
+
color: var(--komc-color-gray-800);
|
|
1007
|
+
}
|
|
1008
|
+
.komc\:data-\[state\=closed\]\:scale-95[data-state="closed"] {
|
|
1009
|
+
--tw-scale-x: 95%;
|
|
1010
|
+
--tw-scale-y: 95%;
|
|
1011
|
+
--tw-scale-z: 95%;
|
|
1012
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
1013
|
+
}
|
|
1014
|
+
.komc\:data-\[state\=closed\]\:opacity-0[data-state="closed"] {
|
|
1015
|
+
opacity: 0%;
|
|
1016
|
+
}
|
|
1017
|
+
.komc\:data-\[state\=open\]\:translate-x-0[data-state="open"] {
|
|
1018
|
+
--tw-translate-x: 0px;
|
|
1019
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1020
|
+
}
|
|
1021
|
+
.komc\:data-\[state\=open\]\:translate-y-0[data-state="open"] {
|
|
1022
|
+
--tw-translate-y: 0px;
|
|
1023
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1024
|
+
}
|
|
1025
|
+
.komc\:data-\[state\=open\]\:scale-100[data-state="open"] {
|
|
1026
|
+
--tw-scale-x: 100%;
|
|
1027
|
+
--tw-scale-y: 100%;
|
|
1028
|
+
--tw-scale-z: 100%;
|
|
1029
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
1030
|
+
}
|
|
1031
|
+
.komc\:data-\[state\=open\]\:opacity-100[data-state="open"] {
|
|
1032
|
+
opacity: 100%;
|
|
1033
|
+
}
|
|
1034
|
+
.komc\:\[\&_svg\]\:transition-colors svg {
|
|
1035
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
1036
|
+
transition-timing-function: var(--tw-ease, var(--komc-default-transition-timing-function));
|
|
1037
|
+
transition-duration: var(--tw-duration, var(--komc-default-transition-duration));
|
|
1038
|
+
}
|
|
1039
|
+
.komc\:\[\&_svg\]\:duration-200 svg {
|
|
1040
|
+
--tw-duration: 200ms;
|
|
1041
|
+
transition-duration: 200ms;
|
|
1042
|
+
}
|
|
1043
|
+
.komc\:\[\&\>input\]\:h-full > input {
|
|
1044
|
+
height: 100%;
|
|
1045
|
+
}
|
|
1046
|
+
.komc\:\[\&\>input\]\:w-full > input {
|
|
1047
|
+
width: 100%;
|
|
1048
|
+
}
|
|
1049
|
+
.komc\:\[\&\>input\]\:outline-none > input {
|
|
1050
|
+
--tw-outline-style: none;
|
|
1051
|
+
outline-style: none;
|
|
1052
|
+
}
|
|
1053
|
+
.komc\:\[\&\>input\]\:focus\:ring-0 > input:focus {
|
|
1054
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1055
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1056
|
+
}
|
|
1057
|
+
.komc\:\[\&\>input\]\:focus\:ring-offset-0 > input:focus {
|
|
1058
|
+
--tw-ring-offset-width: 0px;
|
|
1059
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1232
1060
|
}
|
|
1233
1061
|
}
|
|
1234
1062
|
@layer base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require(`../../chunk-Bmb41Sf3.cjs`),t=require(`../../common-
|
|
1
|
+
"use client";const e=require(`../../chunk-Bmb41Sf3.cjs`),t=require(`../../common-Bn0Ko6B7.cjs`);let n=require(`clsx`);n=e.t(n);let r=require(`react`);r=e.t(r);let i=require(`react/jsx-runtime`),a=require(`embla-carousel-react`);a=e.t(a);const o=r.default.createContext(null);function s(){let e=r.default.useContext(o);if(!e)throw Error(`useCarousel must be used within a <Carousel />`);return e}function c({orientation:e=`horizontal`,options:n,setApi:s,plugins:c,className:l,children:u,...d}){let[f,p]=(0,a.default)({...n,axis:e===`horizontal`?`x`:`y`},c),[m,h]=(0,r.useState)(!1),[g,_]=(0,r.useState)(!1),[v,y]=(0,r.useState)(0),[b,x]=(0,r.useState)(0),S=(0,r.useCallback)(e=>{e&&(h(e.canScrollPrev()),_(e.canScrollNext()),x(e.selectedScrollSnap()))},[]),C=(0,r.useCallback)(()=>{p?.scrollPrev()},[p]),w=(0,r.useCallback)(()=>{p?.scrollNext()},[p]),T=(0,r.useCallback)(e=>{p?.scrollTo(e)},[p]),E=(0,r.useCallback)(()=>{y(p?.scrollSnapList().length||0)},[p]),D=(0,r.useCallback)(t=>{e===`horizontal`?t.key===`ArrowLeft`?(t.preventDefault(),C()):t.key===`ArrowRight`&&(t.preventDefault(),w()):t.key===`ArrowUp`?(t.preventDefault(),C()):t.key===`ArrowDown`&&(t.preventDefault(),w())},[C,w,e]);return(0,r.useEffect)(()=>{!p||!s||s(p)},[p,s]),(0,r.useEffect)(()=>{if(p)return S(p),E(),p.on(`reInit`,E),p.on(`reInit`,S),p.on(`select`,S),()=>{p?.off(`select`,S)}},[p,E,S]),(0,i.jsx)(o.Provider,{value:{carouselRef:f,api:p,options:n,orientation:e||(n?.axis===`y`?`vertical`:`horizontal`),scrollPrev:C,scrollNext:w,canScrollPrev:m,canScrollNext:g,scrollTo:T,dots:v,selectedScrollSnap:b},children:(0,i.jsx)(`div`,{"data-komc":!0,role:`region`,"aria-label":`carousel`,"aria-roledescription":`carousel`,tabIndex:0,onKeyDownCapture:D,className:t.n(`komc:relative`,l),...d,children:u})})}function l({children:e,className:n,...r}){let{carouselRef:a}=s();return(0,i.jsx)(`div`,{ref:a,"data-komc":!0,className:t.n(`komc:h-full komc:overflow-hidden`,n),...r,children:e})}function u({className:e,...n}){let{orientation:r}=s();return(0,i.jsx)(`div`,{className:t.n(`komc:flex komc:h-full`,r===`horizontal`?`komc:-ml-4`:`komc:-mt-4 komc:flex-col`,e),...n})}function d({className:e,...n}){let{orientation:r}=s();return(0,i.jsx)(`div`,{"data-komc":!0,className:t.n(`komc:min-w-0 komc:shrink-0 komc:grow-0 komc:basis-full`,r===`horizontal`?`komc:pl-4`:`komc:pt-4`,e),...n})}function f({children:e,className:t,...r}){let{scrollPrev:a,canScrollPrev:o}=s();return(0,i.jsx)(`button`,{type:`button`,"data-komc":!0,disabled:!o,"aria-label":`previous slide`,className:(0,n.default)(`komc:w-full`,t),onClick:a,...r,children:e})}function p({children:e,className:t,...r}){let{scrollNext:a,canScrollNext:o}=s();return(0,i.jsx)(`button`,{type:`button`,"data-komc":!0,disabled:!o,"aria-label":`next slide`,className:(0,n.default)(`komc:w-full`,t),onClick:a,...r,children:e})}function m({children:e,...t}){let{dots:n,selectedScrollSnap:r,scrollTo:a}=s();return(0,i.jsx)(i.Fragment,{children:Array.from({length:n}).map((n,o)=>(0,i.jsx)(`button`,{type:`button`,"data-komc":!0,"data-selected":r===o,"aria-label":`go to slide ${o+1}`,onClick:()=>a(o),...t,children:e?.(o)},o))})}function h({index:e,children:t,...n}){let{selectedScrollSnap:r,scrollTo:a}=s();return(0,i.jsx)(`button`,{type:`button`,"data-komc":!0,"data-selected":r===e,"aria-label":`go to slide ${e+1}`,onClick:()=>a(e),...n,children:t})}exports.Carousel=c,exports.CarouselDot=h,exports.CarouselDots=m,exports.CarouselItem=d,exports.CarouselNext=p,exports.CarouselPrevious=f,exports.CarouselViewport=l,exports.CarouselWrapper=u,exports.useCarousel=s;
|