@okam/stack-ui 1.36.1 → 1.37.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/CHANGELOG.md +14 -0
- package/components/Dialog/interface.d.ts +5 -3
- package/components/Lightbox/interface.d.ts +2 -0
- package/components/Modal/interface.d.ts +6 -4
- package/components/SidePanel/interface.d.ts +9 -6
- package/hooks/useLabelledOverlay/index.d.ts +9 -0
- package/hooks/useLabelledOverlay/interface.d.ts +14 -0
- package/index.d.ts +2 -1
- package/index.js +1 -1
- package/index.mjs +72 -70
- package/index100.js +5 -1
- package/index100.mjs +88 -6
- package/index101.js +1 -12
- package/index101.mjs +6 -40
- package/index102.js +12 -1
- package/index102.mjs +36 -25
- package/index103.js +1 -1
- package/index103.mjs +24 -8
- package/index104.js +1 -7
- package/index104.mjs +7 -13
- package/index105.js +6 -14
- package/index105.mjs +13 -65
- package/index106.js +15 -1
- package/index106.mjs +71 -7
- package/index107.js +1 -41
- package/index107.mjs +7 -106
- package/index108.js +32 -38
- package/index108.mjs +78 -74
- package/index109.js +46 -15
- package/index109.mjs +96 -19
- package/index110.js +16 -1
- package/index110.mjs +20 -37
- package/index111.js +1 -1
- package/index111.mjs +42 -48
- package/index112.js +1 -1
- package/index112.mjs +47 -22
- package/index113.js +1 -2
- package/index113.mjs +22 -21
- package/index123.js +1 -1
- package/index123.mjs +1 -1
- package/index131.js +1 -1
- package/index131.mjs +23 -8
- package/index132.js +1 -1
- package/index132.mjs +1 -1
- package/index133.js +1 -1
- package/index133.mjs +4 -4
- package/index134.js +1 -1
- package/index134.mjs +2 -2
- package/index135.js +1 -1
- package/index135.mjs +9 -9
- package/index139.js +1 -1
- package/index139.mjs +6 -18
- package/index145.js +1 -1
- package/index145.mjs +1 -1
- package/index150.js +1 -1
- package/index150.mjs +54 -18
- package/index151.js +1 -1
- package/index151.mjs +21 -6
- package/index152.js +1 -1
- package/index152.mjs +5 -11
- package/index153.js +1 -1
- package/index153.mjs +12 -57
- package/index159.js +1 -1
- package/index159.mjs +1 -1
- package/index162.js +1 -1
- package/index162.mjs +1 -1
- package/index178.js +1 -1
- package/index178.mjs +1 -1
- package/index18.js +1 -1
- package/index18.mjs +1 -1
- package/index196.js +1 -1
- package/index196.mjs +122 -138
- package/index197.js +1 -1
- package/index197.mjs +129 -192
- package/index198.js +1 -1
- package/index198.mjs +44 -22
- package/index199.js +1 -1
- package/index199.mjs +14 -49
- package/index2.js +1 -1
- package/index2.mjs +21 -21
- package/index200.js +1 -1
- package/index200.mjs +93 -46
- package/index201.js +1 -1
- package/index201.mjs +98 -89
- package/index202.js +1 -1
- package/index202.mjs +5 -72
- package/index203.js +1 -1
- package/index203.mjs +3 -68
- package/index204.js +1 -1
- package/index204.mjs +125 -7
- package/index205.js +1 -1
- package/index205.mjs +29 -11
- package/index206.js +1 -1
- package/index206.mjs +40 -113
- package/index207.js +1 -1
- package/index207.mjs +41 -131
- package/index208.js +1 -1
- package/index208.mjs +36 -43
- package/index209.js +1 -1
- package/index209.mjs +110 -11
- package/index210.js +1 -1
- package/index210.mjs +59 -77
- package/index211.js +1 -1
- package/index211.mjs +94 -99
- package/index212.js +1 -1
- package/index212.mjs +98 -5
- package/index213.js +1 -1
- package/index213.mjs +140 -3
- package/index214.js +1 -1
- package/index214.mjs +191 -119
- package/index215.js +1 -1
- package/index215.mjs +22 -29
- package/index216.js +1 -1
- package/index216.mjs +49 -51
- package/index217.js +1 -1
- package/index217.mjs +47 -43
- package/index218.js +1 -1
- package/index218.mjs +95 -35
- package/index219.js +1 -1
- package/index219.mjs +72 -114
- package/index220.js +1 -1
- package/index220.mjs +67 -76
- package/index221.js +1 -1
- package/index221.mjs +7 -101
- package/index222.js +1 -1
- package/index222.mjs +12 -98
- package/index250.js +1 -1
- package/index250.mjs +1 -1
- package/index255.js +1 -1
- package/index255.mjs +5 -5
- package/index256.js +1 -1
- package/index256.mjs +1 -1
- package/index257.js +1 -1
- package/index257.mjs +4 -4
- package/index258.js +1 -1
- package/index258.mjs +1 -1
- package/index259.js +1 -1
- package/index259.mjs +1 -1
- package/index260.js +1 -1
- package/index260.mjs +4 -4
- package/index261.js +1 -1
- package/index261.mjs +4 -4
- package/index262.js +1 -1
- package/index262.mjs +1 -1
- package/index263.js +1 -1
- package/index263.mjs +4 -4
- package/index264.js +1 -1
- package/index264.mjs +4 -4
- package/index265.js +1 -1
- package/index265.mjs +1 -1
- package/index266.js +1 -1
- package/index266.mjs +4 -4
- package/index267.js +1 -1
- package/index267.mjs +4 -4
- package/index268.js +1 -1
- package/index268.mjs +1 -1
- package/index269.js +1 -1
- package/index269.mjs +1 -1
- package/index270.js +1 -1
- package/index270.mjs +4 -4
- package/index271.js +1 -1
- package/index271.mjs +4 -4
- package/index272.js +1 -1
- package/index272.mjs +1 -1
- package/index273.js +1 -1
- package/index273.mjs +4 -4
- package/index274.js +1 -1
- package/index274.mjs +4 -4
- package/index275.js +1 -1
- package/index275.mjs +4 -4
- package/index276.js +1 -1
- package/index276.mjs +1 -1
- package/index277.js +1 -1
- package/index277.mjs +4 -4
- package/index278.js +1 -1
- package/index278.mjs +4 -4
- package/index279.js +1 -1
- package/index279.mjs +4 -4
- package/index280.js +1 -1
- package/index280.mjs +4 -4
- package/index281.js +1 -1
- package/index281.mjs +4 -4
- package/index282.js +1 -1
- package/index282.mjs +1 -1
- package/index283.js +1 -1
- package/index283.mjs +1 -1
- package/index284.js +1 -1
- package/index284.mjs +1 -1
- package/index285.js +1 -1
- package/index285.mjs +4 -4
- package/index286.js +1 -1
- package/index286.mjs +4 -4
- package/index287.js +1 -1
- package/index287.mjs +4 -4
- package/index288.js +1 -1
- package/index288.mjs +4 -4
- package/index289.js +1 -1
- package/index289.mjs +5 -5
- package/index30.js +1 -1
- package/index30.mjs +15 -12
- package/index310.js +1 -1
- package/index310.mjs +1 -1
- package/index35.js +1 -1
- package/index35.mjs +20 -20
- package/index38.js +1 -1
- package/index38.mjs +13 -13
- package/index4.js +1 -1
- package/index4.mjs +1 -1
- package/index43.js +1 -1
- package/index43.mjs +1 -1
- package/index45.js +1 -1
- package/index45.mjs +1 -1
- package/index75.js +1 -1
- package/index75.mjs +34 -29
- package/index8.js +1 -1
- package/index8.mjs +45 -34
- package/index81.js +1 -1
- package/index81.mjs +1 -1
- package/index89.js +2 -1
- package/index89.mjs +20 -5
- package/index9.js +1 -1
- package/index9.mjs +32 -30
- package/index90.js +1 -1
- package/index90.mjs +5 -2
- package/index91.js +1 -6
- package/index91.mjs +2 -94
- package/index92.js +6 -1
- package/index92.mjs +79 -54
- package/index93.js +1 -1
- package/index93.mjs +61 -33
- package/index94.js +1 -42
- package/index94.mjs +34 -67
- package/index95.js +38 -60
- package/index95.mjs +65 -219
- package/index96.js +63 -8
- package/index96.mjs +215 -44
- package/index97.js +9 -1
- package/index97.mjs +48 -36
- package/index98.js +1 -1
- package/index98.mjs +40 -8
- package/index99.js +1 -5
- package/index99.mjs +10 -85
- package/package.json +1 -1
- package/providers/SidePanel/interface.d.ts +13 -4
- package/theme/SidePanel/index.d.ts +1 -1
- package/components/Lightbox/hooks/overlay/index.d.ts +0 -79
package/index95.mjs
CHANGED
|
@@ -1,230 +1,76 @@
|
|
|
1
1
|
import { tv as e } from "tailwind-variants";
|
|
2
|
-
const
|
|
3
|
-
base: "text-gray-800 flex flex-col gap-4"
|
|
4
|
-
}), a = e({
|
|
5
|
-
base: "flex items-center justify-between"
|
|
6
|
-
}), r = e({
|
|
7
|
-
base: "text-2xl text-color-1-500 font-bold"
|
|
8
|
-
}), l = e({
|
|
9
|
-
base: ""
|
|
10
|
-
});
|
|
11
|
-
e({
|
|
12
|
-
base: ""
|
|
13
|
-
});
|
|
14
|
-
e({
|
|
15
|
-
base: ""
|
|
16
|
-
});
|
|
17
|
-
e({
|
|
18
|
-
base: ""
|
|
19
|
-
});
|
|
20
|
-
const s = e({
|
|
21
|
-
base: "flex items-center gap-1"
|
|
22
|
-
}), n = e({
|
|
2
|
+
const o = e({
|
|
23
3
|
base: `
|
|
24
|
-
active:bg-color-1-500
|
|
25
|
-
p-2
|
|
26
|
-
rounded-full
|
|
27
|
-
active:text-color-1-100
|
|
28
|
-
hover:bg-color-1-200
|
|
29
|
-
focus-ring-black
|
|
30
|
-
transition-all
|
|
31
|
-
duration-300
|
|
32
|
-
ease-in-out
|
|
33
|
-
`
|
|
34
|
-
}), o = e({
|
|
35
|
-
base: `
|
|
36
|
-
border-spacing-2
|
|
37
|
-
border-separate
|
|
38
|
-
`
|
|
39
|
-
}), i = e({
|
|
40
|
-
base: `
|
|
41
|
-
text-center
|
|
42
|
-
capitalize
|
|
43
|
-
rounded-lg
|
|
44
|
-
p-2
|
|
45
|
-
mx-2
|
|
46
|
-
bg-color-1-300
|
|
47
|
-
`
|
|
48
|
-
}), c = e({
|
|
49
|
-
base: "text-center",
|
|
50
|
-
variants: {
|
|
51
|
-
isFocusVisible: {
|
|
52
|
-
true: "z-10",
|
|
53
|
-
false: ""
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}), u = e({
|
|
57
|
-
base: "w-10 h-10",
|
|
58
|
-
variants: {
|
|
59
|
-
isSelected: {
|
|
60
|
-
true: "",
|
|
61
|
-
false: ""
|
|
62
|
-
},
|
|
63
|
-
isInvalid: {
|
|
64
|
-
true: "",
|
|
65
|
-
false: ""
|
|
66
|
-
},
|
|
67
|
-
isDisabled: {
|
|
68
|
-
true: "disabled pointer-events-none",
|
|
69
|
-
false: ""
|
|
70
|
-
},
|
|
71
|
-
isUnavailable: {
|
|
72
|
-
true: "pointer-events-none",
|
|
73
|
-
false: ""
|
|
74
|
-
},
|
|
75
|
-
isOutsideRange: {
|
|
76
|
-
true: "pointer-events-none",
|
|
77
|
-
false: ""
|
|
78
|
-
},
|
|
79
|
-
isOutsideVisibleRange: {
|
|
80
|
-
true: "pointer-events-none",
|
|
81
|
-
false: ""
|
|
82
|
-
},
|
|
83
|
-
isRoundedLeft: {
|
|
84
|
-
true: "rounded-l-full",
|
|
85
|
-
false: ""
|
|
86
|
-
},
|
|
87
|
-
isRoundedRight: {
|
|
88
|
-
true: "rounded-r-full",
|
|
89
|
-
false: ""
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
compoundVariants: [
|
|
93
|
-
{
|
|
94
|
-
isSelected: [!0, !1],
|
|
95
|
-
isInvalid: !0,
|
|
96
|
-
class: "bg-error-400 hover:bg-error-500"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
isSelected: !0
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
}), d = e({
|
|
103
|
-
base: `
|
|
104
|
-
w-full
|
|
105
|
-
h-full
|
|
106
4
|
flex
|
|
107
5
|
items-center
|
|
108
6
|
justify-center
|
|
109
|
-
|
|
110
|
-
transition
|
|
111
|
-
duration-
|
|
7
|
+
gap-4
|
|
8
|
+
transition
|
|
9
|
+
duration-300
|
|
112
10
|
ease-in-out
|
|
113
|
-
|
|
11
|
+
disabled:pointer-events-none
|
|
12
|
+
disabled:opacity-30
|
|
13
|
+
focus-ring-black
|
|
114
14
|
`,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
hover:bg-color-1-500
|
|
121
|
-
`,
|
|
122
|
-
false: `
|
|
123
|
-
rounded-full
|
|
124
|
-
hover:text-white
|
|
125
|
-
hover:bg-color-1-400
|
|
126
|
-
`
|
|
127
|
-
},
|
|
128
|
-
isInvalid: {
|
|
129
|
-
true: "",
|
|
130
|
-
fasle: ""
|
|
131
|
-
},
|
|
132
|
-
isDisabled: {
|
|
133
|
-
true: "opacity-50",
|
|
134
|
-
false: ""
|
|
135
|
-
},
|
|
136
|
-
isUnavailable: {
|
|
137
|
-
true: "text-gray-200",
|
|
138
|
-
false: ""
|
|
139
|
-
},
|
|
140
|
-
isOutsideRange: {
|
|
141
|
-
true: `
|
|
142
|
-
text-black
|
|
143
|
-
before:content-['/']
|
|
144
|
-
before:text-gray-400
|
|
145
|
-
before:[font-weight:100]
|
|
146
|
-
before:text-4xl
|
|
147
|
-
before:absolute
|
|
148
|
-
before:inset-0
|
|
149
|
-
before:flex
|
|
150
|
-
before:items-center
|
|
151
|
-
before:justify-center
|
|
152
|
-
`,
|
|
153
|
-
false: ""
|
|
154
|
-
},
|
|
155
|
-
isOutsideVisibleRange: {
|
|
156
|
-
true: "text-gray-400",
|
|
157
|
-
false: ""
|
|
158
|
-
},
|
|
159
|
-
isFocusVisible: {
|
|
160
|
-
true: "",
|
|
161
|
-
false: ""
|
|
162
|
-
},
|
|
163
|
-
isSelectionStart: {
|
|
164
|
-
true: "",
|
|
165
|
-
false: ""
|
|
166
|
-
},
|
|
167
|
-
isSelectionEnd: {
|
|
168
|
-
true: "",
|
|
169
|
-
false: ""
|
|
170
|
-
}
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
buttonStyle: "default",
|
|
17
|
+
type: "button",
|
|
18
|
+
size: "default",
|
|
19
|
+
shape: "rounded"
|
|
171
20
|
},
|
|
172
|
-
|
|
173
|
-
{
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
21
|
+
variants: {
|
|
22
|
+
type: {
|
|
23
|
+
button: "",
|
|
24
|
+
menu: "text-2xl"
|
|
25
|
+
},
|
|
26
|
+
buttonStyle: {
|
|
27
|
+
default: `
|
|
28
|
+
px-4
|
|
29
|
+
py-2
|
|
30
|
+
text-white
|
|
31
|
+
!bg-color-1-500
|
|
32
|
+
hover:!bg-color-1-400
|
|
33
|
+
active:!bg-color-1-400
|
|
34
|
+
`,
|
|
35
|
+
outline: `
|
|
36
|
+
px-4
|
|
37
|
+
py-2
|
|
38
|
+
bg-transparent
|
|
39
|
+
!border-color-1-500
|
|
40
|
+
text-color-1-500
|
|
41
|
+
hover:bg-color-1-500
|
|
42
|
+
hover:text-white
|
|
43
|
+
active:bg-color-1-500
|
|
44
|
+
active:text-white
|
|
45
|
+
`,
|
|
46
|
+
hollow: `
|
|
47
|
+
px-2
|
|
48
|
+
bg-transparent
|
|
49
|
+
text-color-1-500
|
|
50
|
+
hover:border-b-color-1-500
|
|
51
|
+
active:border-b-color-1-500
|
|
52
|
+
focus:border-b-color-1-500
|
|
53
|
+
|
|
54
|
+
`
|
|
55
|
+
},
|
|
56
|
+
intent: {
|
|
57
|
+
error: `
|
|
58
|
+
!bg-error
|
|
59
|
+
text-white
|
|
60
|
+
pointer-events-none
|
|
61
|
+
!border-error
|
|
62
|
+
`
|
|
63
|
+
},
|
|
64
|
+
size: {
|
|
65
|
+
default: "min-w-12 min-h-6",
|
|
66
|
+
large: "min-w-36 min-h-18"
|
|
67
|
+
},
|
|
68
|
+
shape: {
|
|
69
|
+
rounded: "rounded-md",
|
|
70
|
+
circular: "rounded-full"
|
|
202
71
|
}
|
|
203
|
-
|
|
204
|
-
})
|
|
205
|
-
container: t,
|
|
206
|
-
header: a,
|
|
207
|
-
calendarHeaderContainer: l,
|
|
208
|
-
title: r,
|
|
209
|
-
navigationButtonsContainer: s,
|
|
210
|
-
navigationButtons: n,
|
|
211
|
-
calendarTable: o,
|
|
212
|
-
calendarDayLabel: i,
|
|
213
|
-
cellContainer: c,
|
|
214
|
-
cell: u,
|
|
215
|
-
cellDate: d
|
|
216
|
-
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
217
74
|
export {
|
|
218
|
-
|
|
219
|
-
c as calendarCellContainer,
|
|
220
|
-
d as calendarCellDate,
|
|
221
|
-
t as calendarContainer,
|
|
222
|
-
i as calendarDayLabel,
|
|
223
|
-
a as calendarHeader,
|
|
224
|
-
l as calendarHeaderContainer,
|
|
225
|
-
n as calendarNavigationButtons,
|
|
226
|
-
s as calendarNavigationButtonsContainer,
|
|
227
|
-
o as calendarTable,
|
|
228
|
-
f as calendarTheme,
|
|
229
|
-
r as calendarTitle
|
|
75
|
+
o as default
|
|
230
76
|
};
|
package/index96.js
CHANGED
|
@@ -1,9 +1,64 @@
|
|
|
1
|
-
"use strict";const e=require("tailwind-variants"),
|
|
2
|
-
bg-color-1-
|
|
3
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),t=e.tv({base:"text-gray-800 flex flex-col gap-4"}),a=e.tv({base:"flex items-center justify-between"}),r=e.tv({base:"text-2xl text-color-1-500 font-bold"}),l=e.tv({base:""});e.tv({base:""});e.tv({base:""});e.tv({base:""});const n=e.tv({base:"flex items-center gap-1"}),s=e.tv({base:`
|
|
2
|
+
active:bg-color-1-500
|
|
3
|
+
p-2
|
|
4
|
+
rounded-full
|
|
5
|
+
active:text-color-1-100
|
|
6
|
+
hover:bg-color-1-200
|
|
7
|
+
focus-ring-black
|
|
8
|
+
transition-all
|
|
9
|
+
duration-300
|
|
10
|
+
ease-in-out
|
|
11
|
+
`}),i=e.tv({base:`
|
|
12
|
+
border-spacing-2
|
|
13
|
+
border-separate
|
|
14
|
+
`}),o=e.tv({base:`
|
|
15
|
+
text-center
|
|
16
|
+
capitalize
|
|
4
17
|
rounded-lg
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
18
|
+
p-2
|
|
19
|
+
mx-2
|
|
20
|
+
bg-color-1-300
|
|
21
|
+
`}),c=e.tv({base:"text-center",variants:{isFocusVisible:{true:"z-10",false:""}}}),d=e.tv({base:"w-10 h-10",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",false:""},isDisabled:{true:"disabled pointer-events-none",false:""},isUnavailable:{true:"pointer-events-none",false:""},isOutsideRange:{true:"pointer-events-none",false:""},isOutsideVisibleRange:{true:"pointer-events-none",false:""},isRoundedLeft:{true:"rounded-l-full",false:""},isRoundedRight:{true:"rounded-r-full",false:""}},compoundVariants:[{isSelected:[!0,!1],isInvalid:!0,class:"bg-error-400 hover:bg-error-500"},{isSelected:!0}]}),u=e.tv({base:`
|
|
22
|
+
w-full
|
|
23
|
+
h-full
|
|
24
|
+
flex
|
|
25
|
+
items-center
|
|
26
|
+
justify-center
|
|
27
|
+
cursor-pointer
|
|
28
|
+
transition-all
|
|
29
|
+
duration-100
|
|
30
|
+
ease-in-out
|
|
31
|
+
relative
|
|
32
|
+
`,variants:{isSelected:{true:`
|
|
33
|
+
bg-color-1-400
|
|
34
|
+
text-white
|
|
35
|
+
hover:bg-color-1-500
|
|
36
|
+
`,false:`
|
|
37
|
+
rounded-full
|
|
38
|
+
hover:text-white
|
|
39
|
+
hover:bg-color-1-400
|
|
40
|
+
`},isInvalid:{true:"",fasle:""},isDisabled:{true:"opacity-50",false:""},isUnavailable:{true:"text-gray-200",false:""},isOutsideRange:{true:`
|
|
41
|
+
text-black
|
|
42
|
+
before:content-['/']
|
|
43
|
+
before:text-gray-400
|
|
44
|
+
before:[font-weight:100]
|
|
45
|
+
before:text-4xl
|
|
46
|
+
before:absolute
|
|
47
|
+
before:inset-0
|
|
48
|
+
before:flex
|
|
49
|
+
before:items-center
|
|
50
|
+
before:justify-center
|
|
51
|
+
`,false:""},isOutsideVisibleRange:{true:"text-gray-400",false:""},isFocusVisible:{true:"",false:""},isSelectionStart:{true:"",false:""},isSelectionEnd:{true:"",false:""}},compoundVariants:[{isSelectionStart:[!0,!1],isSelectionEnd:[!0,!1],isDisabled:!1,isOutsideRange:!1,isUnavailable:!1,isInvalid:!0,class:`
|
|
52
|
+
bg-error-400
|
|
53
|
+
hover:bg-error-500
|
|
54
|
+
`},{isSelectionStart:!0,class:`
|
|
55
|
+
rounded-l-full
|
|
56
|
+
bg-color-1-400
|
|
57
|
+
text-white
|
|
58
|
+
hover:bg-color-1-500
|
|
59
|
+
`},{isSelectionEnd:!0,class:`
|
|
60
|
+
rounded-r-full
|
|
61
|
+
bg-color-1-400
|
|
62
|
+
text-white
|
|
63
|
+
hover:bg-color-1-500
|
|
64
|
+
`}]}),b={container:t,header:a,calendarHeaderContainer:l,title:r,navigationButtonsContainer:n,navigationButtons:s,calendarTable:i,calendarDayLabel:o,cellContainer:c,cell:d,cellDate:u};exports.calendarCell=d;exports.calendarCellContainer=c;exports.calendarCellDate=u;exports.calendarContainer=t;exports.calendarDayLabel=o;exports.calendarHeader=a;exports.calendarHeaderContainer=l;exports.calendarNavigationButtons=s;exports.calendarNavigationButtonsContainer=n;exports.calendarTable=i;exports.calendarTheme=b;exports.calendarTitle=r;
|
package/index96.mjs
CHANGED
|
@@ -1,59 +1,230 @@
|
|
|
1
1
|
import { tv as e } from "tailwind-variants";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
const t = e({
|
|
3
|
+
base: "text-gray-800 flex flex-col gap-4"
|
|
4
|
+
}), a = e({
|
|
5
|
+
base: "flex items-center justify-between"
|
|
6
|
+
}), r = e({
|
|
7
|
+
base: "text-2xl text-color-1-500 font-bold"
|
|
8
|
+
}), l = e({
|
|
9
|
+
base: ""
|
|
10
|
+
});
|
|
11
|
+
e({
|
|
12
|
+
base: ""
|
|
13
|
+
});
|
|
14
|
+
e({
|
|
15
|
+
base: ""
|
|
16
|
+
});
|
|
17
|
+
e({
|
|
18
|
+
base: ""
|
|
19
|
+
});
|
|
20
|
+
const s = e({
|
|
21
|
+
base: "flex items-center gap-1"
|
|
22
|
+
}), n = e({
|
|
6
23
|
base: `
|
|
7
|
-
bg-color-1-
|
|
8
|
-
|
|
24
|
+
active:bg-color-1-500
|
|
25
|
+
p-2
|
|
26
|
+
rounded-full
|
|
27
|
+
active:text-color-1-100
|
|
28
|
+
hover:bg-color-1-200
|
|
29
|
+
focus-ring-black
|
|
30
|
+
transition-all
|
|
31
|
+
duration-300
|
|
32
|
+
ease-in-out
|
|
33
|
+
`
|
|
34
|
+
}), o = e({
|
|
35
|
+
base: `
|
|
36
|
+
border-spacing-2
|
|
37
|
+
border-separate
|
|
38
|
+
`
|
|
39
|
+
}), i = e({
|
|
40
|
+
base: `
|
|
41
|
+
text-center
|
|
42
|
+
capitalize
|
|
9
43
|
rounded-lg
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
focus-visible:outline-offset-2
|
|
44
|
+
p-2
|
|
45
|
+
mx-2
|
|
46
|
+
bg-color-1-300
|
|
14
47
|
`
|
|
15
|
-
}),
|
|
16
|
-
base: "
|
|
17
|
-
}), s = e({
|
|
18
|
-
extend: o,
|
|
48
|
+
}), c = e({
|
|
49
|
+
base: "text-center",
|
|
19
50
|
variants: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
51
|
+
isFocusVisible: {
|
|
52
|
+
true: "z-10",
|
|
53
|
+
false: ""
|
|
23
54
|
}
|
|
24
55
|
}
|
|
25
|
-
}),
|
|
26
|
-
base: "
|
|
27
|
-
}), l = e({
|
|
28
|
-
base: "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",
|
|
56
|
+
}), u = e({
|
|
57
|
+
base: "w-10 h-10",
|
|
29
58
|
variants: {
|
|
30
|
-
|
|
31
|
-
true: "
|
|
59
|
+
isSelected: {
|
|
60
|
+
true: "",
|
|
61
|
+
false: ""
|
|
62
|
+
},
|
|
63
|
+
isInvalid: {
|
|
64
|
+
true: "",
|
|
65
|
+
false: ""
|
|
66
|
+
},
|
|
67
|
+
isDisabled: {
|
|
68
|
+
true: "disabled pointer-events-none",
|
|
69
|
+
false: ""
|
|
70
|
+
},
|
|
71
|
+
isUnavailable: {
|
|
72
|
+
true: "pointer-events-none",
|
|
73
|
+
false: ""
|
|
74
|
+
},
|
|
75
|
+
isOutsideRange: {
|
|
76
|
+
true: "pointer-events-none",
|
|
77
|
+
false: ""
|
|
78
|
+
},
|
|
79
|
+
isOutsideVisibleRange: {
|
|
80
|
+
true: "pointer-events-none",
|
|
81
|
+
false: ""
|
|
82
|
+
},
|
|
83
|
+
isRoundedLeft: {
|
|
84
|
+
true: "rounded-l-full",
|
|
85
|
+
false: ""
|
|
86
|
+
},
|
|
87
|
+
isRoundedRight: {
|
|
88
|
+
true: "rounded-r-full",
|
|
32
89
|
false: ""
|
|
33
90
|
}
|
|
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
91
|
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
92
|
+
compoundVariants: [
|
|
93
|
+
{
|
|
94
|
+
isSelected: [!0, !1],
|
|
95
|
+
isInvalid: !0,
|
|
96
|
+
class: "bg-error-400 hover:bg-error-500"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
isSelected: !0
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}), d = e({
|
|
103
|
+
base: `
|
|
104
|
+
w-full
|
|
105
|
+
h-full
|
|
106
|
+
flex
|
|
107
|
+
items-center
|
|
108
|
+
justify-center
|
|
109
|
+
cursor-pointer
|
|
110
|
+
transition-all
|
|
111
|
+
duration-100
|
|
112
|
+
ease-in-out
|
|
113
|
+
relative
|
|
114
|
+
`,
|
|
115
|
+
variants: {
|
|
116
|
+
isSelected: {
|
|
117
|
+
true: `
|
|
118
|
+
bg-color-1-400
|
|
119
|
+
text-white
|
|
120
|
+
hover:bg-color-1-500
|
|
121
|
+
`,
|
|
122
|
+
false: `
|
|
123
|
+
rounded-full
|
|
124
|
+
hover:text-white
|
|
125
|
+
hover:bg-color-1-400
|
|
126
|
+
`
|
|
127
|
+
},
|
|
128
|
+
isInvalid: {
|
|
129
|
+
true: "",
|
|
130
|
+
fasle: ""
|
|
131
|
+
},
|
|
132
|
+
isDisabled: {
|
|
133
|
+
true: "opacity-50",
|
|
134
|
+
false: ""
|
|
135
|
+
},
|
|
136
|
+
isUnavailable: {
|
|
137
|
+
true: "text-gray-200",
|
|
138
|
+
false: ""
|
|
139
|
+
},
|
|
140
|
+
isOutsideRange: {
|
|
141
|
+
true: `
|
|
142
|
+
text-black
|
|
143
|
+
before:content-['/']
|
|
144
|
+
before:text-gray-400
|
|
145
|
+
before:[font-weight:100]
|
|
146
|
+
before:text-4xl
|
|
147
|
+
before:absolute
|
|
148
|
+
before:inset-0
|
|
149
|
+
before:flex
|
|
150
|
+
before:items-center
|
|
151
|
+
before:justify-center
|
|
152
|
+
`,
|
|
153
|
+
false: ""
|
|
154
|
+
},
|
|
155
|
+
isOutsideVisibleRange: {
|
|
156
|
+
true: "text-gray-400",
|
|
157
|
+
false: ""
|
|
158
|
+
},
|
|
159
|
+
isFocusVisible: {
|
|
160
|
+
true: "",
|
|
161
|
+
false: ""
|
|
162
|
+
},
|
|
163
|
+
isSelectionStart: {
|
|
164
|
+
true: "",
|
|
165
|
+
false: ""
|
|
166
|
+
},
|
|
167
|
+
isSelectionEnd: {
|
|
168
|
+
true: "",
|
|
169
|
+
false: ""
|
|
170
|
+
}
|
|
51
171
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
172
|
+
compoundVariants: [
|
|
173
|
+
{
|
|
174
|
+
isSelectionStart: [!0, !1],
|
|
175
|
+
isSelectionEnd: [!0, !1],
|
|
176
|
+
isDisabled: !1,
|
|
177
|
+
isOutsideRange: !1,
|
|
178
|
+
isUnavailable: !1,
|
|
179
|
+
isInvalid: !0,
|
|
180
|
+
class: `
|
|
181
|
+
bg-error-400
|
|
182
|
+
hover:bg-error-500
|
|
183
|
+
`
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
isSelectionStart: !0,
|
|
187
|
+
class: `
|
|
188
|
+
rounded-l-full
|
|
189
|
+
bg-color-1-400
|
|
190
|
+
text-white
|
|
191
|
+
hover:bg-color-1-500
|
|
192
|
+
`
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
isSelectionEnd: !0,
|
|
196
|
+
class: `
|
|
197
|
+
rounded-r-full
|
|
198
|
+
bg-color-1-400
|
|
199
|
+
text-white
|
|
200
|
+
hover:bg-color-1-500
|
|
201
|
+
`
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
}), f = {
|
|
205
|
+
container: t,
|
|
206
|
+
header: a,
|
|
207
|
+
calendarHeaderContainer: l,
|
|
208
|
+
title: r,
|
|
209
|
+
navigationButtonsContainer: s,
|
|
210
|
+
navigationButtons: n,
|
|
211
|
+
calendarTable: o,
|
|
212
|
+
calendarDayLabel: i,
|
|
213
|
+
cellContainer: c,
|
|
214
|
+
cell: u,
|
|
215
|
+
cellDate: d
|
|
56
216
|
};
|
|
57
217
|
export {
|
|
58
|
-
|
|
218
|
+
u as calendarCell,
|
|
219
|
+
c as calendarCellContainer,
|
|
220
|
+
d as calendarCellDate,
|
|
221
|
+
t as calendarContainer,
|
|
222
|
+
i as calendarDayLabel,
|
|
223
|
+
a as calendarHeader,
|
|
224
|
+
l as calendarHeaderContainer,
|
|
225
|
+
n as calendarNavigationButtons,
|
|
226
|
+
s as calendarNavigationButtonsContainer,
|
|
227
|
+
o as calendarTable,
|
|
228
|
+
f as calendarTheme,
|
|
229
|
+
r as calendarTitle
|
|
59
230
|
};
|
package/index97.js
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const e=require("tailwind-variants"),r=require("./index95.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;
|