@chaibuilder/sdk 0.1.19 → 0.1.21
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/{AddBlocks-d5a8235d.js → AddBlocks-b2d43d6c.js} +5 -6
- package/dist/AddBlocks-b510ac3a.cjs +3 -0
- package/dist/BrandingOptions-6fbe4b26.cjs +1 -0
- package/dist/{BrandingOptions-e77f91bc.js → BrandingOptions-7f66e02c.js} +5 -6
- package/dist/{CanvasArea-50356121.js → CanvasArea-68841a13.js} +10 -11
- package/dist/{CanvasArea-a09ed911.cjs → CanvasArea-a8d28eb3.cjs} +6 -6
- package/dist/{CurrentPage-0dd3a1fe.js → CurrentPage-6655ce50.js} +5 -6
- package/dist/CurrentPage-c10e6c89.cjs +1 -0
- package/dist/Layers-595cc98e.cjs +1 -0
- package/dist/{Layers-e17bbf6a.js → Layers-99bdc689.js} +48 -49
- package/dist/{MODIFIERS-c2e02614.js → MODIFIERS-2f19c314.js} +13 -7
- package/dist/MODIFIERS-4716c669.cjs +1 -0
- package/dist/{MarkAsGlobalBlock-3a58a10b.js → MarkAsGlobalBlock-522e170a.js} +5 -6
- package/dist/MarkAsGlobalBlock-ea769ea4.cjs +1 -0
- package/dist/{PagesPanel-68bb4554.js → PagesPanel-b0debeed.js} +5 -6
- package/dist/PagesPanel-e176d7e8.cjs +1 -0
- package/dist/{ProjectPanel-decfe6bb.js → ProjectPanel-9cec967c.js} +6 -7
- package/dist/ProjectPanel-d0f33df2.cjs +1 -0
- package/dist/Settings-208ab051.cjs +1 -0
- package/dist/{Settings-27bb6012.js → Settings-fd1e3b5d.js} +82 -83
- package/dist/SidePanels-40966390.cjs +1 -0
- package/dist/{SidePanels-839ecfae.js → SidePanels-ca294b35.js} +6 -7
- package/dist/{Topbar-d3dc4a34.js → Topbar-1edef1b2.js} +15 -16
- package/dist/Topbar-75c99c88.cjs +1 -0
- package/dist/add-page-modal-18f134c0.cjs +1 -0
- package/dist/{add-page-modal-da3e0ad5.js → add-page-modal-9985b5ce.js} +5 -6
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +56 -57
- package/dist/delete-page-modal-393697d7.cjs +1 -0
- package/dist/{delete-page-modal-3aa66051.js → delete-page-modal-98272bf5.js} +8 -9
- package/dist/functions-83b1de8d.js +1106 -0
- package/dist/functions-f84d5e2a.cjs +2 -0
- package/dist/{html-to-json-8397fab5.js → html-to-json-45e0e3b5.js} +1 -1
- package/dist/{html-to-json-78bfa1f3.cjs → html-to-json-aadcbf66.cjs} +1 -1
- package/dist/{index-ca7c3430.js → index-436bba3e.js} +110 -111
- package/dist/{index-976ec896.cjs → index-c3a98a78.cjs} +40 -40
- package/dist/lib.cjs +1 -1
- package/dist/lib.d.ts +39 -1
- package/dist/lib.js +56 -45
- package/dist/page-viewer-32261f49.cjs +1 -0
- package/dist/{page-viewer-3e7a6d70.js → page-viewer-a3ac057a.js} +16 -17
- package/dist/{project-general-setting-c8aa9370.js → project-general-setting-21e324a9.js} +5 -6
- package/dist/project-general-setting-75a8e94b.cjs +1 -0
- package/dist/render.cjs +1 -2
- package/dist/render.d.ts +16 -17
- package/dist/render.js +88 -1169
- package/dist/server.cjs +1 -1
- package/dist/server.d.ts +21 -1
- package/dist/server.js +47 -35
- package/dist/{single-page-detail-55638cb1.js → single-page-detail-0e881b82.js} +6 -7
- package/dist/single-page-detail-649b1379.cjs +1 -0
- package/package.json +1 -1
- package/dist/AddBlocks-6fc9d7de.cjs +0 -3
- package/dist/BrandingOptions-e44ef105.cjs +0 -1
- package/dist/CurrentPage-19086054.cjs +0 -1
- package/dist/Layers-2dd7336a.cjs +0 -1
- package/dist/MODIFIERS-70fef873.cjs +0 -1
- package/dist/MarkAsGlobalBlock-d4fe0af6.cjs +0 -1
- package/dist/PagesPanel-fa54f8c4.cjs +0 -1
- package/dist/ProjectPanel-750e4a4f.cjs +0 -1
- package/dist/Settings-c18e276b.cjs +0 -1
- package/dist/SidePanels-90ac74bf.cjs +0 -1
- package/dist/Topbar-57cd1611.cjs +0 -1
- package/dist/_commonjsHelpers-10dfc225.js +0 -8
- package/dist/_commonjsHelpers-87b0abe8.cjs +0 -1
- package/dist/add-page-modal-f49ebaf3.cjs +0 -1
- package/dist/delete-page-modal-6667ee2b.cjs +0 -1
- package/dist/page-viewer-5f00c933.cjs +0 -1
- package/dist/project-general-setting-a23cc2c4.cjs +0 -1
- package/dist/single-page-detail-a4b59a16.cjs +0 -1
package/dist/render.js
CHANGED
|
@@ -1,1201 +1,120 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import f from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { twMerge as
|
|
5
|
-
import { S as
|
|
6
|
-
import { getBlockComponent as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}), Object.defineProperty(e, "cloneDeep", {
|
|
20
|
-
enumerable: !0,
|
|
21
|
-
get: function() {
|
|
22
|
-
return r;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
function r(t) {
|
|
26
|
-
return Array.isArray(t) ? t.map((n) => r(n)) : typeof t == "object" && t !== null ? Object.fromEntries(Object.entries(t).map(([n, o]) => [
|
|
27
|
-
n,
|
|
28
|
-
r(o)
|
|
29
|
-
])) : t;
|
|
30
|
-
}
|
|
31
|
-
})(D);
|
|
32
|
-
var Y = {
|
|
33
|
-
content: [],
|
|
34
|
-
presets: [],
|
|
35
|
-
darkMode: "media",
|
|
36
|
-
// or 'class'
|
|
37
|
-
theme: {
|
|
38
|
-
accentColor: ({ theme: e }) => ({
|
|
39
|
-
...e("colors"),
|
|
40
|
-
auto: "auto"
|
|
41
|
-
}),
|
|
42
|
-
animation: {
|
|
43
|
-
none: "none",
|
|
44
|
-
spin: "spin 1s linear infinite",
|
|
45
|
-
ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
|
|
46
|
-
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
|
|
47
|
-
bounce: "bounce 1s infinite"
|
|
48
|
-
},
|
|
49
|
-
aria: {
|
|
50
|
-
busy: 'busy="true"',
|
|
51
|
-
checked: 'checked="true"',
|
|
52
|
-
disabled: 'disabled="true"',
|
|
53
|
-
expanded: 'expanded="true"',
|
|
54
|
-
hidden: 'hidden="true"',
|
|
55
|
-
pressed: 'pressed="true"',
|
|
56
|
-
readonly: 'readonly="true"',
|
|
57
|
-
required: 'required="true"',
|
|
58
|
-
selected: 'selected="true"'
|
|
59
|
-
},
|
|
60
|
-
aspectRatio: {
|
|
61
|
-
auto: "auto",
|
|
62
|
-
square: "1 / 1",
|
|
63
|
-
video: "16 / 9"
|
|
64
|
-
},
|
|
65
|
-
backdropBlur: ({ theme: e }) => e("blur"),
|
|
66
|
-
backdropBrightness: ({ theme: e }) => e("brightness"),
|
|
67
|
-
backdropContrast: ({ theme: e }) => e("contrast"),
|
|
68
|
-
backdropGrayscale: ({ theme: e }) => e("grayscale"),
|
|
69
|
-
backdropHueRotate: ({ theme: e }) => e("hueRotate"),
|
|
70
|
-
backdropInvert: ({ theme: e }) => e("invert"),
|
|
71
|
-
backdropOpacity: ({ theme: e }) => e("opacity"),
|
|
72
|
-
backdropSaturate: ({ theme: e }) => e("saturate"),
|
|
73
|
-
backdropSepia: ({ theme: e }) => e("sepia"),
|
|
74
|
-
backgroundColor: ({ theme: e }) => e("colors"),
|
|
75
|
-
backgroundImage: {
|
|
76
|
-
none: "none",
|
|
77
|
-
"gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
|
|
78
|
-
"gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
|
|
79
|
-
"gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
|
|
80
|
-
"gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
|
|
81
|
-
"gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
|
|
82
|
-
"gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
|
|
83
|
-
"gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
|
|
84
|
-
"gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))"
|
|
85
|
-
},
|
|
86
|
-
backgroundOpacity: ({ theme: e }) => e("opacity"),
|
|
87
|
-
backgroundPosition: {
|
|
88
|
-
bottom: "bottom",
|
|
89
|
-
center: "center",
|
|
90
|
-
left: "left",
|
|
91
|
-
"left-bottom": "left bottom",
|
|
92
|
-
"left-top": "left top",
|
|
93
|
-
right: "right",
|
|
94
|
-
"right-bottom": "right bottom",
|
|
95
|
-
"right-top": "right top",
|
|
96
|
-
top: "top"
|
|
97
|
-
},
|
|
98
|
-
backgroundSize: {
|
|
99
|
-
auto: "auto",
|
|
100
|
-
cover: "cover",
|
|
101
|
-
contain: "contain"
|
|
102
|
-
},
|
|
103
|
-
blur: {
|
|
104
|
-
0: "0",
|
|
105
|
-
none: "0",
|
|
106
|
-
sm: "4px",
|
|
107
|
-
DEFAULT: "8px",
|
|
108
|
-
md: "12px",
|
|
109
|
-
lg: "16px",
|
|
110
|
-
xl: "24px",
|
|
111
|
-
"2xl": "40px",
|
|
112
|
-
"3xl": "64px"
|
|
113
|
-
},
|
|
114
|
-
borderColor: ({ theme: e }) => ({
|
|
115
|
-
...e("colors"),
|
|
116
|
-
DEFAULT: e("colors.gray.200", "currentColor")
|
|
117
|
-
}),
|
|
118
|
-
borderOpacity: ({ theme: e }) => e("opacity"),
|
|
119
|
-
borderRadius: {
|
|
120
|
-
none: "0px",
|
|
121
|
-
sm: "0.125rem",
|
|
122
|
-
DEFAULT: "0.25rem",
|
|
123
|
-
md: "0.375rem",
|
|
124
|
-
lg: "0.5rem",
|
|
125
|
-
xl: "0.75rem",
|
|
126
|
-
"2xl": "1rem",
|
|
127
|
-
"3xl": "1.5rem",
|
|
128
|
-
full: "9999px"
|
|
129
|
-
},
|
|
130
|
-
borderSpacing: ({ theme: e }) => ({
|
|
131
|
-
...e("spacing")
|
|
132
|
-
}),
|
|
133
|
-
borderWidth: {
|
|
134
|
-
DEFAULT: "1px",
|
|
135
|
-
0: "0px",
|
|
136
|
-
2: "2px",
|
|
137
|
-
4: "4px",
|
|
138
|
-
8: "8px"
|
|
139
|
-
},
|
|
140
|
-
boxShadow: {
|
|
141
|
-
sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
|
|
142
|
-
DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
|
|
143
|
-
md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
144
|
-
lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
|
|
145
|
-
xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
|
|
146
|
-
"2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
|
|
147
|
-
inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
|
|
148
|
-
none: "none"
|
|
149
|
-
},
|
|
150
|
-
boxShadowColor: ({ theme: e }) => e("colors"),
|
|
151
|
-
brightness: {
|
|
152
|
-
0: "0",
|
|
153
|
-
50: ".5",
|
|
154
|
-
75: ".75",
|
|
155
|
-
90: ".9",
|
|
156
|
-
95: ".95",
|
|
157
|
-
100: "1",
|
|
158
|
-
105: "1.05",
|
|
159
|
-
110: "1.1",
|
|
160
|
-
125: "1.25",
|
|
161
|
-
150: "1.5",
|
|
162
|
-
200: "2"
|
|
163
|
-
},
|
|
164
|
-
caretColor: ({ theme: e }) => e("colors"),
|
|
165
|
-
colors: ({ colors: e }) => ({
|
|
166
|
-
inherit: e.inherit,
|
|
167
|
-
current: e.current,
|
|
168
|
-
transparent: e.transparent,
|
|
169
|
-
black: e.black,
|
|
170
|
-
white: e.white,
|
|
171
|
-
slate: e.slate,
|
|
172
|
-
gray: e.gray,
|
|
173
|
-
zinc: e.zinc,
|
|
174
|
-
neutral: e.neutral,
|
|
175
|
-
stone: e.stone,
|
|
176
|
-
red: e.red,
|
|
177
|
-
orange: e.orange,
|
|
178
|
-
amber: e.amber,
|
|
179
|
-
yellow: e.yellow,
|
|
180
|
-
lime: e.lime,
|
|
181
|
-
green: e.green,
|
|
182
|
-
emerald: e.emerald,
|
|
183
|
-
teal: e.teal,
|
|
184
|
-
cyan: e.cyan,
|
|
185
|
-
sky: e.sky,
|
|
186
|
-
blue: e.blue,
|
|
187
|
-
indigo: e.indigo,
|
|
188
|
-
violet: e.violet,
|
|
189
|
-
purple: e.purple,
|
|
190
|
-
fuchsia: e.fuchsia,
|
|
191
|
-
pink: e.pink,
|
|
192
|
-
rose: e.rose
|
|
193
|
-
}),
|
|
194
|
-
columns: {
|
|
195
|
-
auto: "auto",
|
|
196
|
-
1: "1",
|
|
197
|
-
2: "2",
|
|
198
|
-
3: "3",
|
|
199
|
-
4: "4",
|
|
200
|
-
5: "5",
|
|
201
|
-
6: "6",
|
|
202
|
-
7: "7",
|
|
203
|
-
8: "8",
|
|
204
|
-
9: "9",
|
|
205
|
-
10: "10",
|
|
206
|
-
11: "11",
|
|
207
|
-
12: "12",
|
|
208
|
-
"3xs": "16rem",
|
|
209
|
-
"2xs": "18rem",
|
|
210
|
-
xs: "20rem",
|
|
211
|
-
sm: "24rem",
|
|
212
|
-
md: "28rem",
|
|
213
|
-
lg: "32rem",
|
|
214
|
-
xl: "36rem",
|
|
215
|
-
"2xl": "42rem",
|
|
216
|
-
"3xl": "48rem",
|
|
217
|
-
"4xl": "56rem",
|
|
218
|
-
"5xl": "64rem",
|
|
219
|
-
"6xl": "72rem",
|
|
220
|
-
"7xl": "80rem"
|
|
221
|
-
},
|
|
222
|
-
container: {},
|
|
223
|
-
content: {
|
|
224
|
-
none: "none"
|
|
225
|
-
},
|
|
226
|
-
contrast: {
|
|
227
|
-
0: "0",
|
|
228
|
-
50: ".5",
|
|
229
|
-
75: ".75",
|
|
230
|
-
100: "1",
|
|
231
|
-
125: "1.25",
|
|
232
|
-
150: "1.5",
|
|
233
|
-
200: "2"
|
|
234
|
-
},
|
|
235
|
-
cursor: {
|
|
236
|
-
auto: "auto",
|
|
237
|
-
default: "default",
|
|
238
|
-
pointer: "pointer",
|
|
239
|
-
wait: "wait",
|
|
240
|
-
text: "text",
|
|
241
|
-
move: "move",
|
|
242
|
-
help: "help",
|
|
243
|
-
"not-allowed": "not-allowed",
|
|
244
|
-
none: "none",
|
|
245
|
-
"context-menu": "context-menu",
|
|
246
|
-
progress: "progress",
|
|
247
|
-
cell: "cell",
|
|
248
|
-
crosshair: "crosshair",
|
|
249
|
-
"vertical-text": "vertical-text",
|
|
250
|
-
alias: "alias",
|
|
251
|
-
copy: "copy",
|
|
252
|
-
"no-drop": "no-drop",
|
|
253
|
-
grab: "grab",
|
|
254
|
-
grabbing: "grabbing",
|
|
255
|
-
"all-scroll": "all-scroll",
|
|
256
|
-
"col-resize": "col-resize",
|
|
257
|
-
"row-resize": "row-resize",
|
|
258
|
-
"n-resize": "n-resize",
|
|
259
|
-
"e-resize": "e-resize",
|
|
260
|
-
"s-resize": "s-resize",
|
|
261
|
-
"w-resize": "w-resize",
|
|
262
|
-
"ne-resize": "ne-resize",
|
|
263
|
-
"nw-resize": "nw-resize",
|
|
264
|
-
"se-resize": "se-resize",
|
|
265
|
-
"sw-resize": "sw-resize",
|
|
266
|
-
"ew-resize": "ew-resize",
|
|
267
|
-
"ns-resize": "ns-resize",
|
|
268
|
-
"nesw-resize": "nesw-resize",
|
|
269
|
-
"nwse-resize": "nwse-resize",
|
|
270
|
-
"zoom-in": "zoom-in",
|
|
271
|
-
"zoom-out": "zoom-out"
|
|
272
|
-
},
|
|
273
|
-
divideColor: ({ theme: e }) => e("borderColor"),
|
|
274
|
-
divideOpacity: ({ theme: e }) => e("borderOpacity"),
|
|
275
|
-
divideWidth: ({ theme: e }) => e("borderWidth"),
|
|
276
|
-
dropShadow: {
|
|
277
|
-
sm: "0 1px 1px rgb(0 0 0 / 0.05)",
|
|
278
|
-
DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
|
|
279
|
-
md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
|
|
280
|
-
lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
|
|
281
|
-
xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
|
|
282
|
-
"2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
|
|
283
|
-
none: "0 0 #0000"
|
|
284
|
-
},
|
|
285
|
-
fill: ({ theme: e }) => ({
|
|
286
|
-
none: "none",
|
|
287
|
-
...e("colors")
|
|
288
|
-
}),
|
|
289
|
-
flex: {
|
|
290
|
-
1: "1 1 0%",
|
|
291
|
-
auto: "1 1 auto",
|
|
292
|
-
initial: "0 1 auto",
|
|
293
|
-
none: "none"
|
|
294
|
-
},
|
|
295
|
-
flexBasis: ({ theme: e }) => ({
|
|
296
|
-
auto: "auto",
|
|
297
|
-
...e("spacing"),
|
|
298
|
-
"1/2": "50%",
|
|
299
|
-
"1/3": "33.333333%",
|
|
300
|
-
"2/3": "66.666667%",
|
|
301
|
-
"1/4": "25%",
|
|
302
|
-
"2/4": "50%",
|
|
303
|
-
"3/4": "75%",
|
|
304
|
-
"1/5": "20%",
|
|
305
|
-
"2/5": "40%",
|
|
306
|
-
"3/5": "60%",
|
|
307
|
-
"4/5": "80%",
|
|
308
|
-
"1/6": "16.666667%",
|
|
309
|
-
"2/6": "33.333333%",
|
|
310
|
-
"3/6": "50%",
|
|
311
|
-
"4/6": "66.666667%",
|
|
312
|
-
"5/6": "83.333333%",
|
|
313
|
-
"1/12": "8.333333%",
|
|
314
|
-
"2/12": "16.666667%",
|
|
315
|
-
"3/12": "25%",
|
|
316
|
-
"4/12": "33.333333%",
|
|
317
|
-
"5/12": "41.666667%",
|
|
318
|
-
"6/12": "50%",
|
|
319
|
-
"7/12": "58.333333%",
|
|
320
|
-
"8/12": "66.666667%",
|
|
321
|
-
"9/12": "75%",
|
|
322
|
-
"10/12": "83.333333%",
|
|
323
|
-
"11/12": "91.666667%",
|
|
324
|
-
full: "100%"
|
|
325
|
-
}),
|
|
326
|
-
flexGrow: {
|
|
327
|
-
0: "0",
|
|
328
|
-
DEFAULT: "1"
|
|
329
|
-
},
|
|
330
|
-
flexShrink: {
|
|
331
|
-
0: "0",
|
|
332
|
-
DEFAULT: "1"
|
|
333
|
-
},
|
|
334
|
-
fontFamily: {
|
|
335
|
-
sans: [
|
|
336
|
-
"ui-sans-serif",
|
|
337
|
-
"system-ui",
|
|
338
|
-
"-apple-system",
|
|
339
|
-
"BlinkMacSystemFont",
|
|
340
|
-
'"Segoe UI"',
|
|
341
|
-
"Roboto",
|
|
342
|
-
'"Helvetica Neue"',
|
|
343
|
-
"Arial",
|
|
344
|
-
'"Noto Sans"',
|
|
345
|
-
"sans-serif",
|
|
346
|
-
'"Apple Color Emoji"',
|
|
347
|
-
'"Segoe UI Emoji"',
|
|
348
|
-
'"Segoe UI Symbol"',
|
|
349
|
-
'"Noto Color Emoji"'
|
|
350
|
-
],
|
|
351
|
-
serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"],
|
|
352
|
-
mono: [
|
|
353
|
-
"ui-monospace",
|
|
354
|
-
"SFMono-Regular",
|
|
355
|
-
"Menlo",
|
|
356
|
-
"Monaco",
|
|
357
|
-
"Consolas",
|
|
358
|
-
'"Liberation Mono"',
|
|
359
|
-
'"Courier New"',
|
|
360
|
-
"monospace"
|
|
361
|
-
]
|
|
362
|
-
},
|
|
363
|
-
fontSize: {
|
|
364
|
-
xs: ["0.75rem", { lineHeight: "1rem" }],
|
|
365
|
-
sm: ["0.875rem", { lineHeight: "1.25rem" }],
|
|
366
|
-
base: ["1rem", { lineHeight: "1.5rem" }],
|
|
367
|
-
lg: ["1.125rem", { lineHeight: "1.75rem" }],
|
|
368
|
-
xl: ["1.25rem", { lineHeight: "1.75rem" }],
|
|
369
|
-
"2xl": ["1.5rem", { lineHeight: "2rem" }],
|
|
370
|
-
"3xl": ["1.875rem", { lineHeight: "2.25rem" }],
|
|
371
|
-
"4xl": ["2.25rem", { lineHeight: "2.5rem" }],
|
|
372
|
-
"5xl": ["3rem", { lineHeight: "1" }],
|
|
373
|
-
"6xl": ["3.75rem", { lineHeight: "1" }],
|
|
374
|
-
"7xl": ["4.5rem", { lineHeight: "1" }],
|
|
375
|
-
"8xl": ["6rem", { lineHeight: "1" }],
|
|
376
|
-
"9xl": ["8rem", { lineHeight: "1" }]
|
|
377
|
-
},
|
|
378
|
-
fontWeight: {
|
|
379
|
-
thin: "100",
|
|
380
|
-
extralight: "200",
|
|
381
|
-
light: "300",
|
|
382
|
-
normal: "400",
|
|
383
|
-
medium: "500",
|
|
384
|
-
semibold: "600",
|
|
385
|
-
bold: "700",
|
|
386
|
-
extrabold: "800",
|
|
387
|
-
black: "900"
|
|
388
|
-
},
|
|
389
|
-
gap: ({ theme: e }) => e("spacing"),
|
|
390
|
-
gradientColorStops: ({ theme: e }) => e("colors"),
|
|
391
|
-
gradientColorStopPositions: {
|
|
392
|
-
"0%": "0%",
|
|
393
|
-
"5%": "5%",
|
|
394
|
-
"10%": "10%",
|
|
395
|
-
"15%": "15%",
|
|
396
|
-
"20%": "20%",
|
|
397
|
-
"25%": "25%",
|
|
398
|
-
"30%": "30%",
|
|
399
|
-
"35%": "35%",
|
|
400
|
-
"40%": "40%",
|
|
401
|
-
"45%": "45%",
|
|
402
|
-
"50%": "50%",
|
|
403
|
-
"55%": "55%",
|
|
404
|
-
"60%": "60%",
|
|
405
|
-
"65%": "65%",
|
|
406
|
-
"70%": "70%",
|
|
407
|
-
"75%": "75%",
|
|
408
|
-
"80%": "80%",
|
|
409
|
-
"85%": "85%",
|
|
410
|
-
"90%": "90%",
|
|
411
|
-
"95%": "95%",
|
|
412
|
-
"100%": "100%"
|
|
413
|
-
},
|
|
414
|
-
grayscale: {
|
|
415
|
-
0: "0",
|
|
416
|
-
DEFAULT: "100%"
|
|
417
|
-
},
|
|
418
|
-
gridAutoColumns: {
|
|
419
|
-
auto: "auto",
|
|
420
|
-
min: "min-content",
|
|
421
|
-
max: "max-content",
|
|
422
|
-
fr: "minmax(0, 1fr)"
|
|
423
|
-
},
|
|
424
|
-
gridAutoRows: {
|
|
425
|
-
auto: "auto",
|
|
426
|
-
min: "min-content",
|
|
427
|
-
max: "max-content",
|
|
428
|
-
fr: "minmax(0, 1fr)"
|
|
429
|
-
},
|
|
430
|
-
gridColumn: {
|
|
431
|
-
auto: "auto",
|
|
432
|
-
"span-1": "span 1 / span 1",
|
|
433
|
-
"span-2": "span 2 / span 2",
|
|
434
|
-
"span-3": "span 3 / span 3",
|
|
435
|
-
"span-4": "span 4 / span 4",
|
|
436
|
-
"span-5": "span 5 / span 5",
|
|
437
|
-
"span-6": "span 6 / span 6",
|
|
438
|
-
"span-7": "span 7 / span 7",
|
|
439
|
-
"span-8": "span 8 / span 8",
|
|
440
|
-
"span-9": "span 9 / span 9",
|
|
441
|
-
"span-10": "span 10 / span 10",
|
|
442
|
-
"span-11": "span 11 / span 11",
|
|
443
|
-
"span-12": "span 12 / span 12",
|
|
444
|
-
"span-full": "1 / -1"
|
|
445
|
-
},
|
|
446
|
-
gridColumnEnd: {
|
|
447
|
-
auto: "auto",
|
|
448
|
-
1: "1",
|
|
449
|
-
2: "2",
|
|
450
|
-
3: "3",
|
|
451
|
-
4: "4",
|
|
452
|
-
5: "5",
|
|
453
|
-
6: "6",
|
|
454
|
-
7: "7",
|
|
455
|
-
8: "8",
|
|
456
|
-
9: "9",
|
|
457
|
-
10: "10",
|
|
458
|
-
11: "11",
|
|
459
|
-
12: "12",
|
|
460
|
-
13: "13"
|
|
461
|
-
},
|
|
462
|
-
gridColumnStart: {
|
|
463
|
-
auto: "auto",
|
|
464
|
-
1: "1",
|
|
465
|
-
2: "2",
|
|
466
|
-
3: "3",
|
|
467
|
-
4: "4",
|
|
468
|
-
5: "5",
|
|
469
|
-
6: "6",
|
|
470
|
-
7: "7",
|
|
471
|
-
8: "8",
|
|
472
|
-
9: "9",
|
|
473
|
-
10: "10",
|
|
474
|
-
11: "11",
|
|
475
|
-
12: "12",
|
|
476
|
-
13: "13"
|
|
477
|
-
},
|
|
478
|
-
gridRow: {
|
|
479
|
-
auto: "auto",
|
|
480
|
-
"span-1": "span 1 / span 1",
|
|
481
|
-
"span-2": "span 2 / span 2",
|
|
482
|
-
"span-3": "span 3 / span 3",
|
|
483
|
-
"span-4": "span 4 / span 4",
|
|
484
|
-
"span-5": "span 5 / span 5",
|
|
485
|
-
"span-6": "span 6 / span 6",
|
|
486
|
-
"span-full": "1 / -1"
|
|
487
|
-
},
|
|
488
|
-
gridRowEnd: {
|
|
489
|
-
auto: "auto",
|
|
490
|
-
1: "1",
|
|
491
|
-
2: "2",
|
|
492
|
-
3: "3",
|
|
493
|
-
4: "4",
|
|
494
|
-
5: "5",
|
|
495
|
-
6: "6",
|
|
496
|
-
7: "7"
|
|
497
|
-
},
|
|
498
|
-
gridRowStart: {
|
|
499
|
-
auto: "auto",
|
|
500
|
-
1: "1",
|
|
501
|
-
2: "2",
|
|
502
|
-
3: "3",
|
|
503
|
-
4: "4",
|
|
504
|
-
5: "5",
|
|
505
|
-
6: "6",
|
|
506
|
-
7: "7"
|
|
507
|
-
},
|
|
508
|
-
gridTemplateColumns: {
|
|
509
|
-
none: "none",
|
|
510
|
-
1: "repeat(1, minmax(0, 1fr))",
|
|
511
|
-
2: "repeat(2, minmax(0, 1fr))",
|
|
512
|
-
3: "repeat(3, minmax(0, 1fr))",
|
|
513
|
-
4: "repeat(4, minmax(0, 1fr))",
|
|
514
|
-
5: "repeat(5, minmax(0, 1fr))",
|
|
515
|
-
6: "repeat(6, minmax(0, 1fr))",
|
|
516
|
-
7: "repeat(7, minmax(0, 1fr))",
|
|
517
|
-
8: "repeat(8, minmax(0, 1fr))",
|
|
518
|
-
9: "repeat(9, minmax(0, 1fr))",
|
|
519
|
-
10: "repeat(10, minmax(0, 1fr))",
|
|
520
|
-
11: "repeat(11, minmax(0, 1fr))",
|
|
521
|
-
12: "repeat(12, minmax(0, 1fr))"
|
|
522
|
-
},
|
|
523
|
-
gridTemplateRows: {
|
|
524
|
-
none: "none",
|
|
525
|
-
1: "repeat(1, minmax(0, 1fr))",
|
|
526
|
-
2: "repeat(2, minmax(0, 1fr))",
|
|
527
|
-
3: "repeat(3, minmax(0, 1fr))",
|
|
528
|
-
4: "repeat(4, minmax(0, 1fr))",
|
|
529
|
-
5: "repeat(5, minmax(0, 1fr))",
|
|
530
|
-
6: "repeat(6, minmax(0, 1fr))"
|
|
531
|
-
},
|
|
532
|
-
height: ({ theme: e }) => ({
|
|
533
|
-
auto: "auto",
|
|
534
|
-
...e("spacing"),
|
|
535
|
-
"1/2": "50%",
|
|
536
|
-
"1/3": "33.333333%",
|
|
537
|
-
"2/3": "66.666667%",
|
|
538
|
-
"1/4": "25%",
|
|
539
|
-
"2/4": "50%",
|
|
540
|
-
"3/4": "75%",
|
|
541
|
-
"1/5": "20%",
|
|
542
|
-
"2/5": "40%",
|
|
543
|
-
"3/5": "60%",
|
|
544
|
-
"4/5": "80%",
|
|
545
|
-
"1/6": "16.666667%",
|
|
546
|
-
"2/6": "33.333333%",
|
|
547
|
-
"3/6": "50%",
|
|
548
|
-
"4/6": "66.666667%",
|
|
549
|
-
"5/6": "83.333333%",
|
|
550
|
-
full: "100%",
|
|
551
|
-
screen: "100vh",
|
|
552
|
-
min: "min-content",
|
|
553
|
-
max: "max-content",
|
|
554
|
-
fit: "fit-content"
|
|
555
|
-
}),
|
|
556
|
-
hueRotate: {
|
|
557
|
-
0: "0deg",
|
|
558
|
-
15: "15deg",
|
|
559
|
-
30: "30deg",
|
|
560
|
-
60: "60deg",
|
|
561
|
-
90: "90deg",
|
|
562
|
-
180: "180deg"
|
|
563
|
-
},
|
|
564
|
-
inset: ({ theme: e }) => ({
|
|
565
|
-
auto: "auto",
|
|
566
|
-
...e("spacing"),
|
|
567
|
-
"1/2": "50%",
|
|
568
|
-
"1/3": "33.333333%",
|
|
569
|
-
"2/3": "66.666667%",
|
|
570
|
-
"1/4": "25%",
|
|
571
|
-
"2/4": "50%",
|
|
572
|
-
"3/4": "75%",
|
|
573
|
-
full: "100%"
|
|
574
|
-
}),
|
|
575
|
-
invert: {
|
|
576
|
-
0: "0",
|
|
577
|
-
DEFAULT: "100%"
|
|
578
|
-
},
|
|
579
|
-
keyframes: {
|
|
580
|
-
spin: {
|
|
581
|
-
to: {
|
|
582
|
-
transform: "rotate(360deg)"
|
|
583
|
-
}
|
|
584
|
-
},
|
|
585
|
-
ping: {
|
|
586
|
-
"75%, 100%": {
|
|
587
|
-
transform: "scale(2)",
|
|
588
|
-
opacity: "0"
|
|
589
|
-
}
|
|
590
|
-
},
|
|
591
|
-
pulse: {
|
|
592
|
-
"50%": {
|
|
593
|
-
opacity: ".5"
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
bounce: {
|
|
597
|
-
"0%, 100%": {
|
|
598
|
-
transform: "translateY(-25%)",
|
|
599
|
-
animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
|
|
600
|
-
},
|
|
601
|
-
"50%": {
|
|
602
|
-
transform: "none",
|
|
603
|
-
animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
},
|
|
607
|
-
letterSpacing: {
|
|
608
|
-
tighter: "-0.05em",
|
|
609
|
-
tight: "-0.025em",
|
|
610
|
-
normal: "0em",
|
|
611
|
-
wide: "0.025em",
|
|
612
|
-
wider: "0.05em",
|
|
613
|
-
widest: "0.1em"
|
|
614
|
-
},
|
|
615
|
-
lineHeight: {
|
|
616
|
-
none: "1",
|
|
617
|
-
tight: "1.25",
|
|
618
|
-
snug: "1.375",
|
|
619
|
-
normal: "1.5",
|
|
620
|
-
relaxed: "1.625",
|
|
621
|
-
loose: "2",
|
|
622
|
-
3: ".75rem",
|
|
623
|
-
4: "1rem",
|
|
624
|
-
5: "1.25rem",
|
|
625
|
-
6: "1.5rem",
|
|
626
|
-
7: "1.75rem",
|
|
627
|
-
8: "2rem",
|
|
628
|
-
9: "2.25rem",
|
|
629
|
-
10: "2.5rem"
|
|
630
|
-
},
|
|
631
|
-
listStyleType: {
|
|
632
|
-
none: "none",
|
|
633
|
-
disc: "disc",
|
|
634
|
-
decimal: "decimal"
|
|
635
|
-
},
|
|
636
|
-
listStyleImage: {
|
|
637
|
-
none: "none"
|
|
638
|
-
},
|
|
639
|
-
margin: ({ theme: e }) => ({
|
|
640
|
-
auto: "auto",
|
|
641
|
-
...e("spacing")
|
|
642
|
-
}),
|
|
643
|
-
lineClamp: {
|
|
644
|
-
1: "1",
|
|
645
|
-
2: "2",
|
|
646
|
-
3: "3",
|
|
647
|
-
4: "4",
|
|
648
|
-
5: "5",
|
|
649
|
-
6: "6"
|
|
650
|
-
},
|
|
651
|
-
maxHeight: ({ theme: e }) => ({
|
|
652
|
-
...e("spacing"),
|
|
653
|
-
none: "none",
|
|
654
|
-
full: "100%",
|
|
655
|
-
screen: "100vh",
|
|
656
|
-
min: "min-content",
|
|
657
|
-
max: "max-content",
|
|
658
|
-
fit: "fit-content"
|
|
659
|
-
}),
|
|
660
|
-
maxWidth: ({ theme: e, breakpoints: r }) => ({
|
|
661
|
-
none: "none",
|
|
662
|
-
0: "0rem",
|
|
663
|
-
xs: "20rem",
|
|
664
|
-
sm: "24rem",
|
|
665
|
-
md: "28rem",
|
|
666
|
-
lg: "32rem",
|
|
667
|
-
xl: "36rem",
|
|
668
|
-
"2xl": "42rem",
|
|
669
|
-
"3xl": "48rem",
|
|
670
|
-
"4xl": "56rem",
|
|
671
|
-
"5xl": "64rem",
|
|
672
|
-
"6xl": "72rem",
|
|
673
|
-
"7xl": "80rem",
|
|
674
|
-
full: "100%",
|
|
675
|
-
min: "min-content",
|
|
676
|
-
max: "max-content",
|
|
677
|
-
fit: "fit-content",
|
|
678
|
-
prose: "65ch",
|
|
679
|
-
...r(e("screens"))
|
|
680
|
-
}),
|
|
681
|
-
minHeight: {
|
|
682
|
-
0: "0px",
|
|
683
|
-
full: "100%",
|
|
684
|
-
screen: "100vh",
|
|
685
|
-
min: "min-content",
|
|
686
|
-
max: "max-content",
|
|
687
|
-
fit: "fit-content"
|
|
688
|
-
},
|
|
689
|
-
minWidth: {
|
|
690
|
-
0: "0px",
|
|
691
|
-
full: "100%",
|
|
692
|
-
min: "min-content",
|
|
693
|
-
max: "max-content",
|
|
694
|
-
fit: "fit-content"
|
|
695
|
-
},
|
|
696
|
-
objectPosition: {
|
|
697
|
-
bottom: "bottom",
|
|
698
|
-
center: "center",
|
|
699
|
-
left: "left",
|
|
700
|
-
"left-bottom": "left bottom",
|
|
701
|
-
"left-top": "left top",
|
|
702
|
-
right: "right",
|
|
703
|
-
"right-bottom": "right bottom",
|
|
704
|
-
"right-top": "right top",
|
|
705
|
-
top: "top"
|
|
706
|
-
},
|
|
707
|
-
opacity: {
|
|
708
|
-
0: "0",
|
|
709
|
-
5: "0.05",
|
|
710
|
-
10: "0.1",
|
|
711
|
-
20: "0.2",
|
|
712
|
-
25: "0.25",
|
|
713
|
-
30: "0.3",
|
|
714
|
-
40: "0.4",
|
|
715
|
-
50: "0.5",
|
|
716
|
-
60: "0.6",
|
|
717
|
-
70: "0.7",
|
|
718
|
-
75: "0.75",
|
|
719
|
-
80: "0.8",
|
|
720
|
-
90: "0.9",
|
|
721
|
-
95: "0.95",
|
|
722
|
-
100: "1"
|
|
723
|
-
},
|
|
724
|
-
order: {
|
|
725
|
-
first: "-9999",
|
|
726
|
-
last: "9999",
|
|
727
|
-
none: "0",
|
|
728
|
-
1: "1",
|
|
729
|
-
2: "2",
|
|
730
|
-
3: "3",
|
|
731
|
-
4: "4",
|
|
732
|
-
5: "5",
|
|
733
|
-
6: "6",
|
|
734
|
-
7: "7",
|
|
735
|
-
8: "8",
|
|
736
|
-
9: "9",
|
|
737
|
-
10: "10",
|
|
738
|
-
11: "11",
|
|
739
|
-
12: "12"
|
|
740
|
-
},
|
|
741
|
-
outlineColor: ({ theme: e }) => e("colors"),
|
|
742
|
-
outlineOffset: {
|
|
743
|
-
0: "0px",
|
|
744
|
-
1: "1px",
|
|
745
|
-
2: "2px",
|
|
746
|
-
4: "4px",
|
|
747
|
-
8: "8px"
|
|
748
|
-
},
|
|
749
|
-
outlineWidth: {
|
|
750
|
-
0: "0px",
|
|
751
|
-
1: "1px",
|
|
752
|
-
2: "2px",
|
|
753
|
-
4: "4px",
|
|
754
|
-
8: "8px"
|
|
755
|
-
},
|
|
756
|
-
padding: ({ theme: e }) => e("spacing"),
|
|
757
|
-
placeholderColor: ({ theme: e }) => e("colors"),
|
|
758
|
-
placeholderOpacity: ({ theme: e }) => e("opacity"),
|
|
759
|
-
ringColor: ({ theme: e }) => ({
|
|
760
|
-
DEFAULT: e("colors.blue.500", "#3b82f6"),
|
|
761
|
-
...e("colors")
|
|
762
|
-
}),
|
|
763
|
-
ringOffsetColor: ({ theme: e }) => e("colors"),
|
|
764
|
-
ringOffsetWidth: {
|
|
765
|
-
0: "0px",
|
|
766
|
-
1: "1px",
|
|
767
|
-
2: "2px",
|
|
768
|
-
4: "4px",
|
|
769
|
-
8: "8px"
|
|
770
|
-
},
|
|
771
|
-
ringOpacity: ({ theme: e }) => ({
|
|
772
|
-
DEFAULT: "0.5",
|
|
773
|
-
...e("opacity")
|
|
774
|
-
}),
|
|
775
|
-
ringWidth: {
|
|
776
|
-
DEFAULT: "3px",
|
|
777
|
-
0: "0px",
|
|
778
|
-
1: "1px",
|
|
779
|
-
2: "2px",
|
|
780
|
-
4: "4px",
|
|
781
|
-
8: "8px"
|
|
782
|
-
},
|
|
783
|
-
rotate: {
|
|
784
|
-
0: "0deg",
|
|
785
|
-
1: "1deg",
|
|
786
|
-
2: "2deg",
|
|
787
|
-
3: "3deg",
|
|
788
|
-
6: "6deg",
|
|
789
|
-
12: "12deg",
|
|
790
|
-
45: "45deg",
|
|
791
|
-
90: "90deg",
|
|
792
|
-
180: "180deg"
|
|
793
|
-
},
|
|
794
|
-
saturate: {
|
|
795
|
-
0: "0",
|
|
796
|
-
50: ".5",
|
|
797
|
-
100: "1",
|
|
798
|
-
150: "1.5",
|
|
799
|
-
200: "2"
|
|
800
|
-
},
|
|
801
|
-
scale: {
|
|
802
|
-
0: "0",
|
|
803
|
-
50: ".5",
|
|
804
|
-
75: ".75",
|
|
805
|
-
90: ".9",
|
|
806
|
-
95: ".95",
|
|
807
|
-
100: "1",
|
|
808
|
-
105: "1.05",
|
|
809
|
-
110: "1.1",
|
|
810
|
-
125: "1.25",
|
|
811
|
-
150: "1.5"
|
|
812
|
-
},
|
|
813
|
-
screens: {
|
|
814
|
-
sm: "640px",
|
|
815
|
-
md: "768px",
|
|
816
|
-
lg: "1024px",
|
|
817
|
-
xl: "1280px",
|
|
818
|
-
"2xl": "1536px"
|
|
819
|
-
},
|
|
820
|
-
scrollMargin: ({ theme: e }) => ({
|
|
821
|
-
...e("spacing")
|
|
822
|
-
}),
|
|
823
|
-
scrollPadding: ({ theme: e }) => e("spacing"),
|
|
824
|
-
sepia: {
|
|
825
|
-
0: "0",
|
|
826
|
-
DEFAULT: "100%"
|
|
827
|
-
},
|
|
828
|
-
skew: {
|
|
829
|
-
0: "0deg",
|
|
830
|
-
1: "1deg",
|
|
831
|
-
2: "2deg",
|
|
832
|
-
3: "3deg",
|
|
833
|
-
6: "6deg",
|
|
834
|
-
12: "12deg"
|
|
835
|
-
},
|
|
836
|
-
space: ({ theme: e }) => ({
|
|
837
|
-
...e("spacing")
|
|
838
|
-
}),
|
|
839
|
-
spacing: {
|
|
840
|
-
px: "1px",
|
|
841
|
-
0: "0px",
|
|
842
|
-
0.5: "0.125rem",
|
|
843
|
-
1: "0.25rem",
|
|
844
|
-
1.5: "0.375rem",
|
|
845
|
-
2: "0.5rem",
|
|
846
|
-
2.5: "0.625rem",
|
|
847
|
-
3: "0.75rem",
|
|
848
|
-
3.5: "0.875rem",
|
|
849
|
-
4: "1rem",
|
|
850
|
-
5: "1.25rem",
|
|
851
|
-
6: "1.5rem",
|
|
852
|
-
7: "1.75rem",
|
|
853
|
-
8: "2rem",
|
|
854
|
-
9: "2.25rem",
|
|
855
|
-
10: "2.5rem",
|
|
856
|
-
11: "2.75rem",
|
|
857
|
-
12: "3rem",
|
|
858
|
-
14: "3.5rem",
|
|
859
|
-
16: "4rem",
|
|
860
|
-
20: "5rem",
|
|
861
|
-
24: "6rem",
|
|
862
|
-
28: "7rem",
|
|
863
|
-
32: "8rem",
|
|
864
|
-
36: "9rem",
|
|
865
|
-
40: "10rem",
|
|
866
|
-
44: "11rem",
|
|
867
|
-
48: "12rem",
|
|
868
|
-
52: "13rem",
|
|
869
|
-
56: "14rem",
|
|
870
|
-
60: "15rem",
|
|
871
|
-
64: "16rem",
|
|
872
|
-
72: "18rem",
|
|
873
|
-
80: "20rem",
|
|
874
|
-
96: "24rem"
|
|
875
|
-
},
|
|
876
|
-
stroke: ({ theme: e }) => ({
|
|
877
|
-
none: "none",
|
|
878
|
-
...e("colors")
|
|
879
|
-
}),
|
|
880
|
-
strokeWidth: {
|
|
881
|
-
0: "0",
|
|
882
|
-
1: "1",
|
|
883
|
-
2: "2"
|
|
884
|
-
},
|
|
885
|
-
supports: {},
|
|
886
|
-
data: {},
|
|
887
|
-
textColor: ({ theme: e }) => e("colors"),
|
|
888
|
-
textDecorationColor: ({ theme: e }) => e("colors"),
|
|
889
|
-
textDecorationThickness: {
|
|
890
|
-
auto: "auto",
|
|
891
|
-
"from-font": "from-font",
|
|
892
|
-
0: "0px",
|
|
893
|
-
1: "1px",
|
|
894
|
-
2: "2px",
|
|
895
|
-
4: "4px",
|
|
896
|
-
8: "8px"
|
|
897
|
-
},
|
|
898
|
-
textIndent: ({ theme: e }) => ({
|
|
899
|
-
...e("spacing")
|
|
900
|
-
}),
|
|
901
|
-
textOpacity: ({ theme: e }) => e("opacity"),
|
|
902
|
-
textUnderlineOffset: {
|
|
903
|
-
auto: "auto",
|
|
904
|
-
0: "0px",
|
|
905
|
-
1: "1px",
|
|
906
|
-
2: "2px",
|
|
907
|
-
4: "4px",
|
|
908
|
-
8: "8px"
|
|
909
|
-
},
|
|
910
|
-
transformOrigin: {
|
|
911
|
-
center: "center",
|
|
912
|
-
top: "top",
|
|
913
|
-
"top-right": "top right",
|
|
914
|
-
right: "right",
|
|
915
|
-
"bottom-right": "bottom right",
|
|
916
|
-
bottom: "bottom",
|
|
917
|
-
"bottom-left": "bottom left",
|
|
918
|
-
left: "left",
|
|
919
|
-
"top-left": "top left"
|
|
920
|
-
},
|
|
921
|
-
transitionDelay: {
|
|
922
|
-
0: "0s",
|
|
923
|
-
75: "75ms",
|
|
924
|
-
100: "100ms",
|
|
925
|
-
150: "150ms",
|
|
926
|
-
200: "200ms",
|
|
927
|
-
300: "300ms",
|
|
928
|
-
500: "500ms",
|
|
929
|
-
700: "700ms",
|
|
930
|
-
1e3: "1000ms"
|
|
931
|
-
},
|
|
932
|
-
transitionDuration: {
|
|
933
|
-
DEFAULT: "150ms",
|
|
934
|
-
0: "0s",
|
|
935
|
-
75: "75ms",
|
|
936
|
-
100: "100ms",
|
|
937
|
-
150: "150ms",
|
|
938
|
-
200: "200ms",
|
|
939
|
-
300: "300ms",
|
|
940
|
-
500: "500ms",
|
|
941
|
-
700: "700ms",
|
|
942
|
-
1e3: "1000ms"
|
|
943
|
-
},
|
|
944
|
-
transitionProperty: {
|
|
945
|
-
none: "none",
|
|
946
|
-
all: "all",
|
|
947
|
-
DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
|
|
948
|
-
colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
|
|
949
|
-
opacity: "opacity",
|
|
950
|
-
shadow: "box-shadow",
|
|
951
|
-
transform: "transform"
|
|
952
|
-
},
|
|
953
|
-
transitionTimingFunction: {
|
|
954
|
-
DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
955
|
-
linear: "linear",
|
|
956
|
-
in: "cubic-bezier(0.4, 0, 1, 1)",
|
|
957
|
-
out: "cubic-bezier(0, 0, 0.2, 1)",
|
|
958
|
-
"in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
|
|
959
|
-
},
|
|
960
|
-
translate: ({ theme: e }) => ({
|
|
961
|
-
...e("spacing"),
|
|
962
|
-
"1/2": "50%",
|
|
963
|
-
"1/3": "33.333333%",
|
|
964
|
-
"2/3": "66.666667%",
|
|
965
|
-
"1/4": "25%",
|
|
966
|
-
"2/4": "50%",
|
|
967
|
-
"3/4": "75%",
|
|
968
|
-
full: "100%"
|
|
969
|
-
}),
|
|
970
|
-
width: ({ theme: e }) => ({
|
|
971
|
-
auto: "auto",
|
|
972
|
-
...e("spacing"),
|
|
973
|
-
"1/2": "50%",
|
|
974
|
-
"1/3": "33.333333%",
|
|
975
|
-
"2/3": "66.666667%",
|
|
976
|
-
"1/4": "25%",
|
|
977
|
-
"2/4": "50%",
|
|
978
|
-
"3/4": "75%",
|
|
979
|
-
"1/5": "20%",
|
|
980
|
-
"2/5": "40%",
|
|
981
|
-
"3/5": "60%",
|
|
982
|
-
"4/5": "80%",
|
|
983
|
-
"1/6": "16.666667%",
|
|
984
|
-
"2/6": "33.333333%",
|
|
985
|
-
"3/6": "50%",
|
|
986
|
-
"4/6": "66.666667%",
|
|
987
|
-
"5/6": "83.333333%",
|
|
988
|
-
"1/12": "8.333333%",
|
|
989
|
-
"2/12": "16.666667%",
|
|
990
|
-
"3/12": "25%",
|
|
991
|
-
"4/12": "33.333333%",
|
|
992
|
-
"5/12": "41.666667%",
|
|
993
|
-
"6/12": "50%",
|
|
994
|
-
"7/12": "58.333333%",
|
|
995
|
-
"8/12": "66.666667%",
|
|
996
|
-
"9/12": "75%",
|
|
997
|
-
"10/12": "83.333333%",
|
|
998
|
-
"11/12": "91.666667%",
|
|
999
|
-
full: "100%",
|
|
1000
|
-
screen: "100vw",
|
|
1001
|
-
min: "min-content",
|
|
1002
|
-
max: "max-content",
|
|
1003
|
-
fit: "fit-content"
|
|
1004
|
-
}),
|
|
1005
|
-
willChange: {
|
|
1006
|
-
auto: "auto",
|
|
1007
|
-
scroll: "scroll-position",
|
|
1008
|
-
contents: "contents",
|
|
1009
|
-
transform: "transform"
|
|
1010
|
-
},
|
|
1011
|
-
zIndex: {
|
|
1012
|
-
auto: "auto",
|
|
1013
|
-
0: "0",
|
|
1014
|
-
10: "10",
|
|
1015
|
-
20: "20",
|
|
1016
|
-
30: "30",
|
|
1017
|
-
40: "40",
|
|
1018
|
-
50: "50"
|
|
1019
|
-
}
|
|
1020
|
-
},
|
|
1021
|
-
plugins: []
|
|
1022
|
-
};
|
|
1023
|
-
(function(e) {
|
|
1024
|
-
Object.defineProperty(e, "__esModule", {
|
|
1025
|
-
value: !0
|
|
1026
|
-
}), Object.defineProperty(e, "default", {
|
|
1027
|
-
enumerable: !0,
|
|
1028
|
-
get: function() {
|
|
1029
|
-
return o;
|
|
1030
|
-
}
|
|
1031
|
-
});
|
|
1032
|
-
const r = D, t = /* @__PURE__ */ n(Y);
|
|
1033
|
-
function n(i) {
|
|
1034
|
-
return i && i.__esModule ? i : {
|
|
1035
|
-
default: i
|
|
1036
|
-
};
|
|
1037
|
-
}
|
|
1038
|
-
const o = (0, r.cloneDeep)(t.default.theme);
|
|
1039
|
-
})(E);
|
|
1040
|
-
let y = E;
|
|
1041
|
-
var K = (y.__esModule ? y : { default: y }).default;
|
|
1042
|
-
const w = /* @__PURE__ */ P(K), A = (e, r = "c-") => {
|
|
1043
|
-
const t = p(e, "bodyTextLightColor", "#64748b"), n = p(e, "bodyTextDarkColor", "#94a3b8"), o = p(e, "bodyBgLightColor", "#FFFFFF"), i = p(e, "bodyBgDarkColor", "#0f172a");
|
|
1044
|
-
return `${r}font-body ${r}antialiased ${r}text-[${t}] ${r}bg-[${o}] dark:${r}text-[${n}] dark:${r}bg-[${i}]`;
|
|
1045
|
-
}, v = (e, r = "c-") => {
|
|
1046
|
-
const n = e.replace(g, "").split(",").map((o) => o.split(" ").map((s) => {
|
|
1047
|
-
if (s === "")
|
|
1048
|
-
return "";
|
|
1049
|
-
if (b(s, "hs-") || b(s, "[--") || b(s, "paddle"))
|
|
1050
|
-
return s;
|
|
1051
|
-
if (s.includes(":")) {
|
|
1052
|
-
const l = s.split(":");
|
|
1053
|
-
return l[l.length - 1] = r + _(l), l.join(":");
|
|
1054
|
-
}
|
|
1055
|
-
return `${r}${s}`;
|
|
1056
|
-
}).join(" "));
|
|
1057
|
-
return `${g}${n.join(" , ")}`;
|
|
1058
|
-
}, J = (e, r) => e.map((t) => {
|
|
1059
|
-
const n = {};
|
|
1060
|
-
return Object.keys(t).forEach((o) => {
|
|
1061
|
-
L(t[o], g) && (n[o] = v(t[o], r));
|
|
1062
|
-
}), n;
|
|
1063
|
-
}), Q = (e, r, t = "c-") => {
|
|
1064
|
-
const n = A(r, t);
|
|
1065
|
-
return V(
|
|
1066
|
-
r,
|
|
1067
|
-
[j(JSON.stringify(J(e, t)), /#styles:/g, "")],
|
|
1068
|
-
n.split(" ").concat(`${t}inline-block`, `${t}w-full`, `${t}h-full`)
|
|
1069
|
-
);
|
|
1070
|
-
}, fe = async (e, r = "c-") => {
|
|
1071
|
-
const t = e.page.blocks;
|
|
1072
|
-
return await Q(t, e.project.brandingOptions, r);
|
|
1073
|
-
};
|
|
1074
|
-
async function V(e, r, t = [], n = "c-") {
|
|
1075
|
-
const o = p(e, "primaryColor", "#000"), i = p(e, "secondaryColor", "#ccc"), a = p(e, "headingFont", "Inter"), s = p(e, "bodyFont", "Inter"), l = p(e, "roundedCorners", "0"), c = M({
|
|
1076
|
-
colors: [o, i],
|
|
1077
|
-
names: ["primary", "secondary"]
|
|
1078
|
-
});
|
|
1079
|
-
return F(c, "primary.DEFAULT", o), F(c, "secondary.DEFAULT", i), `${await H({
|
|
1080
|
-
tailwindConfig: {
|
|
1081
|
-
prefix: n,
|
|
1082
|
-
darkMode: "class",
|
|
1083
|
-
safelist: t,
|
|
1084
|
-
theme: {
|
|
1085
|
-
fontFamily: {
|
|
1086
|
-
heading: [a, ...w.fontFamily.sans],
|
|
1087
|
-
body: [s, ...w.fontFamily.sans]
|
|
1088
|
-
},
|
|
1089
|
-
extend: {
|
|
1090
|
-
borderRadius: {
|
|
1091
|
-
global: `${l || "0"}px`
|
|
1092
|
-
},
|
|
1093
|
-
colors: c
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1096
|
-
plugins: [I, W, N, q],
|
|
1097
|
-
corePlugins: { preflight: !1 }
|
|
1098
|
-
}
|
|
1099
|
-
}).generateStylesFromContent(
|
|
1100
|
-
` @tailwind components;
|
|
1101
|
-
@tailwind utilities;`,
|
|
1102
|
-
r
|
|
1103
|
-
)} .${n}bg-clip-text{background-clip: text;-webkit-background-clip: text;} h1,h2,h3,h4,h5,h6{font-family: "${a}",${w.fontFamily.sans.join(
|
|
1104
|
-
", "
|
|
1105
|
-
)};}`;
|
|
1106
|
-
}
|
|
1107
|
-
function be(e = 6, r = "abcdefghijklmnopqrstuvwxyzABCD") {
|
|
1108
|
-
let t = "";
|
|
1109
|
-
for (let n = e; n > 0; --n)
|
|
1110
|
-
t += r[Math.floor(Math.random() * r.length)];
|
|
1111
|
-
return t;
|
|
1112
|
-
}
|
|
1113
|
-
const X = (e) => {
|
|
1
|
+
import { j as s } from "./jsx-runtime-944c88e2.js";
|
|
2
|
+
import f, { createContext as y, useMemo as A, useContext as N } from "react";
|
|
3
|
+
import { memoize as R, filter as g, isEmpty as h, omit as D, isString as x, get as c, each as T } from "lodash";
|
|
4
|
+
import { twMerge as v } from "tailwind-merge";
|
|
5
|
+
import { S as j, a as C, B as F } from "./MODIFIERS-2f19c314.js";
|
|
6
|
+
import { getBlockComponent as L } from "@chaibuilder/blocks";
|
|
7
|
+
import { a as P, g as Y } from "./functions-83b1de8d.js";
|
|
8
|
+
import { Provider as I } from "react-wrap-balancer";
|
|
9
|
+
import "@mhsdesign/jit-browser-tailwindcss";
|
|
10
|
+
import "@bobthered/tailwindcss-palette-generator";
|
|
11
|
+
import "@tailwindcss/forms";
|
|
12
|
+
import "@tailwindcss/typography";
|
|
13
|
+
import "@tailwindcss/aspect-ratio";
|
|
14
|
+
import "@tailwindcss/line-clamp";
|
|
15
|
+
const B = y({}), K = ({ children: t, data: r }) => {
|
|
16
|
+
const n = A(() => r, [r]);
|
|
17
|
+
return /* @__PURE__ */ s.jsx(B.Provider, { value: n, children: t });
|
|
18
|
+
}, M = (t) => {
|
|
1114
19
|
const r = {};
|
|
1115
|
-
return Object.keys(
|
|
1116
|
-
|
|
20
|
+
return Object.keys(t).forEach((n) => {
|
|
21
|
+
x(t[n]) && t[n].startsWith(C) && (r[n] = t[n].replace(C, "").split(","));
|
|
1117
22
|
}), r;
|
|
1118
|
-
},
|
|
1119
|
-
const
|
|
1120
|
-
return
|
|
23
|
+
}, W = R((t, r) => {
|
|
24
|
+
const n = t.replace(j, "").split(","), e = v(n[0], n[1]);
|
|
25
|
+
return P(e, r).replace(j, "").trim();
|
|
1121
26
|
});
|
|
1122
|
-
function
|
|
1123
|
-
return
|
|
27
|
+
function w(t, r) {
|
|
28
|
+
return c(t, `${r}_attrs`, {});
|
|
1124
29
|
}
|
|
1125
|
-
function
|
|
1126
|
-
const
|
|
1127
|
-
return Object.keys(
|
|
1128
|
-
if (
|
|
1129
|
-
const
|
|
1130
|
-
|
|
1131
|
-
className:
|
|
1132
|
-
...
|
|
30
|
+
function z(t, r) {
|
|
31
|
+
const n = {};
|
|
32
|
+
return Object.keys(t).forEach((e) => {
|
|
33
|
+
if (x(t[e]) && t[e].startsWith(j)) {
|
|
34
|
+
const i = W(t[e], r);
|
|
35
|
+
n[e] = {
|
|
36
|
+
className: i,
|
|
37
|
+
...w(t, e)
|
|
1133
38
|
};
|
|
1134
39
|
}
|
|
1135
|
-
}),
|
|
40
|
+
}), n;
|
|
1136
41
|
}
|
|
1137
|
-
function
|
|
1138
|
-
|
|
42
|
+
function G(t, r) {
|
|
43
|
+
const n = c(t, "_bindings", {});
|
|
44
|
+
return h(n) ? { ...t } : (T(n, (e, i) => {
|
|
45
|
+
x(e) && c(r, e, null) && (t[i] = c(r, e, null));
|
|
46
|
+
}), t);
|
|
47
|
+
}
|
|
48
|
+
function U({
|
|
49
|
+
blocks: t,
|
|
1139
50
|
parent: r,
|
|
1140
|
-
classPrefix:
|
|
51
|
+
classPrefix: n = "c-"
|
|
1141
52
|
}) {
|
|
1142
|
-
const
|
|
1143
|
-
return /* @__PURE__ */
|
|
1144
|
-
|
|
1145
|
-
const
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
53
|
+
const e = t, i = (o) => z(o, n), l = r ? g(t, { _parent: r }) : g(t, (o) => h(o._parent)), E = N(B);
|
|
54
|
+
return /* @__PURE__ */ s.jsx(s.Fragment, { children: f.Children.toArray(
|
|
55
|
+
l.map((o, S) => {
|
|
56
|
+
const m = M(o), p = {};
|
|
57
|
+
h(m) || Object.keys(m).forEach((a) => {
|
|
58
|
+
p[a] = f.Children.toArray(
|
|
59
|
+
m[a].map((u) => /* @__PURE__ */ s.jsx(_, { classPrefix: n, blocks: e, parent: u }))
|
|
1149
60
|
);
|
|
1150
61
|
});
|
|
1151
|
-
const
|
|
1152
|
-
|
|
1153
|
-
const
|
|
1154
|
-
if (
|
|
1155
|
-
let
|
|
1156
|
-
const
|
|
1157
|
-
return
|
|
1158
|
-
|
|
1159
|
-
|
|
62
|
+
const O = g(e, { _parent: o._id });
|
|
63
|
+
p.children = O.length > 0 ? /* @__PURE__ */ s.jsx(_, { classPrefix: n, parent: o._id, blocks: e }) : null;
|
|
64
|
+
const d = L(o._type);
|
|
65
|
+
if (d !== null) {
|
|
66
|
+
let a = o;
|
|
67
|
+
const u = d.component;
|
|
68
|
+
return a = { ...d.defaults, ...o }, f.createElement(
|
|
69
|
+
u,
|
|
70
|
+
D(
|
|
1160
71
|
{
|
|
1161
72
|
blockProps: {},
|
|
1162
73
|
inBuilder: !1,
|
|
1163
|
-
...
|
|
1164
|
-
index:
|
|
1165
|
-
...o
|
|
1166
|
-
...
|
|
74
|
+
...a,
|
|
75
|
+
index: S,
|
|
76
|
+
...G(o, E),
|
|
77
|
+
...i(a),
|
|
78
|
+
...p
|
|
1167
79
|
},
|
|
1168
80
|
["_parent"]
|
|
1169
81
|
)
|
|
1170
82
|
);
|
|
1171
83
|
}
|
|
1172
|
-
return /* @__PURE__ */
|
|
1173
|
-
|
|
84
|
+
return /* @__PURE__ */ s.jsxs("noscript", { children: [
|
|
85
|
+
o._type,
|
|
1174
86
|
" not found"
|
|
1175
87
|
] });
|
|
1176
88
|
})
|
|
1177
89
|
) });
|
|
1178
90
|
}
|
|
1179
|
-
const
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
91
|
+
const _ = ({
|
|
92
|
+
blocks: t,
|
|
93
|
+
parent: r,
|
|
94
|
+
classPrefix: n = "c-",
|
|
95
|
+
externalData: e = {}
|
|
96
|
+
}) => /* @__PURE__ */ s.jsx(K, { data: e, children: /* @__PURE__ */ s.jsx(U, { blocks: t, parent: r, classPrefix: n }) }), st = ({
|
|
97
|
+
pageData: t,
|
|
98
|
+
externalData: r = {},
|
|
99
|
+
before: n = null,
|
|
100
|
+
after: e = null,
|
|
101
|
+
classPrefix: i = "c-"
|
|
102
|
+
}) => {
|
|
103
|
+
const l = c(t.project, "brandingOptions", F);
|
|
104
|
+
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
105
|
+
n,
|
|
106
|
+
/* @__PURE__ */ s.jsx(
|
|
1184
107
|
"div",
|
|
1185
108
|
{
|
|
1186
|
-
className:
|
|
1187
|
-
children: /* @__PURE__ */
|
|
109
|
+
className: i.replace("-", "") + " " + Y(l, i) + " min-h-screen",
|
|
110
|
+
children: /* @__PURE__ */ s.jsx(I, { children: /* @__PURE__ */ s.jsx(_, { externalData: r, blocks: t.page.blocks || [], classPrefix: i }) })
|
|
1188
111
|
}
|
|
1189
112
|
),
|
|
1190
|
-
|
|
113
|
+
e
|
|
1191
114
|
] });
|
|
1192
115
|
};
|
|
1193
116
|
export {
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
be as generateUUID,
|
|
1198
|
-
Q as getBlocksTailwindCSS,
|
|
1199
|
-
A as getBrandingClasses,
|
|
1200
|
-
fe as getStylesForPageData
|
|
117
|
+
K as ChaiDataProvider,
|
|
118
|
+
_ as RenderChaiBlocks,
|
|
119
|
+
st as RenderChaiPage
|
|
1201
120
|
};
|