@chaibuilder/sdk 1.2.65 → 1.2.67

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.
Files changed (125) hide show
  1. package/dist/AddBlocks-TVOOPK2w.cjs +1 -0
  2. package/dist/AddBlocks-mbuhydG3.js +123 -0
  3. package/dist/CanvasArea-KJMcis97.cjs +1 -0
  4. package/dist/CanvasArea-kg3Rgg9t.js +136 -0
  5. package/dist/CodeEditor-QP6l0mv4.cjs +1 -0
  6. package/dist/{CodeEditor-Qff4q7sx.js → CodeEditor-q5unEaUI.js} +60 -46
  7. package/dist/STRINGS--j49GZJP.js +7 -0
  8. package/dist/STRINGS-gPz7CUOk.cjs +1 -0
  9. package/dist/SettingsPanel-MWeQjDWs.cjs +1 -0
  10. package/dist/SettingsPanel-pomLrOxB.js +81 -0
  11. package/dist/SidePanels-9sbERNEv.cjs +1 -0
  12. package/dist/{SidePanels-ijaUKSek.js → SidePanels-YpRrvfiH.js} +87 -93
  13. package/dist/{Topbar-vHlnfxPs.js → Topbar-kVBx7pp4.js} +56 -61
  14. package/dist/Topbar-veJ2_blW.cjs +1 -0
  15. package/dist/{UILibrariesPanel-NVUMUPUj.js → UILibrariesPanel-ES8YzN9C.js} +92 -101
  16. package/dist/UILibrariesPanel-H8t36R6M.cjs +1 -0
  17. package/dist/UnsplashImages--MXx-DYM.cjs +1 -0
  18. package/dist/{UnsplashImages-UkHihhA5.js → UnsplashImages-sotLcz6r.js} +72 -57
  19. package/dist/{UploadImages-HtuJZJlo.js → UploadImages-I0QQ6vj1.js} +57 -44
  20. package/dist/UploadImages-xhxeYKkl.cjs +1 -0
  21. package/dist/badge-7BVT3zxN.cjs +1 -0
  22. package/dist/badge-pJqQSA13.js +23 -0
  23. package/dist/context-menu-_8TFbFEJ.cjs +1 -0
  24. package/dist/context-menu-sks9vdzC.js +906 -0
  25. package/dist/core.cjs +1 -1
  26. package/dist/core.d.ts +45 -20
  27. package/dist/core.js +85 -87
  28. package/dist/iconBase-vJD0OXxU.cjs +1 -0
  29. package/dist/iconBase-zweRWSz0.js +323 -0
  30. package/dist/index-5hfuDpYs.cjs +223 -0
  31. package/dist/index-Zu-K_BX7.js +33933 -0
  32. package/dist/jsx-runtime-JYMCiFoE.cjs +27 -0
  33. package/dist/{jsx-runtime-WbnYoNE9.js → jsx-runtime-Sp0orL4X.js} +106 -109
  34. package/dist/plugin-P0tpo_XZ.cjs +1 -0
  35. package/dist/plugin-_F-KZp1i.cjs +1 -0
  36. package/dist/plugin-f5uJtdXY.js +43 -0
  37. package/dist/plugin-sJ3Hzvpv.js +57 -0
  38. package/dist/render.cjs +3 -1
  39. package/dist/render.d.ts +19 -52
  40. package/dist/render.js +136 -183
  41. package/dist/select-JW3OMYm-.js +75 -0
  42. package/dist/select-fXj5tdMX.cjs +1 -0
  43. package/dist/separator-hT24N-xp.cjs +1 -0
  44. package/dist/separator-sgwOa1FE.js +18 -0
  45. package/dist/style.css +1 -1
  46. package/dist/tailwind.cjs +1 -1
  47. package/dist/tailwind.d.ts +41 -1
  48. package/dist/tailwind.js +16 -8
  49. package/dist/ui.cjs +1 -1
  50. package/dist/ui.d.ts +0 -10
  51. package/dist/ui.js +345 -163
  52. package/dist/web-blocks.cjs +1 -1
  53. package/dist/web-blocks.d.ts +1 -1
  54. package/dist/web-blocks.js +489 -724
  55. package/package.json +15 -45
  56. package/dist/CanvasArea-fSdH_RiN.cjs +0 -1
  57. package/dist/CanvasArea-ut5yknzX.js +0 -168
  58. package/dist/CodeEditor-ypUx3RAV.cjs +0 -1
  59. package/dist/CurrentPage-jHSVy3hq.js +0 -120
  60. package/dist/CurrentPage-p_AM4lrF.cjs +0 -1
  61. package/dist/Functions-7jnEwJyw.js +0 -15
  62. package/dist/Functions-N3yhPYKY.cjs +0 -1
  63. package/dist/MODIFIERS-fd5XOmum.js +0 -60
  64. package/dist/MODIFIERS-mVmfEGgo.cjs +0 -1
  65. package/dist/PagesPanel-U3InJ9Db.js +0 -78
  66. package/dist/PagesPanel-wqDb4D-x.cjs +0 -1
  67. package/dist/ProjectPanel-XODJTO4J.js +0 -99
  68. package/dist/ProjectPanel-fWESzHr6.cjs +0 -1
  69. package/dist/SidePanels-lrMQqc0h.cjs +0 -1
  70. package/dist/Topbar-RrCDxd0i.cjs +0 -1
  71. package/dist/UILibrariesPanel-7btHgBD0.cjs +0 -1
  72. package/dist/UnsplashImages-6UjgojvF.cjs +0 -1
  73. package/dist/UploadImages-3h0cRsvr.cjs +0 -1
  74. package/dist/_commonjsHelpers-UyOWmZb0.js +0 -8
  75. package/dist/_commonjsHelpers-wDK0ZLPo.cjs +0 -1
  76. package/dist/add-page-modal-RwIj1FxH.cjs +0 -1
  77. package/dist/add-page-modal-TOfMfmPA.js +0 -115
  78. package/dist/confirm-alert-eIp2cAkc.js +0 -60
  79. package/dist/confirm-alert-v1lG8ex4.cjs +0 -1
  80. package/dist/controls-rRZhz0vu.cjs +0 -1
  81. package/dist/controls-yjgoZzB6.js +0 -199
  82. package/dist/delete-page-modal-4bxjpVBD.js +0 -97
  83. package/dist/delete-page-modal-qYDZmpgT.cjs +0 -1
  84. package/dist/email-blocks.cjs +0 -1
  85. package/dist/email-blocks.d.ts +0 -3
  86. package/dist/email-blocks.js +0 -294
  87. package/dist/email.cjs +0 -1
  88. package/dist/email.d.ts +0 -171
  89. package/dist/email.js +0 -90
  90. package/dist/empty-slot-Lsxjts7Q.js +0 -6
  91. package/dist/empty-slot-Sy930lX6.cjs +0 -1
  92. package/dist/form-4jTocVbZ.cjs +0 -1
  93. package/dist/form-NAzFjGs0.js +0 -125
  94. package/dist/functions--tdNWQDW.js +0 -30
  95. package/dist/functions-EVUeSwX1.cjs +0 -1
  96. package/dist/html-to-json-NqRjgFqp.cjs +0 -1
  97. package/dist/html-to-json-l_mw5y-e.js +0 -243
  98. package/dist/index--k2M8kzI.cjs +0 -1
  99. package/dist/index--mLLy7QQ.cjs +0 -1
  100. package/dist/index-5XyNUAjc.cjs +0 -290
  101. package/dist/index-C7mB4XFm.js +0 -3141
  102. package/dist/index-VBXQixVm.js +0 -117
  103. package/dist/index-YZhtVcj_.js +0 -2201
  104. package/dist/index-aeDphKpP.cjs +0 -1
  105. package/dist/index-lFgDm1oa.js +0 -83780
  106. package/dist/jsx-runtime-Z_BpKhVy.cjs +0 -27
  107. package/dist/lib.cjs +0 -3
  108. package/dist/lib.d.ts +0 -80
  109. package/dist/lib.js +0 -1350
  110. package/dist/page-viewer-4wrnWnK0.js +0 -124
  111. package/dist/page-viewer-ra0GLx1p.cjs +0 -1
  112. package/dist/project-general-setting-IwZUkYF3.js +0 -90
  113. package/dist/project-general-setting-lFjTUhHD.cjs +0 -1
  114. package/dist/project-seo-setting-e1fTqVsd.js +0 -83
  115. package/dist/project-seo-setting-o0V9acCV.cjs +0 -1
  116. package/dist/server.cjs +0 -1
  117. package/dist/server.d.ts +0 -299
  118. package/dist/server.js +0 -216
  119. package/dist/single-page-detail-ZNWFKqLW.js +0 -229
  120. package/dist/single-page-detail-g55Anu7R.cjs +0 -1
  121. package/dist/studio.cjs +0 -1
  122. package/dist/studio.d.ts +0 -176
  123. package/dist/studio.js +0 -67
  124. package/dist/utils-D_vtk3zK.cjs +0 -1
  125. package/dist/utils-VpVqnC9m.js +0 -1075
