@byhandi/heroui-kit 0.1.1 → 0.2.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.
Files changed (42) hide show
  1. package/README.md +194 -9
  2. package/dist/autocomplete/Autocomplete.d.ts +12 -0
  3. package/dist/autocomplete/Autocomplete.d.ts.map +1 -0
  4. package/dist/autocomplete/AutocompleteWithRHFControl.d.ts +12 -0
  5. package/dist/autocomplete/AutocompleteWithRHFControl.d.ts.map +1 -0
  6. package/dist/autocomplete/index.d.ts +5 -0
  7. package/dist/autocomplete/index.d.ts.map +1 -0
  8. package/dist/button/index.d.ts +4 -0
  9. package/dist/button/index.d.ts.map +1 -0
  10. package/dist/checkbox/Checkbox.d.ts +4 -0
  11. package/dist/checkbox/Checkbox.d.ts.map +1 -0
  12. package/dist/checkbox/CheckboxGroup.d.ts +12 -0
  13. package/dist/checkbox/CheckboxGroup.d.ts.map +1 -0
  14. package/dist/checkbox/CheckboxGroupWithRHFControl.d.ts +12 -0
  15. package/dist/checkbox/CheckboxGroupWithRHFControl.d.ts.map +1 -0
  16. package/dist/checkbox/CheckboxWithRHFControl.d.ts +14 -0
  17. package/dist/checkbox/CheckboxWithRHFControl.d.ts.map +1 -0
  18. package/dist/checkbox/index.d.ts +8 -0
  19. package/dist/checkbox/index.d.ts.map +1 -0
  20. package/dist/index.cjs.js +2 -2
  21. package/dist/index.d.ts +6 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.es.js +3430 -198
  24. package/dist/input-number/InputNumber.d.ts +4 -0
  25. package/dist/input-number/InputNumber.d.ts.map +1 -0
  26. package/dist/input-number/InputNumberWithRHFControl.d.ts +10 -0
  27. package/dist/input-number/InputNumberWithRHFControl.d.ts.map +1 -0
  28. package/dist/input-number/index.d.ts +4 -0
  29. package/dist/input-number/index.d.ts.map +1 -0
  30. package/dist/select/Select.d.ts +12 -0
  31. package/dist/select/Select.d.ts.map +1 -0
  32. package/dist/select/SelectWithRHFControl.d.ts +12 -0
  33. package/dist/select/SelectWithRHFControl.d.ts.map +1 -0
  34. package/dist/select/index.d.ts +5 -0
  35. package/dist/select/index.d.ts.map +1 -0
  36. package/dist/textarea/Textarea.d.ts +4 -0
  37. package/dist/textarea/Textarea.d.ts.map +1 -0
  38. package/dist/textarea/TextareaWithRHFControl.d.ts +10 -0
  39. package/dist/textarea/TextareaWithRHFControl.d.ts.map +1 -0
  40. package/dist/textarea/index.d.ts +4 -0
  41. package/dist/textarea/index.d.ts.map +1 -0
  42. package/package.json +6 -6
