@chaibuilder/sdk 1.2.30 → 1.2.32

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