@soft-stech/bootsman-ui-shadcn 0.0.3 → 0.1.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
- import { defineComponent as M, mergeProps as ke, cloneVNode as Se, h as j, toRefs as Ae, ref as C, getCurrentInstance as ue, reactive as ze, watch as U, watchEffect as Me, markRaw as ie, effectScope as Ne, Fragment as Ee, computed as pe, nextTick as Ie, onUnmounted as Te, inject as Pe, provide as je, unref as V, openBlock as Oe, createBlock as Re, normalizeClass as Ge, withCtx as $e, renderSlot as Le } from "vue";
2
- function Ue(e, t) {
1
+ import { computed as $, defineComponent as A, mergeProps as W, cloneVNode as Ge, h as U, toRefs as Ce, ref as S, getCurrentInstance as q, reactive as Ve, watch as P, watchEffect as Le, markRaw as he, openBlock as O, createBlock as F, unref as h, withCtx as j, renderSlot as K, createElementBlock as ve, Fragment as Se, createVNode as Ae, withKeys as Ue, withModifiers as We, normalizeStyle as qe, createCommentVNode as Fe, effectScope as Ke, nextTick as ze, toHandlerKey as Je, camelize as Me, onUnmounted as Xe, inject as He, provide as Ye, customRef as Ze, normalizeClass as Ee } from "vue";
2
+ function Ne(e, t) {
3
3
  const r = typeof e == "string" && !t ? `${e}Context` : t, o = Symbol(r);
4
- return [(i) => {
5
- const n = Pe(o, i);
4
+ return [(a) => {
5
+ const n = He(o, a);
6
6
  if (n || n === null)
7
7
  return n;
8
8
  throw new Error(
@@ -10,62 +10,155 @@ function Ue(e, t) {
10
10
  ", "
11
11
  )}` : `\`${e}\``}`
12
12
  );
13
- }, (i) => (je(o, i), i)];
13
+ }, (a) => (Ye(o, a), a)];
14
14
  }
15
- function W(e) {
15
+ function De(e, t) {
16
+ let r, o, a;
17
+ const n = S(!0), s = () => {
18
+ n.value = !0, a();
19
+ };
20
+ P(e, s, { flush: "sync" });
21
+ const l = typeof t == "function" ? t : t.get, c = typeof t == "function" ? void 0 : t.set, d = Ze((u, i) => (o = u, a = i, {
22
+ get() {
23
+ return n.value && (r = l(), n.value = !1), o(), r;
24
+ },
25
+ set(f) {
26
+ c == null || c(f);
27
+ }
28
+ }));
29
+ return Object.isExtensible(d) && (d.trigger = s), d;
30
+ }
31
+ function Q(e) {
16
32
  let t = !1, r;
17
- const o = Ne(!0);
18
- return (...i) => (t || (r = o.run(() => e(...i)), t = !0), r);
33
+ const o = Ke(!0);
34
+ return (...a) => (t || (r = o.run(() => e(...a)), t = !0), r);
19
35
  }
20
- function Ve(e) {
21
- return typeof e == "function" ? e() : V(e);
36
+ function _e(e) {
37
+ return typeof e == "function" ? e() : h(e);
22
38
  }
23
39
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
24
- function fe(e) {
40
+ const Qe = (e) => typeof e < "u";
41
+ function se(e) {
25
42
  var t;
26
- const r = Ve(e);
43
+ const r = _e(e);
27
44
  return (t = r == null ? void 0 : r.$el) != null ? t : r;
28
45
  }
29
- function X(e) {
30
- return e ? e.flatMap((t) => t.type === Ee ? X(t.children) : [t]) : [];
46
+ function et(e) {
47
+ return JSON.parse(JSON.stringify(e));
48
+ }
49
+ function tt(e, t, r, o = {}) {
50
+ var a, n, s;
51
+ const {
52
+ clone: l = !1,
53
+ passive: c = !1,
54
+ eventName: d,
55
+ deep: u = !1,
56
+ defaultValue: i,
57
+ shouldEmit: f
58
+ } = o, m = q(), w = r || (m == null ? void 0 : m.emit) || ((a = m == null ? void 0 : m.$emit) == null ? void 0 : a.bind(m)) || ((s = (n = m == null ? void 0 : m.proxy) == null ? void 0 : n.$emit) == null ? void 0 : s.bind(m == null ? void 0 : m.proxy));
59
+ let b = d;
60
+ t || (t = "modelValue"), b = b || `update:${t.toString()}`;
61
+ const v = (x) => l ? typeof l == "function" ? l(x) : et(x) : x, C = () => Qe(e[t]) ? v(e[t]) : i, k = (x) => {
62
+ f ? f(x) && w(b, x) : w(b, x);
63
+ };
64
+ if (c) {
65
+ const x = C(), N = S(x);
66
+ let _ = !1;
67
+ return P(
68
+ () => e[t],
69
+ (I) => {
70
+ _ || (_ = !0, N.value = v(I), ze(() => _ = !1));
71
+ }
72
+ ), P(
73
+ N,
74
+ (I) => {
75
+ !_ && (I !== e[t] || u) && k(I);
76
+ },
77
+ { deep: u }
78
+ ), N;
79
+ } else
80
+ return $({
81
+ get() {
82
+ return C();
83
+ },
84
+ set(x) {
85
+ k(x);
86
+ }
87
+ });
88
+ }
89
+ function ie(e) {
90
+ return e ? e.flatMap((t) => t.type === Se ? ie(t.children) : [t]) : [];
91
+ }
92
+ Q(() => S());
93
+ Q(() => S(0));
94
+ function rt(e) {
95
+ const t = q(), r = t == null ? void 0 : t.type.emits, o = {};
96
+ return r != null && r.length || console.warn(
97
+ `No emitted event found. Please check component: ${t == null ? void 0 : t.type.__name}`
98
+ ), r == null || r.forEach((a) => {
99
+ o[Je(Me(a))] = (...n) => e(a, ...n);
100
+ }), o;
31
101
  }
32
- W(() => C());
33
- W(() => C(0));
34
- W(() => ({ count: C(0) }));
35
- function We(e, t) {
36
- const r = C(e);
37
- function o(i) {
38
- return t[r.value][i] ?? r.value;
102
+ function ot(e) {
103
+ return $(() => {
104
+ var t;
105
+ return _e(e) ? !!((t = se(e)) != null && t.closest("form")) : !0;
106
+ });
107
+ }
108
+ function nt(e) {
109
+ const t = q(), r = Object.keys((t == null ? void 0 : t.type.props) ?? {}).reduce((o, a) => {
110
+ const n = (t == null ? void 0 : t.type.props[a]).default;
111
+ return n !== void 0 && (o[a] = n), o;
112
+ }, {});
113
+ return De(() => ({ ...e }), () => {
114
+ const o = {}, a = (t == null ? void 0 : t.vnode.props) ?? {};
115
+ return Object.keys(a).forEach((n) => {
116
+ o[Me(n)] = a[n];
117
+ }), Object.keys({ ...r, ...o }).reduce((n, s) => (e[s] !== void 0 && (n[s] = e[s]), n), {});
118
+ });
119
+ }
120
+ function at(e, t) {
121
+ const r = nt(e), o = t ? rt(t) : {};
122
+ return $(() => ({
123
+ ...r.value,
124
+ ...o
125
+ }));
126
+ }
127
+ Q(() => ({ count: S(0) }));
128
+ function st(e, t) {
129
+ const r = S(e);
130
+ function o(a) {
131
+ return t[r.value][a] ?? r.value;
39
132
  }
40
133
  return {
41
134
  state: r,
42
- dispatch: (i) => {
43
- r.value = o(i);
135
+ dispatch: (a) => {
136
+ r.value = o(a);
44
137
  }
45
138
  };
46
139
  }
47
- const Y = M({
140
+ const le = A({
48
141
  name: "PrimitiveSlot",
49
142
  inheritAttrs: !1,
50
143
  setup(e, { attrs: t, slots: r }) {
51
144
  return () => {
52
- var o, i;
145
+ var o, a;
53
146
  if (!r.default)
54
147
  return null;
55
- const n = X(r.default()), [s, ...l] = n;
148
+ const n = ie(r.default()), [s, ...l] = n;
56
149
  if (Object.keys(t).length > 0) {
57
150
  (o = s.props) == null || delete o.ref;
58
- const u = ke(t, s.props ?? {});
59
- t.class && (i = s.props) != null && i.class && delete s.props.class;
60
- const c = Se(s, u);
61
- for (const p in u)
62
- p.startsWith("on") && (c.props || (c.props = {}), c.props[p] = u[p]);
63
- return n.length === 1 ? c : [c, ...l];
151
+ const c = W(t, s.props ?? {});
152
+ t.class && (a = s.props) != null && a.class && delete s.props.class;
153
+ const d = Ge(s, c);
154
+ for (const u in c)
155
+ u.startsWith("on") && (d.props || (d.props = {}), d.props[u] = c[u]);
156
+ return n.length === 1 ? d : [d, ...l];
64
157
  }
65
158
  return n;
66
159
  };
67
160
  }
68
- }), _e = M({
161
+ }), ee = A({
69
162
  name: "Primitive",
70
163
  inheritAttrs: !1,
71
164
  props: {
@@ -79,21 +172,21 @@ const Y = M({
79
172
  }
80
173
  },
81
174
  setup(e, { attrs: t, slots: r }) {
82
- return (e.asChild ? "template" : e.as) !== "template" ? () => j(e.as, t, { default: r.default }) : () => j(Y, t, { default: r.default });
175
+ return (e.asChild ? "template" : e.as) !== "template" ? () => U(e.as, t, { default: r.default }) : () => U(le, t, { default: r.default });
83
176
  }
84
177
  });
85
- function be() {
86
- const e = C(), t = pe(() => {
178
+ function de() {
179
+ const e = S(), t = $(() => {
87
180
  var r, o;
88
- return ["#text", "#comment"].includes((r = e.value) == null ? void 0 : r.$el.nodeName) ? (o = e.value) == null ? void 0 : o.$el.nextElementSibling : fe(e);
181
+ return ["#text", "#comment"].includes((r = e.value) == null ? void 0 : r.$el.nodeName) ? (o = e.value) == null ? void 0 : o.$el.nextElementSibling : se(e);
89
182
  });
90
183
  return {
91
184
  primitiveElement: e,
92
185
  currentElement: t
93
186
  };
94
187
  }
95
- function Be(e, t) {
96
- const r = C({}), o = C("none"), i = e.value ? "mounted" : "unmounted", { state: n, dispatch: s } = We(i, {
188
+ function it(e, t) {
189
+ const r = S({}), o = S("none"), a = e.value ? "mounted" : "unmounted", { state: n, dispatch: s } = st(a, {
97
190
  mounted: {
98
191
  UNMOUNT: "unmounted",
99
192
  ANIMATION_OUT: "unmountSuspended"
@@ -106,47 +199,47 @@ function Be(e, t) {
106
199
  MOUNT: "mounted"
107
200
  }
108
201
  });
109
- U(
202
+ P(
110
203
  e,
111
- async (a, f) => {
112
- var v;
113
- const y = f !== a;
114
- if (await Ie(), y) {
115
- const g = o.value, h = $(t.value);
116
- a ? s("MOUNT") : h === "none" || ((v = r.value) == null ? void 0 : v.display) === "none" ? s("UNMOUNT") : s(f && g !== h ? "ANIMATION_OUT" : "UNMOUNT");
204
+ async (i, f) => {
205
+ var m;
206
+ const w = f !== i;
207
+ if (await ze(), w) {
208
+ const b = o.value, v = Y(t.value);
209
+ i ? s("MOUNT") : v === "none" || ((m = r.value) == null ? void 0 : m.display) === "none" ? s("UNMOUNT") : s(f && b !== v ? "ANIMATION_OUT" : "UNMOUNT");
117
210
  }
118
211
  },
119
212
  { immediate: !0 }
120
213
  );
121
- const l = (a) => {
122
- const f = $(t.value), v = f.includes(
123
- a.animationName
214
+ const l = (i) => {
215
+ const f = Y(t.value), m = f.includes(
216
+ i.animationName
124
217
  );
125
- a.target === t.value && v && s("ANIMATION_END"), a.target === t.value && f === "none" && s("ANIMATION_END");
126
- }, u = (a) => {
127
- a.target === t.value && (o.value = $(t.value));
128
- }, c = U(
218
+ i.target === t.value && m && s("ANIMATION_END"), i.target === t.value && f === "none" && s("ANIMATION_END");
219
+ }, c = (i) => {
220
+ i.target === t.value && (o.value = Y(t.value));
221
+ }, d = P(
129
222
  t,
130
- (a, f) => {
131
- a ? (r.value = getComputedStyle(a), a.addEventListener("animationstart", u), a.addEventListener("animationcancel", l), a.addEventListener("animationend", l)) : (s("ANIMATION_END"), f == null || f.removeEventListener("animationstart", u), f == null || f.removeEventListener("animationcancel", l), f == null || f.removeEventListener("animationend", l));
223
+ (i, f) => {
224
+ i ? (r.value = getComputedStyle(i), i.addEventListener("animationstart", c), i.addEventListener("animationcancel", l), i.addEventListener("animationend", l)) : (s("ANIMATION_END"), f == null || f.removeEventListener("animationstart", c), f == null || f.removeEventListener("animationcancel", l), f == null || f.removeEventListener("animationend", l));
132
225
  },
133
226
  { immediate: !0 }
134
- ), p = U(n, () => {
135
- const a = $(t.value);
136
- o.value = n.value === "mounted" ? a : "none";
227
+ ), u = P(n, () => {
228
+ const i = Y(t.value);
229
+ o.value = n.value === "mounted" ? i : "none";
137
230
  });
138
- return Te(() => {
139
- c(), p();
231
+ return Xe(() => {
232
+ d(), u();
140
233
  }), {
141
- isPresent: pe(
234
+ isPresent: $(
142
235
  () => ["mounted", "unmountSuspended"].includes(n.value)
143
236
  )
144
237
  };
145
238
  }
146
- function $(e) {
239
+ function Y(e) {
147
240
  return e && getComputedStyle(e).animationName || "none";
148
241
  }
149
- M({
242
+ A({
150
243
  name: "Presence",
151
244
  props: {
152
245
  present: {
@@ -160,130 +253,250 @@ M({
160
253
  slots: {},
161
254
  setup(e, { slots: t, expose: r }) {
162
255
  var o;
163
- const { present: i, forceMount: n } = Ae(e), s = C(), { isPresent: l } = Be(i, s);
256
+ const { present: a, forceMount: n } = Ce(e), s = S(), { isPresent: l } = it(a, s);
164
257
  r({ present: l });
165
- let u = t.default({ present: l });
166
- u = X(u || []);
167
- const c = ue();
168
- if (u && (u == null ? void 0 : u.length) > 1) {
169
- const p = (o = c == null ? void 0 : c.parent) != null && o.type.name ? `<${c.parent.type.name} />` : "component";
258
+ let c = t.default({ present: l });
259
+ c = ie(c || []);
260
+ const d = q();
261
+ if (c && (c == null ? void 0 : c.length) > 1) {
262
+ const u = (o = d == null ? void 0 : d.parent) != null && o.type.name ? `<${d.parent.type.name} />` : "component";
170
263
  throw new Error(
171
264
  [
172
- `Detected an invalid children for \`${p}\` for \`Presence\` component.`,
265
+ `Detected an invalid children for \`${u}\` for \`Presence\` component.`,
173
266
  "",
174
267
  "Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",
175
268
  "You can apply a few solutions:",
176
269
  [
177
270
  "Provide a single child element so that `presence` directive attach correctly.",
178
271
  "Ensure the first child is an actual element instead of a raw text node or comment node."
179
- ].map((a) => ` - ${a}`).join(`
272
+ ].map((i) => ` - ${i}`).join(`
180
273
  `)
181
274
  ].join(`
182
275
  `)
183
276
  );
184
277
  }
185
- return () => n.value || i.value || l.value ? j(t.default({ present: l })[0], {
186
- ref: (p) => {
187
- const a = fe(p);
188
- return typeof (a == null ? void 0 : a.hasAttribute) > "u" || (a != null && a.hasAttribute("data-radix-popper-content-wrapper") ? s.value = a.firstElementChild : s.value = a), a;
278
+ return () => n.value || a.value || l.value ? U(t.default({ present: l })[0], {
279
+ ref: (u) => {
280
+ const i = se(u);
281
+ return typeof (i == null ? void 0 : i.hasAttribute) > "u" || (i != null && i.hasAttribute("data-radix-popper-content-wrapper") ? s.value = i.firstElementChild : s.value = i), i;
189
282
  }
190
283
  }) : null;
191
284
  }
192
285
  });
193
- ze({
286
+ Ve({
194
287
  layersRoot: /* @__PURE__ */ new Set(),
195
288
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
196
289
  branches: /* @__PURE__ */ new Set()
197
290
  });
198
- W(() => C([]));
199
- const [me, Mt] = Ue("CollectionProvider");
200
- M({
291
+ Q(() => S([]));
292
+ const [Ie, Yt] = Ne("CollectionProvider");
293
+ A({
201
294
  name: "CollectionSlot",
202
295
  setup(e, { slots: t }) {
203
- const r = me(), { primitiveElement: o, currentElement: i } = be();
204
- return U(i, () => {
205
- r.collectionRef.value = i.value;
206
- }), () => j(Y, { ref: o }, t);
296
+ const r = Ie(), { primitiveElement: o, currentElement: a } = de();
297
+ return P(a, () => {
298
+ r.collectionRef.value = a.value;
299
+ }), () => U(le, { ref: o }, t);
207
300
  }
208
301
  });
209
- M({
302
+ A({
210
303
  name: "CollectionItem",
211
304
  setup(e, { slots: t, attrs: r }) {
212
- const o = me(), { primitiveElement: i, currentElement: n } = be(), s = ue();
213
- return Me((l) => {
214
- var u;
305
+ const o = Ie(), { primitiveElement: a, currentElement: n } = de(), s = q();
306
+ return Le((l) => {
307
+ var c;
215
308
  if (n.value) {
216
- const c = ie(n.value);
217
- o.itemMap.value.set(c, { ref: n.value, ...ie(((u = s == null ? void 0 : s.parent) == null ? void 0 : u.props) ?? {}) }), l(() => o.itemMap.value.delete(c));
309
+ const d = he(n.value);
310
+ o.itemMap.value.set(d, { ref: n.value, ...he(((c = s == null ? void 0 : s.parent) == null ? void 0 : c.props) ?? {}) }), l(() => o.itemMap.value.delete(d));
218
311
  }
219
- }), () => j(Y, { ...r, [o.attrName]: "", ref: i }, t);
312
+ }), () => U(le, { ...r, [o.attrName]: "", ref: a }, t);
313
+ }
314
+ });
315
+ const lt = /* @__PURE__ */ A({
316
+ __name: "Label",
317
+ props: {
318
+ for: {},
319
+ asChild: { type: Boolean },
320
+ as: { default: "label" }
321
+ },
322
+ setup(e) {
323
+ const t = e;
324
+ return (r, o) => (O(), F(h(ee), W(t, {
325
+ onMousedown: o[0] || (o[0] = (a) => {
326
+ !a.defaultPrevented && a.detail > 1 && a.preventDefault();
327
+ })
328
+ }), {
329
+ default: j(() => [
330
+ K(r.$slots, "default")
331
+ ]),
332
+ _: 3
333
+ }, 16));
334
+ }
335
+ }), dt = ["name", "disabled", "required", "value", "checked", "data-state", "data-disabled"], [ct, ut] = Ne("SwitchRoot"), pt = /* @__PURE__ */ A({
336
+ __name: "SwitchRoot",
337
+ props: {
338
+ defaultChecked: { type: Boolean },
339
+ checked: { type: Boolean, default: void 0 },
340
+ disabled: { type: Boolean },
341
+ required: { type: Boolean },
342
+ name: {},
343
+ id: {},
344
+ value: { default: "on" },
345
+ asChild: { type: Boolean },
346
+ as: { default: "button" }
347
+ },
348
+ emits: ["update:checked"],
349
+ setup(e, { emit: t }) {
350
+ const r = e, o = t, { disabled: a } = Ce(r), n = tt(r, "checked", o, {
351
+ defaultValue: r.defaultChecked,
352
+ passive: r.checked === void 0
353
+ });
354
+ function s() {
355
+ a.value || (n.value = !n.value);
356
+ }
357
+ const { primitiveElement: l, currentElement: c } = de(), d = ot(c), u = $(() => {
358
+ var i;
359
+ return r.id && c.value ? (i = document.querySelector(`[for="${r.id}"]`)) == null ? void 0 : i.innerText : void 0;
360
+ });
361
+ return ut({
362
+ checked: n,
363
+ toggleCheck: s,
364
+ disabled: a
365
+ }), (i, f) => (O(), ve(Se, null, [
366
+ Ae(h(ee), W(i.$attrs, {
367
+ id: i.id,
368
+ ref_key: "primitiveElement",
369
+ ref: l,
370
+ role: "switch",
371
+ type: i.as === "button" ? "button" : void 0,
372
+ value: i.value,
373
+ "aria-label": i.$attrs["aria-label"] || u.value,
374
+ "aria-checked": h(n),
375
+ "aria-required": i.required,
376
+ "data-state": h(n) ? "checked" : "unchecked",
377
+ "data-disabled": h(a) ? "" : void 0,
378
+ "as-child": i.asChild,
379
+ as: i.as,
380
+ disabled: h(a),
381
+ onClick: s,
382
+ onKeydown: Ue(We(s, ["prevent"]), ["enter"])
383
+ }), {
384
+ default: j(() => [
385
+ K(i.$slots, "default")
386
+ ]),
387
+ _: 3
388
+ }, 16, ["id", "type", "value", "aria-label", "aria-checked", "aria-required", "data-state", "data-disabled", "as-child", "as", "disabled", "onKeydown"]),
389
+ h(d) ? (O(), ve("input", {
390
+ key: 0,
391
+ type: "checkbox",
392
+ name: i.name,
393
+ tabindex: "-1",
394
+ "aria-hidden": "",
395
+ disabled: h(a),
396
+ required: i.required,
397
+ value: i.value,
398
+ checked: !!h(n),
399
+ "data-state": h(n) ? "checked" : "unchecked",
400
+ "data-disabled": h(a) ? "" : void 0,
401
+ style: qe({
402
+ transform: "translateX(-100%)",
403
+ position: "absolute",
404
+ pointerEvents: "none",
405
+ opacity: 0,
406
+ margin: 0
407
+ })
408
+ }, null, 12, dt)) : Fe("", !0)
409
+ ], 64));
410
+ }
411
+ }), ft = /* @__PURE__ */ A({
412
+ __name: "SwitchThumb",
413
+ props: {
414
+ asChild: { type: Boolean },
415
+ as: { default: "span" }
416
+ },
417
+ setup(e) {
418
+ const t = ct();
419
+ return (r, o) => {
420
+ var a;
421
+ return O(), F(h(ee), {
422
+ "data-state": (a = h(t).checked) != null && a.value ? "checked" : "unchecked",
423
+ "data-disabled": h(t).disabled.value ? "" : void 0,
424
+ "as-child": r.asChild,
425
+ as: r.as
426
+ }, {
427
+ default: j(() => [
428
+ K(r.$slots, "default")
429
+ ]),
430
+ _: 3
431
+ }, 8, ["data-state", "data-disabled", "as-child", "as"]);
432
+ };
220
433
  }
221
434
  });
222
- function ge(e) {
435
+ function Te(e) {
223
436
  var t, r, o = "";
224
437
  if (typeof e == "string" || typeof e == "number")
225
438
  o += e;
226
439
  else if (typeof e == "object")
227
440
  if (Array.isArray(e))
228
441
  for (t = 0; t < e.length; t++)
229
- e[t] && (r = ge(e[t])) && (o && (o += " "), o += r);
442
+ e[t] && (r = Te(e[t])) && (o && (o += " "), o += r);
230
443
  else
231
444
  for (t in e)
232
445
  e[t] && (o && (o += " "), o += t);
233
446
  return o;
234
447
  }
235
- function Fe() {
448
+ function bt() {
236
449
  for (var e, t, r = 0, o = ""; r < arguments.length; )
237
- (e = arguments[r++]) && (t = ge(e)) && (o && (o += " "), o += t);
450
+ (e = arguments[r++]) && (t = Te(e)) && (o && (o += " "), o += t);
238
451
  return o;
239
452
  }
240
- const le = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ae = Fe, qe = (e, t) => (r) => {
453
+ const ye = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, xe = bt, mt = (e, t) => (r) => {
241
454
  var o;
242
455
  if ((t == null ? void 0 : t.variants) == null)
243
- return ae(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
244
- const { variants: i, defaultVariants: n } = t, s = Object.keys(i).map((c) => {
245
- const p = r == null ? void 0 : r[c], a = n == null ? void 0 : n[c];
246
- if (p === null)
456
+ return xe(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
457
+ const { variants: a, defaultVariants: n } = t, s = Object.keys(a).map((d) => {
458
+ const u = r == null ? void 0 : r[d], i = n == null ? void 0 : n[d];
459
+ if (u === null)
247
460
  return null;
248
- const f = le(p) || le(a);
249
- return i[c][f];
250
- }), l = r && Object.entries(r).reduce((c, p) => {
251
- let [a, f] = p;
252
- return f === void 0 || (c[a] = f), c;
253
- }, {}), u = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, p) => {
254
- let { class: a, className: f, ...v } = p;
255
- return Object.entries(v).every((y) => {
256
- let [g, h] = y;
257
- return Array.isArray(h) ? h.includes({
461
+ const f = ye(u) || ye(i);
462
+ return a[d][f];
463
+ }), l = r && Object.entries(r).reduce((d, u) => {
464
+ let [i, f] = u;
465
+ return f === void 0 || (d[i] = f), d;
466
+ }, {}), c = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, u) => {
467
+ let { class: i, className: f, ...m } = u;
468
+ return Object.entries(m).every((w) => {
469
+ let [b, v] = w;
470
+ return Array.isArray(v) ? v.includes({
258
471
  ...n,
259
472
  ...l
260
- }[g]) : {
473
+ }[b]) : {
261
474
  ...n,
262
475
  ...l
263
- }[g] === h;
476
+ }[b] === v;
264
477
  }) ? [
265
- ...c,
266
- a,
478
+ ...d,
479
+ i,
267
480
  f
268
- ] : c;
481
+ ] : d;
269
482
  }, []);
270
- return ae(e, s, u, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
271
- }, Je = qe(
272
- "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
483
+ return xe(e, s, c, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
484
+ }, gt = mt(
485
+ "inline-flex items-center justify-center rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-30 dark:disabled:opacity-55",
273
486
  {
274
487
  variants: {
275
488
  variant: {
276
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
489
+ default: "bg-primary text-primary-foreground hover:bg-primary-hover active:bg-primary-active",
277
490
  destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
278
- outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
491
+ outline: "border border-input text-accent-foreground bg-accent-background hover:bg-accent/[0.08] active:bg-accent/[0.16]",
279
492
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
280
- ghost: "hover:bg-accent hover:text-accent-foreground",
493
+ ghost: "text-accent-foreground bg-accent-background hover:bg-accent/[0.08] active:bg-accent/[0.16]",
281
494
  link: "text-primary underline-offset-4 hover:underline"
282
495
  },
283
496
  size: {
284
- default: "h-10 px-4 py-2",
285
- sm: "h-9 rounded-md px-3",
286
- lg: "h-11 rounded-md px-8",
497
+ default: "h-8 px-4 py-1",
498
+ sm: "h-7 px-4 py-0.5",
499
+ lg: "h-10 px-5 py-2",
287
500
  icon: "h-10 w-10"
288
501
  }
289
502
  },
@@ -293,67 +506,67 @@ const le = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ae =
293
506
  }
294
507
  }
295
508
  );
296
- function he(e) {
509
+ function Pe(e) {
297
510
  var t, r, o = "";
298
511
  if (typeof e == "string" || typeof e == "number")
299
512
  o += e;
300
513
  else if (typeof e == "object")
301
514
  if (Array.isArray(e)) {
302
- var i = e.length;
303
- for (t = 0; t < i; t++)
304
- e[t] && (r = he(e[t])) && (o && (o += " "), o += r);
515
+ var a = e.length;
516
+ for (t = 0; t < a; t++)
517
+ e[t] && (r = Pe(e[t])) && (o && (o += " "), o += r);
305
518
  } else
306
519
  for (r in e)
307
520
  e[r] && (o && (o += " "), o += r);
308
521
  return o;
309
522
  }
310
- function Ke() {
311
- for (var e, t, r = 0, o = "", i = arguments.length; r < i; r++)
312
- (e = arguments[r]) && (t = he(e)) && (o && (o += " "), o += t);
523
+ function ht() {
524
+ for (var e, t, r = 0, o = "", a = arguments.length; r < a; r++)
525
+ (e = arguments[r]) && (t = Pe(e)) && (o && (o += " "), o += t);
313
526
  return o;
314
527
  }
315
- const Z = "-";
316
- function Xe(e) {
317
- const t = Ze(e), {
528
+ const ce = "-";
529
+ function vt(e) {
530
+ const t = xt(e), {
318
531
  conflictingClassGroups: r,
319
532
  conflictingClassGroupModifiers: o
320
533
  } = e;
321
- function i(s) {
322
- const l = s.split(Z);
323
- return l[0] === "" && l.length !== 1 && l.shift(), ve(l, t) || Ye(s);
534
+ function a(s) {
535
+ const l = s.split(ce);
536
+ return l[0] === "" && l.length !== 1 && l.shift(), Oe(l, t) || yt(s);
324
537
  }
325
538
  function n(s, l) {
326
- const u = r[s] || [];
327
- return l && o[s] ? [...u, ...o[s]] : u;
539
+ const c = r[s] || [];
540
+ return l && o[s] ? [...c, ...o[s]] : c;
328
541
  }
329
542
  return {
330
- getClassGroupId: i,
543
+ getClassGroupId: a,
331
544
  getConflictingClassGroupIds: n
332
545
  };
333
546
  }
334
- function ve(e, t) {
547
+ function Oe(e, t) {
335
548
  var s;
336
549
  if (e.length === 0)
337
550
  return t.classGroupId;
338
- const r = e[0], o = t.nextPart.get(r), i = o ? ve(e.slice(1), o) : void 0;
339
- if (i)
340
- return i;
551
+ const r = e[0], o = t.nextPart.get(r), a = o ? Oe(e.slice(1), o) : void 0;
552
+ if (a)
553
+ return a;
341
554
  if (t.validators.length === 0)
342
555
  return;
343
- const n = e.join(Z);
556
+ const n = e.join(ce);
344
557
  return (s = t.validators.find(({
345
558
  validator: l
346
559
  }) => l(n))) == null ? void 0 : s.classGroupId;
347
560
  }
348
- const ce = /^\[(.+)\]$/;
349
- function Ye(e) {
350
- if (ce.test(e)) {
351
- const t = ce.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
561
+ const we = /^\[(.+)\]$/;
562
+ function yt(e) {
563
+ if (we.test(e)) {
564
+ const t = we.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
352
565
  if (r)
353
566
  return "arbitrary.." + r;
354
567
  }
355
568
  }
356
- function Ze(e) {
569
+ function xt(e) {
357
570
  const {
358
571
  theme: t,
359
572
  prefix: r
@@ -361,52 +574,52 @@ function Ze(e) {
361
574
  nextPart: /* @__PURE__ */ new Map(),
362
575
  validators: []
363
576
  };
364
- return Qe(Object.entries(e.classGroups), r).forEach(([n, s]) => {
365
- K(s, o, n, t);
577
+ return kt(Object.entries(e.classGroups), r).forEach(([n, s]) => {
578
+ ae(s, o, n, t);
366
579
  }), o;
367
580
  }
368
- function K(e, t, r, o) {
369
- e.forEach((i) => {
370
- if (typeof i == "string") {
371
- const n = i === "" ? t : de(t, i);
581
+ function ae(e, t, r, o) {
582
+ e.forEach((a) => {
583
+ if (typeof a == "string") {
584
+ const n = a === "" ? t : ke(t, a);
372
585
  n.classGroupId = r;
373
586
  return;
374
587
  }
375
- if (typeof i == "function") {
376
- if (He(i)) {
377
- K(i(o), t, r, o);
588
+ if (typeof a == "function") {
589
+ if (wt(a)) {
590
+ ae(a(o), t, r, o);
378
591
  return;
379
592
  }
380
593
  t.validators.push({
381
- validator: i,
594
+ validator: a,
382
595
  classGroupId: r
383
596
  });
384
597
  return;
385
598
  }
386
- Object.entries(i).forEach(([n, s]) => {
387
- K(s, de(t, n), r, o);
599
+ Object.entries(a).forEach(([n, s]) => {
600
+ ae(s, ke(t, n), r, o);
388
601
  });
389
602
  });
390
603
  }
391
- function de(e, t) {
604
+ function ke(e, t) {
392
605
  let r = e;
393
- return t.split(Z).forEach((o) => {
606
+ return t.split(ce).forEach((o) => {
394
607
  r.nextPart.has(o) || r.nextPart.set(o, {
395
608
  nextPart: /* @__PURE__ */ new Map(),
396
609
  validators: []
397
610
  }), r = r.nextPart.get(o);
398
611
  }), r;
399
612
  }
400
- function He(e) {
613
+ function wt(e) {
401
614
  return e.isThemeGetter;
402
615
  }
403
- function Qe(e, t) {
616
+ function kt(e, t) {
404
617
  return t ? e.map(([r, o]) => {
405
- const i = o.map((n) => typeof n == "string" ? t + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([s, l]) => [t + s, l])) : n);
406
- return [r, i];
618
+ const a = o.map((n) => typeof n == "string" ? t + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([s, l]) => [t + s, l])) : n);
619
+ return [r, a];
407
620
  }) : e;
408
621
  }
409
- function De(e) {
622
+ function Ct(e) {
410
623
  if (e < 1)
411
624
  return {
412
625
  get: () => {
@@ -415,7 +628,7 @@ function De(e) {
415
628
  }
416
629
  };
417
630
  let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
418
- function i(n, s) {
631
+ function a(n, s) {
419
632
  r.set(n, s), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
420
633
  }
421
634
  return {
@@ -424,43 +637,43 @@ function De(e) {
424
637
  if (s !== void 0)
425
638
  return s;
426
639
  if ((s = o.get(n)) !== void 0)
427
- return i(n, s), s;
640
+ return a(n, s), s;
428
641
  },
429
642
  set(n, s) {
430
- r.has(n) ? r.set(n, s) : i(n, s);
643
+ r.has(n) ? r.set(n, s) : a(n, s);
431
644
  }
432
645
  };
433
646
  }
434
- const ye = "!";
435
- function et(e) {
436
- const t = e.separator, r = t.length === 1, o = t[0], i = t.length;
647
+ const $e = "!";
648
+ function St(e) {
649
+ const t = e.separator, r = t.length === 1, o = t[0], a = t.length;
437
650
  return function(s) {
438
651
  const l = [];
439
- let u = 0, c = 0, p;
440
- for (let g = 0; g < s.length; g++) {
441
- let h = s[g];
442
- if (u === 0) {
443
- if (h === o && (r || s.slice(g, g + i) === t)) {
444
- l.push(s.slice(c, g)), c = g + i;
652
+ let c = 0, d = 0, u;
653
+ for (let b = 0; b < s.length; b++) {
654
+ let v = s[b];
655
+ if (c === 0) {
656
+ if (v === o && (r || s.slice(b, b + a) === t)) {
657
+ l.push(s.slice(d, b)), d = b + a;
445
658
  continue;
446
659
  }
447
- if (h === "/") {
448
- p = g;
660
+ if (v === "/") {
661
+ u = b;
449
662
  continue;
450
663
  }
451
664
  }
452
- h === "[" ? u++ : h === "]" && u--;
665
+ v === "[" ? c++ : v === "]" && c--;
453
666
  }
454
- const a = l.length === 0 ? s : s.substring(c), f = a.startsWith(ye), v = f ? a.substring(1) : a, y = p && p > c ? p - c : void 0;
667
+ const i = l.length === 0 ? s : s.substring(d), f = i.startsWith($e), m = f ? i.substring(1) : i, w = u && u > d ? u - d : void 0;
455
668
  return {
456
669
  modifiers: l,
457
670
  hasImportantModifier: f,
458
- baseClassName: v,
459
- maybePostfixModifierPosition: y
671
+ baseClassName: m,
672
+ maybePostfixModifierPosition: w
460
673
  };
461
674
  };
462
675
  }
463
- function tt(e) {
676
+ function At(e) {
464
677
  if (e.length <= 1)
465
678
  return e;
466
679
  const t = [];
@@ -469,46 +682,46 @@ function tt(e) {
469
682
  o[0] === "[" ? (t.push(...r.sort(), o), r = []) : r.push(o);
470
683
  }), t.push(...r.sort()), t;
471
684
  }
472
- function rt(e) {
685
+ function zt(e) {
473
686
  return {
474
- cache: De(e.cacheSize),
475
- splitModifiers: et(e),
476
- ...Xe(e)
687
+ cache: Ct(e.cacheSize),
688
+ splitModifiers: St(e),
689
+ ...vt(e)
477
690
  };
478
691
  }
479
- const ot = /\s+/;
480
- function nt(e, t) {
692
+ const Mt = /\s+/;
693
+ function Et(e, t) {
481
694
  const {
482
695
  splitModifiers: r,
483
696
  getClassGroupId: o,
484
- getConflictingClassGroupIds: i
697
+ getConflictingClassGroupIds: a
485
698
  } = t, n = /* @__PURE__ */ new Set();
486
- return e.trim().split(ot).map((s) => {
699
+ return e.trim().split(Mt).map((s) => {
487
700
  const {
488
701
  modifiers: l,
489
- hasImportantModifier: u,
490
- baseClassName: c,
491
- maybePostfixModifierPosition: p
702
+ hasImportantModifier: c,
703
+ baseClassName: d,
704
+ maybePostfixModifierPosition: u
492
705
  } = r(s);
493
- let a = o(p ? c.substring(0, p) : c), f = !!p;
494
- if (!a) {
495
- if (!p)
706
+ let i = o(u ? d.substring(0, u) : d), f = !!u;
707
+ if (!i) {
708
+ if (!u)
496
709
  return {
497
710
  isTailwindClass: !1,
498
711
  originalClassName: s
499
712
  };
500
- if (a = o(c), !a)
713
+ if (i = o(d), !i)
501
714
  return {
502
715
  isTailwindClass: !1,
503
716
  originalClassName: s
504
717
  };
505
718
  f = !1;
506
719
  }
507
- const v = tt(l).join(":");
720
+ const m = At(l).join(":");
508
721
  return {
509
722
  isTailwindClass: !0,
510
- modifierId: u ? v + ye : v,
511
- classGroupId: a,
723
+ modifierId: c ? m + $e : m,
724
+ classGroupId: i,
512
725
  originalClassName: s,
513
726
  hasPostfixModifier: f
514
727
  };
@@ -517,136 +730,136 @@ function nt(e, t) {
517
730
  return !0;
518
731
  const {
519
732
  modifierId: l,
520
- classGroupId: u,
521
- hasPostfixModifier: c
522
- } = s, p = l + u;
523
- return n.has(p) ? !1 : (n.add(p), i(u, c).forEach((a) => n.add(l + a)), !0);
733
+ classGroupId: c,
734
+ hasPostfixModifier: d
735
+ } = s, u = l + c;
736
+ return n.has(u) ? !1 : (n.add(u), a(c, d).forEach((i) => n.add(l + i)), !0);
524
737
  }).reverse().map((s) => s.originalClassName).join(" ");
525
738
  }
526
- function st() {
739
+ function Nt() {
527
740
  let e = 0, t, r, o = "";
528
741
  for (; e < arguments.length; )
529
- (t = arguments[e++]) && (r = xe(t)) && (o && (o += " "), o += r);
742
+ (t = arguments[e++]) && (r = je(t)) && (o && (o += " "), o += r);
530
743
  return o;
531
744
  }
532
- function xe(e) {
745
+ function je(e) {
533
746
  if (typeof e == "string")
534
747
  return e;
535
748
  let t, r = "";
536
749
  for (let o = 0; o < e.length; o++)
537
- e[o] && (t = xe(e[o])) && (r && (r += " "), r += t);
750
+ e[o] && (t = je(e[o])) && (r && (r += " "), r += t);
538
751
  return r;
539
752
  }
540
- function it(e, ...t) {
541
- let r, o, i, n = s;
542
- function s(u) {
543
- const c = t.reduce((p, a) => a(p), e());
544
- return r = rt(c), o = r.cache.get, i = r.cache.set, n = l, l(u);
753
+ function _t(e, ...t) {
754
+ let r, o, a, n = s;
755
+ function s(c) {
756
+ const d = t.reduce((u, i) => i(u), e());
757
+ return r = zt(d), o = r.cache.get, a = r.cache.set, n = l, l(c);
545
758
  }
546
- function l(u) {
547
- const c = o(u);
548
- if (c)
549
- return c;
550
- const p = nt(u, r);
551
- return i(u, p), p;
759
+ function l(c) {
760
+ const d = o(c);
761
+ if (d)
762
+ return d;
763
+ const u = Et(c, r);
764
+ return a(c, u), u;
552
765
  }
553
766
  return function() {
554
- return n(st.apply(null, arguments));
767
+ return n(Nt.apply(null, arguments));
555
768
  };
556
769
  }
557
- function b(e) {
770
+ function g(e) {
558
771
  const t = (r) => r[e] || [];
559
772
  return t.isThemeGetter = !0, t;
560
773
  }
561
- const we = /^\[(?:([a-z-]+):)?(.+)\]$/i, lt = /^\d+\/\d+$/, at = /* @__PURE__ */ new Set(["px", "full", "screen"]), ct = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, dt = /\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$/, ut = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
562
- function w(e) {
563
- return z(e) || at.has(e) || lt.test(e);
774
+ const Be = /^\[(?:([a-z-]+):)?(.+)\]$/i, It = /^\d+\/\d+$/, Tt = /* @__PURE__ */ new Set(["px", "full", "screen"]), Pt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ot = /\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$/, $t = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, jt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
775
+ function z(e) {
776
+ return T(e) || Tt.has(e) || It.test(e);
564
777
  }
565
- function S(e) {
566
- return N(e, "length", xt);
778
+ function M(e) {
779
+ return B(e, "length", qt);
567
780
  }
568
- function z(e) {
781
+ function T(e) {
569
782
  return !!e && !Number.isNaN(Number(e));
570
783
  }
571
- function L(e) {
572
- return N(e, "number", z);
784
+ function Z(e) {
785
+ return B(e, "number", T);
573
786
  }
574
- function T(e) {
787
+ function V(e) {
575
788
  return !!e && Number.isInteger(Number(e));
576
789
  }
577
- function ft(e) {
578
- return e.endsWith("%") && z(e.slice(0, -1));
790
+ function Bt(e) {
791
+ return e.endsWith("%") && T(e.slice(0, -1));
579
792
  }
580
- function d(e) {
581
- return we.test(e);
793
+ function p(e) {
794
+ return Be.test(e);
582
795
  }
583
- function A(e) {
584
- return ct.test(e);
796
+ function E(e) {
797
+ return Pt.test(e);
585
798
  }
586
- const bt = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
587
- function mt(e) {
588
- return N(e, bt, Ce);
799
+ const Rt = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
800
+ function Gt(e) {
801
+ return B(e, Rt, Re);
589
802
  }
590
- function gt(e) {
591
- return N(e, "position", Ce);
803
+ function Vt(e) {
804
+ return B(e, "position", Re);
592
805
  }
593
- const ht = /* @__PURE__ */ new Set(["image", "url"]);
594
- function vt(e) {
595
- return N(e, ht, Ct);
806
+ const Lt = /* @__PURE__ */ new Set(["image", "url"]);
807
+ function Ut(e) {
808
+ return B(e, Lt, Kt);
596
809
  }
597
- function yt(e) {
598
- return N(e, "", wt);
810
+ function Wt(e) {
811
+ return B(e, "", Ft);
599
812
  }
600
- function P() {
813
+ function L() {
601
814
  return !0;
602
815
  }
603
- function N(e, t, r) {
604
- const o = we.exec(e);
816
+ function B(e, t, r) {
817
+ const o = Be.exec(e);
605
818
  return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : r(o[2]) : !1;
606
819
  }
607
- function xt(e) {
608
- return dt.test(e);
820
+ function qt(e) {
821
+ return Ot.test(e);
609
822
  }
610
- function Ce() {
823
+ function Re() {
611
824
  return !1;
612
825
  }
613
- function wt(e) {
614
- return ut.test(e);
826
+ function Ft(e) {
827
+ return $t.test(e);
615
828
  }
616
- function Ct(e) {
617
- return pt.test(e);
829
+ function Kt(e) {
830
+ return jt.test(e);
618
831
  }
619
- function kt() {
620
- const e = b("colors"), t = b("spacing"), r = b("blur"), o = b("brightness"), i = b("borderColor"), n = b("borderRadius"), s = b("borderSpacing"), l = b("borderWidth"), u = b("contrast"), c = b("grayscale"), p = b("hueRotate"), a = b("invert"), f = b("gap"), v = b("gradientColorStops"), y = b("gradientColorStopPositions"), g = b("inset"), h = b("margin"), k = b("opacity"), x = b("padding"), H = b("saturate"), _ = b("scale"), Q = b("sepia"), D = b("skew"), ee = b("space"), te = b("translate"), B = () => ["auto", "contain", "none"], F = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", d, t], m = () => [d, t], re = () => ["", w, S], O = () => ["auto", z, d], oe = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], R = () => ["solid", "dashed", "dotted", "double", "none"], ne = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], J = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], E = () => ["", "0", d], se = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [z, L], G = () => [z, d];
832
+ function Jt() {
833
+ const e = g("colors"), t = g("spacing"), r = g("blur"), o = g("brightness"), a = g("borderColor"), n = g("borderRadius"), s = g("borderSpacing"), l = g("borderWidth"), c = g("contrast"), d = g("grayscale"), u = g("hueRotate"), i = g("invert"), f = g("gap"), m = g("gradientColorStops"), w = g("gradientColorStopPositions"), b = g("inset"), v = g("margin"), C = g("opacity"), k = g("padding"), x = g("saturate"), N = g("scale"), _ = g("sepia"), I = g("skew"), ue = g("space"), pe = g("translate"), te = () => ["auto", "contain", "none"], re = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", p, t], y = () => [p, t], fe = () => ["", z, M], J = () => ["auto", T, p], be = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], X = () => ["solid", "dashed", "dotted", "double", "none"], me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], ne = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], R = () => ["", "0", p], ge = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [T, Z], H = () => [T, p];
621
834
  return {
622
835
  cacheSize: 500,
623
836
  separator: ":",
624
837
  theme: {
625
- colors: [P],
626
- spacing: [w, S],
627
- blur: ["none", "", A, d],
628
- brightness: I(),
838
+ colors: [L],
839
+ spacing: [z, M],
840
+ blur: ["none", "", E, p],
841
+ brightness: G(),
629
842
  borderColor: [e],
630
- borderRadius: ["none", "", "full", A, d],
631
- borderSpacing: m(),
632
- borderWidth: re(),
633
- contrast: I(),
634
- grayscale: E(),
635
- hueRotate: G(),
636
- invert: E(),
637
- gap: m(),
843
+ borderRadius: ["none", "", "full", E, p],
844
+ borderSpacing: y(),
845
+ borderWidth: fe(),
846
+ contrast: G(),
847
+ grayscale: R(),
848
+ hueRotate: H(),
849
+ invert: R(),
850
+ gap: y(),
638
851
  gradientColorStops: [e],
639
- gradientColorStopPositions: [ft, S],
640
- inset: q(),
641
- margin: q(),
642
- opacity: I(),
643
- padding: m(),
644
- saturate: I(),
645
- scale: I(),
646
- sepia: E(),
647
- skew: G(),
648
- space: m(),
649
- translate: m()
852
+ gradientColorStopPositions: [Bt, M],
853
+ inset: oe(),
854
+ margin: oe(),
855
+ opacity: G(),
856
+ padding: y(),
857
+ saturate: G(),
858
+ scale: G(),
859
+ sepia: R(),
860
+ skew: H(),
861
+ space: y(),
862
+ translate: y()
650
863
  },
651
864
  classGroups: {
652
865
  // Layout
@@ -655,7 +868,7 @@ function kt() {
655
868
  * @see https://tailwindcss.com/docs/aspect-ratio
656
869
  */
657
870
  aspect: [{
658
- aspect: ["auto", "square", "video", d]
871
+ aspect: ["auto", "square", "video", p]
659
872
  }],
660
873
  /**
661
874
  * Container
@@ -667,21 +880,21 @@ function kt() {
667
880
  * @see https://tailwindcss.com/docs/columns
668
881
  */
669
882
  columns: [{
670
- columns: [A]
883
+ columns: [E]
671
884
  }],
672
885
  /**
673
886
  * Break After
674
887
  * @see https://tailwindcss.com/docs/break-after
675
888
  */
676
889
  "break-after": [{
677
- "break-after": se()
890
+ "break-after": ge()
678
891
  }],
679
892
  /**
680
893
  * Break Before
681
894
  * @see https://tailwindcss.com/docs/break-before
682
895
  */
683
896
  "break-before": [{
684
- "break-before": se()
897
+ "break-before": ge()
685
898
  }],
686
899
  /**
687
900
  * Break Inside
@@ -740,49 +953,49 @@ function kt() {
740
953
  * @see https://tailwindcss.com/docs/object-position
741
954
  */
742
955
  "object-position": [{
743
- object: [...oe(), d]
956
+ object: [...be(), p]
744
957
  }],
745
958
  /**
746
959
  * Overflow
747
960
  * @see https://tailwindcss.com/docs/overflow
748
961
  */
749
962
  overflow: [{
750
- overflow: F()
963
+ overflow: re()
751
964
  }],
752
965
  /**
753
966
  * Overflow X
754
967
  * @see https://tailwindcss.com/docs/overflow
755
968
  */
756
969
  "overflow-x": [{
757
- "overflow-x": F()
970
+ "overflow-x": re()
758
971
  }],
759
972
  /**
760
973
  * Overflow Y
761
974
  * @see https://tailwindcss.com/docs/overflow
762
975
  */
763
976
  "overflow-y": [{
764
- "overflow-y": F()
977
+ "overflow-y": re()
765
978
  }],
766
979
  /**
767
980
  * Overscroll Behavior
768
981
  * @see https://tailwindcss.com/docs/overscroll-behavior
769
982
  */
770
983
  overscroll: [{
771
- overscroll: B()
984
+ overscroll: te()
772
985
  }],
773
986
  /**
774
987
  * Overscroll Behavior X
775
988
  * @see https://tailwindcss.com/docs/overscroll-behavior
776
989
  */
777
990
  "overscroll-x": [{
778
- "overscroll-x": B()
991
+ "overscroll-x": te()
779
992
  }],
780
993
  /**
781
994
  * Overscroll Behavior Y
782
995
  * @see https://tailwindcss.com/docs/overscroll-behavior
783
996
  */
784
997
  "overscroll-y": [{
785
- "overscroll-y": B()
998
+ "overscroll-y": te()
786
999
  }],
787
1000
  /**
788
1001
  * Position
@@ -794,63 +1007,63 @@ function kt() {
794
1007
  * @see https://tailwindcss.com/docs/top-right-bottom-left
795
1008
  */
796
1009
  inset: [{
797
- inset: [g]
1010
+ inset: [b]
798
1011
  }],
799
1012
  /**
800
1013
  * Right / Left
801
1014
  * @see https://tailwindcss.com/docs/top-right-bottom-left
802
1015
  */
803
1016
  "inset-x": [{
804
- "inset-x": [g]
1017
+ "inset-x": [b]
805
1018
  }],
806
1019
  /**
807
1020
  * Top / Bottom
808
1021
  * @see https://tailwindcss.com/docs/top-right-bottom-left
809
1022
  */
810
1023
  "inset-y": [{
811
- "inset-y": [g]
1024
+ "inset-y": [b]
812
1025
  }],
813
1026
  /**
814
1027
  * Start
815
1028
  * @see https://tailwindcss.com/docs/top-right-bottom-left
816
1029
  */
817
1030
  start: [{
818
- start: [g]
1031
+ start: [b]
819
1032
  }],
820
1033
  /**
821
1034
  * End
822
1035
  * @see https://tailwindcss.com/docs/top-right-bottom-left
823
1036
  */
824
1037
  end: [{
825
- end: [g]
1038
+ end: [b]
826
1039
  }],
827
1040
  /**
828
1041
  * Top
829
1042
  * @see https://tailwindcss.com/docs/top-right-bottom-left
830
1043
  */
831
1044
  top: [{
832
- top: [g]
1045
+ top: [b]
833
1046
  }],
834
1047
  /**
835
1048
  * Right
836
1049
  * @see https://tailwindcss.com/docs/top-right-bottom-left
837
1050
  */
838
1051
  right: [{
839
- right: [g]
1052
+ right: [b]
840
1053
  }],
841
1054
  /**
842
1055
  * Bottom
843
1056
  * @see https://tailwindcss.com/docs/top-right-bottom-left
844
1057
  */
845
1058
  bottom: [{
846
- bottom: [g]
1059
+ bottom: [b]
847
1060
  }],
848
1061
  /**
849
1062
  * Left
850
1063
  * @see https://tailwindcss.com/docs/top-right-bottom-left
851
1064
  */
852
1065
  left: [{
853
- left: [g]
1066
+ left: [b]
854
1067
  }],
855
1068
  /**
856
1069
  * Visibility
@@ -862,7 +1075,7 @@ function kt() {
862
1075
  * @see https://tailwindcss.com/docs/z-index
863
1076
  */
864
1077
  z: [{
865
- z: ["auto", T, d]
1078
+ z: ["auto", V, p]
866
1079
  }],
867
1080
  // Flexbox and Grid
868
1081
  /**
@@ -870,7 +1083,7 @@ function kt() {
870
1083
  * @see https://tailwindcss.com/docs/flex-basis
871
1084
  */
872
1085
  basis: [{
873
- basis: q()
1086
+ basis: oe()
874
1087
  }],
875
1088
  /**
876
1089
  * Flex Direction
@@ -891,35 +1104,35 @@ function kt() {
891
1104
  * @see https://tailwindcss.com/docs/flex
892
1105
  */
893
1106
  flex: [{
894
- flex: ["1", "auto", "initial", "none", d]
1107
+ flex: ["1", "auto", "initial", "none", p]
895
1108
  }],
896
1109
  /**
897
1110
  * Flex Grow
898
1111
  * @see https://tailwindcss.com/docs/flex-grow
899
1112
  */
900
1113
  grow: [{
901
- grow: E()
1114
+ grow: R()
902
1115
  }],
903
1116
  /**
904
1117
  * Flex Shrink
905
1118
  * @see https://tailwindcss.com/docs/flex-shrink
906
1119
  */
907
1120
  shrink: [{
908
- shrink: E()
1121
+ shrink: R()
909
1122
  }],
910
1123
  /**
911
1124
  * Order
912
1125
  * @see https://tailwindcss.com/docs/order
913
1126
  */
914
1127
  order: [{
915
- order: ["first", "last", "none", T, d]
1128
+ order: ["first", "last", "none", V, p]
916
1129
  }],
917
1130
  /**
918
1131
  * Grid Template Columns
919
1132
  * @see https://tailwindcss.com/docs/grid-template-columns
920
1133
  */
921
1134
  "grid-cols": [{
922
- "grid-cols": [P]
1135
+ "grid-cols": [L]
923
1136
  }],
924
1137
  /**
925
1138
  * Grid Column Start / End
@@ -927,29 +1140,29 @@ function kt() {
927
1140
  */
928
1141
  "col-start-end": [{
929
1142
  col: ["auto", {
930
- span: ["full", T, d]
931
- }, d]
1143
+ span: ["full", V, p]
1144
+ }, p]
932
1145
  }],
933
1146
  /**
934
1147
  * Grid Column Start
935
1148
  * @see https://tailwindcss.com/docs/grid-column
936
1149
  */
937
1150
  "col-start": [{
938
- "col-start": O()
1151
+ "col-start": J()
939
1152
  }],
940
1153
  /**
941
1154
  * Grid Column End
942
1155
  * @see https://tailwindcss.com/docs/grid-column
943
1156
  */
944
1157
  "col-end": [{
945
- "col-end": O()
1158
+ "col-end": J()
946
1159
  }],
947
1160
  /**
948
1161
  * Grid Template Rows
949
1162
  * @see https://tailwindcss.com/docs/grid-template-rows
950
1163
  */
951
1164
  "grid-rows": [{
952
- "grid-rows": [P]
1165
+ "grid-rows": [L]
953
1166
  }],
954
1167
  /**
955
1168
  * Grid Row Start / End
@@ -957,22 +1170,22 @@ function kt() {
957
1170
  */
958
1171
  "row-start-end": [{
959
1172
  row: ["auto", {
960
- span: [T, d]
961
- }, d]
1173
+ span: [V, p]
1174
+ }, p]
962
1175
  }],
963
1176
  /**
964
1177
  * Grid Row Start
965
1178
  * @see https://tailwindcss.com/docs/grid-row
966
1179
  */
967
1180
  "row-start": [{
968
- "row-start": O()
1181
+ "row-start": J()
969
1182
  }],
970
1183
  /**
971
1184
  * Grid Row End
972
1185
  * @see https://tailwindcss.com/docs/grid-row
973
1186
  */
974
1187
  "row-end": [{
975
- "row-end": O()
1188
+ "row-end": J()
976
1189
  }],
977
1190
  /**
978
1191
  * Grid Auto Flow
@@ -986,14 +1199,14 @@ function kt() {
986
1199
  * @see https://tailwindcss.com/docs/grid-auto-columns
987
1200
  */
988
1201
  "auto-cols": [{
989
- "auto-cols": ["auto", "min", "max", "fr", d]
1202
+ "auto-cols": ["auto", "min", "max", "fr", p]
990
1203
  }],
991
1204
  /**
992
1205
  * Grid Auto Rows
993
1206
  * @see https://tailwindcss.com/docs/grid-auto-rows
994
1207
  */
995
1208
  "auto-rows": [{
996
- "auto-rows": ["auto", "min", "max", "fr", d]
1209
+ "auto-rows": ["auto", "min", "max", "fr", p]
997
1210
  }],
998
1211
  /**
999
1212
  * Gap
@@ -1021,7 +1234,7 @@ function kt() {
1021
1234
  * @see https://tailwindcss.com/docs/justify-content
1022
1235
  */
1023
1236
  "justify-content": [{
1024
- justify: ["normal", ...J()]
1237
+ justify: ["normal", ...ne()]
1025
1238
  }],
1026
1239
  /**
1027
1240
  * Justify Items
@@ -1042,7 +1255,7 @@ function kt() {
1042
1255
  * @see https://tailwindcss.com/docs/align-content
1043
1256
  */
1044
1257
  "align-content": [{
1045
- content: ["normal", ...J(), "baseline"]
1258
+ content: ["normal", ...ne(), "baseline"]
1046
1259
  }],
1047
1260
  /**
1048
1261
  * Align Items
@@ -1063,7 +1276,7 @@ function kt() {
1063
1276
  * @see https://tailwindcss.com/docs/place-content
1064
1277
  */
1065
1278
  "place-content": [{
1066
- "place-content": [...J(), "baseline"]
1279
+ "place-content": [...ne(), "baseline"]
1067
1280
  }],
1068
1281
  /**
1069
1282
  * Place Items
@@ -1085,133 +1298,133 @@ function kt() {
1085
1298
  * @see https://tailwindcss.com/docs/padding
1086
1299
  */
1087
1300
  p: [{
1088
- p: [x]
1301
+ p: [k]
1089
1302
  }],
1090
1303
  /**
1091
1304
  * Padding X
1092
1305
  * @see https://tailwindcss.com/docs/padding
1093
1306
  */
1094
1307
  px: [{
1095
- px: [x]
1308
+ px: [k]
1096
1309
  }],
1097
1310
  /**
1098
1311
  * Padding Y
1099
1312
  * @see https://tailwindcss.com/docs/padding
1100
1313
  */
1101
1314
  py: [{
1102
- py: [x]
1315
+ py: [k]
1103
1316
  }],
1104
1317
  /**
1105
1318
  * Padding Start
1106
1319
  * @see https://tailwindcss.com/docs/padding
1107
1320
  */
1108
1321
  ps: [{
1109
- ps: [x]
1322
+ ps: [k]
1110
1323
  }],
1111
1324
  /**
1112
1325
  * Padding End
1113
1326
  * @see https://tailwindcss.com/docs/padding
1114
1327
  */
1115
1328
  pe: [{
1116
- pe: [x]
1329
+ pe: [k]
1117
1330
  }],
1118
1331
  /**
1119
1332
  * Padding Top
1120
1333
  * @see https://tailwindcss.com/docs/padding
1121
1334
  */
1122
1335
  pt: [{
1123
- pt: [x]
1336
+ pt: [k]
1124
1337
  }],
1125
1338
  /**
1126
1339
  * Padding Right
1127
1340
  * @see https://tailwindcss.com/docs/padding
1128
1341
  */
1129
1342
  pr: [{
1130
- pr: [x]
1343
+ pr: [k]
1131
1344
  }],
1132
1345
  /**
1133
1346
  * Padding Bottom
1134
1347
  * @see https://tailwindcss.com/docs/padding
1135
1348
  */
1136
1349
  pb: [{
1137
- pb: [x]
1350
+ pb: [k]
1138
1351
  }],
1139
1352
  /**
1140
1353
  * Padding Left
1141
1354
  * @see https://tailwindcss.com/docs/padding
1142
1355
  */
1143
1356
  pl: [{
1144
- pl: [x]
1357
+ pl: [k]
1145
1358
  }],
1146
1359
  /**
1147
1360
  * Margin
1148
1361
  * @see https://tailwindcss.com/docs/margin
1149
1362
  */
1150
1363
  m: [{
1151
- m: [h]
1364
+ m: [v]
1152
1365
  }],
1153
1366
  /**
1154
1367
  * Margin X
1155
1368
  * @see https://tailwindcss.com/docs/margin
1156
1369
  */
1157
1370
  mx: [{
1158
- mx: [h]
1371
+ mx: [v]
1159
1372
  }],
1160
1373
  /**
1161
1374
  * Margin Y
1162
1375
  * @see https://tailwindcss.com/docs/margin
1163
1376
  */
1164
1377
  my: [{
1165
- my: [h]
1378
+ my: [v]
1166
1379
  }],
1167
1380
  /**
1168
1381
  * Margin Start
1169
1382
  * @see https://tailwindcss.com/docs/margin
1170
1383
  */
1171
1384
  ms: [{
1172
- ms: [h]
1385
+ ms: [v]
1173
1386
  }],
1174
1387
  /**
1175
1388
  * Margin End
1176
1389
  * @see https://tailwindcss.com/docs/margin
1177
1390
  */
1178
1391
  me: [{
1179
- me: [h]
1392
+ me: [v]
1180
1393
  }],
1181
1394
  /**
1182
1395
  * Margin Top
1183
1396
  * @see https://tailwindcss.com/docs/margin
1184
1397
  */
1185
1398
  mt: [{
1186
- mt: [h]
1399
+ mt: [v]
1187
1400
  }],
1188
1401
  /**
1189
1402
  * Margin Right
1190
1403
  * @see https://tailwindcss.com/docs/margin
1191
1404
  */
1192
1405
  mr: [{
1193
- mr: [h]
1406
+ mr: [v]
1194
1407
  }],
1195
1408
  /**
1196
1409
  * Margin Bottom
1197
1410
  * @see https://tailwindcss.com/docs/margin
1198
1411
  */
1199
1412
  mb: [{
1200
- mb: [h]
1413
+ mb: [v]
1201
1414
  }],
1202
1415
  /**
1203
1416
  * Margin Left
1204
1417
  * @see https://tailwindcss.com/docs/margin
1205
1418
  */
1206
1419
  ml: [{
1207
- ml: [h]
1420
+ ml: [v]
1208
1421
  }],
1209
1422
  /**
1210
1423
  * Space Between X
1211
1424
  * @see https://tailwindcss.com/docs/space
1212
1425
  */
1213
1426
  "space-x": [{
1214
- "space-x": [ee]
1427
+ "space-x": [ue]
1215
1428
  }],
1216
1429
  /**
1217
1430
  * Space Between X Reverse
@@ -1223,7 +1436,7 @@ function kt() {
1223
1436
  * @see https://tailwindcss.com/docs/space
1224
1437
  */
1225
1438
  "space-y": [{
1226
- "space-y": [ee]
1439
+ "space-y": [ue]
1227
1440
  }],
1228
1441
  /**
1229
1442
  * Space Between Y Reverse
@@ -1236,51 +1449,51 @@ function kt() {
1236
1449
  * @see https://tailwindcss.com/docs/width
1237
1450
  */
1238
1451
  w: [{
1239
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", d, t]
1452
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", p, t]
1240
1453
  }],
1241
1454
  /**
1242
1455
  * Min-Width
1243
1456
  * @see https://tailwindcss.com/docs/min-width
1244
1457
  */
1245
1458
  "min-w": [{
1246
- "min-w": [d, t, "min", "max", "fit"]
1459
+ "min-w": [p, t, "min", "max", "fit"]
1247
1460
  }],
1248
1461
  /**
1249
1462
  * Max-Width
1250
1463
  * @see https://tailwindcss.com/docs/max-width
1251
1464
  */
1252
1465
  "max-w": [{
1253
- "max-w": [d, t, "none", "full", "min", "max", "fit", "prose", {
1254
- screen: [A]
1255
- }, A]
1466
+ "max-w": [p, t, "none", "full", "min", "max", "fit", "prose", {
1467
+ screen: [E]
1468
+ }, E]
1256
1469
  }],
1257
1470
  /**
1258
1471
  * Height
1259
1472
  * @see https://tailwindcss.com/docs/height
1260
1473
  */
1261
1474
  h: [{
1262
- h: [d, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1475
+ h: [p, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1263
1476
  }],
1264
1477
  /**
1265
1478
  * Min-Height
1266
1479
  * @see https://tailwindcss.com/docs/min-height
1267
1480
  */
1268
1481
  "min-h": [{
1269
- "min-h": [d, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1482
+ "min-h": [p, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1270
1483
  }],
1271
1484
  /**
1272
1485
  * Max-Height
1273
1486
  * @see https://tailwindcss.com/docs/max-height
1274
1487
  */
1275
1488
  "max-h": [{
1276
- "max-h": [d, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1489
+ "max-h": [p, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1277
1490
  }],
1278
1491
  /**
1279
1492
  * Size
1280
1493
  * @see https://tailwindcss.com/docs/size
1281
1494
  */
1282
1495
  size: [{
1283
- size: [d, t, "auto", "min", "max", "fit"]
1496
+ size: [p, t, "auto", "min", "max", "fit"]
1284
1497
  }],
1285
1498
  // Typography
1286
1499
  /**
@@ -1288,7 +1501,7 @@ function kt() {
1288
1501
  * @see https://tailwindcss.com/docs/font-size
1289
1502
  */
1290
1503
  "font-size": [{
1291
- text: ["base", A, S]
1504
+ text: ["base", E, M]
1292
1505
  }],
1293
1506
  /**
1294
1507
  * Font Smoothing
@@ -1305,14 +1518,14 @@ function kt() {
1305
1518
  * @see https://tailwindcss.com/docs/font-weight
1306
1519
  */
1307
1520
  "font-weight": [{
1308
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", L]
1521
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Z]
1309
1522
  }],
1310
1523
  /**
1311
1524
  * Font Family
1312
1525
  * @see https://tailwindcss.com/docs/font-family
1313
1526
  */
1314
1527
  "font-family": [{
1315
- font: [P]
1528
+ font: [L]
1316
1529
  }],
1317
1530
  /**
1318
1531
  * Font Variant Numeric
@@ -1349,35 +1562,35 @@ function kt() {
1349
1562
  * @see https://tailwindcss.com/docs/letter-spacing
1350
1563
  */
1351
1564
  tracking: [{
1352
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", d]
1565
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", p]
1353
1566
  }],
1354
1567
  /**
1355
1568
  * Line Clamp
1356
1569
  * @see https://tailwindcss.com/docs/line-clamp
1357
1570
  */
1358
1571
  "line-clamp": [{
1359
- "line-clamp": ["none", z, L]
1572
+ "line-clamp": ["none", T, Z]
1360
1573
  }],
1361
1574
  /**
1362
1575
  * Line Height
1363
1576
  * @see https://tailwindcss.com/docs/line-height
1364
1577
  */
1365
1578
  leading: [{
1366
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", w, d]
1579
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", z, p]
1367
1580
  }],
1368
1581
  /**
1369
1582
  * List Style Image
1370
1583
  * @see https://tailwindcss.com/docs/list-style-image
1371
1584
  */
1372
1585
  "list-image": [{
1373
- "list-image": ["none", d]
1586
+ "list-image": ["none", p]
1374
1587
  }],
1375
1588
  /**
1376
1589
  * List Style Type
1377
1590
  * @see https://tailwindcss.com/docs/list-style-type
1378
1591
  */
1379
1592
  "list-style-type": [{
1380
- list: ["none", "disc", "decimal", d]
1593
+ list: ["none", "disc", "decimal", p]
1381
1594
  }],
1382
1595
  /**
1383
1596
  * List Style Position
@@ -1399,7 +1612,7 @@ function kt() {
1399
1612
  * @see https://tailwindcss.com/docs/placeholder-opacity
1400
1613
  */
1401
1614
  "placeholder-opacity": [{
1402
- "placeholder-opacity": [k]
1615
+ "placeholder-opacity": [C]
1403
1616
  }],
1404
1617
  /**
1405
1618
  * Text Alignment
@@ -1420,7 +1633,7 @@ function kt() {
1420
1633
  * @see https://tailwindcss.com/docs/text-opacity
1421
1634
  */
1422
1635
  "text-opacity": [{
1423
- "text-opacity": [k]
1636
+ "text-opacity": [C]
1424
1637
  }],
1425
1638
  /**
1426
1639
  * Text Decoration
@@ -1432,21 +1645,21 @@ function kt() {
1432
1645
  * @see https://tailwindcss.com/docs/text-decoration-style
1433
1646
  */
1434
1647
  "text-decoration-style": [{
1435
- decoration: [...R(), "wavy"]
1648
+ decoration: [...X(), "wavy"]
1436
1649
  }],
1437
1650
  /**
1438
1651
  * Text Decoration Thickness
1439
1652
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1440
1653
  */
1441
1654
  "text-decoration-thickness": [{
1442
- decoration: ["auto", "from-font", w, S]
1655
+ decoration: ["auto", "from-font", z, M]
1443
1656
  }],
1444
1657
  /**
1445
1658
  * Text Underline Offset
1446
1659
  * @see https://tailwindcss.com/docs/text-underline-offset
1447
1660
  */
1448
1661
  "underline-offset": [{
1449
- "underline-offset": ["auto", w, d]
1662
+ "underline-offset": ["auto", z, p]
1450
1663
  }],
1451
1664
  /**
1452
1665
  * Text Decoration Color
@@ -1477,14 +1690,14 @@ function kt() {
1477
1690
  * @see https://tailwindcss.com/docs/text-indent
1478
1691
  */
1479
1692
  indent: [{
1480
- indent: m()
1693
+ indent: y()
1481
1694
  }],
1482
1695
  /**
1483
1696
  * Vertical Alignment
1484
1697
  * @see https://tailwindcss.com/docs/vertical-align
1485
1698
  */
1486
1699
  "vertical-align": [{
1487
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", d]
1700
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", p]
1488
1701
  }],
1489
1702
  /**
1490
1703
  * Whitespace
@@ -1512,7 +1725,7 @@ function kt() {
1512
1725
  * @see https://tailwindcss.com/docs/content
1513
1726
  */
1514
1727
  content: [{
1515
- content: ["none", d]
1728
+ content: ["none", p]
1516
1729
  }],
1517
1730
  // Backgrounds
1518
1731
  /**
@@ -1535,7 +1748,7 @@ function kt() {
1535
1748
  * @see https://tailwindcss.com/docs/background-opacity
1536
1749
  */
1537
1750
  "bg-opacity": [{
1538
- "bg-opacity": [k]
1751
+ "bg-opacity": [C]
1539
1752
  }],
1540
1753
  /**
1541
1754
  * Background Origin
@@ -1549,7 +1762,7 @@ function kt() {
1549
1762
  * @see https://tailwindcss.com/docs/background-position
1550
1763
  */
1551
1764
  "bg-position": [{
1552
- bg: [...oe(), gt]
1765
+ bg: [...be(), Vt]
1553
1766
  }],
1554
1767
  /**
1555
1768
  * Background Repeat
@@ -1565,7 +1778,7 @@ function kt() {
1565
1778
  * @see https://tailwindcss.com/docs/background-size
1566
1779
  */
1567
1780
  "bg-size": [{
1568
- bg: ["auto", "cover", "contain", mt]
1781
+ bg: ["auto", "cover", "contain", Gt]
1569
1782
  }],
1570
1783
  /**
1571
1784
  * Background Image
@@ -1574,7 +1787,7 @@ function kt() {
1574
1787
  "bg-image": [{
1575
1788
  bg: ["none", {
1576
1789
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1577
- }, vt]
1790
+ }, Ut]
1578
1791
  }],
1579
1792
  /**
1580
1793
  * Background Color
@@ -1588,42 +1801,42 @@ function kt() {
1588
1801
  * @see https://tailwindcss.com/docs/gradient-color-stops
1589
1802
  */
1590
1803
  "gradient-from-pos": [{
1591
- from: [y]
1804
+ from: [w]
1592
1805
  }],
1593
1806
  /**
1594
1807
  * Gradient Color Stops Via Position
1595
1808
  * @see https://tailwindcss.com/docs/gradient-color-stops
1596
1809
  */
1597
1810
  "gradient-via-pos": [{
1598
- via: [y]
1811
+ via: [w]
1599
1812
  }],
1600
1813
  /**
1601
1814
  * Gradient Color Stops To Position
1602
1815
  * @see https://tailwindcss.com/docs/gradient-color-stops
1603
1816
  */
1604
1817
  "gradient-to-pos": [{
1605
- to: [y]
1818
+ to: [w]
1606
1819
  }],
1607
1820
  /**
1608
1821
  * Gradient Color Stops From
1609
1822
  * @see https://tailwindcss.com/docs/gradient-color-stops
1610
1823
  */
1611
1824
  "gradient-from": [{
1612
- from: [v]
1825
+ from: [m]
1613
1826
  }],
1614
1827
  /**
1615
1828
  * Gradient Color Stops Via
1616
1829
  * @see https://tailwindcss.com/docs/gradient-color-stops
1617
1830
  */
1618
1831
  "gradient-via": [{
1619
- via: [v]
1832
+ via: [m]
1620
1833
  }],
1621
1834
  /**
1622
1835
  * Gradient Color Stops To
1623
1836
  * @see https://tailwindcss.com/docs/gradient-color-stops
1624
1837
  */
1625
1838
  "gradient-to": [{
1626
- to: [v]
1839
+ to: [m]
1627
1840
  }],
1628
1841
  // Borders
1629
1842
  /**
@@ -1799,14 +2012,14 @@ function kt() {
1799
2012
  * @see https://tailwindcss.com/docs/border-opacity
1800
2013
  */
1801
2014
  "border-opacity": [{
1802
- "border-opacity": [k]
2015
+ "border-opacity": [C]
1803
2016
  }],
1804
2017
  /**
1805
2018
  * Border Style
1806
2019
  * @see https://tailwindcss.com/docs/border-style
1807
2020
  */
1808
2021
  "border-style": [{
1809
- border: [...R(), "hidden"]
2022
+ border: [...X(), "hidden"]
1810
2023
  }],
1811
2024
  /**
1812
2025
  * Divide Width X
@@ -1837,91 +2050,91 @@ function kt() {
1837
2050
  * @see https://tailwindcss.com/docs/divide-opacity
1838
2051
  */
1839
2052
  "divide-opacity": [{
1840
- "divide-opacity": [k]
2053
+ "divide-opacity": [C]
1841
2054
  }],
1842
2055
  /**
1843
2056
  * Divide Style
1844
2057
  * @see https://tailwindcss.com/docs/divide-style
1845
2058
  */
1846
2059
  "divide-style": [{
1847
- divide: R()
2060
+ divide: X()
1848
2061
  }],
1849
2062
  /**
1850
2063
  * Border Color
1851
2064
  * @see https://tailwindcss.com/docs/border-color
1852
2065
  */
1853
2066
  "border-color": [{
1854
- border: [i]
2067
+ border: [a]
1855
2068
  }],
1856
2069
  /**
1857
2070
  * Border Color X
1858
2071
  * @see https://tailwindcss.com/docs/border-color
1859
2072
  */
1860
2073
  "border-color-x": [{
1861
- "border-x": [i]
2074
+ "border-x": [a]
1862
2075
  }],
1863
2076
  /**
1864
2077
  * Border Color Y
1865
2078
  * @see https://tailwindcss.com/docs/border-color
1866
2079
  */
1867
2080
  "border-color-y": [{
1868
- "border-y": [i]
2081
+ "border-y": [a]
1869
2082
  }],
1870
2083
  /**
1871
2084
  * Border Color Top
1872
2085
  * @see https://tailwindcss.com/docs/border-color
1873
2086
  */
1874
2087
  "border-color-t": [{
1875
- "border-t": [i]
2088
+ "border-t": [a]
1876
2089
  }],
1877
2090
  /**
1878
2091
  * Border Color Right
1879
2092
  * @see https://tailwindcss.com/docs/border-color
1880
2093
  */
1881
2094
  "border-color-r": [{
1882
- "border-r": [i]
2095
+ "border-r": [a]
1883
2096
  }],
1884
2097
  /**
1885
2098
  * Border Color Bottom
1886
2099
  * @see https://tailwindcss.com/docs/border-color
1887
2100
  */
1888
2101
  "border-color-b": [{
1889
- "border-b": [i]
2102
+ "border-b": [a]
1890
2103
  }],
1891
2104
  /**
1892
2105
  * Border Color Left
1893
2106
  * @see https://tailwindcss.com/docs/border-color
1894
2107
  */
1895
2108
  "border-color-l": [{
1896
- "border-l": [i]
2109
+ "border-l": [a]
1897
2110
  }],
1898
2111
  /**
1899
2112
  * Divide Color
1900
2113
  * @see https://tailwindcss.com/docs/divide-color
1901
2114
  */
1902
2115
  "divide-color": [{
1903
- divide: [i]
2116
+ divide: [a]
1904
2117
  }],
1905
2118
  /**
1906
2119
  * Outline Style
1907
2120
  * @see https://tailwindcss.com/docs/outline-style
1908
2121
  */
1909
2122
  "outline-style": [{
1910
- outline: ["", ...R()]
2123
+ outline: ["", ...X()]
1911
2124
  }],
1912
2125
  /**
1913
2126
  * Outline Offset
1914
2127
  * @see https://tailwindcss.com/docs/outline-offset
1915
2128
  */
1916
2129
  "outline-offset": [{
1917
- "outline-offset": [w, d]
2130
+ "outline-offset": [z, p]
1918
2131
  }],
1919
2132
  /**
1920
2133
  * Outline Width
1921
2134
  * @see https://tailwindcss.com/docs/outline-width
1922
2135
  */
1923
2136
  "outline-w": [{
1924
- outline: [w, S]
2137
+ outline: [z, M]
1925
2138
  }],
1926
2139
  /**
1927
2140
  * Outline Color
@@ -1935,7 +2148,7 @@ function kt() {
1935
2148
  * @see https://tailwindcss.com/docs/ring-width
1936
2149
  */
1937
2150
  "ring-w": [{
1938
- ring: re()
2151
+ ring: fe()
1939
2152
  }],
1940
2153
  /**
1941
2154
  * Ring Width Inset
@@ -1954,14 +2167,14 @@ function kt() {
1954
2167
  * @see https://tailwindcss.com/docs/ring-opacity
1955
2168
  */
1956
2169
  "ring-opacity": [{
1957
- "ring-opacity": [k]
2170
+ "ring-opacity": [C]
1958
2171
  }],
1959
2172
  /**
1960
2173
  * Ring Offset Width
1961
2174
  * @see https://tailwindcss.com/docs/ring-offset-width
1962
2175
  */
1963
2176
  "ring-offset-w": [{
1964
- "ring-offset": [w, S]
2177
+ "ring-offset": [z, M]
1965
2178
  }],
1966
2179
  /**
1967
2180
  * Ring Offset Color
@@ -1976,35 +2189,35 @@ function kt() {
1976
2189
  * @see https://tailwindcss.com/docs/box-shadow
1977
2190
  */
1978
2191
  shadow: [{
1979
- shadow: ["", "inner", "none", A, yt]
2192
+ shadow: ["", "inner", "none", E, Wt]
1980
2193
  }],
1981
2194
  /**
1982
2195
  * Box Shadow Color
1983
2196
  * @see https://tailwindcss.com/docs/box-shadow-color
1984
2197
  */
1985
2198
  "shadow-color": [{
1986
- shadow: [P]
2199
+ shadow: [L]
1987
2200
  }],
1988
2201
  /**
1989
2202
  * Opacity
1990
2203
  * @see https://tailwindcss.com/docs/opacity
1991
2204
  */
1992
2205
  opacity: [{
1993
- opacity: [k]
2206
+ opacity: [C]
1994
2207
  }],
1995
2208
  /**
1996
2209
  * Mix Blend Mode
1997
2210
  * @see https://tailwindcss.com/docs/mix-blend-mode
1998
2211
  */
1999
2212
  "mix-blend": [{
2000
- "mix-blend": ne()
2213
+ "mix-blend": me()
2001
2214
  }],
2002
2215
  /**
2003
2216
  * Background Blend Mode
2004
2217
  * @see https://tailwindcss.com/docs/background-blend-mode
2005
2218
  */
2006
2219
  "bg-blend": [{
2007
- "bg-blend": ne()
2220
+ "bg-blend": me()
2008
2221
  }],
2009
2222
  // Filters
2010
2223
  /**
@@ -2034,49 +2247,49 @@ function kt() {
2034
2247
  * @see https://tailwindcss.com/docs/contrast
2035
2248
  */
2036
2249
  contrast: [{
2037
- contrast: [u]
2250
+ contrast: [c]
2038
2251
  }],
2039
2252
  /**
2040
2253
  * Drop Shadow
2041
2254
  * @see https://tailwindcss.com/docs/drop-shadow
2042
2255
  */
2043
2256
  "drop-shadow": [{
2044
- "drop-shadow": ["", "none", A, d]
2257
+ "drop-shadow": ["", "none", E, p]
2045
2258
  }],
2046
2259
  /**
2047
2260
  * Grayscale
2048
2261
  * @see https://tailwindcss.com/docs/grayscale
2049
2262
  */
2050
2263
  grayscale: [{
2051
- grayscale: [c]
2264
+ grayscale: [d]
2052
2265
  }],
2053
2266
  /**
2054
2267
  * Hue Rotate
2055
2268
  * @see https://tailwindcss.com/docs/hue-rotate
2056
2269
  */
2057
2270
  "hue-rotate": [{
2058
- "hue-rotate": [p]
2271
+ "hue-rotate": [u]
2059
2272
  }],
2060
2273
  /**
2061
2274
  * Invert
2062
2275
  * @see https://tailwindcss.com/docs/invert
2063
2276
  */
2064
2277
  invert: [{
2065
- invert: [a]
2278
+ invert: [i]
2066
2279
  }],
2067
2280
  /**
2068
2281
  * Saturate
2069
2282
  * @see https://tailwindcss.com/docs/saturate
2070
2283
  */
2071
2284
  saturate: [{
2072
- saturate: [H]
2285
+ saturate: [x]
2073
2286
  }],
2074
2287
  /**
2075
2288
  * Sepia
2076
2289
  * @see https://tailwindcss.com/docs/sepia
2077
2290
  */
2078
2291
  sepia: [{
2079
- sepia: [Q]
2292
+ sepia: [_]
2080
2293
  }],
2081
2294
  /**
2082
2295
  * Backdrop Filter
@@ -2105,49 +2318,49 @@ function kt() {
2105
2318
  * @see https://tailwindcss.com/docs/backdrop-contrast
2106
2319
  */
2107
2320
  "backdrop-contrast": [{
2108
- "backdrop-contrast": [u]
2321
+ "backdrop-contrast": [c]
2109
2322
  }],
2110
2323
  /**
2111
2324
  * Backdrop Grayscale
2112
2325
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2113
2326
  */
2114
2327
  "backdrop-grayscale": [{
2115
- "backdrop-grayscale": [c]
2328
+ "backdrop-grayscale": [d]
2116
2329
  }],
2117
2330
  /**
2118
2331
  * Backdrop Hue Rotate
2119
2332
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2120
2333
  */
2121
2334
  "backdrop-hue-rotate": [{
2122
- "backdrop-hue-rotate": [p]
2335
+ "backdrop-hue-rotate": [u]
2123
2336
  }],
2124
2337
  /**
2125
2338
  * Backdrop Invert
2126
2339
  * @see https://tailwindcss.com/docs/backdrop-invert
2127
2340
  */
2128
2341
  "backdrop-invert": [{
2129
- "backdrop-invert": [a]
2342
+ "backdrop-invert": [i]
2130
2343
  }],
2131
2344
  /**
2132
2345
  * Backdrop Opacity
2133
2346
  * @see https://tailwindcss.com/docs/backdrop-opacity
2134
2347
  */
2135
2348
  "backdrop-opacity": [{
2136
- "backdrop-opacity": [k]
2349
+ "backdrop-opacity": [C]
2137
2350
  }],
2138
2351
  /**
2139
2352
  * Backdrop Saturate
2140
2353
  * @see https://tailwindcss.com/docs/backdrop-saturate
2141
2354
  */
2142
2355
  "backdrop-saturate": [{
2143
- "backdrop-saturate": [H]
2356
+ "backdrop-saturate": [x]
2144
2357
  }],
2145
2358
  /**
2146
2359
  * Backdrop Sepia
2147
2360
  * @see https://tailwindcss.com/docs/backdrop-sepia
2148
2361
  */
2149
2362
  "backdrop-sepia": [{
2150
- "backdrop-sepia": [Q]
2363
+ "backdrop-sepia": [_]
2151
2364
  }],
2152
2365
  // Tables
2153
2366
  /**
@@ -2198,35 +2411,35 @@ function kt() {
2198
2411
  * @see https://tailwindcss.com/docs/transition-property
2199
2412
  */
2200
2413
  transition: [{
2201
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", d]
2414
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", p]
2202
2415
  }],
2203
2416
  /**
2204
2417
  * Transition Duration
2205
2418
  * @see https://tailwindcss.com/docs/transition-duration
2206
2419
  */
2207
2420
  duration: [{
2208
- duration: G()
2421
+ duration: H()
2209
2422
  }],
2210
2423
  /**
2211
2424
  * Transition Timing Function
2212
2425
  * @see https://tailwindcss.com/docs/transition-timing-function
2213
2426
  */
2214
2427
  ease: [{
2215
- ease: ["linear", "in", "out", "in-out", d]
2428
+ ease: ["linear", "in", "out", "in-out", p]
2216
2429
  }],
2217
2430
  /**
2218
2431
  * Transition Delay
2219
2432
  * @see https://tailwindcss.com/docs/transition-delay
2220
2433
  */
2221
2434
  delay: [{
2222
- delay: G()
2435
+ delay: H()
2223
2436
  }],
2224
2437
  /**
2225
2438
  * Animation
2226
2439
  * @see https://tailwindcss.com/docs/animation
2227
2440
  */
2228
2441
  animate: [{
2229
- animate: ["none", "spin", "ping", "pulse", "bounce", d]
2442
+ animate: ["none", "spin", "ping", "pulse", "bounce", p]
2230
2443
  }],
2231
2444
  // Transforms
2232
2445
  /**
@@ -2241,63 +2454,63 @@ function kt() {
2241
2454
  * @see https://tailwindcss.com/docs/scale
2242
2455
  */
2243
2456
  scale: [{
2244
- scale: [_]
2457
+ scale: [N]
2245
2458
  }],
2246
2459
  /**
2247
2460
  * Scale X
2248
2461
  * @see https://tailwindcss.com/docs/scale
2249
2462
  */
2250
2463
  "scale-x": [{
2251
- "scale-x": [_]
2464
+ "scale-x": [N]
2252
2465
  }],
2253
2466
  /**
2254
2467
  * Scale Y
2255
2468
  * @see https://tailwindcss.com/docs/scale
2256
2469
  */
2257
2470
  "scale-y": [{
2258
- "scale-y": [_]
2471
+ "scale-y": [N]
2259
2472
  }],
2260
2473
  /**
2261
2474
  * Rotate
2262
2475
  * @see https://tailwindcss.com/docs/rotate
2263
2476
  */
2264
2477
  rotate: [{
2265
- rotate: [T, d]
2478
+ rotate: [V, p]
2266
2479
  }],
2267
2480
  /**
2268
2481
  * Translate X
2269
2482
  * @see https://tailwindcss.com/docs/translate
2270
2483
  */
2271
2484
  "translate-x": [{
2272
- "translate-x": [te]
2485
+ "translate-x": [pe]
2273
2486
  }],
2274
2487
  /**
2275
2488
  * Translate Y
2276
2489
  * @see https://tailwindcss.com/docs/translate
2277
2490
  */
2278
2491
  "translate-y": [{
2279
- "translate-y": [te]
2492
+ "translate-y": [pe]
2280
2493
  }],
2281
2494
  /**
2282
2495
  * Skew X
2283
2496
  * @see https://tailwindcss.com/docs/skew
2284
2497
  */
2285
2498
  "skew-x": [{
2286
- "skew-x": [D]
2499
+ "skew-x": [I]
2287
2500
  }],
2288
2501
  /**
2289
2502
  * Skew Y
2290
2503
  * @see https://tailwindcss.com/docs/skew
2291
2504
  */
2292
2505
  "skew-y": [{
2293
- "skew-y": [D]
2506
+ "skew-y": [I]
2294
2507
  }],
2295
2508
  /**
2296
2509
  * Transform Origin
2297
2510
  * @see https://tailwindcss.com/docs/transform-origin
2298
2511
  */
2299
2512
  "transform-origin": [{
2300
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", d]
2513
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", p]
2301
2514
  }],
2302
2515
  // Interactivity
2303
2516
  /**
@@ -2319,7 +2532,7 @@ function kt() {
2319
2532
  * @see https://tailwindcss.com/docs/cursor
2320
2533
  */
2321
2534
  cursor: [{
2322
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", d]
2535
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", p]
2323
2536
  }],
2324
2537
  /**
2325
2538
  * Caret Color
@@ -2354,126 +2567,126 @@ function kt() {
2354
2567
  * @see https://tailwindcss.com/docs/scroll-margin
2355
2568
  */
2356
2569
  "scroll-m": [{
2357
- "scroll-m": m()
2570
+ "scroll-m": y()
2358
2571
  }],
2359
2572
  /**
2360
2573
  * Scroll Margin X
2361
2574
  * @see https://tailwindcss.com/docs/scroll-margin
2362
2575
  */
2363
2576
  "scroll-mx": [{
2364
- "scroll-mx": m()
2577
+ "scroll-mx": y()
2365
2578
  }],
2366
2579
  /**
2367
2580
  * Scroll Margin Y
2368
2581
  * @see https://tailwindcss.com/docs/scroll-margin
2369
2582
  */
2370
2583
  "scroll-my": [{
2371
- "scroll-my": m()
2584
+ "scroll-my": y()
2372
2585
  }],
2373
2586
  /**
2374
2587
  * Scroll Margin Start
2375
2588
  * @see https://tailwindcss.com/docs/scroll-margin
2376
2589
  */
2377
2590
  "scroll-ms": [{
2378
- "scroll-ms": m()
2591
+ "scroll-ms": y()
2379
2592
  }],
2380
2593
  /**
2381
2594
  * Scroll Margin End
2382
2595
  * @see https://tailwindcss.com/docs/scroll-margin
2383
2596
  */
2384
2597
  "scroll-me": [{
2385
- "scroll-me": m()
2598
+ "scroll-me": y()
2386
2599
  }],
2387
2600
  /**
2388
2601
  * Scroll Margin Top
2389
2602
  * @see https://tailwindcss.com/docs/scroll-margin
2390
2603
  */
2391
2604
  "scroll-mt": [{
2392
- "scroll-mt": m()
2605
+ "scroll-mt": y()
2393
2606
  }],
2394
2607
  /**
2395
2608
  * Scroll Margin Right
2396
2609
  * @see https://tailwindcss.com/docs/scroll-margin
2397
2610
  */
2398
2611
  "scroll-mr": [{
2399
- "scroll-mr": m()
2612
+ "scroll-mr": y()
2400
2613
  }],
2401
2614
  /**
2402
2615
  * Scroll Margin Bottom
2403
2616
  * @see https://tailwindcss.com/docs/scroll-margin
2404
2617
  */
2405
2618
  "scroll-mb": [{
2406
- "scroll-mb": m()
2619
+ "scroll-mb": y()
2407
2620
  }],
2408
2621
  /**
2409
2622
  * Scroll Margin Left
2410
2623
  * @see https://tailwindcss.com/docs/scroll-margin
2411
2624
  */
2412
2625
  "scroll-ml": [{
2413
- "scroll-ml": m()
2626
+ "scroll-ml": y()
2414
2627
  }],
2415
2628
  /**
2416
2629
  * Scroll Padding
2417
2630
  * @see https://tailwindcss.com/docs/scroll-padding
2418
2631
  */
2419
2632
  "scroll-p": [{
2420
- "scroll-p": m()
2633
+ "scroll-p": y()
2421
2634
  }],
2422
2635
  /**
2423
2636
  * Scroll Padding X
2424
2637
  * @see https://tailwindcss.com/docs/scroll-padding
2425
2638
  */
2426
2639
  "scroll-px": [{
2427
- "scroll-px": m()
2640
+ "scroll-px": y()
2428
2641
  }],
2429
2642
  /**
2430
2643
  * Scroll Padding Y
2431
2644
  * @see https://tailwindcss.com/docs/scroll-padding
2432
2645
  */
2433
2646
  "scroll-py": [{
2434
- "scroll-py": m()
2647
+ "scroll-py": y()
2435
2648
  }],
2436
2649
  /**
2437
2650
  * Scroll Padding Start
2438
2651
  * @see https://tailwindcss.com/docs/scroll-padding
2439
2652
  */
2440
2653
  "scroll-ps": [{
2441
- "scroll-ps": m()
2654
+ "scroll-ps": y()
2442
2655
  }],
2443
2656
  /**
2444
2657
  * Scroll Padding End
2445
2658
  * @see https://tailwindcss.com/docs/scroll-padding
2446
2659
  */
2447
2660
  "scroll-pe": [{
2448
- "scroll-pe": m()
2661
+ "scroll-pe": y()
2449
2662
  }],
2450
2663
  /**
2451
2664
  * Scroll Padding Top
2452
2665
  * @see https://tailwindcss.com/docs/scroll-padding
2453
2666
  */
2454
2667
  "scroll-pt": [{
2455
- "scroll-pt": m()
2668
+ "scroll-pt": y()
2456
2669
  }],
2457
2670
  /**
2458
2671
  * Scroll Padding Right
2459
2672
  * @see https://tailwindcss.com/docs/scroll-padding
2460
2673
  */
2461
2674
  "scroll-pr": [{
2462
- "scroll-pr": m()
2675
+ "scroll-pr": y()
2463
2676
  }],
2464
2677
  /**
2465
2678
  * Scroll Padding Bottom
2466
2679
  * @see https://tailwindcss.com/docs/scroll-padding
2467
2680
  */
2468
2681
  "scroll-pb": [{
2469
- "scroll-pb": m()
2682
+ "scroll-pb": y()
2470
2683
  }],
2471
2684
  /**
2472
2685
  * Scroll Padding Left
2473
2686
  * @see https://tailwindcss.com/docs/scroll-padding
2474
2687
  */
2475
2688
  "scroll-pl": [{
2476
- "scroll-pl": m()
2689
+ "scroll-pl": y()
2477
2690
  }],
2478
2691
  /**
2479
2692
  * Scroll Snap Align
@@ -2541,7 +2754,7 @@ function kt() {
2541
2754
  * @see https://tailwindcss.com/docs/will-change
2542
2755
  */
2543
2756
  "will-change": [{
2544
- "will-change": ["auto", "scroll", "contents", "transform", d]
2757
+ "will-change": ["auto", "scroll", "contents", "transform", p]
2545
2758
  }],
2546
2759
  // SVG
2547
2760
  /**
@@ -2556,7 +2769,7 @@ function kt() {
2556
2769
  * @see https://tailwindcss.com/docs/stroke-width
2557
2770
  */
2558
2771
  "stroke-w": [{
2559
- stroke: [w, S, L]
2772
+ stroke: [z, M, Z]
2560
2773
  }],
2561
2774
  /**
2562
2775
  * Stroke
@@ -2632,12 +2845,12 @@ function kt() {
2632
2845
  }
2633
2846
  };
2634
2847
  }
2635
- const St = /* @__PURE__ */ it(kt);
2636
- function At(...e) {
2637
- return St(Ke(e));
2848
+ const Xt = /* @__PURE__ */ _t(Jt);
2849
+ function D(...e) {
2850
+ return Xt(ht(e));
2638
2851
  }
2639
- const Nt = /* @__PURE__ */ M({
2640
- __name: "Button",
2852
+ const Zt = /* @__PURE__ */ A({
2853
+ __name: "BuiButton",
2641
2854
  props: {
2642
2855
  variant: {},
2643
2856
  size: {},
@@ -2645,18 +2858,80 @@ const Nt = /* @__PURE__ */ M({
2645
2858
  asChild: { type: Boolean }
2646
2859
  },
2647
2860
  setup(e) {
2648
- return (t, r) => (Oe(), Re(V(_e), {
2861
+ return (t, r) => (O(), F(h(ee), {
2649
2862
  as: t.as,
2650
2863
  "as-child": t.asChild,
2651
- class: Ge(V(At)(V(Je)({ variant: t.variant, size: t.size }), t.$attrs.class ?? ""))
2864
+ class: Ee(h(D)(h(gt)({ variant: t.variant, size: t.size }), t.$attrs.class ?? ""))
2652
2865
  }, {
2653
- default: $e(() => [
2654
- Le(t.$slots, "default")
2866
+ default: j(() => [
2867
+ K(t.$slots, "default")
2655
2868
  ]),
2656
2869
  _: 3
2657
2870
  }, 8, ["as", "as-child", "class"]));
2658
2871
  }
2872
+ }), Dt = /* @__PURE__ */ A({
2873
+ __name: "BuiSwitch",
2874
+ props: {
2875
+ defaultChecked: { type: Boolean },
2876
+ checked: { type: Boolean },
2877
+ disabled: { type: Boolean },
2878
+ required: { type: Boolean },
2879
+ name: {},
2880
+ id: {},
2881
+ value: {},
2882
+ asChild: { type: Boolean },
2883
+ as: {},
2884
+ class: {}
2885
+ },
2886
+ emits: ["update:checked"],
2887
+ setup(e, { emit: t }) {
2888
+ const r = e, a = at(r, t);
2889
+ return (n, s) => (O(), F(h(pt), W(h(a), {
2890
+ class: h(D)(
2891
+ ` peer inline-flex h-[20px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border transition-colors
2892
+ focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed
2893
+ data-[state=checked]:border-border data-[state=unchecked]:border-gray-300 data-[state=checked]:bg-input data-[state=unchecked]:bg-background
2894
+ data-[state=checked]:hover:bg-accent-foreground data-[state=unchecked]:hover:bg-gray-50 disabled:data-[state=checked]:border-accent/30 disabled:data-[state=checked]:bg-accent/30
2895
+ disabled:data-[state=unchecked]:bg-slate-300/[.16] dark:data-[state=unchecked]:border-border dark:data-[state=unchecked]:bg-input/15
2896
+ dark:data-[state=unchecked]:hover:bg-accent/30 dark:data-[state=checked]:hover:enabled:border-primary-hover dark:data-[state=checked]:hover:enabled:bg-primary-hover dark:data-[state=unchecked]:disabled:border-foreground/30 dark:data-[state=unchecked]:disabled:bg-foreground/30`,
2897
+ r.class
2898
+ )
2899
+ }), {
2900
+ default: j(() => [
2901
+ Ae(h(ft), {
2902
+ class: Ee(
2903
+ h(D)(
2904
+ `pointer-events-none block h-3 w-3 rounded-full bg-gray-400 shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-[26px] data-[state=unchecked]:translate-x-1 data-[state=checked]:bg-background
2905
+ dark:data-[disabled]:bg-foreground/30 dark:data-[state=checked]:bg-foreground dark:data-[state=unchecked]:bg-foreground`
2906
+ )
2907
+ )
2908
+ }, null, 8, ["class"])
2909
+ ]),
2910
+ _: 1
2911
+ }, 16, ["class"]));
2912
+ }
2913
+ }), Qt = /* @__PURE__ */ A({
2914
+ __name: "BuiLabel",
2915
+ props: {
2916
+ for: {},
2917
+ asChild: { type: Boolean },
2918
+ as: {},
2919
+ class: {}
2920
+ },
2921
+ setup(e) {
2922
+ const t = e;
2923
+ return (r, o) => (O(), F(h(lt), W(t, {
2924
+ class: h(D)("block text-left text-sm font-semibold leading-6 text-foreground", t.class)
2925
+ }), {
2926
+ default: j(() => [
2927
+ K(r.$slots, "default")
2928
+ ]),
2929
+ _: 3
2930
+ }, 16, ["class"]));
2931
+ }
2659
2932
  });
2660
2933
  export {
2661
- Nt as BuiButton
2934
+ Zt as BuiButton,
2935
+ Qt as BuiLabel,
2936
+ Dt as BuiSwitch
2662
2937
  };