@okam/stack-ui 1.27.0 → 1.27.3
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/components/Carousel/components/CarouselNavigationButton.d.ts +1 -1
- package/index.d.ts +2 -0
- package/index.js +1 -1
- package/index.mjs +158 -151
- package/index10.js +1 -1
- package/index10.mjs +2 -2
- package/index100.js +1 -2
- package/index100.mjs +17 -12
- package/index101.js +2 -1
- package/index101.mjs +22 -45
- package/index102.js +1 -1
- package/index102.mjs +1 -1
- package/index103.js +1 -1
- package/index103.mjs +1 -1
- package/index107.js +1 -1
- package/index107.mjs +1 -1
- package/index108.js +1 -1
- package/index108.mjs +1 -1
- package/index11.js +1 -1
- package/index11.mjs +3 -3
- package/index112.js +1 -1
- package/index112.mjs +1 -1
- package/index113.js +1 -1
- package/index113.mjs +1 -1
- package/index114.js +1 -1
- package/index114.mjs +2 -2
- package/index116.js +1 -1
- package/index116.mjs +1 -1
- package/index118.js +1 -1
- package/index118.mjs +1 -1
- package/index119.js +1 -1
- package/index119.mjs +1 -1
- package/index12.js +2 -1
- package/index12.mjs +45 -15
- package/index121.js +1 -1
- package/index121.mjs +1 -1
- package/index122.js +1 -1
- package/index122.mjs +3 -3
- package/index124.js +1 -1
- package/index124.mjs +1 -1
- package/index125.js +1 -1
- package/index125.mjs +2 -2
- package/index128.js +1 -1
- package/index128.mjs +1 -1
- package/index13.js +1 -2
- package/index13.mjs +17 -20
- package/index131.js +1 -1
- package/index131.mjs +1 -1
- package/index132.js +1 -1
- package/index132.mjs +1 -1
- package/index134.js +1 -1
- package/index134.mjs +1 -1
- package/index135.js +1 -1
- package/index135.mjs +1 -1
- package/index138.js +1 -1
- package/index138.mjs +1 -1
- package/index139.js +1 -1
- package/index139.mjs +3 -3
- package/index14.js +1 -1
- package/index14.mjs +18 -17
- package/index140.js +1 -1
- package/index140.mjs +2 -2
- package/index15.js +1 -1
- package/index15.mjs +16 -83
- package/index16.js +1 -1
- package/index16.mjs +81 -28
- package/index17.js +1 -1
- package/index17.mjs +30 -32
- package/index174.js +1 -1
- package/index174.mjs +2 -2
- package/index175.js +1 -1
- package/index175.mjs +2 -2
- package/index176.js +1 -1
- package/index176.mjs +2 -2
- package/index177.js +1 -1
- package/index177.mjs +2 -2
- package/index178.js +1 -1
- package/index178.mjs +3 -3
- package/index179.js +1 -1
- package/index179.mjs +4 -4
- package/index18.js +1 -1
- package/index18.mjs +33 -31
- package/index180.js +1 -1
- package/index180.mjs +1 -1
- package/index181.js +1 -1
- package/index181.mjs +2 -2
- package/index182.js +1 -1
- package/index182.mjs +1 -1
- package/index183.js +1 -1
- package/index183.mjs +2 -2
- package/index184.js +1 -1
- package/index184.mjs +1 -1
- package/index185.js +1 -1
- package/index185.mjs +2 -2
- package/index186.js +1 -1
- package/index186.mjs +1 -1
- package/index187.js +1 -1
- package/index187.mjs +2 -2
- package/index188.js +1 -1
- package/index188.mjs +1 -1
- package/index19.js +1 -1
- package/index19.mjs +30 -33
- package/index191.js +1 -1
- package/index191.mjs +4 -4
- package/index192.js +1 -1
- package/index192.mjs +2 -2
- package/index193.js +1 -1
- package/index193.mjs +5 -5
- package/index194.js +1 -1
- package/index194.mjs +4 -4
- package/index195.js +1 -1
- package/index195.mjs +5 -5
- package/index196.js +1 -1
- package/index196.mjs +5 -5
- package/index197.js +1 -1
- package/index197.mjs +2 -2
- package/index2.js +1 -1
- package/index2.mjs +20 -20
- package/index20.js +1 -1
- package/index20.mjs +32 -67
- package/index208.js +1 -1
- package/index208.mjs +2 -2
- package/index21.js +1 -1
- package/index21.mjs +61 -58
- package/index210.js +1 -1
- package/index210.mjs +1 -1
- package/index213.js +1 -1
- package/index213.mjs +1 -1
- package/index22.js +1 -1
- package/index22.mjs +66 -52
- package/index224.js +1 -1
- package/index224.mjs +123 -306
- package/index225.js +1 -1
- package/index225.mjs +173 -186
- package/index226.js +1 -1
- package/index226.mjs +9 -8
- package/index227.js +1 -1
- package/index227.mjs +3 -26
- package/index228.js +1 -1
- package/index228.mjs +34 -53
- package/index229.js +1 -1
- package/index229.mjs +5 -46
- package/index23.js +1 -1
- package/index23.mjs +37 -41
- package/index230.js +1 -1
- package/index230.mjs +28 -123
- package/index231.js +1 -1
- package/index231.mjs +6 -130
- package/index232.js +1 -1
- package/index232.mjs +293 -159
- package/index233.js +1 -1
- package/index233.mjs +192 -9
- package/index234.js +1 -1
- package/index234.mjs +8 -3
- package/index235.js +1 -1
- package/index235.mjs +25 -35
- package/index236.js +1 -1
- package/index236.mjs +55 -5
- package/index237.js +1 -1
- package/index237.mjs +44 -27
- package/index238.js +1 -1
- package/index238.mjs +124 -6
- package/index24.js +1 -1
- package/index24.mjs +57 -20
- package/index242.js +1 -1
- package/index242.mjs +1 -1
- package/index243.js +1 -1
- package/index243.mjs +1 -1
- package/index245.js +1 -1
- package/index245.mjs +1 -1
- package/index246.js +1 -1
- package/index246.mjs +2 -2
- package/index248.js +1 -1
- package/index248.mjs +1 -1
- package/index249.js +1 -1
- package/index249.mjs +3 -3
- package/index25.js +1 -1
- package/index25.mjs +20 -50
- package/index250.js +1 -1
- package/index250.mjs +2 -2
- package/index251.js +1 -1
- package/index251.mjs +2 -23
- package/index252.js +1 -1
- package/index252.mjs +23 -2
- package/index26.js +1 -1
- package/index26.mjs +50 -17
- package/index260.js +1 -1
- package/index260.mjs +6 -2
- package/index261.mjs +2 -2
- package/index262.mjs +2 -2
- package/index263.mjs +2 -2
- package/index264.js +1 -1
- package/index264.mjs +2 -72
- package/index265.js +1 -1
- package/index265.mjs +72 -2
- package/index266.mjs +2 -2
- package/index267.js +1 -1
- package/index267.mjs +2 -19
- package/index268.js +1 -1
- package/index268.mjs +19 -2
- package/index269.js +1 -1
- package/index269.mjs +2 -6
- package/index27.js +1 -1
- package/index27.mjs +16 -32
- package/index28.js +1 -1
- package/index28.mjs +32 -23
- package/index29.js +1 -1
- package/index29.mjs +24 -8
- package/index3.js +1 -1
- package/index3.mjs +1 -1
- package/index30.js +1 -1
- package/index30.mjs +8 -32
- package/index31.js +1 -1
- package/index31.mjs +29 -30
- package/index32.js +1 -1
- package/index32.mjs +28 -98
- package/index33.js +1 -1
- package/index33.mjs +102 -8
- package/index34.js +1 -1
- package/index34.mjs +8 -46
- package/index35.js +1 -1
- package/index35.mjs +46 -18
- package/index36.js +2 -1
- package/index36.mjs +19 -6
- package/index37.js +1 -1
- package/index37.mjs +6 -46
- package/index38.js +1 -1
- package/index38.mjs +45 -23
- package/index39.js +2 -1
- package/index39.mjs +26 -5
- package/index4.js +1 -1
- package/index4.mjs +5 -5
- package/index40.js +1 -1
- package/index40.mjs +4 -7
- package/index41.js +1 -1
- package/index41.mjs +5 -5
- package/index42.js +1 -1
- package/index42.mjs +8 -5
- package/index43.js +1 -1
- package/index43.mjs +2 -2
- package/index44.js +1 -1
- package/index44.mjs +1 -1
- package/index45.js +1 -1
- package/index45.mjs +4 -4
- package/index46.js +1 -1
- package/index46.mjs +3 -9
- package/index47.js +1 -1
- package/index47.mjs +7 -9
- package/index48.js +1 -1
- package/index48.mjs +9 -9
- package/index49.js +1 -1
- package/index49.mjs +13 -46
- package/index50.js +1 -1
- package/index50.mjs +46 -8
- package/index51.js +1 -1
- package/index51.mjs +6 -69
- package/index52.js +1 -1
- package/index52.mjs +71 -8
- package/index53.js +1 -1
- package/index53.mjs +7 -12
- package/index54.js +1 -1
- package/index54.mjs +12 -9
- package/index55.js +1 -1
- package/index55.mjs +10 -17
- package/index56.js +1 -1
- package/index56.mjs +17 -13
- package/index57.js +1 -1
- package/index57.mjs +5 -5
- package/index58.js +1 -1
- package/index58.mjs +6 -6
- package/index59.js +1 -1
- package/index59.mjs +10 -8
- package/index6.js +1 -1
- package/index6.mjs +1 -1
- package/index60.js +1 -1
- package/index60.mjs +5 -5
- package/index61.js +1 -1
- package/index61.mjs +6 -8
- package/index62.js +1 -1
- package/index62.mjs +13 -14
- package/index63.js +1 -2
- package/index63.mjs +14 -23
- package/index64.js +1 -1
- package/index64.mjs +21 -15
- package/index65.js +1 -1
- package/index65.mjs +16 -14
- package/index66.js +1 -1
- package/index66.mjs +13 -40
- package/index67.js +1 -1
- package/index67.mjs +39 -36
- package/index68.js +1 -1
- package/index68.mjs +37 -11
- package/index69.js +1 -1
- package/index69.mjs +11 -10
- package/index7.js +1 -1
- package/index7.mjs +2 -2
- package/index70.js +1 -1
- package/index70.mjs +10 -13
- package/index71.js +2 -1
- package/index71.mjs +15 -2
- package/index72.js +1 -1
- package/index72.mjs +11 -8
- package/index73.js +1 -2
- package/index73.mjs +1 -7
- package/index74.js +1 -1
- package/index74.mjs +7 -6
- package/index75.js +1 -1
- package/index75.mjs +6 -6
- package/index76.js +2 -1
- package/index76.mjs +8 -25
- package/index77.js +2 -1
- package/index77.mjs +8 -2
- package/index78.js +1 -6
- package/index78.mjs +25 -94
- package/index79.js +1 -1
- package/index79.mjs +2 -69
- package/index8.js +1 -1
- package/index8.mjs +5 -5
- package/index80.js +6 -1
- package/index80.mjs +82 -29
- package/index81.js +1 -42
- package/index81.mjs +64 -65
- package/index82.js +1 -1
- package/index82.mjs +32 -150
- package/index83.js +42 -9
- package/index83.mjs +65 -52
- package/index84.js +1 -1
- package/index84.mjs +145 -31
- package/index85.js +9 -1
- package/index85.mjs +54 -10
- package/index86.js +1 -1
- package/index86.mjs +38 -28
- package/index87.js +1 -1
- package/index87.mjs +12 -5
- package/index88.js +1 -12
- package/index88.mjs +31 -36
- package/index89.js +1 -1
- package/index89.mjs +6 -29
- package/index9.js +1 -1
- package/index9.mjs +4 -4
- package/index90.js +12 -1
- package/index90.mjs +39 -12
- package/index91.js +1 -7
- package/index91.mjs +23 -13
- package/index92.js +1 -15
- package/index92.mjs +9 -67
- package/index93.js +7 -1
- package/index93.mjs +17 -5
- package/index94.js +13 -14
- package/index94.mjs +63 -17
- package/index95.js +1 -1
- package/index95.mjs +7 -42
- package/index96.js +16 -1
- package/index96.mjs +24 -44
- package/index97.js +1 -1
- package/index97.mjs +42 -48
- package/index98.js +1 -1
- package/index98.mjs +45 -17
- package/index99.js +1 -2
- package/index99.mjs +47 -21
- package/package.json +1 -1
package/index82.mjs
CHANGED
|
@@ -1,161 +1,43 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
const
|
|
3
|
-
base: "
|
|
4
|
-
}),
|
|
5
|
-
base: "
|
|
6
|
-
}), a = e({
|
|
7
|
-
base: "flex items-center gap-1"
|
|
8
|
-
}), i = e({
|
|
9
|
-
base: "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"
|
|
10
|
-
}), r = e({
|
|
11
|
-
base: "flex-1"
|
|
12
|
-
}), n = e({
|
|
13
|
-
base: "text-center"
|
|
14
|
-
}), o = e({
|
|
15
|
-
base: "py-0.5 relative",
|
|
1
|
+
import { tv as l } from "tailwind-variants";
|
|
2
|
+
const t = l({
|
|
3
|
+
base: "w-full bg-slate-100"
|
|
4
|
+
}), a = l({
|
|
5
|
+
base: "max-w-screen-lg mx-auto w-full",
|
|
16
6
|
variants: {
|
|
17
|
-
|
|
18
|
-
true: "
|
|
19
|
-
|
|
7
|
+
fullWidth: {
|
|
8
|
+
true: "max-w-full col-span-full p-0"
|
|
9
|
+
},
|
|
10
|
+
spacing: {
|
|
11
|
+
small: "mb-3",
|
|
12
|
+
medium: "mb-6",
|
|
13
|
+
large: "mb-8",
|
|
14
|
+
none: "mb-0"
|
|
20
15
|
}
|
|
21
16
|
}
|
|
22
|
-
}),
|
|
23
|
-
|
|
17
|
+
}), n = l({
|
|
18
|
+
extend: a,
|
|
19
|
+
base: "grid grid-cols-12 gap-6 px-4 col-span-full",
|
|
24
20
|
variants: {
|
|
25
|
-
|
|
26
|
-
true: ""
|
|
27
|
-
false: ""
|
|
28
|
-
},
|
|
29
|
-
isInvalid: {
|
|
30
|
-
true: "",
|
|
31
|
-
fasle: ""
|
|
32
|
-
},
|
|
33
|
-
isDisabled: {
|
|
34
|
-
true: "disabled",
|
|
35
|
-
false: ""
|
|
36
|
-
},
|
|
37
|
-
isRoundedLeft: {
|
|
38
|
-
true: "rounded-l-full",
|
|
39
|
-
false: ""
|
|
40
|
-
},
|
|
41
|
-
isRoundedRight: {
|
|
42
|
-
true: "rounded-r-full",
|
|
43
|
-
false: ""
|
|
21
|
+
fullWidth: {
|
|
22
|
+
true: "max-w-full col-span-full p-0"
|
|
44
23
|
}
|
|
24
|
+
}
|
|
25
|
+
}), e = l({
|
|
26
|
+
base: "bg-slate-300 h-64 p-4 flex justify-start items-end",
|
|
27
|
+
defaultVariants: {
|
|
28
|
+
size: "small"
|
|
45
29
|
},
|
|
46
|
-
compoundVariants: [
|
|
47
|
-
{
|
|
48
|
-
isSelected: !0,
|
|
49
|
-
isInvalid: !0,
|
|
50
|
-
class: "bg-red-300"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
isSelected: !0,
|
|
54
|
-
isInvalid: !1,
|
|
55
|
-
class: "bg-color-1-300"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
}), d = e({
|
|
59
|
-
base: "w-full h-full rounded-full flex items-center justify-center cursor-pointer",
|
|
60
30
|
variants: {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
isInvalid: {
|
|
66
|
-
true: "",
|
|
67
|
-
fasle: ""
|
|
68
|
-
},
|
|
69
|
-
isDisabled: {
|
|
70
|
-
true: "",
|
|
71
|
-
false: ""
|
|
72
|
-
},
|
|
73
|
-
isFocusVisible: {
|
|
74
|
-
true: "ring-2 group-focus:z-2 ring-violet-600 ring-offset-2",
|
|
75
|
-
false: ""
|
|
76
|
-
},
|
|
77
|
-
isSelectionStart: {
|
|
78
|
-
true: "",
|
|
79
|
-
false: ""
|
|
80
|
-
},
|
|
81
|
-
isSelectionEnd: {
|
|
82
|
-
true: "",
|
|
83
|
-
false: ""
|
|
31
|
+
size: {
|
|
32
|
+
small: "col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4",
|
|
33
|
+
medium: "col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8",
|
|
34
|
+
large: "lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13"
|
|
84
35
|
}
|
|
85
|
-
}
|
|
86
|
-
compoundVariants: [
|
|
87
|
-
{
|
|
88
|
-
isDisabled: !0,
|
|
89
|
-
isInvalid: !1,
|
|
90
|
-
class: "text-gray-400"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
isSelectionStart: !0,
|
|
94
|
-
isSelectionEnd: !1,
|
|
95
|
-
isInvalid: !0,
|
|
96
|
-
class: "bg-red-600 text-white hover:bg-red-700"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
isSelectionStart: !0,
|
|
100
|
-
isSelectionEnd: !0,
|
|
101
|
-
isInvalid: !0,
|
|
102
|
-
class: "bg-red-600 text-white hover:bg-red-700"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
isSelectionStart: !0,
|
|
106
|
-
isSelectionEnd: !1,
|
|
107
|
-
isInvalid: !1,
|
|
108
|
-
class: "bg-color-1-400 text-white hover:bg-color-1-500"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
isSelectionStart: !0,
|
|
112
|
-
isSelectionEnd: !0,
|
|
113
|
-
isInvalid: !1,
|
|
114
|
-
class: "bg-color-1-400 rounded-full text-white hover:bg-color-1-500"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
isSelectionStart: !1,
|
|
118
|
-
isSelectionEnd: !0,
|
|
119
|
-
isInvalid: !0,
|
|
120
|
-
class: "bg-red-600 text-white hover:bg-red-700"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
isSelectionStart: !1,
|
|
124
|
-
isSelectionEnd: !0,
|
|
125
|
-
isInvalid: !1,
|
|
126
|
-
class: "bg-color-1-400 text-white hover:bg-color-1-500"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
isSelected: !1,
|
|
130
|
-
isDisabled: !1,
|
|
131
|
-
class: "hover:bg-color-1-100"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
isSelected: !0,
|
|
135
|
-
isDisabled: !1,
|
|
136
|
-
isInvalid: !1,
|
|
137
|
-
isSelectionStart: !1,
|
|
138
|
-
isSelectionEnd: !1,
|
|
139
|
-
class: "hover:bg-color-1-300"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
isSelected: !0,
|
|
143
|
-
isDisabled: !1,
|
|
144
|
-
isInvalid: !0,
|
|
145
|
-
isSelectionStart: !1,
|
|
146
|
-
isSelectionEnd: !1,
|
|
147
|
-
class: "hover:bg-red-400"
|
|
148
|
-
}
|
|
149
|
-
]
|
|
36
|
+
}
|
|
150
37
|
});
|
|
151
38
|
export {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
n as calendarDayLabel,
|
|
157
|
-
l as calendarHeaderContainer,
|
|
158
|
-
i as calendarNavigationButtons,
|
|
159
|
-
a as calendarNavigationButtonsContainer,
|
|
160
|
-
r as calendarTable
|
|
39
|
+
a as container,
|
|
40
|
+
n as grid,
|
|
41
|
+
e as gridItem,
|
|
42
|
+
t as main
|
|
161
43
|
};
|
package/index83.js
CHANGED
|
@@ -1,9 +1,42 @@
|
|
|
1
|
-
"use strict";const e=require("tailwind-variants"),
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
"use strict";const e=require("tailwind-variants"),t=e.tv({base:`
|
|
2
|
+
flex
|
|
3
|
+
items-center
|
|
4
|
+
justify-center
|
|
5
|
+
gap-4
|
|
6
|
+
transition
|
|
7
|
+
duration-300
|
|
8
|
+
ease-in-out
|
|
9
|
+
disabled:pointer-events-none
|
|
10
|
+
disabled:opacity-30
|
|
11
|
+
focus-ring-black
|
|
12
|
+
`,defaultVariants:{buttonStyle:"default",type:"button",size:"default",shape:"rounded"},variants:{buttonStyle:{default:`
|
|
13
|
+
px-4
|
|
14
|
+
py-2
|
|
15
|
+
text-white
|
|
16
|
+
!bg-color-1-500
|
|
17
|
+
hover:!bg-color-1-400
|
|
18
|
+
active:!bg-color-1-400
|
|
19
|
+
`,outline:`
|
|
20
|
+
px-4
|
|
21
|
+
py-2
|
|
22
|
+
bg-transparent
|
|
23
|
+
!border-color-1-500
|
|
24
|
+
text-color-1-500
|
|
25
|
+
hover:bg-color-1-500
|
|
26
|
+
hover:text-white
|
|
27
|
+
active:bg-color-1-500
|
|
28
|
+
active:text-white
|
|
29
|
+
`,hollow:`
|
|
30
|
+
px-2
|
|
31
|
+
bg-transparent
|
|
32
|
+
text-color-1-500
|
|
33
|
+
hover:border-b-color-1-500
|
|
34
|
+
active:border-b-color-1-500
|
|
35
|
+
focus:border-b-color-1-500
|
|
36
|
+
|
|
37
|
+
`},intent:{error:`
|
|
38
|
+
!bg-error
|
|
39
|
+
text-white
|
|
40
|
+
pointer-events-none
|
|
41
|
+
!border-error
|
|
42
|
+
`},size:{default:"min-w-12 min-h-6",large:"min-w-36 min-h-18"},shape:{rounded:"rounded-md",circular:"rounded-full"}}});module.exports=t;
|
package/index83.mjs
CHANGED
|
@@ -1,59 +1,72 @@
|
|
|
1
1
|
import { tv as e } from "tailwind-variants";
|
|
2
|
-
|
|
3
|
-
const r = e({
|
|
4
|
-
base: "flex justify-between items-center gap-4 relative"
|
|
5
|
-
}), t = e({
|
|
2
|
+
const o = e({
|
|
6
3
|
base: `
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
}), i = e({
|
|
26
|
-
base: "flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"
|
|
27
|
-
}), l = e({
|
|
28
|
-
base: "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",
|
|
4
|
+
flex
|
|
5
|
+
items-center
|
|
6
|
+
justify-center
|
|
7
|
+
gap-4
|
|
8
|
+
transition
|
|
9
|
+
duration-300
|
|
10
|
+
ease-in-out
|
|
11
|
+
disabled:pointer-events-none
|
|
12
|
+
disabled:opacity-30
|
|
13
|
+
focus-ring-black
|
|
14
|
+
`,
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
buttonStyle: "default",
|
|
17
|
+
type: "button",
|
|
18
|
+
size: "default",
|
|
19
|
+
shape: "rounded"
|
|
20
|
+
},
|
|
29
21
|
variants: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
buttonStyle: {
|
|
23
|
+
default: `
|
|
24
|
+
px-4
|
|
25
|
+
py-2
|
|
26
|
+
text-white
|
|
27
|
+
!bg-color-1-500
|
|
28
|
+
hover:!bg-color-1-400
|
|
29
|
+
active:!bg-color-1-400
|
|
30
|
+
`,
|
|
31
|
+
outline: `
|
|
32
|
+
px-4
|
|
33
|
+
py-2
|
|
34
|
+
bg-transparent
|
|
35
|
+
!border-color-1-500
|
|
36
|
+
text-color-1-500
|
|
37
|
+
hover:bg-color-1-500
|
|
38
|
+
hover:text-white
|
|
39
|
+
active:bg-color-1-500
|
|
40
|
+
active:text-white
|
|
41
|
+
`,
|
|
42
|
+
hollow: `
|
|
43
|
+
px-2
|
|
44
|
+
bg-transparent
|
|
45
|
+
text-color-1-500
|
|
46
|
+
hover:border-b-color-1-500
|
|
47
|
+
active:border-b-color-1-500
|
|
48
|
+
focus:border-b-color-1-500
|
|
49
|
+
|
|
50
|
+
`
|
|
51
|
+
},
|
|
52
|
+
intent: {
|
|
53
|
+
error: `
|
|
54
|
+
!bg-error
|
|
55
|
+
text-white
|
|
56
|
+
pointer-events-none
|
|
57
|
+
!border-error
|
|
58
|
+
`
|
|
59
|
+
},
|
|
60
|
+
size: {
|
|
61
|
+
default: "min-w-12 min-h-6",
|
|
62
|
+
large: "min-w-36 min-h-18"
|
|
63
|
+
},
|
|
64
|
+
shape: {
|
|
65
|
+
rounded: "rounded-md",
|
|
66
|
+
circular: "rounded-full"
|
|
33
67
|
}
|
|
34
68
|
}
|
|
35
|
-
})
|
|
36
|
-
base: "bg-color-1-400 "
|
|
37
|
-
}), c = e({
|
|
38
|
-
base: ""
|
|
39
|
-
}), b = {
|
|
40
|
-
carouselWrapper: r,
|
|
41
|
-
swiper: {
|
|
42
|
-
swiper: t,
|
|
43
|
-
wrapper: a
|
|
44
|
-
},
|
|
45
|
-
navigation: {
|
|
46
|
-
button: s
|
|
47
|
-
},
|
|
48
|
-
pagination: {
|
|
49
|
-
wrapper: i,
|
|
50
|
-
bullet: l
|
|
51
|
-
},
|
|
52
|
-
slide: {
|
|
53
|
-
wrapper: n,
|
|
54
|
-
container: c
|
|
55
|
-
}
|
|
56
|
-
};
|
|
69
|
+
});
|
|
57
70
|
export {
|
|
58
|
-
|
|
71
|
+
o as default
|
|
59
72
|
};
|
package/index84.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),t=e.tv({base:"inline-block text-gray-800"}),a=e.tv({base:"flex items-center justify-between pb-4"}),l=e.tv({base:"flex items-center gap-1"}),s=e.tv({base:"active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"}),i=e.tv({base:"flex-1"}),r=e.tv({base:"text-center"}),n=e.tv({base:"py-0.5 relative",variants:{isFocusVisible:{true:"z-10",false:""}}}),o=e.tv({base:"w-10 h-10 outline-none group",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",fasle:""},isDisabled:{true:"disabled",false:""},isRoundedLeft:{true:"rounded-l-full",false:""},isRoundedRight:{true:"rounded-r-full",false:""}},compoundVariants:[{isSelected:!0,isInvalid:!0,class:"bg-red-300"},{isSelected:!0,isInvalid:!1,class:"bg-color-1-300"}]}),c=e.tv({base:"w-full h-full rounded-full flex items-center justify-center cursor-pointer",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",fasle:""},isDisabled:{true:"",false:""},isFocusVisible:{true:"ring-2 group-focus:z-2 ring-violet-600 ring-offset-2",false:""},isSelectionStart:{true:"",false:""},isSelectionEnd:{true:"",false:""}},compoundVariants:[{isDisabled:!0,isInvalid:!1,class:"text-gray-400"},{isSelectionStart:!0,isSelectionEnd:!1,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!0,isSelectionEnd:!0,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!0,isSelectionEnd:!1,isInvalid:!1,class:"bg-color-1-400 text-white hover:bg-color-1-500"},{isSelectionStart:!0,isSelectionEnd:!0,isInvalid:!1,class:"bg-color-1-400 rounded-full text-white hover:bg-color-1-500"},{isSelectionStart:!1,isSelectionEnd:!0,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!1,isSelectionEnd:!0,isInvalid:!1,class:"bg-color-1-400 text-white hover:bg-color-1-500"},{isSelected:!1,isDisabled:!1,class:"hover:bg-color-1-100"},{isSelected:!0,isDisabled:!1,isInvalid:!1,isSelectionStart:!1,isSelectionEnd:!1,class:"hover:bg-color-1-300"},{isSelected:!0,isDisabled:!1,isInvalid:!0,isSelectionStart:!1,isSelectionEnd:!1,class:"hover:bg-red-400"}]});exports.calendarCell=o;exports.calendarCellContainer=n;exports.calendarCellFormattedDate=c;exports.calendarContainer=t;exports.calendarDayLabel=r;exports.calendarHeaderContainer=a;exports.calendarNavigationButtons=s;exports.calendarNavigationButtonsContainer=l;exports.calendarTable=i;
|
package/index84.mjs
CHANGED
|
@@ -1,47 +1,161 @@
|
|
|
1
1
|
import { tv as e } from "tailwind-variants";
|
|
2
|
-
const
|
|
3
|
-
base: "
|
|
2
|
+
const s = e({
|
|
3
|
+
base: "inline-block text-gray-800"
|
|
4
|
+
}), l = e({
|
|
5
|
+
base: "flex items-center justify-between pb-4"
|
|
6
|
+
}), a = e({
|
|
7
|
+
base: "flex items-center gap-1"
|
|
8
|
+
}), i = e({
|
|
9
|
+
base: "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"
|
|
10
|
+
}), r = e({
|
|
11
|
+
base: "flex-1"
|
|
12
|
+
}), n = e({
|
|
13
|
+
base: "text-center"
|
|
4
14
|
}), o = e({
|
|
5
|
-
base: "
|
|
15
|
+
base: "py-0.5 relative",
|
|
16
|
+
variants: {
|
|
17
|
+
isFocusVisible: {
|
|
18
|
+
true: "z-10",
|
|
19
|
+
false: ""
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}), c = e({
|
|
23
|
+
base: "w-10 h-10 outline-none group",
|
|
6
24
|
variants: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
25
|
+
isSelected: {
|
|
26
|
+
true: "",
|
|
27
|
+
false: ""
|
|
28
|
+
},
|
|
29
|
+
isInvalid: {
|
|
30
|
+
true: "",
|
|
31
|
+
fasle: ""
|
|
10
32
|
},
|
|
11
33
|
isDisabled: {
|
|
12
|
-
true: "
|
|
34
|
+
true: "disabled",
|
|
35
|
+
false: ""
|
|
36
|
+
},
|
|
37
|
+
isRoundedLeft: {
|
|
38
|
+
true: "rounded-l-full",
|
|
39
|
+
false: ""
|
|
40
|
+
},
|
|
41
|
+
isRoundedRight: {
|
|
42
|
+
true: "rounded-r-full",
|
|
43
|
+
false: ""
|
|
13
44
|
}
|
|
14
45
|
},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
46
|
+
compoundVariants: [
|
|
47
|
+
{
|
|
48
|
+
isSelected: !0,
|
|
49
|
+
isInvalid: !0,
|
|
50
|
+
class: "bg-red-300"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
isSelected: !0,
|
|
54
|
+
isInvalid: !1,
|
|
55
|
+
class: "bg-color-1-300"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}), d = e({
|
|
59
|
+
base: "w-full h-full rounded-full flex items-center justify-center cursor-pointer",
|
|
20
60
|
variants: {
|
|
61
|
+
isSelected: {
|
|
62
|
+
true: "",
|
|
63
|
+
false: ""
|
|
64
|
+
},
|
|
65
|
+
isInvalid: {
|
|
66
|
+
true: "",
|
|
67
|
+
fasle: ""
|
|
68
|
+
},
|
|
21
69
|
isDisabled: {
|
|
22
|
-
true: "
|
|
70
|
+
true: "",
|
|
71
|
+
false: ""
|
|
72
|
+
},
|
|
73
|
+
isFocusVisible: {
|
|
74
|
+
true: "ring-2 group-focus:z-2 ring-violet-600 ring-offset-2",
|
|
75
|
+
false: ""
|
|
23
76
|
},
|
|
24
|
-
|
|
25
|
-
true: "
|
|
77
|
+
isSelectionStart: {
|
|
78
|
+
true: "",
|
|
79
|
+
false: ""
|
|
26
80
|
},
|
|
27
|
-
|
|
28
|
-
true: "
|
|
81
|
+
isSelectionEnd: {
|
|
82
|
+
true: "",
|
|
83
|
+
false: ""
|
|
29
84
|
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
85
|
+
},
|
|
86
|
+
compoundVariants: [
|
|
87
|
+
{
|
|
88
|
+
isDisabled: !0,
|
|
89
|
+
isInvalid: !1,
|
|
90
|
+
class: "text-gray-400"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
isSelectionStart: !0,
|
|
94
|
+
isSelectionEnd: !1,
|
|
95
|
+
isInvalid: !0,
|
|
96
|
+
class: "bg-red-600 text-white hover:bg-red-700"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
isSelectionStart: !0,
|
|
100
|
+
isSelectionEnd: !0,
|
|
101
|
+
isInvalid: !0,
|
|
102
|
+
class: "bg-red-600 text-white hover:bg-red-700"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
isSelectionStart: !0,
|
|
106
|
+
isSelectionEnd: !1,
|
|
107
|
+
isInvalid: !1,
|
|
108
|
+
class: "bg-color-1-400 text-white hover:bg-color-1-500"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
isSelectionStart: !0,
|
|
112
|
+
isSelectionEnd: !0,
|
|
113
|
+
isInvalid: !1,
|
|
114
|
+
class: "bg-color-1-400 rounded-full text-white hover:bg-color-1-500"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
isSelectionStart: !1,
|
|
118
|
+
isSelectionEnd: !0,
|
|
119
|
+
isInvalid: !0,
|
|
120
|
+
class: "bg-red-600 text-white hover:bg-red-700"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
isSelectionStart: !1,
|
|
124
|
+
isSelectionEnd: !0,
|
|
125
|
+
isInvalid: !1,
|
|
126
|
+
class: "bg-color-1-400 text-white hover:bg-color-1-500"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
isSelected: !1,
|
|
130
|
+
isDisabled: !1,
|
|
131
|
+
class: "hover:bg-color-1-100"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
isSelected: !0,
|
|
135
|
+
isDisabled: !1,
|
|
136
|
+
isInvalid: !1,
|
|
137
|
+
isSelectionStart: !1,
|
|
138
|
+
isSelectionEnd: !1,
|
|
139
|
+
class: "hover:bg-color-1-300"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
isSelected: !0,
|
|
143
|
+
isDisabled: !1,
|
|
144
|
+
isInvalid: !0,
|
|
145
|
+
isSelectionStart: !1,
|
|
146
|
+
isSelectionEnd: !1,
|
|
147
|
+
class: "hover:bg-red-400"
|
|
36
148
|
}
|
|
37
|
-
|
|
38
|
-
}), s = e({
|
|
39
|
-
base: "text-white w-4 h-4 [&_svg]:w-4 [&_svg]:h-4"
|
|
149
|
+
]
|
|
40
150
|
});
|
|
41
151
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
152
|
+
c as calendarCell,
|
|
153
|
+
o as calendarCellContainer,
|
|
154
|
+
d as calendarCellFormattedDate,
|
|
155
|
+
s as calendarContainer,
|
|
156
|
+
n as calendarDayLabel,
|
|
157
|
+
l as calendarHeaderContainer,
|
|
158
|
+
i as calendarNavigationButtons,
|
|
159
|
+
a as calendarNavigationButtonsContainer,
|
|
160
|
+
r as calendarTable
|
|
47
161
|
};
|
package/index85.js
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const e=require("tailwind-variants"),r=require("./index83.js"),t=e.tv({base:"flex justify-between items-center gap-4 relative"}),o=e.tv({base:`
|
|
2
|
+
bg-color-1-300
|
|
3
|
+
m-2
|
|
4
|
+
rounded-lg
|
|
5
|
+
order-2
|
|
6
|
+
focus-visible:outline-2
|
|
7
|
+
focus-visible:outline-black
|
|
8
|
+
focus-visible:outline-offset-2
|
|
9
|
+
`}),a=e.tv({base:"m-4"}),s=e.tv({extend:r,variants:{order:{prev:"order-1",next:"order-3"}}}),i=e.tv({base:"flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"}),n=e.tv({base:"w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",variants:{active:{true:"bg-color-1-100",false:""}}}),l=e.tv({base:"bg-color-1-400 "}),c=e.tv({base:""}),u={carouselWrapper:t,swiper:{swiper:o,wrapper:a},navigation:{button:s},pagination:{wrapper:i,bullet:n},slide:{wrapper:l,container:c}};module.exports=u;
|
package/index85.mjs
CHANGED
|
@@ -1,15 +1,59 @@
|
|
|
1
|
-
import { tv as
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
import o from "./index83.mjs";
|
|
3
|
+
const r = e({
|
|
4
|
+
base: "flex justify-between items-center gap-4 relative"
|
|
5
|
+
}), t = e({
|
|
6
|
+
base: `
|
|
7
|
+
bg-color-1-300
|
|
8
|
+
m-2
|
|
9
|
+
rounded-lg
|
|
10
|
+
order-2
|
|
11
|
+
focus-visible:outline-2
|
|
12
|
+
focus-visible:outline-black
|
|
13
|
+
focus-visible:outline-offset-2
|
|
14
|
+
`
|
|
15
|
+
}), a = e({
|
|
16
|
+
base: "m-4"
|
|
17
|
+
}), s = e({
|
|
18
|
+
extend: o,
|
|
4
19
|
variants: {
|
|
5
|
-
|
|
6
|
-
|
|
20
|
+
order: {
|
|
21
|
+
prev: "order-1",
|
|
22
|
+
next: "order-3"
|
|
7
23
|
}
|
|
8
24
|
}
|
|
9
|
-
}),
|
|
10
|
-
base: "flex
|
|
11
|
-
})
|
|
25
|
+
}), i = e({
|
|
26
|
+
base: "flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"
|
|
27
|
+
}), l = e({
|
|
28
|
+
base: "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",
|
|
29
|
+
variants: {
|
|
30
|
+
active: {
|
|
31
|
+
true: "bg-color-1-100",
|
|
32
|
+
false: ""
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}), n = e({
|
|
36
|
+
base: "bg-color-1-400 "
|
|
37
|
+
}), c = e({
|
|
38
|
+
base: ""
|
|
39
|
+
}), b = {
|
|
40
|
+
carouselWrapper: r,
|
|
41
|
+
swiper: {
|
|
42
|
+
swiper: t,
|
|
43
|
+
wrapper: a
|
|
44
|
+
},
|
|
45
|
+
navigation: {
|
|
46
|
+
button: s
|
|
47
|
+
},
|
|
48
|
+
pagination: {
|
|
49
|
+
wrapper: i,
|
|
50
|
+
bullet: l
|
|
51
|
+
},
|
|
52
|
+
slide: {
|
|
53
|
+
wrapper: n,
|
|
54
|
+
container: c
|
|
55
|
+
}
|
|
56
|
+
};
|
|
12
57
|
export {
|
|
13
|
-
|
|
14
|
-
c as checkboxGroupItemsGroup
|
|
58
|
+
b as default
|
|
15
59
|
};
|
package/index86.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),r=e.tv({base:"flex focus-ring-black"}),t=e.tv({base:"hover:cursor-pointer",variants:{color:{gray:"text-gray-300",black:"text-black"},isDisabled:{true:"text-gray-6"}},defaultVariants:{color:"black"}}),c=e.tv({base:"w-6 h-6 mt-0.5 mr-2.5 rounded-full border-2 border-gray-2 shrink-0 hover:cursor-pointer flex items-center justify-center",variants:{isDisabled:{true:"border-gray-6"},isFocused:{true:"outline-black [outline-offset: 2px]"},isError:{true:"border-red-500"}}}),o=e.tv({base:"hidden w-4 h-4 bg-gray-300 rounded-full",variants:{selected:{true:"block text-white"}}}),a=e.tv({base:"text-white w-4 h-4 [&_svg]:w-4 [&_svg]:h-4"});exports.checkBox=c;exports.checkMark=o;exports.checkMarkIcon=a;exports.checkboxContainer=r;exports.checkboxLabel=t;
|