@easy-ui-react/easy-ui-react 1.4.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -127,13 +127,13 @@ var s = (e, t) => {
127
127
  e in n ? n[e] = t : i(e, t);
128
128
  }
129
129
  };
130
- }, T = "!", E = ":", D = [], te = (e, t, n, r, i) => ({
130
+ }, T = "!", E = ":", D = [], O = (e, t, n, r, i) => ({
131
131
  modifiers: e,
132
132
  hasImportantModifier: t,
133
133
  baseClassName: n,
134
134
  maybePostfixModifierPosition: r,
135
135
  isExternal: i
136
- }), ne = (e) => {
136
+ }), k = (e) => {
137
137
  let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
138
138
  let t = [], n = 0, r = 0, i = 0, a, o = e.length;
139
139
  for (let s = 0; s < o; s++) {
@@ -153,11 +153,11 @@ var s = (e, t) => {
153
153
  let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
154
154
  s.endsWith(T) ? (c = s.slice(0, -1), l = !0) : s.startsWith(T) && (c = s.slice(1), l = !0);
155
155
  let u = a && a > i ? a - i : void 0;
156
- return te(t, l, c, u);
156
+ return O(t, l, c, u);
157
157
  };
158
158
  if (t) {
159
159
  let e = t + E, n = r;
160
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : te(D, !1, t, void 0, !0);
160
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : O(D, !1, t, void 0, !0);
161
161
  }
162
162
  if (n) {
163
163
  let e = r;
@@ -167,7 +167,7 @@ var s = (e, t) => {
167
167
  });
168
168
  }
169
169
  return r;
170
- }, O = (e) => {
170
+ }, A = (e) => {
171
171
  let t = /* @__PURE__ */ new Map();
172
172
  return e.orderSensitiveModifiers.forEach((e, n) => {
173
173
  t.set(e, 1e6 + n);
@@ -179,18 +179,18 @@ var s = (e, t) => {
179
179
  }
180
180
  return r.length > 0 && (r.sort(), n.push(...r)), n;
181
181
  };
182
- }, k = (e) => ({
182
+ }, j = (e) => ({
183
183
  cache: w(e.cacheSize),
184
- parseClassName: ne(e),
185
- sortModifiers: O(e),
186
- postfixLookupClassGroupIds: A(e),
184
+ parseClassName: k(e),
185
+ sortModifiers: A(e),
186
+ postfixLookupClassGroupIds: M(e),
187
187
  ...f(e)
188
- }), A = (e) => {
188
+ }), M = (e) => {
189
189
  let t = Object.create(null), n = e.postfixLookupClassGroups;
190
190
  if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
191
191
  return t;
192
- }, j = /\s+/, re = (e, t) => {
193
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(j), l = "";
192
+ }, te = /\s+/, ne = (e, t) => {
193
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(te), l = "";
194
194
  for (let e = c.length - 1; e >= 0; --e) {
195
195
  let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: ee, baseClassName: f, maybePostfixModifierPosition: p } = n(t);
196
196
  if (u) {
@@ -225,34 +225,34 @@ var s = (e, t) => {
225
225
  l = t + (l.length > 0 ? " " + l : l);
226
226
  }
227
227
  return l;
228
- }, M = (...e) => {
228
+ }, N = (...e) => {
229
229
  let t = 0, n, r, i = "";
230
- for (; t < e.length;) (n = e[t++]) && (r = ie(n)) && (i && (i += " "), i += r);
230
+ for (; t < e.length;) (n = e[t++]) && (r = re(n)) && (i && (i += " "), i += r);
231
231
  return i;
232
- }, ie = (e) => {
232
+ }, re = (e) => {
233
233
  if (typeof e == "string") return e;
234
234
  let t, n = "";
235
- for (let r = 0; r < e.length; r++) e[r] && (t = ie(e[r])) && (n && (n += " "), n += t);
235
+ for (let r = 0; r < e.length; r++) e[r] && (t = re(e[r])) && (n && (n += " "), n += t);
236
236
  return n;
237
- }, ae = (e, ...t) => {
238
- let n, r, i, a, o = (o) => (n = k(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
237
+ }, ie = (e, ...t) => {
238
+ let n, r, i, a, o = (o) => (n = j(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
239
239
  let t = r(e);
240
240
  if (t) return t;
241
- let a = re(e, n);
241
+ let a = ne(e, n);
242
242
  return i(e, a), a;
243
243
  };
244
- return a = o, (...e) => a(M(...e));
245
- }, oe = [], N = (e) => {
246
- let t = (t) => t[e] || oe;
244
+ return a = o, (...e) => a(N(...e));
245
+ }, ae = [], P = (e) => {
246
+ let t = (t) => t[e] || ae;
247
247
  return t.isThemeGetter = !0, t;
248
- }, P = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, F = /^\((?:(\w[\w-]*):)?(.+)\)$/i, I = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, L = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, se = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, R = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, z = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, B = (e) => I.test(e), V = (e) => !!e && !Number.isNaN(Number(e)), H = (e) => !!e && Number.isInteger(Number(e)), le = (e) => e.endsWith("%") && V(e.slice(0, -1)), U = (e) => L.test(e), ue = () => !0, W = (e) => se.test(e) && !R.test(e), G = () => !1, K = (e) => ce.test(e), de = (e) => z.test(e), fe = (e) => !q(e) && !Y(e), pe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), me = (e) => Z(e, ke, G), q = (e) => P.test(e), J = (e) => Z(e, Ae, W), he = (e) => Z(e, je, V), ge = (e) => Z(e, Ne, ue), _e = (e) => Z(e, Me, G), ve = (e) => Z(e, De, G), ye = (e) => Z(e, Oe, de), be = (e) => Z(e, Pe, K), Y = (e) => F.test(e), X = (e) => Q(e, Ae), xe = (e) => Q(e, Me), Se = (e) => Q(e, De), Ce = (e) => Q(e, ke), we = (e) => Q(e, Oe), Te = (e) => Q(e, Pe, !0), Ee = (e) => Q(e, Ne, !0), Z = (e, t, n) => {
249
- let r = P.exec(e);
248
+ }, F = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, I = /^\((?:(\w[\w-]*):)?(.+)\)$/i, L = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, R = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, oe = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, z = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, se = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, B = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, V = (e) => L.test(e), H = (e) => !!e && !Number.isNaN(Number(e)), U = (e) => !!e && Number.isInteger(Number(e)), ce = (e) => e.endsWith("%") && H(e.slice(0, -1)), W = (e) => R.test(e), le = () => !0, G = (e) => oe.test(e) && !z.test(e), K = () => !1, q = (e) => se.test(e), ue = (e) => B.test(e), de = (e) => !J(e) && !X(e), fe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), pe = (e) => Z(e, ke, K), J = (e) => F.test(e), Y = (e) => Z(e, Ae, G), me = (e) => Z(e, je, H), he = (e) => Z(e, Ne, le), ge = (e) => Z(e, Me, K), _e = (e) => Z(e, De, K), ve = (e) => Z(e, Oe, ue), ye = (e) => Z(e, Pe, q), X = (e) => I.test(e), be = (e) => Q(e, Ae), xe = (e) => Q(e, Me), Se = (e) => Q(e, De), Ce = (e) => Q(e, ke), we = (e) => Q(e, Oe), Te = (e) => Q(e, Pe, !0), Ee = (e) => Q(e, Ne, !0), Z = (e, t, n) => {
249
+ let r = F.exec(e);
250
250
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
251
251
  }, Q = (e, t, n = !1) => {
252
- let r = F.exec(e);
252
+ let r = I.exec(e);
253
253
  return r ? r[1] ? t(r[1]) : n : !1;
254
- }, De = (e) => e === "position" || e === "percentage", Oe = (e) => e === "image" || e === "url", ke = (e) => e === "length" || e === "size" || e === "bg-size", Ae = (e) => e === "length", je = (e) => e === "number", Me = (e) => e === "family-name", Ne = (e) => e === "number" || e === "weight", Pe = (e) => e === "shadow", Fe = /* @__PURE__ */ ae(() => {
255
- let e = N("color"), t = N("font"), n = N("text"), r = N("font-weight"), i = N("tracking"), a = N("leading"), o = N("breakpoint"), s = N("container"), c = N("spacing"), l = N("radius"), u = N("shadow"), d = N("inset-shadow"), ee = N("text-shadow"), f = N("drop-shadow"), p = N("blur"), m = N("perspective"), h = N("aspect"), g = N("ease"), _ = N("animate"), v = () => [
254
+ }, De = (e) => e === "position" || e === "percentage", Oe = (e) => e === "image" || e === "url", ke = (e) => e === "length" || e === "size" || e === "bg-size", Ae = (e) => e === "length", je = (e) => e === "number", Me = (e) => e === "family-name", Ne = (e) => e === "number" || e === "weight", Pe = (e) => e === "shadow", Fe = /* @__PURE__ */ ie(() => {
255
+ let e = P("color"), t = P("font"), n = P("text"), r = P("font-weight"), i = P("tracking"), a = P("leading"), o = P("breakpoint"), s = P("container"), c = P("spacing"), l = P("radius"), u = P("shadow"), d = P("inset-shadow"), ee = P("text-shadow"), f = P("drop-shadow"), p = P("blur"), m = P("perspective"), h = P("aspect"), g = P("ease"), _ = P("animate"), v = () => [
256
256
  "auto",
257
257
  "avoid",
258
258
  "all",
@@ -277,8 +277,8 @@ var s = (e, t) => {
277
277
  "left-bottom"
278
278
  ], b = () => [
279
279
  ...y(),
280
- Y,
281
- q
280
+ X,
281
+ J
282
282
  ], x = () => [
283
283
  "auto",
284
284
  "hidden",
@@ -290,44 +290,44 @@ var s = (e, t) => {
290
290
  "contain",
291
291
  "none"
292
292
  ], C = () => [
293
- Y,
294
- q,
293
+ X,
294
+ J,
295
295
  c
296
296
  ], w = () => [
297
- B,
297
+ V,
298
298
  "full",
299
299
  "auto",
300
300
  ...C()
301
301
  ], T = () => [
302
- H,
302
+ U,
303
303
  "none",
304
304
  "subgrid",
305
- Y,
306
- q
305
+ X,
306
+ J
307
307
  ], E = () => [
308
308
  "auto",
309
309
  { span: [
310
310
  "full",
311
- H,
312
- Y,
313
- q
311
+ U,
312
+ X,
313
+ J
314
314
  ] },
315
- H,
316
- Y,
317
- q
315
+ U,
316
+ X,
317
+ J
318
318
  ], D = () => [
319
- H,
319
+ U,
320
320
  "auto",
321
- Y,
322
- q
323
- ], te = () => [
321
+ X,
322
+ J
323
+ ], O = () => [
324
324
  "auto",
325
325
  "min",
326
326
  "max",
327
327
  "fr",
328
- Y,
329
- q
330
- ], ne = () => [
328
+ X,
329
+ J
330
+ ], k = () => [
331
331
  "start",
332
332
  "end",
333
333
  "center",
@@ -338,15 +338,15 @@ var s = (e, t) => {
338
338
  "baseline",
339
339
  "center-safe",
340
340
  "end-safe"
341
- ], O = () => [
341
+ ], A = () => [
342
342
  "start",
343
343
  "end",
344
344
  "center",
345
345
  "stretch",
346
346
  "center-safe",
347
347
  "end-safe"
348
- ], k = () => ["auto", ...C()], A = () => [
349
- B,
348
+ ], j = () => ["auto", ...C()], M = () => [
349
+ V,
350
350
  "auto",
351
351
  "full",
352
352
  "dvw",
@@ -359,8 +359,8 @@ var s = (e, t) => {
359
359
  "max",
360
360
  "fit",
361
361
  ...C()
362
- ], j = () => [
363
- B,
362
+ ], te = () => [
363
+ V,
364
364
  "screen",
365
365
  "full",
366
366
  "dvw",
@@ -370,8 +370,8 @@ var s = (e, t) => {
370
370
  "max",
371
371
  "fit",
372
372
  ...C()
373
- ], re = () => [
374
- B,
373
+ ], ne = () => [
374
+ V,
375
375
  "screen",
376
376
  "full",
377
377
  "lh",
@@ -382,50 +382,50 @@ var s = (e, t) => {
382
382
  "max",
383
383
  "fit",
384
384
  ...C()
385
- ], M = () => [
385
+ ], N = () => [
386
386
  e,
387
- Y,
388
- q
389
- ], ie = () => [
387
+ X,
388
+ J
389
+ ], re = () => [
390
390
  ...y(),
391
391
  Se,
392
- ve,
393
- { position: [Y, q] }
394
- ], ae = () => ["no-repeat", { repeat: [
392
+ _e,
393
+ { position: [X, J] }
394
+ ], ie = () => ["no-repeat", { repeat: [
395
395
  "",
396
396
  "x",
397
397
  "y",
398
398
  "space",
399
399
  "round"
400
- ] }], oe = () => [
400
+ ] }], ae = () => [
401
401
  "auto",
402
402
  "cover",
403
403
  "contain",
404
404
  Ce,
405
- me,
406
- { size: [Y, q] }
407
- ], P = () => [
408
- le,
409
- X,
410
- J
405
+ pe,
406
+ { size: [X, J] }
411
407
  ], F = () => [
408
+ ce,
409
+ be,
410
+ Y
411
+ ], I = () => [
412
412
  "",
413
413
  "none",
414
414
  "full",
415
415
  l,
416
- Y,
417
- q
418
- ], I = () => [
419
- "",
420
- V,
421
416
  X,
422
417
  J
423
418
  ], L = () => [
419
+ "",
420
+ H,
421
+ be,
422
+ Y
423
+ ], R = () => [
424
424
  "solid",
425
425
  "dashed",
426
426
  "dotted",
427
427
  "double"
428
- ], se = () => [
428
+ ], oe = () => [
429
429
  "normal",
430
430
  "multiply",
431
431
  "screen",
@@ -442,33 +442,33 @@ var s = (e, t) => {
442
442
  "saturation",
443
443
  "color",
444
444
  "luminosity"
445
- ], R = () => [
446
- V,
447
- le,
445
+ ], z = () => [
446
+ H,
447
+ ce,
448
448
  Se,
449
- ve
450
- ], ce = () => [
449
+ _e
450
+ ], se = () => [
451
451
  "",
452
452
  "none",
453
453
  p,
454
- Y,
455
- q
456
- ], z = () => [
457
- "none",
458
- V,
459
- Y,
460
- q
461
- ], W = () => [
454
+ X,
455
+ J
456
+ ], B = () => [
462
457
  "none",
463
- V,
464
- Y,
465
- q
458
+ H,
459
+ X,
460
+ J
466
461
  ], G = () => [
467
- V,
468
- Y,
469
- q
462
+ "none",
463
+ H,
464
+ X,
465
+ J
470
466
  ], K = () => [
471
- B,
467
+ H,
468
+ X,
469
+ J
470
+ ], q = () => [
471
+ V,
472
472
  "full",
473
473
  ...C()
474
474
  ];
@@ -482,17 +482,17 @@ var s = (e, t) => {
482
482
  "bounce"
483
483
  ],
484
484
  aspect: ["video"],
485
- blur: [U],
486
- breakpoint: [U],
487
- color: [ue],
488
- container: [U],
489
- "drop-shadow": [U],
485
+ blur: [W],
486
+ breakpoint: [W],
487
+ color: [le],
488
+ container: [W],
489
+ "drop-shadow": [W],
490
490
  ease: [
491
491
  "in",
492
492
  "out",
493
493
  "in-out"
494
494
  ],
495
- font: [fe],
495
+ font: [de],
496
496
  "font-weight": [
497
497
  "thin",
498
498
  "extralight",
@@ -504,7 +504,7 @@ var s = (e, t) => {
504
504
  "extrabold",
505
505
  "black"
506
506
  ],
507
- "inset-shadow": [U],
507
+ "inset-shadow": [W],
508
508
  leading: [
509
509
  "none",
510
510
  "tight",
@@ -521,11 +521,11 @@ var s = (e, t) => {
521
521
  "distant",
522
522
  "none"
523
523
  ],
524
- radius: [U],
525
- shadow: [U],
526
- spacing: ["px", V],
527
- text: [U],
528
- "text-shadow": [U],
524
+ radius: [W],
525
+ shadow: [W],
526
+ spacing: ["px", H],
527
+ text: [W],
528
+ "text-shadow": [W],
529
529
  tracking: [
530
530
  "tighter",
531
531
  "tight",
@@ -539,9 +539,9 @@ var s = (e, t) => {
539
539
  aspect: [{ aspect: [
540
540
  "auto",
541
541
  "square",
542
- B,
543
- q,
544
- Y,
542
+ V,
543
+ J,
544
+ X,
545
545
  h
546
546
  ] }],
547
547
  container: ["container"],
@@ -549,14 +549,14 @@ var s = (e, t) => {
549
549
  "",
550
550
  "normal",
551
551
  "size",
552
- Y,
553
- q
552
+ X,
553
+ J
554
554
  ] }],
555
- "container-named": [pe],
555
+ "container-named": [fe],
556
556
  columns: [{ columns: [
557
- V,
558
- q,
559
- Y,
557
+ H,
558
+ J,
559
+ X,
560
560
  s
561
561
  ] }],
562
562
  "break-after": [{ "break-after": v() }],
@@ -653,13 +653,13 @@ var s = (e, t) => {
653
653
  "collapse"
654
654
  ],
655
655
  z: [{ z: [
656
- H,
656
+ U,
657
657
  "auto",
658
- Y,
659
- q
658
+ X,
659
+ J
660
660
  ] }],
661
661
  basis: [{ basis: [
662
- B,
662
+ V,
663
663
  "full",
664
664
  "auto",
665
665
  s,
@@ -677,32 +677,32 @@ var s = (e, t) => {
677
677
  "wrap-reverse"
678
678
  ] }],
679
679
  flex: [{ flex: [
680
+ H,
680
681
  V,
681
- B,
682
682
  "auto",
683
683
  "initial",
684
684
  "none",
685
- q
685
+ J
686
686
  ] }],
687
687
  grow: [{ grow: [
688
688
  "",
689
- V,
690
- Y,
691
- q
689
+ H,
690
+ X,
691
+ J
692
692
  ] }],
693
693
  shrink: [{ shrink: [
694
694
  "",
695
- V,
696
- Y,
697
- q
695
+ H,
696
+ X,
697
+ J
698
698
  ] }],
699
699
  order: [{ order: [
700
- H,
700
+ U,
701
701
  "first",
702
702
  "last",
703
703
  "none",
704
- Y,
705
- q
704
+ X,
705
+ J
706
706
  ] }],
707
707
  "grid-cols": [{ "grid-cols": T() }],
708
708
  "col-start-end": [{ col: E() }],
@@ -719,24 +719,24 @@ var s = (e, t) => {
719
719
  "row-dense",
720
720
  "col-dense"
721
721
  ] }],
722
- "auto-cols": [{ "auto-cols": te() }],
723
- "auto-rows": [{ "auto-rows": te() }],
722
+ "auto-cols": [{ "auto-cols": O() }],
723
+ "auto-rows": [{ "auto-rows": O() }],
724
724
  gap: [{ gap: C() }],
725
725
  "gap-x": [{ "gap-x": C() }],
726
726
  "gap-y": [{ "gap-y": C() }],
727
- "justify-content": [{ justify: [...ne(), "normal"] }],
728
- "justify-items": [{ "justify-items": [...O(), "normal"] }],
729
- "justify-self": [{ "justify-self": ["auto", ...O()] }],
730
- "align-content": [{ content: ["normal", ...ne()] }],
731
- "align-items": [{ items: [...O(), { baseline: ["", "last"] }] }],
727
+ "justify-content": [{ justify: [...k(), "normal"] }],
728
+ "justify-items": [{ "justify-items": [...A(), "normal"] }],
729
+ "justify-self": [{ "justify-self": ["auto", ...A()] }],
730
+ "align-content": [{ content: ["normal", ...k()] }],
731
+ "align-items": [{ items: [...A(), { baseline: ["", "last"] }] }],
732
732
  "align-self": [{ self: [
733
733
  "auto",
734
- ...O(),
734
+ ...A(),
735
735
  { baseline: ["", "last"] }
736
736
  ] }],
737
- "place-content": [{ "place-content": ne() }],
738
- "place-items": [{ "place-items": [...O(), "baseline"] }],
739
- "place-self": [{ "place-self": ["auto", ...O()] }],
737
+ "place-content": [{ "place-content": k() }],
738
+ "place-items": [{ "place-items": [...A(), "baseline"] }],
739
+ "place-self": [{ "place-self": ["auto", ...A()] }],
740
740
  p: [{ p: C() }],
741
741
  px: [{ px: C() }],
742
742
  py: [{ py: C() }],
@@ -748,38 +748,38 @@ var s = (e, t) => {
748
748
  pr: [{ pr: C() }],
749
749
  pb: [{ pb: C() }],
750
750
  pl: [{ pl: C() }],
751
- m: [{ m: k() }],
752
- mx: [{ mx: k() }],
753
- my: [{ my: k() }],
754
- ms: [{ ms: k() }],
755
- me: [{ me: k() }],
756
- mbs: [{ mbs: k() }],
757
- mbe: [{ mbe: k() }],
758
- mt: [{ mt: k() }],
759
- mr: [{ mr: k() }],
760
- mb: [{ mb: k() }],
761
- ml: [{ ml: k() }],
751
+ m: [{ m: j() }],
752
+ mx: [{ mx: j() }],
753
+ my: [{ my: j() }],
754
+ ms: [{ ms: j() }],
755
+ me: [{ me: j() }],
756
+ mbs: [{ mbs: j() }],
757
+ mbe: [{ mbe: j() }],
758
+ mt: [{ mt: j() }],
759
+ mr: [{ mr: j() }],
760
+ mb: [{ mb: j() }],
761
+ ml: [{ ml: j() }],
762
762
  "space-x": [{ "space-x": C() }],
763
763
  "space-x-reverse": ["space-x-reverse"],
764
764
  "space-y": [{ "space-y": C() }],
765
765
  "space-y-reverse": ["space-y-reverse"],
766
- size: [{ size: A() }],
767
- "inline-size": [{ inline: ["auto", ...j()] }],
768
- "min-inline-size": [{ "min-inline": ["auto", ...j()] }],
769
- "max-inline-size": [{ "max-inline": ["none", ...j()] }],
770
- "block-size": [{ block: ["auto", ...re()] }],
771
- "min-block-size": [{ "min-block": ["auto", ...re()] }],
772
- "max-block-size": [{ "max-block": ["none", ...re()] }],
766
+ size: [{ size: M() }],
767
+ "inline-size": [{ inline: ["auto", ...te()] }],
768
+ "min-inline-size": [{ "min-inline": ["auto", ...te()] }],
769
+ "max-inline-size": [{ "max-inline": ["none", ...te()] }],
770
+ "block-size": [{ block: ["auto", ...ne()] }],
771
+ "min-block-size": [{ "min-block": ["auto", ...ne()] }],
772
+ "max-block-size": [{ "max-block": ["none", ...ne()] }],
773
773
  w: [{ w: [
774
774
  s,
775
775
  "screen",
776
- ...A()
776
+ ...M()
777
777
  ] }],
778
778
  "min-w": [{ "min-w": [
779
779
  s,
780
780
  "screen",
781
781
  "none",
782
- ...A()
782
+ ...M()
783
783
  ] }],
784
784
  "max-w": [{ "max-w": [
785
785
  s,
@@ -787,36 +787,36 @@ var s = (e, t) => {
787
787
  "none",
788
788
  "prose",
789
789
  { screen: [o] },
790
- ...A()
790
+ ...M()
791
791
  ] }],
792
792
  h: [{ h: [
793
793
  "screen",
794
794
  "lh",
795
- ...A()
795
+ ...M()
796
796
  ] }],
797
797
  "min-h": [{ "min-h": [
798
798
  "screen",
799
799
  "lh",
800
800
  "none",
801
- ...A()
801
+ ...M()
802
802
  ] }],
803
803
  "max-h": [{ "max-h": [
804
804
  "screen",
805
805
  "lh",
806
- ...A()
806
+ ...M()
807
807
  ] }],
808
808
  "font-size": [{ text: [
809
809
  "base",
810
810
  n,
811
- X,
812
- J
811
+ be,
812
+ Y
813
813
  ] }],
814
814
  "font-smoothing": ["antialiased", "subpixel-antialiased"],
815
815
  "font-style": ["italic", "not-italic"],
816
816
  "font-weight": [{ font: [
817
817
  r,
818
818
  Ee,
819
- ge
819
+ he
820
820
  ] }],
821
821
  "font-stretch": [{ "font-stretch": [
822
822
  "ultra-condensed",
@@ -828,15 +828,15 @@ var s = (e, t) => {
828
828
  "expanded",
829
829
  "extra-expanded",
830
830
  "ultra-expanded",
831
- le,
832
- q
831
+ ce,
832
+ J
833
833
  ] }],
834
834
  "font-family": [{ font: [
835
835
  xe,
836
- _e,
836
+ ge,
837
837
  t
838
838
  ] }],
839
- "font-features": [{ "font-features": [q] }],
839
+ "font-features": [{ "font-features": [J] }],
840
840
  "fvn-normal": ["normal-nums"],
841
841
  "fvn-ordinal": ["ordinal"],
842
842
  "fvn-slashed-zero": ["slashed-zero"],
@@ -845,28 +845,28 @@ var s = (e, t) => {
845
845
  "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
846
846
  tracking: [{ tracking: [
847
847
  i,
848
- Y,
849
- q
848
+ X,
849
+ J
850
850
  ] }],
851
851
  "line-clamp": [{ "line-clamp": [
852
- V,
852
+ H,
853
853
  "none",
854
- Y,
855
- he
854
+ X,
855
+ me
856
856
  ] }],
857
857
  leading: [{ leading: [a, ...C()] }],
858
858
  "list-image": [{ "list-image": [
859
859
  "none",
860
- Y,
861
- q
860
+ X,
861
+ J
862
862
  ] }],
863
863
  "list-style-position": [{ list: ["inside", "outside"] }],
864
864
  "list-style-type": [{ list: [
865
865
  "disc",
866
866
  "decimal",
867
867
  "none",
868
- Y,
869
- q
868
+ X,
869
+ J
870
870
  ] }],
871
871
  "text-alignment": [{ text: [
872
872
  "left",
@@ -876,28 +876,28 @@ var s = (e, t) => {
876
876
  "start",
877
877
  "end"
878
878
  ] }],
879
- "placeholder-color": [{ placeholder: M() }],
880
- "text-color": [{ text: M() }],
879
+ "placeholder-color": [{ placeholder: N() }],
880
+ "text-color": [{ text: N() }],
881
881
  "text-decoration": [
882
882
  "underline",
883
883
  "overline",
884
884
  "line-through",
885
885
  "no-underline"
886
886
  ],
887
- "text-decoration-style": [{ decoration: [...L(), "wavy"] }],
887
+ "text-decoration-style": [{ decoration: [...R(), "wavy"] }],
888
888
  "text-decoration-thickness": [{ decoration: [
889
- V,
889
+ H,
890
890
  "from-font",
891
891
  "auto",
892
- Y,
893
- J
892
+ X,
893
+ Y
894
894
  ] }],
895
- "text-decoration-color": [{ decoration: M() }],
895
+ "text-decoration-color": [{ decoration: N() }],
896
896
  "underline-offset": [{ "underline-offset": [
897
- V,
897
+ H,
898
898
  "auto",
899
- Y,
900
- q
899
+ X,
900
+ J
901
901
  ] }],
902
902
  "text-transform": [
903
903
  "uppercase",
@@ -918,9 +918,9 @@ var s = (e, t) => {
918
918
  ] }],
919
919
  indent: [{ indent: C() }],
920
920
  "tab-size": [{ tab: [
921
- H,
922
- Y,
923
- q
921
+ U,
922
+ X,
923
+ J
924
924
  ] }],
925
925
  "vertical-align": [{ align: [
926
926
  "baseline",
@@ -931,8 +931,8 @@ var s = (e, t) => {
931
931
  "text-bottom",
932
932
  "sub",
933
933
  "super",
934
- Y,
935
- q
934
+ X,
935
+ J
936
936
  ] }],
937
937
  whitespace: [{ whitespace: [
938
938
  "normal",
@@ -960,8 +960,8 @@ var s = (e, t) => {
960
960
  ] }],
961
961
  content: [{ content: [
962
962
  "none",
963
- Y,
964
- q
963
+ X,
964
+ J
965
965
  ] }],
966
966
  "bg-attachment": [{ bg: [
967
967
  "fixed",
@@ -979,9 +979,9 @@ var s = (e, t) => {
979
979
  "padding",
980
980
  "content"
981
981
  ] }],
982
- "bg-position": [{ bg: ie() }],
983
- "bg-repeat": [{ bg: ae() }],
984
- "bg-size": [{ bg: oe() }],
982
+ "bg-position": [{ bg: re() }],
983
+ "bg-repeat": [{ bg: ie() }],
984
+ "bg-size": [{ bg: ae() }],
985
985
  "bg-image": [{ bg: [
986
986
  "none",
987
987
  {
@@ -996,140 +996,140 @@ var s = (e, t) => {
996
996
  "l",
997
997
  "tl"
998
998
  ] },
999
- H,
1000
- Y,
1001
- q
999
+ U,
1000
+ X,
1001
+ J
1002
1002
  ],
1003
1003
  radial: [
1004
1004
  "",
1005
- Y,
1006
- q
1005
+ X,
1006
+ J
1007
1007
  ],
1008
1008
  conic: [
1009
- H,
1010
- Y,
1011
- q
1009
+ U,
1010
+ X,
1011
+ J
1012
1012
  ]
1013
1013
  },
1014
1014
  we,
1015
- ye
1016
- ] }],
1017
- "bg-color": [{ bg: M() }],
1018
- "gradient-from-pos": [{ from: P() }],
1019
- "gradient-via-pos": [{ via: P() }],
1020
- "gradient-to-pos": [{ to: P() }],
1021
- "gradient-from": [{ from: M() }],
1022
- "gradient-via": [{ via: M() }],
1023
- "gradient-to": [{ to: M() }],
1024
- rounded: [{ rounded: F() }],
1025
- "rounded-s": [{ "rounded-s": F() }],
1026
- "rounded-e": [{ "rounded-e": F() }],
1027
- "rounded-t": [{ "rounded-t": F() }],
1028
- "rounded-r": [{ "rounded-r": F() }],
1029
- "rounded-b": [{ "rounded-b": F() }],
1030
- "rounded-l": [{ "rounded-l": F() }],
1031
- "rounded-ss": [{ "rounded-ss": F() }],
1032
- "rounded-se": [{ "rounded-se": F() }],
1033
- "rounded-ee": [{ "rounded-ee": F() }],
1034
- "rounded-es": [{ "rounded-es": F() }],
1035
- "rounded-tl": [{ "rounded-tl": F() }],
1036
- "rounded-tr": [{ "rounded-tr": F() }],
1037
- "rounded-br": [{ "rounded-br": F() }],
1038
- "rounded-bl": [{ "rounded-bl": F() }],
1039
- "border-w": [{ border: I() }],
1040
- "border-w-x": [{ "border-x": I() }],
1041
- "border-w-y": [{ "border-y": I() }],
1042
- "border-w-s": [{ "border-s": I() }],
1043
- "border-w-e": [{ "border-e": I() }],
1044
- "border-w-bs": [{ "border-bs": I() }],
1045
- "border-w-be": [{ "border-be": I() }],
1046
- "border-w-t": [{ "border-t": I() }],
1047
- "border-w-r": [{ "border-r": I() }],
1048
- "border-w-b": [{ "border-b": I() }],
1049
- "border-w-l": [{ "border-l": I() }],
1050
- "divide-x": [{ "divide-x": I() }],
1015
+ ve
1016
+ ] }],
1017
+ "bg-color": [{ bg: N() }],
1018
+ "gradient-from-pos": [{ from: F() }],
1019
+ "gradient-via-pos": [{ via: F() }],
1020
+ "gradient-to-pos": [{ to: F() }],
1021
+ "gradient-from": [{ from: N() }],
1022
+ "gradient-via": [{ via: N() }],
1023
+ "gradient-to": [{ to: N() }],
1024
+ rounded: [{ rounded: I() }],
1025
+ "rounded-s": [{ "rounded-s": I() }],
1026
+ "rounded-e": [{ "rounded-e": I() }],
1027
+ "rounded-t": [{ "rounded-t": I() }],
1028
+ "rounded-r": [{ "rounded-r": I() }],
1029
+ "rounded-b": [{ "rounded-b": I() }],
1030
+ "rounded-l": [{ "rounded-l": I() }],
1031
+ "rounded-ss": [{ "rounded-ss": I() }],
1032
+ "rounded-se": [{ "rounded-se": I() }],
1033
+ "rounded-ee": [{ "rounded-ee": I() }],
1034
+ "rounded-es": [{ "rounded-es": I() }],
1035
+ "rounded-tl": [{ "rounded-tl": I() }],
1036
+ "rounded-tr": [{ "rounded-tr": I() }],
1037
+ "rounded-br": [{ "rounded-br": I() }],
1038
+ "rounded-bl": [{ "rounded-bl": I() }],
1039
+ "border-w": [{ border: L() }],
1040
+ "border-w-x": [{ "border-x": L() }],
1041
+ "border-w-y": [{ "border-y": L() }],
1042
+ "border-w-s": [{ "border-s": L() }],
1043
+ "border-w-e": [{ "border-e": L() }],
1044
+ "border-w-bs": [{ "border-bs": L() }],
1045
+ "border-w-be": [{ "border-be": L() }],
1046
+ "border-w-t": [{ "border-t": L() }],
1047
+ "border-w-r": [{ "border-r": L() }],
1048
+ "border-w-b": [{ "border-b": L() }],
1049
+ "border-w-l": [{ "border-l": L() }],
1050
+ "divide-x": [{ "divide-x": L() }],
1051
1051
  "divide-x-reverse": ["divide-x-reverse"],
1052
- "divide-y": [{ "divide-y": I() }],
1052
+ "divide-y": [{ "divide-y": L() }],
1053
1053
  "divide-y-reverse": ["divide-y-reverse"],
1054
1054
  "border-style": [{ border: [
1055
- ...L(),
1055
+ ...R(),
1056
1056
  "hidden",
1057
1057
  "none"
1058
1058
  ] }],
1059
1059
  "divide-style": [{ divide: [
1060
- ...L(),
1060
+ ...R(),
1061
1061
  "hidden",
1062
1062
  "none"
1063
1063
  ] }],
1064
- "border-color": [{ border: M() }],
1065
- "border-color-x": [{ "border-x": M() }],
1066
- "border-color-y": [{ "border-y": M() }],
1067
- "border-color-s": [{ "border-s": M() }],
1068
- "border-color-e": [{ "border-e": M() }],
1069
- "border-color-bs": [{ "border-bs": M() }],
1070
- "border-color-be": [{ "border-be": M() }],
1071
- "border-color-t": [{ "border-t": M() }],
1072
- "border-color-r": [{ "border-r": M() }],
1073
- "border-color-b": [{ "border-b": M() }],
1074
- "border-color-l": [{ "border-l": M() }],
1075
- "divide-color": [{ divide: M() }],
1064
+ "border-color": [{ border: N() }],
1065
+ "border-color-x": [{ "border-x": N() }],
1066
+ "border-color-y": [{ "border-y": N() }],
1067
+ "border-color-s": [{ "border-s": N() }],
1068
+ "border-color-e": [{ "border-e": N() }],
1069
+ "border-color-bs": [{ "border-bs": N() }],
1070
+ "border-color-be": [{ "border-be": N() }],
1071
+ "border-color-t": [{ "border-t": N() }],
1072
+ "border-color-r": [{ "border-r": N() }],
1073
+ "border-color-b": [{ "border-b": N() }],
1074
+ "border-color-l": [{ "border-l": N() }],
1075
+ "divide-color": [{ divide: N() }],
1076
1076
  "outline-style": [{ outline: [
1077
- ...L(),
1077
+ ...R(),
1078
1078
  "none",
1079
1079
  "hidden"
1080
1080
  ] }],
1081
1081
  "outline-offset": [{ "outline-offset": [
1082
- V,
1083
- Y,
1084
- q
1082
+ H,
1083
+ X,
1084
+ J
1085
1085
  ] }],
1086
1086
  "outline-w": [{ outline: [
1087
1087
  "",
1088
- V,
1089
- X,
1090
- J
1088
+ H,
1089
+ be,
1090
+ Y
1091
1091
  ] }],
1092
- "outline-color": [{ outline: M() }],
1092
+ "outline-color": [{ outline: N() }],
1093
1093
  shadow: [{ shadow: [
1094
1094
  "",
1095
1095
  "none",
1096
1096
  u,
1097
1097
  Te,
1098
- be
1098
+ ye
1099
1099
  ] }],
1100
- "shadow-color": [{ shadow: M() }],
1100
+ "shadow-color": [{ shadow: N() }],
1101
1101
  "inset-shadow": [{ "inset-shadow": [
1102
1102
  "none",
1103
1103
  d,
1104
1104
  Te,
1105
- be
1105
+ ye
1106
1106
  ] }],
1107
- "inset-shadow-color": [{ "inset-shadow": M() }],
1108
- "ring-w": [{ ring: I() }],
1107
+ "inset-shadow-color": [{ "inset-shadow": N() }],
1108
+ "ring-w": [{ ring: L() }],
1109
1109
  "ring-w-inset": ["ring-inset"],
1110
- "ring-color": [{ ring: M() }],
1111
- "ring-offset-w": [{ "ring-offset": [V, J] }],
1112
- "ring-offset-color": [{ "ring-offset": M() }],
1113
- "inset-ring-w": [{ "inset-ring": I() }],
1114
- "inset-ring-color": [{ "inset-ring": M() }],
1110
+ "ring-color": [{ ring: N() }],
1111
+ "ring-offset-w": [{ "ring-offset": [H, Y] }],
1112
+ "ring-offset-color": [{ "ring-offset": N() }],
1113
+ "inset-ring-w": [{ "inset-ring": L() }],
1114
+ "inset-ring-color": [{ "inset-ring": N() }],
1115
1115
  "text-shadow": [{ "text-shadow": [
1116
1116
  "none",
1117
1117
  ee,
1118
1118
  Te,
1119
- be
1119
+ ye
1120
1120
  ] }],
1121
- "text-shadow-color": [{ "text-shadow": M() }],
1121
+ "text-shadow-color": [{ "text-shadow": N() }],
1122
1122
  opacity: [{ opacity: [
1123
- V,
1124
- Y,
1125
- q
1123
+ H,
1124
+ X,
1125
+ J
1126
1126
  ] }],
1127
1127
  "mix-blend": [{ "mix-blend": [
1128
- ...se(),
1128
+ ...oe(),
1129
1129
  "plus-darker",
1130
1130
  "plus-lighter"
1131
1131
  ] }],
1132
- "bg-blend": [{ "bg-blend": se() }],
1132
+ "bg-blend": [{ "bg-blend": oe() }],
1133
1133
  "mask-clip": [{ "mask-clip": [
1134
1134
  "border",
1135
1135
  "padding",
@@ -1144,51 +1144,51 @@ var s = (e, t) => {
1144
1144
  "intersect",
1145
1145
  "exclude"
1146
1146
  ] }],
1147
- "mask-image-linear-pos": [{ "mask-linear": [V] }],
1148
- "mask-image-linear-from-pos": [{ "mask-linear-from": R() }],
1149
- "mask-image-linear-to-pos": [{ "mask-linear-to": R() }],
1150
- "mask-image-linear-from-color": [{ "mask-linear-from": M() }],
1151
- "mask-image-linear-to-color": [{ "mask-linear-to": M() }],
1152
- "mask-image-t-from-pos": [{ "mask-t-from": R() }],
1153
- "mask-image-t-to-pos": [{ "mask-t-to": R() }],
1154
- "mask-image-t-from-color": [{ "mask-t-from": M() }],
1155
- "mask-image-t-to-color": [{ "mask-t-to": M() }],
1156
- "mask-image-r-from-pos": [{ "mask-r-from": R() }],
1157
- "mask-image-r-to-pos": [{ "mask-r-to": R() }],
1158
- "mask-image-r-from-color": [{ "mask-r-from": M() }],
1159
- "mask-image-r-to-color": [{ "mask-r-to": M() }],
1160
- "mask-image-b-from-pos": [{ "mask-b-from": R() }],
1161
- "mask-image-b-to-pos": [{ "mask-b-to": R() }],
1162
- "mask-image-b-from-color": [{ "mask-b-from": M() }],
1163
- "mask-image-b-to-color": [{ "mask-b-to": M() }],
1164
- "mask-image-l-from-pos": [{ "mask-l-from": R() }],
1165
- "mask-image-l-to-pos": [{ "mask-l-to": R() }],
1166
- "mask-image-l-from-color": [{ "mask-l-from": M() }],
1167
- "mask-image-l-to-color": [{ "mask-l-to": M() }],
1168
- "mask-image-x-from-pos": [{ "mask-x-from": R() }],
1169
- "mask-image-x-to-pos": [{ "mask-x-to": R() }],
1170
- "mask-image-x-from-color": [{ "mask-x-from": M() }],
1171
- "mask-image-x-to-color": [{ "mask-x-to": M() }],
1172
- "mask-image-y-from-pos": [{ "mask-y-from": R() }],
1173
- "mask-image-y-to-pos": [{ "mask-y-to": R() }],
1174
- "mask-image-y-from-color": [{ "mask-y-from": M() }],
1175
- "mask-image-y-to-color": [{ "mask-y-to": M() }],
1176
- "mask-image-radial": [{ "mask-radial": [Y, q] }],
1177
- "mask-image-radial-from-pos": [{ "mask-radial-from": R() }],
1178
- "mask-image-radial-to-pos": [{ "mask-radial-to": R() }],
1179
- "mask-image-radial-from-color": [{ "mask-radial-from": M() }],
1180
- "mask-image-radial-to-color": [{ "mask-radial-to": M() }],
1147
+ "mask-image-linear-pos": [{ "mask-linear": [H] }],
1148
+ "mask-image-linear-from-pos": [{ "mask-linear-from": z() }],
1149
+ "mask-image-linear-to-pos": [{ "mask-linear-to": z() }],
1150
+ "mask-image-linear-from-color": [{ "mask-linear-from": N() }],
1151
+ "mask-image-linear-to-color": [{ "mask-linear-to": N() }],
1152
+ "mask-image-t-from-pos": [{ "mask-t-from": z() }],
1153
+ "mask-image-t-to-pos": [{ "mask-t-to": z() }],
1154
+ "mask-image-t-from-color": [{ "mask-t-from": N() }],
1155
+ "mask-image-t-to-color": [{ "mask-t-to": N() }],
1156
+ "mask-image-r-from-pos": [{ "mask-r-from": z() }],
1157
+ "mask-image-r-to-pos": [{ "mask-r-to": z() }],
1158
+ "mask-image-r-from-color": [{ "mask-r-from": N() }],
1159
+ "mask-image-r-to-color": [{ "mask-r-to": N() }],
1160
+ "mask-image-b-from-pos": [{ "mask-b-from": z() }],
1161
+ "mask-image-b-to-pos": [{ "mask-b-to": z() }],
1162
+ "mask-image-b-from-color": [{ "mask-b-from": N() }],
1163
+ "mask-image-b-to-color": [{ "mask-b-to": N() }],
1164
+ "mask-image-l-from-pos": [{ "mask-l-from": z() }],
1165
+ "mask-image-l-to-pos": [{ "mask-l-to": z() }],
1166
+ "mask-image-l-from-color": [{ "mask-l-from": N() }],
1167
+ "mask-image-l-to-color": [{ "mask-l-to": N() }],
1168
+ "mask-image-x-from-pos": [{ "mask-x-from": z() }],
1169
+ "mask-image-x-to-pos": [{ "mask-x-to": z() }],
1170
+ "mask-image-x-from-color": [{ "mask-x-from": N() }],
1171
+ "mask-image-x-to-color": [{ "mask-x-to": N() }],
1172
+ "mask-image-y-from-pos": [{ "mask-y-from": z() }],
1173
+ "mask-image-y-to-pos": [{ "mask-y-to": z() }],
1174
+ "mask-image-y-from-color": [{ "mask-y-from": N() }],
1175
+ "mask-image-y-to-color": [{ "mask-y-to": N() }],
1176
+ "mask-image-radial": [{ "mask-radial": [X, J] }],
1177
+ "mask-image-radial-from-pos": [{ "mask-radial-from": z() }],
1178
+ "mask-image-radial-to-pos": [{ "mask-radial-to": z() }],
1179
+ "mask-image-radial-from-color": [{ "mask-radial-from": N() }],
1180
+ "mask-image-radial-to-color": [{ "mask-radial-to": N() }],
1181
1181
  "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
1182
1182
  "mask-image-radial-size": [{ "mask-radial": [{
1183
1183
  closest: ["side", "corner"],
1184
1184
  farthest: ["side", "corner"]
1185
1185
  }] }],
1186
1186
  "mask-image-radial-pos": [{ "mask-radial-at": y() }],
1187
- "mask-image-conic-pos": [{ "mask-conic": [V] }],
1188
- "mask-image-conic-from-pos": [{ "mask-conic-from": R() }],
1189
- "mask-image-conic-to-pos": [{ "mask-conic-to": R() }],
1190
- "mask-image-conic-from-color": [{ "mask-conic-from": M() }],
1191
- "mask-image-conic-to-color": [{ "mask-conic-to": M() }],
1187
+ "mask-image-conic-pos": [{ "mask-conic": [H] }],
1188
+ "mask-image-conic-from-pos": [{ "mask-conic-from": z() }],
1189
+ "mask-image-conic-to-pos": [{ "mask-conic-to": z() }],
1190
+ "mask-image-conic-from-color": [{ "mask-conic-from": N() }],
1191
+ "mask-image-conic-to-color": [{ "mask-conic-to": N() }],
1192
1192
  "mask-mode": [{ mask: [
1193
1193
  "alpha",
1194
1194
  "luminance",
@@ -1202,117 +1202,117 @@ var s = (e, t) => {
1202
1202
  "stroke",
1203
1203
  "view"
1204
1204
  ] }],
1205
- "mask-position": [{ mask: ie() }],
1206
- "mask-repeat": [{ mask: ae() }],
1207
- "mask-size": [{ mask: oe() }],
1205
+ "mask-position": [{ mask: re() }],
1206
+ "mask-repeat": [{ mask: ie() }],
1207
+ "mask-size": [{ mask: ae() }],
1208
1208
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
1209
1209
  "mask-image": [{ mask: [
1210
1210
  "none",
1211
- Y,
1212
- q
1211
+ X,
1212
+ J
1213
1213
  ] }],
1214
1214
  filter: [{ filter: [
1215
1215
  "",
1216
1216
  "none",
1217
- Y,
1218
- q
1217
+ X,
1218
+ J
1219
1219
  ] }],
1220
- blur: [{ blur: ce() }],
1220
+ blur: [{ blur: se() }],
1221
1221
  brightness: [{ brightness: [
1222
- V,
1223
- Y,
1224
- q
1222
+ H,
1223
+ X,
1224
+ J
1225
1225
  ] }],
1226
1226
  contrast: [{ contrast: [
1227
- V,
1228
- Y,
1229
- q
1227
+ H,
1228
+ X,
1229
+ J
1230
1230
  ] }],
1231
1231
  "drop-shadow": [{ "drop-shadow": [
1232
1232
  "",
1233
1233
  "none",
1234
1234
  f,
1235
1235
  Te,
1236
- be
1236
+ ye
1237
1237
  ] }],
1238
- "drop-shadow-color": [{ "drop-shadow": M() }],
1238
+ "drop-shadow-color": [{ "drop-shadow": N() }],
1239
1239
  grayscale: [{ grayscale: [
1240
1240
  "",
1241
- V,
1242
- Y,
1243
- q
1241
+ H,
1242
+ X,
1243
+ J
1244
1244
  ] }],
1245
1245
  "hue-rotate": [{ "hue-rotate": [
1246
- V,
1247
- Y,
1248
- q
1246
+ H,
1247
+ X,
1248
+ J
1249
1249
  ] }],
1250
1250
  invert: [{ invert: [
1251
1251
  "",
1252
- V,
1253
- Y,
1254
- q
1252
+ H,
1253
+ X,
1254
+ J
1255
1255
  ] }],
1256
1256
  saturate: [{ saturate: [
1257
- V,
1258
- Y,
1259
- q
1257
+ H,
1258
+ X,
1259
+ J
1260
1260
  ] }],
1261
1261
  sepia: [{ sepia: [
1262
1262
  "",
1263
- V,
1264
- Y,
1265
- q
1263
+ H,
1264
+ X,
1265
+ J
1266
1266
  ] }],
1267
1267
  "backdrop-filter": [{ "backdrop-filter": [
1268
1268
  "",
1269
1269
  "none",
1270
- Y,
1271
- q
1270
+ X,
1271
+ J
1272
1272
  ] }],
1273
- "backdrop-blur": [{ "backdrop-blur": ce() }],
1273
+ "backdrop-blur": [{ "backdrop-blur": se() }],
1274
1274
  "backdrop-brightness": [{ "backdrop-brightness": [
1275
- V,
1276
- Y,
1277
- q
1275
+ H,
1276
+ X,
1277
+ J
1278
1278
  ] }],
1279
1279
  "backdrop-contrast": [{ "backdrop-contrast": [
1280
- V,
1281
- Y,
1282
- q
1280
+ H,
1281
+ X,
1282
+ J
1283
1283
  ] }],
1284
1284
  "backdrop-grayscale": [{ "backdrop-grayscale": [
1285
1285
  "",
1286
- V,
1287
- Y,
1288
- q
1286
+ H,
1287
+ X,
1288
+ J
1289
1289
  ] }],
1290
1290
  "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1291
- V,
1292
- Y,
1293
- q
1291
+ H,
1292
+ X,
1293
+ J
1294
1294
  ] }],
1295
1295
  "backdrop-invert": [{ "backdrop-invert": [
1296
1296
  "",
1297
- V,
1298
- Y,
1299
- q
1297
+ H,
1298
+ X,
1299
+ J
1300
1300
  ] }],
1301
1301
  "backdrop-opacity": [{ "backdrop-opacity": [
1302
- V,
1303
- Y,
1304
- q
1302
+ H,
1303
+ X,
1304
+ J
1305
1305
  ] }],
1306
1306
  "backdrop-saturate": [{ "backdrop-saturate": [
1307
- V,
1308
- Y,
1309
- q
1307
+ H,
1308
+ X,
1309
+ J
1310
1310
  ] }],
1311
1311
  "backdrop-sepia": [{ "backdrop-sepia": [
1312
1312
  "",
1313
- V,
1314
- Y,
1315
- q
1313
+ H,
1314
+ X,
1315
+ J
1316
1316
  ] }],
1317
1317
  "border-collapse": [{ border: ["collapse", "separate"] }],
1318
1318
  "border-spacing": [{ "border-spacing": C() }],
@@ -1328,56 +1328,56 @@ var s = (e, t) => {
1328
1328
  "shadow",
1329
1329
  "transform",
1330
1330
  "none",
1331
- Y,
1332
- q
1331
+ X,
1332
+ J
1333
1333
  ] }],
1334
1334
  "transition-behavior": [{ transition: ["normal", "discrete"] }],
1335
1335
  duration: [{ duration: [
1336
- V,
1336
+ H,
1337
1337
  "initial",
1338
- Y,
1339
- q
1338
+ X,
1339
+ J
1340
1340
  ] }],
1341
1341
  ease: [{ ease: [
1342
1342
  "linear",
1343
1343
  "initial",
1344
1344
  g,
1345
- Y,
1346
- q
1345
+ X,
1346
+ J
1347
1347
  ] }],
1348
1348
  delay: [{ delay: [
1349
- V,
1350
- Y,
1351
- q
1349
+ H,
1350
+ X,
1351
+ J
1352
1352
  ] }],
1353
1353
  animate: [{ animate: [
1354
1354
  "none",
1355
1355
  _,
1356
- Y,
1357
- q
1356
+ X,
1357
+ J
1358
1358
  ] }],
1359
1359
  backface: [{ backface: ["hidden", "visible"] }],
1360
1360
  perspective: [{ perspective: [
1361
1361
  m,
1362
- Y,
1363
- q
1362
+ X,
1363
+ J
1364
1364
  ] }],
1365
1365
  "perspective-origin": [{ "perspective-origin": b() }],
1366
- rotate: [{ rotate: z() }],
1367
- "rotate-x": [{ "rotate-x": z() }],
1368
- "rotate-y": [{ "rotate-y": z() }],
1369
- "rotate-z": [{ "rotate-z": z() }],
1370
- scale: [{ scale: W() }],
1371
- "scale-x": [{ "scale-x": W() }],
1372
- "scale-y": [{ "scale-y": W() }],
1373
- "scale-z": [{ "scale-z": W() }],
1366
+ rotate: [{ rotate: B() }],
1367
+ "rotate-x": [{ "rotate-x": B() }],
1368
+ "rotate-y": [{ "rotate-y": B() }],
1369
+ "rotate-z": [{ "rotate-z": B() }],
1370
+ scale: [{ scale: G() }],
1371
+ "scale-x": [{ "scale-x": G() }],
1372
+ "scale-y": [{ "scale-y": G() }],
1373
+ "scale-z": [{ "scale-z": G() }],
1374
1374
  "scale-3d": ["scale-3d"],
1375
- skew: [{ skew: G() }],
1376
- "skew-x": [{ "skew-x": G() }],
1377
- "skew-y": [{ "skew-y": G() }],
1375
+ skew: [{ skew: K() }],
1376
+ "skew-x": [{ "skew-x": K() }],
1377
+ "skew-y": [{ "skew-y": K() }],
1378
1378
  transform: [{ transform: [
1379
- Y,
1380
- q,
1379
+ X,
1380
+ J,
1381
1381
  "",
1382
1382
  "none",
1383
1383
  "gpu",
@@ -1385,19 +1385,19 @@ var s = (e, t) => {
1385
1385
  ] }],
1386
1386
  "transform-origin": [{ origin: b() }],
1387
1387
  "transform-style": [{ transform: ["3d", "flat"] }],
1388
- translate: [{ translate: K() }],
1389
- "translate-x": [{ "translate-x": K() }],
1390
- "translate-y": [{ "translate-y": K() }],
1391
- "translate-z": [{ "translate-z": K() }],
1388
+ translate: [{ translate: q() }],
1389
+ "translate-x": [{ "translate-x": q() }],
1390
+ "translate-y": [{ "translate-y": q() }],
1391
+ "translate-z": [{ "translate-z": q() }],
1392
1392
  "translate-none": ["translate-none"],
1393
1393
  zoom: [{ zoom: [
1394
- H,
1395
- Y,
1396
- q
1394
+ U,
1395
+ X,
1396
+ J
1397
1397
  ] }],
1398
- accent: [{ accent: M() }],
1398
+ accent: [{ accent: N() }],
1399
1399
  appearance: [{ appearance: ["none", "auto"] }],
1400
- "caret-color": [{ caret: M() }],
1400
+ "caret-color": [{ caret: N() }],
1401
1401
  "color-scheme": [{ scheme: [
1402
1402
  "normal",
1403
1403
  "dark",
@@ -1443,8 +1443,8 @@ var s = (e, t) => {
1443
1443
  "nwse-resize",
1444
1444
  "zoom-in",
1445
1445
  "zoom-out",
1446
- Y,
1447
- q
1446
+ X,
1447
+ J
1448
1448
  ] }],
1449
1449
  "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
1450
1450
  "pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -1455,8 +1455,8 @@ var s = (e, t) => {
1455
1455
  "x"
1456
1456
  ] }],
1457
1457
  "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1458
- "scrollbar-thumb-color": [{ "scrollbar-thumb": M() }],
1459
- "scrollbar-track-color": [{ "scrollbar-track": M() }],
1458
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": N() }],
1459
+ "scrollbar-track-color": [{ "scrollbar-track": N() }],
1460
1460
  "scrollbar-gutter": [{ "scrollbar-gutter": [
1461
1461
  "auto",
1462
1462
  "stable",
@@ -1530,17 +1530,17 @@ var s = (e, t) => {
1530
1530
  "scroll",
1531
1531
  "contents",
1532
1532
  "transform",
1533
- Y,
1534
- q
1533
+ X,
1534
+ J
1535
1535
  ] }],
1536
- fill: [{ fill: ["none", ...M()] }],
1536
+ fill: [{ fill: ["none", ...N()] }],
1537
1537
  "stroke-w": [{ stroke: [
1538
- V,
1539
- X,
1540
- J,
1541
- he
1538
+ H,
1539
+ be,
1540
+ Y,
1541
+ me
1542
1542
  ] }],
1543
- stroke: [{ stroke: ["none", ...M()] }],
1543
+ stroke: [{ stroke: ["none", ...N()] }],
1544
1544
  "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1545
1545
  },
1546
1546
  conflictingClassGroups: {
@@ -1750,20 +1750,29 @@ function ze() {
1750
1750
  }
1751
1751
  //#endregion
1752
1752
  //#region src/hooks/useSlotClassNames.ts
1753
- function Be(e, t) {
1754
- let { wrappers: n } = ze(), r = n?.[e];
1755
- return (e) => $(r?.[e], t?.[e]);
1753
+ function Be(e, t, n, r) {
1754
+ let { wrappers: i } = ze(), a = i?.[e], o = n === void 0 ? a : {
1755
+ ...n,
1756
+ base: $(n?.base, r)
1757
+ };
1758
+ return (e) => $(o?.[e], t?.[e]);
1759
+ }
1760
+ //#endregion
1761
+ //#region src/hooks/usePreset.ts
1762
+ function Ve(e, t) {
1763
+ let { presets: n } = ze();
1764
+ if (t) return n?.[e]?.[t];
1756
1765
  }
1757
1766
  //#endregion
1758
1767
  //#region src/components/primitives/spinners/Spinner/Spinner.tsx
1759
- var Ve = {
1768
+ var He = {
1760
1769
  sm: "size-3",
1761
1770
  md: "size-4",
1762
1771
  lg: "size-6"
1763
1772
  };
1764
- function He({ size: e = "md", className: t }) {
1773
+ function Ue({ size: e = "md", className: t }) {
1765
1774
  return /* @__PURE__ */ i("svg", {
1766
- className: $(Ve[e], "animate-spin", t),
1775
+ className: $(He[e], "animate-spin", t),
1767
1776
  viewBox: "0 0 24 24",
1768
1777
  fill: "none",
1769
1778
  "aria-hidden": "true",
@@ -1783,7 +1792,7 @@ function He({ size: e = "md", className: t }) {
1783
1792
  }
1784
1793
  //#endregion
1785
1794
  //#region src/components/primitives/Button/ButtonContent.tsx
1786
- function Ue({ className: e, children: t }) {
1795
+ function We({ className: e, children: t }) {
1787
1796
  return /* @__PURE__ */ r("span", {
1788
1797
  className: $("inline-flex items-center", e),
1789
1798
  children: t
@@ -1791,7 +1800,7 @@ function Ue({ className: e, children: t }) {
1791
1800
  }
1792
1801
  //#endregion
1793
1802
  //#region src/components/primitives/Button/Button.tsx
1794
- var We = {
1803
+ var Ge = {
1795
1804
  solid: {
1796
1805
  default: "bg-(--easyui-color-default) text-(--easyui-color-default-foreground) hover:brightness-95 active:brightness-90",
1797
1806
  primary: "bg-(--easyui-color-primary) text-(--easyui-color-primary-foreground) hover:brightness-95 active:brightness-90",
@@ -1824,77 +1833,80 @@ var We = {
1824
1833
  warning: "text-(--easyui-color-warning) hover:bg-(--easyui-color-warning)/10 active:bg-(--easyui-color-warning)/15",
1825
1834
  error: "text-(--easyui-color-error) hover:bg-(--easyui-color-error)/10 active:bg-(--easyui-color-error)/15"
1826
1835
  }
1827
- }, Ge = t(({ children: e, className: t, classNames: n, label: a, description: o, descriptionPlacement: s = "element", size: c = "md", variant: l = "solid", color: u = "default", radius: d = "md", disabled: ee = !1, loading: f = !1, fullWidth: p = !1, startContent: m, endContent: h, startContentPlacement: g = "inside", endContentPlacement: _ = "inside", ...v }, y) => {
1828
- let b = Be("button", n), x = ee || f, S = !!m && g === "outside" || !!h && _ === "outside", C = /* @__PURE__ */ i("button", {
1829
- ref: y,
1830
- disabled: x,
1831
- "aria-busy": f || void 0,
1832
- className: $("inline-flex items-center justify-center gap-2", "font-normal cursor-pointer select-none", "transition-[filter,background-color] duration-150", "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--easyui-color-focus-ring)", "disabled:opacity-50 disabled:cursor-not-allowed", Ie[c], Le[d], We[l][u], !S && p && "w-full", S && p && "flex-1", b("base"), t),
1833
- ...v,
1836
+ }, Ke = t((e, t) => {
1837
+ let { preset: n, ...a } = e, o = Ve("button", n), { children: s, className: c, classNames: l, label: u, description: d, descriptionPlacement: ee = "element", size: f = "md", variant: p = "solid", color: m = "default", radius: h = "md", disabled: g = !1, loading: _ = !1, fullWidth: v = !1, startContent: y, endContent: b, startContentPlacement: x = "inside", endContentPlacement: S = "inside", ...C } = {
1838
+ ...o?.props,
1839
+ ...a
1840
+ }, w = Be("button", l, o ? o.classNames ?? {} : void 0, o?.className), T = g || _, E = !!y && x === "outside" || !!b && S === "outside", D = /* @__PURE__ */ i("button", {
1841
+ ref: t,
1842
+ disabled: T,
1843
+ "aria-busy": _ || void 0,
1844
+ className: $("inline-flex items-center justify-center gap-2", "font-normal cursor-pointer select-none", "transition-[filter,background-color] duration-150", "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--easyui-color-focus-ring)", "disabled:opacity-50 disabled:cursor-not-allowed", Ie[f], Le[h], Ge[p][m], !E && v && "w-full", E && v && "flex-1", w("base"), c),
1845
+ ...C,
1834
1846
  children: [
1835
- m && g === "inside" && /* @__PURE__ */ r(Ue, {
1836
- className: b("startContent"),
1837
- children: m
1847
+ y && x === "inside" && /* @__PURE__ */ r(We, {
1848
+ className: w("startContent"),
1849
+ children: y
1838
1850
  }),
1839
- f && /* @__PURE__ */ r(He, {
1840
- size: c,
1841
- className: b("spinner")
1851
+ _ && /* @__PURE__ */ r(Ue, {
1852
+ size: f,
1853
+ className: w("spinner")
1842
1854
  }),
1843
1855
  /* @__PURE__ */ r("span", {
1844
- className: b("text"),
1845
- children: e
1856
+ className: w("text"),
1857
+ children: s
1846
1858
  }),
1847
- h && _ === "inside" && /* @__PURE__ */ r(Ue, {
1848
- className: b("endContent"),
1849
- children: h
1859
+ b && S === "inside" && /* @__PURE__ */ r(We, {
1860
+ className: w("endContent"),
1861
+ children: b
1850
1862
  })
1851
1863
  ]
1852
- }), w = S ? /* @__PURE__ */ i("span", {
1853
- className: $("inline-flex items-center gap-2", p && "w-full"),
1864
+ }), O = E ? /* @__PURE__ */ i("span", {
1865
+ className: $("inline-flex items-center gap-2", v && "w-full"),
1854
1866
  children: [
1855
- m && g === "outside" && /* @__PURE__ */ r(Ue, {
1856
- className: b("startContent"),
1857
- children: m
1867
+ y && x === "outside" && /* @__PURE__ */ r(We, {
1868
+ className: w("startContent"),
1869
+ children: y
1858
1870
  }),
1859
- C,
1860
- h && _ === "outside" && /* @__PURE__ */ r(Ue, {
1861
- className: b("endContent"),
1862
- children: h
1871
+ D,
1872
+ b && S === "outside" && /* @__PURE__ */ r(We, {
1873
+ className: w("endContent"),
1874
+ children: b
1863
1875
  })
1864
1876
  ]
1865
- }) : C;
1866
- if (!a && !o) return w;
1867
- let T = o && /* @__PURE__ */ r("span", {
1868
- className: $("text-xs text-(--easyui-color-default-foreground)/60", b("description")),
1869
- children: o
1877
+ }) : D;
1878
+ if (!u && !d) return O;
1879
+ let k = d && /* @__PURE__ */ r("span", {
1880
+ className: $("text-xs text-(--easyui-color-default-foreground)/60", w("description")),
1881
+ children: d
1870
1882
  });
1871
1883
  return /* @__PURE__ */ i("div", {
1872
- className: $("inline-flex flex-col gap-1", p && "w-full"),
1884
+ className: $("inline-flex flex-col gap-1", v && "w-full"),
1873
1885
  children: [
1874
- a && /* @__PURE__ */ r("span", {
1875
- className: $("text-sm font-medium text-(--easyui-color-default-foreground)", b("label")),
1876
- children: a
1886
+ u && /* @__PURE__ */ r("span", {
1887
+ className: $("text-sm font-medium text-(--easyui-color-default-foreground)", w("label")),
1888
+ children: u
1877
1889
  }),
1878
- s === "label" && T,
1879
- w,
1880
- s === "element" && T
1890
+ ee === "label" && k,
1891
+ O,
1892
+ ee === "element" && k
1881
1893
  ]
1882
1894
  });
1883
1895
  });
1884
- Ge.displayName = "Button";
1896
+ Ke.displayName = "Button";
1885
1897
  //#endregion
1886
1898
  //#region src/providers/EasyUIProvider.tsx
1887
- function Ke({ config: e = {}, children: t }) {
1899
+ function qe({ config: e = {}, children: t }) {
1888
1900
  return /* @__PURE__ */ r(Re.Provider, {
1889
1901
  value: e,
1890
1902
  children: t
1891
1903
  });
1892
1904
  }
1893
- Ke.displayName = "EasyUIProvider";
1905
+ qe.displayName = "EasyUIProvider";
1894
1906
  //#endregion
1895
1907
  //#region src/config/easyui.config.types.ts
1896
- function qe(e) {
1908
+ function Je(e) {
1897
1909
  return e;
1898
1910
  }
1899
1911
  //#endregion
1900
- export { Ge as Button, Ke as EasyUIProvider, He as Spinner, qe as defineConfig, Be as useSlotClassNames };
1912
+ export { Ke as Button, qe as EasyUIProvider, Ue as Spinner, Je as defineConfig, Ve as usePreset, Be as useSlotClassNames };