package/dist/lib.js DELETED
@@ -1,1350 +0,0 @@
1
- import { c as D } from "./utils-VpVqnC9m.js";
2
- import { a as be } from "./utils-VpVqnC9m.js";
3
- import { g as ye, a as we } from "./Functions-7jnEwJyw.js";
4
- import { p as E } from "./html-to-json-l_mw5y-e.js";
5
- import { g as ke } from "./html-to-json-l_mw5y-e.js";
6
- import { first as O, includes as c, keys as d, map as w, parseInt as v, get as p, startsWith as A, replace as L } from "lodash-es";
7
- import { a as U } from "./functions--tdNWQDW.js";
8
- import { c as _e, g as ze } from "./functions--tdNWQDW.js";
9
- import { createTailwindcss as R } from "@mhsdesign/jit-browser-tailwindcss";
10
- import { g as H } from "./_commonjsHelpers-UyOWmZb0.js";
11
- import I from "@tailwindcss/forms";
12
- import M from "@tailwindcss/typography";
13
- import P from "@tailwindcss/aspect-ratio";
14
- import { a as W } from "./MODIFIERS-fd5XOmum.js";
15
- import $ from "tailwindcss-palette-generator";
16
- import "clsx";
17
- import "tailwind-merge";
18
- import "himalaya";
19
- import "lodash";
20
- const T = {
21
- 25: "1/4",
22
- "33.33": "1/3",
23
- 50: "1/2",
24
- "66.67": "2/3",
25
- 75: "3/4",
26
- 20: "1/5",
27
- 40: "2/5",
28
- 60: "3/5",
29
- 80: "4/5",
30
- "16.67": "1/6",
31
- "83.33": "5/6",
32
- "8.33": "1/12",
33
- "41.67": "5/12",
34
- "58.33": "7/12",
35
- "91.67": "11/12",
36
- 100: "full"
37
- }, B = {
38
- 0: "0",
39
- 1: "px",
40
- 2: "0.5",
41
- 4: "1",
42
- 6: "1.5",
43
- 8: "2",
44
- 10: "2.5",
45
- 12: "3",
46
- 14: "3.5",
47
- 16: "4",
48
- 20: "5",
49
- 24: "6",
50
- 28: "7",
51
- 32: "8",
52
- 36: "9",
53
- 40: "10",
54
- 44: "11",
55
- 48: "12",
56
- 56: "14",
57
- 64: "16",
58
- 80: "20",
59
- 96: "24",
60
- 112: "28",
61
- 128: "32",
62
- 144: "36",
63
- 160: "40",
64
- 176: "44",
65
- 192: "48",
66
- 208: "52",
67
- 224: "56",
68
- 240: "60",
69
- 256: "64",
70
- 288: "72",
71
- 320: "80",
72
- 384: "96"
73
- };
74
- const V = 16, j = 4;
75
- function X(e) {
76
- return e.indexOf("rem") !== -1 && (e = `${parseFloat(e.replace("rem", "")) * V}px`), e;
77
- }
78
- const xe = (e) => {
79
- const n = e.match(/\[.*\]/);
80
- if (n === null)
81
- return e;
82
- const r = D(e);
83
- if (r === null)
84
- return e;
85
- const { property: o } = r;
86
- let t = O(n).replace(/\]/i, "").replace(/\[/i, "");
87
- const i = e.replace(/\[.*\]/i, "");
88
- t = X(t);
89
- let a = e;
90
- switch (o) {
91
- case "top":
92
- case "right":
93
- case "left":
94
- case "bottom":
95
- case "inset":
96
- case "insetX":
97
- case "insetY":
98
- case "gap":
99
- case "gapX":
100
- case "gapY":
101
- case "padding":
102
- case "paddingX":
103
- case "paddingY":
104
- case "paddingTop":
105
- case "paddingRight":
106
- case "paddingBottom":
107
- case "paddingLeft":
108
- case "margin":
109
- case "marginX":
110
- case "marginY":
111
- case "marginTop":
112
- case "marginRight":
113
- case "marginBottom":
114
- case "marginLeft":
115
- case "flexBasis":
116
- case "width":
117
- case "height":
118
- case "maxHeight":
119
- case "textIndent":
120
- case "spaceX":
121
- case "spaceY":
122
- if (t.indexOf("px") !== -1) {
123
- const l = w(d(B), (s) => `${s}px`);
124
- if (c(l, t)) {
125
- const s = v(t.replace("px", ""), 10);
126
- s === 1 ? a = `${i}px` : a = i + s / j;
127
- }
128
- }
129
- if (t.indexOf("%") !== -1) {
130
- const l = w(d(T), (s) => `${s}%`);
131
- if (c(l, t)) {
132
- const s = parseFloat(t.replace("%", ""));
133
- a = i + p(T, s);
134
- }
135
- }
136
- t.indexOf("vw") !== -1 && parseFloat(t.replace("vw", "")) === 100 && (a = `${i}screen`), t.indexOf("vh") !== -1 && parseFloat(t.replace("vh", "")) === 100 && (a = `${i}screen`);
137
- break;
138
- case "minWidth":
139
- t.indexOf("%") !== -1 && parseFloat(t.replace("%", "")) === 100 && (a = `${i}full`), t === "0px" && (a = "min-w-0");
140
- break;
141
- case "maxWidth":
142
- t === "0px" && (a = "max-w-0");
143
- const g = {
144
- "320px": "xs",
145
- "384px": "sm",
146
- "448px": "md",
147
- "512px": "lg",
148
- "576px": "xl",
149
- "672px": "2xl",
150
- "768px": "3xl",
151
- "896px": "4xl",
152
- "1024px": "5xl",
153
- "1152px": "6xl",
154
- "1280px": "7xl",
155
- "100%": "full",
156
- "65ch": "prose",
157
- "640px": "screen-sm",
158
- "1536px": "screen-2xl"
159
- };
160
- c(d(g), t) && (a = `max-w-${g[t]}`);
161
- break;
162
- case "minHeight":
163
- t.indexOf("%") !== -1 && parseFloat(t.replace("%", "")) === 100 && (a = `${i}full`), t === "0px" && (a = "min-h-0"), t === "100vh" && (a = "min-h-screen");
164
- break;
165
- case "fontSize":
166
- const u = {
167
- "12px": "xs",
168
- "14px": "sm",
169
- "16px": "base",
170
- "18px": "lg",
171
- "20px": "xl",
172
- "24px": "2xl",
173
- "30px": "3xl",
174
- "36px": "4xl",
175
- "48px": "5xl",
176
- "60px": "6xl",
177
- "72px": "7xl",
178
- "96px": "8xl",
179
- "128px": "9xl"
180
- };
181
- c(d(u), t) && (a = i + u[t]);
182
- break;
183
- case "lineHeight":
184
- const x = {
185
- "12px": "3",
186
- "16px": "4",
187
- "20px": "5",
188
- "24px": "6",
189
- "28px": "7",
190
- "32px": "8",
191
- "36px": "9",
192
- "40px": "10",
193
- 1: "none",
194
- "1.25": "tight",
195
- "1.375": "snug",
196
- "1.5": "normal",
197
- "1.625": "relaxed",
198
- 2: "loose"
199
- };
200
- c(d(x), t) && (a = i + x[t]);
201
- break;
202
- case "zIndex":
203
- a = ["0", "10", "20", "30", "40", "50"].indexOf(t) !== -1 ? `${i}${t}` : e;
204
- break;
205
- case "opacity":
206
- const b = [
207
- "0",
208
- "5",
209
- "10",
210
- "20",
211
- "25",
212
- "30",
213
- "40",
214
- "50",
215
- "60",
216
- "70",
217
- "75",
218
- "80",
219
- "90",
220
- "95",
221
- "100"
222
- ], f = parseFloat(t) * 100;
223
- c(b, f.toString()) && (a = `opacity-${f}`);
224
- break;
225
- default:
226
- break;
227
- }
228
- return a;
229
- };
230
- var C = {}, _ = {};
231
- (function(e) {
232
- "use strict";
233
- Object.defineProperty(e, "__esModule", {
234
- value: !0
235
- }), Object.defineProperty(e, "cloneDeep", {
236
- enumerable: !0,
237
- get: function() {
238
- return n;
239
- }
240
- });
241
- function n(r) {
242
- return Array.isArray(r) ? r.map((o) => n(o)) : typeof r == "object" && r !== null ? Object.fromEntries(Object.entries(r).map(([o, t]) => [
243
- o,
244
- n(t)
245
- ])) : r;
246
- }
247
- })(_);
248
- var Y = {
249
- content: [],
250
- presets: [],
251
- darkMode: "media",
252
- // or 'class'
253
- theme: {
254
- accentColor: ({ theme: e }) => ({
255
- ...e("colors"),
256
- auto: "auto"
257
- }),
258
- animation: {
259
- none: "none",
260
- spin: "spin 1s linear infinite",
261
- ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
262
- pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
263
- bounce: "bounce 1s infinite"
264
- },
265
- aria: {
266
- busy: 'busy="true"',
267
- checked: 'checked="true"',
268
- disabled: 'disabled="true"',
269
- expanded: 'expanded="true"',
270
- hidden: 'hidden="true"',
271
- pressed: 'pressed="true"',
272
- readonly: 'readonly="true"',
273
- required: 'required="true"',
274
- selected: 'selected="true"'
275
- },
276
- aspectRatio: {
277
- auto: "auto",
278
- square: "1 / 1",
279
- video: "16 / 9"
280
- },
281
- backdropBlur: ({ theme: e }) => e("blur"),
282
- backdropBrightness: ({ theme: e }) => e("brightness"),
283
- backdropContrast: ({ theme: e }) => e("contrast"),
284
- backdropGrayscale: ({ theme: e }) => e("grayscale"),
285
- backdropHueRotate: ({ theme: e }) => e("hueRotate"),
286
- backdropInvert: ({ theme: e }) => e("invert"),
287
- backdropOpacity: ({ theme: e }) => e("opacity"),
288
- backdropSaturate: ({ theme: e }) => e("saturate"),
289
- backdropSepia: ({ theme: e }) => e("sepia"),
290
- backgroundColor: ({ theme: e }) => e("colors"),
291
- backgroundImage: {
292
- none: "none",
293
- "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
294
- "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
295
- "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
296
- "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
297
- "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
298
- "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
299
- "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
300
- "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))"
301
- },
302
- backgroundOpacity: ({ theme: e }) => e("opacity"),
303
- backgroundPosition: {
304
- bottom: "bottom",
305
- center: "center",
306
- left: "left",
307
- "left-bottom": "left bottom",
308
- "left-top": "left top",
309
- right: "right",
310
- "right-bottom": "right bottom",
311
- "right-top": "right top",
312
- top: "top"
313
- },
314
- backgroundSize: {
315
- auto: "auto",
316
- cover: "cover",
317
- contain: "contain"
318
- },
319
- blur: {
320
- 0: "0",
321
- none: "0",
322
- sm: "4px",
323
- DEFAULT: "8px",
324
- md: "12px",
325
- lg: "16px",
326
- xl: "24px",
327
- "2xl": "40px",
328
- "3xl": "64px"
329
- },
330
- borderColor: ({ theme: e }) => ({
331
- ...e("colors"),
332
- DEFAULT: e("colors.gray.200", "currentColor")
333
- }),
334
- borderOpacity: ({ theme: e }) => e("opacity"),
335
- borderRadius: {
336
- none: "0px",
337
- sm: "0.125rem",
338
- DEFAULT: "0.25rem",
339
- md: "0.375rem",
340
- lg: "0.5rem",
341
- xl: "0.75rem",
342
- "2xl": "1rem",
343
- "3xl": "1.5rem",
344
- full: "9999px"
345
- },
346
- borderSpacing: ({ theme: e }) => ({
347
- ...e("spacing")
348
- }),
349
- borderWidth: {
350
- DEFAULT: "1px",
351
- 0: "0px",
352
- 2: "2px",
353
- 4: "4px",
354
- 8: "8px"
355
- },
356
- boxShadow: {
357
- sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
358
- DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
359
- md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
360
- lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
361
- xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
362
- "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
363
- inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
364
- none: "none"
365
- },
366
- boxShadowColor: ({ theme: e }) => e("colors"),
367
- brightness: {
368
- 0: "0",
369
- 50: ".5",
370
- 75: ".75",
371
- 90: ".9",
372
- 95: ".95",
373
- 100: "1",
374
- 105: "1.05",
375
- 110: "1.1",
376
- 125: "1.25",
377
- 150: "1.5",
378
- 200: "2"
379
- },
380
- caretColor: ({ theme: e }) => e("colors"),
381
- colors: ({ colors: e }) => ({
382
- inherit: e.inherit,
383
- current: e.current,
384
- transparent: e.transparent,
385
- black: e.black,
386
- white: e.white,
387
- slate: e.slate,
388
- gray: e.gray,
389
- zinc: e.zinc,
390
- neutral: e.neutral,
391
- stone: e.stone,
392
- red: e.red,
393
- orange: e.orange,
394
- amber: e.amber,
395
- yellow: e.yellow,
396
- lime: e.lime,
397
- green: e.green,
398
- emerald: e.emerald,
399
- teal: e.teal,
400
- cyan: e.cyan,
401
- sky: e.sky,
402
- blue: e.blue,
403
- indigo: e.indigo,
404
- violet: e.violet,
405
- purple: e.purple,
406
- fuchsia: e.fuchsia,
407
- pink: e.pink,
408
- rose: e.rose
409
- }),
410
- columns: {
411
- auto: "auto",
412
- 1: "1",
413
- 2: "2",
414
- 3: "3",
415
- 4: "4",
416
- 5: "5",
417
- 6: "6",
418
- 7: "7",
419
- 8: "8",
420
- 9: "9",
421
- 10: "10",
422
- 11: "11",
423
- 12: "12",
424
- "3xs": "16rem",
425
- "2xs": "18rem",
426
- xs: "20rem",
427
- sm: "24rem",
428
- md: "28rem",
429
- lg: "32rem",
430
- xl: "36rem",
431
- "2xl": "42rem",
432
- "3xl": "48rem",
433
- "4xl": "56rem",
434
- "5xl": "64rem",
435
- "6xl": "72rem",
436
- "7xl": "80rem"
437
- },
438
- container: {},
439
- content: {
440
- none: "none"
441
- },
442
- contrast: {
443
- 0: "0",
444
- 50: ".5",
445
- 75: ".75",
446
- 100: "1",
447
- 125: "1.25",
448
- 150: "1.5",
449
- 200: "2"
450
- },
451
- cursor: {
452
- auto: "auto",
453
- default: "default",
454
- pointer: "pointer",
455
- wait: "wait",
456
- text: "text",
457
- move: "move",
458
- help: "help",
459
- "not-allowed": "not-allowed",
460
- none: "none",
461
- "context-menu": "context-menu",
462
- progress: "progress",
463
- cell: "cell",
464
- crosshair: "crosshair",
465
- "vertical-text": "vertical-text",
466
- alias: "alias",
467
- copy: "copy",
468
- "no-drop": "no-drop",
469
- grab: "grab",
470
- grabbing: "grabbing",
471
- "all-scroll": "all-scroll",
472
- "col-resize": "col-resize",
473
- "row-resize": "row-resize",
474
- "n-resize": "n-resize",
475
- "e-resize": "e-resize",
476
- "s-resize": "s-resize",
477
- "w-resize": "w-resize",
478
- "ne-resize": "ne-resize",
479
- "nw-resize": "nw-resize",
480
- "se-resize": "se-resize",
481
- "sw-resize": "sw-resize",
482
- "ew-resize": "ew-resize",
483
- "ns-resize": "ns-resize",
484
- "nesw-resize": "nesw-resize",
485
- "nwse-resize": "nwse-resize",
486
- "zoom-in": "zoom-in",
487
- "zoom-out": "zoom-out"
488
- },
489
- divideColor: ({ theme: e }) => e("borderColor"),
490
- divideOpacity: ({ theme: e }) => e("borderOpacity"),
491
- divideWidth: ({ theme: e }) => e("borderWidth"),
492
- dropShadow: {
493
- sm: "0 1px 1px rgb(0 0 0 / 0.05)",
494
- DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
495
- md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
496
- lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
497
- xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
498
- "2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
499
- none: "0 0 #0000"
500
- },
501
- fill: ({ theme: e }) => ({
502
- none: "none",
503
- ...e("colors")
504
- }),
505
- flex: {
506
- 1: "1 1 0%",
507
- auto: "1 1 auto",
508
- initial: "0 1 auto",
509
- none: "none"
510
- },
511
- flexBasis: ({ theme: e }) => ({
512
- auto: "auto",
513
- ...e("spacing"),
514
- "1/2": "50%",
515
- "1/3": "33.333333%",
516
- "2/3": "66.666667%",
517
- "1/4": "25%",
518
- "2/4": "50%",
519
- "3/4": "75%",
520
- "1/5": "20%",
521
- "2/5": "40%",
522
- "3/5": "60%",
523
- "4/5": "80%",
524
- "1/6": "16.666667%",
525
- "2/6": "33.333333%",
526
- "3/6": "50%",
527
- "4/6": "66.666667%",
528
- "5/6": "83.333333%",
529
- "1/12": "8.333333%",
530
- "2/12": "16.666667%",
531
- "3/12": "25%",
532
- "4/12": "33.333333%",
533
- "5/12": "41.666667%",
534
- "6/12": "50%",
535
- "7/12": "58.333333%",
536
- "8/12": "66.666667%",
537
- "9/12": "75%",
538
- "10/12": "83.333333%",
539
- "11/12": "91.666667%",
540
- full: "100%"
541
- }),
542
- flexGrow: {
543
- 0: "0",
544
- DEFAULT: "1"
545
- },
546
- flexShrink: {
547
- 0: "0",
548
- DEFAULT: "1"
549
- },
550
- fontFamily: {
551
- sans: [
552
- "ui-sans-serif",
553
- "system-ui",
554
- "-apple-system",
555
- "BlinkMacSystemFont",
556
- '"Segoe UI"',
557
- "Roboto",
558
- '"Helvetica Neue"',
559
- "Arial",
560
- '"Noto Sans"',
561
- "sans-serif",
562
- '"Apple Color Emoji"',
563
- '"Segoe UI Emoji"',
564
- '"Segoe UI Symbol"',
565
- '"Noto Color Emoji"'
566
- ],
567
- serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"],
568
- mono: [
569
- "ui-monospace",
570
- "SFMono-Regular",
571
- "Menlo",
572
- "Monaco",
573
- "Consolas",
574
- '"Liberation Mono"',
575
- '"Courier New"',
576
- "monospace"
577
- ]
578
- },
579
- fontSize: {
580
- xs: ["0.75rem", { lineHeight: "1rem" }],
581
- sm: ["0.875rem", { lineHeight: "1.25rem" }],
582
- base: ["1rem", { lineHeight: "1.5rem" }],
583
- lg: ["1.125rem", { lineHeight: "1.75rem" }],
584
- xl: ["1.25rem", { lineHeight: "1.75rem" }],
585
- "2xl": ["1.5rem", { lineHeight: "2rem" }],
586
- "3xl": ["1.875rem", { lineHeight: "2.25rem" }],
587
- "4xl": ["2.25rem", { lineHeight: "2.5rem" }],
588
- "5xl": ["3rem", { lineHeight: "1" }],
589
- "6xl": ["3.75rem", { lineHeight: "1" }],
590
- "7xl": ["4.5rem", { lineHeight: "1" }],
591
- "8xl": ["6rem", { lineHeight: "1" }],
592
- "9xl": ["8rem", { lineHeight: "1" }]
593
- },
594
- fontWeight: {
595
- thin: "100",
596
- extralight: "200",
597
- light: "300",
598
- normal: "400",
599
- medium: "500",
600
- semibold: "600",
601
- bold: "700",
602
- extrabold: "800",
603
- black: "900"
604
- },
605
- gap: ({ theme: e }) => e("spacing"),
606
- gradientColorStops: ({ theme: e }) => e("colors"),
607
- gradientColorStopPositions: {
608
- "0%": "0%",
609
- "5%": "5%",
610
- "10%": "10%",
611
- "15%": "15%",
612
- "20%": "20%",
613
- "25%": "25%",
614
- "30%": "30%",
615
- "35%": "35%",
616
- "40%": "40%",
617
- "45%": "45%",
618
- "50%": "50%",
619
- "55%": "55%",
620
- "60%": "60%",
621
- "65%": "65%",
622
- "70%": "70%",
623
- "75%": "75%",
624
- "80%": "80%",
625
- "85%": "85%",
626
- "90%": "90%",
627
- "95%": "95%",
628
- "100%": "100%"
629
- },
630
- grayscale: {
631
- 0: "0",
632
- DEFAULT: "100%"
633
- },
634
- gridAutoColumns: {
635
- auto: "auto",
636
- min: "min-content",
637
- max: "max-content",
638
- fr: "minmax(0, 1fr)"
639
- },
640
- gridAutoRows: {
641
- auto: "auto",
642
- min: "min-content",
643
- max: "max-content",
644
- fr: "minmax(0, 1fr)"
645
- },
646
- gridColumn: {
647
- auto: "auto",
648
- "span-1": "span 1 / span 1",
649
- "span-2": "span 2 / span 2",
650
- "span-3": "span 3 / span 3",
651
- "span-4": "span 4 / span 4",
652
- "span-5": "span 5 / span 5",
653
- "span-6": "span 6 / span 6",
654
- "span-7": "span 7 / span 7",
655
- "span-8": "span 8 / span 8",
656
- "span-9": "span 9 / span 9",
657
- "span-10": "span 10 / span 10",
658
- "span-11": "span 11 / span 11",
659
- "span-12": "span 12 / span 12",
660
- "span-full": "1 / -1"
661
- },
662
- gridColumnEnd: {
663
- auto: "auto",
664
- 1: "1",
665
- 2: "2",
666
- 3: "3",
667
- 4: "4",
668
- 5: "5",
669
- 6: "6",
670
- 7: "7",
671
- 8: "8",
672
- 9: "9",
673
- 10: "10",
674
- 11: "11",
675
- 12: "12",
676
- 13: "13"
677
- },
678
- gridColumnStart: {
679
- auto: "auto",
680
- 1: "1",
681
- 2: "2",
682
- 3: "3",
683
- 4: "4",
684
- 5: "5",
685
- 6: "6",
686
- 7: "7",
687
- 8: "8",
688
- 9: "9",
689
- 10: "10",
690
- 11: "11",
691
- 12: "12",
692
- 13: "13"
693
- },
694
- gridRow: {
695
- auto: "auto",
696
- "span-1": "span 1 / span 1",
697
- "span-2": "span 2 / span 2",
698
- "span-3": "span 3 / span 3",
699
- "span-4": "span 4 / span 4",
700
- "span-5": "span 5 / span 5",
701
- "span-6": "span 6 / span 6",
702
- "span-full": "1 / -1"
703
- },
704
- gridRowEnd: {
705
- auto: "auto",
706
- 1: "1",
707
- 2: "2",
708
- 3: "3",
709
- 4: "4",
710
- 5: "5",
711
- 6: "6",
712
- 7: "7"
713
- },
714
- gridRowStart: {
715
- auto: "auto",
716
- 1: "1",
717
- 2: "2",
718
- 3: "3",
719
- 4: "4",
720
- 5: "5",
721
- 6: "6",
722
- 7: "7"
723
- },
724
- gridTemplateColumns: {
725
- none: "none",
726
- 1: "repeat(1, minmax(0, 1fr))",
727
- 2: "repeat(2, minmax(0, 1fr))",
728
- 3: "repeat(3, minmax(0, 1fr))",
729
- 4: "repeat(4, minmax(0, 1fr))",
730
- 5: "repeat(5, minmax(0, 1fr))",
731
- 6: "repeat(6, minmax(0, 1fr))",
732
- 7: "repeat(7, minmax(0, 1fr))",
733
- 8: "repeat(8, minmax(0, 1fr))",
734
- 9: "repeat(9, minmax(0, 1fr))",
735
- 10: "repeat(10, minmax(0, 1fr))",
736
- 11: "repeat(11, minmax(0, 1fr))",
737
- 12: "repeat(12, minmax(0, 1fr))"
738
- },
739
- gridTemplateRows: {
740
- none: "none",
741
- 1: "repeat(1, minmax(0, 1fr))",
742
- 2: "repeat(2, minmax(0, 1fr))",
743
- 3: "repeat(3, minmax(0, 1fr))",
744
- 4: "repeat(4, minmax(0, 1fr))",
745
- 5: "repeat(5, minmax(0, 1fr))",
746
- 6: "repeat(6, minmax(0, 1fr))"
747
- },
748
- height: ({ theme: e }) => ({
749
- auto: "auto",
750
- ...e("spacing"),
751
- "1/2": "50%",
752
- "1/3": "33.333333%",
753
- "2/3": "66.666667%",
754
- "1/4": "25%",
755
- "2/4": "50%",
756
- "3/4": "75%",
757
- "1/5": "20%",
758
- "2/5": "40%",
759
- "3/5": "60%",
760
- "4/5": "80%",
761
- "1/6": "16.666667%",
762
- "2/6": "33.333333%",
763
- "3/6": "50%",
764
- "4/6": "66.666667%",
765
- "5/6": "83.333333%",
766
- full: "100%",
767
- screen: "100vh",
768
- min: "min-content",
769
- max: "max-content",
770
- fit: "fit-content"
771
- }),
772
- hueRotate: {
773
- 0: "0deg",
774
- 15: "15deg",
775
- 30: "30deg",
776
- 60: "60deg",
777
- 90: "90deg",
778
- 180: "180deg"
779
- },
780
- inset: ({ theme: e }) => ({
781
- auto: "auto",
782
- ...e("spacing"),
783
- "1/2": "50%",
784
- "1/3": "33.333333%",
785
- "2/3": "66.666667%",
786
- "1/4": "25%",
787
- "2/4": "50%",
788
- "3/4": "75%",
789
- full: "100%"
790
- }),
791
- invert: {
792
- 0: "0",
793
- DEFAULT: "100%"
794
- },
795
- keyframes: {
796
- spin: {
797
- to: {
798
- transform: "rotate(360deg)"
799
- }
800
- },
801
- ping: {
802
- "75%, 100%": {
803
- transform: "scale(2)",
804
- opacity: "0"
805
- }
806
- },
807
- pulse: {
808
- "50%": {
809
- opacity: ".5"
810
- }
811
- },
812
- bounce: {
813
- "0%, 100%": {
814
- transform: "translateY(-25%)",
815
- animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
816
- },
817
- "50%": {
818
- transform: "none",
819
- animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
820
- }
821
- }
822
- },
823
- letterSpacing: {
824
- tighter: "-0.05em",
825
- tight: "-0.025em",
826
- normal: "0em",
827
- wide: "0.025em",
828
- wider: "0.05em",
829
- widest: "0.1em"
830
- },
831
- lineHeight: {
832
- none: "1",
833
- tight: "1.25",
834
- snug: "1.375",
835
- normal: "1.5",
836
- relaxed: "1.625",
837
- loose: "2",
838
- 3: ".75rem",
839
- 4: "1rem",
840
- 5: "1.25rem",
841
- 6: "1.5rem",
842
- 7: "1.75rem",
843
- 8: "2rem",
844
- 9: "2.25rem",
845
- 10: "2.5rem"
846
- },
847
- listStyleType: {
848
- none: "none",
849
- disc: "disc",
850
- decimal: "decimal"
851
- },
852
- listStyleImage: {
853
- none: "none"
854
- },
855
- margin: ({ theme: e }) => ({
856
- auto: "auto",
857
- ...e("spacing")
858
- }),
859
- lineClamp: {
860
- 1: "1",
861
- 2: "2",
862
- 3: "3",
863
- 4: "4",
864
- 5: "5",
865
- 6: "6"
866
- },
867
- maxHeight: ({ theme: e }) => ({
868
- ...e("spacing"),
869
- none: "none",
870
- full: "100%",
871
- screen: "100vh",
872
- min: "min-content",
873
- max: "max-content",
874
- fit: "fit-content"
875
- }),
876
- maxWidth: ({ theme: e, breakpoints: n }) => ({
877
- none: "none",
878
- 0: "0rem",
879
- xs: "20rem",
880
- sm: "24rem",
881
- md: "28rem",
882
- lg: "32rem",
883
- xl: "36rem",
884
- "2xl": "42rem",
885
- "3xl": "48rem",
886
- "4xl": "56rem",
887
- "5xl": "64rem",
888
- "6xl": "72rem",
889
- "7xl": "80rem",
890
- full: "100%",
891
- min: "min-content",
892
- max: "max-content",
893
- fit: "fit-content",
894
- prose: "65ch",
895
- ...n(e("screens"))
896
- }),
897
- minHeight: {
898
- 0: "0px",
899
- full: "100%",
900
- screen: "100vh",
901
- min: "min-content",
902
- max: "max-content",
903
- fit: "fit-content"
904
- },
905
- minWidth: {
906
- 0: "0px",
907
- full: "100%",
908
- min: "min-content",
909
- max: "max-content",
910
- fit: "fit-content"
911
- },
912
- objectPosition: {
913
- bottom: "bottom",
914
- center: "center",
915
- left: "left",
916
- "left-bottom": "left bottom",
917
- "left-top": "left top",
918
- right: "right",
919
- "right-bottom": "right bottom",
920
- "right-top": "right top",
921
- top: "top"
922
- },
923
- opacity: {
924
- 0: "0",
925
- 5: "0.05",
926
- 10: "0.1",
927
- 20: "0.2",
928
- 25: "0.25",
929
- 30: "0.3",
930
- 40: "0.4",
931
- 50: "0.5",
932
- 60: "0.6",
933
- 70: "0.7",
934
- 75: "0.75",
935
- 80: "0.8",
936
- 90: "0.9",
937
- 95: "0.95",
938
- 100: "1"
939
- },
940
- order: {
941
- first: "-9999",
942
- last: "9999",
943
- none: "0",
944
- 1: "1",
945
- 2: "2",
946
- 3: "3",
947
- 4: "4",
948
- 5: "5",
949
- 6: "6",
950
- 7: "7",
951
- 8: "8",
952
- 9: "9",
953
- 10: "10",
954
- 11: "11",
955
- 12: "12"
956
- },
957
- outlineColor: ({ theme: e }) => e("colors"),
958
- outlineOffset: {
959
- 0: "0px",
960
- 1: "1px",
961
- 2: "2px",
962
- 4: "4px",
963
- 8: "8px"
964
- },
965
- outlineWidth: {
966
- 0: "0px",
967
- 1: "1px",
968
- 2: "2px",
969
- 4: "4px",
970
- 8: "8px"
971
- },
972
- padding: ({ theme: e }) => e("spacing"),
973
- placeholderColor: ({ theme: e }) => e("colors"),
974
- placeholderOpacity: ({ theme: e }) => e("opacity"),
975
- ringColor: ({ theme: e }) => ({
976
- DEFAULT: e("colors.blue.500", "#3b82f6"),
977
- ...e("colors")
978
- }),
979
- ringOffsetColor: ({ theme: e }) => e("colors"),
980
- ringOffsetWidth: {
981
- 0: "0px",
982
- 1: "1px",
983
- 2: "2px",
984
- 4: "4px",
985
- 8: "8px"
986
- },
987
- ringOpacity: ({ theme: e }) => ({
988
- DEFAULT: "0.5",
989
- ...e("opacity")
990
- }),
991
- ringWidth: {
992
- DEFAULT: "3px",
993
- 0: "0px",
994
- 1: "1px",
995
- 2: "2px",
996
- 4: "4px",
997
- 8: "8px"
998
- },
999
- rotate: {
1000
- 0: "0deg",
1001
- 1: "1deg",
1002
- 2: "2deg",
1003
- 3: "3deg",
1004
- 6: "6deg",
1005
- 12: "12deg",
1006
- 45: "45deg",
1007
- 90: "90deg",
1008
- 180: "180deg"
1009
- },
1010
- saturate: {
1011
- 0: "0",
1012
- 50: ".5",
1013
- 100: "1",
1014
- 150: "1.5",
1015
- 200: "2"
1016
- },
1017
- scale: {
1018
- 0: "0",
1019
- 50: ".5",
1020
- 75: ".75",
1021
- 90: ".9",
1022
- 95: ".95",
1023
- 100: "1",
1024
- 105: "1.05",
1025
- 110: "1.1",
1026
- 125: "1.25",
1027
- 150: "1.5"
1028
- },
1029
- screens: {
1030
- sm: "640px",
1031
- md: "768px",
1032
- lg: "1024px",
1033
- xl: "1280px",
1034
- "2xl": "1536px"
1035
- },
1036
- scrollMargin: ({ theme: e }) => ({
1037
- ...e("spacing")
1038
- }),
1039
- scrollPadding: ({ theme: e }) => e("spacing"),
1040
- sepia: {
1041
- 0: "0",
1042
- DEFAULT: "100%"
1043
- },
1044
- skew: {
1045
- 0: "0deg",
1046
- 1: "1deg",
1047
- 2: "2deg",
1048
- 3: "3deg",
1049
- 6: "6deg",
1050
- 12: "12deg"
1051
- },
1052
- space: ({ theme: e }) => ({
1053
- ...e("spacing")
1054
- }),
1055
- spacing: {
1056
- px: "1px",
1057
- 0: "0px",
1058
- 0.5: "0.125rem",
1059
- 1: "0.25rem",
1060
- 1.5: "0.375rem",
1061
- 2: "0.5rem",
1062
- 2.5: "0.625rem",
1063
- 3: "0.75rem",
1064
- 3.5: "0.875rem",
1065
- 4: "1rem",
1066
- 5: "1.25rem",
1067
- 6: "1.5rem",
1068
- 7: "1.75rem",
1069
- 8: "2rem",
1070
- 9: "2.25rem",
1071
- 10: "2.5rem",
1072
- 11: "2.75rem",
1073
- 12: "3rem",
1074
- 14: "3.5rem",
1075
- 16: "4rem",
1076
- 20: "5rem",
1077
- 24: "6rem",
1078
- 28: "7rem",
1079
- 32: "8rem",
1080
- 36: "9rem",
1081
- 40: "10rem",
1082
- 44: "11rem",
1083
- 48: "12rem",
1084
- 52: "13rem",
1085
- 56: "14rem",
1086
- 60: "15rem",
1087
- 64: "16rem",
1088
- 72: "18rem",
1089
- 80: "20rem",
1090
- 96: "24rem"
1091
- },
1092
- stroke: ({ theme: e }) => ({
1093
- none: "none",
1094
- ...e("colors")
1095
- }),
1096
- strokeWidth: {
1097
- 0: "0",
1098
- 1: "1",
1099
- 2: "2"
1100
- },
1101
- supports: {},
1102
- data: {},
1103
- textColor: ({ theme: e }) => e("colors"),
1104
- textDecorationColor: ({ theme: e }) => e("colors"),
1105
- textDecorationThickness: {
1106
- auto: "auto",
1107
- "from-font": "from-font",
1108
- 0: "0px",
1109
- 1: "1px",
1110
- 2: "2px",
1111
- 4: "4px",
1112
- 8: "8px"
1113
- },
1114
- textIndent: ({ theme: e }) => ({
1115
- ...e("spacing")
1116
- }),
1117
- textOpacity: ({ theme: e }) => e("opacity"),
1118
- textUnderlineOffset: {
1119
- auto: "auto",
1120
- 0: "0px",
1121
- 1: "1px",
1122
- 2: "2px",
1123
- 4: "4px",
1124
- 8: "8px"
1125
- },
1126
- transformOrigin: {
1127
- center: "center",
1128
- top: "top",
1129
- "top-right": "top right",
1130
- right: "right",
1131
- "bottom-right": "bottom right",
1132
- bottom: "bottom",
1133
- "bottom-left": "bottom left",
1134
- left: "left",
1135
- "top-left": "top left"
1136
- },
1137
- transitionDelay: {
1138
- 0: "0s",
1139
- 75: "75ms",
1140
- 100: "100ms",
1141
- 150: "150ms",
1142
- 200: "200ms",
1143
- 300: "300ms",
1144
- 500: "500ms",
1145
- 700: "700ms",
1146
- 1e3: "1000ms"
1147
- },
1148
- transitionDuration: {
1149
- DEFAULT: "150ms",
1150
- 0: "0s",
1151
- 75: "75ms",
1152
- 100: "100ms",
1153
- 150: "150ms",
1154
- 200: "200ms",
1155
- 300: "300ms",
1156
- 500: "500ms",
1157
- 700: "700ms",
1158
- 1e3: "1000ms"
1159
- },
1160
- transitionProperty: {
1161
- none: "none",
1162
- all: "all",
1163
- DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
1164
- colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
1165
- opacity: "opacity",
1166
- shadow: "box-shadow",
1167
- transform: "transform"
1168
- },
1169
- transitionTimingFunction: {
1170
- DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
1171
- linear: "linear",
1172
- in: "cubic-bezier(0.4, 0, 1, 1)",
1173
- out: "cubic-bezier(0, 0, 0.2, 1)",
1174
- "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
1175
- },
1176
- translate: ({ theme: e }) => ({
1177
- ...e("spacing"),
1178
- "1/2": "50%",
1179
- "1/3": "33.333333%",
1180
- "2/3": "66.666667%",
1181
- "1/4": "25%",
1182
- "2/4": "50%",
1183
- "3/4": "75%",
1184
- full: "100%"
1185
- }),
1186
- width: ({ theme: e }) => ({
1187
- auto: "auto",
1188
- ...e("spacing"),
1189
- "1/2": "50%",
1190
- "1/3": "33.333333%",
1191
- "2/3": "66.666667%",
1192
- "1/4": "25%",
1193
- "2/4": "50%",
1194
- "3/4": "75%",
1195
- "1/5": "20%",
1196
- "2/5": "40%",
1197
- "3/5": "60%",
1198
- "4/5": "80%",
1199
- "1/6": "16.666667%",
1200
- "2/6": "33.333333%",
1201
- "3/6": "50%",
1202
- "4/6": "66.666667%",
1203
- "5/6": "83.333333%",
1204
- "1/12": "8.333333%",
1205
- "2/12": "16.666667%",
1206
- "3/12": "25%",
1207
- "4/12": "33.333333%",
1208
- "5/12": "41.666667%",
1209
- "6/12": "50%",
1210
- "7/12": "58.333333%",
1211
- "8/12": "66.666667%",
1212
- "9/12": "75%",
1213
- "10/12": "83.333333%",
1214
- "11/12": "91.666667%",
1215
- full: "100%",
1216
- screen: "100vw",
1217
- min: "min-content",
1218
- max: "max-content",
1219
- fit: "fit-content"
1220
- }),
1221
- willChange: {
1222
- auto: "auto",
1223
- scroll: "scroll-position",
1224
- contents: "contents",
1225
- transform: "transform"
1226
- },
1227
- zIndex: {
1228
- auto: "auto",
1229
- 0: "0",
1230
- 10: "10",
1231
- 20: "20",
1232
- 30: "30",
1233
- 40: "40",
1234
- 50: "50"
1235
- }
1236
- },
1237
- plugins: []
1238
- };
1239
- (function(e) {
1240
- "use strict";
1241
- Object.defineProperty(e, "__esModule", {
1242
- value: !0
1243
- }), Object.defineProperty(e, "default", {
1244
- enumerable: !0,
1245
- get: function() {
1246
- return t;
1247
- }
1248
- });
1249
- const n = _, r = /* @__PURE__ */ o(Y);
1250
- function o(i) {
1251
- return i && i.__esModule ? i : {
1252
- default: i
1253
- };
1254
- }
1255
- const t = (0, n.cloneDeep)(r.default.theme);
1256
- })(C);
1257
- let h = C;
1258
- var G = (h.__esModule ? h : { default: h }).default;
1259
- const k = /* @__PURE__ */ H(G);
1260
- async function q(e, n, r = [], o = "", t = !1) {
1261
- const i = p(e, "primaryColor", "#000"), a = p(e, "secondaryColor", "#ccc"), g = p(e, "headingFont", "Inter"), u = p(e, "bodyFont", "Inter"), x = p(e, "roundedCorners", "0"), y = p(e, "bodyBgLightColor", "#fff"), b = p(e, "bodyBgDarkColor", "#000"), f = p(e, "bodyTextDarkColor", "#FFF"), l = p(e, "bodyTextLightColor", "#000"), s = {
1262
- "bg-light": y,
1263
- "bg-dark": b,
1264
- "text-dark": f,
1265
- "text-light": l
1266
- }, F = $([
1267
- { color: i, name: "primary" },
1268
- { color: a, name: "secondary" }
1269
- ]);
1270
- return await R({
1271
- tailwindConfig: {
1272
- darkMode: "class",
1273
- safelist: r,
1274
- theme: {
1275
- container: {
1276
- center: !0,
1277
- padding: "1rem",
1278
- screens: { "2xl": "1400px" }
1279
- },
1280
- fontFamily: {
1281
- heading: [g, ...k.fontFamily.sans],
1282
- body: [u, ...k.fontFamily.sans]
1283
- },
1284
- extend: {
1285
- borderRadius: {
1286
- DEFAULT: `${x || "0px"}px`
1287
- },
1288
- colors: { ...s, ...F }
1289
- }
1290
- },
1291
- plugins: [
1292
- I,
1293
- M,
1294
- P,
1295
- E(function({ addBase: S, theme: m }) {
1296
- S({
1297
- "h1,h2,h3,h4,h5,h6": {
1298
- fontFamily: m("fontFamily.heading")
1299
- },
1300
- body: {
1301
- fontFamily: m("fontFamily.body"),
1302
- color: m("colors.text-light"),
1303
- backgroundColor: m("colors.bg-light")
1304
- },
1305
- ".dark body": {
1306
- color: m("colors.text-dark"),
1307
- backgroundColor: m("colors.bg-dark")
1308
- }
1309
- });
1310
- })
1311
- ],
1312
- corePlugins: { preflight: t },
1313
- ...o ? { prefix: `${o}` } : {}
1314
- }
1315
- }).generateStylesFromContent(
1316
- ` ${t ? "@tailwind base;" : ""}
1317
- @tailwind components;
1318
- @tailwind utilities;`,
1319
- n
1320
- );
1321
- }
1322
- const K = (e, n) => e.map((r) => {
1323
- const o = {};
1324
- return Object.keys(r).forEach((t) => {
1325
- A(r[t], W) && (o[t] = U(r[t], n));
1326
- }), o;
1327
- }), z = (e, n, r = "", o = !1) => q(
1328
- n,
1329
- [L(JSON.stringify(K(e, r)), /#styles:/g, "")],
1330
- [],
1331
- r,
1332
- o
1333
- ), de = async (e, n = "", r = !1) => {
1334
- const o = e.page.blocks;
1335
- return await z(o, e.project.brandingOptions, n, r);
1336
- }, ge = async (e, n, r = "", o = !0) => await z(e, n, r, o);
1337
- export {
1338
- U as addPrefixToClasses,
1339
- be as cn,
1340
- xe as convertArbitraryToTailwindClass,
1341
- _e as convertToBlocks,
1342
- ye as generateUUID,
1343
- ke as getBlocksFromHTML,
1344
- z as getBlocksTailwindCSS,
1345
- ze as getBrandingClasses,
1346
- we as getBreakpointValue,
1347
- ge as getStylesForBlocks,
1348
- de as getStylesForPageData,
1349
- q as getTailwindCSS
1350
- };