package/dist/index.es.js CHANGED
@@ -1,308 +1,3540 @@
1
- import ee from "react";
2
- import { Input as re, cn as te } from "@heroui/react";
3
- import { Controller as ne } from "react-hook-form";
4
- var v = { exports: {} }, _ = {};
5
- var $;
6
- function ae() {
7
- if ($) return _;
8
- $ = 1;
9
- var s = /* @__PURE__ */ Symbol.for("react.transitional.element"), d = /* @__PURE__ */ Symbol.for("react.fragment");
10
- function f(l, o, u) {
1
+ import Xe from "react";
2
+ import { Input as Ze, cn as Ce, NumberInput as Qe, Textarea as Ke, Select as er, SelectItem as rr, Autocomplete as tr, AutocompleteItem as or, Checkbox as nr, CheckboxGroup as sr } from "@heroui/react";
3
+ import { Controller as B } from "react-hook-form";
4
+ var me = { exports: {} }, se = {};
5
+ var Ee;
6
+ function ar() {
7
+ if (Ee) return se;
8
+ Ee = 1;
9
+ var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.fragment");
10
+ function t(o, s, a) {
11
11
  var i = null;
12
- if (u !== void 0 && (i = "" + u), o.key !== void 0 && (i = "" + o.key), "key" in o) {
13
- u = {};
14
- for (var c in o)
15
- c !== "key" && (u[c] = o[c]);
16
- } else u = o;
17
- return o = u.ref, {
18
- $$typeof: s,
19
- type: l,
12
+ if (a !== void 0 && (i = "" + a), s.key !== void 0 && (i = "" + s.key), "key" in s) {
13
+ a = {};
14
+ for (var d in s)
15
+ d !== "key" && (a[d] = s[d]);
16
+ } else a = s;
17
+ return s = a.ref, {
18
+ $$typeof: e,
19
+ type: o,
20
20
  key: i,
21
- ref: o !== void 0 ? o : null,
22
- props: u
21
+ ref: s !== void 0 ? s : null,
22
+ props: a
23
23
  };
24
24
  }
25
- return _.Fragment = d, _.jsx = f, _.jsxs = f, _;
25
+ return se.Fragment = r, se.jsx = t, se.jsxs = t, se;
26
26
  }
27
- var E = {};
28
- var F;
29
- function oe() {
30
- return F || (F = 1, process.env.NODE_ENV !== "production" && (function() {
31
- function s(e) {
32
- if (e == null) return null;
33
- if (typeof e == "function")
34
- return e.$$typeof === Z ? null : e.displayName || e.name || null;
35
- if (typeof e == "string") return e;
36
- switch (e) {
37
- case b:
27
+ var ae = {};
28
+ var Ae;
29
+ function ir() {
30
+ return Ae || (Ae = 1, process.env.NODE_ENV !== "production" && (function() {
31
+ function e(n) {
32
+ if (n == null) return null;
33
+ if (typeof n == "function")
34
+ return n.$$typeof === de ? null : n.displayName || n.name || null;
35
+ if (typeof n == "string") return n;
36
+ switch (n) {
37
+ case R:
38
38
  return "Fragment";
39
- case U:
39
+ case H:
40
40
  return "Profiler";
41
- case L:
41
+ case N:
42
42
  return "StrictMode";
43
- case G:
43
+ case I:
44
44
  return "Suspense";
45
- case X:
45
+ case D:
46
46
  return "SuspenseList";
47
- case H:
47
+ case ce:
48
48
  return "Activity";
49
49
  }
50
- if (typeof e == "object")
51
- switch (typeof e.tag == "number" && console.error(
50
+ if (typeof n == "object")
51
+ switch (typeof n.tag == "number" && console.error(
52
52
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
53
- ), e.$$typeof) {
54
- case M:
53
+ ), n.$$typeof) {
54
+ case _:
55
55
  return "Portal";
56
- case V:
57
- return e.displayName || "Context";
58
- case J:
59
- return (e._context.displayName || "Context") + ".Consumer";
60
- case z:
61
- var r = e.render;
62
- return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
63
- case B:
64
- return r = e.displayName || null, r !== null ? r : s(e.type) || "Memo";
65
- case T:
66
- r = e._payload, e = e._init;
56
+ case F:
57
+ return n.displayName || "Context";
58
+ case Y:
59
+ return (n._context.displayName || "Context") + ".Consumer";
60
+ case L:
61
+ var p = n.render;
62
+ return n = n.displayName, n || (n = p.displayName || p.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
63
+ case f:
64
+ return p = n.displayName || null, p !== null ? p : e(n.type) || "Memo";
65
+ case E:
66
+ p = n._payload, n = n._init;
67
67
  try {
68
- return s(e(r));
68
+ return e(n(p));
69
69
  } catch {
70
70
  }
71
71
  }
72
72
  return null;
73
73
  }
74
- function d(e) {
75
- return "" + e;
74
+ function r(n) {
75
+ return "" + n;
76
76
  }
77
- function f(e) {
77
+ function t(n) {
78
78
  try {
79
- d(e);
80
- var r = !1;
79
+ r(n);
80
+ var p = !1;
81
81
  } catch {
82
- r = !0;
82
+ p = !0;
83
83
  }
84
- if (r) {
85
- r = console;
86
- var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
87
- return t.call(
88
- r,
84
+ if (p) {
85
+ p = console;
86
+ var b = p.error, x = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
87
+ return b.call(
88
+ p,
89
89
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
90
- n
91
- ), d(e);
90
+ x
91
+ ), r(n);
92
92
  }
93
93
  }
94
- function l(e) {
95
- if (e === b) return "<>";
96
- if (typeof e == "object" && e !== null && e.$$typeof === T)
94
+ function o(n) {
95
+ if (n === R) return "<>";
96
+ if (typeof n == "object" && n !== null && n.$$typeof === E)
97
97
  return "<...>";
98
98
  try {
99
- var r = s(e);
100
- return r ? "<" + r + ">" : "<...>";
99
+ var p = e(n);
100
+ return p ? "<" + p + ">" : "<...>";
101
101
  } catch {
102
102
  return "<...>";
103
103
  }
104
104
  }
105
- function o() {
106
- var e = k.A;
107
- return e === null ? null : e.getOwner();
105
+ function s() {
106
+ var n = W.A;
107
+ return n === null ? null : n.getOwner();
108
108
  }
109
- function u() {
109
+ function a() {
110
110
  return Error("react-stack-top-frame");
111
111
  }
112
- function i(e) {
113
- if (w.call(e, "key")) {
114
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
115
- if (r && r.isReactWarning) return !1;
112
+ function i(n) {
113
+ if (re.call(n, "key")) {
114
+ var p = Object.getOwnPropertyDescriptor(n, "key").get;
115
+ if (p && p.isReactWarning) return !1;
116
116
  }
117
- return e.key !== void 0;
117
+ return n.key !== void 0;
118
118
  }
119
- function c(e, r) {
120
- function t() {
121
- y || (y = !0, console.error(
119
+ function d(n, p) {
120
+ function b() {
121
+ S || (S = !0, console.error(
122
122
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
123
- r
123
+ p
124
124
  ));
125
125
  }
126
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
127
- get: t,
126
+ b.isReactWarning = !0, Object.defineProperty(n, "key", {
127
+ get: b,
128
128
  configurable: !0
129
129
  });
130
130
  }
131
- function D() {
132
- var e = s(this.type);
133
- return N[e] || (N[e] = !0, console.error(
131
+ function u() {
132
+ var n = e(this.type);
133
+ return M[n] || (M[n] = !0, console.error(
134
134
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
135
- )), e = this.props.ref, e !== void 0 ? e : null;
136
- }
137
- function q(e, r, t, n, p, x) {
138
- var a = t.ref;
139
- return e = {
140
- $$typeof: j,
141
- type: e,
142
- key: r,
143
- props: t,
144
- _owner: n
145
- }, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
135
+ )), n = this.props.ref, n !== void 0 ? n : null;
136
+ }
137
+ function v(n, p, b, x, O, J) {
138
+ var h = b.ref;
139
+ return n = {
140
+ $$typeof: P,
141
+ type: n,
142
+ key: p,
143
+ props: b,
144
+ _owner: x
145
+ }, (h !== void 0 ? h : null) !== null ? Object.defineProperty(n, "ref", {
146
146
  enumerable: !1,
147
- get: D
148
- }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
147
+ get: u
148
+ }) : Object.defineProperty(n, "ref", { enumerable: !1, value: null }), n._store = {}, Object.defineProperty(n._store, "validated", {
149
149
  configurable: !1,
150
150
  enumerable: !1,
151
151
  writable: !0,
152
152
  value: 0
153
- }), Object.defineProperty(e, "_debugInfo", {
153
+ }), Object.defineProperty(n, "_debugInfo", {
154
154
  configurable: !1,
155
155
  enumerable: !1,
156
156
  writable: !0,
157
157
  value: null
158
- }), Object.defineProperty(e, "_debugStack", {
158
+ }), Object.defineProperty(n, "_debugStack", {
159
159
  configurable: !1,
160
160
  enumerable: !1,
161
161
  writable: !0,
162
- value: p
163
- }), Object.defineProperty(e, "_debugTask", {
162
+ value: O
163
+ }), Object.defineProperty(n, "_debugTask", {
164
164
  configurable: !1,
165
165
  enumerable: !1,
166
166
  writable: !0,
167
- value: x
168
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
169
- }
170
- function g(e, r, t, n, p, x) {
171
- var a = r.children;
172
- if (a !== void 0)
173
- if (n)
174
- if (Q(a)) {
175
- for (n = 0; n < a.length; n++)
176
- h(a[n]);
177
- Object.freeze && Object.freeze(a);
167
+ value: J
168
+ }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
169
+ }
170
+ function y(n, p, b, x, O, J) {
171
+ var h = p.children;
172
+ if (h !== void 0)
173
+ if (x)
174
+ if (te(h)) {
175
+ for (x = 0; x < h.length; x++)
176
+ T(h[x]);
177
+ Object.freeze && Object.freeze(h);
178
178
  } else
179
179
  console.error(
180
180
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
181
181
  );
182
- else h(a);
183
- if (w.call(r, "key")) {
184
- a = s(e);
185
- var m = Object.keys(r).filter(function(K) {
186
- return K !== "key";
182
+ else T(h);
183
+ if (re.call(p, "key")) {
184
+ h = e(n);
185
+ var G = Object.keys(p).filter(function(X) {
186
+ return X !== "key";
187
187
  });
188
- n = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", I[a + n] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error(
188
+ x = 0 < G.length ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}", ne[h + x] || (G = 0 < G.length ? "{" + G.join(": ..., ") + ": ...}" : "{}", console.error(
189
189
  `A props object containing a "key" prop is being spread into JSX:
190
190
  let props = %s;
191
191
  <%s {...props} />
192
192
  React keys must be passed directly to JSX without using spread:
193
193
  let props = %s;
194
194
  <%s key={someKey} {...props} />`,
195
- n,
196
- a,
197
- m,
198
- a
199
- ), I[a + n] = !0);
195
+ x,
196
+ h,
197
+ G,
198
+ h
199
+ ), ne[h + x] = !0);
200
200
  }
201
- if (a = null, t !== void 0 && (f(t), a = "" + t), i(r) && (f(r.key), a = "" + r.key), "key" in r) {
202
- t = {};
203
- for (var A in r)
204
- A !== "key" && (t[A] = r[A]);
205
- } else t = r;
206
- return a && c(
207
- t,
208
- typeof e == "function" ? e.displayName || e.name || "Unknown" : e
209
- ), q(
210
- e,
211
- a,
212
- t,
213
- o(),
214
- p,
215
- x
201
+ if (h = null, b !== void 0 && (t(b), h = "" + b), i(p) && (t(p.key), h = "" + p.key), "key" in p) {
202
+ b = {};
203
+ for (var $ in p)
204
+ $ !== "key" && (b[$] = p[$]);
205
+ } else b = p;
206
+ return h && d(
207
+ b,
208
+ typeof n == "function" ? n.displayName || n.name || "Unknown" : n
209
+ ), v(
210
+ n,
211
+ h,
212
+ b,
213
+ s(),
214
+ O,
215
+ J
216
216
  );
217
217
  }
218
- function h(e) {
219
- S(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? S(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
218
+ function T(n) {
219
+ C(n) ? n._store && (n._store.validated = 1) : typeof n == "object" && n !== null && n.$$typeof === E && (n._payload.status === "fulfilled" ? C(n._payload.value) && n._payload.value._store && (n._payload.value._store.validated = 1) : n._store && (n._store.validated = 1));
220
220
  }
221
- function S(e) {
222
- return typeof e == "object" && e !== null && e.$$typeof === j;
221
+ function C(n) {
222
+ return typeof n == "object" && n !== null && n.$$typeof === P;
223
223
  }
224
- var R = ee, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), M = /* @__PURE__ */ Symbol.for("react.portal"), b = /* @__PURE__ */ Symbol.for("react.fragment"), L = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), z = /* @__PURE__ */ Symbol.for("react.forward_ref"), G = /* @__PURE__ */ Symbol.for("react.suspense"), X = /* @__PURE__ */ Symbol.for("react.suspense_list"), B = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), H = /* @__PURE__ */ Symbol.for("react.activity"), Z = /* @__PURE__ */ Symbol.for("react.client.reference"), k = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, w = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
224
+ var A = Xe, P = /* @__PURE__ */ Symbol.for("react.transitional.element"), _ = /* @__PURE__ */ Symbol.for("react.portal"), R = /* @__PURE__ */ Symbol.for("react.fragment"), N = /* @__PURE__ */ Symbol.for("react.strict_mode"), H = /* @__PURE__ */ Symbol.for("react.profiler"), Y = /* @__PURE__ */ Symbol.for("react.consumer"), F = /* @__PURE__ */ Symbol.for("react.context"), L = /* @__PURE__ */ Symbol.for("react.forward_ref"), I = /* @__PURE__ */ Symbol.for("react.suspense"), D = /* @__PURE__ */ Symbol.for("react.suspense_list"), f = /* @__PURE__ */ Symbol.for("react.memo"), E = /* @__PURE__ */ Symbol.for("react.lazy"), ce = /* @__PURE__ */ Symbol.for("react.activity"), de = /* @__PURE__ */ Symbol.for("react.client.reference"), W = A.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, re = Object.prototype.hasOwnProperty, te = Array.isArray, z = console.createTask ? console.createTask : function() {
225
225
  return null;
226
226
  };
227
- R = {
228
- react_stack_bottom_frame: function(e) {
229
- return e();
227
+ A = {
228
+ react_stack_bottom_frame: function(n) {
229
+ return n();
230
230
  }
231
231
  };
232
- var y, N = {}, C = R.react_stack_bottom_frame.bind(
233
- R,
234
- u
235
- )(), Y = O(l(u)), I = {};
236
- E.Fragment = b, E.jsx = function(e, r, t) {
237
- var n = 1e4 > k.recentlyCreatedOwnerStacks++;
238
- return g(
239
- e,
240
- r,
241
- t,
232
+ var S, M = {}, m = A.react_stack_bottom_frame.bind(
233
+ A,
234
+ a
235
+ )(), oe = z(o(a)), ne = {};
236
+ ae.Fragment = R, ae.jsx = function(n, p, b) {
237
+ var x = 1e4 > W.recentlyCreatedOwnerStacks++;
238
+ return y(
239
+ n,
240
+ p,
241
+ b,
242
242
  !1,
243
- n ? Error("react-stack-top-frame") : C,
244
- n ? O(l(e)) : Y
243
+ x ? Error("react-stack-top-frame") : m,
244
+ x ? z(o(n)) : oe
245
245
  );
246
- }, E.jsxs = function(e, r, t) {
247
- var n = 1e4 > k.recentlyCreatedOwnerStacks++;
248
- return g(
249
- e,
250
- r,
251
- t,
246
+ }, ae.jsxs = function(n, p, b) {
247
+ var x = 1e4 > W.recentlyCreatedOwnerStacks++;
248
+ return y(
249
+ n,
250
+ p,
251
+ b,
252
252
  !0,
253
- n ? Error("react-stack-top-frame") : C,
254
- n ? O(l(e)) : Y
253
+ x ? Error("react-stack-top-frame") : m,
254
+ x ? z(o(n)) : oe
255
255
  );
256
256
  };
257
- })()), E;
257
+ })()), ae;
258
258
  }
259
- var W;
260
- function se() {
261
- return W || (W = 1, process.env.NODE_ENV === "production" ? v.exports = ae() : v.exports = oe()), v.exports;
259
+ var Se;
260
+ function lr() {
261
+ return Se || (Se = 1, process.env.NODE_ENV === "production" ? me.exports = ar() : me.exports = ir()), me.exports;
262
262
  }
263
- var P = se();
264
- function ue(s) {
265
- return /* @__PURE__ */ P.jsx(
266
- re,
263
+ var k = lr();
264
+ function cr(e) {
265
+ return /* @__PURE__ */ k.jsx(
266
+ Ze,
267
267
  {
268
268
  variant: "bordered",
269
269
  radius: "sm",
270
270
  labelPlacement: "outside",
271
271
  placeholder: "Type here",
272
272
  validationBehavior: "aria",
273
- ...s,
273
+ ...e,
274
274
  classNames: {
275
- ...s.classNames,
276
- inputWrapper: te("bg-white dark:bg-default", [s.classNames?.inputWrapper])
275
+ ...e.classNames,
276
+ inputWrapper: Ce("bg-white dark:bg-default", [e.classNames?.inputWrapper])
277
277
  }
278
278
  }
279
279
  );
280
280
  }
281
- function fe(s) {
282
- const { control: d, name: f, rules: l = {}, ...o } = s, u = {
283
- ...l,
284
- ...o.isRequired && !l?.required ? { required: "This field is required" } : {}
281
+ function yt(e) {
282
+ const { control: r, name: t, rules: o = {}, ...s } = e, a = {
283
+ ...o,
284
+ ...s.isRequired && !o?.required ? { required: "This field is required" } : {}
285
285
  };
286
- return /* @__PURE__ */ P.jsx(
287
- ne,
286
+ return /* @__PURE__ */ k.jsx(
287
+ B,
288
288
  {
289
- control: d,
290
- name: f,
291
- rules: u,
292
- render: ({ field: i, fieldState: c }) => /* @__PURE__ */ P.jsx(
293
- ue,
289
+ control: r,
290
+ name: t,
291
+ rules: a,
292
+ render: ({ field: i, fieldState: d }) => /* @__PURE__ */ k.jsx(
293
+ cr,
294
294
  {
295
295
  ...i,
296
- ...o,
296
+ ...s,
297
297
  value: i.value ?? "",
298
- isInvalid: !!c.error,
299
- errorMessage: c.error?.message
298
+ isInvalid: !!d.error,
299
+ errorMessage: d.error?.message
300
+ }
301
+ )
302
+ }
303
+ );
304
+ }
305
+ function dr(e) {
306
+ return /* @__PURE__ */ k.jsx(Qe, { variant: "bordered", labelPlacement: "outside", placeholder: "0", ...e });
307
+ }
308
+ function wt(e) {
309
+ const { control: r, name: t, rules: o = {}, ...s } = e, a = {
310
+ ...o,
311
+ ...s.isRequired && !o?.required ? { required: "This field is required" } : {}
312
+ };
313
+ return /* @__PURE__ */ k.jsx(
314
+ B,
315
+ {
316
+ control: r,
317
+ name: t,
318
+ rules: a,
319
+ render: ({ field: { onChange: i, ...d }, fieldState: u }) => /* @__PURE__ */ k.jsx(
320
+ dr,
321
+ {
322
+ ...d,
323
+ ...s,
324
+ onValueChange: (v) => i(v),
325
+ isInvalid: !!u.error,
326
+ errorMessage: u.error?.message
327
+ }
328
+ )
329
+ }
330
+ );
331
+ }
332
+ function ur(e) {
333
+ return /* @__PURE__ */ k.jsx(
334
+ Ke,
335
+ {
336
+ variant: "bordered",
337
+ labelPlacement: "outside",
338
+ placeholder: "Type here",
339
+ validationBehavior: "aria",
340
+ ...e
341
+ }
342
+ );
343
+ }
344
+ function Rt(e) {
345
+ const { control: r, name: t, rules: o = {}, ...s } = e, a = {
346
+ ...o,
347
+ ...s.isRequired && !o?.required ? { required: "This field is required" } : {}
348
+ };
349
+ return /* @__PURE__ */ k.jsx(
350
+ B,
351
+ {
352
+ control: r,
353
+ name: t,
354
+ rules: a,
355
+ render: ({ field: i, fieldState: d }) => /* @__PURE__ */ k.jsx(
356
+ ur,
357
+ {
358
+ ...i,
359
+ ...s,
360
+ isInvalid: !!d.error,
361
+ errorMessage: d.error?.message
362
+ }
363
+ )
364
+ }
365
+ );
366
+ }
367
+ function mr({ options: e, ...r }) {
368
+ return /* @__PURE__ */ k.jsx(
369
+ er,
370
+ {
371
+ variant: "bordered",
372
+ labelPlacement: "outside",
373
+ placeholder: "Select one of the options",
374
+ ...r,
375
+ classNames: {
376
+ ...r.classNames,
377
+ popoverContent: Ce("rounded-md", r.classNames?.popoverContent)
378
+ },
379
+ children: e.map((t) => /* @__PURE__ */ k.jsx(rr, { children: t.label }, t.value))
380
+ }
381
+ );
382
+ }
383
+ function Tt(e) {
384
+ const { control: r, name: t, rules: o = {}, ...s } = e, a = {
385
+ ...o,
386
+ ...s.isRequired && !o?.required ? { required: "This field is required" } : {}
387
+ };
388
+ return /* @__PURE__ */ k.jsx(
389
+ B,
390
+ {
391
+ control: r,
392
+ name: t,
393
+ rules: a,
394
+ render: ({ field: i, fieldState: d }) => /* @__PURE__ */ k.jsx(
395
+ mr,
396
+ {
397
+ ...i,
398
+ ...s,
399
+ isInvalid: !!d.error,
400
+ errorMessage: d.error?.message
300
401
  }
301
402
  )
302
403
  }
303
404
  );
304
405
  }
406
+ function fr({ options: e = [], ...r }) {
407
+ return /* @__PURE__ */ k.jsx(
408
+ tr,
409
+ {
410
+ variant: "bordered",
411
+ labelPlacement: "outside",
412
+ placeholder: "Type to search",
413
+ validationBehavior: "aria",
414
+ items: e,
415
+ ...r,
416
+ classNames: {
417
+ ...r.classNames,
418
+ popoverContent: Ce("rounded-md", r.classNames?.popoverContent)
419
+ },
420
+ children: (t) => /* @__PURE__ */ k.jsx(or, { children: t.label }, t.value)
421
+ }
422
+ );
423
+ }
424
+ function Ct(e) {
425
+ const { control: r, name: t, rules: o = {}, ...s } = e, a = {
426
+ ...o,
427
+ ...s.isRequired && !o?.required ? { required: "This field is required" } : {}
428
+ };
429
+ return /* @__PURE__ */ k.jsx(
430
+ B,
431
+ {
432
+ control: r,
433
+ name: t,
434
+ rules: a,
435
+ render: ({ field: { onChange: i, ...d }, fieldState: u }) => /* @__PURE__ */ k.jsx(
436
+ fr,
437
+ {
438
+ ...d,
439
+ ...s,
440
+ onSelectionChange: i,
441
+ isInvalid: !!u.error,
442
+ errorMessage: u.error?.message
443
+ }
444
+ )
445
+ }
446
+ );
447
+ }
448
+ var pr = {
449
+ /**
450
+ * Custom utilities
451
+ */
452
+ ".leading-inherit": {
453
+ "line-height": "inherit"
454
+ },
455
+ ".bg-img-inherit": {
456
+ "background-image": "inherit"
457
+ },
458
+ ".bg-clip-inherit": {
459
+ "background-clip": "inherit"
460
+ },
461
+ ".text-fill-inherit": {
462
+ "-webkit-text-fill-color": "inherit"
463
+ },
464
+ ".tap-highlight-transparent": {
465
+ "-webkit-tap-highlight-color": "transparent"
466
+ },
467
+ ".input-search-cancel-button-none": {
468
+ "&::-webkit-search-cancel-button": {
469
+ "-webkit-appearance": "none"
470
+ }
471
+ }
472
+ }, gr = {
473
+ /**
474
+ * Scroll Hide
475
+ */
476
+ ".scrollbar-hide": {
477
+ /* IE and Edge */
478
+ "-ms-overflow-style": "none",
479
+ /* Firefox */
480
+ "scrollbar-width": "none",
481
+ /* Safari and Chrome */
482
+ "&::-webkit-scrollbar": {
483
+ display: "none"
484
+ }
485
+ },
486
+ ".scrollbar-default": {
487
+ /* IE and Edge */
488
+ "-ms-overflow-style": "auto",
489
+ /* Firefox */
490
+ "scrollbar-width": "auto",
491
+ /* Safari and Chrome */
492
+ "&::-webkit-scrollbar": {
493
+ display: "block"
494
+ }
495
+ }
496
+ }, br = {
497
+ /**
498
+ * Text utilities
499
+ */
500
+ ".text-tiny": {
501
+ "font-size": "var(--heroui-font-size-tiny)",
502
+ "line-height": "var(--heroui-line-height-tiny)"
503
+ },
504
+ ".text-small": {
505
+ "font-size": "var(--heroui-font-size-small)",
506
+ "line-height": "var(--heroui-line-height-small)"
507
+ },
508
+ ".text-medium": {
509
+ "font-size": "var(--heroui-font-size-medium)",
510
+ "line-height": "var(--heroui-line-height-medium)"
511
+ },
512
+ ".text-large": {
513
+ "font-size": "var(--heroui-font-size-large)",
514
+ "line-height": "var(--heroui-line-height-large)"
515
+ }
516
+ }, j = "250ms", hr = {
517
+ /**
518
+ * Transition utilities
519
+ */
520
+ ".transition-background": {
521
+ "transition-property": "background",
522
+ "transition-timing-function": "ease",
523
+ "transition-duration": j
524
+ },
525
+ ".transition-colors-opacity": {
526
+ "transition-property": "color, background-color, border-color, text-decoration-color, fill, stroke, opacity",
527
+ "transition-timing-function": "ease",
528
+ "transition-duration": j
529
+ },
530
+ ".transition-width": {
531
+ "transition-property": "width",
532
+ "transition-timing-function": "ease",
533
+ "transition-duration": j
534
+ },
535
+ ".transition-height": {
536
+ "transition-property": "height",
537
+ "transition-timing-function": "ease",
538
+ "transition-duration": j
539
+ },
540
+ ".transition-size": {
541
+ "transition-property": "width, height",
542
+ "transition-timing-function": "ease",
543
+ "transition-duration": j
544
+ },
545
+ ".transition-left": {
546
+ "transition-property": "left",
547
+ "transition-timing-function": "ease",
548
+ "transition-duration": j
549
+ },
550
+ ".transition-transform-opacity": {
551
+ "transition-property": "transform, scale, opacity rotate",
552
+ "transition-timing-function": "ease",
553
+ "transition-duration": j
554
+ },
555
+ ".transition-transform-background": {
556
+ "transition-property": "transform, scale, background",
557
+ "transition-timing-function": "ease",
558
+ "transition-duration": j
559
+ },
560
+ ".transition-transform-colors": {
561
+ "transition-property": "transform, scale, color, background, background-color, border-color, text-decoration-color, fill, stroke",
562
+ "transition-timing-function": "ease",
563
+ "transition-duration": j
564
+ },
565
+ ".transition-transform-colors-opacity": {
566
+ "transition-property": "transform, scale, color, background, background-color, border-color, text-decoration-color, fill, stroke, opacity",
567
+ "transition-timing-function": "ease",
568
+ "transition-duration": j
569
+ }
570
+ }, xr = {
571
+ /** Animation Utilities */
572
+ ".spinner-bar-animation": {
573
+ animation: "fade-out 1.2s linear infinite",
574
+ "animation-delay": "calc(-1.2s + (0.1s * var(--bar-index)))",
575
+ transform: "rotate(calc(30deg * var(--bar-index))) translate(140%)"
576
+ },
577
+ ".spinner-dot-animation": {
578
+ "animation-delay": "calc(250ms * var(--dot-index))"
579
+ },
580
+ ".spinner-dot-blink-animation": {
581
+ "animation-delay": "calc(200ms * var(--dot-index))"
582
+ }
583
+ }, vr = {
584
+ ...pr,
585
+ ...hr,
586
+ ...gr,
587
+ ...br,
588
+ ...xr
589
+ }, fe = ["small", "medium", "large"], kr = {
590
+ theme: {
591
+ spacing: ["divider"],
592
+ radius: fe
593
+ },
594
+ classGroups: {
595
+ shadow: [{ shadow: fe }],
596
+ opacity: [{ opacity: ["disabled"] }],
597
+ "font-size": [{ text: ["tiny", ...fe] }],
598
+ "border-w": [{ border: fe }],
599
+ "bg-image": [
600
+ "bg-stripe-gradient-default",
601
+ "bg-stripe-gradient-primary",
602
+ "bg-stripe-gradient-secondary",
603
+ "bg-stripe-gradient-success",
604
+ "bg-stripe-gradient-warning",
605
+ "bg-stripe-gradient-danger"
606
+ ],
607
+ transition: Object.keys(vr).filter((e) => e.includes(".transition")).map((e) => e.replace(".", ""))
608
+ // remove the dot from the key, .transition-background -> transition-background
609
+ }
610
+ }, yr = /\s+/g, wr = (e) => typeof e != "string" || !e ? e : e.replace(yr, " ").trim(), Rr = (...e) => {
611
+ const r = [], t = (o) => {
612
+ if (!o && o !== 0 && o !== 0n) return;
613
+ if (Array.isArray(o)) {
614
+ for (let a = 0, i = o.length; a < i; a++) t(o[a]);
615
+ return;
616
+ }
617
+ const s = typeof o;
618
+ if (s === "string" || s === "number" || s === "bigint") {
619
+ if (s === "number" && o !== o) return;
620
+ r.push(String(o));
621
+ } else if (s === "object") {
622
+ const a = Object.keys(o);
623
+ for (let i = 0, d = a.length; i < d; i++) {
624
+ const u = a[i];
625
+ o[u] && r.push(u);
626
+ }
627
+ }
628
+ };
629
+ for (let o = 0, s = e.length; o < s; o++) {
630
+ const a = e[o];
631
+ a != null && t(a);
632
+ }
633
+ return r.length > 0 ? wr(r.join(" ")) : void 0;
634
+ }, Tr = (e) => {
635
+ if (!e || typeof e != "object") return !0;
636
+ for (const r in e) return !1;
637
+ return !0;
638
+ };
639
+ function Cr() {
640
+ let e = null, r = {}, t = !1;
641
+ return {
642
+ get cachedTwMerge() {
643
+ return e;
644
+ },
645
+ set cachedTwMerge(o) {
646
+ e = o;
647
+ },
648
+ get cachedTwMergeConfig() {
649
+ return r;
650
+ },
651
+ set cachedTwMergeConfig(o) {
652
+ r = o;
653
+ },
654
+ get didTwMergeConfigChange() {
655
+ return t;
656
+ },
657
+ set didTwMergeConfigChange(o) {
658
+ t = o;
659
+ },
660
+ reset() {
661
+ e = null, r = {}, t = !1;
662
+ }
663
+ };
664
+ }
665
+ var Z = Cr();
666
+ const _r = (e, r) => {
667
+ const t = new Array(e.length + r.length);
668
+ for (let o = 0; o < e.length; o++)
669
+ t[o] = e[o];
670
+ for (let o = 0; o < r.length; o++)
671
+ t[e.length + o] = r[o];
672
+ return t;
673
+ }, Er = (e, r) => ({
674
+ classGroupId: e,
675
+ validator: r
676
+ }), Ie = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
677
+ nextPart: e,
678
+ validators: r,
679
+ classGroupId: t
680
+ }), xe = "-", Pe = [], Ar = "arbitrary..", Sr = (e) => {
681
+ const r = zr(e), {
682
+ conflictingClassGroups: t,
683
+ conflictingClassGroupModifiers: o
684
+ } = e;
685
+ return {
686
+ getClassGroupId: (i) => {
687
+ if (i.startsWith("[") && i.endsWith("]"))
688
+ return Pr(i);
689
+ const d = i.split(xe), u = d[0] === "" && d.length > 1 ? 1 : 0;
690
+ return Oe(d, u, r);
691
+ },
692
+ getConflictingClassGroupIds: (i, d) => {
693
+ if (d) {
694
+ const u = o[i], v = t[i];
695
+ return u ? v ? _r(v, u) : u : v || Pe;
696
+ }
697
+ return t[i] || Pe;
698
+ }
699
+ };
700
+ }, Oe = (e, r, t) => {
701
+ if (e.length - r === 0)
702
+ return t.classGroupId;
703
+ const s = e[r], a = t.nextPart.get(s);
704
+ if (a) {
705
+ const v = Oe(e, r + 1, a);
706
+ if (v) return v;
707
+ }
708
+ const i = t.validators;
709
+ if (i === null)
710
+ return;
711
+ const d = r === 0 ? e.join(xe) : e.slice(r).join(xe), u = i.length;
712
+ for (let v = 0; v < u; v++) {
713
+ const y = i[v];
714
+ if (y.validator(d))
715
+ return y.classGroupId;
716
+ }
717
+ }, Pr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
718
+ const r = e.slice(1, -1), t = r.indexOf(":"), o = r.slice(0, t);
719
+ return o ? Ar + o : void 0;
720
+ })(), zr = (e) => {
721
+ const {
722
+ theme: r,
723
+ classGroups: t
724
+ } = e;
725
+ return Mr(t, r);
726
+ }, Mr = (e, r) => {
727
+ const t = Ie();
728
+ for (const o in e) {
729
+ const s = e[o];
730
+ _e(s, t, o, r);
731
+ }
732
+ return t;
733
+ }, _e = (e, r, t, o) => {
734
+ const s = e.length;
735
+ for (let a = 0; a < s; a++) {
736
+ const i = e[a];
737
+ jr(i, r, t, o);
738
+ }
739
+ }, jr = (e, r, t, o) => {
740
+ if (typeof e == "string") {
741
+ Nr(e, r, t);
742
+ return;
743
+ }
744
+ if (typeof e == "function") {
745
+ Ir(e, r, t, o);
746
+ return;
747
+ }
748
+ Or(e, r, t, o);
749
+ }, Nr = (e, r, t) => {
750
+ const o = e === "" ? r : Ge(r, e);
751
+ o.classGroupId = t;
752
+ }, Ir = (e, r, t, o) => {
753
+ if (Gr(e)) {
754
+ _e(e(o), r, t, o);
755
+ return;
756
+ }
757
+ r.validators === null && (r.validators = []), r.validators.push(Er(t, e));
758
+ }, Or = (e, r, t, o) => {
759
+ const s = Object.entries(e), a = s.length;
760
+ for (let i = 0; i < a; i++) {
761
+ const [d, u] = s[i];
762
+ _e(u, Ge(r, d), t, o);
763
+ }
764
+ }, Ge = (e, r) => {
765
+ let t = e;
766
+ const o = r.split(xe), s = o.length;
767
+ for (let a = 0; a < s; a++) {
768
+ const i = o[a];
769
+ let d = t.nextPart.get(i);
770
+ d || (d = Ie(), t.nextPart.set(i, d)), t = d;
771
+ }
772
+ return t;
773
+ }, Gr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, qr = (e) => {
774
+ if (e < 1)
775
+ return {
776
+ get: () => {
777
+ },
778
+ set: () => {
779
+ }
780
+ };
781
+ let r = 0, t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
782
+ const s = (a, i) => {
783
+ t[a] = i, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
784
+ };
785
+ return {
786
+ get(a) {
787
+ let i = t[a];
788
+ if (i !== void 0)
789
+ return i;
790
+ if ((i = o[a]) !== void 0)
791
+ return s(a, i), i;
792
+ },
793
+ set(a, i) {
794
+ a in t ? t[a] = i : s(a, i);
795
+ }
796
+ };
797
+ }, we = "!", ze = ":", Fr = [], Me = (e, r, t, o, s) => ({
798
+ modifiers: e,
799
+ hasImportantModifier: r,
800
+ baseClassName: t,
801
+ maybePostfixModifierPosition: o,
802
+ isExternal: s
803
+ }), Lr = (e) => {
804
+ const {
805
+ prefix: r,
806
+ experimentalParseClassName: t
807
+ } = e;
808
+ let o = (s) => {
809
+ const a = [];
810
+ let i = 0, d = 0, u = 0, v;
811
+ const y = s.length;
812
+ for (let _ = 0; _ < y; _++) {
813
+ const R = s[_];
814
+ if (i === 0 && d === 0) {
815
+ if (R === ze) {
816
+ a.push(s.slice(u, _)), u = _ + 1;
817
+ continue;
818
+ }
819
+ if (R === "/") {
820
+ v = _;
821
+ continue;
822
+ }
823
+ }
824
+ R === "[" ? i++ : R === "]" ? i-- : R === "(" ? d++ : R === ")" && d--;
825
+ }
826
+ const T = a.length === 0 ? s : s.slice(u);
827
+ let C = T, A = !1;
828
+ T.endsWith(we) ? (C = T.slice(0, -1), A = !0) : (
829
+ /**
830
+ * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
831
+ * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
832
+ */
833
+ T.startsWith(we) && (C = T.slice(1), A = !0)
834
+ );
835
+ const P = v && v > u ? v - u : void 0;
836
+ return Me(a, A, C, P);
837
+ };
838
+ if (r) {
839
+ const s = r + ze, a = o;
840
+ o = (i) => i.startsWith(s) ? a(i.slice(s.length)) : Me(Fr, !1, i, void 0, !0);
841
+ }
842
+ if (t) {
843
+ const s = o;
844
+ o = (a) => t({
845
+ className: a,
846
+ parseClassName: s
847
+ });
848
+ }
849
+ return o;
850
+ }, Wr = (e) => {
851
+ const r = /* @__PURE__ */ new Map();
852
+ return e.orderSensitiveModifiers.forEach((t, o) => {
853
+ r.set(t, 1e6 + o);
854
+ }), (t) => {
855
+ const o = [];
856
+ let s = [];
857
+ for (let a = 0; a < t.length; a++) {
858
+ const i = t[a], d = i[0] === "[", u = r.has(i);
859
+ d || u ? (s.length > 0 && (s.sort(), o.push(...s), s = []), o.push(i)) : s.push(i);
860
+ }
861
+ return s.length > 0 && (s.sort(), o.push(...s)), o;
862
+ };
863
+ }, $r = (e) => ({
864
+ cache: qr(e.cacheSize),
865
+ parseClassName: Lr(e),
866
+ sortModifiers: Wr(e),
867
+ ...Sr(e)
868
+ }), Vr = /\s+/, Yr = (e, r) => {
869
+ const {
870
+ parseClassName: t,
871
+ getClassGroupId: o,
872
+ getConflictingClassGroupIds: s,
873
+ sortModifiers: a
874
+ } = r, i = [], d = e.trim().split(Vr);
875
+ let u = "";
876
+ for (let v = d.length - 1; v >= 0; v -= 1) {
877
+ const y = d[v], {
878
+ isExternal: T,
879
+ modifiers: C,
880
+ hasImportantModifier: A,
881
+ baseClassName: P,
882
+ maybePostfixModifierPosition: _
883
+ } = t(y);
884
+ if (T) {
885
+ u = y + (u.length > 0 ? " " + u : u);
886
+ continue;
887
+ }
888
+ let R = !!_, N = o(R ? P.substring(0, _) : P);
889
+ if (!N) {
890
+ if (!R) {
891
+ u = y + (u.length > 0 ? " " + u : u);
892
+ continue;
893
+ }
894
+ if (N = o(P), !N) {
895
+ u = y + (u.length > 0 ? " " + u : u);
896
+ continue;
897
+ }
898
+ R = !1;
899
+ }
900
+ const H = C.length === 0 ? "" : C.length === 1 ? C[0] : a(C).join(":"), Y = A ? H + we : H, F = Y + N;
901
+ if (i.indexOf(F) > -1)
902
+ continue;
903
+ i.push(F);
904
+ const L = s(N, R);
905
+ for (let I = 0; I < L.length; ++I) {
906
+ const D = L[I];
907
+ i.push(Y + D);
908
+ }
909
+ u = y + (u.length > 0 ? " " + u : u);
910
+ }
911
+ return u;
912
+ }, Dr = (...e) => {
913
+ let r = 0, t, o, s = "";
914
+ for (; r < e.length; )
915
+ (t = e[r++]) && (o = qe(t)) && (s && (s += " "), s += o);
916
+ return s;
917
+ }, qe = (e) => {
918
+ if (typeof e == "string")
919
+ return e;
920
+ let r, t = "";
921
+ for (let o = 0; o < e.length; o++)
922
+ e[o] && (r = qe(e[o])) && (t && (t += " "), t += r);
923
+ return t;
924
+ }, Re = (e, ...r) => {
925
+ let t, o, s, a;
926
+ const i = (u) => {
927
+ const v = r.reduce((y, T) => T(y), e());
928
+ return t = $r(v), o = t.cache.get, s = t.cache.set, a = d, d(u);
929
+ }, d = (u) => {
930
+ const v = o(u);
931
+ if (v)
932
+ return v;
933
+ const y = Yr(u, t);
934
+ return s(u, y), y;
935
+ };
936
+ return a = i, (...u) => a(Dr(...u));
937
+ }, Ur = [], w = (e) => {
938
+ const r = (t) => t[e] || Ur;
939
+ return r.isThemeGetter = !0, r;
940
+ }, Fe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Le = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Br = /^\d+\/\d+$/, Hr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jr = /\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$/, Xr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Zr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (e) => Br.test(e), g = (e) => !!e && !Number.isNaN(Number(e)), V = (e) => !!e && Number.isInteger(Number(e)), ke = (e) => e.endsWith("%") && g(e.slice(0, -1)), q = (e) => Hr.test(e), Kr = () => !0, et = (e) => (
941
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
942
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
943
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
944
+ Jr.test(e) && !Xr.test(e)
945
+ ), We = () => !1, rt = (e) => Zr.test(e), tt = (e) => Qr.test(e), ot = (e) => !l(e) && !c(e), nt = (e) => K(e, Ye, We), l = (e) => Fe.test(e), U = (e) => K(e, De, et), ye = (e) => K(e, ct, g), je = (e) => K(e, $e, We), st = (e) => K(e, Ve, tt), pe = (e) => K(e, Ue, rt), c = (e) => Le.test(e), ie = (e) => ee(e, De), at = (e) => ee(e, dt), Ne = (e) => ee(e, $e), it = (e) => ee(e, Ye), lt = (e) => ee(e, Ve), ge = (e) => ee(e, Ue, !0), K = (e, r, t) => {
946
+ const o = Fe.exec(e);
947
+ return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
948
+ }, ee = (e, r, t = !1) => {
949
+ const o = Le.exec(e);
950
+ return o ? o[1] ? r(o[1]) : t : !1;
951
+ }, $e = (e) => e === "position" || e === "percentage", Ve = (e) => e === "image" || e === "url", Ye = (e) => e === "length" || e === "size" || e === "bg-size", De = (e) => e === "length", ct = (e) => e === "number", dt = (e) => e === "family-name", Ue = (e) => e === "shadow", Te = () => {
952
+ const e = w("color"), r = w("font"), t = w("text"), o = w("font-weight"), s = w("tracking"), a = w("leading"), i = w("breakpoint"), d = w("container"), u = w("spacing"), v = w("radius"), y = w("shadow"), T = w("inset-shadow"), C = w("text-shadow"), A = w("drop-shadow"), P = w("blur"), _ = w("perspective"), R = w("aspect"), N = w("ease"), H = w("animate"), Y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
953
+ "center",
954
+ "top",
955
+ "bottom",
956
+ "left",
957
+ "right",
958
+ "top-left",
959
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
960
+ "left-top",
961
+ "top-right",
962
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
963
+ "right-top",
964
+ "bottom-right",
965
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
966
+ "right-bottom",
967
+ "bottom-left",
968
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
969
+ "left-bottom"
970
+ ], L = () => [...F(), c, l], I = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], f = () => [c, l, u], E = () => [Q, "full", "auto", ...f()], ce = () => [V, "none", "subgrid", c, l], de = () => ["auto", {
971
+ span: ["full", V, c, l]
972
+ }, V, c, l], W = () => [V, "auto", c, l], re = () => ["auto", "min", "max", "fr", c, l], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...f()], M = () => [Q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], m = () => [e, c, l], oe = () => [...F(), Ne, je, {
973
+ position: [c, l]
974
+ }], ne = () => ["no-repeat", {
975
+ repeat: ["", "x", "y", "space", "round"]
976
+ }], n = () => ["auto", "cover", "contain", it, nt, {
977
+ size: [c, l]
978
+ }], p = () => [ke, ie, U], b = () => [
979
+ // Deprecated since Tailwind CSS v4.0.0
980
+ "",
981
+ "none",
982
+ "full",
983
+ v,
984
+ c,
985
+ l
986
+ ], x = () => ["", g, ie, U], O = () => ["solid", "dashed", "dotted", "double"], J = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [g, ke, Ne, je], G = () => [
987
+ // Deprecated since Tailwind CSS v4.0.0
988
+ "",
989
+ "none",
990
+ P,
991
+ c,
992
+ l
993
+ ], $ = () => ["none", g, c, l], X = () => ["none", g, c, l], ve = () => [g, c, l], ue = () => [Q, "full", ...f()];
994
+ return {
995
+ cacheSize: 500,
996
+ theme: {
997
+ animate: ["spin", "ping", "pulse", "bounce"],
998
+ aspect: ["video"],
999
+ blur: [q],
1000
+ breakpoint: [q],
1001
+ color: [Kr],
1002
+ container: [q],
1003
+ "drop-shadow": [q],
1004
+ ease: ["in", "out", "in-out"],
1005
+ font: [ot],
1006
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
1007
+ "inset-shadow": [q],
1008
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
1009
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
1010
+ radius: [q],
1011
+ shadow: [q],
1012
+ spacing: ["px", g],
1013
+ text: [q],
1014
+ "text-shadow": [q],
1015
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
1016
+ },
1017
+ classGroups: {
1018
+ // --------------
1019
+ // --- Layout ---
1020
+ // --------------
1021
+ /**
1022
+ * Aspect Ratio
1023
+ * @see https://tailwindcss.com/docs/aspect-ratio
1024
+ */
1025
+ aspect: [{
1026
+ aspect: ["auto", "square", Q, l, c, R]
1027
+ }],
1028
+ /**
1029
+ * Container
1030
+ * @see https://tailwindcss.com/docs/container
1031
+ * @deprecated since Tailwind CSS v4.0.0
1032
+ */
1033
+ container: ["container"],
1034
+ /**
1035
+ * Columns
1036
+ * @see https://tailwindcss.com/docs/columns
1037
+ */
1038
+ columns: [{
1039
+ columns: [g, l, c, d]
1040
+ }],
1041
+ /**
1042
+ * Break After
1043
+ * @see https://tailwindcss.com/docs/break-after
1044
+ */
1045
+ "break-after": [{
1046
+ "break-after": Y()
1047
+ }],
1048
+ /**
1049
+ * Break Before
1050
+ * @see https://tailwindcss.com/docs/break-before
1051
+ */
1052
+ "break-before": [{
1053
+ "break-before": Y()
1054
+ }],
1055
+ /**
1056
+ * Break Inside
1057
+ * @see https://tailwindcss.com/docs/break-inside
1058
+ */
1059
+ "break-inside": [{
1060
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
1061
+ }],
1062
+ /**
1063
+ * Box Decoration Break
1064
+ * @see https://tailwindcss.com/docs/box-decoration-break
1065
+ */
1066
+ "box-decoration": [{
1067
+ "box-decoration": ["slice", "clone"]
1068
+ }],
1069
+ /**
1070
+ * Box Sizing
1071
+ * @see https://tailwindcss.com/docs/box-sizing
1072
+ */
1073
+ box: [{
1074
+ box: ["border", "content"]
1075
+ }],
1076
+ /**
1077
+ * Display
1078
+ * @see https://tailwindcss.com/docs/display
1079
+ */
1080
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
1081
+ /**
1082
+ * Screen Reader Only
1083
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
1084
+ */
1085
+ sr: ["sr-only", "not-sr-only"],
1086
+ /**
1087
+ * Floats
1088
+ * @see https://tailwindcss.com/docs/float
1089
+ */
1090
+ float: [{
1091
+ float: ["right", "left", "none", "start", "end"]
1092
+ }],
1093
+ /**
1094
+ * Clear
1095
+ * @see https://tailwindcss.com/docs/clear
1096
+ */
1097
+ clear: [{
1098
+ clear: ["left", "right", "both", "none", "start", "end"]
1099
+ }],
1100
+ /**
1101
+ * Isolation
1102
+ * @see https://tailwindcss.com/docs/isolation
1103
+ */
1104
+ isolation: ["isolate", "isolation-auto"],
1105
+ /**
1106
+ * Object Fit
1107
+ * @see https://tailwindcss.com/docs/object-fit
1108
+ */
1109
+ "object-fit": [{
1110
+ object: ["contain", "cover", "fill", "none", "scale-down"]
1111
+ }],
1112
+ /**
1113
+ * Object Position
1114
+ * @see https://tailwindcss.com/docs/object-position
1115
+ */
1116
+ "object-position": [{
1117
+ object: L()
1118
+ }],
1119
+ /**
1120
+ * Overflow
1121
+ * @see https://tailwindcss.com/docs/overflow
1122
+ */
1123
+ overflow: [{
1124
+ overflow: I()
1125
+ }],
1126
+ /**
1127
+ * Overflow X
1128
+ * @see https://tailwindcss.com/docs/overflow
1129
+ */
1130
+ "overflow-x": [{
1131
+ "overflow-x": I()
1132
+ }],
1133
+ /**
1134
+ * Overflow Y
1135
+ * @see https://tailwindcss.com/docs/overflow
1136
+ */
1137
+ "overflow-y": [{
1138
+ "overflow-y": I()
1139
+ }],
1140
+ /**
1141
+ * Overscroll Behavior
1142
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1143
+ */
1144
+ overscroll: [{
1145
+ overscroll: D()
1146
+ }],
1147
+ /**
1148
+ * Overscroll Behavior X
1149
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1150
+ */
1151
+ "overscroll-x": [{
1152
+ "overscroll-x": D()
1153
+ }],
1154
+ /**
1155
+ * Overscroll Behavior Y
1156
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1157
+ */
1158
+ "overscroll-y": [{
1159
+ "overscroll-y": D()
1160
+ }],
1161
+ /**
1162
+ * Position
1163
+ * @see https://tailwindcss.com/docs/position
1164
+ */
1165
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
1166
+ /**
1167
+ * Top / Right / Bottom / Left
1168
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1169
+ */
1170
+ inset: [{
1171
+ inset: E()
1172
+ }],
1173
+ /**
1174
+ * Right / Left
1175
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1176
+ */
1177
+ "inset-x": [{
1178
+ "inset-x": E()
1179
+ }],
1180
+ /**
1181
+ * Top / Bottom
1182
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1183
+ */
1184
+ "inset-y": [{
1185
+ "inset-y": E()
1186
+ }],
1187
+ /**
1188
+ * Start
1189
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1190
+ */
1191
+ start: [{
1192
+ start: E()
1193
+ }],
1194
+ /**
1195
+ * End
1196
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1197
+ */
1198
+ end: [{
1199
+ end: E()
1200
+ }],
1201
+ /**
1202
+ * Top
1203
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1204
+ */
1205
+ top: [{
1206
+ top: E()
1207
+ }],
1208
+ /**
1209
+ * Right
1210
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1211
+ */
1212
+ right: [{
1213
+ right: E()
1214
+ }],
1215
+ /**
1216
+ * Bottom
1217
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1218
+ */
1219
+ bottom: [{
1220
+ bottom: E()
1221
+ }],
1222
+ /**
1223
+ * Left
1224
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1225
+ */
1226
+ left: [{
1227
+ left: E()
1228
+ }],
1229
+ /**
1230
+ * Visibility
1231
+ * @see https://tailwindcss.com/docs/visibility
1232
+ */
1233
+ visibility: ["visible", "invisible", "collapse"],
1234
+ /**
1235
+ * Z-Index
1236
+ * @see https://tailwindcss.com/docs/z-index
1237
+ */
1238
+ z: [{
1239
+ z: [V, "auto", c, l]
1240
+ }],
1241
+ // ------------------------
1242
+ // --- Flexbox and Grid ---
1243
+ // ------------------------
1244
+ /**
1245
+ * Flex Basis
1246
+ * @see https://tailwindcss.com/docs/flex-basis
1247
+ */
1248
+ basis: [{
1249
+ basis: [Q, "full", "auto", d, ...f()]
1250
+ }],
1251
+ /**
1252
+ * Flex Direction
1253
+ * @see https://tailwindcss.com/docs/flex-direction
1254
+ */
1255
+ "flex-direction": [{
1256
+ flex: ["row", "row-reverse", "col", "col-reverse"]
1257
+ }],
1258
+ /**
1259
+ * Flex Wrap
1260
+ * @see https://tailwindcss.com/docs/flex-wrap
1261
+ */
1262
+ "flex-wrap": [{
1263
+ flex: ["nowrap", "wrap", "wrap-reverse"]
1264
+ }],
1265
+ /**
1266
+ * Flex
1267
+ * @see https://tailwindcss.com/docs/flex
1268
+ */
1269
+ flex: [{
1270
+ flex: [g, Q, "auto", "initial", "none", l]
1271
+ }],
1272
+ /**
1273
+ * Flex Grow
1274
+ * @see https://tailwindcss.com/docs/flex-grow
1275
+ */
1276
+ grow: [{
1277
+ grow: ["", g, c, l]
1278
+ }],
1279
+ /**
1280
+ * Flex Shrink
1281
+ * @see https://tailwindcss.com/docs/flex-shrink
1282
+ */
1283
+ shrink: [{
1284
+ shrink: ["", g, c, l]
1285
+ }],
1286
+ /**
1287
+ * Order
1288
+ * @see https://tailwindcss.com/docs/order
1289
+ */
1290
+ order: [{
1291
+ order: [V, "first", "last", "none", c, l]
1292
+ }],
1293
+ /**
1294
+ * Grid Template Columns
1295
+ * @see https://tailwindcss.com/docs/grid-template-columns
1296
+ */
1297
+ "grid-cols": [{
1298
+ "grid-cols": ce()
1299
+ }],
1300
+ /**
1301
+ * Grid Column Start / End
1302
+ * @see https://tailwindcss.com/docs/grid-column
1303
+ */
1304
+ "col-start-end": [{
1305
+ col: de()
1306
+ }],
1307
+ /**
1308
+ * Grid Column Start
1309
+ * @see https://tailwindcss.com/docs/grid-column
1310
+ */
1311
+ "col-start": [{
1312
+ "col-start": W()
1313
+ }],
1314
+ /**
1315
+ * Grid Column End
1316
+ * @see https://tailwindcss.com/docs/grid-column
1317
+ */
1318
+ "col-end": [{
1319
+ "col-end": W()
1320
+ }],
1321
+ /**
1322
+ * Grid Template Rows
1323
+ * @see https://tailwindcss.com/docs/grid-template-rows
1324
+ */
1325
+ "grid-rows": [{
1326
+ "grid-rows": ce()
1327
+ }],
1328
+ /**
1329
+ * Grid Row Start / End
1330
+ * @see https://tailwindcss.com/docs/grid-row
1331
+ */
1332
+ "row-start-end": [{
1333
+ row: de()
1334
+ }],
1335
+ /**
1336
+ * Grid Row Start
1337
+ * @see https://tailwindcss.com/docs/grid-row
1338
+ */
1339
+ "row-start": [{
1340
+ "row-start": W()
1341
+ }],
1342
+ /**
1343
+ * Grid Row End
1344
+ * @see https://tailwindcss.com/docs/grid-row
1345
+ */
1346
+ "row-end": [{
1347
+ "row-end": W()
1348
+ }],
1349
+ /**
1350
+ * Grid Auto Flow
1351
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1352
+ */
1353
+ "grid-flow": [{
1354
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
1355
+ }],
1356
+ /**
1357
+ * Grid Auto Columns
1358
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1359
+ */
1360
+ "auto-cols": [{
1361
+ "auto-cols": re()
1362
+ }],
1363
+ /**
1364
+ * Grid Auto Rows
1365
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1366
+ */
1367
+ "auto-rows": [{
1368
+ "auto-rows": re()
1369
+ }],
1370
+ /**
1371
+ * Gap
1372
+ * @see https://tailwindcss.com/docs/gap
1373
+ */
1374
+ gap: [{
1375
+ gap: f()
1376
+ }],
1377
+ /**
1378
+ * Gap X
1379
+ * @see https://tailwindcss.com/docs/gap
1380
+ */
1381
+ "gap-x": [{
1382
+ "gap-x": f()
1383
+ }],
1384
+ /**
1385
+ * Gap Y
1386
+ * @see https://tailwindcss.com/docs/gap
1387
+ */
1388
+ "gap-y": [{
1389
+ "gap-y": f()
1390
+ }],
1391
+ /**
1392
+ * Justify Content
1393
+ * @see https://tailwindcss.com/docs/justify-content
1394
+ */
1395
+ "justify-content": [{
1396
+ justify: [...te(), "normal"]
1397
+ }],
1398
+ /**
1399
+ * Justify Items
1400
+ * @see https://tailwindcss.com/docs/justify-items
1401
+ */
1402
+ "justify-items": [{
1403
+ "justify-items": [...z(), "normal"]
1404
+ }],
1405
+ /**
1406
+ * Justify Self
1407
+ * @see https://tailwindcss.com/docs/justify-self
1408
+ */
1409
+ "justify-self": [{
1410
+ "justify-self": ["auto", ...z()]
1411
+ }],
1412
+ /**
1413
+ * Align Content
1414
+ * @see https://tailwindcss.com/docs/align-content
1415
+ */
1416
+ "align-content": [{
1417
+ content: ["normal", ...te()]
1418
+ }],
1419
+ /**
1420
+ * Align Items
1421
+ * @see https://tailwindcss.com/docs/align-items
1422
+ */
1423
+ "align-items": [{
1424
+ items: [...z(), {
1425
+ baseline: ["", "last"]
1426
+ }]
1427
+ }],
1428
+ /**
1429
+ * Align Self
1430
+ * @see https://tailwindcss.com/docs/align-self
1431
+ */
1432
+ "align-self": [{
1433
+ self: ["auto", ...z(), {
1434
+ baseline: ["", "last"]
1435
+ }]
1436
+ }],
1437
+ /**
1438
+ * Place Content
1439
+ * @see https://tailwindcss.com/docs/place-content
1440
+ */
1441
+ "place-content": [{
1442
+ "place-content": te()
1443
+ }],
1444
+ /**
1445
+ * Place Items
1446
+ * @see https://tailwindcss.com/docs/place-items
1447
+ */
1448
+ "place-items": [{
1449
+ "place-items": [...z(), "baseline"]
1450
+ }],
1451
+ /**
1452
+ * Place Self
1453
+ * @see https://tailwindcss.com/docs/place-self
1454
+ */
1455
+ "place-self": [{
1456
+ "place-self": ["auto", ...z()]
1457
+ }],
1458
+ // Spacing
1459
+ /**
1460
+ * Padding
1461
+ * @see https://tailwindcss.com/docs/padding
1462
+ */
1463
+ p: [{
1464
+ p: f()
1465
+ }],
1466
+ /**
1467
+ * Padding X
1468
+ * @see https://tailwindcss.com/docs/padding
1469
+ */
1470
+ px: [{
1471
+ px: f()
1472
+ }],
1473
+ /**
1474
+ * Padding Y
1475
+ * @see https://tailwindcss.com/docs/padding
1476
+ */
1477
+ py: [{
1478
+ py: f()
1479
+ }],
1480
+ /**
1481
+ * Padding Start
1482
+ * @see https://tailwindcss.com/docs/padding
1483
+ */
1484
+ ps: [{
1485
+ ps: f()
1486
+ }],
1487
+ /**
1488
+ * Padding End
1489
+ * @see https://tailwindcss.com/docs/padding
1490
+ */
1491
+ pe: [{
1492
+ pe: f()
1493
+ }],
1494
+ /**
1495
+ * Padding Top
1496
+ * @see https://tailwindcss.com/docs/padding
1497
+ */
1498
+ pt: [{
1499
+ pt: f()
1500
+ }],
1501
+ /**
1502
+ * Padding Right
1503
+ * @see https://tailwindcss.com/docs/padding
1504
+ */
1505
+ pr: [{
1506
+ pr: f()
1507
+ }],
1508
+ /**
1509
+ * Padding Bottom
1510
+ * @see https://tailwindcss.com/docs/padding
1511
+ */
1512
+ pb: [{
1513
+ pb: f()
1514
+ }],
1515
+ /**
1516
+ * Padding Left
1517
+ * @see https://tailwindcss.com/docs/padding
1518
+ */
1519
+ pl: [{
1520
+ pl: f()
1521
+ }],
1522
+ /**
1523
+ * Margin
1524
+ * @see https://tailwindcss.com/docs/margin
1525
+ */
1526
+ m: [{
1527
+ m: S()
1528
+ }],
1529
+ /**
1530
+ * Margin X
1531
+ * @see https://tailwindcss.com/docs/margin
1532
+ */
1533
+ mx: [{
1534
+ mx: S()
1535
+ }],
1536
+ /**
1537
+ * Margin Y
1538
+ * @see https://tailwindcss.com/docs/margin
1539
+ */
1540
+ my: [{
1541
+ my: S()
1542
+ }],
1543
+ /**
1544
+ * Margin Start
1545
+ * @see https://tailwindcss.com/docs/margin
1546
+ */
1547
+ ms: [{
1548
+ ms: S()
1549
+ }],
1550
+ /**
1551
+ * Margin End
1552
+ * @see https://tailwindcss.com/docs/margin
1553
+ */
1554
+ me: [{
1555
+ me: S()
1556
+ }],
1557
+ /**
1558
+ * Margin Top
1559
+ * @see https://tailwindcss.com/docs/margin
1560
+ */
1561
+ mt: [{
1562
+ mt: S()
1563
+ }],
1564
+ /**
1565
+ * Margin Right
1566
+ * @see https://tailwindcss.com/docs/margin
1567
+ */
1568
+ mr: [{
1569
+ mr: S()
1570
+ }],
1571
+ /**
1572
+ * Margin Bottom
1573
+ * @see https://tailwindcss.com/docs/margin
1574
+ */
1575
+ mb: [{
1576
+ mb: S()
1577
+ }],
1578
+ /**
1579
+ * Margin Left
1580
+ * @see https://tailwindcss.com/docs/margin
1581
+ */
1582
+ ml: [{
1583
+ ml: S()
1584
+ }],
1585
+ /**
1586
+ * Space Between X
1587
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1588
+ */
1589
+ "space-x": [{
1590
+ "space-x": f()
1591
+ }],
1592
+ /**
1593
+ * Space Between X Reverse
1594
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1595
+ */
1596
+ "space-x-reverse": ["space-x-reverse"],
1597
+ /**
1598
+ * Space Between Y
1599
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1600
+ */
1601
+ "space-y": [{
1602
+ "space-y": f()
1603
+ }],
1604
+ /**
1605
+ * Space Between Y Reverse
1606
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1607
+ */
1608
+ "space-y-reverse": ["space-y-reverse"],
1609
+ // --------------
1610
+ // --- Sizing ---
1611
+ // --------------
1612
+ /**
1613
+ * Size
1614
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1615
+ */
1616
+ size: [{
1617
+ size: M()
1618
+ }],
1619
+ /**
1620
+ * Width
1621
+ * @see https://tailwindcss.com/docs/width
1622
+ */
1623
+ w: [{
1624
+ w: [d, "screen", ...M()]
1625
+ }],
1626
+ /**
1627
+ * Min-Width
1628
+ * @see https://tailwindcss.com/docs/min-width
1629
+ */
1630
+ "min-w": [{
1631
+ "min-w": [
1632
+ d,
1633
+ "screen",
1634
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1635
+ "none",
1636
+ ...M()
1637
+ ]
1638
+ }],
1639
+ /**
1640
+ * Max-Width
1641
+ * @see https://tailwindcss.com/docs/max-width
1642
+ */
1643
+ "max-w": [{
1644
+ "max-w": [
1645
+ d,
1646
+ "screen",
1647
+ "none",
1648
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1649
+ "prose",
1650
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1651
+ {
1652
+ screen: [i]
1653
+ },
1654
+ ...M()
1655
+ ]
1656
+ }],
1657
+ /**
1658
+ * Height
1659
+ * @see https://tailwindcss.com/docs/height
1660
+ */
1661
+ h: [{
1662
+ h: ["screen", "lh", ...M()]
1663
+ }],
1664
+ /**
1665
+ * Min-Height
1666
+ * @see https://tailwindcss.com/docs/min-height
1667
+ */
1668
+ "min-h": [{
1669
+ "min-h": ["screen", "lh", "none", ...M()]
1670
+ }],
1671
+ /**
1672
+ * Max-Height
1673
+ * @see https://tailwindcss.com/docs/max-height
1674
+ */
1675
+ "max-h": [{
1676
+ "max-h": ["screen", "lh", ...M()]
1677
+ }],
1678
+ // ------------------
1679
+ // --- Typography ---
1680
+ // ------------------
1681
+ /**
1682
+ * Font Size
1683
+ * @see https://tailwindcss.com/docs/font-size
1684
+ */
1685
+ "font-size": [{
1686
+ text: ["base", t, ie, U]
1687
+ }],
1688
+ /**
1689
+ * Font Smoothing
1690
+ * @see https://tailwindcss.com/docs/font-smoothing
1691
+ */
1692
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1693
+ /**
1694
+ * Font Style
1695
+ * @see https://tailwindcss.com/docs/font-style
1696
+ */
1697
+ "font-style": ["italic", "not-italic"],
1698
+ /**
1699
+ * Font Weight
1700
+ * @see https://tailwindcss.com/docs/font-weight
1701
+ */
1702
+ "font-weight": [{
1703
+ font: [o, c, ye]
1704
+ }],
1705
+ /**
1706
+ * Font Stretch
1707
+ * @see https://tailwindcss.com/docs/font-stretch
1708
+ */
1709
+ "font-stretch": [{
1710
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ke, l]
1711
+ }],
1712
+ /**
1713
+ * Font Family
1714
+ * @see https://tailwindcss.com/docs/font-family
1715
+ */
1716
+ "font-family": [{
1717
+ font: [at, l, r]
1718
+ }],
1719
+ /**
1720
+ * Font Variant Numeric
1721
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1722
+ */
1723
+ "fvn-normal": ["normal-nums"],
1724
+ /**
1725
+ * Font Variant Numeric
1726
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1727
+ */
1728
+ "fvn-ordinal": ["ordinal"],
1729
+ /**
1730
+ * Font Variant Numeric
1731
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1732
+ */
1733
+ "fvn-slashed-zero": ["slashed-zero"],
1734
+ /**
1735
+ * Font Variant Numeric
1736
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1737
+ */
1738
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1739
+ /**
1740
+ * Font Variant Numeric
1741
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1742
+ */
1743
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1744
+ /**
1745
+ * Font Variant Numeric
1746
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1747
+ */
1748
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1749
+ /**
1750
+ * Letter Spacing
1751
+ * @see https://tailwindcss.com/docs/letter-spacing
1752
+ */
1753
+ tracking: [{
1754
+ tracking: [s, c, l]
1755
+ }],
1756
+ /**
1757
+ * Line Clamp
1758
+ * @see https://tailwindcss.com/docs/line-clamp
1759
+ */
1760
+ "line-clamp": [{
1761
+ "line-clamp": [g, "none", c, ye]
1762
+ }],
1763
+ /**
1764
+ * Line Height
1765
+ * @see https://tailwindcss.com/docs/line-height
1766
+ */
1767
+ leading: [{
1768
+ leading: [
1769
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1770
+ a,
1771
+ ...f()
1772
+ ]
1773
+ }],
1774
+ /**
1775
+ * List Style Image
1776
+ * @see https://tailwindcss.com/docs/list-style-image
1777
+ */
1778
+ "list-image": [{
1779
+ "list-image": ["none", c, l]
1780
+ }],
1781
+ /**
1782
+ * List Style Position
1783
+ * @see https://tailwindcss.com/docs/list-style-position
1784
+ */
1785
+ "list-style-position": [{
1786
+ list: ["inside", "outside"]
1787
+ }],
1788
+ /**
1789
+ * List Style Type
1790
+ * @see https://tailwindcss.com/docs/list-style-type
1791
+ */
1792
+ "list-style-type": [{
1793
+ list: ["disc", "decimal", "none", c, l]
1794
+ }],
1795
+ /**
1796
+ * Text Alignment
1797
+ * @see https://tailwindcss.com/docs/text-align
1798
+ */
1799
+ "text-alignment": [{
1800
+ text: ["left", "center", "right", "justify", "start", "end"]
1801
+ }],
1802
+ /**
1803
+ * Placeholder Color
1804
+ * @deprecated since Tailwind CSS v3.0.0
1805
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1806
+ */
1807
+ "placeholder-color": [{
1808
+ placeholder: m()
1809
+ }],
1810
+ /**
1811
+ * Text Color
1812
+ * @see https://tailwindcss.com/docs/text-color
1813
+ */
1814
+ "text-color": [{
1815
+ text: m()
1816
+ }],
1817
+ /**
1818
+ * Text Decoration
1819
+ * @see https://tailwindcss.com/docs/text-decoration
1820
+ */
1821
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1822
+ /**
1823
+ * Text Decoration Style
1824
+ * @see https://tailwindcss.com/docs/text-decoration-style
1825
+ */
1826
+ "text-decoration-style": [{
1827
+ decoration: [...O(), "wavy"]
1828
+ }],
1829
+ /**
1830
+ * Text Decoration Thickness
1831
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1832
+ */
1833
+ "text-decoration-thickness": [{
1834
+ decoration: [g, "from-font", "auto", c, U]
1835
+ }],
1836
+ /**
1837
+ * Text Decoration Color
1838
+ * @see https://tailwindcss.com/docs/text-decoration-color
1839
+ */
1840
+ "text-decoration-color": [{
1841
+ decoration: m()
1842
+ }],
1843
+ /**
1844
+ * Text Underline Offset
1845
+ * @see https://tailwindcss.com/docs/text-underline-offset
1846
+ */
1847
+ "underline-offset": [{
1848
+ "underline-offset": [g, "auto", c, l]
1849
+ }],
1850
+ /**
1851
+ * Text Transform
1852
+ * @see https://tailwindcss.com/docs/text-transform
1853
+ */
1854
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1855
+ /**
1856
+ * Text Overflow
1857
+ * @see https://tailwindcss.com/docs/text-overflow
1858
+ */
1859
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1860
+ /**
1861
+ * Text Wrap
1862
+ * @see https://tailwindcss.com/docs/text-wrap
1863
+ */
1864
+ "text-wrap": [{
1865
+ text: ["wrap", "nowrap", "balance", "pretty"]
1866
+ }],
1867
+ /**
1868
+ * Text Indent
1869
+ * @see https://tailwindcss.com/docs/text-indent
1870
+ */
1871
+ indent: [{
1872
+ indent: f()
1873
+ }],
1874
+ /**
1875
+ * Vertical Alignment
1876
+ * @see https://tailwindcss.com/docs/vertical-align
1877
+ */
1878
+ "vertical-align": [{
1879
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", c, l]
1880
+ }],
1881
+ /**
1882
+ * Whitespace
1883
+ * @see https://tailwindcss.com/docs/whitespace
1884
+ */
1885
+ whitespace: [{
1886
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1887
+ }],
1888
+ /**
1889
+ * Word Break
1890
+ * @see https://tailwindcss.com/docs/word-break
1891
+ */
1892
+ break: [{
1893
+ break: ["normal", "words", "all", "keep"]
1894
+ }],
1895
+ /**
1896
+ * Overflow Wrap
1897
+ * @see https://tailwindcss.com/docs/overflow-wrap
1898
+ */
1899
+ wrap: [{
1900
+ wrap: ["break-word", "anywhere", "normal"]
1901
+ }],
1902
+ /**
1903
+ * Hyphens
1904
+ * @see https://tailwindcss.com/docs/hyphens
1905
+ */
1906
+ hyphens: [{
1907
+ hyphens: ["none", "manual", "auto"]
1908
+ }],
1909
+ /**
1910
+ * Content
1911
+ * @see https://tailwindcss.com/docs/content
1912
+ */
1913
+ content: [{
1914
+ content: ["none", c, l]
1915
+ }],
1916
+ // -------------------
1917
+ // --- Backgrounds ---
1918
+ // -------------------
1919
+ /**
1920
+ * Background Attachment
1921
+ * @see https://tailwindcss.com/docs/background-attachment
1922
+ */
1923
+ "bg-attachment": [{
1924
+ bg: ["fixed", "local", "scroll"]
1925
+ }],
1926
+ /**
1927
+ * Background Clip
1928
+ * @see https://tailwindcss.com/docs/background-clip
1929
+ */
1930
+ "bg-clip": [{
1931
+ "bg-clip": ["border", "padding", "content", "text"]
1932
+ }],
1933
+ /**
1934
+ * Background Origin
1935
+ * @see https://tailwindcss.com/docs/background-origin
1936
+ */
1937
+ "bg-origin": [{
1938
+ "bg-origin": ["border", "padding", "content"]
1939
+ }],
1940
+ /**
1941
+ * Background Position
1942
+ * @see https://tailwindcss.com/docs/background-position
1943
+ */
1944
+ "bg-position": [{
1945
+ bg: oe()
1946
+ }],
1947
+ /**
1948
+ * Background Repeat
1949
+ * @see https://tailwindcss.com/docs/background-repeat
1950
+ */
1951
+ "bg-repeat": [{
1952
+ bg: ne()
1953
+ }],
1954
+ /**
1955
+ * Background Size
1956
+ * @see https://tailwindcss.com/docs/background-size
1957
+ */
1958
+ "bg-size": [{
1959
+ bg: n()
1960
+ }],
1961
+ /**
1962
+ * Background Image
1963
+ * @see https://tailwindcss.com/docs/background-image
1964
+ */
1965
+ "bg-image": [{
1966
+ bg: ["none", {
1967
+ linear: [{
1968
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1969
+ }, V, c, l],
1970
+ radial: ["", c, l],
1971
+ conic: [V, c, l]
1972
+ }, lt, st]
1973
+ }],
1974
+ /**
1975
+ * Background Color
1976
+ * @see https://tailwindcss.com/docs/background-color
1977
+ */
1978
+ "bg-color": [{
1979
+ bg: m()
1980
+ }],
1981
+ /**
1982
+ * Gradient Color Stops From Position
1983
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1984
+ */
1985
+ "gradient-from-pos": [{
1986
+ from: p()
1987
+ }],
1988
+ /**
1989
+ * Gradient Color Stops Via Position
1990
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1991
+ */
1992
+ "gradient-via-pos": [{
1993
+ via: p()
1994
+ }],
1995
+ /**
1996
+ * Gradient Color Stops To Position
1997
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1998
+ */
1999
+ "gradient-to-pos": [{
2000
+ to: p()
2001
+ }],
2002
+ /**
2003
+ * Gradient Color Stops From
2004
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2005
+ */
2006
+ "gradient-from": [{
2007
+ from: m()
2008
+ }],
2009
+ /**
2010
+ * Gradient Color Stops Via
2011
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2012
+ */
2013
+ "gradient-via": [{
2014
+ via: m()
2015
+ }],
2016
+ /**
2017
+ * Gradient Color Stops To
2018
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2019
+ */
2020
+ "gradient-to": [{
2021
+ to: m()
2022
+ }],
2023
+ // ---------------
2024
+ // --- Borders ---
2025
+ // ---------------
2026
+ /**
2027
+ * Border Radius
2028
+ * @see https://tailwindcss.com/docs/border-radius
2029
+ */
2030
+ rounded: [{
2031
+ rounded: b()
2032
+ }],
2033
+ /**
2034
+ * Border Radius Start
2035
+ * @see https://tailwindcss.com/docs/border-radius
2036
+ */
2037
+ "rounded-s": [{
2038
+ "rounded-s": b()
2039
+ }],
2040
+ /**
2041
+ * Border Radius End
2042
+ * @see https://tailwindcss.com/docs/border-radius
2043
+ */
2044
+ "rounded-e": [{
2045
+ "rounded-e": b()
2046
+ }],
2047
+ /**
2048
+ * Border Radius Top
2049
+ * @see https://tailwindcss.com/docs/border-radius
2050
+ */
2051
+ "rounded-t": [{
2052
+ "rounded-t": b()
2053
+ }],
2054
+ /**
2055
+ * Border Radius Right
2056
+ * @see https://tailwindcss.com/docs/border-radius
2057
+ */
2058
+ "rounded-r": [{
2059
+ "rounded-r": b()
2060
+ }],
2061
+ /**
2062
+ * Border Radius Bottom
2063
+ * @see https://tailwindcss.com/docs/border-radius
2064
+ */
2065
+ "rounded-b": [{
2066
+ "rounded-b": b()
2067
+ }],
2068
+ /**
2069
+ * Border Radius Left
2070
+ * @see https://tailwindcss.com/docs/border-radius
2071
+ */
2072
+ "rounded-l": [{
2073
+ "rounded-l": b()
2074
+ }],
2075
+ /**
2076
+ * Border Radius Start Start
2077
+ * @see https://tailwindcss.com/docs/border-radius
2078
+ */
2079
+ "rounded-ss": [{
2080
+ "rounded-ss": b()
2081
+ }],
2082
+ /**
2083
+ * Border Radius Start End
2084
+ * @see https://tailwindcss.com/docs/border-radius
2085
+ */
2086
+ "rounded-se": [{
2087
+ "rounded-se": b()
2088
+ }],
2089
+ /**
2090
+ * Border Radius End End
2091
+ * @see https://tailwindcss.com/docs/border-radius
2092
+ */
2093
+ "rounded-ee": [{
2094
+ "rounded-ee": b()
2095
+ }],
2096
+ /**
2097
+ * Border Radius End Start
2098
+ * @see https://tailwindcss.com/docs/border-radius
2099
+ */
2100
+ "rounded-es": [{
2101
+ "rounded-es": b()
2102
+ }],
2103
+ /**
2104
+ * Border Radius Top Left
2105
+ * @see https://tailwindcss.com/docs/border-radius
2106
+ */
2107
+ "rounded-tl": [{
2108
+ "rounded-tl": b()
2109
+ }],
2110
+ /**
2111
+ * Border Radius Top Right
2112
+ * @see https://tailwindcss.com/docs/border-radius
2113
+ */
2114
+ "rounded-tr": [{
2115
+ "rounded-tr": b()
2116
+ }],
2117
+ /**
2118
+ * Border Radius Bottom Right
2119
+ * @see https://tailwindcss.com/docs/border-radius
2120
+ */
2121
+ "rounded-br": [{
2122
+ "rounded-br": b()
2123
+ }],
2124
+ /**
2125
+ * Border Radius Bottom Left
2126
+ * @see https://tailwindcss.com/docs/border-radius
2127
+ */
2128
+ "rounded-bl": [{
2129
+ "rounded-bl": b()
2130
+ }],
2131
+ /**
2132
+ * Border Width
2133
+ * @see https://tailwindcss.com/docs/border-width
2134
+ */
2135
+ "border-w": [{
2136
+ border: x()
2137
+ }],
2138
+ /**
2139
+ * Border Width X
2140
+ * @see https://tailwindcss.com/docs/border-width
2141
+ */
2142
+ "border-w-x": [{
2143
+ "border-x": x()
2144
+ }],
2145
+ /**
2146
+ * Border Width Y
2147
+ * @see https://tailwindcss.com/docs/border-width
2148
+ */
2149
+ "border-w-y": [{
2150
+ "border-y": x()
2151
+ }],
2152
+ /**
2153
+ * Border Width Start
2154
+ * @see https://tailwindcss.com/docs/border-width
2155
+ */
2156
+ "border-w-s": [{
2157
+ "border-s": x()
2158
+ }],
2159
+ /**
2160
+ * Border Width End
2161
+ * @see https://tailwindcss.com/docs/border-width
2162
+ */
2163
+ "border-w-e": [{
2164
+ "border-e": x()
2165
+ }],
2166
+ /**
2167
+ * Border Width Top
2168
+ * @see https://tailwindcss.com/docs/border-width
2169
+ */
2170
+ "border-w-t": [{
2171
+ "border-t": x()
2172
+ }],
2173
+ /**
2174
+ * Border Width Right
2175
+ * @see https://tailwindcss.com/docs/border-width
2176
+ */
2177
+ "border-w-r": [{
2178
+ "border-r": x()
2179
+ }],
2180
+ /**
2181
+ * Border Width Bottom
2182
+ * @see https://tailwindcss.com/docs/border-width
2183
+ */
2184
+ "border-w-b": [{
2185
+ "border-b": x()
2186
+ }],
2187
+ /**
2188
+ * Border Width Left
2189
+ * @see https://tailwindcss.com/docs/border-width
2190
+ */
2191
+ "border-w-l": [{
2192
+ "border-l": x()
2193
+ }],
2194
+ /**
2195
+ * Divide Width X
2196
+ * @see https://tailwindcss.com/docs/border-width#between-children
2197
+ */
2198
+ "divide-x": [{
2199
+ "divide-x": x()
2200
+ }],
2201
+ /**
2202
+ * Divide Width X Reverse
2203
+ * @see https://tailwindcss.com/docs/border-width#between-children
2204
+ */
2205
+ "divide-x-reverse": ["divide-x-reverse"],
2206
+ /**
2207
+ * Divide Width Y
2208
+ * @see https://tailwindcss.com/docs/border-width#between-children
2209
+ */
2210
+ "divide-y": [{
2211
+ "divide-y": x()
2212
+ }],
2213
+ /**
2214
+ * Divide Width Y Reverse
2215
+ * @see https://tailwindcss.com/docs/border-width#between-children
2216
+ */
2217
+ "divide-y-reverse": ["divide-y-reverse"],
2218
+ /**
2219
+ * Border Style
2220
+ * @see https://tailwindcss.com/docs/border-style
2221
+ */
2222
+ "border-style": [{
2223
+ border: [...O(), "hidden", "none"]
2224
+ }],
2225
+ /**
2226
+ * Divide Style
2227
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2228
+ */
2229
+ "divide-style": [{
2230
+ divide: [...O(), "hidden", "none"]
2231
+ }],
2232
+ /**
2233
+ * Border Color
2234
+ * @see https://tailwindcss.com/docs/border-color
2235
+ */
2236
+ "border-color": [{
2237
+ border: m()
2238
+ }],
2239
+ /**
2240
+ * Border Color X
2241
+ * @see https://tailwindcss.com/docs/border-color
2242
+ */
2243
+ "border-color-x": [{
2244
+ "border-x": m()
2245
+ }],
2246
+ /**
2247
+ * Border Color Y
2248
+ * @see https://tailwindcss.com/docs/border-color
2249
+ */
2250
+ "border-color-y": [{
2251
+ "border-y": m()
2252
+ }],
2253
+ /**
2254
+ * Border Color S
2255
+ * @see https://tailwindcss.com/docs/border-color
2256
+ */
2257
+ "border-color-s": [{
2258
+ "border-s": m()
2259
+ }],
2260
+ /**
2261
+ * Border Color E
2262
+ * @see https://tailwindcss.com/docs/border-color
2263
+ */
2264
+ "border-color-e": [{
2265
+ "border-e": m()
2266
+ }],
2267
+ /**
2268
+ * Border Color Top
2269
+ * @see https://tailwindcss.com/docs/border-color
2270
+ */
2271
+ "border-color-t": [{
2272
+ "border-t": m()
2273
+ }],
2274
+ /**
2275
+ * Border Color Right
2276
+ * @see https://tailwindcss.com/docs/border-color
2277
+ */
2278
+ "border-color-r": [{
2279
+ "border-r": m()
2280
+ }],
2281
+ /**
2282
+ * Border Color Bottom
2283
+ * @see https://tailwindcss.com/docs/border-color
2284
+ */
2285
+ "border-color-b": [{
2286
+ "border-b": m()
2287
+ }],
2288
+ /**
2289
+ * Border Color Left
2290
+ * @see https://tailwindcss.com/docs/border-color
2291
+ */
2292
+ "border-color-l": [{
2293
+ "border-l": m()
2294
+ }],
2295
+ /**
2296
+ * Divide Color
2297
+ * @see https://tailwindcss.com/docs/divide-color
2298
+ */
2299
+ "divide-color": [{
2300
+ divide: m()
2301
+ }],
2302
+ /**
2303
+ * Outline Style
2304
+ * @see https://tailwindcss.com/docs/outline-style
2305
+ */
2306
+ "outline-style": [{
2307
+ outline: [...O(), "none", "hidden"]
2308
+ }],
2309
+ /**
2310
+ * Outline Offset
2311
+ * @see https://tailwindcss.com/docs/outline-offset
2312
+ */
2313
+ "outline-offset": [{
2314
+ "outline-offset": [g, c, l]
2315
+ }],
2316
+ /**
2317
+ * Outline Width
2318
+ * @see https://tailwindcss.com/docs/outline-width
2319
+ */
2320
+ "outline-w": [{
2321
+ outline: ["", g, ie, U]
2322
+ }],
2323
+ /**
2324
+ * Outline Color
2325
+ * @see https://tailwindcss.com/docs/outline-color
2326
+ */
2327
+ "outline-color": [{
2328
+ outline: m()
2329
+ }],
2330
+ // ---------------
2331
+ // --- Effects ---
2332
+ // ---------------
2333
+ /**
2334
+ * Box Shadow
2335
+ * @see https://tailwindcss.com/docs/box-shadow
2336
+ */
2337
+ shadow: [{
2338
+ shadow: [
2339
+ // Deprecated since Tailwind CSS v4.0.0
2340
+ "",
2341
+ "none",
2342
+ y,
2343
+ ge,
2344
+ pe
2345
+ ]
2346
+ }],
2347
+ /**
2348
+ * Box Shadow Color
2349
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2350
+ */
2351
+ "shadow-color": [{
2352
+ shadow: m()
2353
+ }],
2354
+ /**
2355
+ * Inset Box Shadow
2356
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2357
+ */
2358
+ "inset-shadow": [{
2359
+ "inset-shadow": ["none", T, ge, pe]
2360
+ }],
2361
+ /**
2362
+ * Inset Box Shadow Color
2363
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2364
+ */
2365
+ "inset-shadow-color": [{
2366
+ "inset-shadow": m()
2367
+ }],
2368
+ /**
2369
+ * Ring Width
2370
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2371
+ */
2372
+ "ring-w": [{
2373
+ ring: x()
2374
+ }],
2375
+ /**
2376
+ * Ring Width Inset
2377
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2378
+ * @deprecated since Tailwind CSS v4.0.0
2379
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2380
+ */
2381
+ "ring-w-inset": ["ring-inset"],
2382
+ /**
2383
+ * Ring Color
2384
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2385
+ */
2386
+ "ring-color": [{
2387
+ ring: m()
2388
+ }],
2389
+ /**
2390
+ * Ring Offset Width
2391
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2392
+ * @deprecated since Tailwind CSS v4.0.0
2393
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2394
+ */
2395
+ "ring-offset-w": [{
2396
+ "ring-offset": [g, U]
2397
+ }],
2398
+ /**
2399
+ * Ring Offset Color
2400
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
2401
+ * @deprecated since Tailwind CSS v4.0.0
2402
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2403
+ */
2404
+ "ring-offset-color": [{
2405
+ "ring-offset": m()
2406
+ }],
2407
+ /**
2408
+ * Inset Ring Width
2409
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2410
+ */
2411
+ "inset-ring-w": [{
2412
+ "inset-ring": x()
2413
+ }],
2414
+ /**
2415
+ * Inset Ring Color
2416
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2417
+ */
2418
+ "inset-ring-color": [{
2419
+ "inset-ring": m()
2420
+ }],
2421
+ /**
2422
+ * Text Shadow
2423
+ * @see https://tailwindcss.com/docs/text-shadow
2424
+ */
2425
+ "text-shadow": [{
2426
+ "text-shadow": ["none", C, ge, pe]
2427
+ }],
2428
+ /**
2429
+ * Text Shadow Color
2430
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2431
+ */
2432
+ "text-shadow-color": [{
2433
+ "text-shadow": m()
2434
+ }],
2435
+ /**
2436
+ * Opacity
2437
+ * @see https://tailwindcss.com/docs/opacity
2438
+ */
2439
+ opacity: [{
2440
+ opacity: [g, c, l]
2441
+ }],
2442
+ /**
2443
+ * Mix Blend Mode
2444
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2445
+ */
2446
+ "mix-blend": [{
2447
+ "mix-blend": [...J(), "plus-darker", "plus-lighter"]
2448
+ }],
2449
+ /**
2450
+ * Background Blend Mode
2451
+ * @see https://tailwindcss.com/docs/background-blend-mode
2452
+ */
2453
+ "bg-blend": [{
2454
+ "bg-blend": J()
2455
+ }],
2456
+ /**
2457
+ * Mask Clip
2458
+ * @see https://tailwindcss.com/docs/mask-clip
2459
+ */
2460
+ "mask-clip": [{
2461
+ "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
2462
+ }, "mask-no-clip"],
2463
+ /**
2464
+ * Mask Composite
2465
+ * @see https://tailwindcss.com/docs/mask-composite
2466
+ */
2467
+ "mask-composite": [{
2468
+ mask: ["add", "subtract", "intersect", "exclude"]
2469
+ }],
2470
+ /**
2471
+ * Mask Image
2472
+ * @see https://tailwindcss.com/docs/mask-image
2473
+ */
2474
+ "mask-image-linear-pos": [{
2475
+ "mask-linear": [g]
2476
+ }],
2477
+ "mask-image-linear-from-pos": [{
2478
+ "mask-linear-from": h()
2479
+ }],
2480
+ "mask-image-linear-to-pos": [{
2481
+ "mask-linear-to": h()
2482
+ }],
2483
+ "mask-image-linear-from-color": [{
2484
+ "mask-linear-from": m()
2485
+ }],
2486
+ "mask-image-linear-to-color": [{
2487
+ "mask-linear-to": m()
2488
+ }],
2489
+ "mask-image-t-from-pos": [{
2490
+ "mask-t-from": h()
2491
+ }],
2492
+ "mask-image-t-to-pos": [{
2493
+ "mask-t-to": h()
2494
+ }],
2495
+ "mask-image-t-from-color": [{
2496
+ "mask-t-from": m()
2497
+ }],
2498
+ "mask-image-t-to-color": [{
2499
+ "mask-t-to": m()
2500
+ }],
2501
+ "mask-image-r-from-pos": [{
2502
+ "mask-r-from": h()
2503
+ }],
2504
+ "mask-image-r-to-pos": [{
2505
+ "mask-r-to": h()
2506
+ }],
2507
+ "mask-image-r-from-color": [{
2508
+ "mask-r-from": m()
2509
+ }],
2510
+ "mask-image-r-to-color": [{
2511
+ "mask-r-to": m()
2512
+ }],
2513
+ "mask-image-b-from-pos": [{
2514
+ "mask-b-from": h()
2515
+ }],
2516
+ "mask-image-b-to-pos": [{
2517
+ "mask-b-to": h()
2518
+ }],
2519
+ "mask-image-b-from-color": [{
2520
+ "mask-b-from": m()
2521
+ }],
2522
+ "mask-image-b-to-color": [{
2523
+ "mask-b-to": m()
2524
+ }],
2525
+ "mask-image-l-from-pos": [{
2526
+ "mask-l-from": h()
2527
+ }],
2528
+ "mask-image-l-to-pos": [{
2529
+ "mask-l-to": h()
2530
+ }],
2531
+ "mask-image-l-from-color": [{
2532
+ "mask-l-from": m()
2533
+ }],
2534
+ "mask-image-l-to-color": [{
2535
+ "mask-l-to": m()
2536
+ }],
2537
+ "mask-image-x-from-pos": [{
2538
+ "mask-x-from": h()
2539
+ }],
2540
+ "mask-image-x-to-pos": [{
2541
+ "mask-x-to": h()
2542
+ }],
2543
+ "mask-image-x-from-color": [{
2544
+ "mask-x-from": m()
2545
+ }],
2546
+ "mask-image-x-to-color": [{
2547
+ "mask-x-to": m()
2548
+ }],
2549
+ "mask-image-y-from-pos": [{
2550
+ "mask-y-from": h()
2551
+ }],
2552
+ "mask-image-y-to-pos": [{
2553
+ "mask-y-to": h()
2554
+ }],
2555
+ "mask-image-y-from-color": [{
2556
+ "mask-y-from": m()
2557
+ }],
2558
+ "mask-image-y-to-color": [{
2559
+ "mask-y-to": m()
2560
+ }],
2561
+ "mask-image-radial": [{
2562
+ "mask-radial": [c, l]
2563
+ }],
2564
+ "mask-image-radial-from-pos": [{
2565
+ "mask-radial-from": h()
2566
+ }],
2567
+ "mask-image-radial-to-pos": [{
2568
+ "mask-radial-to": h()
2569
+ }],
2570
+ "mask-image-radial-from-color": [{
2571
+ "mask-radial-from": m()
2572
+ }],
2573
+ "mask-image-radial-to-color": [{
2574
+ "mask-radial-to": m()
2575
+ }],
2576
+ "mask-image-radial-shape": [{
2577
+ "mask-radial": ["circle", "ellipse"]
2578
+ }],
2579
+ "mask-image-radial-size": [{
2580
+ "mask-radial": [{
2581
+ closest: ["side", "corner"],
2582
+ farthest: ["side", "corner"]
2583
+ }]
2584
+ }],
2585
+ "mask-image-radial-pos": [{
2586
+ "mask-radial-at": F()
2587
+ }],
2588
+ "mask-image-conic-pos": [{
2589
+ "mask-conic": [g]
2590
+ }],
2591
+ "mask-image-conic-from-pos": [{
2592
+ "mask-conic-from": h()
2593
+ }],
2594
+ "mask-image-conic-to-pos": [{
2595
+ "mask-conic-to": h()
2596
+ }],
2597
+ "mask-image-conic-from-color": [{
2598
+ "mask-conic-from": m()
2599
+ }],
2600
+ "mask-image-conic-to-color": [{
2601
+ "mask-conic-to": m()
2602
+ }],
2603
+ /**
2604
+ * Mask Mode
2605
+ * @see https://tailwindcss.com/docs/mask-mode
2606
+ */
2607
+ "mask-mode": [{
2608
+ mask: ["alpha", "luminance", "match"]
2609
+ }],
2610
+ /**
2611
+ * Mask Origin
2612
+ * @see https://tailwindcss.com/docs/mask-origin
2613
+ */
2614
+ "mask-origin": [{
2615
+ "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
2616
+ }],
2617
+ /**
2618
+ * Mask Position
2619
+ * @see https://tailwindcss.com/docs/mask-position
2620
+ */
2621
+ "mask-position": [{
2622
+ mask: oe()
2623
+ }],
2624
+ /**
2625
+ * Mask Repeat
2626
+ * @see https://tailwindcss.com/docs/mask-repeat
2627
+ */
2628
+ "mask-repeat": [{
2629
+ mask: ne()
2630
+ }],
2631
+ /**
2632
+ * Mask Size
2633
+ * @see https://tailwindcss.com/docs/mask-size
2634
+ */
2635
+ "mask-size": [{
2636
+ mask: n()
2637
+ }],
2638
+ /**
2639
+ * Mask Type
2640
+ * @see https://tailwindcss.com/docs/mask-type
2641
+ */
2642
+ "mask-type": [{
2643
+ "mask-type": ["alpha", "luminance"]
2644
+ }],
2645
+ /**
2646
+ * Mask Image
2647
+ * @see https://tailwindcss.com/docs/mask-image
2648
+ */
2649
+ "mask-image": [{
2650
+ mask: ["none", c, l]
2651
+ }],
2652
+ // ---------------
2653
+ // --- Filters ---
2654
+ // ---------------
2655
+ /**
2656
+ * Filter
2657
+ * @see https://tailwindcss.com/docs/filter
2658
+ */
2659
+ filter: [{
2660
+ filter: [
2661
+ // Deprecated since Tailwind CSS v3.0.0
2662
+ "",
2663
+ "none",
2664
+ c,
2665
+ l
2666
+ ]
2667
+ }],
2668
+ /**
2669
+ * Blur
2670
+ * @see https://tailwindcss.com/docs/blur
2671
+ */
2672
+ blur: [{
2673
+ blur: G()
2674
+ }],
2675
+ /**
2676
+ * Brightness
2677
+ * @see https://tailwindcss.com/docs/brightness
2678
+ */
2679
+ brightness: [{
2680
+ brightness: [g, c, l]
2681
+ }],
2682
+ /**
2683
+ * Contrast
2684
+ * @see https://tailwindcss.com/docs/contrast
2685
+ */
2686
+ contrast: [{
2687
+ contrast: [g, c, l]
2688
+ }],
2689
+ /**
2690
+ * Drop Shadow
2691
+ * @see https://tailwindcss.com/docs/drop-shadow
2692
+ */
2693
+ "drop-shadow": [{
2694
+ "drop-shadow": [
2695
+ // Deprecated since Tailwind CSS v4.0.0
2696
+ "",
2697
+ "none",
2698
+ A,
2699
+ ge,
2700
+ pe
2701
+ ]
2702
+ }],
2703
+ /**
2704
+ * Drop Shadow Color
2705
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2706
+ */
2707
+ "drop-shadow-color": [{
2708
+ "drop-shadow": m()
2709
+ }],
2710
+ /**
2711
+ * Grayscale
2712
+ * @see https://tailwindcss.com/docs/grayscale
2713
+ */
2714
+ grayscale: [{
2715
+ grayscale: ["", g, c, l]
2716
+ }],
2717
+ /**
2718
+ * Hue Rotate
2719
+ * @see https://tailwindcss.com/docs/hue-rotate
2720
+ */
2721
+ "hue-rotate": [{
2722
+ "hue-rotate": [g, c, l]
2723
+ }],
2724
+ /**
2725
+ * Invert
2726
+ * @see https://tailwindcss.com/docs/invert
2727
+ */
2728
+ invert: [{
2729
+ invert: ["", g, c, l]
2730
+ }],
2731
+ /**
2732
+ * Saturate
2733
+ * @see https://tailwindcss.com/docs/saturate
2734
+ */
2735
+ saturate: [{
2736
+ saturate: [g, c, l]
2737
+ }],
2738
+ /**
2739
+ * Sepia
2740
+ * @see https://tailwindcss.com/docs/sepia
2741
+ */
2742
+ sepia: [{
2743
+ sepia: ["", g, c, l]
2744
+ }],
2745
+ /**
2746
+ * Backdrop Filter
2747
+ * @see https://tailwindcss.com/docs/backdrop-filter
2748
+ */
2749
+ "backdrop-filter": [{
2750
+ "backdrop-filter": [
2751
+ // Deprecated since Tailwind CSS v3.0.0
2752
+ "",
2753
+ "none",
2754
+ c,
2755
+ l
2756
+ ]
2757
+ }],
2758
+ /**
2759
+ * Backdrop Blur
2760
+ * @see https://tailwindcss.com/docs/backdrop-blur
2761
+ */
2762
+ "backdrop-blur": [{
2763
+ "backdrop-blur": G()
2764
+ }],
2765
+ /**
2766
+ * Backdrop Brightness
2767
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2768
+ */
2769
+ "backdrop-brightness": [{
2770
+ "backdrop-brightness": [g, c, l]
2771
+ }],
2772
+ /**
2773
+ * Backdrop Contrast
2774
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2775
+ */
2776
+ "backdrop-contrast": [{
2777
+ "backdrop-contrast": [g, c, l]
2778
+ }],
2779
+ /**
2780
+ * Backdrop Grayscale
2781
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2782
+ */
2783
+ "backdrop-grayscale": [{
2784
+ "backdrop-grayscale": ["", g, c, l]
2785
+ }],
2786
+ /**
2787
+ * Backdrop Hue Rotate
2788
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2789
+ */
2790
+ "backdrop-hue-rotate": [{
2791
+ "backdrop-hue-rotate": [g, c, l]
2792
+ }],
2793
+ /**
2794
+ * Backdrop Invert
2795
+ * @see https://tailwindcss.com/docs/backdrop-invert
2796
+ */
2797
+ "backdrop-invert": [{
2798
+ "backdrop-invert": ["", g, c, l]
2799
+ }],
2800
+ /**
2801
+ * Backdrop Opacity
2802
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2803
+ */
2804
+ "backdrop-opacity": [{
2805
+ "backdrop-opacity": [g, c, l]
2806
+ }],
2807
+ /**
2808
+ * Backdrop Saturate
2809
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2810
+ */
2811
+ "backdrop-saturate": [{
2812
+ "backdrop-saturate": [g, c, l]
2813
+ }],
2814
+ /**
2815
+ * Backdrop Sepia
2816
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2817
+ */
2818
+ "backdrop-sepia": [{
2819
+ "backdrop-sepia": ["", g, c, l]
2820
+ }],
2821
+ // --------------
2822
+ // --- Tables ---
2823
+ // --------------
2824
+ /**
2825
+ * Border Collapse
2826
+ * @see https://tailwindcss.com/docs/border-collapse
2827
+ */
2828
+ "border-collapse": [{
2829
+ border: ["collapse", "separate"]
2830
+ }],
2831
+ /**
2832
+ * Border Spacing
2833
+ * @see https://tailwindcss.com/docs/border-spacing
2834
+ */
2835
+ "border-spacing": [{
2836
+ "border-spacing": f()
2837
+ }],
2838
+ /**
2839
+ * Border Spacing X
2840
+ * @see https://tailwindcss.com/docs/border-spacing
2841
+ */
2842
+ "border-spacing-x": [{
2843
+ "border-spacing-x": f()
2844
+ }],
2845
+ /**
2846
+ * Border Spacing Y
2847
+ * @see https://tailwindcss.com/docs/border-spacing
2848
+ */
2849
+ "border-spacing-y": [{
2850
+ "border-spacing-y": f()
2851
+ }],
2852
+ /**
2853
+ * Table Layout
2854
+ * @see https://tailwindcss.com/docs/table-layout
2855
+ */
2856
+ "table-layout": [{
2857
+ table: ["auto", "fixed"]
2858
+ }],
2859
+ /**
2860
+ * Caption Side
2861
+ * @see https://tailwindcss.com/docs/caption-side
2862
+ */
2863
+ caption: [{
2864
+ caption: ["top", "bottom"]
2865
+ }],
2866
+ // ---------------------------------
2867
+ // --- Transitions and Animation ---
2868
+ // ---------------------------------
2869
+ /**
2870
+ * Transition Property
2871
+ * @see https://tailwindcss.com/docs/transition-property
2872
+ */
2873
+ transition: [{
2874
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", c, l]
2875
+ }],
2876
+ /**
2877
+ * Transition Behavior
2878
+ * @see https://tailwindcss.com/docs/transition-behavior
2879
+ */
2880
+ "transition-behavior": [{
2881
+ transition: ["normal", "discrete"]
2882
+ }],
2883
+ /**
2884
+ * Transition Duration
2885
+ * @see https://tailwindcss.com/docs/transition-duration
2886
+ */
2887
+ duration: [{
2888
+ duration: [g, "initial", c, l]
2889
+ }],
2890
+ /**
2891
+ * Transition Timing Function
2892
+ * @see https://tailwindcss.com/docs/transition-timing-function
2893
+ */
2894
+ ease: [{
2895
+ ease: ["linear", "initial", N, c, l]
2896
+ }],
2897
+ /**
2898
+ * Transition Delay
2899
+ * @see https://tailwindcss.com/docs/transition-delay
2900
+ */
2901
+ delay: [{
2902
+ delay: [g, c, l]
2903
+ }],
2904
+ /**
2905
+ * Animation
2906
+ * @see https://tailwindcss.com/docs/animation
2907
+ */
2908
+ animate: [{
2909
+ animate: ["none", H, c, l]
2910
+ }],
2911
+ // ------------------
2912
+ // --- Transforms ---
2913
+ // ------------------
2914
+ /**
2915
+ * Backface Visibility
2916
+ * @see https://tailwindcss.com/docs/backface-visibility
2917
+ */
2918
+ backface: [{
2919
+ backface: ["hidden", "visible"]
2920
+ }],
2921
+ /**
2922
+ * Perspective
2923
+ * @see https://tailwindcss.com/docs/perspective
2924
+ */
2925
+ perspective: [{
2926
+ perspective: [_, c, l]
2927
+ }],
2928
+ /**
2929
+ * Perspective Origin
2930
+ * @see https://tailwindcss.com/docs/perspective-origin
2931
+ */
2932
+ "perspective-origin": [{
2933
+ "perspective-origin": L()
2934
+ }],
2935
+ /**
2936
+ * Rotate
2937
+ * @see https://tailwindcss.com/docs/rotate
2938
+ */
2939
+ rotate: [{
2940
+ rotate: $()
2941
+ }],
2942
+ /**
2943
+ * Rotate X
2944
+ * @see https://tailwindcss.com/docs/rotate
2945
+ */
2946
+ "rotate-x": [{
2947
+ "rotate-x": $()
2948
+ }],
2949
+ /**
2950
+ * Rotate Y
2951
+ * @see https://tailwindcss.com/docs/rotate
2952
+ */
2953
+ "rotate-y": [{
2954
+ "rotate-y": $()
2955
+ }],
2956
+ /**
2957
+ * Rotate Z
2958
+ * @see https://tailwindcss.com/docs/rotate
2959
+ */
2960
+ "rotate-z": [{
2961
+ "rotate-z": $()
2962
+ }],
2963
+ /**
2964
+ * Scale
2965
+ * @see https://tailwindcss.com/docs/scale
2966
+ */
2967
+ scale: [{
2968
+ scale: X()
2969
+ }],
2970
+ /**
2971
+ * Scale X
2972
+ * @see https://tailwindcss.com/docs/scale
2973
+ */
2974
+ "scale-x": [{
2975
+ "scale-x": X()
2976
+ }],
2977
+ /**
2978
+ * Scale Y
2979
+ * @see https://tailwindcss.com/docs/scale
2980
+ */
2981
+ "scale-y": [{
2982
+ "scale-y": X()
2983
+ }],
2984
+ /**
2985
+ * Scale Z
2986
+ * @see https://tailwindcss.com/docs/scale
2987
+ */
2988
+ "scale-z": [{
2989
+ "scale-z": X()
2990
+ }],
2991
+ /**
2992
+ * Scale 3D
2993
+ * @see https://tailwindcss.com/docs/scale
2994
+ */
2995
+ "scale-3d": ["scale-3d"],
2996
+ /**
2997
+ * Skew
2998
+ * @see https://tailwindcss.com/docs/skew
2999
+ */
3000
+ skew: [{
3001
+ skew: ve()
3002
+ }],
3003
+ /**
3004
+ * Skew X
3005
+ * @see https://tailwindcss.com/docs/skew
3006
+ */
3007
+ "skew-x": [{
3008
+ "skew-x": ve()
3009
+ }],
3010
+ /**
3011
+ * Skew Y
3012
+ * @see https://tailwindcss.com/docs/skew
3013
+ */
3014
+ "skew-y": [{
3015
+ "skew-y": ve()
3016
+ }],
3017
+ /**
3018
+ * Transform
3019
+ * @see https://tailwindcss.com/docs/transform
3020
+ */
3021
+ transform: [{
3022
+ transform: [c, l, "", "none", "gpu", "cpu"]
3023
+ }],
3024
+ /**
3025
+ * Transform Origin
3026
+ * @see https://tailwindcss.com/docs/transform-origin
3027
+ */
3028
+ "transform-origin": [{
3029
+ origin: L()
3030
+ }],
3031
+ /**
3032
+ * Transform Style
3033
+ * @see https://tailwindcss.com/docs/transform-style
3034
+ */
3035
+ "transform-style": [{
3036
+ transform: ["3d", "flat"]
3037
+ }],
3038
+ /**
3039
+ * Translate
3040
+ * @see https://tailwindcss.com/docs/translate
3041
+ */
3042
+ translate: [{
3043
+ translate: ue()
3044
+ }],
3045
+ /**
3046
+ * Translate X
3047
+ * @see https://tailwindcss.com/docs/translate
3048
+ */
3049
+ "translate-x": [{
3050
+ "translate-x": ue()
3051
+ }],
3052
+ /**
3053
+ * Translate Y
3054
+ * @see https://tailwindcss.com/docs/translate
3055
+ */
3056
+ "translate-y": [{
3057
+ "translate-y": ue()
3058
+ }],
3059
+ /**
3060
+ * Translate Z
3061
+ * @see https://tailwindcss.com/docs/translate
3062
+ */
3063
+ "translate-z": [{
3064
+ "translate-z": ue()
3065
+ }],
3066
+ /**
3067
+ * Translate None
3068
+ * @see https://tailwindcss.com/docs/translate
3069
+ */
3070
+ "translate-none": ["translate-none"],
3071
+ // ---------------------
3072
+ // --- Interactivity ---
3073
+ // ---------------------
3074
+ /**
3075
+ * Accent Color
3076
+ * @see https://tailwindcss.com/docs/accent-color
3077
+ */
3078
+ accent: [{
3079
+ accent: m()
3080
+ }],
3081
+ /**
3082
+ * Appearance
3083
+ * @see https://tailwindcss.com/docs/appearance
3084
+ */
3085
+ appearance: [{
3086
+ appearance: ["none", "auto"]
3087
+ }],
3088
+ /**
3089
+ * Caret Color
3090
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
3091
+ */
3092
+ "caret-color": [{
3093
+ caret: m()
3094
+ }],
3095
+ /**
3096
+ * Color Scheme
3097
+ * @see https://tailwindcss.com/docs/color-scheme
3098
+ */
3099
+ "color-scheme": [{
3100
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
3101
+ }],
3102
+ /**
3103
+ * Cursor
3104
+ * @see https://tailwindcss.com/docs/cursor
3105
+ */
3106
+ cursor: [{
3107
+ 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", c, l]
3108
+ }],
3109
+ /**
3110
+ * Field Sizing
3111
+ * @see https://tailwindcss.com/docs/field-sizing
3112
+ */
3113
+ "field-sizing": [{
3114
+ "field-sizing": ["fixed", "content"]
3115
+ }],
3116
+ /**
3117
+ * Pointer Events
3118
+ * @see https://tailwindcss.com/docs/pointer-events
3119
+ */
3120
+ "pointer-events": [{
3121
+ "pointer-events": ["auto", "none"]
3122
+ }],
3123
+ /**
3124
+ * Resize
3125
+ * @see https://tailwindcss.com/docs/resize
3126
+ */
3127
+ resize: [{
3128
+ resize: ["none", "", "y", "x"]
3129
+ }],
3130
+ /**
3131
+ * Scroll Behavior
3132
+ * @see https://tailwindcss.com/docs/scroll-behavior
3133
+ */
3134
+ "scroll-behavior": [{
3135
+ scroll: ["auto", "smooth"]
3136
+ }],
3137
+ /**
3138
+ * Scroll Margin
3139
+ * @see https://tailwindcss.com/docs/scroll-margin
3140
+ */
3141
+ "scroll-m": [{
3142
+ "scroll-m": f()
3143
+ }],
3144
+ /**
3145
+ * Scroll Margin X
3146
+ * @see https://tailwindcss.com/docs/scroll-margin
3147
+ */
3148
+ "scroll-mx": [{
3149
+ "scroll-mx": f()
3150
+ }],
3151
+ /**
3152
+ * Scroll Margin Y
3153
+ * @see https://tailwindcss.com/docs/scroll-margin
3154
+ */
3155
+ "scroll-my": [{
3156
+ "scroll-my": f()
3157
+ }],
3158
+ /**
3159
+ * Scroll Margin Start
3160
+ * @see https://tailwindcss.com/docs/scroll-margin
3161
+ */
3162
+ "scroll-ms": [{
3163
+ "scroll-ms": f()
3164
+ }],
3165
+ /**
3166
+ * Scroll Margin End
3167
+ * @see https://tailwindcss.com/docs/scroll-margin
3168
+ */
3169
+ "scroll-me": [{
3170
+ "scroll-me": f()
3171
+ }],
3172
+ /**
3173
+ * Scroll Margin Top
3174
+ * @see https://tailwindcss.com/docs/scroll-margin
3175
+ */
3176
+ "scroll-mt": [{
3177
+ "scroll-mt": f()
3178
+ }],
3179
+ /**
3180
+ * Scroll Margin Right
3181
+ * @see https://tailwindcss.com/docs/scroll-margin
3182
+ */
3183
+ "scroll-mr": [{
3184
+ "scroll-mr": f()
3185
+ }],
3186
+ /**
3187
+ * Scroll Margin Bottom
3188
+ * @see https://tailwindcss.com/docs/scroll-margin
3189
+ */
3190
+ "scroll-mb": [{
3191
+ "scroll-mb": f()
3192
+ }],
3193
+ /**
3194
+ * Scroll Margin Left
3195
+ * @see https://tailwindcss.com/docs/scroll-margin
3196
+ */
3197
+ "scroll-ml": [{
3198
+ "scroll-ml": f()
3199
+ }],
3200
+ /**
3201
+ * Scroll Padding
3202
+ * @see https://tailwindcss.com/docs/scroll-padding
3203
+ */
3204
+ "scroll-p": [{
3205
+ "scroll-p": f()
3206
+ }],
3207
+ /**
3208
+ * Scroll Padding X
3209
+ * @see https://tailwindcss.com/docs/scroll-padding
3210
+ */
3211
+ "scroll-px": [{
3212
+ "scroll-px": f()
3213
+ }],
3214
+ /**
3215
+ * Scroll Padding Y
3216
+ * @see https://tailwindcss.com/docs/scroll-padding
3217
+ */
3218
+ "scroll-py": [{
3219
+ "scroll-py": f()
3220
+ }],
3221
+ /**
3222
+ * Scroll Padding Start
3223
+ * @see https://tailwindcss.com/docs/scroll-padding
3224
+ */
3225
+ "scroll-ps": [{
3226
+ "scroll-ps": f()
3227
+ }],
3228
+ /**
3229
+ * Scroll Padding End
3230
+ * @see https://tailwindcss.com/docs/scroll-padding
3231
+ */
3232
+ "scroll-pe": [{
3233
+ "scroll-pe": f()
3234
+ }],
3235
+ /**
3236
+ * Scroll Padding Top
3237
+ * @see https://tailwindcss.com/docs/scroll-padding
3238
+ */
3239
+ "scroll-pt": [{
3240
+ "scroll-pt": f()
3241
+ }],
3242
+ /**
3243
+ * Scroll Padding Right
3244
+ * @see https://tailwindcss.com/docs/scroll-padding
3245
+ */
3246
+ "scroll-pr": [{
3247
+ "scroll-pr": f()
3248
+ }],
3249
+ /**
3250
+ * Scroll Padding Bottom
3251
+ * @see https://tailwindcss.com/docs/scroll-padding
3252
+ */
3253
+ "scroll-pb": [{
3254
+ "scroll-pb": f()
3255
+ }],
3256
+ /**
3257
+ * Scroll Padding Left
3258
+ * @see https://tailwindcss.com/docs/scroll-padding
3259
+ */
3260
+ "scroll-pl": [{
3261
+ "scroll-pl": f()
3262
+ }],
3263
+ /**
3264
+ * Scroll Snap Align
3265
+ * @see https://tailwindcss.com/docs/scroll-snap-align
3266
+ */
3267
+ "snap-align": [{
3268
+ snap: ["start", "end", "center", "align-none"]
3269
+ }],
3270
+ /**
3271
+ * Scroll Snap Stop
3272
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
3273
+ */
3274
+ "snap-stop": [{
3275
+ snap: ["normal", "always"]
3276
+ }],
3277
+ /**
3278
+ * Scroll Snap Type
3279
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3280
+ */
3281
+ "snap-type": [{
3282
+ snap: ["none", "x", "y", "both"]
3283
+ }],
3284
+ /**
3285
+ * Scroll Snap Type Strictness
3286
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3287
+ */
3288
+ "snap-strictness": [{
3289
+ snap: ["mandatory", "proximity"]
3290
+ }],
3291
+ /**
3292
+ * Touch Action
3293
+ * @see https://tailwindcss.com/docs/touch-action
3294
+ */
3295
+ touch: [{
3296
+ touch: ["auto", "none", "manipulation"]
3297
+ }],
3298
+ /**
3299
+ * Touch Action X
3300
+ * @see https://tailwindcss.com/docs/touch-action
3301
+ */
3302
+ "touch-x": [{
3303
+ "touch-pan": ["x", "left", "right"]
3304
+ }],
3305
+ /**
3306
+ * Touch Action Y
3307
+ * @see https://tailwindcss.com/docs/touch-action
3308
+ */
3309
+ "touch-y": [{
3310
+ "touch-pan": ["y", "up", "down"]
3311
+ }],
3312
+ /**
3313
+ * Touch Action Pinch Zoom
3314
+ * @see https://tailwindcss.com/docs/touch-action
3315
+ */
3316
+ "touch-pz": ["touch-pinch-zoom"],
3317
+ /**
3318
+ * User Select
3319
+ * @see https://tailwindcss.com/docs/user-select
3320
+ */
3321
+ select: [{
3322
+ select: ["none", "text", "all", "auto"]
3323
+ }],
3324
+ /**
3325
+ * Will Change
3326
+ * @see https://tailwindcss.com/docs/will-change
3327
+ */
3328
+ "will-change": [{
3329
+ "will-change": ["auto", "scroll", "contents", "transform", c, l]
3330
+ }],
3331
+ // -----------
3332
+ // --- SVG ---
3333
+ // -----------
3334
+ /**
3335
+ * Fill
3336
+ * @see https://tailwindcss.com/docs/fill
3337
+ */
3338
+ fill: [{
3339
+ fill: ["none", ...m()]
3340
+ }],
3341
+ /**
3342
+ * Stroke Width
3343
+ * @see https://tailwindcss.com/docs/stroke-width
3344
+ */
3345
+ "stroke-w": [{
3346
+ stroke: [g, ie, U, ye]
3347
+ }],
3348
+ /**
3349
+ * Stroke
3350
+ * @see https://tailwindcss.com/docs/stroke
3351
+ */
3352
+ stroke: [{
3353
+ stroke: ["none", ...m()]
3354
+ }],
3355
+ // ---------------------
3356
+ // --- Accessibility ---
3357
+ // ---------------------
3358
+ /**
3359
+ * Forced Color Adjust
3360
+ * @see https://tailwindcss.com/docs/forced-color-adjust
3361
+ */
3362
+ "forced-color-adjust": [{
3363
+ "forced-color-adjust": ["auto", "none"]
3364
+ }]
3365
+ },
3366
+ conflictingClassGroups: {
3367
+ overflow: ["overflow-x", "overflow-y"],
3368
+ overscroll: ["overscroll-x", "overscroll-y"],
3369
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
3370
+ "inset-x": ["right", "left"],
3371
+ "inset-y": ["top", "bottom"],
3372
+ flex: ["basis", "grow", "shrink"],
3373
+ gap: ["gap-x", "gap-y"],
3374
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
3375
+ px: ["pr", "pl"],
3376
+ py: ["pt", "pb"],
3377
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
3378
+ mx: ["mr", "ml"],
3379
+ my: ["mt", "mb"],
3380
+ size: ["w", "h"],
3381
+ "font-size": ["leading"],
3382
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
3383
+ "fvn-ordinal": ["fvn-normal"],
3384
+ "fvn-slashed-zero": ["fvn-normal"],
3385
+ "fvn-figure": ["fvn-normal"],
3386
+ "fvn-spacing": ["fvn-normal"],
3387
+ "fvn-fraction": ["fvn-normal"],
3388
+ "line-clamp": ["display", "overflow"],
3389
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
3390
+ "rounded-s": ["rounded-ss", "rounded-es"],
3391
+ "rounded-e": ["rounded-se", "rounded-ee"],
3392
+ "rounded-t": ["rounded-tl", "rounded-tr"],
3393
+ "rounded-r": ["rounded-tr", "rounded-br"],
3394
+ "rounded-b": ["rounded-br", "rounded-bl"],
3395
+ "rounded-l": ["rounded-tl", "rounded-bl"],
3396
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
3397
+ "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
3398
+ "border-w-x": ["border-w-r", "border-w-l"],
3399
+ "border-w-y": ["border-w-t", "border-w-b"],
3400
+ "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
3401
+ "border-color-x": ["border-color-r", "border-color-l"],
3402
+ "border-color-y": ["border-color-t", "border-color-b"],
3403
+ translate: ["translate-x", "translate-y", "translate-none"],
3404
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
3405
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3406
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3407
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3408
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3409
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3410
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3411
+ touch: ["touch-x", "touch-y", "touch-pz"],
3412
+ "touch-x": ["touch"],
3413
+ "touch-y": ["touch"],
3414
+ "touch-pz": ["touch"]
3415
+ },
3416
+ conflictingClassGroupModifiers: {
3417
+ "font-size": ["leading"]
3418
+ },
3419
+ orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3420
+ };
3421
+ }, ut = (e, {
3422
+ cacheSize: r,
3423
+ prefix: t,
3424
+ experimentalParseClassName: o,
3425
+ extend: s = {},
3426
+ override: a = {}
3427
+ }) => (le(e, "cacheSize", r), le(e, "prefix", t), le(e, "experimentalParseClassName", o), be(e.theme, a.theme), be(e.classGroups, a.classGroups), be(e.conflictingClassGroups, a.conflictingClassGroups), be(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), le(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), he(e.theme, s.theme), he(e.classGroups, s.classGroups), he(e.conflictingClassGroups, s.conflictingClassGroups), he(e.conflictingClassGroupModifiers, s.conflictingClassGroupModifiers), Be(e, s, "orderSensitiveModifiers"), e), le = (e, r, t) => {
3428
+ t !== void 0 && (e[r] = t);
3429
+ }, be = (e, r) => {
3430
+ if (r)
3431
+ for (const t in r)
3432
+ le(e, t, r[t]);
3433
+ }, he = (e, r) => {
3434
+ if (r)
3435
+ for (const t in r)
3436
+ Be(e, r, t);
3437
+ }, Be = (e, r, t) => {
3438
+ const o = r[t];
3439
+ o !== void 0 && (e[t] = e[t] ? e[t].concat(o) : o);
3440
+ }, mt = (e, ...r) => typeof e == "function" ? Re(Te, e, ...r) : Re(() => ut(Te(), e), ...r), ft = /* @__PURE__ */ Re(Te);
3441
+ var pt = (e) => Tr(e) ? ft : mt({
3442
+ ...e,
3443
+ extend: {
3444
+ theme: e.theme,
3445
+ classGroups: e.classGroups,
3446
+ conflictingClassGroupModifiers: e.conflictingClassGroupModifiers,
3447
+ conflictingClassGroups: e.conflictingClassGroups,
3448
+ ...e.extend
3449
+ }
3450
+ }), gt = (e, r) => {
3451
+ const t = Rr(e);
3452
+ return !t || !(r?.twMerge ?? !0) ? t : ((!Z.cachedTwMerge || Z.didTwMergeConfigChange) && (Z.didTwMergeConfigChange = !1, Z.cachedTwMerge = pt(Z.cachedTwMergeConfig)), Z.cachedTwMerge(t) || void 0);
3453
+ }, bt = (...e) => (r) => gt(e, r);
3454
+ function He(...e) {
3455
+ return bt(...e)({ twMergeConfig: kr });
3456
+ }
3457
+ function Je(e) {
3458
+ return /* @__PURE__ */ k.jsx(
3459
+ nr,
3460
+ {
3461
+ ...e,
3462
+ classNames: {
3463
+ ...e.classNames,
3464
+ label: He("text-sm font-medium", e.classNames?.label)
3465
+ },
3466
+ children: e.children
3467
+ }
3468
+ );
3469
+ }
3470
+ function ht({ options: e, ...r }) {
3471
+ return /* @__PURE__ */ k.jsx(
3472
+ sr,
3473
+ {
3474
+ ...r,
3475
+ classNames: {
3476
+ ...r.classNames,
3477
+ label: He(
3478
+ "text-sm text-foreground font-medium",
3479
+ { "text-danger": r.isInvalid },
3480
+ r.classNames?.label
3481
+ )
3482
+ },
3483
+ children: e.map((t) => /* @__PURE__ */ k.jsx(Je, { value: t.value, ...t.props, children: t.label }, t.value))
3484
+ }
3485
+ );
3486
+ }
3487
+ function _t(e) {
3488
+ const { control: r, name: t, rules: o = {}, ...s } = e, a = {
3489
+ ...o,
3490
+ ...s.isRequired && !o?.required ? { required: "This field is required" } : {}
3491
+ };
3492
+ return /* @__PURE__ */ k.jsx(
3493
+ B,
3494
+ {
3495
+ control: r,
3496
+ name: t,
3497
+ rules: a,
3498
+ render: ({ field: i, fieldState: d }) => /* @__PURE__ */ k.jsx(
3499
+ ht,
3500
+ {
3501
+ ...s,
3502
+ ...i,
3503
+ isInvalid: d.invalid,
3504
+ errorMessage: d.error?.message
3505
+ }
3506
+ )
3507
+ }
3508
+ );
3509
+ }
3510
+ function Et(e) {
3511
+ const { control: r, name: t, rules: o = {}, ...s } = e, a = {
3512
+ ...o,
3513
+ ...s.isRequired && !o?.required ? { required: "This field is required" } : {}
3514
+ };
3515
+ return /* @__PURE__ */ k.jsx(
3516
+ B,
3517
+ {
3518
+ control: r,
3519
+ name: t,
3520
+ rules: a,
3521
+ render: ({ field: i, fieldState: d }) => /* @__PURE__ */ k.jsx(Je, { ...i, ...s, isInvalid: d.invalid, children: e.children })
3522
+ }
3523
+ );
3524
+ }
305
3525
  export {
306
- ue as InputText,
307
- fe as InputTextWithRHFControl
3526
+ fr as Autocomplete,
3527
+ Ct as AutocompleteWithRHFControl,
3528
+ Je as Checkbox,
3529
+ ht as CheckboxGroup,
3530
+ _t as CheckboxGroupWithRHFControl,
3531
+ Et as CheckboxWithRHFControl,
3532
+ dr as InputNumber,
3533
+ wt as InputNumberWithRHFControl,
3534
+ cr as InputText,
3535
+ yt as InputTextWithRHFControl,
3536
+ mr as Select,
3537
+ Tt as SelectWithRHFControl,
3538
+ ur as Textarea,
3539
+ Rt as TextareaWithRHFControl
308
3540
  };