@keeper-security/keeper-js-ui 0.0.1 → 0.1.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.es.js CHANGED
@@ -1,83 +1,83 @@
1
- import { jsx as W, Fragment as ue } from "react/jsx-runtime";
2
- import * as v from "react";
3
- function pe(e, r) {
4
- typeof e == "function" ? e(r) : e != null && (e.current = r);
1
+ import { jsx as N, Fragment as ye, jsxs as xe } from "react/jsx-runtime";
2
+ import * as x from "react";
3
+ function we(e, t) {
4
+ typeof e == "function" ? e(t) : e != null && (e.current = t);
5
5
  }
6
- function fe(...e) {
7
- return (r) => e.forEach((t) => pe(t, r));
6
+ function ve(...e) {
7
+ return (t) => e.forEach((r) => we(r, t));
8
8
  }
9
- var oe = v.forwardRef((e, r) => {
10
- const { children: t, ...o } = e, s = v.Children.toArray(t), n = s.find(ge);
11
- if (n) {
12
- const l = n.props.children, i = s.map((d) => d === n ? v.Children.count(l) > 1 ? v.Children.only(null) : v.isValidElement(l) ? l.props.children : null : d);
13
- return /* @__PURE__ */ W(U, { ...o, ref: r, children: v.isValidElement(l) ? v.cloneElement(l, void 0, i) : null });
9
+ var J = x.forwardRef((e, t) => {
10
+ const { children: r, ...o } = e, n = x.Children.toArray(r), s = n.find(ke);
11
+ if (s) {
12
+ const l = s.props.children, i = n.map((d) => d === s ? x.Children.count(l) > 1 ? x.Children.only(null) : x.isValidElement(l) ? l.props.children : null : d);
13
+ return /* @__PURE__ */ N(K, { ...o, ref: t, children: x.isValidElement(l) ? x.cloneElement(l, void 0, i) : null });
14
14
  }
15
- return /* @__PURE__ */ W(U, { ...o, ref: r, children: t });
15
+ return /* @__PURE__ */ N(K, { ...o, ref: t, children: r });
16
16
  });
17
- oe.displayName = "Slot";
18
- var U = v.forwardRef((e, r) => {
19
- const { children: t, ...o } = e;
20
- if (v.isValidElement(t)) {
21
- const s = he(t);
22
- return v.cloneElement(t, {
23
- ...me(o, t.props),
17
+ J.displayName = "Slot";
18
+ var K = x.forwardRef((e, t) => {
19
+ const { children: r, ...o } = e;
20
+ if (x.isValidElement(r)) {
21
+ const n = Ce(r);
22
+ return x.cloneElement(r, {
23
+ ...je(o, r.props),
24
24
  // @ts-ignore
25
- ref: r ? fe(r, s) : s
25
+ ref: t ? ve(t, n) : n
26
26
  });
27
27
  }
28
- return v.Children.count(t) > 1 ? v.Children.only(null) : null;
28
+ return x.Children.count(r) > 1 ? x.Children.only(null) : null;
29
29
  });
30
- U.displayName = "SlotClone";
31
- var be = ({ children: e }) => /* @__PURE__ */ W(ue, { children: e });
32
- function ge(e) {
33
- return v.isValidElement(e) && e.type === be;
30
+ K.displayName = "SlotClone";
31
+ var ae = ({ children: e }) => /* @__PURE__ */ N(ye, { children: e });
32
+ function ke(e) {
33
+ return x.isValidElement(e) && e.type === ae;
34
34
  }
35
- function me(e, r) {
36
- const t = { ...r };
37
- for (const o in r) {
38
- const s = e[o], n = r[o];
39
- /^on[A-Z]/.test(o) ? s && n ? t[o] = (...i) => {
40
- n(...i), s(...i);
41
- } : s && (t[o] = s) : o === "style" ? t[o] = { ...s, ...n } : o === "className" && (t[o] = [s, n].filter(Boolean).join(" "));
35
+ function je(e, t) {
36
+ const r = { ...t };
37
+ for (const o in t) {
38
+ const n = e[o], s = t[o];
39
+ /^on[A-Z]/.test(o) ? n && s ? r[o] = (...i) => {
40
+ s(...i), n(...i);
41
+ } : n && (r[o] = n) : o === "style" ? r[o] = { ...n, ...s } : o === "className" && (r[o] = [n, s].filter(Boolean).join(" "));
42
42
  }
43
- return { ...e, ...t };
43
+ return { ...e, ...r };
44
44
  }
45
- function he(e) {
46
- var o, s;
47
- let r = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, t = r && "isReactWarning" in r && r.isReactWarning;
48
- return t ? e.ref : (r = (s = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : s.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
45
+ function Ce(e) {
46
+ var o, n;
47
+ let t = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning;
48
+ return r ? e.ref : (t = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
49
49
  }
50
- function ne(e) {
51
- var r, t, o = "";
50
+ function ce(e) {
51
+ var t, r, o = "";
52
52
  if (typeof e == "string" || typeof e == "number") o += e;
53
- else if (typeof e == "object") if (Array.isArray(e)) for (r = 0; r < e.length; r++) e[r] && (t = ne(e[r])) && (o && (o += " "), o += t);
54
- else for (r in e) e[r] && (o && (o += " "), o += r);
53
+ else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = ce(e[t])) && (o && (o += " "), o += r);
54
+ else for (t in e) e[t] && (o && (o += " "), o += t);
55
55
  return o;
56
56
  }
57
- function ye() {
58
- for (var e, r, t = 0, o = ""; t < arguments.length; ) (e = arguments[t++]) && (r = ne(e)) && (o && (o += " "), o += r);
57
+ function ze() {
58
+ for (var e, t, r = 0, o = ""; r < arguments.length; ) (e = arguments[r++]) && (t = ce(e)) && (o && (o += " "), o += t);
59
59
  return o;
60
60
  }
61
- const D = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ee = ye, ve = (e, r) => (t) => {
61
+ const re = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, oe = ze, de = (e, t) => (r) => {
62
62
  var o;
63
- if ((r == null ? void 0 : r.variants) == null) return ee(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
64
- const { variants: s, defaultVariants: n } = r, l = Object.keys(s).map((c) => {
65
- const b = t == null ? void 0 : t[c], h = n == null ? void 0 : n[c];
66
- if (b === null) return null;
67
- const m = D(b) || D(h);
68
- return s[c][m];
69
- }), i = t && Object.entries(t).reduce((c, b) => {
70
- let [h, m] = b;
63
+ if ((t == null ? void 0 : t.variants) == null) return oe(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
64
+ const { variants: n, defaultVariants: s } = t, l = Object.keys(n).map((c) => {
65
+ const p = r == null ? void 0 : r[c], h = s == null ? void 0 : s[c];
66
+ if (p === null) return null;
67
+ const m = re(p) || re(h);
68
+ return n[c][m];
69
+ }), i = r && Object.entries(r).reduce((c, p) => {
70
+ let [h, m] = p;
71
71
  return m === void 0 || (c[h] = m), c;
72
- }, {}), d = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, b) => {
73
- let { class: h, className: m, ...C } = b;
74
- return Object.entries(C).every((x) => {
75
- let [g, u] = x;
72
+ }, {}), d = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, p) => {
73
+ let { class: h, className: m, ...k } = p;
74
+ return Object.entries(k).every((w) => {
75
+ let [g, u] = w;
76
76
  return Array.isArray(u) ? u.includes({
77
- ...n,
77
+ ...s,
78
78
  ...i
79
79
  }[g]) : {
80
- ...n,
80
+ ...s,
81
81
  ...i
82
82
  }[g] === u;
83
83
  }) ? [
@@ -86,100 +86,100 @@ const D = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ee =
86
86
  m
87
87
  ] : c;
88
88
  }, []);
89
- return ee(e, l, d, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
89
+ return oe(e, l, d, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
90
90
  };
91
- function se(e) {
92
- var r, t, o = "";
91
+ function ue(e) {
92
+ var t, r, o = "";
93
93
  if (typeof e == "string" || typeof e == "number") o += e;
94
94
  else if (typeof e == "object") if (Array.isArray(e)) {
95
- var s = e.length;
96
- for (r = 0; r < s; r++) e[r] && (t = se(e[r])) && (o && (o += " "), o += t);
97
- } else for (t in e) e[t] && (o && (o += " "), o += t);
95
+ var n = e.length;
96
+ for (t = 0; t < n; t++) e[t] && (r = ue(e[t])) && (o && (o += " "), o += r);
97
+ } else for (r in e) e[r] && (o && (o += " "), o += r);
98
98
  return o;
99
99
  }
100
- function xe() {
101
- for (var e, r, t = 0, o = "", s = arguments.length; t < s; t++) (e = arguments[t]) && (r = se(e)) && (o && (o += " "), o += r);
100
+ function Se() {
101
+ for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = ue(e)) && (o && (o += " "), o += t);
102
102
  return o;
103
103
  }
104
- const q = "-", we = (e) => {
105
- const r = ke(e), {
106
- conflictingClassGroups: t,
104
+ const X = "-", Ae = (e) => {
105
+ const t = Ne(e), {
106
+ conflictingClassGroups: r,
107
107
  conflictingClassGroupModifiers: o
108
108
  } = e;
109
109
  return {
110
110
  getClassGroupId: (l) => {
111
- const i = l.split(q);
112
- return i[0] === "" && i.length !== 1 && i.shift(), ie(i, r) || Ce(l);
111
+ const i = l.split(X);
112
+ return i[0] === "" && i.length !== 1 && i.shift(), pe(i, t) || Re(l);
113
113
  },
114
114
  getConflictingClassGroupIds: (l, i) => {
115
- const d = t[l] || [];
115
+ const d = r[l] || [];
116
116
  return i && o[l] ? [...d, ...o[l]] : d;
117
117
  }
118
118
  };
119
- }, ie = (e, r) => {
119
+ }, pe = (e, t) => {
120
120
  var l;
121
121
  if (e.length === 0)
122
- return r.classGroupId;
123
- const t = e[0], o = r.nextPart.get(t), s = o ? ie(e.slice(1), o) : void 0;
124
- if (s)
125
- return s;
126
- if (r.validators.length === 0)
122
+ return t.classGroupId;
123
+ const r = e[0], o = t.nextPart.get(r), n = o ? pe(e.slice(1), o) : void 0;
124
+ if (n)
125
+ return n;
126
+ if (t.validators.length === 0)
127
127
  return;
128
- const n = e.join(q);
129
- return (l = r.validators.find(({
128
+ const s = e.join(X);
129
+ return (l = t.validators.find(({
130
130
  validator: i
131
- }) => i(n))) == null ? void 0 : l.classGroupId;
132
- }, re = /^\[(.+)\]$/, Ce = (e) => {
133
- if (re.test(e)) {
134
- const r = re.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
135
- if (t)
136
- return "arbitrary.." + t;
131
+ }) => i(s))) == null ? void 0 : l.classGroupId;
132
+ }, se = /^\[(.+)\]$/, Re = (e) => {
133
+ if (se.test(e)) {
134
+ const t = se.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
135
+ if (r)
136
+ return "arbitrary.." + r;
137
137
  }
138
- }, ke = (e) => {
138
+ }, Ne = (e) => {
139
139
  const {
140
- theme: r,
141
- prefix: t
140
+ theme: t,
141
+ prefix: r
142
142
  } = e, o = {
143
143
  nextPart: /* @__PURE__ */ new Map(),
144
144
  validators: []
145
145
  };
146
- return Ae(Object.entries(e.classGroups), t).forEach(([n, l]) => {
147
- F(l, o, n, r);
146
+ return Me(Object.entries(e.classGroups), r).forEach(([s, l]) => {
147
+ Z(l, o, s, t);
148
148
  }), o;
149
- }, F = (e, r, t, o) => {
150
- e.forEach((s) => {
151
- if (typeof s == "string") {
152
- const n = s === "" ? r : te(r, s);
153
- n.classGroupId = t;
149
+ }, Z = (e, t, r, o) => {
150
+ e.forEach((n) => {
151
+ if (typeof n == "string") {
152
+ const s = n === "" ? t : ne(t, n);
153
+ s.classGroupId = r;
154
154
  return;
155
155
  }
156
- if (typeof s == "function") {
157
- if (ze(s)) {
158
- F(s(o), r, t, o);
156
+ if (typeof n == "function") {
157
+ if (Pe(n)) {
158
+ Z(n(o), t, r, o);
159
159
  return;
160
160
  }
161
- r.validators.push({
162
- validator: s,
163
- classGroupId: t
161
+ t.validators.push({
162
+ validator: n,
163
+ classGroupId: r
164
164
  });
165
165
  return;
166
166
  }
167
- Object.entries(s).forEach(([n, l]) => {
168
- F(l, te(r, n), t, o);
167
+ Object.entries(n).forEach(([s, l]) => {
168
+ Z(l, ne(t, s), r, o);
169
169
  });
170
170
  });
171
- }, te = (e, r) => {
172
- let t = e;
173
- return r.split(q).forEach((o) => {
174
- t.nextPart.has(o) || t.nextPart.set(o, {
171
+ }, ne = (e, t) => {
172
+ let r = e;
173
+ return t.split(X).forEach((o) => {
174
+ r.nextPart.has(o) || r.nextPart.set(o, {
175
175
  nextPart: /* @__PURE__ */ new Map(),
176
176
  validators: []
177
- }), t = t.nextPart.get(o);
178
- }), t;
179
- }, ze = (e) => e.isThemeGetter, Ae = (e, r) => r ? e.map(([t, o]) => {
180
- const s = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([l, i]) => [r + l, i])) : n);
181
- return [t, s];
182
- }) : e, Se = (e) => {
177
+ }), r = r.nextPart.get(o);
178
+ }), r;
179
+ }, Pe = (e) => e.isThemeGetter, Me = (e, t) => t ? e.map(([r, o]) => {
180
+ const n = o.map((s) => typeof s == "string" ? t + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([l, i]) => [t + l, i])) : s);
181
+ return [r, n];
182
+ }) : e, Ge = (e) => {
183
183
  if (e < 1)
184
184
  return {
185
185
  get: () => {
@@ -187,34 +187,34 @@ const q = "-", we = (e) => {
187
187
  set: () => {
188
188
  }
189
189
  };
190
- let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
191
- const s = (n, l) => {
192
- t.set(n, l), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
190
+ let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
191
+ const n = (s, l) => {
192
+ r.set(s, l), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
193
193
  };
194
194
  return {
195
- get(n) {
196
- let l = t.get(n);
195
+ get(s) {
196
+ let l = r.get(s);
197
197
  if (l !== void 0)
198
198
  return l;
199
- if ((l = o.get(n)) !== void 0)
200
- return s(n, l), l;
199
+ if ((l = o.get(s)) !== void 0)
200
+ return n(s, l), l;
201
201
  },
202
- set(n, l) {
203
- t.has(n) ? t.set(n, l) : s(n, l);
202
+ set(s, l) {
203
+ r.has(s) ? r.set(s, l) : n(s, l);
204
204
  }
205
205
  };
206
- }, le = "!", Re = (e) => {
206
+ }, fe = "!", $e = (e) => {
207
207
  const {
208
- separator: r,
209
- experimentalParseClassName: t
210
- } = e, o = r.length === 1, s = r[0], n = r.length, l = (i) => {
208
+ separator: t,
209
+ experimentalParseClassName: r
210
+ } = e, o = t.length === 1, n = t[0], s = t.length, l = (i) => {
211
211
  const d = [];
212
- let c = 0, b = 0, h;
212
+ let c = 0, p = 0, h;
213
213
  for (let u = 0; u < i.length; u++) {
214
214
  let y = i[u];
215
215
  if (c === 0) {
216
- if (y === s && (o || i.slice(u, u + n) === r)) {
217
- d.push(i.slice(b, u)), b = u + n;
216
+ if (y === n && (o || i.slice(u, u + s) === t)) {
217
+ d.push(i.slice(p, u)), p = u + s;
218
218
  continue;
219
219
  }
220
220
  if (y === "/") {
@@ -224,47 +224,47 @@ const q = "-", we = (e) => {
224
224
  }
225
225
  y === "[" ? c++ : y === "]" && c--;
226
226
  }
227
- const m = d.length === 0 ? i : i.substring(b), C = m.startsWith(le), x = C ? m.substring(1) : m, g = h && h > b ? h - b : void 0;
227
+ const m = d.length === 0 ? i : i.substring(p), k = m.startsWith(fe), w = k ? m.substring(1) : m, g = h && h > p ? h - p : void 0;
228
228
  return {
229
229
  modifiers: d,
230
- hasImportantModifier: C,
231
- baseClassName: x,
230
+ hasImportantModifier: k,
231
+ baseClassName: w,
232
232
  maybePostfixModifierPosition: g
233
233
  };
234
234
  };
235
- return t ? (i) => t({
235
+ return r ? (i) => r({
236
236
  className: i,
237
237
  parseClassName: l
238
238
  }) : l;
239
- }, Me = (e) => {
239
+ }, Ve = (e) => {
240
240
  if (e.length <= 1)
241
241
  return e;
242
- const r = [];
243
- let t = [];
242
+ const t = [];
243
+ let r = [];
244
244
  return e.forEach((o) => {
245
- o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
246
- }), r.push(...t.sort()), r;
247
- }, Pe = (e) => ({
248
- cache: Se(e.cacheSize),
249
- parseClassName: Re(e),
250
- ...we(e)
251
- }), Ne = /\s+/, je = (e, r) => {
245
+ o[0] === "[" ? (t.push(...r.sort(), o), r = []) : r.push(o);
246
+ }), t.push(...r.sort()), t;
247
+ }, Ee = (e) => ({
248
+ cache: Ge(e.cacheSize),
249
+ parseClassName: $e(e),
250
+ ...Ae(e)
251
+ }), Ie = /\s+/, We = (e, t) => {
252
252
  const {
253
- parseClassName: t,
253
+ parseClassName: r,
254
254
  getClassGroupId: o,
255
- getConflictingClassGroupIds: s
256
- } = r, n = [], l = e.trim().split(Ne);
255
+ getConflictingClassGroupIds: n
256
+ } = t, s = [], l = e.trim().split(Ie);
257
257
  let i = "";
258
258
  for (let d = l.length - 1; d >= 0; d -= 1) {
259
259
  const c = l[d], {
260
- modifiers: b,
260
+ modifiers: p,
261
261
  hasImportantModifier: h,
262
262
  baseClassName: m,
263
- maybePostfixModifierPosition: C
264
- } = t(c);
265
- let x = !!C, g = o(x ? m.substring(0, C) : m);
263
+ maybePostfixModifierPosition: k
264
+ } = r(c);
265
+ let w = !!k, g = o(w ? m.substring(0, k) : m);
266
266
  if (!g) {
267
- if (!x) {
267
+ if (!w) {
268
268
  i = c + (i.length > 0 ? " " + i : i);
269
269
  continue;
270
270
  }
@@ -272,94 +272,94 @@ const q = "-", we = (e) => {
272
272
  i = c + (i.length > 0 ? " " + i : i);
273
273
  continue;
274
274
  }
275
- x = !1;
275
+ w = !1;
276
276
  }
277
- const u = Me(b).join(":"), y = h ? u + le : u, w = y + g;
278
- if (n.includes(w))
277
+ const u = Ve(p).join(":"), y = h ? u + fe : u, v = y + g;
278
+ if (s.includes(v))
279
279
  continue;
280
- n.push(w);
281
- const N = s(g, x);
282
- for (let R = 0; R < N.length; ++R) {
283
- const V = N[R];
284
- n.push(y + V);
280
+ s.push(v);
281
+ const R = n(g, w);
282
+ for (let j = 0; j < R.length; ++j) {
283
+ const P = R[j];
284
+ s.push(y + P);
285
285
  }
286
286
  i = c + (i.length > 0 ? " " + i : i);
287
287
  }
288
288
  return i;
289
289
  };
290
- function Ge() {
291
- let e = 0, r, t, o = "";
290
+ function Te() {
291
+ let e = 0, t, r, o = "";
292
292
  for (; e < arguments.length; )
293
- (r = arguments[e++]) && (t = ae(r)) && (o && (o += " "), o += t);
293
+ (t = arguments[e++]) && (r = be(t)) && (o && (o += " "), o += r);
294
294
  return o;
295
295
  }
296
- const ae = (e) => {
296
+ const be = (e) => {
297
297
  if (typeof e == "string")
298
298
  return e;
299
- let r, t = "";
299
+ let t, r = "";
300
300
  for (let o = 0; o < e.length; o++)
301
- e[o] && (r = ae(e[o])) && (t && (t += " "), t += r);
302
- return t;
301
+ e[o] && (t = be(e[o])) && (r && (r += " "), r += t);
302
+ return r;
303
303
  };
304
- function Ee(e, ...r) {
305
- let t, o, s, n = l;
304
+ function ie(e, ...t) {
305
+ let r, o, n, s = l;
306
306
  function l(d) {
307
- const c = r.reduce((b, h) => h(b), e());
308
- return t = Pe(c), o = t.cache.get, s = t.cache.set, n = i, i(d);
307
+ const c = t.reduce((p, h) => h(p), e());
308
+ return r = Ee(c), o = r.cache.get, n = r.cache.set, s = i, i(d);
309
309
  }
310
310
  function i(d) {
311
311
  const c = o(d);
312
312
  if (c)
313
313
  return c;
314
- const b = je(d, t);
315
- return s(d, b), b;
314
+ const p = We(d, r);
315
+ return n(d, p), p;
316
316
  }
317
317
  return function() {
318
- return n(Ge.apply(null, arguments));
318
+ return s(Te.apply(null, arguments));
319
319
  };
320
320
  }
321
- const p = (e) => {
322
- const r = (t) => t[e] || [];
323
- return r.isThemeGetter = !0, r;
324
- }, ce = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ve = /^\d+\/\d+$/, Ie = /* @__PURE__ */ new Set(["px", "full", "screen"]), Te = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, We = /\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$/, Oe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Le = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, $e = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => M(e) || Ie.has(e) || Ve.test(e), A = (e) => P(e, "length", Je), M = (e) => !!e && !Number.isNaN(Number(e)), _ = (e) => P(e, "number", M), G = (e) => !!e && Number.isInteger(Number(e)), Be = (e) => e.endsWith("%") && M(e.slice(0, -1)), a = (e) => ce.test(e), S = (e) => Te.test(e), _e = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ue = (e) => P(e, _e, de), Fe = (e) => P(e, "position", de), qe = /* @__PURE__ */ new Set(["image", "url"]), He = (e) => P(e, qe, Xe), Ze = (e) => P(e, "", Ke), E = () => !0, P = (e, r, t) => {
325
- const o = ce.exec(e);
326
- return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
327
- }, Je = (e) => (
321
+ const f = (e) => {
322
+ const t = (r) => r[e] || [];
323
+ return t.isThemeGetter = !0, t;
324
+ }, ge = /^\[(?:([a-z-]+):)?(.+)\]$/i, Le = /^\d+\/\d+$/, Oe = /* @__PURE__ */ new Set(["px", "full", "screen"]), Be = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Fe = /\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$/, _e = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ue = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => M(e) || Oe.has(e) || Le.test(e), S = (e) => G(e, "length", De), M = (e) => !!e && !Number.isNaN(Number(e)), H = (e) => G(e, "number", M), I = (e) => !!e && Number.isInteger(Number(e)), He = (e) => e.endsWith("%") && M(e.slice(0, -1)), a = (e) => ge.test(e), A = (e) => Be.test(e), Ke = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ze = (e) => G(e, Ke, me), Je = (e) => G(e, "position", me), Xe = /* @__PURE__ */ new Set(["image", "url"]), Qe = (e) => G(e, Xe, tt), Ye = (e) => G(e, "", et), W = () => !0, G = (e, t, r) => {
325
+ const o = ge.exec(e);
326
+ return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : r(o[2]) : !1;
327
+ }, De = (e) => (
328
328
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
329
329
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
330
330
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
331
- We.test(e) && !Oe.test(e)
332
- ), de = () => !1, Ke = (e) => Le.test(e), Xe = (e) => $e.test(e), Qe = () => {
333
- const e = p("colors"), r = p("spacing"), t = p("blur"), o = p("brightness"), s = p("borderColor"), n = p("borderRadius"), l = p("borderSpacing"), i = p("borderWidth"), d = p("contrast"), c = p("grayscale"), b = p("hueRotate"), h = p("invert"), m = p("gap"), C = p("gradientColorStops"), x = p("gradientColorStopPositions"), g = p("inset"), u = p("margin"), y = p("opacity"), w = p("padding"), N = p("saturate"), R = p("scale"), V = p("sepia"), H = p("skew"), Z = p("space"), J = p("translate"), O = () => ["auto", "contain", "none"], L = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", a, r], f = () => [a, r], K = () => ["", z, A], I = () => ["auto", M, a], X = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], T = () => ["solid", "dashed", "dotted", "double", "none"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], B = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], j = () => ["", "0", a], Y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], k = () => [M, a];
331
+ Fe.test(e) && !_e.test(e)
332
+ ), me = () => !1, et = (e) => Ue.test(e), tt = (e) => qe.test(e), le = () => {
333
+ const e = f("colors"), t = f("spacing"), r = f("blur"), o = f("brightness"), n = f("borderColor"), s = f("borderRadius"), l = f("borderSpacing"), i = f("borderWidth"), d = f("contrast"), c = f("grayscale"), p = f("hueRotate"), h = f("invert"), m = f("gap"), k = f("gradientColorStops"), w = f("gradientColorStopPositions"), g = f("inset"), u = f("margin"), y = f("opacity"), v = f("padding"), R = f("saturate"), j = f("scale"), P = f("sepia"), L = f("skew"), O = f("space"), B = f("translate"), $ = () => ["auto", "contain", "none"], V = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", a, t], b = () => [a, t], Y = () => ["", z, S], _ = () => ["auto", M, a], D = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], U = () => ["solid", "dashed", "dotted", "double", "none"], ee = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], q = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], E = () => ["", "0", a], te = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [M, a];
334
334
  return {
335
335
  cacheSize: 500,
336
336
  separator: ":",
337
337
  theme: {
338
- colors: [E],
339
- spacing: [z, A],
340
- blur: ["none", "", S, a],
341
- brightness: k(),
338
+ colors: [W],
339
+ spacing: [z, S],
340
+ blur: ["none", "", A, a],
341
+ brightness: C(),
342
342
  borderColor: [e],
343
- borderRadius: ["none", "", "full", S, a],
344
- borderSpacing: f(),
345
- borderWidth: K(),
346
- contrast: k(),
347
- grayscale: j(),
348
- hueRotate: k(),
349
- invert: j(),
350
- gap: f(),
343
+ borderRadius: ["none", "", "full", A, a],
344
+ borderSpacing: b(),
345
+ borderWidth: Y(),
346
+ contrast: C(),
347
+ grayscale: E(),
348
+ hueRotate: C(),
349
+ invert: E(),
350
+ gap: b(),
351
351
  gradientColorStops: [e],
352
- gradientColorStopPositions: [Be, A],
353
- inset: $(),
354
- margin: $(),
355
- opacity: k(),
356
- padding: f(),
357
- saturate: k(),
358
- scale: k(),
359
- sepia: j(),
360
- skew: k(),
361
- space: f(),
362
- translate: f()
352
+ gradientColorStopPositions: [He, S],
353
+ inset: F(),
354
+ margin: F(),
355
+ opacity: C(),
356
+ padding: b(),
357
+ saturate: C(),
358
+ scale: C(),
359
+ sepia: E(),
360
+ skew: C(),
361
+ space: b(),
362
+ translate: b()
363
363
  },
364
364
  classGroups: {
365
365
  // Layout
@@ -380,21 +380,21 @@ const p = (e) => {
380
380
  * @see https://tailwindcss.com/docs/columns
381
381
  */
382
382
  columns: [{
383
- columns: [S]
383
+ columns: [A]
384
384
  }],
385
385
  /**
386
386
  * Break After
387
387
  * @see https://tailwindcss.com/docs/break-after
388
388
  */
389
389
  "break-after": [{
390
- "break-after": Y()
390
+ "break-after": te()
391
391
  }],
392
392
  /**
393
393
  * Break Before
394
394
  * @see https://tailwindcss.com/docs/break-before
395
395
  */
396
396
  "break-before": [{
397
- "break-before": Y()
397
+ "break-before": te()
398
398
  }],
399
399
  /**
400
400
  * Break Inside
@@ -453,49 +453,49 @@ const p = (e) => {
453
453
  * @see https://tailwindcss.com/docs/object-position
454
454
  */
455
455
  "object-position": [{
456
- object: [...X(), a]
456
+ object: [...D(), a]
457
457
  }],
458
458
  /**
459
459
  * Overflow
460
460
  * @see https://tailwindcss.com/docs/overflow
461
461
  */
462
462
  overflow: [{
463
- overflow: L()
463
+ overflow: V()
464
464
  }],
465
465
  /**
466
466
  * Overflow X
467
467
  * @see https://tailwindcss.com/docs/overflow
468
468
  */
469
469
  "overflow-x": [{
470
- "overflow-x": L()
470
+ "overflow-x": V()
471
471
  }],
472
472
  /**
473
473
  * Overflow Y
474
474
  * @see https://tailwindcss.com/docs/overflow
475
475
  */
476
476
  "overflow-y": [{
477
- "overflow-y": L()
477
+ "overflow-y": V()
478
478
  }],
479
479
  /**
480
480
  * Overscroll Behavior
481
481
  * @see https://tailwindcss.com/docs/overscroll-behavior
482
482
  */
483
483
  overscroll: [{
484
- overscroll: O()
484
+ overscroll: $()
485
485
  }],
486
486
  /**
487
487
  * Overscroll Behavior X
488
488
  * @see https://tailwindcss.com/docs/overscroll-behavior
489
489
  */
490
490
  "overscroll-x": [{
491
- "overscroll-x": O()
491
+ "overscroll-x": $()
492
492
  }],
493
493
  /**
494
494
  * Overscroll Behavior Y
495
495
  * @see https://tailwindcss.com/docs/overscroll-behavior
496
496
  */
497
497
  "overscroll-y": [{
498
- "overscroll-y": O()
498
+ "overscroll-y": $()
499
499
  }],
500
500
  /**
501
501
  * Position
@@ -575,7 +575,7 @@ const p = (e) => {
575
575
  * @see https://tailwindcss.com/docs/z-index
576
576
  */
577
577
  z: [{
578
- z: ["auto", G, a]
578
+ z: ["auto", I, a]
579
579
  }],
580
580
  // Flexbox and Grid
581
581
  /**
@@ -583,7 +583,7 @@ const p = (e) => {
583
583
  * @see https://tailwindcss.com/docs/flex-basis
584
584
  */
585
585
  basis: [{
586
- basis: $()
586
+ basis: F()
587
587
  }],
588
588
  /**
589
589
  * Flex Direction
@@ -611,28 +611,28 @@ const p = (e) => {
611
611
  * @see https://tailwindcss.com/docs/flex-grow
612
612
  */
613
613
  grow: [{
614
- grow: j()
614
+ grow: E()
615
615
  }],
616
616
  /**
617
617
  * Flex Shrink
618
618
  * @see https://tailwindcss.com/docs/flex-shrink
619
619
  */
620
620
  shrink: [{
621
- shrink: j()
621
+ shrink: E()
622
622
  }],
623
623
  /**
624
624
  * Order
625
625
  * @see https://tailwindcss.com/docs/order
626
626
  */
627
627
  order: [{
628
- order: ["first", "last", "none", G, a]
628
+ order: ["first", "last", "none", I, a]
629
629
  }],
630
630
  /**
631
631
  * Grid Template Columns
632
632
  * @see https://tailwindcss.com/docs/grid-template-columns
633
633
  */
634
634
  "grid-cols": [{
635
- "grid-cols": [E]
635
+ "grid-cols": [W]
636
636
  }],
637
637
  /**
638
638
  * Grid Column Start / End
@@ -640,7 +640,7 @@ const p = (e) => {
640
640
  */
641
641
  "col-start-end": [{
642
642
  col: ["auto", {
643
- span: ["full", G, a]
643
+ span: ["full", I, a]
644
644
  }, a]
645
645
  }],
646
646
  /**
@@ -648,21 +648,21 @@ const p = (e) => {
648
648
  * @see https://tailwindcss.com/docs/grid-column
649
649
  */
650
650
  "col-start": [{
651
- "col-start": I()
651
+ "col-start": _()
652
652
  }],
653
653
  /**
654
654
  * Grid Column End
655
655
  * @see https://tailwindcss.com/docs/grid-column
656
656
  */
657
657
  "col-end": [{
658
- "col-end": I()
658
+ "col-end": _()
659
659
  }],
660
660
  /**
661
661
  * Grid Template Rows
662
662
  * @see https://tailwindcss.com/docs/grid-template-rows
663
663
  */
664
664
  "grid-rows": [{
665
- "grid-rows": [E]
665
+ "grid-rows": [W]
666
666
  }],
667
667
  /**
668
668
  * Grid Row Start / End
@@ -670,7 +670,7 @@ const p = (e) => {
670
670
  */
671
671
  "row-start-end": [{
672
672
  row: ["auto", {
673
- span: [G, a]
673
+ span: [I, a]
674
674
  }, a]
675
675
  }],
676
676
  /**
@@ -678,14 +678,14 @@ const p = (e) => {
678
678
  * @see https://tailwindcss.com/docs/grid-row
679
679
  */
680
680
  "row-start": [{
681
- "row-start": I()
681
+ "row-start": _()
682
682
  }],
683
683
  /**
684
684
  * Grid Row End
685
685
  * @see https://tailwindcss.com/docs/grid-row
686
686
  */
687
687
  "row-end": [{
688
- "row-end": I()
688
+ "row-end": _()
689
689
  }],
690
690
  /**
691
691
  * Grid Auto Flow
@@ -734,7 +734,7 @@ const p = (e) => {
734
734
  * @see https://tailwindcss.com/docs/justify-content
735
735
  */
736
736
  "justify-content": [{
737
- justify: ["normal", ...B()]
737
+ justify: ["normal", ...q()]
738
738
  }],
739
739
  /**
740
740
  * Justify Items
@@ -755,7 +755,7 @@ const p = (e) => {
755
755
  * @see https://tailwindcss.com/docs/align-content
756
756
  */
757
757
  "align-content": [{
758
- content: ["normal", ...B(), "baseline"]
758
+ content: ["normal", ...q(), "baseline"]
759
759
  }],
760
760
  /**
761
761
  * Align Items
@@ -776,7 +776,7 @@ const p = (e) => {
776
776
  * @see https://tailwindcss.com/docs/place-content
777
777
  */
778
778
  "place-content": [{
779
- "place-content": [...B(), "baseline"]
779
+ "place-content": [...q(), "baseline"]
780
780
  }],
781
781
  /**
782
782
  * Place Items
@@ -798,63 +798,63 @@ const p = (e) => {
798
798
  * @see https://tailwindcss.com/docs/padding
799
799
  */
800
800
  p: [{
801
- p: [w]
801
+ p: [v]
802
802
  }],
803
803
  /**
804
804
  * Padding X
805
805
  * @see https://tailwindcss.com/docs/padding
806
806
  */
807
807
  px: [{
808
- px: [w]
808
+ px: [v]
809
809
  }],
810
810
  /**
811
811
  * Padding Y
812
812
  * @see https://tailwindcss.com/docs/padding
813
813
  */
814
814
  py: [{
815
- py: [w]
815
+ py: [v]
816
816
  }],
817
817
  /**
818
818
  * Padding Start
819
819
  * @see https://tailwindcss.com/docs/padding
820
820
  */
821
821
  ps: [{
822
- ps: [w]
822
+ ps: [v]
823
823
  }],
824
824
  /**
825
825
  * Padding End
826
826
  * @see https://tailwindcss.com/docs/padding
827
827
  */
828
828
  pe: [{
829
- pe: [w]
829
+ pe: [v]
830
830
  }],
831
831
  /**
832
832
  * Padding Top
833
833
  * @see https://tailwindcss.com/docs/padding
834
834
  */
835
835
  pt: [{
836
- pt: [w]
836
+ pt: [v]
837
837
  }],
838
838
  /**
839
839
  * Padding Right
840
840
  * @see https://tailwindcss.com/docs/padding
841
841
  */
842
842
  pr: [{
843
- pr: [w]
843
+ pr: [v]
844
844
  }],
845
845
  /**
846
846
  * Padding Bottom
847
847
  * @see https://tailwindcss.com/docs/padding
848
848
  */
849
849
  pb: [{
850
- pb: [w]
850
+ pb: [v]
851
851
  }],
852
852
  /**
853
853
  * Padding Left
854
854
  * @see https://tailwindcss.com/docs/padding
855
855
  */
856
856
  pl: [{
857
- pl: [w]
857
+ pl: [v]
858
858
  }],
859
859
  /**
860
860
  * Margin
@@ -924,7 +924,7 @@ const p = (e) => {
924
924
  * @see https://tailwindcss.com/docs/space
925
925
  */
926
926
  "space-x": [{
927
- "space-x": [Z]
927
+ "space-x": [O]
928
928
  }],
929
929
  /**
930
930
  * Space Between X Reverse
@@ -936,7 +936,7 @@ const p = (e) => {
936
936
  * @see https://tailwindcss.com/docs/space
937
937
  */
938
938
  "space-y": [{
939
- "space-y": [Z]
939
+ "space-y": [O]
940
940
  }],
941
941
  /**
942
942
  * Space Between Y Reverse
@@ -949,51 +949,51 @@ const p = (e) => {
949
949
  * @see https://tailwindcss.com/docs/width
950
950
  */
951
951
  w: [{
952
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", a, r]
952
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", a, t]
953
953
  }],
954
954
  /**
955
955
  * Min-Width
956
956
  * @see https://tailwindcss.com/docs/min-width
957
957
  */
958
958
  "min-w": [{
959
- "min-w": [a, r, "min", "max", "fit"]
959
+ "min-w": [a, t, "min", "max", "fit"]
960
960
  }],
961
961
  /**
962
962
  * Max-Width
963
963
  * @see https://tailwindcss.com/docs/max-width
964
964
  */
965
965
  "max-w": [{
966
- "max-w": [a, r, "none", "full", "min", "max", "fit", "prose", {
967
- screen: [S]
968
- }, S]
966
+ "max-w": [a, t, "none", "full", "min", "max", "fit", "prose", {
967
+ screen: [A]
968
+ }, A]
969
969
  }],
970
970
  /**
971
971
  * Height
972
972
  * @see https://tailwindcss.com/docs/height
973
973
  */
974
974
  h: [{
975
- h: [a, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
975
+ h: [a, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
976
976
  }],
977
977
  /**
978
978
  * Min-Height
979
979
  * @see https://tailwindcss.com/docs/min-height
980
980
  */
981
981
  "min-h": [{
982
- "min-h": [a, r, "min", "max", "fit", "svh", "lvh", "dvh"]
982
+ "min-h": [a, t, "min", "max", "fit", "svh", "lvh", "dvh"]
983
983
  }],
984
984
  /**
985
985
  * Max-Height
986
986
  * @see https://tailwindcss.com/docs/max-height
987
987
  */
988
988
  "max-h": [{
989
- "max-h": [a, r, "min", "max", "fit", "svh", "lvh", "dvh"]
989
+ "max-h": [a, t, "min", "max", "fit", "svh", "lvh", "dvh"]
990
990
  }],
991
991
  /**
992
992
  * Size
993
993
  * @see https://tailwindcss.com/docs/size
994
994
  */
995
995
  size: [{
996
- size: [a, r, "auto", "min", "max", "fit"]
996
+ size: [a, t, "auto", "min", "max", "fit"]
997
997
  }],
998
998
  // Typography
999
999
  /**
@@ -1001,7 +1001,7 @@ const p = (e) => {
1001
1001
  * @see https://tailwindcss.com/docs/font-size
1002
1002
  */
1003
1003
  "font-size": [{
1004
- text: ["base", S, A]
1004
+ text: ["base", A, S]
1005
1005
  }],
1006
1006
  /**
1007
1007
  * Font Smoothing
@@ -1018,14 +1018,14 @@ const p = (e) => {
1018
1018
  * @see https://tailwindcss.com/docs/font-weight
1019
1019
  */
1020
1020
  "font-weight": [{
1021
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", _]
1021
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", H]
1022
1022
  }],
1023
1023
  /**
1024
1024
  * Font Family
1025
1025
  * @see https://tailwindcss.com/docs/font-family
1026
1026
  */
1027
1027
  "font-family": [{
1028
- font: [E]
1028
+ font: [W]
1029
1029
  }],
1030
1030
  /**
1031
1031
  * Font Variant Numeric
@@ -1069,7 +1069,7 @@ const p = (e) => {
1069
1069
  * @see https://tailwindcss.com/docs/line-clamp
1070
1070
  */
1071
1071
  "line-clamp": [{
1072
- "line-clamp": ["none", M, _]
1072
+ "line-clamp": ["none", M, H]
1073
1073
  }],
1074
1074
  /**
1075
1075
  * Line Height
@@ -1145,14 +1145,14 @@ const p = (e) => {
1145
1145
  * @see https://tailwindcss.com/docs/text-decoration-style
1146
1146
  */
1147
1147
  "text-decoration-style": [{
1148
- decoration: [...T(), "wavy"]
1148
+ decoration: [...U(), "wavy"]
1149
1149
  }],
1150
1150
  /**
1151
1151
  * Text Decoration Thickness
1152
1152
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1153
1153
  */
1154
1154
  "text-decoration-thickness": [{
1155
- decoration: ["auto", "from-font", z, A]
1155
+ decoration: ["auto", "from-font", z, S]
1156
1156
  }],
1157
1157
  /**
1158
1158
  * Text Underline Offset
@@ -1190,7 +1190,7 @@ const p = (e) => {
1190
1190
  * @see https://tailwindcss.com/docs/text-indent
1191
1191
  */
1192
1192
  indent: [{
1193
- indent: f()
1193
+ indent: b()
1194
1194
  }],
1195
1195
  /**
1196
1196
  * Vertical Alignment
@@ -1262,7 +1262,7 @@ const p = (e) => {
1262
1262
  * @see https://tailwindcss.com/docs/background-position
1263
1263
  */
1264
1264
  "bg-position": [{
1265
- bg: [...X(), Fe]
1265
+ bg: [...D(), Je]
1266
1266
  }],
1267
1267
  /**
1268
1268
  * Background Repeat
@@ -1278,7 +1278,7 @@ const p = (e) => {
1278
1278
  * @see https://tailwindcss.com/docs/background-size
1279
1279
  */
1280
1280
  "bg-size": [{
1281
- bg: ["auto", "cover", "contain", Ue]
1281
+ bg: ["auto", "cover", "contain", Ze]
1282
1282
  }],
1283
1283
  /**
1284
1284
  * Background Image
@@ -1287,7 +1287,7 @@ const p = (e) => {
1287
1287
  "bg-image": [{
1288
1288
  bg: ["none", {
1289
1289
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1290
- }, He]
1290
+ }, Qe]
1291
1291
  }],
1292
1292
  /**
1293
1293
  * Background Color
@@ -1301,42 +1301,42 @@ const p = (e) => {
1301
1301
  * @see https://tailwindcss.com/docs/gradient-color-stops
1302
1302
  */
1303
1303
  "gradient-from-pos": [{
1304
- from: [x]
1304
+ from: [w]
1305
1305
  }],
1306
1306
  /**
1307
1307
  * Gradient Color Stops Via Position
1308
1308
  * @see https://tailwindcss.com/docs/gradient-color-stops
1309
1309
  */
1310
1310
  "gradient-via-pos": [{
1311
- via: [x]
1311
+ via: [w]
1312
1312
  }],
1313
1313
  /**
1314
1314
  * Gradient Color Stops To Position
1315
1315
  * @see https://tailwindcss.com/docs/gradient-color-stops
1316
1316
  */
1317
1317
  "gradient-to-pos": [{
1318
- to: [x]
1318
+ to: [w]
1319
1319
  }],
1320
1320
  /**
1321
1321
  * Gradient Color Stops From
1322
1322
  * @see https://tailwindcss.com/docs/gradient-color-stops
1323
1323
  */
1324
1324
  "gradient-from": [{
1325
- from: [C]
1325
+ from: [k]
1326
1326
  }],
1327
1327
  /**
1328
1328
  * Gradient Color Stops Via
1329
1329
  * @see https://tailwindcss.com/docs/gradient-color-stops
1330
1330
  */
1331
1331
  "gradient-via": [{
1332
- via: [C]
1332
+ via: [k]
1333
1333
  }],
1334
1334
  /**
1335
1335
  * Gradient Color Stops To
1336
1336
  * @see https://tailwindcss.com/docs/gradient-color-stops
1337
1337
  */
1338
1338
  "gradient-to": [{
1339
- to: [C]
1339
+ to: [k]
1340
1340
  }],
1341
1341
  // Borders
1342
1342
  /**
@@ -1344,105 +1344,105 @@ const p = (e) => {
1344
1344
  * @see https://tailwindcss.com/docs/border-radius
1345
1345
  */
1346
1346
  rounded: [{
1347
- rounded: [n]
1347
+ rounded: [s]
1348
1348
  }],
1349
1349
  /**
1350
1350
  * Border Radius Start
1351
1351
  * @see https://tailwindcss.com/docs/border-radius
1352
1352
  */
1353
1353
  "rounded-s": [{
1354
- "rounded-s": [n]
1354
+ "rounded-s": [s]
1355
1355
  }],
1356
1356
  /**
1357
1357
  * Border Radius End
1358
1358
  * @see https://tailwindcss.com/docs/border-radius
1359
1359
  */
1360
1360
  "rounded-e": [{
1361
- "rounded-e": [n]
1361
+ "rounded-e": [s]
1362
1362
  }],
1363
1363
  /**
1364
1364
  * Border Radius Top
1365
1365
  * @see https://tailwindcss.com/docs/border-radius
1366
1366
  */
1367
1367
  "rounded-t": [{
1368
- "rounded-t": [n]
1368
+ "rounded-t": [s]
1369
1369
  }],
1370
1370
  /**
1371
1371
  * Border Radius Right
1372
1372
  * @see https://tailwindcss.com/docs/border-radius
1373
1373
  */
1374
1374
  "rounded-r": [{
1375
- "rounded-r": [n]
1375
+ "rounded-r": [s]
1376
1376
  }],
1377
1377
  /**
1378
1378
  * Border Radius Bottom
1379
1379
  * @see https://tailwindcss.com/docs/border-radius
1380
1380
  */
1381
1381
  "rounded-b": [{
1382
- "rounded-b": [n]
1382
+ "rounded-b": [s]
1383
1383
  }],
1384
1384
  /**
1385
1385
  * Border Radius Left
1386
1386
  * @see https://tailwindcss.com/docs/border-radius
1387
1387
  */
1388
1388
  "rounded-l": [{
1389
- "rounded-l": [n]
1389
+ "rounded-l": [s]
1390
1390
  }],
1391
1391
  /**
1392
1392
  * Border Radius Start Start
1393
1393
  * @see https://tailwindcss.com/docs/border-radius
1394
1394
  */
1395
1395
  "rounded-ss": [{
1396
- "rounded-ss": [n]
1396
+ "rounded-ss": [s]
1397
1397
  }],
1398
1398
  /**
1399
1399
  * Border Radius Start End
1400
1400
  * @see https://tailwindcss.com/docs/border-radius
1401
1401
  */
1402
1402
  "rounded-se": [{
1403
- "rounded-se": [n]
1403
+ "rounded-se": [s]
1404
1404
  }],
1405
1405
  /**
1406
1406
  * Border Radius End End
1407
1407
  * @see https://tailwindcss.com/docs/border-radius
1408
1408
  */
1409
1409
  "rounded-ee": [{
1410
- "rounded-ee": [n]
1410
+ "rounded-ee": [s]
1411
1411
  }],
1412
1412
  /**
1413
1413
  * Border Radius End Start
1414
1414
  * @see https://tailwindcss.com/docs/border-radius
1415
1415
  */
1416
1416
  "rounded-es": [{
1417
- "rounded-es": [n]
1417
+ "rounded-es": [s]
1418
1418
  }],
1419
1419
  /**
1420
1420
  * Border Radius Top Left
1421
1421
  * @see https://tailwindcss.com/docs/border-radius
1422
1422
  */
1423
1423
  "rounded-tl": [{
1424
- "rounded-tl": [n]
1424
+ "rounded-tl": [s]
1425
1425
  }],
1426
1426
  /**
1427
1427
  * Border Radius Top Right
1428
1428
  * @see https://tailwindcss.com/docs/border-radius
1429
1429
  */
1430
1430
  "rounded-tr": [{
1431
- "rounded-tr": [n]
1431
+ "rounded-tr": [s]
1432
1432
  }],
1433
1433
  /**
1434
1434
  * Border Radius Bottom Right
1435
1435
  * @see https://tailwindcss.com/docs/border-radius
1436
1436
  */
1437
1437
  "rounded-br": [{
1438
- "rounded-br": [n]
1438
+ "rounded-br": [s]
1439
1439
  }],
1440
1440
  /**
1441
1441
  * Border Radius Bottom Left
1442
1442
  * @see https://tailwindcss.com/docs/border-radius
1443
1443
  */
1444
1444
  "rounded-bl": [{
1445
- "rounded-bl": [n]
1445
+ "rounded-bl": [s]
1446
1446
  }],
1447
1447
  /**
1448
1448
  * Border Width
@@ -1519,7 +1519,7 @@ const p = (e) => {
1519
1519
  * @see https://tailwindcss.com/docs/border-style
1520
1520
  */
1521
1521
  "border-style": [{
1522
- border: [...T(), "hidden"]
1522
+ border: [...U(), "hidden"]
1523
1523
  }],
1524
1524
  /**
1525
1525
  * Divide Width X
@@ -1557,70 +1557,84 @@ const p = (e) => {
1557
1557
  * @see https://tailwindcss.com/docs/divide-style
1558
1558
  */
1559
1559
  "divide-style": [{
1560
- divide: T()
1560
+ divide: U()
1561
1561
  }],
1562
1562
  /**
1563
1563
  * Border Color
1564
1564
  * @see https://tailwindcss.com/docs/border-color
1565
1565
  */
1566
1566
  "border-color": [{
1567
- border: [s]
1567
+ border: [n]
1568
1568
  }],
1569
1569
  /**
1570
1570
  * Border Color X
1571
1571
  * @see https://tailwindcss.com/docs/border-color
1572
1572
  */
1573
1573
  "border-color-x": [{
1574
- "border-x": [s]
1574
+ "border-x": [n]
1575
1575
  }],
1576
1576
  /**
1577
1577
  * Border Color Y
1578
1578
  * @see https://tailwindcss.com/docs/border-color
1579
1579
  */
1580
1580
  "border-color-y": [{
1581
- "border-y": [s]
1581
+ "border-y": [n]
1582
+ }],
1583
+ /**
1584
+ * Border Color S
1585
+ * @see https://tailwindcss.com/docs/border-color
1586
+ */
1587
+ "border-color-s": [{
1588
+ "border-s": [n]
1589
+ }],
1590
+ /**
1591
+ * Border Color E
1592
+ * @see https://tailwindcss.com/docs/border-color
1593
+ */
1594
+ "border-color-e": [{
1595
+ "border-e": [n]
1582
1596
  }],
1583
1597
  /**
1584
1598
  * Border Color Top
1585
1599
  * @see https://tailwindcss.com/docs/border-color
1586
1600
  */
1587
1601
  "border-color-t": [{
1588
- "border-t": [s]
1602
+ "border-t": [n]
1589
1603
  }],
1590
1604
  /**
1591
1605
  * Border Color Right
1592
1606
  * @see https://tailwindcss.com/docs/border-color
1593
1607
  */
1594
1608
  "border-color-r": [{
1595
- "border-r": [s]
1609
+ "border-r": [n]
1596
1610
  }],
1597
1611
  /**
1598
1612
  * Border Color Bottom
1599
1613
  * @see https://tailwindcss.com/docs/border-color
1600
1614
  */
1601
1615
  "border-color-b": [{
1602
- "border-b": [s]
1616
+ "border-b": [n]
1603
1617
  }],
1604
1618
  /**
1605
1619
  * Border Color Left
1606
1620
  * @see https://tailwindcss.com/docs/border-color
1607
1621
  */
1608
1622
  "border-color-l": [{
1609
- "border-l": [s]
1623
+ "border-l": [n]
1610
1624
  }],
1611
1625
  /**
1612
1626
  * Divide Color
1613
1627
  * @see https://tailwindcss.com/docs/divide-color
1614
1628
  */
1615
1629
  "divide-color": [{
1616
- divide: [s]
1630
+ divide: [n]
1617
1631
  }],
1618
1632
  /**
1619
1633
  * Outline Style
1620
1634
  * @see https://tailwindcss.com/docs/outline-style
1621
1635
  */
1622
1636
  "outline-style": [{
1623
- outline: ["", ...T()]
1637
+ outline: ["", ...U()]
1624
1638
  }],
1625
1639
  /**
1626
1640
  * Outline Offset
@@ -1634,7 +1648,7 @@ const p = (e) => {
1634
1648
  * @see https://tailwindcss.com/docs/outline-width
1635
1649
  */
1636
1650
  "outline-w": [{
1637
- outline: [z, A]
1651
+ outline: [z, S]
1638
1652
  }],
1639
1653
  /**
1640
1654
  * Outline Color
@@ -1648,7 +1662,7 @@ const p = (e) => {
1648
1662
  * @see https://tailwindcss.com/docs/ring-width
1649
1663
  */
1650
1664
  "ring-w": [{
1651
- ring: K()
1665
+ ring: Y()
1652
1666
  }],
1653
1667
  /**
1654
1668
  * Ring Width Inset
@@ -1674,7 +1688,7 @@ const p = (e) => {
1674
1688
  * @see https://tailwindcss.com/docs/ring-offset-width
1675
1689
  */
1676
1690
  "ring-offset-w": [{
1677
- "ring-offset": [z, A]
1691
+ "ring-offset": [z, S]
1678
1692
  }],
1679
1693
  /**
1680
1694
  * Ring Offset Color
@@ -1689,14 +1703,14 @@ const p = (e) => {
1689
1703
  * @see https://tailwindcss.com/docs/box-shadow
1690
1704
  */
1691
1705
  shadow: [{
1692
- shadow: ["", "inner", "none", S, Ze]
1706
+ shadow: ["", "inner", "none", A, Ye]
1693
1707
  }],
1694
1708
  /**
1695
1709
  * Box Shadow Color
1696
1710
  * @see https://tailwindcss.com/docs/box-shadow-color
1697
1711
  */
1698
1712
  "shadow-color": [{
1699
- shadow: [E]
1713
+ shadow: [W]
1700
1714
  }],
1701
1715
  /**
1702
1716
  * Opacity
@@ -1710,14 +1724,14 @@ const p = (e) => {
1710
1724
  * @see https://tailwindcss.com/docs/mix-blend-mode
1711
1725
  */
1712
1726
  "mix-blend": [{
1713
- "mix-blend": [...Q(), "plus-lighter", "plus-darker"]
1727
+ "mix-blend": [...ee(), "plus-lighter", "plus-darker"]
1714
1728
  }],
1715
1729
  /**
1716
1730
  * Background Blend Mode
1717
1731
  * @see https://tailwindcss.com/docs/background-blend-mode
1718
1732
  */
1719
1733
  "bg-blend": [{
1720
- "bg-blend": Q()
1734
+ "bg-blend": ee()
1721
1735
  }],
1722
1736
  // Filters
1723
1737
  /**
@@ -1733,7 +1747,7 @@ const p = (e) => {
1733
1747
  * @see https://tailwindcss.com/docs/blur
1734
1748
  */
1735
1749
  blur: [{
1736
- blur: [t]
1750
+ blur: [r]
1737
1751
  }],
1738
1752
  /**
1739
1753
  * Brightness
@@ -1754,7 +1768,7 @@ const p = (e) => {
1754
1768
  * @see https://tailwindcss.com/docs/drop-shadow
1755
1769
  */
1756
1770
  "drop-shadow": [{
1757
- "drop-shadow": ["", "none", S, a]
1771
+ "drop-shadow": ["", "none", A, a]
1758
1772
  }],
1759
1773
  /**
1760
1774
  * Grayscale
@@ -1768,7 +1782,7 @@ const p = (e) => {
1768
1782
  * @see https://tailwindcss.com/docs/hue-rotate
1769
1783
  */
1770
1784
  "hue-rotate": [{
1771
- "hue-rotate": [b]
1785
+ "hue-rotate": [p]
1772
1786
  }],
1773
1787
  /**
1774
1788
  * Invert
@@ -1782,14 +1796,14 @@ const p = (e) => {
1782
1796
  * @see https://tailwindcss.com/docs/saturate
1783
1797
  */
1784
1798
  saturate: [{
1785
- saturate: [N]
1799
+ saturate: [R]
1786
1800
  }],
1787
1801
  /**
1788
1802
  * Sepia
1789
1803
  * @see https://tailwindcss.com/docs/sepia
1790
1804
  */
1791
1805
  sepia: [{
1792
- sepia: [V]
1806
+ sepia: [P]
1793
1807
  }],
1794
1808
  /**
1795
1809
  * Backdrop Filter
@@ -1804,7 +1818,7 @@ const p = (e) => {
1804
1818
  * @see https://tailwindcss.com/docs/backdrop-blur
1805
1819
  */
1806
1820
  "backdrop-blur": [{
1807
- "backdrop-blur": [t]
1821
+ "backdrop-blur": [r]
1808
1822
  }],
1809
1823
  /**
1810
1824
  * Backdrop Brightness
@@ -1832,7 +1846,7 @@ const p = (e) => {
1832
1846
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1833
1847
  */
1834
1848
  "backdrop-hue-rotate": [{
1835
- "backdrop-hue-rotate": [b]
1849
+ "backdrop-hue-rotate": [p]
1836
1850
  }],
1837
1851
  /**
1838
1852
  * Backdrop Invert
@@ -1853,14 +1867,14 @@ const p = (e) => {
1853
1867
  * @see https://tailwindcss.com/docs/backdrop-saturate
1854
1868
  */
1855
1869
  "backdrop-saturate": [{
1856
- "backdrop-saturate": [N]
1870
+ "backdrop-saturate": [R]
1857
1871
  }],
1858
1872
  /**
1859
1873
  * Backdrop Sepia
1860
1874
  * @see https://tailwindcss.com/docs/backdrop-sepia
1861
1875
  */
1862
1876
  "backdrop-sepia": [{
1863
- "backdrop-sepia": [V]
1877
+ "backdrop-sepia": [P]
1864
1878
  }],
1865
1879
  // Tables
1866
1880
  /**
@@ -1918,7 +1932,7 @@ const p = (e) => {
1918
1932
  * @see https://tailwindcss.com/docs/transition-duration
1919
1933
  */
1920
1934
  duration: [{
1921
- duration: k()
1935
+ duration: C()
1922
1936
  }],
1923
1937
  /**
1924
1938
  * Transition Timing Function
@@ -1932,7 +1946,7 @@ const p = (e) => {
1932
1946
  * @see https://tailwindcss.com/docs/transition-delay
1933
1947
  */
1934
1948
  delay: [{
1935
- delay: k()
1949
+ delay: C()
1936
1950
  }],
1937
1951
  /**
1938
1952
  * Animation
@@ -1954,56 +1968,56 @@ const p = (e) => {
1954
1968
  * @see https://tailwindcss.com/docs/scale
1955
1969
  */
1956
1970
  scale: [{
1957
- scale: [R]
1971
+ scale: [j]
1958
1972
  }],
1959
1973
  /**
1960
1974
  * Scale X
1961
1975
  * @see https://tailwindcss.com/docs/scale
1962
1976
  */
1963
1977
  "scale-x": [{
1964
- "scale-x": [R]
1978
+ "scale-x": [j]
1965
1979
  }],
1966
1980
  /**
1967
1981
  * Scale Y
1968
1982
  * @see https://tailwindcss.com/docs/scale
1969
1983
  */
1970
1984
  "scale-y": [{
1971
- "scale-y": [R]
1985
+ "scale-y": [j]
1972
1986
  }],
1973
1987
  /**
1974
1988
  * Rotate
1975
1989
  * @see https://tailwindcss.com/docs/rotate
1976
1990
  */
1977
1991
  rotate: [{
1978
- rotate: [G, a]
1992
+ rotate: [I, a]
1979
1993
  }],
1980
1994
  /**
1981
1995
  * Translate X
1982
1996
  * @see https://tailwindcss.com/docs/translate
1983
1997
  */
1984
1998
  "translate-x": [{
1985
- "translate-x": [J]
1999
+ "translate-x": [B]
1986
2000
  }],
1987
2001
  /**
1988
2002
  * Translate Y
1989
2003
  * @see https://tailwindcss.com/docs/translate
1990
2004
  */
1991
2005
  "translate-y": [{
1992
- "translate-y": [J]
2006
+ "translate-y": [B]
1993
2007
  }],
1994
2008
  /**
1995
2009
  * Skew X
1996
2010
  * @see https://tailwindcss.com/docs/skew
1997
2011
  */
1998
2012
  "skew-x": [{
1999
- "skew-x": [H]
2013
+ "skew-x": [L]
2000
2014
  }],
2001
2015
  /**
2002
2016
  * Skew Y
2003
2017
  * @see https://tailwindcss.com/docs/skew
2004
2018
  */
2005
2019
  "skew-y": [{
2006
- "skew-y": [H]
2020
+ "skew-y": [L]
2007
2021
  }],
2008
2022
  /**
2009
2023
  * Transform Origin
@@ -2067,126 +2081,126 @@ const p = (e) => {
2067
2081
  * @see https://tailwindcss.com/docs/scroll-margin
2068
2082
  */
2069
2083
  "scroll-m": [{
2070
- "scroll-m": f()
2084
+ "scroll-m": b()
2071
2085
  }],
2072
2086
  /**
2073
2087
  * Scroll Margin X
2074
2088
  * @see https://tailwindcss.com/docs/scroll-margin
2075
2089
  */
2076
2090
  "scroll-mx": [{
2077
- "scroll-mx": f()
2091
+ "scroll-mx": b()
2078
2092
  }],
2079
2093
  /**
2080
2094
  * Scroll Margin Y
2081
2095
  * @see https://tailwindcss.com/docs/scroll-margin
2082
2096
  */
2083
2097
  "scroll-my": [{
2084
- "scroll-my": f()
2098
+ "scroll-my": b()
2085
2099
  }],
2086
2100
  /**
2087
2101
  * Scroll Margin Start
2088
2102
  * @see https://tailwindcss.com/docs/scroll-margin
2089
2103
  */
2090
2104
  "scroll-ms": [{
2091
- "scroll-ms": f()
2105
+ "scroll-ms": b()
2092
2106
  }],
2093
2107
  /**
2094
2108
  * Scroll Margin End
2095
2109
  * @see https://tailwindcss.com/docs/scroll-margin
2096
2110
  */
2097
2111
  "scroll-me": [{
2098
- "scroll-me": f()
2112
+ "scroll-me": b()
2099
2113
  }],
2100
2114
  /**
2101
2115
  * Scroll Margin Top
2102
2116
  * @see https://tailwindcss.com/docs/scroll-margin
2103
2117
  */
2104
2118
  "scroll-mt": [{
2105
- "scroll-mt": f()
2119
+ "scroll-mt": b()
2106
2120
  }],
2107
2121
  /**
2108
2122
  * Scroll Margin Right
2109
2123
  * @see https://tailwindcss.com/docs/scroll-margin
2110
2124
  */
2111
2125
  "scroll-mr": [{
2112
- "scroll-mr": f()
2126
+ "scroll-mr": b()
2113
2127
  }],
2114
2128
  /**
2115
2129
  * Scroll Margin Bottom
2116
2130
  * @see https://tailwindcss.com/docs/scroll-margin
2117
2131
  */
2118
2132
  "scroll-mb": [{
2119
- "scroll-mb": f()
2133
+ "scroll-mb": b()
2120
2134
  }],
2121
2135
  /**
2122
2136
  * Scroll Margin Left
2123
2137
  * @see https://tailwindcss.com/docs/scroll-margin
2124
2138
  */
2125
2139
  "scroll-ml": [{
2126
- "scroll-ml": f()
2140
+ "scroll-ml": b()
2127
2141
  }],
2128
2142
  /**
2129
2143
  * Scroll Padding
2130
2144
  * @see https://tailwindcss.com/docs/scroll-padding
2131
2145
  */
2132
2146
  "scroll-p": [{
2133
- "scroll-p": f()
2147
+ "scroll-p": b()
2134
2148
  }],
2135
2149
  /**
2136
2150
  * Scroll Padding X
2137
2151
  * @see https://tailwindcss.com/docs/scroll-padding
2138
2152
  */
2139
2153
  "scroll-px": [{
2140
- "scroll-px": f()
2154
+ "scroll-px": b()
2141
2155
  }],
2142
2156
  /**
2143
2157
  * Scroll Padding Y
2144
2158
  * @see https://tailwindcss.com/docs/scroll-padding
2145
2159
  */
2146
2160
  "scroll-py": [{
2147
- "scroll-py": f()
2161
+ "scroll-py": b()
2148
2162
  }],
2149
2163
  /**
2150
2164
  * Scroll Padding Start
2151
2165
  * @see https://tailwindcss.com/docs/scroll-padding
2152
2166
  */
2153
2167
  "scroll-ps": [{
2154
- "scroll-ps": f()
2168
+ "scroll-ps": b()
2155
2169
  }],
2156
2170
  /**
2157
2171
  * Scroll Padding End
2158
2172
  * @see https://tailwindcss.com/docs/scroll-padding
2159
2173
  */
2160
2174
  "scroll-pe": [{
2161
- "scroll-pe": f()
2175
+ "scroll-pe": b()
2162
2176
  }],
2163
2177
  /**
2164
2178
  * Scroll Padding Top
2165
2179
  * @see https://tailwindcss.com/docs/scroll-padding
2166
2180
  */
2167
2181
  "scroll-pt": [{
2168
- "scroll-pt": f()
2182
+ "scroll-pt": b()
2169
2183
  }],
2170
2184
  /**
2171
2185
  * Scroll Padding Right
2172
2186
  * @see https://tailwindcss.com/docs/scroll-padding
2173
2187
  */
2174
2188
  "scroll-pr": [{
2175
- "scroll-pr": f()
2189
+ "scroll-pr": b()
2176
2190
  }],
2177
2191
  /**
2178
2192
  * Scroll Padding Bottom
2179
2193
  * @see https://tailwindcss.com/docs/scroll-padding
2180
2194
  */
2181
2195
  "scroll-pb": [{
2182
- "scroll-pb": f()
2196
+ "scroll-pb": b()
2183
2197
  }],
2184
2198
  /**
2185
2199
  * Scroll Padding Left
2186
2200
  * @see https://tailwindcss.com/docs/scroll-padding
2187
2201
  */
2188
2202
  "scroll-pl": [{
2189
- "scroll-pl": f()
2203
+ "scroll-pl": b()
2190
2204
  }],
2191
2205
  /**
2192
2206
  * Scroll Snap Align
@@ -2269,7 +2283,7 @@ const p = (e) => {
2269
2283
  * @see https://tailwindcss.com/docs/stroke-width
2270
2284
  */
2271
2285
  "stroke-w": [{
2272
- stroke: [z, A, _]
2286
+ stroke: [z, S, H]
2273
2287
  }],
2274
2288
  /**
2275
2289
  * Stroke
@@ -2326,7 +2340,7 @@ const p = (e) => {
2326
2340
  "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2327
2341
  "border-w-x": ["border-w-r", "border-w-l"],
2328
2342
  "border-w-y": ["border-w-t", "border-w-b"],
2329
- "border-color": ["border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2343
+ "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2330
2344
  "border-color-x": ["border-color-r", "border-color-l"],
2331
2345
  "border-color-y": ["border-color-t", "border-color-b"],
2332
2346
  "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
@@ -2344,45 +2358,265 @@ const p = (e) => {
2344
2358
  "font-size": ["leading"]
2345
2359
  }
2346
2360
  };
2347
- }, Ye = /* @__PURE__ */ Ee(Qe);
2348
- function De(...e) {
2349
- return Ye(xe(e));
2361
+ }, rt = (e, {
2362
+ cacheSize: t,
2363
+ prefix: r,
2364
+ separator: o,
2365
+ experimentalParseClassName: n,
2366
+ extend: s = {},
2367
+ override: l = {}
2368
+ }) => {
2369
+ T(e, "cacheSize", t), T(e, "prefix", r), T(e, "separator", o), T(e, "experimentalParseClassName", n);
2370
+ for (const i in l)
2371
+ ot(e[i], l[i]);
2372
+ for (const i in s)
2373
+ st(e[i], s[i]);
2374
+ return e;
2375
+ }, T = (e, t, r) => {
2376
+ r !== void 0 && (e[t] = r);
2377
+ }, ot = (e, t) => {
2378
+ if (t)
2379
+ for (const r in t)
2380
+ T(e, r, t[r]);
2381
+ }, st = (e, t) => {
2382
+ if (t)
2383
+ for (const r in t) {
2384
+ const o = t[r];
2385
+ o !== void 0 && (e[r] = (e[r] || []).concat(o));
2386
+ }
2387
+ }, nt = (e, ...t) => typeof e == "function" ? ie(le, e, ...t) : ie(() => rt(le(), e), ...t), it = nt({
2388
+ prefix: "ksjsui-"
2389
+ });
2390
+ function he(...e) {
2391
+ return it(Se(e));
2350
2392
  }
2351
- const er = ve(
2352
- "inline-flex items-center justify-center whitespace-nowrap 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",
2393
+ const lt = de(
2394
+ "ksjsui-inline-flex ksjsui-h-9 ksjsui-items-center ksjsui-justify-center ksjsui-whitespace-nowrap ksjsui-rounded-lg ksjsui-border ksjsui-border-transparent ksjsui-p-2 ksjsui-text-base ksjsui-font-medium ksjsui-ring-offset-background focus-visible:ksjsui-outline-none focus-visible:ksjsui-ring-2 focus-visible:ksjsui-ring-ring focus-visible:ksjsui-ring-offset-2 disabled:ksjsui-pointer-events-none disabled:ksjsui-cursor-not-allowed disabled:ksjsui-bg-disabled disabled:ksjsui-text-disabled-foreground",
2353
2395
  {
2354
2396
  variants: {
2355
2397
  variant: {
2356
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
2357
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
2358
- outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
2359
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
2360
- ghost: "hover:bg-accent hover:text-accent-foreground",
2361
- link: "text-primary underline-offset-4 hover:underline"
2398
+ solid: "",
2399
+ plain: "ksjsui-bg-transparent"
2400
+ },
2401
+ color: {
2402
+ neutral: "",
2403
+ primary: ""
2362
2404
  },
2363
- size: {
2364
- default: "h-10 px-4 py-2",
2365
- sm: "h-9 rounded-md px-3",
2366
- lg: "h-11 rounded-md px-8",
2367
- icon: "h-10 w-10"
2405
+ fullWidth: {
2406
+ true: "ksjsui-w-full"
2368
2407
  }
2369
2408
  },
2370
2409
  defaultVariants: {
2371
- variant: "default",
2372
- size: "default"
2410
+ variant: "solid",
2411
+ color: "neutral",
2412
+ fullWidth: void 0
2413
+ },
2414
+ compoundVariants: [
2415
+ {
2416
+ variant: "solid",
2417
+ color: "neutral",
2418
+ className: "ksjsui-bg-neutral ksjsui-text-neutral-foreground hover:ksjsui-bg-neutral-hover"
2419
+ },
2420
+ {
2421
+ variant: "solid",
2422
+ color: "primary",
2423
+ className: "ksjsui-bg-primary ksjsui-text-primary-foreground hover:ksjsui-bg-primary-hover"
2424
+ },
2425
+ { variant: "plain", color: "neutral", className: "" },
2426
+ { variant: "plain", color: "primary", className: "ksjsui-text-primary" }
2427
+ ]
2428
+ }
2429
+ ), at = x.forwardRef(
2430
+ ({
2431
+ className: e,
2432
+ endContent: t,
2433
+ startContent: r,
2434
+ variant: o,
2435
+ color: n,
2436
+ fullWidth: s,
2437
+ asChild: l = !1,
2438
+ children: i,
2439
+ ...d
2440
+ }, c) => /* @__PURE__ */ xe(
2441
+ l ? J : "button",
2442
+ {
2443
+ className: he(lt({ variant: o, color: n, fullWidth: s, className: e })),
2444
+ ref: c,
2445
+ ...d,
2446
+ children: [
2447
+ r && /* @__PURE__ */ N("span", { className: "ksjsui-me-2", children: r }),
2448
+ /* @__PURE__ */ N(ae, { children: i }),
2449
+ t && /* @__PURE__ */ N("span", { className: "ksjsui-ms-2", children: t })
2450
+ ]
2373
2451
  }
2452
+ )
2453
+ );
2454
+ at.displayName = "Button";
2455
+ const Q = [
2456
+ "px",
2457
+ 0,
2458
+ 0.5,
2459
+ 1,
2460
+ 1.5,
2461
+ 2,
2462
+ 2.5,
2463
+ 3,
2464
+ 3.5,
2465
+ 4,
2466
+ 5,
2467
+ 6,
2468
+ 7,
2469
+ 8,
2470
+ 9,
2471
+ 10,
2472
+ 11,
2473
+ 12,
2474
+ 14,
2475
+ 16,
2476
+ 20,
2477
+ 24,
2478
+ 28,
2479
+ 32,
2480
+ 36,
2481
+ 40,
2482
+ 44,
2483
+ 48,
2484
+ 52,
2485
+ 56,
2486
+ 60,
2487
+ 64,
2488
+ 72,
2489
+ 80,
2490
+ 96
2491
+ ], ct = [...Q, "auto"];
2492
+ function dt() {
2493
+ return Q.reduce(
2494
+ (e, t) => (e.gap[t] = `ksjsui-gap-${t}`, e.gapColumn[t] = `ksjsui-gap-x-${t}`, e.gapRow[t] = `ksjsui-gap-y-${t}`, e),
2495
+ { gap: {}, gapColumn: {}, gapRow: {} }
2496
+ );
2497
+ }
2498
+ function ut() {
2499
+ return ct.reduce(
2500
+ (e, t) => (e.m[t] = `ksjsui-m-${t}`, e.mb[t] = `ksjsui-mb-${t}`, e.me[t] = `ksjsui-me-${t}`, e.ms[t] = `ksjsui-ms-${t}`, e.mt[t] = `ksjsui-mt-${t}`, e.mx[t] = `ksjsui-mx-${t}`, e.my[t] = `ksjsui-my-${t}`, e),
2501
+ { m: {}, mb: {}, me: {}, ms: {}, mt: {}, mx: {}, my: {} }
2502
+ );
2503
+ }
2504
+ function pt() {
2505
+ return Q.reduce(
2506
+ (e, t) => (e.p[t] = `ksjsui-p-${t}`, e.pb[t] = `ksjsui-pb-${t}`, e.pe[t] = `ksjsui-pe-${t}`, e.ps[t] = `ksjsui-ps-${t}`, e.pt[t] = `ksjsui-pt-${t}`, e.px[t] = `ksjsui-px-${t}`, e.py[t] = `ksjsui-py-${t}`, e),
2507
+ { p: {}, pb: {}, pe: {}, ps: {}, pt: {}, px: {}, py: {} }
2508
+ );
2509
+ }
2510
+ const ft = {
2511
+ align: {
2512
+ baseline: "ksjsui-items-baseline",
2513
+ center: "ksjsui-items-center",
2514
+ end: "ksjsui-items-end",
2515
+ start: "ksjsui-items-start",
2516
+ stretch: "ksjsui-items-stretch"
2517
+ },
2518
+ direction: {
2519
+ "column-reverse": "ksjsui-flex-col-reverse",
2520
+ "row-reverse": "ksjsui-flex-row-reverse",
2521
+ column: "ksjsui-flex-col",
2522
+ row: "ksjsui-flex-row"
2523
+ },
2524
+ display: {
2525
+ "inline-flex": "ksjsui-inline-flex",
2526
+ flex: "ksjsui-flex",
2527
+ none: "ksjsui-hidden"
2528
+ },
2529
+ ...dt(),
2530
+ justify: {
2531
+ around: "ksjsui-justify-around",
2532
+ baseline: "ksjsui-justify-baseline",
2533
+ between: "ksjsui-justify-between",
2534
+ center: "ksjsui-justify-center",
2535
+ end: "ksjsui-justify-end",
2536
+ normal: "ksjsui-justify-normal",
2537
+ start: "ksjsui-justify-start",
2538
+ stretch: "ksjsui-justify-stretch"
2539
+ },
2540
+ ...ut(),
2541
+ ...pt(),
2542
+ wrap: {
2543
+ nowrap: "ksjsui-flex-nowrap",
2544
+ reverse: "ksjsui-flex-wrap-reverse",
2545
+ wrap: "ksjsui-flex-wrap"
2546
+ }
2547
+ }, bt = de("ksjsui-inline-flex", {
2548
+ variants: {
2549
+ ...ft
2550
+ },
2551
+ defaultVariants: {
2552
+ display: "flex",
2553
+ justify: "start"
2374
2554
  }
2375
- ), rr = v.forwardRef(
2376
- ({ className: e, variant: r, size: t, asChild: o = !1, ...s }, n) => /* @__PURE__ */ W(
2377
- o ? oe : "button",
2555
+ }), gt = x.forwardRef(
2556
+ ({
2557
+ align: e,
2558
+ as: t = "div",
2559
+ asChild: r,
2560
+ className: o,
2561
+ display: n,
2562
+ direction: s,
2563
+ gap: l,
2564
+ gapColumn: i,
2565
+ gapRow: d,
2566
+ justify: c,
2567
+ m: p,
2568
+ mb: h,
2569
+ me: m,
2570
+ ms: k,
2571
+ mt: w,
2572
+ mx: g,
2573
+ my: u,
2574
+ p: y,
2575
+ pb: v,
2576
+ pe: R,
2577
+ ps: j,
2578
+ pt: P,
2579
+ px: L,
2580
+ py: O,
2581
+ wrap: B,
2582
+ ...$
2583
+ }, V) => /* @__PURE__ */ N(
2584
+ r ? J : t,
2378
2585
  {
2379
- className: De(er({ variant: r, size: t, className: e })),
2380
- ref: n,
2381
- ...s
2586
+ className: he(
2587
+ bt({
2588
+ align: e,
2589
+ direction: s,
2590
+ display: n,
2591
+ gap: l,
2592
+ gapColumn: i,
2593
+ gapRow: d,
2594
+ justify: c,
2595
+ m: p,
2596
+ mb: h,
2597
+ me: m,
2598
+ ms: k,
2599
+ mt: w,
2600
+ mx: g,
2601
+ my: u,
2602
+ p: y,
2603
+ pb: v,
2604
+ pe: R,
2605
+ ps: j,
2606
+ pt: P,
2607
+ px: L,
2608
+ py: O,
2609
+ wrap: B,
2610
+ className: o
2611
+ })
2612
+ ),
2613
+ ref: V,
2614
+ ...$
2382
2615
  }
2383
2616
  )
2384
2617
  );
2385
- rr.displayName = "Button";
2618
+ gt.displayName = "Flex";
2386
2619
  export {
2387
- rr as Button
2620
+ at as Button,
2621
+ gt as Flex
2388
2622
  };