@chaibuilder/sdk 1.2.31 → 1.2.33

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