rds-ui-system 2.30.0 → 2.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rds-ui-system.es.js +1065 -905
- package/dist/rds-ui-system.umd.js +6 -6
- package/package.json +1 -1
package/dist/rds-ui-system.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
1
|
+
import ot, { forwardRef as Y, useState as B, useEffect as O, useRef as ie, useMemo as Me, useCallback as Le, memo as ze } from "react";
|
|
2
|
+
var je = { exports: {} }, he = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.js
|
|
@@ -9,10 +9,10 @@ var ge = { exports: {} }, fe = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
12
|
+
var Re;
|
|
13
|
+
function dt() {
|
|
14
|
+
if (Re) return he;
|
|
15
|
+
Re = 1;
|
|
16
16
|
var s = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
|
|
17
17
|
function t(i, a, l) {
|
|
18
18
|
var n = null;
|
|
@@ -29,9 +29,9 @@ function ct() {
|
|
|
29
29
|
props: l
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return he.Fragment = r, he.jsx = t, he.jsxs = t, he;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var fe = {};
|
|
35
35
|
/**
|
|
36
36
|
* @license React
|
|
37
37
|
* react-jsx-runtime.development.js
|
|
@@ -41,42 +41,42 @@ var xe = {};
|
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
44
|
+
var Pe;
|
|
45
|
+
function ht() {
|
|
46
|
+
return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
47
47
|
function s(f) {
|
|
48
48
|
if (f == null) return null;
|
|
49
49
|
if (typeof f == "function")
|
|
50
|
-
return f.$$typeof ===
|
|
50
|
+
return f.$$typeof === D ? null : f.displayName || f.name || null;
|
|
51
51
|
if (typeof f == "string") return f;
|
|
52
52
|
switch (f) {
|
|
53
|
-
case
|
|
53
|
+
case g:
|
|
54
54
|
return "Fragment";
|
|
55
|
-
case
|
|
55
|
+
case M:
|
|
56
56
|
return "Profiler";
|
|
57
57
|
case b:
|
|
58
58
|
return "StrictMode";
|
|
59
|
-
case
|
|
59
|
+
case A:
|
|
60
60
|
return "Suspense";
|
|
61
|
-
case
|
|
61
|
+
case z:
|
|
62
62
|
return "SuspenseList";
|
|
63
|
-
case
|
|
63
|
+
case $:
|
|
64
64
|
return "Activity";
|
|
65
65
|
}
|
|
66
66
|
if (typeof f == "object")
|
|
67
67
|
switch (f.tag, f.$$typeof) {
|
|
68
|
-
case
|
|
68
|
+
case V:
|
|
69
69
|
return "Portal";
|
|
70
|
-
case
|
|
70
|
+
case E:
|
|
71
71
|
return f.displayName || "Context";
|
|
72
|
-
case
|
|
72
|
+
case N:
|
|
73
73
|
return (f._context.displayName || "Context") + ".Consumer";
|
|
74
74
|
case k:
|
|
75
75
|
var _ = f.render;
|
|
76
76
|
return f = f.displayName, f || (f = _.displayName || _.name || "", f = f !== "" ? "ForwardRef(" + f + ")" : "ForwardRef"), f;
|
|
77
|
-
case
|
|
77
|
+
case w:
|
|
78
78
|
return _ = f.displayName || null, _ !== null ? _ : s(f.type) || "Memo";
|
|
79
|
-
case
|
|
79
|
+
case H:
|
|
80
80
|
_ = f._payload, f = f._init;
|
|
81
81
|
try {
|
|
82
82
|
return s(f(_));
|
|
@@ -97,17 +97,17 @@ function ot() {
|
|
|
97
97
|
}
|
|
98
98
|
if (_) {
|
|
99
99
|
_ = console;
|
|
100
|
-
var
|
|
101
|
-
return
|
|
100
|
+
var R = _.error, P = typeof Symbol == "function" && Symbol.toStringTag && f[Symbol.toStringTag] || f.constructor.name || "Object";
|
|
101
|
+
return R.call(
|
|
102
102
|
_,
|
|
103
103
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
104
|
-
|
|
104
|
+
P
|
|
105
105
|
), r(f);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
function i(f) {
|
|
109
|
-
if (f ===
|
|
110
|
-
if (typeof f == "object" && f !== null && f.$$typeof ===
|
|
109
|
+
if (f === g) return "<>";
|
|
110
|
+
if (typeof f == "object" && f !== null && f.$$typeof === H)
|
|
111
111
|
return "<...>";
|
|
112
112
|
try {
|
|
113
113
|
var _ = s(f);
|
|
@@ -117,41 +117,41 @@ function ot() {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
function a() {
|
|
120
|
-
var f =
|
|
120
|
+
var f = J.A;
|
|
121
121
|
return f === null ? null : f.getOwner();
|
|
122
122
|
}
|
|
123
123
|
function l() {
|
|
124
124
|
return Error("react-stack-top-frame");
|
|
125
125
|
}
|
|
126
126
|
function n(f) {
|
|
127
|
-
if (
|
|
127
|
+
if (F.call(f, "key")) {
|
|
128
128
|
var _ = Object.getOwnPropertyDescriptor(f, "key").get;
|
|
129
129
|
if (_ && _.isReactWarning) return !1;
|
|
130
130
|
}
|
|
131
131
|
return f.key !== void 0;
|
|
132
132
|
}
|
|
133
133
|
function o(f, _) {
|
|
134
|
-
function
|
|
134
|
+
function R() {
|
|
135
135
|
G || (G = !0);
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
get:
|
|
137
|
+
R.isReactWarning = !0, Object.defineProperty(f, "key", {
|
|
138
|
+
get: R,
|
|
139
139
|
configurable: !0
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
142
|
function c() {
|
|
143
143
|
var f = s(this.type);
|
|
144
|
-
return
|
|
144
|
+
return q[f] || (q[f] = !0), f = this.props.ref, f !== void 0 ? f : null;
|
|
145
145
|
}
|
|
146
|
-
function d(f, _,
|
|
147
|
-
var
|
|
146
|
+
function d(f, _, R, P, W, S) {
|
|
147
|
+
var Z = R.ref;
|
|
148
148
|
return f = {
|
|
149
|
-
$$typeof:
|
|
149
|
+
$$typeof: C,
|
|
150
150
|
type: f,
|
|
151
151
|
key: _,
|
|
152
|
-
props:
|
|
153
|
-
_owner:
|
|
154
|
-
}, (
|
|
152
|
+
props: R,
|
|
153
|
+
_owner: P
|
|
154
|
+
}, (Z !== void 0 ? Z : null) !== null ? Object.defineProperty(f, "ref", {
|
|
155
155
|
enumerable: !1,
|
|
156
156
|
get: c
|
|
157
157
|
}) : Object.defineProperty(f, "ref", { enumerable: !1, value: null }), f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
@@ -168,55 +168,55 @@ function ot() {
|
|
|
168
168
|
configurable: !1,
|
|
169
169
|
enumerable: !1,
|
|
170
170
|
writable: !0,
|
|
171
|
-
value:
|
|
171
|
+
value: W
|
|
172
172
|
}), Object.defineProperty(f, "_debugTask", {
|
|
173
173
|
configurable: !1,
|
|
174
174
|
enumerable: !1,
|
|
175
175
|
writable: !0,
|
|
176
|
-
value:
|
|
176
|
+
value: S
|
|
177
177
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
178
178
|
}
|
|
179
|
-
function h(f, _,
|
|
180
|
-
var
|
|
181
|
-
if (
|
|
182
|
-
if (
|
|
183
|
-
if (
|
|
184
|
-
for (
|
|
185
|
-
|
|
186
|
-
Object.freeze && Object.freeze(
|
|
179
|
+
function h(f, _, R, P, W, S) {
|
|
180
|
+
var Z = _.children;
|
|
181
|
+
if (Z !== void 0)
|
|
182
|
+
if (P) {
|
|
183
|
+
if (ee(Z)) {
|
|
184
|
+
for (P = 0; P < Z.length; P++)
|
|
185
|
+
u(Z[P]);
|
|
186
|
+
Object.freeze && Object.freeze(Z);
|
|
187
187
|
}
|
|
188
|
-
} else
|
|
189
|
-
if (
|
|
190
|
-
|
|
191
|
-
var
|
|
192
|
-
return
|
|
188
|
+
} else u(Z);
|
|
189
|
+
if (F.call(_, "key")) {
|
|
190
|
+
Z = s(f);
|
|
191
|
+
var te = Object.keys(_).filter(function(we) {
|
|
192
|
+
return we !== "key";
|
|
193
193
|
});
|
|
194
|
-
|
|
194
|
+
P = 0 < te.length ? "{key: someKey, " + te.join(": ..., ") + ": ...}" : "{key: someKey}", v[Z + P] || (te = 0 < te.length ? "{" + te.join(": ..., ") + ": ...}" : "{}", v[Z + P] = !0);
|
|
195
195
|
}
|
|
196
|
-
if (
|
|
197
|
-
|
|
198
|
-
for (var
|
|
199
|
-
|
|
200
|
-
} else
|
|
201
|
-
return
|
|
202
|
-
|
|
196
|
+
if (Z = null, R !== void 0 && (t(R), Z = "" + R), n(_) && (t(_.key), Z = "" + _.key), "key" in _) {
|
|
197
|
+
R = {};
|
|
198
|
+
for (var T in _)
|
|
199
|
+
T !== "key" && (R[T] = _[T]);
|
|
200
|
+
} else R = _;
|
|
201
|
+
return Z && o(
|
|
202
|
+
R,
|
|
203
203
|
typeof f == "function" ? f.displayName || f.name || "Unknown" : f
|
|
204
204
|
), d(
|
|
205
205
|
f,
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
Z,
|
|
207
|
+
R,
|
|
208
208
|
a(),
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
W,
|
|
210
|
+
S
|
|
211
211
|
);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
L(f) ? f._store && (f._store.validated = 1) : typeof f == "object" && f !== null && f.$$typeof ===
|
|
213
|
+
function u(f) {
|
|
214
|
+
L(f) ? f._store && (f._store.validated = 1) : typeof f == "object" && f !== null && f.$$typeof === H && (f._payload.status === "fulfilled" ? L(f._payload.value) && f._payload.value._store && (f._payload.value._store.validated = 1) : f._store && (f._store.validated = 1));
|
|
215
215
|
}
|
|
216
216
|
function L(f) {
|
|
217
|
-
return typeof f == "object" && f !== null && f.$$typeof ===
|
|
217
|
+
return typeof f == "object" && f !== null && f.$$typeof === C;
|
|
218
218
|
}
|
|
219
|
-
var j =
|
|
219
|
+
var j = ot, C = Symbol.for("react.transitional.element"), V = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), E = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), z = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), $ = Symbol.for("react.activity"), D = Symbol.for("react.client.reference"), J = j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = Object.prototype.hasOwnProperty, ee = Array.isArray, K = console.createTask ? console.createTask : function() {
|
|
220
220
|
return null;
|
|
221
221
|
};
|
|
222
222
|
j = {
|
|
@@ -224,146 +224,146 @@ function ot() {
|
|
|
224
224
|
return f();
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
|
-
var G,
|
|
227
|
+
var G, q = {}, oe = j.react_stack_bottom_frame.bind(
|
|
228
228
|
j,
|
|
229
229
|
l
|
|
230
|
-
)(), de =
|
|
231
|
-
|
|
232
|
-
var
|
|
230
|
+
)(), de = K(i(l)), v = {};
|
|
231
|
+
fe.Fragment = g, fe.jsx = function(f, _, R) {
|
|
232
|
+
var P = 1e4 > J.recentlyCreatedOwnerStacks++;
|
|
233
233
|
return h(
|
|
234
234
|
f,
|
|
235
235
|
_,
|
|
236
|
-
|
|
236
|
+
R,
|
|
237
237
|
!1,
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
P ? Error("react-stack-top-frame") : oe,
|
|
239
|
+
P ? K(i(f)) : de
|
|
240
240
|
);
|
|
241
|
-
},
|
|
242
|
-
var
|
|
241
|
+
}, fe.jsxs = function(f, _, R) {
|
|
242
|
+
var P = 1e4 > J.recentlyCreatedOwnerStacks++;
|
|
243
243
|
return h(
|
|
244
244
|
f,
|
|
245
245
|
_,
|
|
246
|
-
|
|
246
|
+
R,
|
|
247
247
|
!0,
|
|
248
|
-
|
|
249
|
-
|
|
248
|
+
P ? Error("react-stack-top-frame") : oe,
|
|
249
|
+
P ? K(i(f)) : de
|
|
250
250
|
);
|
|
251
251
|
};
|
|
252
|
-
})()),
|
|
252
|
+
})()), fe;
|
|
253
253
|
}
|
|
254
|
-
var
|
|
255
|
-
function
|
|
256
|
-
return
|
|
254
|
+
var Ze;
|
|
255
|
+
function ft() {
|
|
256
|
+
return Ze || (Ze = 1, process.env.NODE_ENV === "production" ? je.exports = dt() : je.exports = ht()), je.exports;
|
|
257
257
|
}
|
|
258
|
-
var e =
|
|
259
|
-
const
|
|
258
|
+
var e = ft();
|
|
259
|
+
const xt = (s, r) => {
|
|
260
260
|
const t = new Array(s.length + r.length);
|
|
261
261
|
for (let i = 0; i < s.length; i++)
|
|
262
262
|
t[i] = s[i];
|
|
263
263
|
for (let i = 0; i < r.length; i++)
|
|
264
264
|
t[s.length + i] = r[i];
|
|
265
265
|
return t;
|
|
266
|
-
},
|
|
266
|
+
}, pt = (s, r) => ({
|
|
267
267
|
classGroupId: s,
|
|
268
268
|
validator: r
|
|
269
|
-
}),
|
|
269
|
+
}), Oe = (s = /* @__PURE__ */ new Map(), r = null, t) => ({
|
|
270
270
|
nextPart: s,
|
|
271
271
|
validators: r,
|
|
272
272
|
classGroupId: t
|
|
273
|
-
}),
|
|
274
|
-
const r =
|
|
273
|
+
}), _e = "-", Te = [], mt = "arbitrary..", wt = (s) => {
|
|
274
|
+
const r = gt(s), {
|
|
275
275
|
conflictingClassGroups: t,
|
|
276
276
|
conflictingClassGroupModifiers: i
|
|
277
277
|
} = s;
|
|
278
278
|
return {
|
|
279
279
|
getClassGroupId: (n) => {
|
|
280
280
|
if (n.startsWith("[") && n.endsWith("]"))
|
|
281
|
-
return
|
|
282
|
-
const o = n.split(
|
|
283
|
-
return
|
|
281
|
+
return ut(n);
|
|
282
|
+
const o = n.split(_e), c = o[0] === "" && o.length > 1 ? 1 : 0;
|
|
283
|
+
return Ue(o, c, r);
|
|
284
284
|
},
|
|
285
285
|
getConflictingClassGroupIds: (n, o) => {
|
|
286
286
|
if (o) {
|
|
287
287
|
const c = i[n], d = t[n];
|
|
288
|
-
return c ? d ?
|
|
288
|
+
return c ? d ? xt(d, c) : c : d || Te;
|
|
289
289
|
}
|
|
290
|
-
return t[n] ||
|
|
290
|
+
return t[n] || Te;
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
|
-
},
|
|
293
|
+
}, Ue = (s, r, t) => {
|
|
294
294
|
if (s.length - r === 0)
|
|
295
295
|
return t.classGroupId;
|
|
296
296
|
const a = s[r], l = t.nextPart.get(a);
|
|
297
297
|
if (l) {
|
|
298
|
-
const d =
|
|
298
|
+
const d = Ue(s, r + 1, l);
|
|
299
299
|
if (d) return d;
|
|
300
300
|
}
|
|
301
301
|
const n = t.validators;
|
|
302
302
|
if (n === null)
|
|
303
303
|
return;
|
|
304
|
-
const o = r === 0 ? s.join(
|
|
304
|
+
const o = r === 0 ? s.join(_e) : s.slice(r).join(_e), c = n.length;
|
|
305
305
|
for (let d = 0; d < c; d++) {
|
|
306
306
|
const h = n[d];
|
|
307
307
|
if (h.validator(o))
|
|
308
308
|
return h.classGroupId;
|
|
309
309
|
}
|
|
310
|
-
},
|
|
310
|
+
}, ut = (s) => s.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
311
311
|
const r = s.slice(1, -1), t = r.indexOf(":"), i = r.slice(0, t);
|
|
312
|
-
return i ?
|
|
313
|
-
})(),
|
|
312
|
+
return i ? mt + i : void 0;
|
|
313
|
+
})(), gt = (s) => {
|
|
314
314
|
const {
|
|
315
315
|
theme: r,
|
|
316
316
|
classGroups: t
|
|
317
317
|
} = s;
|
|
318
|
-
return
|
|
319
|
-
},
|
|
320
|
-
const t =
|
|
318
|
+
return vt(t, r);
|
|
319
|
+
}, vt = (s, r) => {
|
|
320
|
+
const t = Oe();
|
|
321
321
|
for (const i in s) {
|
|
322
322
|
const a = s[i];
|
|
323
|
-
|
|
323
|
+
He(a, t, i, r);
|
|
324
324
|
}
|
|
325
325
|
return t;
|
|
326
|
-
},
|
|
326
|
+
}, He = (s, r, t, i) => {
|
|
327
327
|
const a = s.length;
|
|
328
328
|
for (let l = 0; l < a; l++) {
|
|
329
329
|
const n = s[l];
|
|
330
|
-
|
|
330
|
+
jt(n, r, t, i);
|
|
331
331
|
}
|
|
332
|
-
},
|
|
332
|
+
}, jt = (s, r, t, i) => {
|
|
333
333
|
if (typeof s == "string") {
|
|
334
|
-
|
|
334
|
+
bt(s, r, t);
|
|
335
335
|
return;
|
|
336
336
|
}
|
|
337
337
|
if (typeof s == "function") {
|
|
338
|
-
|
|
338
|
+
kt(s, r, t, i);
|
|
339
339
|
return;
|
|
340
340
|
}
|
|
341
|
-
|
|
342
|
-
},
|
|
343
|
-
const i = s === "" ? r :
|
|
341
|
+
Lt(s, r, t, i);
|
|
342
|
+
}, bt = (s, r, t) => {
|
|
343
|
+
const i = s === "" ? r : Ge(r, s);
|
|
344
344
|
i.classGroupId = t;
|
|
345
|
-
},
|
|
346
|
-
if (
|
|
347
|
-
|
|
345
|
+
}, kt = (s, r, t, i) => {
|
|
346
|
+
if (_t(s)) {
|
|
347
|
+
He(s(i), r, t, i);
|
|
348
348
|
return;
|
|
349
349
|
}
|
|
350
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
351
|
-
},
|
|
350
|
+
r.validators === null && (r.validators = []), r.validators.push(pt(t, s));
|
|
351
|
+
}, Lt = (s, r, t, i) => {
|
|
352
352
|
const a = Object.entries(s), l = a.length;
|
|
353
353
|
for (let n = 0; n < l; n++) {
|
|
354
354
|
const [o, c] = a[n];
|
|
355
|
-
|
|
355
|
+
He(c, Ge(r, o), t, i);
|
|
356
356
|
}
|
|
357
|
-
},
|
|
357
|
+
}, Ge = (s, r) => {
|
|
358
358
|
let t = s;
|
|
359
|
-
const i = r.split(
|
|
359
|
+
const i = r.split(_e), a = i.length;
|
|
360
360
|
for (let l = 0; l < a; l++) {
|
|
361
361
|
const n = i[l];
|
|
362
362
|
let o = t.nextPart.get(n);
|
|
363
|
-
o || (o =
|
|
363
|
+
o || (o = Oe(), t.nextPart.set(n, o)), t = o;
|
|
364
364
|
}
|
|
365
365
|
return t;
|
|
366
|
-
},
|
|
366
|
+
}, _t = (s) => "isThemeGetter" in s && s.isThemeGetter === !0, yt = (s) => {
|
|
367
367
|
if (s < 1)
|
|
368
368
|
return {
|
|
369
369
|
get: () => {
|
|
@@ -387,13 +387,13 @@ const ht = (s, r) => {
|
|
|
387
387
|
l in t ? t[l] = n : a(l, n);
|
|
388
388
|
}
|
|
389
389
|
};
|
|
390
|
-
},
|
|
390
|
+
}, Ce = "!", Ee = ":", Nt = [], Be = (s, r, t, i, a) => ({
|
|
391
391
|
modifiers: s,
|
|
392
392
|
hasImportantModifier: r,
|
|
393
393
|
baseClassName: t,
|
|
394
394
|
maybePostfixModifierPosition: i,
|
|
395
395
|
isExternal: a
|
|
396
|
-
}),
|
|
396
|
+
}), Ct = (s) => {
|
|
397
397
|
const {
|
|
398
398
|
prefix: r,
|
|
399
399
|
experimentalParseClassName: t
|
|
@@ -402,35 +402,35 @@ const ht = (s, r) => {
|
|
|
402
402
|
const l = [];
|
|
403
403
|
let n = 0, o = 0, c = 0, d;
|
|
404
404
|
const h = a.length;
|
|
405
|
-
for (let
|
|
406
|
-
const
|
|
405
|
+
for (let V = 0; V < h; V++) {
|
|
406
|
+
const g = a[V];
|
|
407
407
|
if (n === 0 && o === 0) {
|
|
408
|
-
if (
|
|
409
|
-
l.push(a.slice(c,
|
|
408
|
+
if (g === Ee) {
|
|
409
|
+
l.push(a.slice(c, V)), c = V + 1;
|
|
410
410
|
continue;
|
|
411
411
|
}
|
|
412
|
-
if (
|
|
413
|
-
d =
|
|
412
|
+
if (g === "/") {
|
|
413
|
+
d = V;
|
|
414
414
|
continue;
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
|
|
417
|
+
g === "[" ? n++ : g === "]" ? n-- : g === "(" ? o++ : g === ")" && o--;
|
|
418
418
|
}
|
|
419
|
-
const
|
|
420
|
-
let L =
|
|
421
|
-
|
|
419
|
+
const u = l.length === 0 ? a : a.slice(c);
|
|
420
|
+
let L = u, j = !1;
|
|
421
|
+
u.endsWith(Ce) ? (L = u.slice(0, -1), j = !0) : (
|
|
422
422
|
/**
|
|
423
423
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
424
424
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
425
425
|
*/
|
|
426
|
-
|
|
426
|
+
u.startsWith(Ce) && (L = u.slice(1), j = !0)
|
|
427
427
|
);
|
|
428
|
-
const
|
|
429
|
-
return
|
|
428
|
+
const C = d && d > c ? d - c : void 0;
|
|
429
|
+
return Be(l, j, L, C);
|
|
430
430
|
};
|
|
431
431
|
if (r) {
|
|
432
|
-
const a = r +
|
|
433
|
-
i = (n) => n.startsWith(a) ? l(n.slice(a.length)) :
|
|
432
|
+
const a = r + Ee, l = i;
|
|
433
|
+
i = (n) => n.startsWith(a) ? l(n.slice(a.length)) : Be(Nt, !1, n, void 0, !0);
|
|
434
434
|
}
|
|
435
435
|
if (t) {
|
|
436
436
|
const a = i;
|
|
@@ -440,7 +440,7 @@ const ht = (s, r) => {
|
|
|
440
440
|
});
|
|
441
441
|
}
|
|
442
442
|
return i;
|
|
443
|
-
},
|
|
443
|
+
}, Vt = (s) => {
|
|
444
444
|
const r = /* @__PURE__ */ new Map();
|
|
445
445
|
return s.orderSensitiveModifiers.forEach((t, i) => {
|
|
446
446
|
r.set(t, 1e6 + i);
|
|
@@ -453,96 +453,96 @@ const ht = (s, r) => {
|
|
|
453
453
|
}
|
|
454
454
|
return a.length > 0 && (a.sort(), i.push(...a)), i;
|
|
455
455
|
};
|
|
456
|
-
},
|
|
457
|
-
cache:
|
|
458
|
-
parseClassName:
|
|
459
|
-
sortModifiers:
|
|
460
|
-
...
|
|
461
|
-
}),
|
|
456
|
+
}, Mt = (s) => ({
|
|
457
|
+
cache: yt(s.cacheSize),
|
|
458
|
+
parseClassName: Ct(s),
|
|
459
|
+
sortModifiers: Vt(s),
|
|
460
|
+
...wt(s)
|
|
461
|
+
}), Ht = /\s+/, At = (s, r) => {
|
|
462
462
|
const {
|
|
463
463
|
parseClassName: t,
|
|
464
464
|
getClassGroupId: i,
|
|
465
465
|
getConflictingClassGroupIds: a,
|
|
466
466
|
sortModifiers: l
|
|
467
|
-
} = r, n = [], o = s.trim().split(
|
|
467
|
+
} = r, n = [], o = s.trim().split(Ht);
|
|
468
468
|
let c = "";
|
|
469
469
|
for (let d = o.length - 1; d >= 0; d -= 1) {
|
|
470
470
|
const h = o[d], {
|
|
471
|
-
isExternal:
|
|
471
|
+
isExternal: u,
|
|
472
472
|
modifiers: L,
|
|
473
473
|
hasImportantModifier: j,
|
|
474
|
-
baseClassName:
|
|
475
|
-
maybePostfixModifierPosition:
|
|
474
|
+
baseClassName: C,
|
|
475
|
+
maybePostfixModifierPosition: V
|
|
476
476
|
} = t(h);
|
|
477
|
-
if (
|
|
477
|
+
if (u) {
|
|
478
478
|
c = h + (c.length > 0 ? " " + c : c);
|
|
479
479
|
continue;
|
|
480
480
|
}
|
|
481
|
-
let
|
|
481
|
+
let g = !!V, b = i(g ? C.substring(0, V) : C);
|
|
482
482
|
if (!b) {
|
|
483
|
-
if (!
|
|
483
|
+
if (!g) {
|
|
484
484
|
c = h + (c.length > 0 ? " " + c : c);
|
|
485
485
|
continue;
|
|
486
486
|
}
|
|
487
|
-
if (b = i(
|
|
487
|
+
if (b = i(C), !b) {
|
|
488
488
|
c = h + (c.length > 0 ? " " + c : c);
|
|
489
489
|
continue;
|
|
490
490
|
}
|
|
491
|
-
|
|
491
|
+
g = !1;
|
|
492
492
|
}
|
|
493
|
-
const
|
|
494
|
-
if (n.indexOf(
|
|
493
|
+
const M = L.length === 0 ? "" : L.length === 1 ? L[0] : l(L).join(":"), N = j ? M + Ce : M, E = N + b;
|
|
494
|
+
if (n.indexOf(E) > -1)
|
|
495
495
|
continue;
|
|
496
|
-
n.push(
|
|
497
|
-
const k = a(b,
|
|
498
|
-
for (let
|
|
499
|
-
const
|
|
500
|
-
n.push(
|
|
496
|
+
n.push(E);
|
|
497
|
+
const k = a(b, g);
|
|
498
|
+
for (let A = 0; A < k.length; ++A) {
|
|
499
|
+
const z = k[A];
|
|
500
|
+
n.push(N + z);
|
|
501
501
|
}
|
|
502
502
|
c = h + (c.length > 0 ? " " + c : c);
|
|
503
503
|
}
|
|
504
504
|
return c;
|
|
505
|
-
},
|
|
505
|
+
}, Rt = (...s) => {
|
|
506
506
|
let r = 0, t, i, a = "";
|
|
507
507
|
for (; r < s.length; )
|
|
508
|
-
(t = s[r++]) && (i =
|
|
508
|
+
(t = s[r++]) && (i = Ye(t)) && (a && (a += " "), a += i);
|
|
509
509
|
return a;
|
|
510
|
-
},
|
|
510
|
+
}, Ye = (s) => {
|
|
511
511
|
if (typeof s == "string")
|
|
512
512
|
return s;
|
|
513
513
|
let r, t = "";
|
|
514
514
|
for (let i = 0; i < s.length; i++)
|
|
515
|
-
s[i] && (r =
|
|
515
|
+
s[i] && (r = Ye(s[i])) && (t && (t += " "), t += r);
|
|
516
516
|
return t;
|
|
517
|
-
},
|
|
517
|
+
}, Pt = (s, ...r) => {
|
|
518
518
|
let t, i, a, l;
|
|
519
519
|
const n = (c) => {
|
|
520
|
-
const d = r.reduce((h,
|
|
521
|
-
return t =
|
|
520
|
+
const d = r.reduce((h, u) => u(h), s());
|
|
521
|
+
return t = Mt(d), i = t.cache.get, a = t.cache.set, l = o, o(c);
|
|
522
522
|
}, o = (c) => {
|
|
523
523
|
const d = i(c);
|
|
524
524
|
if (d)
|
|
525
525
|
return d;
|
|
526
|
-
const h =
|
|
526
|
+
const h = At(c, t);
|
|
527
527
|
return a(c, h), h;
|
|
528
528
|
};
|
|
529
|
-
return l = n, (...c) => l(
|
|
530
|
-
},
|
|
531
|
-
const r = (t) => t[s] ||
|
|
529
|
+
return l = n, (...c) => l(Rt(...c));
|
|
530
|
+
}, Zt = [], I = (s) => {
|
|
531
|
+
const r = (t) => t[s] || Zt;
|
|
532
532
|
return r.isThemeGetter = !0, r;
|
|
533
|
-
},
|
|
533
|
+
}, $e = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, De = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Tt = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Et = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Bt = /\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$/, Wt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, St = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, It = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, se = (s) => Tt.test(s), y = (s) => !!s && !Number.isNaN(Number(s)), re = (s) => !!s && Number.isInteger(Number(s)), Ne = (s) => s.endsWith("%") && y(s.slice(0, -1)), Q = (s) => Et.test(s), Xe = () => !0, zt = (s) => (
|
|
534
534
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
535
535
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
536
536
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
537
|
-
|
|
538
|
-
),
|
|
539
|
-
const i =
|
|
537
|
+
Bt.test(s) && !Wt.test(s)
|
|
538
|
+
), Ae = () => !1, Ot = (s) => St.test(s), Ut = (s) => It.test(s), Gt = (s) => !x(s) && !m(s), Yt = (s) => le(s, qe, Ae), x = (s) => $e.test(s), ae = (s) => le(s, Qe, zt), We = (s) => le(s, Ft, y), $t = (s) => le(s, et, Xe), Dt = (s) => le(s, Fe, Ae), Se = (s) => le(s, Je, Ae), Xt = (s) => le(s, Ke, Ut), be = (s) => le(s, tt, Ot), m = (s) => De.test(s), xe = (s) => ne(s, Qe), Jt = (s) => ne(s, Fe), Ie = (s) => ne(s, Je), Kt = (s) => ne(s, qe), qt = (s) => ne(s, Ke), ke = (s) => ne(s, tt, !0), Qt = (s) => ne(s, et, !0), le = (s, r, t) => {
|
|
539
|
+
const i = $e.exec(s);
|
|
540
540
|
return i ? i[1] ? r(i[1]) : t(i[2]) : !1;
|
|
541
|
-
},
|
|
542
|
-
const i =
|
|
541
|
+
}, ne = (s, r, t = !1) => {
|
|
542
|
+
const i = De.exec(s);
|
|
543
543
|
return i ? i[1] ? r(i[1]) : t : !1;
|
|
544
|
-
},
|
|
545
|
-
const s =
|
|
544
|
+
}, Je = (s) => s === "position" || s === "percentage", Ke = (s) => s === "image" || s === "url", qe = (s) => s === "length" || s === "size" || s === "bg-size", Qe = (s) => s === "length", Ft = (s) => s === "number", Fe = (s) => s === "family-name", et = (s) => s === "number" || s === "weight", tt = (s) => s === "shadow", es = () => {
|
|
545
|
+
const s = I("color"), r = I("font"), t = I("text"), i = I("font-weight"), a = I("tracking"), l = I("leading"), n = I("breakpoint"), o = I("container"), c = I("spacing"), d = I("radius"), h = I("shadow"), u = I("inset-shadow"), L = I("text-shadow"), j = I("drop-shadow"), C = I("blur"), V = I("perspective"), g = I("aspect"), b = I("ease"), M = I("animate"), N = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [
|
|
546
546
|
"center",
|
|
547
547
|
"top",
|
|
548
548
|
"bottom",
|
|
@@ -560,51 +560,51 @@ const ht = (s, r) => {
|
|
|
560
560
|
"bottom-left",
|
|
561
561
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
562
562
|
"left-bottom"
|
|
563
|
-
], k = () => [...
|
|
564
|
-
span: ["full",
|
|
565
|
-
},
|
|
566
|
-
position: [
|
|
567
|
-
}],
|
|
563
|
+
], k = () => [...E(), m, x], A = () => ["auto", "hidden", "clip", "visible", "scroll"], z = () => ["auto", "contain", "none"], w = () => [m, x, c], H = () => [se, "full", "auto", ...w()], $ = () => [re, "none", "subgrid", m, x], D = () => ["auto", {
|
|
564
|
+
span: ["full", re, m, x]
|
|
565
|
+
}, re, m, x], J = () => [re, "auto", m, x], F = () => ["auto", "min", "max", "fr", m, x], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], K = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], G = () => ["auto", ...w()], q = () => [se, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...w()], oe = () => [se, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...w()], de = () => [se, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...w()], v = () => [s, m, x], f = () => [...E(), Ie, Se, {
|
|
566
|
+
position: [m, x]
|
|
567
|
+
}], _ = () => ["no-repeat", {
|
|
568
568
|
repeat: ["", "x", "y", "space", "round"]
|
|
569
|
-
}],
|
|
570
|
-
size: [
|
|
571
|
-
}],
|
|
569
|
+
}], R = () => ["auto", "cover", "contain", Kt, Yt, {
|
|
570
|
+
size: [m, x]
|
|
571
|
+
}], P = () => [Ne, xe, ae], W = () => [
|
|
572
572
|
// Deprecated since Tailwind CSS v4.0.0
|
|
573
573
|
"",
|
|
574
574
|
"none",
|
|
575
575
|
"full",
|
|
576
576
|
d,
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
],
|
|
577
|
+
m,
|
|
578
|
+
x
|
|
579
|
+
], S = () => ["", y, xe, ae], Z = () => ["solid", "dashed", "dotted", "double"], te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], T = () => [y, Ne, Ie, Se], we = () => [
|
|
580
580
|
// Deprecated since Tailwind CSS v4.0.0
|
|
581
581
|
"",
|
|
582
582
|
"none",
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
],
|
|
583
|
+
C,
|
|
584
|
+
m,
|
|
585
|
+
x
|
|
586
|
+
], ue = () => ["none", y, m, x], ge = () => ["none", y, m, x], ye = () => [y, m, x], ve = () => [se, "full", ...w()];
|
|
587
587
|
return {
|
|
588
588
|
cacheSize: 500,
|
|
589
589
|
theme: {
|
|
590
590
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
591
591
|
aspect: ["video"],
|
|
592
|
-
blur: [
|
|
593
|
-
breakpoint: [
|
|
594
|
-
color: [
|
|
595
|
-
container: [
|
|
596
|
-
"drop-shadow": [
|
|
592
|
+
blur: [Q],
|
|
593
|
+
breakpoint: [Q],
|
|
594
|
+
color: [Xe],
|
|
595
|
+
container: [Q],
|
|
596
|
+
"drop-shadow": [Q],
|
|
597
597
|
ease: ["in", "out", "in-out"],
|
|
598
|
-
font: [
|
|
598
|
+
font: [Gt],
|
|
599
599
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
600
|
-
"inset-shadow": [
|
|
600
|
+
"inset-shadow": [Q],
|
|
601
601
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
602
602
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
603
|
-
radius: [
|
|
604
|
-
shadow: [
|
|
603
|
+
radius: [Q],
|
|
604
|
+
shadow: [Q],
|
|
605
605
|
spacing: ["px", y],
|
|
606
|
-
text: [
|
|
607
|
-
"text-shadow": [
|
|
606
|
+
text: [Q],
|
|
607
|
+
"text-shadow": [Q],
|
|
608
608
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
609
609
|
},
|
|
610
610
|
classGroups: {
|
|
@@ -616,7 +616,7 @@ const ht = (s, r) => {
|
|
|
616
616
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
617
617
|
*/
|
|
618
618
|
aspect: [{
|
|
619
|
-
aspect: ["auto", "square",
|
|
619
|
+
aspect: ["auto", "square", se, x, m, g]
|
|
620
620
|
}],
|
|
621
621
|
/**
|
|
622
622
|
* Container
|
|
@@ -629,21 +629,21 @@ const ht = (s, r) => {
|
|
|
629
629
|
* @see https://tailwindcss.com/docs/columns
|
|
630
630
|
*/
|
|
631
631
|
columns: [{
|
|
632
|
-
columns: [y,
|
|
632
|
+
columns: [y, x, m, o]
|
|
633
633
|
}],
|
|
634
634
|
/**
|
|
635
635
|
* Break After
|
|
636
636
|
* @see https://tailwindcss.com/docs/break-after
|
|
637
637
|
*/
|
|
638
638
|
"break-after": [{
|
|
639
|
-
"break-after":
|
|
639
|
+
"break-after": N()
|
|
640
640
|
}],
|
|
641
641
|
/**
|
|
642
642
|
* Break Before
|
|
643
643
|
* @see https://tailwindcss.com/docs/break-before
|
|
644
644
|
*/
|
|
645
645
|
"break-before": [{
|
|
646
|
-
"break-before":
|
|
646
|
+
"break-before": N()
|
|
647
647
|
}],
|
|
648
648
|
/**
|
|
649
649
|
* Break Inside
|
|
@@ -714,42 +714,42 @@ const ht = (s, r) => {
|
|
|
714
714
|
* @see https://tailwindcss.com/docs/overflow
|
|
715
715
|
*/
|
|
716
716
|
overflow: [{
|
|
717
|
-
overflow:
|
|
717
|
+
overflow: A()
|
|
718
718
|
}],
|
|
719
719
|
/**
|
|
720
720
|
* Overflow X
|
|
721
721
|
* @see https://tailwindcss.com/docs/overflow
|
|
722
722
|
*/
|
|
723
723
|
"overflow-x": [{
|
|
724
|
-
"overflow-x":
|
|
724
|
+
"overflow-x": A()
|
|
725
725
|
}],
|
|
726
726
|
/**
|
|
727
727
|
* Overflow Y
|
|
728
728
|
* @see https://tailwindcss.com/docs/overflow
|
|
729
729
|
*/
|
|
730
730
|
"overflow-y": [{
|
|
731
|
-
"overflow-y":
|
|
731
|
+
"overflow-y": A()
|
|
732
732
|
}],
|
|
733
733
|
/**
|
|
734
734
|
* Overscroll Behavior
|
|
735
735
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
736
736
|
*/
|
|
737
737
|
overscroll: [{
|
|
738
|
-
overscroll:
|
|
738
|
+
overscroll: z()
|
|
739
739
|
}],
|
|
740
740
|
/**
|
|
741
741
|
* Overscroll Behavior X
|
|
742
742
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
743
743
|
*/
|
|
744
744
|
"overscroll-x": [{
|
|
745
|
-
"overscroll-x":
|
|
745
|
+
"overscroll-x": z()
|
|
746
746
|
}],
|
|
747
747
|
/**
|
|
748
748
|
* Overscroll Behavior Y
|
|
749
749
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
750
750
|
*/
|
|
751
751
|
"overscroll-y": [{
|
|
752
|
-
"overscroll-y":
|
|
752
|
+
"overscroll-y": z()
|
|
753
753
|
}],
|
|
754
754
|
/**
|
|
755
755
|
* Position
|
|
@@ -757,67 +757,93 @@ const ht = (s, r) => {
|
|
|
757
757
|
*/
|
|
758
758
|
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
759
759
|
/**
|
|
760
|
-
*
|
|
760
|
+
* Inset
|
|
761
761
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
762
762
|
*/
|
|
763
763
|
inset: [{
|
|
764
|
-
inset:
|
|
764
|
+
inset: H()
|
|
765
765
|
}],
|
|
766
766
|
/**
|
|
767
|
-
*
|
|
767
|
+
* Inset Inline
|
|
768
768
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
769
769
|
*/
|
|
770
770
|
"inset-x": [{
|
|
771
|
-
"inset-x":
|
|
771
|
+
"inset-x": H()
|
|
772
772
|
}],
|
|
773
773
|
/**
|
|
774
|
-
*
|
|
774
|
+
* Inset Block
|
|
775
775
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
776
776
|
*/
|
|
777
777
|
"inset-y": [{
|
|
778
|
-
"inset-y":
|
|
778
|
+
"inset-y": H()
|
|
779
779
|
}],
|
|
780
780
|
/**
|
|
781
|
-
* Start
|
|
781
|
+
* Inset Inline Start
|
|
782
782
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
783
|
+
* @todo class group will be renamed to `inset-s` in next major release
|
|
783
784
|
*/
|
|
784
785
|
start: [{
|
|
785
|
-
|
|
786
|
+
"inset-s": H(),
|
|
787
|
+
/**
|
|
788
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
789
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
790
|
+
*/
|
|
791
|
+
start: H()
|
|
786
792
|
}],
|
|
787
793
|
/**
|
|
788
|
-
* End
|
|
794
|
+
* Inset Inline End
|
|
789
795
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
796
|
+
* @todo class group will be renamed to `inset-e` in next major release
|
|
790
797
|
*/
|
|
791
798
|
end: [{
|
|
792
|
-
|
|
799
|
+
"inset-e": H(),
|
|
800
|
+
/**
|
|
801
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
802
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
803
|
+
*/
|
|
804
|
+
end: H()
|
|
805
|
+
}],
|
|
806
|
+
/**
|
|
807
|
+
* Inset Block Start
|
|
808
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
809
|
+
*/
|
|
810
|
+
"inset-bs": [{
|
|
811
|
+
"inset-bs": H()
|
|
812
|
+
}],
|
|
813
|
+
/**
|
|
814
|
+
* Inset Block End
|
|
815
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
816
|
+
*/
|
|
817
|
+
"inset-be": [{
|
|
818
|
+
"inset-be": H()
|
|
793
819
|
}],
|
|
794
820
|
/**
|
|
795
821
|
* Top
|
|
796
822
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
797
823
|
*/
|
|
798
824
|
top: [{
|
|
799
|
-
top:
|
|
825
|
+
top: H()
|
|
800
826
|
}],
|
|
801
827
|
/**
|
|
802
828
|
* Right
|
|
803
829
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
804
830
|
*/
|
|
805
831
|
right: [{
|
|
806
|
-
right:
|
|
832
|
+
right: H()
|
|
807
833
|
}],
|
|
808
834
|
/**
|
|
809
835
|
* Bottom
|
|
810
836
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
811
837
|
*/
|
|
812
838
|
bottom: [{
|
|
813
|
-
bottom:
|
|
839
|
+
bottom: H()
|
|
814
840
|
}],
|
|
815
841
|
/**
|
|
816
842
|
* Left
|
|
817
843
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
818
844
|
*/
|
|
819
845
|
left: [{
|
|
820
|
-
left:
|
|
846
|
+
left: H()
|
|
821
847
|
}],
|
|
822
848
|
/**
|
|
823
849
|
* Visibility
|
|
@@ -829,7 +855,7 @@ const ht = (s, r) => {
|
|
|
829
855
|
* @see https://tailwindcss.com/docs/z-index
|
|
830
856
|
*/
|
|
831
857
|
z: [{
|
|
832
|
-
z: [
|
|
858
|
+
z: [re, "auto", m, x]
|
|
833
859
|
}],
|
|
834
860
|
// ------------------------
|
|
835
861
|
// --- Flexbox and Grid ---
|
|
@@ -839,7 +865,7 @@ const ht = (s, r) => {
|
|
|
839
865
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
840
866
|
*/
|
|
841
867
|
basis: [{
|
|
842
|
-
basis: [
|
|
868
|
+
basis: [se, "full", "auto", o, ...w()]
|
|
843
869
|
}],
|
|
844
870
|
/**
|
|
845
871
|
* Flex Direction
|
|
@@ -860,84 +886,84 @@ const ht = (s, r) => {
|
|
|
860
886
|
* @see https://tailwindcss.com/docs/flex
|
|
861
887
|
*/
|
|
862
888
|
flex: [{
|
|
863
|
-
flex: [y,
|
|
889
|
+
flex: [y, se, "auto", "initial", "none", x]
|
|
864
890
|
}],
|
|
865
891
|
/**
|
|
866
892
|
* Flex Grow
|
|
867
893
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
868
894
|
*/
|
|
869
895
|
grow: [{
|
|
870
|
-
grow: ["", y,
|
|
896
|
+
grow: ["", y, m, x]
|
|
871
897
|
}],
|
|
872
898
|
/**
|
|
873
899
|
* Flex Shrink
|
|
874
900
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
875
901
|
*/
|
|
876
902
|
shrink: [{
|
|
877
|
-
shrink: ["", y,
|
|
903
|
+
shrink: ["", y, m, x]
|
|
878
904
|
}],
|
|
879
905
|
/**
|
|
880
906
|
* Order
|
|
881
907
|
* @see https://tailwindcss.com/docs/order
|
|
882
908
|
*/
|
|
883
909
|
order: [{
|
|
884
|
-
order: [
|
|
910
|
+
order: [re, "first", "last", "none", m, x]
|
|
885
911
|
}],
|
|
886
912
|
/**
|
|
887
913
|
* Grid Template Columns
|
|
888
914
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
889
915
|
*/
|
|
890
916
|
"grid-cols": [{
|
|
891
|
-
"grid-cols":
|
|
917
|
+
"grid-cols": $()
|
|
892
918
|
}],
|
|
893
919
|
/**
|
|
894
920
|
* Grid Column Start / End
|
|
895
921
|
* @see https://tailwindcss.com/docs/grid-column
|
|
896
922
|
*/
|
|
897
923
|
"col-start-end": [{
|
|
898
|
-
col:
|
|
924
|
+
col: D()
|
|
899
925
|
}],
|
|
900
926
|
/**
|
|
901
927
|
* Grid Column Start
|
|
902
928
|
* @see https://tailwindcss.com/docs/grid-column
|
|
903
929
|
*/
|
|
904
930
|
"col-start": [{
|
|
905
|
-
"col-start":
|
|
931
|
+
"col-start": J()
|
|
906
932
|
}],
|
|
907
933
|
/**
|
|
908
934
|
* Grid Column End
|
|
909
935
|
* @see https://tailwindcss.com/docs/grid-column
|
|
910
936
|
*/
|
|
911
937
|
"col-end": [{
|
|
912
|
-
"col-end":
|
|
938
|
+
"col-end": J()
|
|
913
939
|
}],
|
|
914
940
|
/**
|
|
915
941
|
* Grid Template Rows
|
|
916
942
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
917
943
|
*/
|
|
918
944
|
"grid-rows": [{
|
|
919
|
-
"grid-rows":
|
|
945
|
+
"grid-rows": $()
|
|
920
946
|
}],
|
|
921
947
|
/**
|
|
922
948
|
* Grid Row Start / End
|
|
923
949
|
* @see https://tailwindcss.com/docs/grid-row
|
|
924
950
|
*/
|
|
925
951
|
"row-start-end": [{
|
|
926
|
-
row:
|
|
952
|
+
row: D()
|
|
927
953
|
}],
|
|
928
954
|
/**
|
|
929
955
|
* Grid Row Start
|
|
930
956
|
* @see https://tailwindcss.com/docs/grid-row
|
|
931
957
|
*/
|
|
932
958
|
"row-start": [{
|
|
933
|
-
"row-start":
|
|
959
|
+
"row-start": J()
|
|
934
960
|
}],
|
|
935
961
|
/**
|
|
936
962
|
* Grid Row End
|
|
937
963
|
* @see https://tailwindcss.com/docs/grid-row
|
|
938
964
|
*/
|
|
939
965
|
"row-end": [{
|
|
940
|
-
"row-end":
|
|
966
|
+
"row-end": J()
|
|
941
967
|
}],
|
|
942
968
|
/**
|
|
943
969
|
* Grid Auto Flow
|
|
@@ -951,70 +977,70 @@ const ht = (s, r) => {
|
|
|
951
977
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
952
978
|
*/
|
|
953
979
|
"auto-cols": [{
|
|
954
|
-
"auto-cols":
|
|
980
|
+
"auto-cols": F()
|
|
955
981
|
}],
|
|
956
982
|
/**
|
|
957
983
|
* Grid Auto Rows
|
|
958
984
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
959
985
|
*/
|
|
960
986
|
"auto-rows": [{
|
|
961
|
-
"auto-rows":
|
|
987
|
+
"auto-rows": F()
|
|
962
988
|
}],
|
|
963
989
|
/**
|
|
964
990
|
* Gap
|
|
965
991
|
* @see https://tailwindcss.com/docs/gap
|
|
966
992
|
*/
|
|
967
993
|
gap: [{
|
|
968
|
-
gap:
|
|
994
|
+
gap: w()
|
|
969
995
|
}],
|
|
970
996
|
/**
|
|
971
997
|
* Gap X
|
|
972
998
|
* @see https://tailwindcss.com/docs/gap
|
|
973
999
|
*/
|
|
974
1000
|
"gap-x": [{
|
|
975
|
-
"gap-x":
|
|
1001
|
+
"gap-x": w()
|
|
976
1002
|
}],
|
|
977
1003
|
/**
|
|
978
1004
|
* Gap Y
|
|
979
1005
|
* @see https://tailwindcss.com/docs/gap
|
|
980
1006
|
*/
|
|
981
1007
|
"gap-y": [{
|
|
982
|
-
"gap-y":
|
|
1008
|
+
"gap-y": w()
|
|
983
1009
|
}],
|
|
984
1010
|
/**
|
|
985
1011
|
* Justify Content
|
|
986
1012
|
* @see https://tailwindcss.com/docs/justify-content
|
|
987
1013
|
*/
|
|
988
1014
|
"justify-content": [{
|
|
989
|
-
justify: [...
|
|
1015
|
+
justify: [...ee(), "normal"]
|
|
990
1016
|
}],
|
|
991
1017
|
/**
|
|
992
1018
|
* Justify Items
|
|
993
1019
|
* @see https://tailwindcss.com/docs/justify-items
|
|
994
1020
|
*/
|
|
995
1021
|
"justify-items": [{
|
|
996
|
-
"justify-items": [...
|
|
1022
|
+
"justify-items": [...K(), "normal"]
|
|
997
1023
|
}],
|
|
998
1024
|
/**
|
|
999
1025
|
* Justify Self
|
|
1000
1026
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1001
1027
|
*/
|
|
1002
1028
|
"justify-self": [{
|
|
1003
|
-
"justify-self": ["auto", ...
|
|
1029
|
+
"justify-self": ["auto", ...K()]
|
|
1004
1030
|
}],
|
|
1005
1031
|
/**
|
|
1006
1032
|
* Align Content
|
|
1007
1033
|
* @see https://tailwindcss.com/docs/align-content
|
|
1008
1034
|
*/
|
|
1009
1035
|
"align-content": [{
|
|
1010
|
-
content: ["normal", ...
|
|
1036
|
+
content: ["normal", ...ee()]
|
|
1011
1037
|
}],
|
|
1012
1038
|
/**
|
|
1013
1039
|
* Align Items
|
|
1014
1040
|
* @see https://tailwindcss.com/docs/align-items
|
|
1015
1041
|
*/
|
|
1016
1042
|
"align-items": [{
|
|
1017
|
-
items: [...
|
|
1043
|
+
items: [...K(), {
|
|
1018
1044
|
baseline: ["", "last"]
|
|
1019
1045
|
}]
|
|
1020
1046
|
}],
|
|
@@ -1023,7 +1049,7 @@ const ht = (s, r) => {
|
|
|
1023
1049
|
* @see https://tailwindcss.com/docs/align-self
|
|
1024
1050
|
*/
|
|
1025
1051
|
"align-self": [{
|
|
1026
|
-
self: ["auto", ...
|
|
1052
|
+
self: ["auto", ...K(), {
|
|
1027
1053
|
baseline: ["", "last"]
|
|
1028
1054
|
}]
|
|
1029
1055
|
}],
|
|
@@ -1032,21 +1058,21 @@ const ht = (s, r) => {
|
|
|
1032
1058
|
* @see https://tailwindcss.com/docs/place-content
|
|
1033
1059
|
*/
|
|
1034
1060
|
"place-content": [{
|
|
1035
|
-
"place-content":
|
|
1061
|
+
"place-content": ee()
|
|
1036
1062
|
}],
|
|
1037
1063
|
/**
|
|
1038
1064
|
* Place Items
|
|
1039
1065
|
* @see https://tailwindcss.com/docs/place-items
|
|
1040
1066
|
*/
|
|
1041
1067
|
"place-items": [{
|
|
1042
|
-
"place-items": [...
|
|
1068
|
+
"place-items": [...K(), "baseline"]
|
|
1043
1069
|
}],
|
|
1044
1070
|
/**
|
|
1045
1071
|
* Place Self
|
|
1046
1072
|
* @see https://tailwindcss.com/docs/place-self
|
|
1047
1073
|
*/
|
|
1048
1074
|
"place-self": [{
|
|
1049
|
-
"place-self": ["auto", ...
|
|
1075
|
+
"place-self": ["auto", ...K()]
|
|
1050
1076
|
}],
|
|
1051
1077
|
// Spacing
|
|
1052
1078
|
/**
|
|
@@ -1054,63 +1080,77 @@ const ht = (s, r) => {
|
|
|
1054
1080
|
* @see https://tailwindcss.com/docs/padding
|
|
1055
1081
|
*/
|
|
1056
1082
|
p: [{
|
|
1057
|
-
p:
|
|
1083
|
+
p: w()
|
|
1058
1084
|
}],
|
|
1059
1085
|
/**
|
|
1060
|
-
* Padding
|
|
1086
|
+
* Padding Inline
|
|
1061
1087
|
* @see https://tailwindcss.com/docs/padding
|
|
1062
1088
|
*/
|
|
1063
1089
|
px: [{
|
|
1064
|
-
px:
|
|
1090
|
+
px: w()
|
|
1065
1091
|
}],
|
|
1066
1092
|
/**
|
|
1067
|
-
* Padding
|
|
1093
|
+
* Padding Block
|
|
1068
1094
|
* @see https://tailwindcss.com/docs/padding
|
|
1069
1095
|
*/
|
|
1070
1096
|
py: [{
|
|
1071
|
-
py:
|
|
1097
|
+
py: w()
|
|
1072
1098
|
}],
|
|
1073
1099
|
/**
|
|
1074
|
-
* Padding Start
|
|
1100
|
+
* Padding Inline Start
|
|
1075
1101
|
* @see https://tailwindcss.com/docs/padding
|
|
1076
1102
|
*/
|
|
1077
1103
|
ps: [{
|
|
1078
|
-
ps:
|
|
1104
|
+
ps: w()
|
|
1079
1105
|
}],
|
|
1080
1106
|
/**
|
|
1081
|
-
* Padding End
|
|
1107
|
+
* Padding Inline End
|
|
1082
1108
|
* @see https://tailwindcss.com/docs/padding
|
|
1083
1109
|
*/
|
|
1084
1110
|
pe: [{
|
|
1085
|
-
pe:
|
|
1111
|
+
pe: w()
|
|
1112
|
+
}],
|
|
1113
|
+
/**
|
|
1114
|
+
* Padding Block Start
|
|
1115
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1116
|
+
*/
|
|
1117
|
+
pbs: [{
|
|
1118
|
+
pbs: w()
|
|
1119
|
+
}],
|
|
1120
|
+
/**
|
|
1121
|
+
* Padding Block End
|
|
1122
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1123
|
+
*/
|
|
1124
|
+
pbe: [{
|
|
1125
|
+
pbe: w()
|
|
1086
1126
|
}],
|
|
1087
1127
|
/**
|
|
1088
1128
|
* Padding Top
|
|
1089
1129
|
* @see https://tailwindcss.com/docs/padding
|
|
1090
1130
|
*/
|
|
1091
1131
|
pt: [{
|
|
1092
|
-
pt:
|
|
1132
|
+
pt: w()
|
|
1093
1133
|
}],
|
|
1094
1134
|
/**
|
|
1095
1135
|
* Padding Right
|
|
1096
1136
|
* @see https://tailwindcss.com/docs/padding
|
|
1097
1137
|
*/
|
|
1098
1138
|
pr: [{
|
|
1099
|
-
pr:
|
|
1139
|
+
pr: w()
|
|
1100
1140
|
}],
|
|
1101
1141
|
/**
|
|
1102
1142
|
* Padding Bottom
|
|
1103
1143
|
* @see https://tailwindcss.com/docs/padding
|
|
1104
1144
|
*/
|
|
1105
1145
|
pb: [{
|
|
1106
|
-
pb:
|
|
1146
|
+
pb: w()
|
|
1107
1147
|
}],
|
|
1108
1148
|
/**
|
|
1109
1149
|
* Padding Left
|
|
1110
1150
|
* @see https://tailwindcss.com/docs/padding
|
|
1111
1151
|
*/
|
|
1112
1152
|
pl: [{
|
|
1113
|
-
pl:
|
|
1153
|
+
pl: w()
|
|
1114
1154
|
}],
|
|
1115
1155
|
/**
|
|
1116
1156
|
* Margin
|
|
@@ -1120,33 +1160,47 @@ const ht = (s, r) => {
|
|
|
1120
1160
|
m: G()
|
|
1121
1161
|
}],
|
|
1122
1162
|
/**
|
|
1123
|
-
* Margin
|
|
1163
|
+
* Margin Inline
|
|
1124
1164
|
* @see https://tailwindcss.com/docs/margin
|
|
1125
1165
|
*/
|
|
1126
1166
|
mx: [{
|
|
1127
1167
|
mx: G()
|
|
1128
1168
|
}],
|
|
1129
1169
|
/**
|
|
1130
|
-
* Margin
|
|
1170
|
+
* Margin Block
|
|
1131
1171
|
* @see https://tailwindcss.com/docs/margin
|
|
1132
1172
|
*/
|
|
1133
1173
|
my: [{
|
|
1134
1174
|
my: G()
|
|
1135
1175
|
}],
|
|
1136
1176
|
/**
|
|
1137
|
-
* Margin Start
|
|
1177
|
+
* Margin Inline Start
|
|
1138
1178
|
* @see https://tailwindcss.com/docs/margin
|
|
1139
1179
|
*/
|
|
1140
1180
|
ms: [{
|
|
1141
1181
|
ms: G()
|
|
1142
1182
|
}],
|
|
1143
1183
|
/**
|
|
1144
|
-
* Margin End
|
|
1184
|
+
* Margin Inline End
|
|
1145
1185
|
* @see https://tailwindcss.com/docs/margin
|
|
1146
1186
|
*/
|
|
1147
1187
|
me: [{
|
|
1148
1188
|
me: G()
|
|
1149
1189
|
}],
|
|
1190
|
+
/**
|
|
1191
|
+
* Margin Block Start
|
|
1192
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1193
|
+
*/
|
|
1194
|
+
mbs: [{
|
|
1195
|
+
mbs: G()
|
|
1196
|
+
}],
|
|
1197
|
+
/**
|
|
1198
|
+
* Margin Block End
|
|
1199
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1200
|
+
*/
|
|
1201
|
+
mbe: [{
|
|
1202
|
+
mbe: G()
|
|
1203
|
+
}],
|
|
1150
1204
|
/**
|
|
1151
1205
|
* Margin Top
|
|
1152
1206
|
* @see https://tailwindcss.com/docs/margin
|
|
@@ -1180,7 +1234,7 @@ const ht = (s, r) => {
|
|
|
1180
1234
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1181
1235
|
*/
|
|
1182
1236
|
"space-x": [{
|
|
1183
|
-
"space-x":
|
|
1237
|
+
"space-x": w()
|
|
1184
1238
|
}],
|
|
1185
1239
|
/**
|
|
1186
1240
|
* Space Between X Reverse
|
|
@@ -1192,7 +1246,7 @@ const ht = (s, r) => {
|
|
|
1192
1246
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1193
1247
|
*/
|
|
1194
1248
|
"space-y": [{
|
|
1195
|
-
"space-y":
|
|
1249
|
+
"space-y": w()
|
|
1196
1250
|
}],
|
|
1197
1251
|
/**
|
|
1198
1252
|
* Space Between Y Reverse
|
|
@@ -1207,14 +1261,56 @@ const ht = (s, r) => {
|
|
|
1207
1261
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1208
1262
|
*/
|
|
1209
1263
|
size: [{
|
|
1210
|
-
size:
|
|
1264
|
+
size: q()
|
|
1265
|
+
}],
|
|
1266
|
+
/**
|
|
1267
|
+
* Inline Size
|
|
1268
|
+
* @see https://tailwindcss.com/docs/width
|
|
1269
|
+
*/
|
|
1270
|
+
"inline-size": [{
|
|
1271
|
+
inline: ["auto", ...oe()]
|
|
1272
|
+
}],
|
|
1273
|
+
/**
|
|
1274
|
+
* Min-Inline Size
|
|
1275
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1276
|
+
*/
|
|
1277
|
+
"min-inline-size": [{
|
|
1278
|
+
"min-inline": ["auto", ...oe()]
|
|
1279
|
+
}],
|
|
1280
|
+
/**
|
|
1281
|
+
* Max-Inline Size
|
|
1282
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1283
|
+
*/
|
|
1284
|
+
"max-inline-size": [{
|
|
1285
|
+
"max-inline": ["none", ...oe()]
|
|
1286
|
+
}],
|
|
1287
|
+
/**
|
|
1288
|
+
* Block Size
|
|
1289
|
+
* @see https://tailwindcss.com/docs/height
|
|
1290
|
+
*/
|
|
1291
|
+
"block-size": [{
|
|
1292
|
+
block: ["auto", ...de()]
|
|
1293
|
+
}],
|
|
1294
|
+
/**
|
|
1295
|
+
* Min-Block Size
|
|
1296
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1297
|
+
*/
|
|
1298
|
+
"min-block-size": [{
|
|
1299
|
+
"min-block": ["auto", ...de()]
|
|
1300
|
+
}],
|
|
1301
|
+
/**
|
|
1302
|
+
* Max-Block Size
|
|
1303
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1304
|
+
*/
|
|
1305
|
+
"max-block-size": [{
|
|
1306
|
+
"max-block": ["none", ...de()]
|
|
1211
1307
|
}],
|
|
1212
1308
|
/**
|
|
1213
1309
|
* Width
|
|
1214
1310
|
* @see https://tailwindcss.com/docs/width
|
|
1215
1311
|
*/
|
|
1216
1312
|
w: [{
|
|
1217
|
-
w: [o, "screen", ...
|
|
1313
|
+
w: [o, "screen", ...q()]
|
|
1218
1314
|
}],
|
|
1219
1315
|
/**
|
|
1220
1316
|
* Min-Width
|
|
@@ -1226,7 +1322,7 @@ const ht = (s, r) => {
|
|
|
1226
1322
|
"screen",
|
|
1227
1323
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1228
1324
|
"none",
|
|
1229
|
-
...
|
|
1325
|
+
...q()
|
|
1230
1326
|
]
|
|
1231
1327
|
}],
|
|
1232
1328
|
/**
|
|
@@ -1244,7 +1340,7 @@ const ht = (s, r) => {
|
|
|
1244
1340
|
{
|
|
1245
1341
|
screen: [n]
|
|
1246
1342
|
},
|
|
1247
|
-
...
|
|
1343
|
+
...q()
|
|
1248
1344
|
]
|
|
1249
1345
|
}],
|
|
1250
1346
|
/**
|
|
@@ -1252,21 +1348,21 @@ const ht = (s, r) => {
|
|
|
1252
1348
|
* @see https://tailwindcss.com/docs/height
|
|
1253
1349
|
*/
|
|
1254
1350
|
h: [{
|
|
1255
|
-
h: ["screen", "lh", ...
|
|
1351
|
+
h: ["screen", "lh", ...q()]
|
|
1256
1352
|
}],
|
|
1257
1353
|
/**
|
|
1258
1354
|
* Min-Height
|
|
1259
1355
|
* @see https://tailwindcss.com/docs/min-height
|
|
1260
1356
|
*/
|
|
1261
1357
|
"min-h": [{
|
|
1262
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1358
|
+
"min-h": ["screen", "lh", "none", ...q()]
|
|
1263
1359
|
}],
|
|
1264
1360
|
/**
|
|
1265
1361
|
* Max-Height
|
|
1266
1362
|
* @see https://tailwindcss.com/docs/max-height
|
|
1267
1363
|
*/
|
|
1268
1364
|
"max-h": [{
|
|
1269
|
-
"max-h": ["screen", "lh", ...
|
|
1365
|
+
"max-h": ["screen", "lh", ...q()]
|
|
1270
1366
|
}],
|
|
1271
1367
|
// ------------------
|
|
1272
1368
|
// --- Typography ---
|
|
@@ -1276,7 +1372,7 @@ const ht = (s, r) => {
|
|
|
1276
1372
|
* @see https://tailwindcss.com/docs/font-size
|
|
1277
1373
|
*/
|
|
1278
1374
|
"font-size": [{
|
|
1279
|
-
text: ["base", t,
|
|
1375
|
+
text: ["base", t, xe, ae]
|
|
1280
1376
|
}],
|
|
1281
1377
|
/**
|
|
1282
1378
|
* Font Smoothing
|
|
@@ -1293,21 +1389,28 @@ const ht = (s, r) => {
|
|
|
1293
1389
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1294
1390
|
*/
|
|
1295
1391
|
"font-weight": [{
|
|
1296
|
-
font: [i,
|
|
1392
|
+
font: [i, Qt, $t]
|
|
1297
1393
|
}],
|
|
1298
1394
|
/**
|
|
1299
1395
|
* Font Stretch
|
|
1300
1396
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1301
1397
|
*/
|
|
1302
1398
|
"font-stretch": [{
|
|
1303
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1399
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ne, x]
|
|
1304
1400
|
}],
|
|
1305
1401
|
/**
|
|
1306
1402
|
* Font Family
|
|
1307
1403
|
* @see https://tailwindcss.com/docs/font-family
|
|
1308
1404
|
*/
|
|
1309
1405
|
"font-family": [{
|
|
1310
|
-
font: [
|
|
1406
|
+
font: [Jt, Dt, r]
|
|
1407
|
+
}],
|
|
1408
|
+
/**
|
|
1409
|
+
* Font Feature Settings
|
|
1410
|
+
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1411
|
+
*/
|
|
1412
|
+
"font-features": [{
|
|
1413
|
+
"font-features": [x]
|
|
1311
1414
|
}],
|
|
1312
1415
|
/**
|
|
1313
1416
|
* Font Variant Numeric
|
|
@@ -1344,14 +1447,14 @@ const ht = (s, r) => {
|
|
|
1344
1447
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1345
1448
|
*/
|
|
1346
1449
|
tracking: [{
|
|
1347
|
-
tracking: [a,
|
|
1450
|
+
tracking: [a, m, x]
|
|
1348
1451
|
}],
|
|
1349
1452
|
/**
|
|
1350
1453
|
* Line Clamp
|
|
1351
1454
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1352
1455
|
*/
|
|
1353
1456
|
"line-clamp": [{
|
|
1354
|
-
"line-clamp": [y, "none",
|
|
1457
|
+
"line-clamp": [y, "none", m, We]
|
|
1355
1458
|
}],
|
|
1356
1459
|
/**
|
|
1357
1460
|
* Line Height
|
|
@@ -1361,7 +1464,7 @@ const ht = (s, r) => {
|
|
|
1361
1464
|
leading: [
|
|
1362
1465
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1363
1466
|
l,
|
|
1364
|
-
...
|
|
1467
|
+
...w()
|
|
1365
1468
|
]
|
|
1366
1469
|
}],
|
|
1367
1470
|
/**
|
|
@@ -1369,7 +1472,7 @@ const ht = (s, r) => {
|
|
|
1369
1472
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1370
1473
|
*/
|
|
1371
1474
|
"list-image": [{
|
|
1372
|
-
"list-image": ["none",
|
|
1475
|
+
"list-image": ["none", m, x]
|
|
1373
1476
|
}],
|
|
1374
1477
|
/**
|
|
1375
1478
|
* List Style Position
|
|
@@ -1383,7 +1486,7 @@ const ht = (s, r) => {
|
|
|
1383
1486
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1384
1487
|
*/
|
|
1385
1488
|
"list-style-type": [{
|
|
1386
|
-
list: ["disc", "decimal", "none",
|
|
1489
|
+
list: ["disc", "decimal", "none", m, x]
|
|
1387
1490
|
}],
|
|
1388
1491
|
/**
|
|
1389
1492
|
* Text Alignment
|
|
@@ -1417,14 +1520,14 @@ const ht = (s, r) => {
|
|
|
1417
1520
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1418
1521
|
*/
|
|
1419
1522
|
"text-decoration-style": [{
|
|
1420
|
-
decoration: [...
|
|
1523
|
+
decoration: [...Z(), "wavy"]
|
|
1421
1524
|
}],
|
|
1422
1525
|
/**
|
|
1423
1526
|
* Text Decoration Thickness
|
|
1424
1527
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1425
1528
|
*/
|
|
1426
1529
|
"text-decoration-thickness": [{
|
|
1427
|
-
decoration: [y, "from-font", "auto",
|
|
1530
|
+
decoration: [y, "from-font", "auto", m, ae]
|
|
1428
1531
|
}],
|
|
1429
1532
|
/**
|
|
1430
1533
|
* Text Decoration Color
|
|
@@ -1438,7 +1541,7 @@ const ht = (s, r) => {
|
|
|
1438
1541
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1439
1542
|
*/
|
|
1440
1543
|
"underline-offset": [{
|
|
1441
|
-
"underline-offset": [y, "auto",
|
|
1544
|
+
"underline-offset": [y, "auto", m, x]
|
|
1442
1545
|
}],
|
|
1443
1546
|
/**
|
|
1444
1547
|
* Text Transform
|
|
@@ -1462,14 +1565,14 @@ const ht = (s, r) => {
|
|
|
1462
1565
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1463
1566
|
*/
|
|
1464
1567
|
indent: [{
|
|
1465
|
-
indent:
|
|
1568
|
+
indent: w()
|
|
1466
1569
|
}],
|
|
1467
1570
|
/**
|
|
1468
1571
|
* Vertical Alignment
|
|
1469
1572
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1470
1573
|
*/
|
|
1471
1574
|
"vertical-align": [{
|
|
1472
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1575
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", m, x]
|
|
1473
1576
|
}],
|
|
1474
1577
|
/**
|
|
1475
1578
|
* Whitespace
|
|
@@ -1504,7 +1607,7 @@ const ht = (s, r) => {
|
|
|
1504
1607
|
* @see https://tailwindcss.com/docs/content
|
|
1505
1608
|
*/
|
|
1506
1609
|
content: [{
|
|
1507
|
-
content: ["none",
|
|
1610
|
+
content: ["none", m, x]
|
|
1508
1611
|
}],
|
|
1509
1612
|
// -------------------
|
|
1510
1613
|
// --- Backgrounds ---
|
|
@@ -1535,21 +1638,21 @@ const ht = (s, r) => {
|
|
|
1535
1638
|
* @see https://tailwindcss.com/docs/background-position
|
|
1536
1639
|
*/
|
|
1537
1640
|
"bg-position": [{
|
|
1538
|
-
bg:
|
|
1641
|
+
bg: f()
|
|
1539
1642
|
}],
|
|
1540
1643
|
/**
|
|
1541
1644
|
* Background Repeat
|
|
1542
1645
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1543
1646
|
*/
|
|
1544
1647
|
"bg-repeat": [{
|
|
1545
|
-
bg:
|
|
1648
|
+
bg: _()
|
|
1546
1649
|
}],
|
|
1547
1650
|
/**
|
|
1548
1651
|
* Background Size
|
|
1549
1652
|
* @see https://tailwindcss.com/docs/background-size
|
|
1550
1653
|
*/
|
|
1551
1654
|
"bg-size": [{
|
|
1552
|
-
bg:
|
|
1655
|
+
bg: R()
|
|
1553
1656
|
}],
|
|
1554
1657
|
/**
|
|
1555
1658
|
* Background Image
|
|
@@ -1559,10 +1662,10 @@ const ht = (s, r) => {
|
|
|
1559
1662
|
bg: ["none", {
|
|
1560
1663
|
linear: [{
|
|
1561
1664
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1562
|
-
},
|
|
1563
|
-
radial: ["",
|
|
1564
|
-
conic: [
|
|
1565
|
-
},
|
|
1665
|
+
}, re, m, x],
|
|
1666
|
+
radial: ["", m, x],
|
|
1667
|
+
conic: [re, m, x]
|
|
1668
|
+
}, qt, Xt]
|
|
1566
1669
|
}],
|
|
1567
1670
|
/**
|
|
1568
1671
|
* Background Color
|
|
@@ -1576,21 +1679,21 @@ const ht = (s, r) => {
|
|
|
1576
1679
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1577
1680
|
*/
|
|
1578
1681
|
"gradient-from-pos": [{
|
|
1579
|
-
from:
|
|
1682
|
+
from: P()
|
|
1580
1683
|
}],
|
|
1581
1684
|
/**
|
|
1582
1685
|
* Gradient Color Stops Via Position
|
|
1583
1686
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1584
1687
|
*/
|
|
1585
1688
|
"gradient-via-pos": [{
|
|
1586
|
-
via:
|
|
1689
|
+
via: P()
|
|
1587
1690
|
}],
|
|
1588
1691
|
/**
|
|
1589
1692
|
* Gradient Color Stops To Position
|
|
1590
1693
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1591
1694
|
*/
|
|
1592
1695
|
"gradient-to-pos": [{
|
|
1593
|
-
to:
|
|
1696
|
+
to: P()
|
|
1594
1697
|
}],
|
|
1595
1698
|
/**
|
|
1596
1699
|
* Gradient Color Stops From
|
|
@@ -1621,175 +1724,189 @@ const ht = (s, r) => {
|
|
|
1621
1724
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1622
1725
|
*/
|
|
1623
1726
|
rounded: [{
|
|
1624
|
-
rounded:
|
|
1727
|
+
rounded: W()
|
|
1625
1728
|
}],
|
|
1626
1729
|
/**
|
|
1627
1730
|
* Border Radius Start
|
|
1628
1731
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1629
1732
|
*/
|
|
1630
1733
|
"rounded-s": [{
|
|
1631
|
-
"rounded-s":
|
|
1734
|
+
"rounded-s": W()
|
|
1632
1735
|
}],
|
|
1633
1736
|
/**
|
|
1634
1737
|
* Border Radius End
|
|
1635
1738
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1636
1739
|
*/
|
|
1637
1740
|
"rounded-e": [{
|
|
1638
|
-
"rounded-e":
|
|
1741
|
+
"rounded-e": W()
|
|
1639
1742
|
}],
|
|
1640
1743
|
/**
|
|
1641
1744
|
* Border Radius Top
|
|
1642
1745
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1643
1746
|
*/
|
|
1644
1747
|
"rounded-t": [{
|
|
1645
|
-
"rounded-t":
|
|
1748
|
+
"rounded-t": W()
|
|
1646
1749
|
}],
|
|
1647
1750
|
/**
|
|
1648
1751
|
* Border Radius Right
|
|
1649
1752
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1650
1753
|
*/
|
|
1651
1754
|
"rounded-r": [{
|
|
1652
|
-
"rounded-r":
|
|
1755
|
+
"rounded-r": W()
|
|
1653
1756
|
}],
|
|
1654
1757
|
/**
|
|
1655
1758
|
* Border Radius Bottom
|
|
1656
1759
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1657
1760
|
*/
|
|
1658
1761
|
"rounded-b": [{
|
|
1659
|
-
"rounded-b":
|
|
1762
|
+
"rounded-b": W()
|
|
1660
1763
|
}],
|
|
1661
1764
|
/**
|
|
1662
1765
|
* Border Radius Left
|
|
1663
1766
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1664
1767
|
*/
|
|
1665
1768
|
"rounded-l": [{
|
|
1666
|
-
"rounded-l":
|
|
1769
|
+
"rounded-l": W()
|
|
1667
1770
|
}],
|
|
1668
1771
|
/**
|
|
1669
1772
|
* Border Radius Start Start
|
|
1670
1773
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1671
1774
|
*/
|
|
1672
1775
|
"rounded-ss": [{
|
|
1673
|
-
"rounded-ss":
|
|
1776
|
+
"rounded-ss": W()
|
|
1674
1777
|
}],
|
|
1675
1778
|
/**
|
|
1676
1779
|
* Border Radius Start End
|
|
1677
1780
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1678
1781
|
*/
|
|
1679
1782
|
"rounded-se": [{
|
|
1680
|
-
"rounded-se":
|
|
1783
|
+
"rounded-se": W()
|
|
1681
1784
|
}],
|
|
1682
1785
|
/**
|
|
1683
1786
|
* Border Radius End End
|
|
1684
1787
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1685
1788
|
*/
|
|
1686
1789
|
"rounded-ee": [{
|
|
1687
|
-
"rounded-ee":
|
|
1790
|
+
"rounded-ee": W()
|
|
1688
1791
|
}],
|
|
1689
1792
|
/**
|
|
1690
1793
|
* Border Radius End Start
|
|
1691
1794
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1692
1795
|
*/
|
|
1693
1796
|
"rounded-es": [{
|
|
1694
|
-
"rounded-es":
|
|
1797
|
+
"rounded-es": W()
|
|
1695
1798
|
}],
|
|
1696
1799
|
/**
|
|
1697
1800
|
* Border Radius Top Left
|
|
1698
1801
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1699
1802
|
*/
|
|
1700
1803
|
"rounded-tl": [{
|
|
1701
|
-
"rounded-tl":
|
|
1804
|
+
"rounded-tl": W()
|
|
1702
1805
|
}],
|
|
1703
1806
|
/**
|
|
1704
1807
|
* Border Radius Top Right
|
|
1705
1808
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1706
1809
|
*/
|
|
1707
1810
|
"rounded-tr": [{
|
|
1708
|
-
"rounded-tr":
|
|
1811
|
+
"rounded-tr": W()
|
|
1709
1812
|
}],
|
|
1710
1813
|
/**
|
|
1711
1814
|
* Border Radius Bottom Right
|
|
1712
1815
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1713
1816
|
*/
|
|
1714
1817
|
"rounded-br": [{
|
|
1715
|
-
"rounded-br":
|
|
1818
|
+
"rounded-br": W()
|
|
1716
1819
|
}],
|
|
1717
1820
|
/**
|
|
1718
1821
|
* Border Radius Bottom Left
|
|
1719
1822
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1720
1823
|
*/
|
|
1721
1824
|
"rounded-bl": [{
|
|
1722
|
-
"rounded-bl":
|
|
1825
|
+
"rounded-bl": W()
|
|
1723
1826
|
}],
|
|
1724
1827
|
/**
|
|
1725
1828
|
* Border Width
|
|
1726
1829
|
* @see https://tailwindcss.com/docs/border-width
|
|
1727
1830
|
*/
|
|
1728
1831
|
"border-w": [{
|
|
1729
|
-
border:
|
|
1832
|
+
border: S()
|
|
1730
1833
|
}],
|
|
1731
1834
|
/**
|
|
1732
|
-
* Border Width
|
|
1835
|
+
* Border Width Inline
|
|
1733
1836
|
* @see https://tailwindcss.com/docs/border-width
|
|
1734
1837
|
*/
|
|
1735
1838
|
"border-w-x": [{
|
|
1736
|
-
"border-x":
|
|
1839
|
+
"border-x": S()
|
|
1737
1840
|
}],
|
|
1738
1841
|
/**
|
|
1739
|
-
* Border Width
|
|
1842
|
+
* Border Width Block
|
|
1740
1843
|
* @see https://tailwindcss.com/docs/border-width
|
|
1741
1844
|
*/
|
|
1742
1845
|
"border-w-y": [{
|
|
1743
|
-
"border-y":
|
|
1846
|
+
"border-y": S()
|
|
1744
1847
|
}],
|
|
1745
1848
|
/**
|
|
1746
|
-
* Border Width Start
|
|
1849
|
+
* Border Width Inline Start
|
|
1747
1850
|
* @see https://tailwindcss.com/docs/border-width
|
|
1748
1851
|
*/
|
|
1749
1852
|
"border-w-s": [{
|
|
1750
|
-
"border-s":
|
|
1853
|
+
"border-s": S()
|
|
1751
1854
|
}],
|
|
1752
1855
|
/**
|
|
1753
|
-
* Border Width End
|
|
1856
|
+
* Border Width Inline End
|
|
1754
1857
|
* @see https://tailwindcss.com/docs/border-width
|
|
1755
1858
|
*/
|
|
1756
1859
|
"border-w-e": [{
|
|
1757
|
-
"border-e":
|
|
1860
|
+
"border-e": S()
|
|
1861
|
+
}],
|
|
1862
|
+
/**
|
|
1863
|
+
* Border Width Block Start
|
|
1864
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1865
|
+
*/
|
|
1866
|
+
"border-w-bs": [{
|
|
1867
|
+
"border-bs": S()
|
|
1868
|
+
}],
|
|
1869
|
+
/**
|
|
1870
|
+
* Border Width Block End
|
|
1871
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1872
|
+
*/
|
|
1873
|
+
"border-w-be": [{
|
|
1874
|
+
"border-be": S()
|
|
1758
1875
|
}],
|
|
1759
1876
|
/**
|
|
1760
1877
|
* Border Width Top
|
|
1761
1878
|
* @see https://tailwindcss.com/docs/border-width
|
|
1762
1879
|
*/
|
|
1763
1880
|
"border-w-t": [{
|
|
1764
|
-
"border-t":
|
|
1881
|
+
"border-t": S()
|
|
1765
1882
|
}],
|
|
1766
1883
|
/**
|
|
1767
1884
|
* Border Width Right
|
|
1768
1885
|
* @see https://tailwindcss.com/docs/border-width
|
|
1769
1886
|
*/
|
|
1770
1887
|
"border-w-r": [{
|
|
1771
|
-
"border-r":
|
|
1888
|
+
"border-r": S()
|
|
1772
1889
|
}],
|
|
1773
1890
|
/**
|
|
1774
1891
|
* Border Width Bottom
|
|
1775
1892
|
* @see https://tailwindcss.com/docs/border-width
|
|
1776
1893
|
*/
|
|
1777
1894
|
"border-w-b": [{
|
|
1778
|
-
"border-b":
|
|
1895
|
+
"border-b": S()
|
|
1779
1896
|
}],
|
|
1780
1897
|
/**
|
|
1781
1898
|
* Border Width Left
|
|
1782
1899
|
* @see https://tailwindcss.com/docs/border-width
|
|
1783
1900
|
*/
|
|
1784
1901
|
"border-w-l": [{
|
|
1785
|
-
"border-l":
|
|
1902
|
+
"border-l": S()
|
|
1786
1903
|
}],
|
|
1787
1904
|
/**
|
|
1788
1905
|
* Divide Width X
|
|
1789
1906
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1790
1907
|
*/
|
|
1791
1908
|
"divide-x": [{
|
|
1792
|
-
"divide-x":
|
|
1909
|
+
"divide-x": S()
|
|
1793
1910
|
}],
|
|
1794
1911
|
/**
|
|
1795
1912
|
* Divide Width X Reverse
|
|
@@ -1801,7 +1918,7 @@ const ht = (s, r) => {
|
|
|
1801
1918
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1802
1919
|
*/
|
|
1803
1920
|
"divide-y": [{
|
|
1804
|
-
"divide-y":
|
|
1921
|
+
"divide-y": S()
|
|
1805
1922
|
}],
|
|
1806
1923
|
/**
|
|
1807
1924
|
* Divide Width Y Reverse
|
|
@@ -1813,14 +1930,14 @@ const ht = (s, r) => {
|
|
|
1813
1930
|
* @see https://tailwindcss.com/docs/border-style
|
|
1814
1931
|
*/
|
|
1815
1932
|
"border-style": [{
|
|
1816
|
-
border: [...
|
|
1933
|
+
border: [...Z(), "hidden", "none"]
|
|
1817
1934
|
}],
|
|
1818
1935
|
/**
|
|
1819
1936
|
* Divide Style
|
|
1820
1937
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1821
1938
|
*/
|
|
1822
1939
|
"divide-style": [{
|
|
1823
|
-
divide: [...
|
|
1940
|
+
divide: [...Z(), "hidden", "none"]
|
|
1824
1941
|
}],
|
|
1825
1942
|
/**
|
|
1826
1943
|
* Border Color
|
|
@@ -1830,33 +1947,47 @@ const ht = (s, r) => {
|
|
|
1830
1947
|
border: v()
|
|
1831
1948
|
}],
|
|
1832
1949
|
/**
|
|
1833
|
-
* Border Color
|
|
1950
|
+
* Border Color Inline
|
|
1834
1951
|
* @see https://tailwindcss.com/docs/border-color
|
|
1835
1952
|
*/
|
|
1836
1953
|
"border-color-x": [{
|
|
1837
1954
|
"border-x": v()
|
|
1838
1955
|
}],
|
|
1839
1956
|
/**
|
|
1840
|
-
* Border Color
|
|
1957
|
+
* Border Color Block
|
|
1841
1958
|
* @see https://tailwindcss.com/docs/border-color
|
|
1842
1959
|
*/
|
|
1843
1960
|
"border-color-y": [{
|
|
1844
1961
|
"border-y": v()
|
|
1845
1962
|
}],
|
|
1846
1963
|
/**
|
|
1847
|
-
* Border Color
|
|
1964
|
+
* Border Color Inline Start
|
|
1848
1965
|
* @see https://tailwindcss.com/docs/border-color
|
|
1849
1966
|
*/
|
|
1850
1967
|
"border-color-s": [{
|
|
1851
1968
|
"border-s": v()
|
|
1852
1969
|
}],
|
|
1853
1970
|
/**
|
|
1854
|
-
* Border Color
|
|
1971
|
+
* Border Color Inline End
|
|
1855
1972
|
* @see https://tailwindcss.com/docs/border-color
|
|
1856
1973
|
*/
|
|
1857
1974
|
"border-color-e": [{
|
|
1858
1975
|
"border-e": v()
|
|
1859
1976
|
}],
|
|
1977
|
+
/**
|
|
1978
|
+
* Border Color Block Start
|
|
1979
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1980
|
+
*/
|
|
1981
|
+
"border-color-bs": [{
|
|
1982
|
+
"border-bs": v()
|
|
1983
|
+
}],
|
|
1984
|
+
/**
|
|
1985
|
+
* Border Color Block End
|
|
1986
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1987
|
+
*/
|
|
1988
|
+
"border-color-be": [{
|
|
1989
|
+
"border-be": v()
|
|
1990
|
+
}],
|
|
1860
1991
|
/**
|
|
1861
1992
|
* Border Color Top
|
|
1862
1993
|
* @see https://tailwindcss.com/docs/border-color
|
|
@@ -1897,21 +2028,21 @@ const ht = (s, r) => {
|
|
|
1897
2028
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1898
2029
|
*/
|
|
1899
2030
|
"outline-style": [{
|
|
1900
|
-
outline: [...
|
|
2031
|
+
outline: [...Z(), "none", "hidden"]
|
|
1901
2032
|
}],
|
|
1902
2033
|
/**
|
|
1903
2034
|
* Outline Offset
|
|
1904
2035
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1905
2036
|
*/
|
|
1906
2037
|
"outline-offset": [{
|
|
1907
|
-
"outline-offset": [y,
|
|
2038
|
+
"outline-offset": [y, m, x]
|
|
1908
2039
|
}],
|
|
1909
2040
|
/**
|
|
1910
2041
|
* Outline Width
|
|
1911
2042
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1912
2043
|
*/
|
|
1913
2044
|
"outline-w": [{
|
|
1914
|
-
outline: ["", y,
|
|
2045
|
+
outline: ["", y, xe, ae]
|
|
1915
2046
|
}],
|
|
1916
2047
|
/**
|
|
1917
2048
|
* Outline Color
|
|
@@ -1933,8 +2064,8 @@ const ht = (s, r) => {
|
|
|
1933
2064
|
"",
|
|
1934
2065
|
"none",
|
|
1935
2066
|
h,
|
|
1936
|
-
|
|
1937
|
-
|
|
2067
|
+
ke,
|
|
2068
|
+
be
|
|
1938
2069
|
]
|
|
1939
2070
|
}],
|
|
1940
2071
|
/**
|
|
@@ -1949,7 +2080,7 @@ const ht = (s, r) => {
|
|
|
1949
2080
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1950
2081
|
*/
|
|
1951
2082
|
"inset-shadow": [{
|
|
1952
|
-
"inset-shadow": ["none",
|
|
2083
|
+
"inset-shadow": ["none", u, ke, be]
|
|
1953
2084
|
}],
|
|
1954
2085
|
/**
|
|
1955
2086
|
* Inset Box Shadow Color
|
|
@@ -1963,7 +2094,7 @@ const ht = (s, r) => {
|
|
|
1963
2094
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1964
2095
|
*/
|
|
1965
2096
|
"ring-w": [{
|
|
1966
|
-
ring:
|
|
2097
|
+
ring: S()
|
|
1967
2098
|
}],
|
|
1968
2099
|
/**
|
|
1969
2100
|
* Ring Width Inset
|
|
@@ -1986,7 +2117,7 @@ const ht = (s, r) => {
|
|
|
1986
2117
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1987
2118
|
*/
|
|
1988
2119
|
"ring-offset-w": [{
|
|
1989
|
-
"ring-offset": [y,
|
|
2120
|
+
"ring-offset": [y, ae]
|
|
1990
2121
|
}],
|
|
1991
2122
|
/**
|
|
1992
2123
|
* Ring Offset Color
|
|
@@ -2002,7 +2133,7 @@ const ht = (s, r) => {
|
|
|
2002
2133
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2003
2134
|
*/
|
|
2004
2135
|
"inset-ring-w": [{
|
|
2005
|
-
"inset-ring":
|
|
2136
|
+
"inset-ring": S()
|
|
2006
2137
|
}],
|
|
2007
2138
|
/**
|
|
2008
2139
|
* Inset Ring Color
|
|
@@ -2016,7 +2147,7 @@ const ht = (s, r) => {
|
|
|
2016
2147
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2017
2148
|
*/
|
|
2018
2149
|
"text-shadow": [{
|
|
2019
|
-
"text-shadow": ["none", L,
|
|
2150
|
+
"text-shadow": ["none", L, ke, be]
|
|
2020
2151
|
}],
|
|
2021
2152
|
/**
|
|
2022
2153
|
* Text Shadow Color
|
|
@@ -2030,21 +2161,21 @@ const ht = (s, r) => {
|
|
|
2030
2161
|
* @see https://tailwindcss.com/docs/opacity
|
|
2031
2162
|
*/
|
|
2032
2163
|
opacity: [{
|
|
2033
|
-
opacity: [y,
|
|
2164
|
+
opacity: [y, m, x]
|
|
2034
2165
|
}],
|
|
2035
2166
|
/**
|
|
2036
2167
|
* Mix Blend Mode
|
|
2037
2168
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2038
2169
|
*/
|
|
2039
2170
|
"mix-blend": [{
|
|
2040
|
-
"mix-blend": [...
|
|
2171
|
+
"mix-blend": [...te(), "plus-darker", "plus-lighter"]
|
|
2041
2172
|
}],
|
|
2042
2173
|
/**
|
|
2043
2174
|
* Background Blend Mode
|
|
2044
2175
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2045
2176
|
*/
|
|
2046
2177
|
"bg-blend": [{
|
|
2047
|
-
"bg-blend":
|
|
2178
|
+
"bg-blend": te()
|
|
2048
2179
|
}],
|
|
2049
2180
|
/**
|
|
2050
2181
|
* Mask Clip
|
|
@@ -2068,10 +2199,10 @@ const ht = (s, r) => {
|
|
|
2068
2199
|
"mask-linear": [y]
|
|
2069
2200
|
}],
|
|
2070
2201
|
"mask-image-linear-from-pos": [{
|
|
2071
|
-
"mask-linear-from":
|
|
2202
|
+
"mask-linear-from": T()
|
|
2072
2203
|
}],
|
|
2073
2204
|
"mask-image-linear-to-pos": [{
|
|
2074
|
-
"mask-linear-to":
|
|
2205
|
+
"mask-linear-to": T()
|
|
2075
2206
|
}],
|
|
2076
2207
|
"mask-image-linear-from-color": [{
|
|
2077
2208
|
"mask-linear-from": v()
|
|
@@ -2080,10 +2211,10 @@ const ht = (s, r) => {
|
|
|
2080
2211
|
"mask-linear-to": v()
|
|
2081
2212
|
}],
|
|
2082
2213
|
"mask-image-t-from-pos": [{
|
|
2083
|
-
"mask-t-from":
|
|
2214
|
+
"mask-t-from": T()
|
|
2084
2215
|
}],
|
|
2085
2216
|
"mask-image-t-to-pos": [{
|
|
2086
|
-
"mask-t-to":
|
|
2217
|
+
"mask-t-to": T()
|
|
2087
2218
|
}],
|
|
2088
2219
|
"mask-image-t-from-color": [{
|
|
2089
2220
|
"mask-t-from": v()
|
|
@@ -2092,10 +2223,10 @@ const ht = (s, r) => {
|
|
|
2092
2223
|
"mask-t-to": v()
|
|
2093
2224
|
}],
|
|
2094
2225
|
"mask-image-r-from-pos": [{
|
|
2095
|
-
"mask-r-from":
|
|
2226
|
+
"mask-r-from": T()
|
|
2096
2227
|
}],
|
|
2097
2228
|
"mask-image-r-to-pos": [{
|
|
2098
|
-
"mask-r-to":
|
|
2229
|
+
"mask-r-to": T()
|
|
2099
2230
|
}],
|
|
2100
2231
|
"mask-image-r-from-color": [{
|
|
2101
2232
|
"mask-r-from": v()
|
|
@@ -2104,10 +2235,10 @@ const ht = (s, r) => {
|
|
|
2104
2235
|
"mask-r-to": v()
|
|
2105
2236
|
}],
|
|
2106
2237
|
"mask-image-b-from-pos": [{
|
|
2107
|
-
"mask-b-from":
|
|
2238
|
+
"mask-b-from": T()
|
|
2108
2239
|
}],
|
|
2109
2240
|
"mask-image-b-to-pos": [{
|
|
2110
|
-
"mask-b-to":
|
|
2241
|
+
"mask-b-to": T()
|
|
2111
2242
|
}],
|
|
2112
2243
|
"mask-image-b-from-color": [{
|
|
2113
2244
|
"mask-b-from": v()
|
|
@@ -2116,10 +2247,10 @@ const ht = (s, r) => {
|
|
|
2116
2247
|
"mask-b-to": v()
|
|
2117
2248
|
}],
|
|
2118
2249
|
"mask-image-l-from-pos": [{
|
|
2119
|
-
"mask-l-from":
|
|
2250
|
+
"mask-l-from": T()
|
|
2120
2251
|
}],
|
|
2121
2252
|
"mask-image-l-to-pos": [{
|
|
2122
|
-
"mask-l-to":
|
|
2253
|
+
"mask-l-to": T()
|
|
2123
2254
|
}],
|
|
2124
2255
|
"mask-image-l-from-color": [{
|
|
2125
2256
|
"mask-l-from": v()
|
|
@@ -2128,10 +2259,10 @@ const ht = (s, r) => {
|
|
|
2128
2259
|
"mask-l-to": v()
|
|
2129
2260
|
}],
|
|
2130
2261
|
"mask-image-x-from-pos": [{
|
|
2131
|
-
"mask-x-from":
|
|
2262
|
+
"mask-x-from": T()
|
|
2132
2263
|
}],
|
|
2133
2264
|
"mask-image-x-to-pos": [{
|
|
2134
|
-
"mask-x-to":
|
|
2265
|
+
"mask-x-to": T()
|
|
2135
2266
|
}],
|
|
2136
2267
|
"mask-image-x-from-color": [{
|
|
2137
2268
|
"mask-x-from": v()
|
|
@@ -2140,10 +2271,10 @@ const ht = (s, r) => {
|
|
|
2140
2271
|
"mask-x-to": v()
|
|
2141
2272
|
}],
|
|
2142
2273
|
"mask-image-y-from-pos": [{
|
|
2143
|
-
"mask-y-from":
|
|
2274
|
+
"mask-y-from": T()
|
|
2144
2275
|
}],
|
|
2145
2276
|
"mask-image-y-to-pos": [{
|
|
2146
|
-
"mask-y-to":
|
|
2277
|
+
"mask-y-to": T()
|
|
2147
2278
|
}],
|
|
2148
2279
|
"mask-image-y-from-color": [{
|
|
2149
2280
|
"mask-y-from": v()
|
|
@@ -2152,13 +2283,13 @@ const ht = (s, r) => {
|
|
|
2152
2283
|
"mask-y-to": v()
|
|
2153
2284
|
}],
|
|
2154
2285
|
"mask-image-radial": [{
|
|
2155
|
-
"mask-radial": [
|
|
2286
|
+
"mask-radial": [m, x]
|
|
2156
2287
|
}],
|
|
2157
2288
|
"mask-image-radial-from-pos": [{
|
|
2158
|
-
"mask-radial-from":
|
|
2289
|
+
"mask-radial-from": T()
|
|
2159
2290
|
}],
|
|
2160
2291
|
"mask-image-radial-to-pos": [{
|
|
2161
|
-
"mask-radial-to":
|
|
2292
|
+
"mask-radial-to": T()
|
|
2162
2293
|
}],
|
|
2163
2294
|
"mask-image-radial-from-color": [{
|
|
2164
2295
|
"mask-radial-from": v()
|
|
@@ -2176,16 +2307,16 @@ const ht = (s, r) => {
|
|
|
2176
2307
|
}]
|
|
2177
2308
|
}],
|
|
2178
2309
|
"mask-image-radial-pos": [{
|
|
2179
|
-
"mask-radial-at":
|
|
2310
|
+
"mask-radial-at": E()
|
|
2180
2311
|
}],
|
|
2181
2312
|
"mask-image-conic-pos": [{
|
|
2182
2313
|
"mask-conic": [y]
|
|
2183
2314
|
}],
|
|
2184
2315
|
"mask-image-conic-from-pos": [{
|
|
2185
|
-
"mask-conic-from":
|
|
2316
|
+
"mask-conic-from": T()
|
|
2186
2317
|
}],
|
|
2187
2318
|
"mask-image-conic-to-pos": [{
|
|
2188
|
-
"mask-conic-to":
|
|
2319
|
+
"mask-conic-to": T()
|
|
2189
2320
|
}],
|
|
2190
2321
|
"mask-image-conic-from-color": [{
|
|
2191
2322
|
"mask-conic-from": v()
|
|
@@ -2212,21 +2343,21 @@ const ht = (s, r) => {
|
|
|
2212
2343
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2213
2344
|
*/
|
|
2214
2345
|
"mask-position": [{
|
|
2215
|
-
mask:
|
|
2346
|
+
mask: f()
|
|
2216
2347
|
}],
|
|
2217
2348
|
/**
|
|
2218
2349
|
* Mask Repeat
|
|
2219
2350
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2220
2351
|
*/
|
|
2221
2352
|
"mask-repeat": [{
|
|
2222
|
-
mask:
|
|
2353
|
+
mask: _()
|
|
2223
2354
|
}],
|
|
2224
2355
|
/**
|
|
2225
2356
|
* Mask Size
|
|
2226
2357
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2227
2358
|
*/
|
|
2228
2359
|
"mask-size": [{
|
|
2229
|
-
mask:
|
|
2360
|
+
mask: R()
|
|
2230
2361
|
}],
|
|
2231
2362
|
/**
|
|
2232
2363
|
* Mask Type
|
|
@@ -2240,7 +2371,7 @@ const ht = (s, r) => {
|
|
|
2240
2371
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2241
2372
|
*/
|
|
2242
2373
|
"mask-image": [{
|
|
2243
|
-
mask: ["none",
|
|
2374
|
+
mask: ["none", m, x]
|
|
2244
2375
|
}],
|
|
2245
2376
|
// ---------------
|
|
2246
2377
|
// --- Filters ---
|
|
@@ -2254,8 +2385,8 @@ const ht = (s, r) => {
|
|
|
2254
2385
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2255
2386
|
"",
|
|
2256
2387
|
"none",
|
|
2257
|
-
|
|
2258
|
-
|
|
2388
|
+
m,
|
|
2389
|
+
x
|
|
2259
2390
|
]
|
|
2260
2391
|
}],
|
|
2261
2392
|
/**
|
|
@@ -2263,21 +2394,21 @@ const ht = (s, r) => {
|
|
|
2263
2394
|
* @see https://tailwindcss.com/docs/blur
|
|
2264
2395
|
*/
|
|
2265
2396
|
blur: [{
|
|
2266
|
-
blur:
|
|
2397
|
+
blur: we()
|
|
2267
2398
|
}],
|
|
2268
2399
|
/**
|
|
2269
2400
|
* Brightness
|
|
2270
2401
|
* @see https://tailwindcss.com/docs/brightness
|
|
2271
2402
|
*/
|
|
2272
2403
|
brightness: [{
|
|
2273
|
-
brightness: [y,
|
|
2404
|
+
brightness: [y, m, x]
|
|
2274
2405
|
}],
|
|
2275
2406
|
/**
|
|
2276
2407
|
* Contrast
|
|
2277
2408
|
* @see https://tailwindcss.com/docs/contrast
|
|
2278
2409
|
*/
|
|
2279
2410
|
contrast: [{
|
|
2280
|
-
contrast: [y,
|
|
2411
|
+
contrast: [y, m, x]
|
|
2281
2412
|
}],
|
|
2282
2413
|
/**
|
|
2283
2414
|
* Drop Shadow
|
|
@@ -2289,8 +2420,8 @@ const ht = (s, r) => {
|
|
|
2289
2420
|
"",
|
|
2290
2421
|
"none",
|
|
2291
2422
|
j,
|
|
2292
|
-
|
|
2293
|
-
|
|
2423
|
+
ke,
|
|
2424
|
+
be
|
|
2294
2425
|
]
|
|
2295
2426
|
}],
|
|
2296
2427
|
/**
|
|
@@ -2305,35 +2436,35 @@ const ht = (s, r) => {
|
|
|
2305
2436
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2306
2437
|
*/
|
|
2307
2438
|
grayscale: [{
|
|
2308
|
-
grayscale: ["", y,
|
|
2439
|
+
grayscale: ["", y, m, x]
|
|
2309
2440
|
}],
|
|
2310
2441
|
/**
|
|
2311
2442
|
* Hue Rotate
|
|
2312
2443
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2313
2444
|
*/
|
|
2314
2445
|
"hue-rotate": [{
|
|
2315
|
-
"hue-rotate": [y,
|
|
2446
|
+
"hue-rotate": [y, m, x]
|
|
2316
2447
|
}],
|
|
2317
2448
|
/**
|
|
2318
2449
|
* Invert
|
|
2319
2450
|
* @see https://tailwindcss.com/docs/invert
|
|
2320
2451
|
*/
|
|
2321
2452
|
invert: [{
|
|
2322
|
-
invert: ["", y,
|
|
2453
|
+
invert: ["", y, m, x]
|
|
2323
2454
|
}],
|
|
2324
2455
|
/**
|
|
2325
2456
|
* Saturate
|
|
2326
2457
|
* @see https://tailwindcss.com/docs/saturate
|
|
2327
2458
|
*/
|
|
2328
2459
|
saturate: [{
|
|
2329
|
-
saturate: [y,
|
|
2460
|
+
saturate: [y, m, x]
|
|
2330
2461
|
}],
|
|
2331
2462
|
/**
|
|
2332
2463
|
* Sepia
|
|
2333
2464
|
* @see https://tailwindcss.com/docs/sepia
|
|
2334
2465
|
*/
|
|
2335
2466
|
sepia: [{
|
|
2336
|
-
sepia: ["", y,
|
|
2467
|
+
sepia: ["", y, m, x]
|
|
2337
2468
|
}],
|
|
2338
2469
|
/**
|
|
2339
2470
|
* Backdrop Filter
|
|
@@ -2344,8 +2475,8 @@ const ht = (s, r) => {
|
|
|
2344
2475
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2345
2476
|
"",
|
|
2346
2477
|
"none",
|
|
2347
|
-
|
|
2348
|
-
|
|
2478
|
+
m,
|
|
2479
|
+
x
|
|
2349
2480
|
]
|
|
2350
2481
|
}],
|
|
2351
2482
|
/**
|
|
@@ -2353,63 +2484,63 @@ const ht = (s, r) => {
|
|
|
2353
2484
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2354
2485
|
*/
|
|
2355
2486
|
"backdrop-blur": [{
|
|
2356
|
-
"backdrop-blur":
|
|
2487
|
+
"backdrop-blur": we()
|
|
2357
2488
|
}],
|
|
2358
2489
|
/**
|
|
2359
2490
|
* Backdrop Brightness
|
|
2360
2491
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2361
2492
|
*/
|
|
2362
2493
|
"backdrop-brightness": [{
|
|
2363
|
-
"backdrop-brightness": [y,
|
|
2494
|
+
"backdrop-brightness": [y, m, x]
|
|
2364
2495
|
}],
|
|
2365
2496
|
/**
|
|
2366
2497
|
* Backdrop Contrast
|
|
2367
2498
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2368
2499
|
*/
|
|
2369
2500
|
"backdrop-contrast": [{
|
|
2370
|
-
"backdrop-contrast": [y,
|
|
2501
|
+
"backdrop-contrast": [y, m, x]
|
|
2371
2502
|
}],
|
|
2372
2503
|
/**
|
|
2373
2504
|
* Backdrop Grayscale
|
|
2374
2505
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2375
2506
|
*/
|
|
2376
2507
|
"backdrop-grayscale": [{
|
|
2377
|
-
"backdrop-grayscale": ["", y,
|
|
2508
|
+
"backdrop-grayscale": ["", y, m, x]
|
|
2378
2509
|
}],
|
|
2379
2510
|
/**
|
|
2380
2511
|
* Backdrop Hue Rotate
|
|
2381
2512
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2382
2513
|
*/
|
|
2383
2514
|
"backdrop-hue-rotate": [{
|
|
2384
|
-
"backdrop-hue-rotate": [y,
|
|
2515
|
+
"backdrop-hue-rotate": [y, m, x]
|
|
2385
2516
|
}],
|
|
2386
2517
|
/**
|
|
2387
2518
|
* Backdrop Invert
|
|
2388
2519
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2389
2520
|
*/
|
|
2390
2521
|
"backdrop-invert": [{
|
|
2391
|
-
"backdrop-invert": ["", y,
|
|
2522
|
+
"backdrop-invert": ["", y, m, x]
|
|
2392
2523
|
}],
|
|
2393
2524
|
/**
|
|
2394
2525
|
* Backdrop Opacity
|
|
2395
2526
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2396
2527
|
*/
|
|
2397
2528
|
"backdrop-opacity": [{
|
|
2398
|
-
"backdrop-opacity": [y,
|
|
2529
|
+
"backdrop-opacity": [y, m, x]
|
|
2399
2530
|
}],
|
|
2400
2531
|
/**
|
|
2401
2532
|
* Backdrop Saturate
|
|
2402
2533
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2403
2534
|
*/
|
|
2404
2535
|
"backdrop-saturate": [{
|
|
2405
|
-
"backdrop-saturate": [y,
|
|
2536
|
+
"backdrop-saturate": [y, m, x]
|
|
2406
2537
|
}],
|
|
2407
2538
|
/**
|
|
2408
2539
|
* Backdrop Sepia
|
|
2409
2540
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2410
2541
|
*/
|
|
2411
2542
|
"backdrop-sepia": [{
|
|
2412
|
-
"backdrop-sepia": ["", y,
|
|
2543
|
+
"backdrop-sepia": ["", y, m, x]
|
|
2413
2544
|
}],
|
|
2414
2545
|
// --------------
|
|
2415
2546
|
// --- Tables ---
|
|
@@ -2426,21 +2557,21 @@ const ht = (s, r) => {
|
|
|
2426
2557
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2427
2558
|
*/
|
|
2428
2559
|
"border-spacing": [{
|
|
2429
|
-
"border-spacing":
|
|
2560
|
+
"border-spacing": w()
|
|
2430
2561
|
}],
|
|
2431
2562
|
/**
|
|
2432
2563
|
* Border Spacing X
|
|
2433
2564
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2434
2565
|
*/
|
|
2435
2566
|
"border-spacing-x": [{
|
|
2436
|
-
"border-spacing-x":
|
|
2567
|
+
"border-spacing-x": w()
|
|
2437
2568
|
}],
|
|
2438
2569
|
/**
|
|
2439
2570
|
* Border Spacing Y
|
|
2440
2571
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2441
2572
|
*/
|
|
2442
2573
|
"border-spacing-y": [{
|
|
2443
|
-
"border-spacing-y":
|
|
2574
|
+
"border-spacing-y": w()
|
|
2444
2575
|
}],
|
|
2445
2576
|
/**
|
|
2446
2577
|
* Table Layout
|
|
@@ -2464,7 +2595,7 @@ const ht = (s, r) => {
|
|
|
2464
2595
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2465
2596
|
*/
|
|
2466
2597
|
transition: [{
|
|
2467
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2598
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", m, x]
|
|
2468
2599
|
}],
|
|
2469
2600
|
/**
|
|
2470
2601
|
* Transition Behavior
|
|
@@ -2478,28 +2609,28 @@ const ht = (s, r) => {
|
|
|
2478
2609
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2479
2610
|
*/
|
|
2480
2611
|
duration: [{
|
|
2481
|
-
duration: [y, "initial",
|
|
2612
|
+
duration: [y, "initial", m, x]
|
|
2482
2613
|
}],
|
|
2483
2614
|
/**
|
|
2484
2615
|
* Transition Timing Function
|
|
2485
2616
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2486
2617
|
*/
|
|
2487
2618
|
ease: [{
|
|
2488
|
-
ease: ["linear", "initial", b,
|
|
2619
|
+
ease: ["linear", "initial", b, m, x]
|
|
2489
2620
|
}],
|
|
2490
2621
|
/**
|
|
2491
2622
|
* Transition Delay
|
|
2492
2623
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2493
2624
|
*/
|
|
2494
2625
|
delay: [{
|
|
2495
|
-
delay: [y,
|
|
2626
|
+
delay: [y, m, x]
|
|
2496
2627
|
}],
|
|
2497
2628
|
/**
|
|
2498
2629
|
* Animation
|
|
2499
2630
|
* @see https://tailwindcss.com/docs/animation
|
|
2500
2631
|
*/
|
|
2501
2632
|
animate: [{
|
|
2502
|
-
animate: ["none",
|
|
2633
|
+
animate: ["none", M, m, x]
|
|
2503
2634
|
}],
|
|
2504
2635
|
// ------------------
|
|
2505
2636
|
// --- Transforms ---
|
|
@@ -2516,7 +2647,7 @@ const ht = (s, r) => {
|
|
|
2516
2647
|
* @see https://tailwindcss.com/docs/perspective
|
|
2517
2648
|
*/
|
|
2518
2649
|
perspective: [{
|
|
2519
|
-
perspective: [
|
|
2650
|
+
perspective: [V, m, x]
|
|
2520
2651
|
}],
|
|
2521
2652
|
/**
|
|
2522
2653
|
* Perspective Origin
|
|
@@ -2530,56 +2661,56 @@ const ht = (s, r) => {
|
|
|
2530
2661
|
* @see https://tailwindcss.com/docs/rotate
|
|
2531
2662
|
*/
|
|
2532
2663
|
rotate: [{
|
|
2533
|
-
rotate:
|
|
2664
|
+
rotate: ue()
|
|
2534
2665
|
}],
|
|
2535
2666
|
/**
|
|
2536
2667
|
* Rotate X
|
|
2537
2668
|
* @see https://tailwindcss.com/docs/rotate
|
|
2538
2669
|
*/
|
|
2539
2670
|
"rotate-x": [{
|
|
2540
|
-
"rotate-x":
|
|
2671
|
+
"rotate-x": ue()
|
|
2541
2672
|
}],
|
|
2542
2673
|
/**
|
|
2543
2674
|
* Rotate Y
|
|
2544
2675
|
* @see https://tailwindcss.com/docs/rotate
|
|
2545
2676
|
*/
|
|
2546
2677
|
"rotate-y": [{
|
|
2547
|
-
"rotate-y":
|
|
2678
|
+
"rotate-y": ue()
|
|
2548
2679
|
}],
|
|
2549
2680
|
/**
|
|
2550
2681
|
* Rotate Z
|
|
2551
2682
|
* @see https://tailwindcss.com/docs/rotate
|
|
2552
2683
|
*/
|
|
2553
2684
|
"rotate-z": [{
|
|
2554
|
-
"rotate-z":
|
|
2685
|
+
"rotate-z": ue()
|
|
2555
2686
|
}],
|
|
2556
2687
|
/**
|
|
2557
2688
|
* Scale
|
|
2558
2689
|
* @see https://tailwindcss.com/docs/scale
|
|
2559
2690
|
*/
|
|
2560
2691
|
scale: [{
|
|
2561
|
-
scale:
|
|
2692
|
+
scale: ge()
|
|
2562
2693
|
}],
|
|
2563
2694
|
/**
|
|
2564
2695
|
* Scale X
|
|
2565
2696
|
* @see https://tailwindcss.com/docs/scale
|
|
2566
2697
|
*/
|
|
2567
2698
|
"scale-x": [{
|
|
2568
|
-
"scale-x":
|
|
2699
|
+
"scale-x": ge()
|
|
2569
2700
|
}],
|
|
2570
2701
|
/**
|
|
2571
2702
|
* Scale Y
|
|
2572
2703
|
* @see https://tailwindcss.com/docs/scale
|
|
2573
2704
|
*/
|
|
2574
2705
|
"scale-y": [{
|
|
2575
|
-
"scale-y":
|
|
2706
|
+
"scale-y": ge()
|
|
2576
2707
|
}],
|
|
2577
2708
|
/**
|
|
2578
2709
|
* Scale Z
|
|
2579
2710
|
* @see https://tailwindcss.com/docs/scale
|
|
2580
2711
|
*/
|
|
2581
2712
|
"scale-z": [{
|
|
2582
|
-
"scale-z":
|
|
2713
|
+
"scale-z": ge()
|
|
2583
2714
|
}],
|
|
2584
2715
|
/**
|
|
2585
2716
|
* Scale 3D
|
|
@@ -2591,28 +2722,28 @@ const ht = (s, r) => {
|
|
|
2591
2722
|
* @see https://tailwindcss.com/docs/skew
|
|
2592
2723
|
*/
|
|
2593
2724
|
skew: [{
|
|
2594
|
-
skew:
|
|
2725
|
+
skew: ye()
|
|
2595
2726
|
}],
|
|
2596
2727
|
/**
|
|
2597
2728
|
* Skew X
|
|
2598
2729
|
* @see https://tailwindcss.com/docs/skew
|
|
2599
2730
|
*/
|
|
2600
2731
|
"skew-x": [{
|
|
2601
|
-
"skew-x":
|
|
2732
|
+
"skew-x": ye()
|
|
2602
2733
|
}],
|
|
2603
2734
|
/**
|
|
2604
2735
|
* Skew Y
|
|
2605
2736
|
* @see https://tailwindcss.com/docs/skew
|
|
2606
2737
|
*/
|
|
2607
2738
|
"skew-y": [{
|
|
2608
|
-
"skew-y":
|
|
2739
|
+
"skew-y": ye()
|
|
2609
2740
|
}],
|
|
2610
2741
|
/**
|
|
2611
2742
|
* Transform
|
|
2612
2743
|
* @see https://tailwindcss.com/docs/transform
|
|
2613
2744
|
*/
|
|
2614
2745
|
transform: [{
|
|
2615
|
-
transform: [
|
|
2746
|
+
transform: [m, x, "", "none", "gpu", "cpu"]
|
|
2616
2747
|
}],
|
|
2617
2748
|
/**
|
|
2618
2749
|
* Transform Origin
|
|
@@ -2633,28 +2764,28 @@ const ht = (s, r) => {
|
|
|
2633
2764
|
* @see https://tailwindcss.com/docs/translate
|
|
2634
2765
|
*/
|
|
2635
2766
|
translate: [{
|
|
2636
|
-
translate:
|
|
2767
|
+
translate: ve()
|
|
2637
2768
|
}],
|
|
2638
2769
|
/**
|
|
2639
2770
|
* Translate X
|
|
2640
2771
|
* @see https://tailwindcss.com/docs/translate
|
|
2641
2772
|
*/
|
|
2642
2773
|
"translate-x": [{
|
|
2643
|
-
"translate-x":
|
|
2774
|
+
"translate-x": ve()
|
|
2644
2775
|
}],
|
|
2645
2776
|
/**
|
|
2646
2777
|
* Translate Y
|
|
2647
2778
|
* @see https://tailwindcss.com/docs/translate
|
|
2648
2779
|
*/
|
|
2649
2780
|
"translate-y": [{
|
|
2650
|
-
"translate-y":
|
|
2781
|
+
"translate-y": ve()
|
|
2651
2782
|
}],
|
|
2652
2783
|
/**
|
|
2653
2784
|
* Translate Z
|
|
2654
2785
|
* @see https://tailwindcss.com/docs/translate
|
|
2655
2786
|
*/
|
|
2656
2787
|
"translate-z": [{
|
|
2657
|
-
"translate-z":
|
|
2788
|
+
"translate-z": ve()
|
|
2658
2789
|
}],
|
|
2659
2790
|
/**
|
|
2660
2791
|
* Translate None
|
|
@@ -2697,7 +2828,7 @@ const ht = (s, r) => {
|
|
|
2697
2828
|
* @see https://tailwindcss.com/docs/cursor
|
|
2698
2829
|
*/
|
|
2699
2830
|
cursor: [{
|
|
2700
|
-
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",
|
|
2831
|
+
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", m, x]
|
|
2701
2832
|
}],
|
|
2702
2833
|
/**
|
|
2703
2834
|
* Field Sizing
|
|
@@ -2732,126 +2863,154 @@ const ht = (s, r) => {
|
|
|
2732
2863
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2733
2864
|
*/
|
|
2734
2865
|
"scroll-m": [{
|
|
2735
|
-
"scroll-m":
|
|
2866
|
+
"scroll-m": w()
|
|
2736
2867
|
}],
|
|
2737
2868
|
/**
|
|
2738
|
-
* Scroll Margin
|
|
2869
|
+
* Scroll Margin Inline
|
|
2739
2870
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2740
2871
|
*/
|
|
2741
2872
|
"scroll-mx": [{
|
|
2742
|
-
"scroll-mx":
|
|
2873
|
+
"scroll-mx": w()
|
|
2743
2874
|
}],
|
|
2744
2875
|
/**
|
|
2745
|
-
* Scroll Margin
|
|
2876
|
+
* Scroll Margin Block
|
|
2746
2877
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2747
2878
|
*/
|
|
2748
2879
|
"scroll-my": [{
|
|
2749
|
-
"scroll-my":
|
|
2880
|
+
"scroll-my": w()
|
|
2750
2881
|
}],
|
|
2751
2882
|
/**
|
|
2752
|
-
* Scroll Margin Start
|
|
2883
|
+
* Scroll Margin Inline Start
|
|
2753
2884
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2754
2885
|
*/
|
|
2755
2886
|
"scroll-ms": [{
|
|
2756
|
-
"scroll-ms":
|
|
2887
|
+
"scroll-ms": w()
|
|
2757
2888
|
}],
|
|
2758
2889
|
/**
|
|
2759
|
-
* Scroll Margin End
|
|
2890
|
+
* Scroll Margin Inline End
|
|
2760
2891
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2761
2892
|
*/
|
|
2762
2893
|
"scroll-me": [{
|
|
2763
|
-
"scroll-me":
|
|
2894
|
+
"scroll-me": w()
|
|
2895
|
+
}],
|
|
2896
|
+
/**
|
|
2897
|
+
* Scroll Margin Block Start
|
|
2898
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2899
|
+
*/
|
|
2900
|
+
"scroll-mbs": [{
|
|
2901
|
+
"scroll-mbs": w()
|
|
2902
|
+
}],
|
|
2903
|
+
/**
|
|
2904
|
+
* Scroll Margin Block End
|
|
2905
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2906
|
+
*/
|
|
2907
|
+
"scroll-mbe": [{
|
|
2908
|
+
"scroll-mbe": w()
|
|
2764
2909
|
}],
|
|
2765
2910
|
/**
|
|
2766
2911
|
* Scroll Margin Top
|
|
2767
2912
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2768
2913
|
*/
|
|
2769
2914
|
"scroll-mt": [{
|
|
2770
|
-
"scroll-mt":
|
|
2915
|
+
"scroll-mt": w()
|
|
2771
2916
|
}],
|
|
2772
2917
|
/**
|
|
2773
2918
|
* Scroll Margin Right
|
|
2774
2919
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2775
2920
|
*/
|
|
2776
2921
|
"scroll-mr": [{
|
|
2777
|
-
"scroll-mr":
|
|
2922
|
+
"scroll-mr": w()
|
|
2778
2923
|
}],
|
|
2779
2924
|
/**
|
|
2780
2925
|
* Scroll Margin Bottom
|
|
2781
2926
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2782
2927
|
*/
|
|
2783
2928
|
"scroll-mb": [{
|
|
2784
|
-
"scroll-mb":
|
|
2929
|
+
"scroll-mb": w()
|
|
2785
2930
|
}],
|
|
2786
2931
|
/**
|
|
2787
2932
|
* Scroll Margin Left
|
|
2788
2933
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2789
2934
|
*/
|
|
2790
2935
|
"scroll-ml": [{
|
|
2791
|
-
"scroll-ml":
|
|
2936
|
+
"scroll-ml": w()
|
|
2792
2937
|
}],
|
|
2793
2938
|
/**
|
|
2794
2939
|
* Scroll Padding
|
|
2795
2940
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2796
2941
|
*/
|
|
2797
2942
|
"scroll-p": [{
|
|
2798
|
-
"scroll-p":
|
|
2943
|
+
"scroll-p": w()
|
|
2799
2944
|
}],
|
|
2800
2945
|
/**
|
|
2801
|
-
* Scroll Padding
|
|
2946
|
+
* Scroll Padding Inline
|
|
2802
2947
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2803
2948
|
*/
|
|
2804
2949
|
"scroll-px": [{
|
|
2805
|
-
"scroll-px":
|
|
2950
|
+
"scroll-px": w()
|
|
2806
2951
|
}],
|
|
2807
2952
|
/**
|
|
2808
|
-
* Scroll Padding
|
|
2953
|
+
* Scroll Padding Block
|
|
2809
2954
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2810
2955
|
*/
|
|
2811
2956
|
"scroll-py": [{
|
|
2812
|
-
"scroll-py":
|
|
2957
|
+
"scroll-py": w()
|
|
2813
2958
|
}],
|
|
2814
2959
|
/**
|
|
2815
|
-
* Scroll Padding Start
|
|
2960
|
+
* Scroll Padding Inline Start
|
|
2816
2961
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2817
2962
|
*/
|
|
2818
2963
|
"scroll-ps": [{
|
|
2819
|
-
"scroll-ps":
|
|
2964
|
+
"scroll-ps": w()
|
|
2820
2965
|
}],
|
|
2821
2966
|
/**
|
|
2822
|
-
* Scroll Padding End
|
|
2967
|
+
* Scroll Padding Inline End
|
|
2823
2968
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2824
2969
|
*/
|
|
2825
2970
|
"scroll-pe": [{
|
|
2826
|
-
"scroll-pe":
|
|
2971
|
+
"scroll-pe": w()
|
|
2972
|
+
}],
|
|
2973
|
+
/**
|
|
2974
|
+
* Scroll Padding Block Start
|
|
2975
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2976
|
+
*/
|
|
2977
|
+
"scroll-pbs": [{
|
|
2978
|
+
"scroll-pbs": w()
|
|
2979
|
+
}],
|
|
2980
|
+
/**
|
|
2981
|
+
* Scroll Padding Block End
|
|
2982
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2983
|
+
*/
|
|
2984
|
+
"scroll-pbe": [{
|
|
2985
|
+
"scroll-pbe": w()
|
|
2827
2986
|
}],
|
|
2828
2987
|
/**
|
|
2829
2988
|
* Scroll Padding Top
|
|
2830
2989
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2831
2990
|
*/
|
|
2832
2991
|
"scroll-pt": [{
|
|
2833
|
-
"scroll-pt":
|
|
2992
|
+
"scroll-pt": w()
|
|
2834
2993
|
}],
|
|
2835
2994
|
/**
|
|
2836
2995
|
* Scroll Padding Right
|
|
2837
2996
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2838
2997
|
*/
|
|
2839
2998
|
"scroll-pr": [{
|
|
2840
|
-
"scroll-pr":
|
|
2999
|
+
"scroll-pr": w()
|
|
2841
3000
|
}],
|
|
2842
3001
|
/**
|
|
2843
3002
|
* Scroll Padding Bottom
|
|
2844
3003
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2845
3004
|
*/
|
|
2846
3005
|
"scroll-pb": [{
|
|
2847
|
-
"scroll-pb":
|
|
3006
|
+
"scroll-pb": w()
|
|
2848
3007
|
}],
|
|
2849
3008
|
/**
|
|
2850
3009
|
* Scroll Padding Left
|
|
2851
3010
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2852
3011
|
*/
|
|
2853
3012
|
"scroll-pl": [{
|
|
2854
|
-
"scroll-pl":
|
|
3013
|
+
"scroll-pl": w()
|
|
2855
3014
|
}],
|
|
2856
3015
|
/**
|
|
2857
3016
|
* Scroll Snap Align
|
|
@@ -2919,7 +3078,7 @@ const ht = (s, r) => {
|
|
|
2919
3078
|
* @see https://tailwindcss.com/docs/will-change
|
|
2920
3079
|
*/
|
|
2921
3080
|
"will-change": [{
|
|
2922
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3081
|
+
"will-change": ["auto", "scroll", "contents", "transform", m, x]
|
|
2923
3082
|
}],
|
|
2924
3083
|
// -----------
|
|
2925
3084
|
// --- SVG ---
|
|
@@ -2936,7 +3095,7 @@ const ht = (s, r) => {
|
|
|
2936
3095
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2937
3096
|
*/
|
|
2938
3097
|
"stroke-w": [{
|
|
2939
|
-
stroke: [y,
|
|
3098
|
+
stroke: [y, xe, ae, We]
|
|
2940
3099
|
}],
|
|
2941
3100
|
/**
|
|
2942
3101
|
* Stroke
|
|
@@ -2959,15 +3118,15 @@ const ht = (s, r) => {
|
|
|
2959
3118
|
conflictingClassGroups: {
|
|
2960
3119
|
overflow: ["overflow-x", "overflow-y"],
|
|
2961
3120
|
overscroll: ["overscroll-x", "overscroll-y"],
|
|
2962
|
-
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
3121
|
+
inset: ["inset-x", "inset-y", "inset-bs", "inset-be", "start", "end", "top", "right", "bottom", "left"],
|
|
2963
3122
|
"inset-x": ["right", "left"],
|
|
2964
3123
|
"inset-y": ["top", "bottom"],
|
|
2965
3124
|
flex: ["basis", "grow", "shrink"],
|
|
2966
3125
|
gap: ["gap-x", "gap-y"],
|
|
2967
|
-
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
3126
|
+
p: ["px", "py", "ps", "pe", "pbs", "pbe", "pt", "pr", "pb", "pl"],
|
|
2968
3127
|
px: ["pr", "pl"],
|
|
2969
3128
|
py: ["pt", "pb"],
|
|
2970
|
-
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
3129
|
+
m: ["mx", "my", "ms", "me", "mbs", "mbe", "mt", "mr", "mb", "ml"],
|
|
2971
3130
|
mx: ["mr", "ml"],
|
|
2972
3131
|
my: ["mt", "mb"],
|
|
2973
3132
|
size: ["w", "h"],
|
|
@@ -2987,18 +3146,18 @@ const ht = (s, r) => {
|
|
|
2987
3146
|
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
2988
3147
|
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
2989
3148
|
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
2990
|
-
"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"],
|
|
3149
|
+
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-bs", "border-w-be", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2991
3150
|
"border-w-x": ["border-w-r", "border-w-l"],
|
|
2992
3151
|
"border-w-y": ["border-w-t", "border-w-b"],
|
|
2993
|
-
"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"],
|
|
3152
|
+
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-bs", "border-color-be", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2994
3153
|
"border-color-x": ["border-color-r", "border-color-l"],
|
|
2995
3154
|
"border-color-y": ["border-color-t", "border-color-b"],
|
|
2996
3155
|
translate: ["translate-x", "translate-y", "translate-none"],
|
|
2997
3156
|
"translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
|
|
2998
|
-
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
3157
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mbs", "scroll-mbe", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2999
3158
|
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
3000
3159
|
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
3001
|
-
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
3160
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pbs", "scroll-pbe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
3002
3161
|
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
3003
3162
|
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
3004
3163
|
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
@@ -3011,7 +3170,7 @@ const ht = (s, r) => {
|
|
|
3011
3170
|
},
|
|
3012
3171
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3013
3172
|
};
|
|
3014
|
-
},
|
|
3173
|
+
}, p = /* @__PURE__ */ Pt(es), st = {
|
|
3015
3174
|
Warning: (s, r, t) => s ? /* @__PURE__ */ e.jsxs(
|
|
3016
3175
|
"svg",
|
|
3017
3176
|
{
|
|
@@ -5063,17 +5222,17 @@ const ht = (s, r) => {
|
|
|
5063
5222
|
)
|
|
5064
5223
|
}
|
|
5065
5224
|
)
|
|
5066
|
-
},
|
|
5225
|
+
}, Ms = {
|
|
5067
5226
|
DEFAULT: "default",
|
|
5068
5227
|
OUTLINED: "outlined",
|
|
5069
5228
|
TEXT: "text",
|
|
5070
5229
|
UNSTYLED: "unstyled"
|
|
5071
|
-
},
|
|
5230
|
+
}, ts = {
|
|
5072
5231
|
DEFAULT: "bg-button hover:bg-grey-800 disabled:bg-grey-100 active:bg-grey-900 disabled:text-grey-300 text-white",
|
|
5073
5232
|
OUTLINED: "bg-white hover:bg-grey-50 active:bg-[#e9e8ea] text-black border border-[1px] border-black disabled:bg-white disabled:text-grey-300 disabled:border-grey-300",
|
|
5074
5233
|
TEXT: "bg-transparent p-2 hover:bg-grey-500 hover:text-white [&_path]:hover:!fill-white disabled:text-grey-300",
|
|
5075
5234
|
UNSTYLED: ""
|
|
5076
|
-
},
|
|
5235
|
+
}, U = Y(
|
|
5077
5236
|
({
|
|
5078
5237
|
label: s,
|
|
5079
5238
|
variant: r = "DEFAULT",
|
|
@@ -5086,47 +5245,47 @@ const ht = (s, r) => {
|
|
|
5086
5245
|
iconPosition: c = "leading",
|
|
5087
5246
|
...d
|
|
5088
5247
|
}, h) => {
|
|
5089
|
-
const
|
|
5248
|
+
const u = () => /* @__PURE__ */ e.jsx("span", { "data-testid": "icon-wrapper", children: st[a](t, o == !0, l || "black") });
|
|
5090
5249
|
return /* @__PURE__ */ e.jsxs(
|
|
5091
5250
|
"button",
|
|
5092
5251
|
{
|
|
5093
5252
|
ref: h,
|
|
5094
5253
|
disabled: o,
|
|
5095
|
-
className:
|
|
5254
|
+
className: p(
|
|
5096
5255
|
"rds-button gap-2 overflow-hidden rounded transition-all duration-100",
|
|
5097
5256
|
"flex items-center justify-center px-6 py-3.5",
|
|
5098
5257
|
"disabled:pointer-events-none disabled:cursor-not-allowed",
|
|
5099
|
-
|
|
5258
|
+
ts[r],
|
|
5100
5259
|
i
|
|
5101
5260
|
),
|
|
5102
5261
|
"data-testid": "test-button",
|
|
5103
5262
|
type: "button",
|
|
5104
5263
|
...d,
|
|
5105
5264
|
children: [
|
|
5106
|
-
a && c === "leading" && /* @__PURE__ */ e.jsx(
|
|
5265
|
+
a && c === "leading" && /* @__PURE__ */ e.jsx(u, {}),
|
|
5107
5266
|
n ?? s,
|
|
5108
|
-
a && c === "trailing" && /* @__PURE__ */ e.jsx(
|
|
5267
|
+
a && c === "trailing" && /* @__PURE__ */ e.jsx(u, {})
|
|
5109
5268
|
]
|
|
5110
5269
|
}
|
|
5111
5270
|
);
|
|
5112
5271
|
}
|
|
5113
5272
|
);
|
|
5114
|
-
|
|
5115
|
-
const
|
|
5273
|
+
U.displayName = "Button";
|
|
5274
|
+
const ce = ({ message: s, showErrorStyles: r = !1, className: t }) => /* @__PURE__ */ e.jsx(
|
|
5116
5275
|
"p",
|
|
5117
5276
|
{
|
|
5118
|
-
className:
|
|
5277
|
+
className: p(
|
|
5119
5278
|
"w-full flex-grow bg-white text-left text-xs text-grey-700",
|
|
5120
5279
|
r && "text-error",
|
|
5121
5280
|
t
|
|
5122
5281
|
),
|
|
5123
5282
|
children: s
|
|
5124
5283
|
}
|
|
5125
|
-
),
|
|
5284
|
+
), Hs = {
|
|
5126
5285
|
DEFAULT: "primary"
|
|
5127
|
-
},
|
|
5286
|
+
}, As = {
|
|
5128
5287
|
DEFAULT: "bg-yellow-200 hover-bg-green-400 active-bg-green-500"
|
|
5129
|
-
},
|
|
5288
|
+
}, pe = Y(
|
|
5130
5289
|
({
|
|
5131
5290
|
label: s,
|
|
5132
5291
|
disabled: r = !1,
|
|
@@ -5139,14 +5298,14 @@ const ae = ({ message: s, showErrorStyles: r = !1, className: t }) => /* @__PURE
|
|
|
5139
5298
|
readOnly: c,
|
|
5140
5299
|
supportingText: d,
|
|
5141
5300
|
className: h,
|
|
5142
|
-
...
|
|
5301
|
+
...u
|
|
5143
5302
|
}, L) => {
|
|
5144
|
-
const [j,
|
|
5145
|
-
|
|
5146
|
-
|
|
5303
|
+
const [j, C] = B(l || !1), [V, g] = B(!1);
|
|
5304
|
+
O(() => {
|
|
5305
|
+
C(l || !1);
|
|
5147
5306
|
}, [l]);
|
|
5148
5307
|
const b = t || i;
|
|
5149
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
5308
|
+
return /* @__PURE__ */ e.jsxs("div", { className: p("flex max-w-full flex-col", h), children: [
|
|
5150
5309
|
/* @__PURE__ */ e.jsxs(
|
|
5151
5310
|
"div",
|
|
5152
5311
|
{
|
|
@@ -5173,8 +5332,8 @@ const ae = ({ message: s, showErrorStyles: r = !1, className: t }) => /* @__PURE
|
|
|
5173
5332
|
height: 19,
|
|
5174
5333
|
rx: "0",
|
|
5175
5334
|
fill: "white",
|
|
5176
|
-
stroke: b ? "#e2001a" :
|
|
5177
|
-
strokeWidth:
|
|
5335
|
+
stroke: b ? "#e2001a" : V ? "black" : "#AFB0B7",
|
|
5336
|
+
strokeWidth: V ? 3 : 1,
|
|
5178
5337
|
"data-testid": "rect"
|
|
5179
5338
|
}
|
|
5180
5339
|
),
|
|
@@ -5205,44 +5364,44 @@ const ae = ({ message: s, showErrorStyles: r = !1, className: t }) => /* @__PURE
|
|
|
5205
5364
|
id: o,
|
|
5206
5365
|
value: n,
|
|
5207
5366
|
checked: j,
|
|
5208
|
-
onChange: (
|
|
5209
|
-
|
|
5367
|
+
onChange: (M) => {
|
|
5368
|
+
C(M.target.checked), a == null || a(M);
|
|
5210
5369
|
},
|
|
5211
5370
|
readOnly: c,
|
|
5212
5371
|
className: "absolute h-[1.2em] w-[1.2em] cursor-pointer opacity-0",
|
|
5213
|
-
onMouseEnter: () =>
|
|
5214
|
-
onMouseLeave: () =>
|
|
5372
|
+
onMouseEnter: () => g(!0),
|
|
5373
|
+
onMouseLeave: () => g(!1),
|
|
5215
5374
|
"data-testid": "test-checkbox-input",
|
|
5216
5375
|
required: i,
|
|
5217
5376
|
disabled: r,
|
|
5218
|
-
...
|
|
5377
|
+
...u
|
|
5219
5378
|
}
|
|
5220
5379
|
)
|
|
5221
5380
|
]
|
|
5222
5381
|
}
|
|
5223
5382
|
),
|
|
5224
|
-
d && /* @__PURE__ */ e.jsx(
|
|
5383
|
+
d && /* @__PURE__ */ e.jsx(ce, { message: d, showErrorStyles: b, className: "mt-1" })
|
|
5225
5384
|
] });
|
|
5226
5385
|
}
|
|
5227
5386
|
);
|
|
5228
|
-
|
|
5229
|
-
const
|
|
5387
|
+
pe.displayName = "Checkbox";
|
|
5388
|
+
const X = Y(
|
|
5230
5389
|
({ name: s, isIconSolid: r = !1, isDisabled: t, iconColor: i, ...a }, l) => {
|
|
5231
|
-
const n =
|
|
5390
|
+
const n = st[s];
|
|
5232
5391
|
return n ? /* @__PURE__ */ e.jsx("span", { ref: l, ...a, "data-testid": "test-icon", children: n(r, !!t, i || "black") }) : null;
|
|
5233
5392
|
}
|
|
5234
5393
|
);
|
|
5235
|
-
|
|
5236
|
-
const
|
|
5394
|
+
X.displayName = "Icon";
|
|
5395
|
+
const Rs = {
|
|
5237
5396
|
DEFAULT: "default"
|
|
5238
|
-
},
|
|
5397
|
+
}, Ps = {
|
|
5239
5398
|
DEFAULT: "bg-black hover:bg-black-800 active:bg-grey-900"
|
|
5240
|
-
},
|
|
5399
|
+
}, rt = Y(
|
|
5241
5400
|
({ label: s, disabled: r, onClick: t, className: i, hideIcon: a = !1, ...l }, n) => /* @__PURE__ */ e.jsxs(
|
|
5242
5401
|
"button",
|
|
5243
5402
|
{
|
|
5244
5403
|
ref: n,
|
|
5245
|
-
className:
|
|
5404
|
+
className: p(
|
|
5246
5405
|
"inline-block w-fit overflow-hidden rounded-lg py-1.5 pl-3 pr-2",
|
|
5247
5406
|
"relative flex items-center justify-center gap-2",
|
|
5248
5407
|
"group bg-brand-50 text-black transition-colors duration-300 hover:bg-brand-100",
|
|
@@ -5257,10 +5416,10 @@ const Hs = {
|
|
|
5257
5416
|
children: [
|
|
5258
5417
|
/* @__PURE__ */ e.jsx("span", { className: "flex-shrink-0 flex-grow-0 text-center text-sm font-medium", children: s }),
|
|
5259
5418
|
!a && /* @__PURE__ */ e.jsx(
|
|
5260
|
-
|
|
5419
|
+
X,
|
|
5261
5420
|
{
|
|
5262
5421
|
name: "Close",
|
|
5263
|
-
className:
|
|
5422
|
+
className: p(
|
|
5264
5423
|
"fill-black transition-all duration-300 group-hover:bg-brand-100 [&_svg]:h-[18px] [&_svg]:w-[18px]",
|
|
5265
5424
|
i ?? "fill-current"
|
|
5266
5425
|
)
|
|
@@ -5270,23 +5429,23 @@ const Hs = {
|
|
|
5270
5429
|
}
|
|
5271
5430
|
)
|
|
5272
5431
|
);
|
|
5273
|
-
|
|
5274
|
-
const
|
|
5432
|
+
rt.displayName = "FilterChip";
|
|
5433
|
+
const Zs = {
|
|
5275
5434
|
h1: "h1",
|
|
5276
5435
|
h2: "h2",
|
|
5277
5436
|
h3: "h3"
|
|
5278
|
-
},
|
|
5437
|
+
}, ss = {
|
|
5279
5438
|
h1: "text-black rds-h1",
|
|
5280
5439
|
h2: "text-black rds-h2",
|
|
5281
5440
|
h3: "text-black rds-h3"
|
|
5282
|
-
},
|
|
5441
|
+
}, it = Y(
|
|
5283
5442
|
({ variant: s = "h1", children: r, bold: t, label: i, className: a, ...l }, n) => {
|
|
5284
5443
|
const o = s === "h2" ? "h2" : s === "h3" ? "h3" : "h1";
|
|
5285
5444
|
return /* @__PURE__ */ e.jsx(
|
|
5286
5445
|
o,
|
|
5287
5446
|
{
|
|
5288
5447
|
ref: n,
|
|
5289
|
-
className:
|
|
5448
|
+
className: p(ss[s], t && "font-semibold", a),
|
|
5290
5449
|
"data-testid": "test-heading",
|
|
5291
5450
|
...l,
|
|
5292
5451
|
children: r ?? i
|
|
@@ -5294,12 +5453,12 @@ const Rs = {
|
|
|
5294
5453
|
);
|
|
5295
5454
|
}
|
|
5296
5455
|
);
|
|
5297
|
-
|
|
5298
|
-
const
|
|
5456
|
+
it.displayName = "Heading";
|
|
5457
|
+
const Ts = {
|
|
5299
5458
|
DEFAULT: "default"
|
|
5300
|
-
},
|
|
5459
|
+
}, rs = {
|
|
5301
5460
|
DEFAULT: "flex flex-col justify-start items-start self-stretch flex-grow-0 flex-shrink-0 gap-2.5 transition-all duration-400 rounded border border-1 border-grey-800 hover:outline outline-offset-0 outline-1"
|
|
5302
|
-
},
|
|
5461
|
+
}, is = Y(
|
|
5303
5462
|
({
|
|
5304
5463
|
placeholder: s,
|
|
5305
5464
|
label: r,
|
|
@@ -5312,29 +5471,29 @@ const Ps = {
|
|
|
5312
5471
|
type: c,
|
|
5313
5472
|
id: d,
|
|
5314
5473
|
supportingText: h,
|
|
5315
|
-
required:
|
|
5474
|
+
required: u,
|
|
5316
5475
|
className: L,
|
|
5317
5476
|
resetValue: j,
|
|
5318
|
-
...
|
|
5319
|
-
},
|
|
5320
|
-
const [
|
|
5321
|
-
|
|
5477
|
+
...C
|
|
5478
|
+
}, V) => {
|
|
5479
|
+
const [g, b] = B(n || "");
|
|
5480
|
+
O(() => {
|
|
5322
5481
|
b(n || "");
|
|
5323
5482
|
}, [n]);
|
|
5324
|
-
const
|
|
5325
|
-
const { value:
|
|
5326
|
-
b(
|
|
5327
|
-
},
|
|
5483
|
+
const M = (H) => {
|
|
5484
|
+
const { value: $ } = H.target;
|
|
5485
|
+
b($), l && l(H);
|
|
5486
|
+
}, N = () => {
|
|
5328
5487
|
b(""), j == null || j();
|
|
5329
|
-
}, [
|
|
5330
|
-
k(!
|
|
5331
|
-
},
|
|
5332
|
-
${
|
|
5333
|
-
${
|
|
5488
|
+
}, [E, k] = B(!1), A = () => {
|
|
5489
|
+
k(!E);
|
|
5490
|
+
}, z = u || a, w = `h-[3.1em] w-full transition-colors px-4 py-2 rounded-md disabled:cursor-not-allowed disabled:pointer-events-none
|
|
5491
|
+
${z ? "!border-error" : ""}
|
|
5492
|
+
${rs[t]}`;
|
|
5334
5493
|
return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs(
|
|
5335
5494
|
"div",
|
|
5336
5495
|
{
|
|
5337
|
-
className:
|
|
5496
|
+
className: p(
|
|
5338
5497
|
"relative flex h-14 w-full flex-shrink-0 flex-grow-0 flex-col items-start justify-start rounded-tl rounded-tr bg-white",
|
|
5339
5498
|
i && "pointer-events-none cursor-not-allowed opacity-[0.3]",
|
|
5340
5499
|
L
|
|
@@ -5344,9 +5503,9 @@ const Ps = {
|
|
|
5344
5503
|
r && /* @__PURE__ */ e.jsx(
|
|
5345
5504
|
"label",
|
|
5346
5505
|
{
|
|
5347
|
-
className:
|
|
5506
|
+
className: p(
|
|
5348
5507
|
"absolute -top-2 left-2 flex items-center justify-start rounded bg-white px-1 text-left text-xs text-black",
|
|
5349
|
-
|
|
5508
|
+
z && "text-error"
|
|
5350
5509
|
),
|
|
5351
5510
|
"data-testid": "test-input-label",
|
|
5352
5511
|
children: r
|
|
@@ -5356,19 +5515,19 @@ const Ps = {
|
|
|
5356
5515
|
"input",
|
|
5357
5516
|
{
|
|
5358
5517
|
id: d,
|
|
5359
|
-
ref:
|
|
5360
|
-
value:
|
|
5518
|
+
ref: V,
|
|
5519
|
+
value: g,
|
|
5361
5520
|
name: o,
|
|
5362
|
-
type:
|
|
5363
|
-
onChange:
|
|
5521
|
+
type: E ? "text" : c,
|
|
5522
|
+
onChange: M,
|
|
5364
5523
|
placeholder: s,
|
|
5365
|
-
className:
|
|
5524
|
+
className: w,
|
|
5366
5525
|
style: { WebkitAppearance: "none", appearance: "none" },
|
|
5367
5526
|
disabled: i,
|
|
5368
|
-
required:
|
|
5527
|
+
required: u,
|
|
5369
5528
|
"aria-invalid": a,
|
|
5370
5529
|
"data-testid": "test-input-input",
|
|
5371
|
-
...
|
|
5530
|
+
...C
|
|
5372
5531
|
}
|
|
5373
5532
|
),
|
|
5374
5533
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -5378,71 +5537,71 @@ const Ps = {
|
|
|
5378
5537
|
className: "absolute right-[0.08em] top-[0.1em] flex h-[2.8em] flex-shrink-0 flex-grow-0 items-center justify-center gap-2.5 rounded-r py-0 pl-2 pr-2",
|
|
5379
5538
|
children: [
|
|
5380
5539
|
c == "password" && /* @__PURE__ */ e.jsx(
|
|
5381
|
-
|
|
5540
|
+
U,
|
|
5382
5541
|
{
|
|
5383
|
-
onClick: (
|
|
5384
|
-
|
|
5542
|
+
onClick: (H) => {
|
|
5543
|
+
H.preventDefault(), A();
|
|
5385
5544
|
},
|
|
5386
5545
|
className: "px-0 hover:bg-transparent [&_path]:hover:!fill-black",
|
|
5387
|
-
"data-testid":
|
|
5546
|
+
"data-testid": E ? "toggle-visibility-off" : "toggle-visibility",
|
|
5388
5547
|
variant: "TEXT",
|
|
5389
|
-
iconName:
|
|
5548
|
+
iconName: E ? "VisibilityOff" : "Visibility"
|
|
5390
5549
|
}
|
|
5391
5550
|
),
|
|
5392
5551
|
a ? /* @__PURE__ */ e.jsx(
|
|
5393
|
-
|
|
5552
|
+
U,
|
|
5394
5553
|
{
|
|
5395
5554
|
iconName: "Error",
|
|
5396
|
-
onClick:
|
|
5555
|
+
onClick: N,
|
|
5397
5556
|
variant: "TEXT",
|
|
5398
5557
|
className: "hover:bg-transparent [&_path]:hover:!fill-black",
|
|
5399
5558
|
iconColor: "fill-brand",
|
|
5400
5559
|
"data-testid": "button-clear"
|
|
5401
5560
|
}
|
|
5402
5561
|
) : /* @__PURE__ */ e.jsx(
|
|
5403
|
-
|
|
5562
|
+
U,
|
|
5404
5563
|
{
|
|
5405
5564
|
iconName: "Cancel",
|
|
5406
|
-
onClick:
|
|
5565
|
+
onClick: N,
|
|
5407
5566
|
variant: "TEXT",
|
|
5408
|
-
className:
|
|
5567
|
+
className: p("hover:bg-transparent [&_path]:hover:!fill-black", c === "number" && "hidden"),
|
|
5409
5568
|
"data-testid": "button-clear"
|
|
5410
5569
|
}
|
|
5411
5570
|
)
|
|
5412
5571
|
]
|
|
5413
5572
|
}
|
|
5414
5573
|
),
|
|
5415
|
-
h && /* @__PURE__ */ e.jsx(
|
|
5574
|
+
h && /* @__PURE__ */ e.jsx(ce, { message: h, showErrorStyles: z, className: "ml-4 mt-1" })
|
|
5416
5575
|
]
|
|
5417
5576
|
}
|
|
5418
5577
|
) });
|
|
5419
5578
|
}
|
|
5420
5579
|
);
|
|
5421
|
-
|
|
5580
|
+
is.displayName = "Input";
|
|
5422
5581
|
const me = (s) => /* @__PURE__ */ e.jsx(
|
|
5423
5582
|
"a",
|
|
5424
5583
|
{
|
|
5425
5584
|
...s,
|
|
5426
|
-
className:
|
|
5585
|
+
className: p(
|
|
5427
5586
|
"rds-copy-lg cursor-pointer underline-offset-2 hover:underline",
|
|
5428
5587
|
s.disabled && "pointer-events-none cursor-none opacity-50",
|
|
5429
5588
|
s.className
|
|
5430
5589
|
),
|
|
5431
5590
|
children: s.children
|
|
5432
5591
|
}
|
|
5433
|
-
),
|
|
5592
|
+
), ls = ({ className: s, classNameLoader: r }) => /* @__PURE__ */ e.jsx("div", { className: p("loader fixed left-0 top-0 z-[999] flex items-center justify-center", s), children: /* @__PURE__ */ e.jsx(
|
|
5434
5593
|
"div",
|
|
5435
5594
|
{
|
|
5436
|
-
className:
|
|
5595
|
+
className: p(
|
|
5437
5596
|
"spinner h-14 w-14 animate-spin rounded-full border-[0.4em] border-brand-grey-light border-r-brand",
|
|
5438
5597
|
r
|
|
5439
5598
|
)
|
|
5440
5599
|
}
|
|
5441
|
-
) }),
|
|
5600
|
+
) }), Es = {
|
|
5442
5601
|
DEFAULT: "primary"
|
|
5443
|
-
},
|
|
5602
|
+
}, Bs = {
|
|
5444
5603
|
DEFAULT: "bg-yellow-200 hover-bg-green-400 active-bg-green-500"
|
|
5445
|
-
},
|
|
5604
|
+
}, lt = Y(
|
|
5446
5605
|
({
|
|
5447
5606
|
label: s,
|
|
5448
5607
|
disabled: r = !1,
|
|
@@ -5455,15 +5614,15 @@ const me = (s) => /* @__PURE__ */ e.jsx(
|
|
|
5455
5614
|
className: c,
|
|
5456
5615
|
...d
|
|
5457
5616
|
}, h) => {
|
|
5458
|
-
const [
|
|
5459
|
-
|
|
5617
|
+
const [u, L] = B(l || !1), [j, C] = B(!1);
|
|
5618
|
+
O(() => {
|
|
5460
5619
|
L(l || !1);
|
|
5461
5620
|
}, [l]);
|
|
5462
|
-
const
|
|
5621
|
+
const V = t || i;
|
|
5463
5622
|
return /* @__PURE__ */ e.jsxs(
|
|
5464
5623
|
"div",
|
|
5465
5624
|
{
|
|
5466
|
-
className:
|
|
5625
|
+
className: p(
|
|
5467
5626
|
"relative flex items-center justify-start gap-2",
|
|
5468
5627
|
r && "pointer-events-none opacity-50",
|
|
5469
5628
|
c
|
|
@@ -5478,7 +5637,7 @@ const me = (s) => /* @__PURE__ */ e.jsx(
|
|
|
5478
5637
|
viewBox: "0 0 20 20",
|
|
5479
5638
|
fill: "none",
|
|
5480
5639
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5481
|
-
className: `relative h-5 w-5 flex-shrink-0 flex-grow-0 ${
|
|
5640
|
+
className: `relative h-5 w-5 flex-shrink-0 flex-grow-0 ${u ? "text-black" : "text-white"}`,
|
|
5482
5641
|
preserveAspectRatio: "none",
|
|
5483
5642
|
children: [
|
|
5484
5643
|
/* @__PURE__ */ e.jsx(
|
|
@@ -5490,30 +5649,30 @@ const me = (s) => /* @__PURE__ */ e.jsx(
|
|
|
5490
5649
|
height: 19,
|
|
5491
5650
|
rx: "10",
|
|
5492
5651
|
fill: "white",
|
|
5493
|
-
stroke:
|
|
5652
|
+
stroke: V ? "#e2001a" : j ? "black" : "#AFB0B7",
|
|
5494
5653
|
strokeWidth: 1
|
|
5495
5654
|
}
|
|
5496
5655
|
),
|
|
5497
5656
|
j && /* @__PURE__ */ e.jsx("circle", { cx: 10, cy: 10, r: 6, fill: "lightgrey", "data-testid": "circle" }),
|
|
5498
|
-
|
|
5657
|
+
u && /* @__PURE__ */ e.jsx("circle", { cx: 10, cy: 10, r: 6, fill: "black" })
|
|
5499
5658
|
]
|
|
5500
5659
|
}
|
|
5501
5660
|
),
|
|
5502
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
5661
|
+
/* @__PURE__ */ e.jsx("span", { className: p("text-left text-base text-black"), children: s }),
|
|
5503
5662
|
/* @__PURE__ */ e.jsx(
|
|
5504
5663
|
"input",
|
|
5505
5664
|
{
|
|
5506
5665
|
type: "checkbox",
|
|
5507
5666
|
ref: h,
|
|
5508
5667
|
id: n,
|
|
5509
|
-
checked:
|
|
5510
|
-
onChange: (
|
|
5511
|
-
L(
|
|
5668
|
+
checked: u,
|
|
5669
|
+
onChange: (g) => {
|
|
5670
|
+
L(g.target.checked), a == null || a(g);
|
|
5512
5671
|
},
|
|
5513
5672
|
readOnly: o,
|
|
5514
5673
|
className: "absolute h-[1.2em] w-[1.2em] cursor-pointer opacity-0",
|
|
5515
|
-
onMouseEnter: () =>
|
|
5516
|
-
onMouseLeave: () =>
|
|
5674
|
+
onMouseEnter: () => C(!0),
|
|
5675
|
+
onMouseLeave: () => C(!1),
|
|
5517
5676
|
"data-testid": "test-radio-input",
|
|
5518
5677
|
...d
|
|
5519
5678
|
}
|
|
@@ -5523,11 +5682,11 @@ const me = (s) => /* @__PURE__ */ e.jsx(
|
|
|
5523
5682
|
);
|
|
5524
5683
|
}
|
|
5525
5684
|
);
|
|
5526
|
-
|
|
5527
|
-
const
|
|
5685
|
+
lt.displayName = "Radio";
|
|
5686
|
+
const Ws = {
|
|
5528
5687
|
DEFAULT: "default",
|
|
5529
5688
|
GREY: "grey"
|
|
5530
|
-
},
|
|
5689
|
+
}, at = Y(
|
|
5531
5690
|
({
|
|
5532
5691
|
option: s,
|
|
5533
5692
|
isActive: r,
|
|
@@ -5539,16 +5698,16 @@ const Es = {
|
|
|
5539
5698
|
showAmount: o,
|
|
5540
5699
|
...c
|
|
5541
5700
|
}, d) => {
|
|
5542
|
-
const [h,
|
|
5543
|
-
|
|
5544
|
-
r !== void 0 &&
|
|
5701
|
+
const [h, u] = B(!1);
|
|
5702
|
+
O(() => {
|
|
5703
|
+
r !== void 0 && u(r);
|
|
5545
5704
|
}, [r]);
|
|
5546
5705
|
const L = a && n === "leading", j = a && n === "trailing";
|
|
5547
5706
|
return /* @__PURE__ */ e.jsx(
|
|
5548
5707
|
"li",
|
|
5549
5708
|
{
|
|
5550
5709
|
ref: d,
|
|
5551
|
-
className:
|
|
5710
|
+
className: p(
|
|
5552
5711
|
"w-full cursor-pointer list-none border-b border-brand-50",
|
|
5553
5712
|
"delay-10 transition-all duration-200 hover:bg-brand-50",
|
|
5554
5713
|
"last:rounded-b last:border-transparent",
|
|
@@ -5564,23 +5723,23 @@ const Es = {
|
|
|
5564
5723
|
children: /* @__PURE__ */ e.jsxs(
|
|
5565
5724
|
"button",
|
|
5566
5725
|
{
|
|
5567
|
-
className:
|
|
5726
|
+
className: p("flex w-full items-center px-4 py-2 text-left", j && "justify-between"),
|
|
5568
5727
|
onClick: () => {
|
|
5569
|
-
i(s),
|
|
5728
|
+
i(s), u(!h);
|
|
5570
5729
|
},
|
|
5571
5730
|
type: "button",
|
|
5572
5731
|
children: [
|
|
5573
5732
|
L && /* @__PURE__ */ e.jsx(
|
|
5574
|
-
|
|
5733
|
+
pe,
|
|
5575
5734
|
{
|
|
5576
5735
|
id: "checkbox-" + s.id,
|
|
5577
5736
|
checked: h,
|
|
5578
5737
|
onChange: () => {
|
|
5579
|
-
i(s),
|
|
5738
|
+
i(s), u(!h);
|
|
5580
5739
|
}
|
|
5581
5740
|
}
|
|
5582
5741
|
),
|
|
5583
|
-
/* @__PURE__ */ e.jsxs("span", { className:
|
|
5742
|
+
/* @__PURE__ */ e.jsxs("span", { className: p(L && "ml-4"), children: [
|
|
5584
5743
|
/* @__PURE__ */ e.jsx("span", { children: s.name }),
|
|
5585
5744
|
o && s.amountResults && /* @__PURE__ */ e.jsxs("span", { className: "ml-4", children: [
|
|
5586
5745
|
"(",
|
|
@@ -5589,12 +5748,12 @@ const Es = {
|
|
|
5589
5748
|
] })
|
|
5590
5749
|
] }),
|
|
5591
5750
|
j && /* @__PURE__ */ e.jsx(
|
|
5592
|
-
|
|
5751
|
+
pe,
|
|
5593
5752
|
{
|
|
5594
5753
|
id: "checkbox-" + s.id,
|
|
5595
5754
|
checked: h,
|
|
5596
5755
|
onChange: () => {
|
|
5597
|
-
i(s),
|
|
5756
|
+
i(s), u(!h);
|
|
5598
5757
|
}
|
|
5599
5758
|
}
|
|
5600
5759
|
)
|
|
@@ -5605,14 +5764,14 @@ const Es = {
|
|
|
5605
5764
|
);
|
|
5606
5765
|
}
|
|
5607
5766
|
);
|
|
5608
|
-
|
|
5609
|
-
const
|
|
5767
|
+
at.displayName = "SelectItem";
|
|
5768
|
+
const Ss = ({ className: s }) => /* @__PURE__ */ e.jsx(
|
|
5610
5769
|
"div",
|
|
5611
5770
|
{
|
|
5612
|
-
className:
|
|
5771
|
+
className: p("h- animate-pulse rounded bg-gray-300 dark:bg-gray-500", s),
|
|
5613
5772
|
"data-testid": "test-skeleton"
|
|
5614
5773
|
}
|
|
5615
|
-
),
|
|
5774
|
+
), Is = ({
|
|
5616
5775
|
min: s,
|
|
5617
5776
|
max: r,
|
|
5618
5777
|
step: t = 1,
|
|
@@ -5623,7 +5782,7 @@ const Bs = ({ className: s }) => /* @__PURE__ */ e.jsx(
|
|
|
5623
5782
|
thumbColor: o = "bg-white",
|
|
5624
5783
|
percentage: c
|
|
5625
5784
|
}) => {
|
|
5626
|
-
const [d, h] =
|
|
5785
|
+
const [d, h] = B(i), u = (L) => {
|
|
5627
5786
|
const j = Number(L.target.value);
|
|
5628
5787
|
h(j), l == null || l(j);
|
|
5629
5788
|
};
|
|
@@ -5632,7 +5791,7 @@ const Bs = ({ className: s }) => /* @__PURE__ */ e.jsx(
|
|
|
5632
5791
|
/* @__PURE__ */ e.jsx(
|
|
5633
5792
|
"div",
|
|
5634
5793
|
{
|
|
5635
|
-
className:
|
|
5794
|
+
className: p("absolute h-2 rounded-lg border border-black transition-all duration-0", n),
|
|
5636
5795
|
style: {
|
|
5637
5796
|
width: `${(d - s) / (r - s) * 100}%`
|
|
5638
5797
|
},
|
|
@@ -5647,9 +5806,9 @@ const Bs = ({ className: s }) => /* @__PURE__ */ e.jsx(
|
|
|
5647
5806
|
max: r,
|
|
5648
5807
|
step: t,
|
|
5649
5808
|
value: d,
|
|
5650
|
-
onChange:
|
|
5809
|
+
onChange: u,
|
|
5651
5810
|
disabled: a,
|
|
5652
|
-
className:
|
|
5811
|
+
className: p(
|
|
5653
5812
|
"relative z-20 h-2 w-full cursor-pointer appearance-none rounded-lg bg-transparent",
|
|
5654
5813
|
"hover:brightness-90 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"
|
|
5655
5814
|
),
|
|
@@ -5663,7 +5822,7 @@ const Bs = ({ className: s }) => /* @__PURE__ */ e.jsx(
|
|
|
5663
5822
|
/* @__PURE__ */ e.jsx(
|
|
5664
5823
|
"div",
|
|
5665
5824
|
{
|
|
5666
|
-
className:
|
|
5825
|
+
className: p(
|
|
5667
5826
|
"absolute top-1/2 h-[1.3em] w-[1.3em] rounded-full border border-black bg-red-500 shadow-md transition-transform duration-200 ease-in-out",
|
|
5668
5827
|
o
|
|
5669
5828
|
),
|
|
@@ -5690,7 +5849,7 @@ const Bs = ({ className: s }) => /* @__PURE__ */ e.jsx(
|
|
|
5690
5849
|
}
|
|
5691
5850
|
)
|
|
5692
5851
|
] });
|
|
5693
|
-
},
|
|
5852
|
+
}, as = ({
|
|
5694
5853
|
label: s,
|
|
5695
5854
|
active: r,
|
|
5696
5855
|
setIsActive: t,
|
|
@@ -5705,7 +5864,7 @@ const Bs = ({ className: s }) => /* @__PURE__ */ e.jsx(
|
|
|
5705
5864
|
c,
|
|
5706
5865
|
{
|
|
5707
5866
|
onClick: t,
|
|
5708
|
-
className:
|
|
5867
|
+
className: p(
|
|
5709
5868
|
"border-b-2 border-b-brand-grey-dark px-4 py-2 text-brand-grey-dark",
|
|
5710
5869
|
r && "border-b-brand font-semibold text-brand",
|
|
5711
5870
|
n && "border-b-brand",
|
|
@@ -5718,26 +5877,26 @@ const Bs = ({ className: s }) => /* @__PURE__ */ e.jsx(
|
|
|
5718
5877
|
children: s
|
|
5719
5878
|
}
|
|
5720
5879
|
);
|
|
5721
|
-
},
|
|
5880
|
+
}, zs = {
|
|
5722
5881
|
DEFAULT: "default",
|
|
5723
5882
|
LARGE: "large",
|
|
5724
5883
|
SMALL: "small",
|
|
5725
5884
|
BUTTON: "button",
|
|
5726
5885
|
TAB: "tab"
|
|
5727
|
-
},
|
|
5886
|
+
}, ns = {
|
|
5728
5887
|
DEFAULT: "rds-copy",
|
|
5729
5888
|
SMALL: "rds-copy-small",
|
|
5730
5889
|
LARGE: "rds-copy-large",
|
|
5731
5890
|
BUTTON: "rds-button",
|
|
5732
5891
|
TAB: "rds-tab"
|
|
5733
|
-
},
|
|
5892
|
+
}, Ve = Y(
|
|
5734
5893
|
({ isDisabled: s = !1, text: r, children: t, bold: i, className: a, title: l, variant: n = "DEFAULT" }, o) => /* @__PURE__ */ e.jsx(
|
|
5735
5894
|
"p",
|
|
5736
5895
|
{
|
|
5737
5896
|
ref: o,
|
|
5738
5897
|
title: l,
|
|
5739
|
-
className:
|
|
5740
|
-
|
|
5898
|
+
className: p(
|
|
5899
|
+
ns[n],
|
|
5741
5900
|
i && "font-semibold",
|
|
5742
5901
|
s && "pointer-events-none cursor-not-allowed opacity-[0.3]",
|
|
5743
5902
|
a
|
|
@@ -5747,12 +5906,12 @@ const Bs = ({ className: s }) => /* @__PURE__ */ e.jsx(
|
|
|
5747
5906
|
}
|
|
5748
5907
|
)
|
|
5749
5908
|
);
|
|
5750
|
-
|
|
5751
|
-
const
|
|
5909
|
+
Ve.displayName = "Text";
|
|
5910
|
+
const Os = {
|
|
5752
5911
|
DEFAULT: "default"
|
|
5753
|
-
},
|
|
5912
|
+
}, cs = {
|
|
5754
5913
|
DEFAULT: "flex flex-col justify-start items-start self-stretch flex-grow-0 flex-shrink-0 gap-2.5 transition-all duration-400 rounded border border-1 border-grey-800 hover:outline outline-offset-0 outline-1"
|
|
5755
|
-
},
|
|
5914
|
+
}, os = Y(
|
|
5756
5915
|
({
|
|
5757
5916
|
value: s,
|
|
5758
5917
|
placeholder: r,
|
|
@@ -5765,11 +5924,11 @@ const Is = {
|
|
|
5765
5924
|
onChange: c,
|
|
5766
5925
|
supportingText: d,
|
|
5767
5926
|
id: h,
|
|
5768
|
-
...
|
|
5927
|
+
...u
|
|
5769
5928
|
}, L) => {
|
|
5770
5929
|
const j = `h-[3.1em] w-full transition-colors px-4 py-3 rounded-md
|
|
5771
5930
|
${o || l ? "border-error" : ""}
|
|
5772
|
-
${
|
|
5931
|
+
${cs[i]} ${a ? "cursor-not-allowed pointer-events-none" : ""} ${u.rows !== void 0 && "h-fit"}`;
|
|
5773
5932
|
return /* @__PURE__ */ e.jsxs(
|
|
5774
5933
|
"div",
|
|
5775
5934
|
{
|
|
@@ -5797,28 +5956,28 @@ const Is = {
|
|
|
5797
5956
|
disabled: a,
|
|
5798
5957
|
required: o,
|
|
5799
5958
|
"data-testid": "test-textarea-input",
|
|
5800
|
-
...
|
|
5959
|
+
...u
|
|
5801
5960
|
}
|
|
5802
5961
|
),
|
|
5803
|
-
d && /* @__PURE__ */ e.jsx(
|
|
5962
|
+
d && /* @__PURE__ */ e.jsx(ce, { message: d, className: "ml-4 mt-1", showErrorStyles: o || l })
|
|
5804
5963
|
]
|
|
5805
5964
|
}
|
|
5806
5965
|
);
|
|
5807
5966
|
}
|
|
5808
5967
|
);
|
|
5809
|
-
|
|
5810
|
-
const
|
|
5968
|
+
os.displayName = "Textarea";
|
|
5969
|
+
const Us = {
|
|
5811
5970
|
DEFAULT: "default"
|
|
5812
|
-
},
|
|
5971
|
+
}, Gs = {
|
|
5813
5972
|
DEFAULT: "bg-black hover:bg-black-800 active:bg-grey-900"
|
|
5814
|
-
},
|
|
5815
|
-
const [i, a] =
|
|
5973
|
+
}, Ys = ({ options: s, allowMultiple: r = !1, className: t }) => {
|
|
5974
|
+
const [i, a] = B(void 0), [l, n] = B([]), o = (c) => {
|
|
5816
5975
|
r ? l.includes(c) ? n(l.filter((d) => d !== c)) : n([...l, c]) : a((d) => d === c ? void 0 : c);
|
|
5817
5976
|
};
|
|
5818
5977
|
return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(
|
|
5819
5978
|
"div",
|
|
5820
5979
|
{
|
|
5821
|
-
className:
|
|
5980
|
+
className: p("w-full overflow-hidden rounded border border-brand-black", t),
|
|
5822
5981
|
"data-testid": "test-accordion",
|
|
5823
5982
|
children: s.map((c, d) => {
|
|
5824
5983
|
const h = i === d || l.includes(d);
|
|
@@ -5836,7 +5995,7 @@ const zs = {
|
|
|
5836
5995
|
type: "button",
|
|
5837
5996
|
children: [
|
|
5838
5997
|
c.title,
|
|
5839
|
-
h ? /* @__PURE__ */ e.jsx(
|
|
5998
|
+
h ? /* @__PURE__ */ e.jsx(X, { name: "ExpandLess" }) : /* @__PURE__ */ e.jsx(X, { name: "ExpandMore" })
|
|
5840
5999
|
]
|
|
5841
6000
|
}
|
|
5842
6001
|
),
|
|
@@ -5858,12 +6017,12 @@ const zs = {
|
|
|
5858
6017
|
})
|
|
5859
6018
|
}
|
|
5860
6019
|
) });
|
|
5861
|
-
},
|
|
5862
|
-
/* @__PURE__ */ e.jsx(me, { ...i, className:
|
|
5863
|
-
a < s.length - 1 && /* @__PURE__ */ e.jsx(
|
|
5864
|
-
] }, "breadcrumb-" + i.label)) }),
|
|
5865
|
-
const [a, l] =
|
|
5866
|
-
|
|
6020
|
+
}, ds = ({ links: s, variant: r = "dark", className: t }) => /* @__PURE__ */ e.jsx("ol", { className: p("flex gap-2", t), "data-testid": "test-breadcrumb", children: s.map((i, a) => /* @__PURE__ */ e.jsxs("li", { className: "flex items-center gap-2", children: [
|
|
6021
|
+
/* @__PURE__ */ e.jsx(me, { ...i, className: p("text-sm", r === "light" ? "text-white" : "text-black"), children: i.label }),
|
|
6022
|
+
a < s.length - 1 && /* @__PURE__ */ e.jsx(X, { name: "KeyboardArrowRight", iconColor: r === "light" ? "white" : "black" })
|
|
6023
|
+
] }, "breadcrumb-" + i.label)) }), hs = ({ title: s, links: r, className: t, variant: i = "dark" }) => {
|
|
6024
|
+
const [a, l] = B(!1), n = ie(null);
|
|
6025
|
+
O(() => {
|
|
5867
6026
|
const c = () => {
|
|
5868
6027
|
l(!1);
|
|
5869
6028
|
};
|
|
@@ -5884,16 +6043,16 @@ const zs = {
|
|
|
5884
6043
|
onMouseEnter: () => {
|
|
5885
6044
|
l(!0);
|
|
5886
6045
|
},
|
|
5887
|
-
className:
|
|
6046
|
+
className: p("rds-copy-lg flex text-white", i === "dark" && "text-black"),
|
|
5888
6047
|
type: "button",
|
|
5889
6048
|
children: [
|
|
5890
6049
|
s,
|
|
5891
6050
|
/* @__PURE__ */ e.jsx(
|
|
5892
|
-
|
|
6051
|
+
X,
|
|
5893
6052
|
{
|
|
5894
6053
|
name: "ExpandMore",
|
|
5895
6054
|
iconColor: i === "dark" ? "fill-black" : "fill-white",
|
|
5896
|
-
className:
|
|
6055
|
+
className: p(a && "rotate-180 duration-300")
|
|
5897
6056
|
}
|
|
5898
6057
|
)
|
|
5899
6058
|
]
|
|
@@ -5902,7 +6061,7 @@ const zs = {
|
|
|
5902
6061
|
/* @__PURE__ */ e.jsx(
|
|
5903
6062
|
"div",
|
|
5904
6063
|
{
|
|
5905
|
-
className:
|
|
6064
|
+
className: p(
|
|
5906
6065
|
"absolute top-full z-10 mt-4 h-fit w-fit min-w-36 rounded-lg transition-all duration-500",
|
|
5907
6066
|
a ? "max-h-96 opacity-100" : "max-h-0 overflow-hidden opacity-0",
|
|
5908
6067
|
t
|
|
@@ -5915,7 +6074,7 @@ const zs = {
|
|
|
5915
6074
|
me,
|
|
5916
6075
|
{
|
|
5917
6076
|
href: c.href,
|
|
5918
|
-
className:
|
|
6077
|
+
className: p(
|
|
5919
6078
|
i === "dark" ? "text-black" : "text-white",
|
|
5920
6079
|
c.active && "underline underline-offset-8"
|
|
5921
6080
|
),
|
|
@@ -5928,7 +6087,7 @@ const zs = {
|
|
|
5928
6087
|
}
|
|
5929
6088
|
)
|
|
5930
6089
|
] });
|
|
5931
|
-
},
|
|
6090
|
+
}, fs = Y(
|
|
5932
6091
|
({
|
|
5933
6092
|
options: s,
|
|
5934
6093
|
selectedOption: r,
|
|
@@ -5941,21 +6100,21 @@ const zs = {
|
|
|
5941
6100
|
showSearchField: c = !1,
|
|
5942
6101
|
searchFieldPlaceholder: d = "Optionen durchsuchen",
|
|
5943
6102
|
className: h,
|
|
5944
|
-
errorMessage:
|
|
6103
|
+
errorMessage: u,
|
|
5945
6104
|
clearSearchValue: L = !1,
|
|
5946
6105
|
classNameWrapper: j,
|
|
5947
|
-
onSearchEnter:
|
|
5948
|
-
},
|
|
5949
|
-
const [
|
|
5950
|
-
|
|
5951
|
-
L &&
|
|
6106
|
+
onSearchEnter: C
|
|
6107
|
+
}, V) => {
|
|
6108
|
+
const [g, b] = B("");
|
|
6109
|
+
O(() => {
|
|
6110
|
+
L && g.length > 0 && b("");
|
|
5952
6111
|
}, [L]);
|
|
5953
|
-
const
|
|
5954
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
6112
|
+
const M = s.find((N) => N.id === r);
|
|
6113
|
+
return /* @__PURE__ */ e.jsxs("div", { className: p("relative w-fit", j), children: [
|
|
5955
6114
|
/* @__PURE__ */ e.jsx(
|
|
5956
6115
|
"label",
|
|
5957
6116
|
{
|
|
5958
|
-
className:
|
|
6117
|
+
className: p(
|
|
5959
6118
|
"absolute -top-2 left-3 rounded bg-white px-1 text-xs text-black",
|
|
5960
6119
|
n && "text-error"
|
|
5961
6120
|
),
|
|
@@ -5963,18 +6122,18 @@ const zs = {
|
|
|
5963
6122
|
children: i
|
|
5964
6123
|
}
|
|
5965
6124
|
),
|
|
5966
|
-
/* @__PURE__ */ e.jsx("span", { className: "pointer-events-none absolute left-4 top-5 leading-none", children: (
|
|
6125
|
+
/* @__PURE__ */ e.jsx("span", { className: "pointer-events-none absolute left-4 top-5 leading-none", children: (M == null ? void 0 : M.name) ?? o }),
|
|
5967
6126
|
/* @__PURE__ */ e.jsxs(
|
|
5968
6127
|
"select",
|
|
5969
6128
|
{
|
|
5970
6129
|
id: "basic-select-" + i,
|
|
5971
|
-
className:
|
|
6130
|
+
className: p(
|
|
5972
6131
|
"rds-select bg-white disabled:bg-grey-100",
|
|
5973
6132
|
c && "[&::picker(select)]:pt-10",
|
|
5974
6133
|
h
|
|
5975
6134
|
),
|
|
5976
6135
|
value: typeof r == "string" ? r : r == null ? void 0 : r.id,
|
|
5977
|
-
onChange: (
|
|
6136
|
+
onChange: (N) => t(N.target.value),
|
|
5978
6137
|
disabled: a,
|
|
5979
6138
|
placeholder: o,
|
|
5980
6139
|
children: [
|
|
@@ -5982,10 +6141,10 @@ const zs = {
|
|
|
5982
6141
|
"input",
|
|
5983
6142
|
{
|
|
5984
6143
|
type: "text",
|
|
5985
|
-
value:
|
|
5986
|
-
onChange: (
|
|
5987
|
-
onBlur: () =>
|
|
5988
|
-
className:
|
|
6144
|
+
value: g,
|
|
6145
|
+
onChange: (N) => b == null ? void 0 : b(N.target.value),
|
|
6146
|
+
onBlur: () => C == null ? void 0 : C(),
|
|
6147
|
+
className: p(
|
|
5989
6148
|
"pointer-events-none absolute top-0 z-[10] h-0 w-full rounded-t border bg-white p-2 opacity-0 shadow-sm transition-all focus:outline-none",
|
|
5990
6149
|
"pointer-events-auto h-fit opacity-100",
|
|
5991
6150
|
a && "hidden"
|
|
@@ -5993,28 +6152,28 @@ const zs = {
|
|
|
5993
6152
|
placeholder: d
|
|
5994
6153
|
}
|
|
5995
6154
|
),
|
|
5996
|
-
s.filter((
|
|
6155
|
+
s.filter((N) => N.name.includes(g)).map((N) => /* @__PURE__ */ e.jsxs("option", { value: N.id, className: p(l == null ? void 0 : l.className), children: [
|
|
5997
6156
|
/* @__PURE__ */ e.jsx(
|
|
5998
|
-
|
|
6157
|
+
pe,
|
|
5999
6158
|
{
|
|
6000
|
-
id:
|
|
6001
|
-
checked: (
|
|
6002
|
-
onChange: () => t(
|
|
6159
|
+
id: N.id,
|
|
6160
|
+
checked: (M == null ? void 0 : M.id) === N.id,
|
|
6161
|
+
onChange: () => t(N.id)
|
|
6003
6162
|
}
|
|
6004
6163
|
),
|
|
6005
|
-
|
|
6006
|
-
] },
|
|
6164
|
+
N.name
|
|
6165
|
+
] }, N.id))
|
|
6007
6166
|
]
|
|
6008
6167
|
}
|
|
6009
6168
|
),
|
|
6010
|
-
|
|
6169
|
+
u && /* @__PURE__ */ e.jsx(ce, { message: u, showErrorStyles: !0 })
|
|
6011
6170
|
] });
|
|
6012
6171
|
}
|
|
6013
6172
|
);
|
|
6014
|
-
|
|
6015
|
-
const
|
|
6016
|
-
const [i, a] =
|
|
6017
|
-
|
|
6173
|
+
fs.displayName = "HTMLSelect";
|
|
6174
|
+
const xs = ({ navigation: s, className: r, classNameDropdown: t }) => {
|
|
6175
|
+
const [i, a] = B(!1), l = ie(null), [n, o] = B(void 0);
|
|
6176
|
+
O(() => {
|
|
6018
6177
|
const h = () => {
|
|
6019
6178
|
a(!1);
|
|
6020
6179
|
};
|
|
@@ -6025,19 +6184,19 @@ const hs = ({ navigation: s, className: r, classNameDropdown: t }) => {
|
|
|
6025
6184
|
const c = () => {
|
|
6026
6185
|
a(!1);
|
|
6027
6186
|
}, d = "py-2 last:pb-0";
|
|
6028
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
6029
|
-
/* @__PURE__ */ e.jsx("button", { onClick: () => a(!i), type: "button", children: /* @__PURE__ */ e.jsx(
|
|
6187
|
+
return /* @__PURE__ */ e.jsxs("div", { className: p("flex items-center lg:hidden", r), children: [
|
|
6188
|
+
/* @__PURE__ */ e.jsx("button", { onClick: () => a(!i), type: "button", children: /* @__PURE__ */ e.jsx(X, { name: "Menu", iconColor: "fill-white", className: "block [&_svg]:h-8 [&_svg]:w-8" }) }),
|
|
6030
6189
|
/* @__PURE__ */ e.jsx(
|
|
6031
6190
|
"div",
|
|
6032
6191
|
{
|
|
6033
|
-
className:
|
|
6192
|
+
className: p(
|
|
6034
6193
|
"absolute right-0 top-[100%] h-fit w-fit min-w-48 rounded-lg rounded-tr-none p-4 transition-all duration-500",
|
|
6035
6194
|
i ? "max-h-96 opacity-100" : "max-h-0 overflow-hidden opacity-0",
|
|
6036
6195
|
t
|
|
6037
6196
|
),
|
|
6038
6197
|
children: /* @__PURE__ */ e.jsx("ul", { ref: l, onMouseLeave: c, children: n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
6039
6198
|
/* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
|
|
6040
|
-
|
|
6199
|
+
U,
|
|
6041
6200
|
{
|
|
6042
6201
|
variant: "TEXT",
|
|
6043
6202
|
iconName: "KeyboardArrowLeft",
|
|
@@ -6046,7 +6205,7 @@ const hs = ({ navigation: s, className: r, classNameDropdown: t }) => {
|
|
|
6046
6205
|
}
|
|
6047
6206
|
) }),
|
|
6048
6207
|
n.links.map((h) => /* @__PURE__ */ e.jsx("li", { className: d, children: /* @__PURE__ */ e.jsx(me, { href: h.href, children: h.label }) }, "link-" + h.label))
|
|
6049
|
-
] }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map((h,
|
|
6208
|
+
] }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map((h, u) => "title" in h ? /* @__PURE__ */ e.jsxs(
|
|
6050
6209
|
"button",
|
|
6051
6210
|
{
|
|
6052
6211
|
onClick: () => o(h),
|
|
@@ -6055,27 +6214,27 @@ const hs = ({ navigation: s, className: r, classNameDropdown: t }) => {
|
|
|
6055
6214
|
children: [
|
|
6056
6215
|
h.title,
|
|
6057
6216
|
" ",
|
|
6058
|
-
/* @__PURE__ */ e.jsx(
|
|
6217
|
+
/* @__PURE__ */ e.jsx(X, { name: "KeyboardArrowRight" })
|
|
6059
6218
|
]
|
|
6060
6219
|
},
|
|
6061
6220
|
"dropdown-" + h.title
|
|
6062
|
-
) : /* @__PURE__ */ e.jsx("li", { className: d, children: /* @__PURE__ */ e.jsx(me, { href: h.href, children: h.label }) }, h.label +
|
|
6221
|
+
) : /* @__PURE__ */ e.jsx("li", { className: d, children: /* @__PURE__ */ e.jsx(me, { href: h.href, children: h.label }) }, h.label + u)) }) })
|
|
6063
6222
|
}
|
|
6064
6223
|
)
|
|
6065
6224
|
] });
|
|
6066
|
-
},
|
|
6225
|
+
}, $s = {
|
|
6067
6226
|
DEFAULT: "default"
|
|
6068
|
-
},
|
|
6227
|
+
}, ps = Y(
|
|
6069
6228
|
({ children: s, onClick: r, width: t, height: i, className: a, headline: l, open: n }, o) => {
|
|
6070
|
-
const c =
|
|
6071
|
-
return
|
|
6229
|
+
const c = ie(null);
|
|
6230
|
+
return O(() => {
|
|
6072
6231
|
if (n)
|
|
6073
6232
|
return document.body.style.overflow = "hidden", () => {
|
|
6074
6233
|
document.body.style.overflow = "";
|
|
6075
6234
|
};
|
|
6076
|
-
}, [n]),
|
|
6077
|
-
const d = (
|
|
6078
|
-
|
|
6235
|
+
}, [n]), O(() => {
|
|
6236
|
+
const d = (u) => {
|
|
6237
|
+
u.key === "Escape" && (u.preventDefault(), u.stopPropagation(), r == null || r());
|
|
6079
6238
|
}, h = c.current;
|
|
6080
6239
|
return h && document.addEventListener("keydown", d), () => {
|
|
6081
6240
|
h && document.removeEventListener("keydown", d);
|
|
@@ -6097,16 +6256,16 @@ const hs = ({ navigation: s, className: r, classNameDropdown: t }) => {
|
|
|
6097
6256
|
c.current = d, typeof o == "function" ? o(d) : o && (o.current = d);
|
|
6098
6257
|
},
|
|
6099
6258
|
tabIndex: -1,
|
|
6100
|
-
className:
|
|
6259
|
+
className: p(
|
|
6101
6260
|
`fixed left-1/2 top-1/2 z-50 max-h-full max-w-full -translate-x-1/2 -translate-y-1/2 overflow-hidden rounded-md border border-white bg-white p-4 md:p-6 lg:p-8 ${a} `
|
|
6102
6261
|
),
|
|
6103
6262
|
style: { width: t || "", height: i || "" },
|
|
6104
6263
|
onClick: (d) => d.stopPropagation(),
|
|
6105
6264
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col", children: [
|
|
6106
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
6107
|
-
l && /* @__PURE__ */ e.jsx(
|
|
6265
|
+
/* @__PURE__ */ e.jsxs("div", { className: p("flex items-center justify-end p-2", l && "justify-between"), children: [
|
|
6266
|
+
l && /* @__PURE__ */ e.jsx(it, { variant: "h3", children: l }),
|
|
6108
6267
|
/* @__PURE__ */ e.jsx(
|
|
6109
|
-
|
|
6268
|
+
U,
|
|
6110
6269
|
{
|
|
6111
6270
|
iconName: "Close",
|
|
6112
6271
|
onClick: r,
|
|
@@ -6122,9 +6281,9 @@ const hs = ({ navigation: s, className: r, classNameDropdown: t }) => {
|
|
|
6122
6281
|
] }) : null;
|
|
6123
6282
|
}
|
|
6124
6283
|
);
|
|
6125
|
-
|
|
6126
|
-
function
|
|
6127
|
-
const [t, i] =
|
|
6284
|
+
ps.displayName = "Modal";
|
|
6285
|
+
function nt({ clearSearchValue: s, onCommit: r }) {
|
|
6286
|
+
const [t, i] = B(!1), [a, l] = B(""), n = ie(null), o = ie(null), c = Le((h) => {
|
|
6128
6287
|
switch (h.key) {
|
|
6129
6288
|
case "ArrowDown":
|
|
6130
6289
|
case "Enter":
|
|
@@ -6136,12 +6295,12 @@ function lt({ clearSearchValue: s, onCommit: r }) {
|
|
|
6136
6295
|
i(!1);
|
|
6137
6296
|
break;
|
|
6138
6297
|
}
|
|
6139
|
-
}, []), d =
|
|
6298
|
+
}, []), d = Le((h) => {
|
|
6140
6299
|
h.currentTarget.contains(h.relatedTarget) || i(!1);
|
|
6141
6300
|
}, []);
|
|
6142
|
-
return
|
|
6301
|
+
return O(() => {
|
|
6143
6302
|
!t && r && r();
|
|
6144
|
-
}, [t]),
|
|
6303
|
+
}, [t]), O(() => {
|
|
6145
6304
|
s && a && l("");
|
|
6146
6305
|
}, [s]), {
|
|
6147
6306
|
/* state */
|
|
@@ -6172,19 +6331,19 @@ function lt({ clearSearchValue: s, onCommit: r }) {
|
|
|
6172
6331
|
})
|
|
6173
6332
|
};
|
|
6174
6333
|
}
|
|
6175
|
-
function
|
|
6334
|
+
function ms({
|
|
6176
6335
|
selectedOptions: s,
|
|
6177
6336
|
options: r,
|
|
6178
6337
|
onSelectionChange: t,
|
|
6179
6338
|
exceptionOptions: i,
|
|
6180
6339
|
clearSearchValue: a
|
|
6181
6340
|
}) {
|
|
6182
|
-
const l =
|
|
6341
|
+
const l = nt({
|
|
6183
6342
|
clearSearchValue: a,
|
|
6184
6343
|
onCommit: () => {
|
|
6185
6344
|
n && t(n.map((c) => c.id));
|
|
6186
6345
|
}
|
|
6187
|
-
}), n =
|
|
6346
|
+
}), n = Me(() => r.filter((c) => s.includes(c.id)), [r, s]), o = Le(
|
|
6188
6347
|
(c) => {
|
|
6189
6348
|
let d = s;
|
|
6190
6349
|
i != null && i.includes(c.id) ? d = [c.id] : s.includes(c.id) ? d = s.filter((h) => h !== c.id && !(i != null && i.includes(h))) : d = [...s.filter((h) => !(i != null && i.includes(h))), c.id], t(d);
|
|
@@ -6197,13 +6356,13 @@ function xs({
|
|
|
6197
6356
|
toggleOption: o
|
|
6198
6357
|
};
|
|
6199
6358
|
}
|
|
6200
|
-
function
|
|
6359
|
+
function ws({
|
|
6201
6360
|
options: s,
|
|
6202
6361
|
selectedOption: r,
|
|
6203
6362
|
onSelectionChange: t,
|
|
6204
6363
|
clearSearchValue: i
|
|
6205
6364
|
}) {
|
|
6206
|
-
const a =
|
|
6365
|
+
const a = Me(() => s.find((o) => o.id === r), [s, r]), l = nt({
|
|
6207
6366
|
clearSearchValue: i
|
|
6208
6367
|
});
|
|
6209
6368
|
return {
|
|
@@ -6214,7 +6373,7 @@ function ps({
|
|
|
6214
6373
|
}
|
|
6215
6374
|
};
|
|
6216
6375
|
}
|
|
6217
|
-
const
|
|
6376
|
+
const ct = ({
|
|
6218
6377
|
className: s,
|
|
6219
6378
|
isOpen: r,
|
|
6220
6379
|
wideDropdown: t,
|
|
@@ -6226,17 +6385,17 @@ const at = ({
|
|
|
6226
6385
|
setInputValue: c,
|
|
6227
6386
|
searchFieldPlaceholder: d,
|
|
6228
6387
|
currSelected: h,
|
|
6229
|
-
onSearchEnter:
|
|
6388
|
+
onSearchEnter: u
|
|
6230
6389
|
}) => {
|
|
6231
|
-
const L =
|
|
6232
|
-
const b =
|
|
6390
|
+
const L = ie(null), j = ie(null), C = ie(null), V = (g) => {
|
|
6391
|
+
const b = g.current;
|
|
6233
6392
|
b == null || b.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
6234
6393
|
};
|
|
6235
|
-
return
|
|
6236
|
-
const
|
|
6237
|
-
if (
|
|
6238
|
-
const
|
|
6239
|
-
return () => clearTimeout(
|
|
6394
|
+
return O(() => {
|
|
6395
|
+
const g = h.length === 1 && r, b = g && o.length === 0;
|
|
6396
|
+
if (g || b) {
|
|
6397
|
+
const M = setTimeout(() => V(L), 500);
|
|
6398
|
+
return () => clearTimeout(M);
|
|
6240
6399
|
}
|
|
6241
6400
|
}, [r, h, o, L]), /* @__PURE__ */ e.jsxs("div", { children: [
|
|
6242
6401
|
n && /* @__PURE__ */ e.jsx(
|
|
@@ -6244,9 +6403,9 @@ const at = ({
|
|
|
6244
6403
|
{
|
|
6245
6404
|
type: "text",
|
|
6246
6405
|
value: o,
|
|
6247
|
-
onChange: (
|
|
6248
|
-
onBlur: () =>
|
|
6249
|
-
className:
|
|
6406
|
+
onChange: (g) => c == null ? void 0 : c(g.target.value),
|
|
6407
|
+
onBlur: () => u == null ? void 0 : u(),
|
|
6408
|
+
className: p(
|
|
6250
6409
|
"pointer-events-none absolute z-[10] mt-1 h-0 w-full rounded-t border bg-white p-2 opacity-0 shadow-sm transition-all focus:outline-none",
|
|
6251
6410
|
r && "pointer-events-auto h-fit opacity-100"
|
|
6252
6411
|
),
|
|
@@ -6256,34 +6415,34 @@ const at = ({
|
|
|
6256
6415
|
/* @__PURE__ */ e.jsx(
|
|
6257
6416
|
"div",
|
|
6258
6417
|
{
|
|
6259
|
-
className:
|
|
6418
|
+
className: p(
|
|
6260
6419
|
"absolute left-0 top-full z-[5] mt-1 h-0 w-full cursor-pointer overflow-y-auto overflow-x-hidden rounded-b border bg-grey-50 opacity-0 shadow-md outline-none transition-all",
|
|
6261
6420
|
r && "h-fit max-h-60 opacity-100",
|
|
6262
6421
|
t && "w-fit",
|
|
6263
6422
|
n && r && "mt-10 max-h-[85vh] min-h-[60vh]",
|
|
6264
6423
|
s
|
|
6265
6424
|
),
|
|
6266
|
-
ref:
|
|
6425
|
+
ref: C,
|
|
6267
6426
|
children: /* @__PURE__ */ e.jsxs(
|
|
6268
6427
|
"ul",
|
|
6269
6428
|
{
|
|
6270
|
-
className:
|
|
6429
|
+
className: p("h-full w-full", r && "h-fit max-h-[200px]", n && r && "top-10"),
|
|
6271
6430
|
"data-testid": "test-multiselect-list",
|
|
6272
6431
|
ref: j,
|
|
6273
6432
|
children: [
|
|
6274
6433
|
a.length === 0 && /* @__PURE__ */ e.jsx("p", { className: "bg-slate-200 p-2", children: "keine Optionen gefunden" }),
|
|
6275
|
-
r && (a == null ? void 0 : a.filter((
|
|
6276
|
-
|
|
6434
|
+
r && (a == null ? void 0 : a.filter((g) => g.name.toLowerCase().includes(o.toLowerCase())).map((g) => /* @__PURE__ */ e.jsx(
|
|
6435
|
+
at,
|
|
6277
6436
|
{
|
|
6278
|
-
id:
|
|
6279
|
-
option:
|
|
6280
|
-
isActive: h == null ? void 0 : h.some((b) => b.id ===
|
|
6437
|
+
id: g.id,
|
|
6438
|
+
option: g,
|
|
6439
|
+
isActive: h == null ? void 0 : h.some((b) => b.id === g.id),
|
|
6281
6440
|
onSelectionChange: i,
|
|
6282
6441
|
className: t ? "whitespace-nowrap" : void 0,
|
|
6283
|
-
ref: h.length === 1 && (h != null && h.some((b) => b.id ===
|
|
6442
|
+
ref: h.length === 1 && (h != null && h.some((b) => b.id === g.id)) ? L : null,
|
|
6284
6443
|
...l
|
|
6285
6444
|
},
|
|
6286
|
-
|
|
6445
|
+
g.id
|
|
6287
6446
|
)))
|
|
6288
6447
|
]
|
|
6289
6448
|
}
|
|
@@ -6291,11 +6450,11 @@ const at = ({
|
|
|
6291
6450
|
}
|
|
6292
6451
|
)
|
|
6293
6452
|
] });
|
|
6294
|
-
},
|
|
6453
|
+
}, Ds = {
|
|
6295
6454
|
DEFAULT: "default"
|
|
6296
|
-
},
|
|
6455
|
+
}, us = {
|
|
6297
6456
|
DEFAULT: "rounded border border-black bg-brand-white duration-300 transition-all hover:bg-grey-100"
|
|
6298
|
-
},
|
|
6457
|
+
}, gs = Y(
|
|
6299
6458
|
({
|
|
6300
6459
|
selectedOptions: s = [],
|
|
6301
6460
|
onSelectionChange: r,
|
|
@@ -6308,63 +6467,63 @@ const at = ({
|
|
|
6308
6467
|
hasError: c = !1,
|
|
6309
6468
|
errorMessage: d,
|
|
6310
6469
|
placeholder: h = "Auswählen",
|
|
6311
|
-
showSelectedAsChips:
|
|
6470
|
+
showSelectedAsChips: u = !1,
|
|
6312
6471
|
exceptionOptions: L,
|
|
6313
6472
|
showSearchField: j = !1,
|
|
6314
|
-
searchFieldPlaceholder:
|
|
6315
|
-
className:
|
|
6316
|
-
clearSearchValue:
|
|
6473
|
+
searchFieldPlaceholder: C = "Optionen durchsuchen",
|
|
6474
|
+
className: V,
|
|
6475
|
+
clearSearchValue: g = !1,
|
|
6317
6476
|
onSearchEnter: b,
|
|
6318
|
-
classNameChips:
|
|
6319
|
-
},
|
|
6320
|
-
const { isOpen:
|
|
6477
|
+
classNameChips: M
|
|
6478
|
+
}, N) => {
|
|
6479
|
+
const { isOpen: E, currSelected: k, inputValue: A, setInputValue: z, toggleOption: w, getRootProps: H, getButtonProps: $ } = ms({
|
|
6321
6480
|
selectedOptions: s,
|
|
6322
6481
|
options: t,
|
|
6323
6482
|
onSelectionChange: r,
|
|
6324
6483
|
exceptionOptions: L,
|
|
6325
|
-
clearSearchValue:
|
|
6484
|
+
clearSearchValue: g
|
|
6326
6485
|
});
|
|
6327
6486
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
6328
6487
|
/* @__PURE__ */ e.jsxs(
|
|
6329
6488
|
"div",
|
|
6330
6489
|
{
|
|
6331
|
-
...
|
|
6332
|
-
ref:
|
|
6333
|
-
className:
|
|
6490
|
+
...H(),
|
|
6491
|
+
ref: N,
|
|
6492
|
+
className: p("relative rounded", us[l], c && "border-error", V),
|
|
6334
6493
|
children: [
|
|
6335
6494
|
/* @__PURE__ */ e.jsxs(
|
|
6336
6495
|
"button",
|
|
6337
6496
|
{
|
|
6338
|
-
|
|
6497
|
+
...$(),
|
|
6339
6498
|
"data-testid": "test-multiselect",
|
|
6340
6499
|
type: "button",
|
|
6341
6500
|
disabled: i,
|
|
6342
6501
|
className: "flex w-full items-start justify-between rounded px-4 py-3 disabled:pointer-events-none disabled:bg-grey-100",
|
|
6343
6502
|
children: [
|
|
6344
6503
|
/* @__PURE__ */ e.jsx("label", { className: "absolute -top-2 left-3 rounded bg-white px-1 text-xs", children: a }),
|
|
6345
|
-
!
|
|
6504
|
+
!u && k.length > 0 ? /* @__PURE__ */ e.jsx("span", { className: "truncate", children: k.map((D) => D.name).join(", ") }) : /* @__PURE__ */ e.jsx("p", { children: h }),
|
|
6346
6505
|
/* @__PURE__ */ e.jsx(
|
|
6347
|
-
|
|
6506
|
+
X,
|
|
6348
6507
|
{
|
|
6349
6508
|
name: "ExpandLess",
|
|
6350
|
-
className:
|
|
6509
|
+
className: p("h-6 w-6 transition-transform duration-200", E && "rotate-180")
|
|
6351
6510
|
}
|
|
6352
6511
|
)
|
|
6353
6512
|
]
|
|
6354
6513
|
}
|
|
6355
6514
|
),
|
|
6356
6515
|
/* @__PURE__ */ e.jsx(
|
|
6357
|
-
|
|
6516
|
+
ct,
|
|
6358
6517
|
{
|
|
6359
|
-
isOpen:
|
|
6518
|
+
isOpen: E,
|
|
6360
6519
|
options: t,
|
|
6361
6520
|
currSelected: k,
|
|
6362
|
-
handleSelection:
|
|
6521
|
+
handleSelection: w,
|
|
6363
6522
|
optionProps: o,
|
|
6364
|
-
inputValue:
|
|
6365
|
-
setInputValue:
|
|
6523
|
+
inputValue: A,
|
|
6524
|
+
setInputValue: z,
|
|
6366
6525
|
showSearchField: j,
|
|
6367
|
-
searchFieldPlaceholder:
|
|
6526
|
+
searchFieldPlaceholder: C,
|
|
6368
6527
|
wideDropdown: n,
|
|
6369
6528
|
onSearchEnter: b
|
|
6370
6529
|
}
|
|
@@ -6372,34 +6531,34 @@ const at = ({
|
|
|
6372
6531
|
]
|
|
6373
6532
|
}
|
|
6374
6533
|
),
|
|
6375
|
-
c && d && /* @__PURE__ */ e.jsx(
|
|
6376
|
-
|
|
6377
|
-
|
|
6534
|
+
c && d && /* @__PURE__ */ e.jsx(ce, { message: d, showErrorStyles: !0, className: "mt-2" }),
|
|
6535
|
+
u && k.length > 0 && /* @__PURE__ */ e.jsx("div", { className: "mt-2 flex flex-wrap gap-4", children: k.map((D) => /* @__PURE__ */ e.jsx(
|
|
6536
|
+
rt,
|
|
6378
6537
|
{
|
|
6379
|
-
label:
|
|
6380
|
-
onClick: () =>
|
|
6381
|
-
className:
|
|
6538
|
+
label: D.name,
|
|
6539
|
+
onClick: () => w(D),
|
|
6540
|
+
className: M
|
|
6382
6541
|
},
|
|
6383
|
-
|
|
6542
|
+
D.id
|
|
6384
6543
|
)) })
|
|
6385
6544
|
] });
|
|
6386
6545
|
}
|
|
6387
6546
|
);
|
|
6388
|
-
|
|
6389
|
-
const
|
|
6547
|
+
gs.displayName = "MultiSelect";
|
|
6548
|
+
const Xs = {
|
|
6390
6549
|
PRIMARY: "primary",
|
|
6391
6550
|
SECONDARY: "secondary",
|
|
6392
6551
|
TERTIARY: "tertiary"
|
|
6393
|
-
},
|
|
6552
|
+
}, vs = {
|
|
6394
6553
|
PRIMARY: "bg-white hover:bg-black-800 active:bg-grey-900",
|
|
6395
6554
|
SECONDARY: "bg-blue-200 hover:bg-blue-400 active:bg-blue-500",
|
|
6396
6555
|
TERTIARY: "bg-red-200 hover:bg-red-400 active:bg-red-500"
|
|
6397
|
-
},
|
|
6556
|
+
}, js = {
|
|
6398
6557
|
SECONDARY: "bg-blue-500 text-white",
|
|
6399
6558
|
TERTIARY: "bg-red-500 text-white",
|
|
6400
6559
|
PRIMARY: "bg-black text-white"
|
|
6401
|
-
},
|
|
6402
|
-
const [a, l] =
|
|
6560
|
+
}, bs = ({ pages: s, onNavigate: r, classNames: t, activeIndex: i }) => {
|
|
6561
|
+
const [a, l] = B([2, 3]), n = Le(() => {
|
|
6403
6562
|
if (i === 2 || i === s - 1)
|
|
6404
6563
|
return;
|
|
6405
6564
|
if (i === 1) {
|
|
@@ -6413,13 +6572,13 @@ const $s = {
|
|
|
6413
6572
|
const c = [i - 1, i, i + 1];
|
|
6414
6573
|
l(c);
|
|
6415
6574
|
}, [s, i]);
|
|
6416
|
-
|
|
6575
|
+
O(() => {
|
|
6417
6576
|
n();
|
|
6418
6577
|
}, [i]);
|
|
6419
6578
|
const o = i !== s && i !== s - 1 && i !== s - 2;
|
|
6420
6579
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
6421
6580
|
/* @__PURE__ */ e.jsx(
|
|
6422
|
-
|
|
6581
|
+
U,
|
|
6423
6582
|
{
|
|
6424
6583
|
className: t(i === 1),
|
|
6425
6584
|
onClick: () => r == null ? void 0 : r(1),
|
|
@@ -6429,7 +6588,7 @@ const $s = {
|
|
|
6429
6588
|
),
|
|
6430
6589
|
a[0] !== 2 && /* @__PURE__ */ e.jsx(e.Fragment, { children: "..." }),
|
|
6431
6590
|
a.map((c, d) => /* @__PURE__ */ e.jsx(
|
|
6432
|
-
|
|
6591
|
+
U,
|
|
6433
6592
|
{
|
|
6434
6593
|
className: t(i === c),
|
|
6435
6594
|
onClick: () => r == null ? void 0 : r(c),
|
|
@@ -6440,7 +6599,7 @@ const $s = {
|
|
|
6440
6599
|
)),
|
|
6441
6600
|
o && /* @__PURE__ */ e.jsx(e.Fragment, { children: "..." }),
|
|
6442
6601
|
/* @__PURE__ */ e.jsx(
|
|
6443
|
-
|
|
6602
|
+
U,
|
|
6444
6603
|
{
|
|
6445
6604
|
className: t(i === s),
|
|
6446
6605
|
onClick: () => r == null ? void 0 : r(10),
|
|
@@ -6449,22 +6608,22 @@ const $s = {
|
|
|
6449
6608
|
}
|
|
6450
6609
|
)
|
|
6451
6610
|
] });
|
|
6452
|
-
},
|
|
6453
|
-
const [i, a] =
|
|
6611
|
+
}, Js = ({ pages: s, variant: r = "PRIMARY", onNavigate: t }) => {
|
|
6612
|
+
const [i, a] = B(1), l = (d) => {
|
|
6454
6613
|
a((h) => h === d ? h : d), t == null || t(d);
|
|
6455
6614
|
}, n = {
|
|
6456
6615
|
className: "relative h-6 w-6 flex-shrink-0 flex-grow-0 bg-transparent px-2 hover:bg-grey-300 active:bg-grey-400 [&_path]:disabled:!fill-white",
|
|
6457
6616
|
iconColor: "black",
|
|
6458
6617
|
iconPosition: "leading"
|
|
6459
|
-
}, o = (d) =>
|
|
6618
|
+
}, o = (d) => p(
|
|
6460
6619
|
"flex h-fit rounded p-1 text-black active:text-white",
|
|
6461
6620
|
// TODO: add active states per variant
|
|
6462
|
-
|
|
6463
|
-
d &&
|
|
6621
|
+
vs[r],
|
|
6622
|
+
d && js[r]
|
|
6464
6623
|
), c = s <= 5;
|
|
6465
6624
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative flex items-center justify-center gap-4", "data-testid": "test-pagination", children: [
|
|
6466
6625
|
/* @__PURE__ */ e.jsx(
|
|
6467
|
-
|
|
6626
|
+
U,
|
|
6468
6627
|
{
|
|
6469
6628
|
iconName: "KeyboardArrowLeft",
|
|
6470
6629
|
onClick: () => {
|
|
@@ -6477,7 +6636,7 @@ const $s = {
|
|
|
6477
6636
|
}
|
|
6478
6637
|
),
|
|
6479
6638
|
c ? /* @__PURE__ */ e.jsx(e.Fragment, { children: Array.from(Array(s)).map((d, h) => /* @__PURE__ */ e.jsx(
|
|
6480
|
-
|
|
6639
|
+
U,
|
|
6481
6640
|
{
|
|
6482
6641
|
className: o(i === h + 1),
|
|
6483
6642
|
onClick: () => {
|
|
@@ -6488,7 +6647,7 @@ const $s = {
|
|
|
6488
6647
|
},
|
|
6489
6648
|
h
|
|
6490
6649
|
)) }) : /* @__PURE__ */ e.jsx(
|
|
6491
|
-
|
|
6650
|
+
bs,
|
|
6492
6651
|
{
|
|
6493
6652
|
activeIndex: i,
|
|
6494
6653
|
classNames: o,
|
|
@@ -6497,7 +6656,7 @@ const $s = {
|
|
|
6497
6656
|
}
|
|
6498
6657
|
),
|
|
6499
6658
|
/* @__PURE__ */ e.jsx(
|
|
6500
|
-
|
|
6659
|
+
U,
|
|
6501
6660
|
{
|
|
6502
6661
|
iconName: "KeyboardArrowRight",
|
|
6503
6662
|
onClick: () => {
|
|
@@ -6510,7 +6669,7 @@ const $s = {
|
|
|
6510
6669
|
}
|
|
6511
6670
|
)
|
|
6512
6671
|
] });
|
|
6513
|
-
},
|
|
6672
|
+
}, Ks = ({
|
|
6514
6673
|
options: s,
|
|
6515
6674
|
supportingText: r,
|
|
6516
6675
|
required: t,
|
|
@@ -6518,9 +6677,9 @@ const $s = {
|
|
|
6518
6677
|
setSelectedValue: a,
|
|
6519
6678
|
className: l,
|
|
6520
6679
|
showSupportingText: n
|
|
6521
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className:
|
|
6680
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: p("flex flex-col gap-2", l), "data-testid": "test-radioGroup", children: [
|
|
6522
6681
|
s.map((o) => /* @__PURE__ */ e.jsx(
|
|
6523
|
-
|
|
6682
|
+
lt,
|
|
6524
6683
|
{
|
|
6525
6684
|
value: o.value,
|
|
6526
6685
|
label: o.label,
|
|
@@ -6530,14 +6689,14 @@ const $s = {
|
|
|
6530
6689
|
},
|
|
6531
6690
|
"radio-group-" + o.value
|
|
6532
6691
|
)),
|
|
6533
|
-
n && r && /* @__PURE__ */ e.jsx(
|
|
6534
|
-
] }),
|
|
6692
|
+
n && r && /* @__PURE__ */ e.jsx(ce, { message: r, showErrorStyles: t, className: "mt-1" })
|
|
6693
|
+
] }), qs = {
|
|
6535
6694
|
DEFAULT: "default",
|
|
6536
6695
|
TOP_PULL: "top_pull"
|
|
6537
|
-
},
|
|
6696
|
+
}, Qs = {
|
|
6538
6697
|
DEFAULT: "bg-black hover:bg-black-800 active:bg-grey-900",
|
|
6539
6698
|
TOP_PULL: "bg-black hover:bg-black-800 active:bg-grey-900"
|
|
6540
|
-
},
|
|
6699
|
+
}, ks = Y(
|
|
6541
6700
|
({
|
|
6542
6701
|
options: s,
|
|
6543
6702
|
selectedOption: r,
|
|
@@ -6550,12 +6709,12 @@ const $s = {
|
|
|
6550
6709
|
placeholder: c = "Auswählen",
|
|
6551
6710
|
showSearchField: d = !1,
|
|
6552
6711
|
searchFieldPlaceholder: h,
|
|
6553
|
-
className:
|
|
6712
|
+
className: u,
|
|
6554
6713
|
errorMessage: L,
|
|
6555
6714
|
clearSearchValue: j,
|
|
6556
|
-
onSearchEnter:
|
|
6557
|
-
},
|
|
6558
|
-
const { isOpen:
|
|
6715
|
+
onSearchEnter: C
|
|
6716
|
+
}, V) => {
|
|
6717
|
+
const { isOpen: g, currSelected: b, inputValue: M, setInputValue: N, selectOption: E, getRootProps: k, getButtonProps: A } = ws({
|
|
6559
6718
|
options: s,
|
|
6560
6719
|
selectedOption: typeof r == "string" ? r : r == null ? void 0 : r.id,
|
|
6561
6720
|
onSelectionChange: t,
|
|
@@ -6566,30 +6725,30 @@ const $s = {
|
|
|
6566
6725
|
"div",
|
|
6567
6726
|
{
|
|
6568
6727
|
...k(),
|
|
6569
|
-
ref:
|
|
6570
|
-
className:
|
|
6728
|
+
ref: V,
|
|
6729
|
+
className: p("relative rounded border border-black", o && "border-error", u),
|
|
6571
6730
|
children: [
|
|
6572
6731
|
/* @__PURE__ */ e.jsxs(
|
|
6573
6732
|
"button",
|
|
6574
6733
|
{
|
|
6575
|
-
...
|
|
6734
|
+
...A(),
|
|
6576
6735
|
disabled: a,
|
|
6577
6736
|
className: "flex h-[3.1em] w-full items-center gap-2.5 rounded pr-2.5 hover:bg-grey-100 disabled:pointer-events-none disabled:bg-grey-100",
|
|
6578
6737
|
children: [
|
|
6579
6738
|
/* @__PURE__ */ e.jsx(
|
|
6580
6739
|
"label",
|
|
6581
6740
|
{
|
|
6582
|
-
className:
|
|
6741
|
+
className: p("absolute -top-2 left-3 rounded bg-white px-1 text-xs", o && "text-error"),
|
|
6583
6742
|
children: i
|
|
6584
6743
|
}
|
|
6585
6744
|
),
|
|
6586
6745
|
/* @__PURE__ */ e.jsxs("div", { className: "flex w-full items-center justify-between py-1 pl-4", children: [
|
|
6587
6746
|
/* @__PURE__ */ e.jsx("div", { className: "truncate text-left", children: (b == null ? void 0 : b.name) ?? c }),
|
|
6588
6747
|
/* @__PURE__ */ e.jsx(
|
|
6589
|
-
|
|
6748
|
+
X,
|
|
6590
6749
|
{
|
|
6591
6750
|
name: "ExpandLess",
|
|
6592
|
-
className:
|
|
6751
|
+
className: p("h-6 w-6 transition-transform duration-200", g && "rotate-180")
|
|
6593
6752
|
}
|
|
6594
6753
|
)
|
|
6595
6754
|
] })
|
|
@@ -6597,30 +6756,30 @@ const $s = {
|
|
|
6597
6756
|
}
|
|
6598
6757
|
),
|
|
6599
6758
|
/* @__PURE__ */ e.jsx(
|
|
6600
|
-
|
|
6759
|
+
ct,
|
|
6601
6760
|
{
|
|
6602
|
-
isOpen:
|
|
6761
|
+
isOpen: g,
|
|
6603
6762
|
options: s,
|
|
6604
6763
|
currSelected: b ? [b] : [],
|
|
6605
|
-
handleSelection:
|
|
6764
|
+
handleSelection: E,
|
|
6606
6765
|
optionProps: l,
|
|
6607
|
-
inputValue:
|
|
6608
|
-
setInputValue:
|
|
6766
|
+
inputValue: M,
|
|
6767
|
+
setInputValue: N,
|
|
6609
6768
|
wideDropdown: n,
|
|
6610
6769
|
showSearchField: d,
|
|
6611
6770
|
searchFieldPlaceholder: h,
|
|
6612
|
-
onSearchEnter:
|
|
6771
|
+
onSearchEnter: C
|
|
6613
6772
|
}
|
|
6614
6773
|
)
|
|
6615
6774
|
]
|
|
6616
6775
|
}
|
|
6617
6776
|
),
|
|
6618
|
-
o && L && /* @__PURE__ */ e.jsx(
|
|
6777
|
+
o && L && /* @__PURE__ */ e.jsx(ce, { message: L, showErrorStyles: !0, className: "mt-2" })
|
|
6619
6778
|
] });
|
|
6620
6779
|
}
|
|
6621
6780
|
);
|
|
6622
|
-
|
|
6623
|
-
const
|
|
6781
|
+
ks.displayName = "Select";
|
|
6782
|
+
const Fs = ({
|
|
6624
6783
|
tabs: s,
|
|
6625
6784
|
activeTab: r,
|
|
6626
6785
|
setActiveTab: t,
|
|
@@ -6630,8 +6789,8 @@ const qs = ({
|
|
|
6630
6789
|
classNameTabPrevActive: n,
|
|
6631
6790
|
setPreviousActive: o,
|
|
6632
6791
|
tabSize: c = "fit"
|
|
6633
|
-
}) => /* @__PURE__ */ e.jsx("div", { className:
|
|
6634
|
-
|
|
6792
|
+
}) => /* @__PURE__ */ e.jsx("div", { className: p("flex", i), children: s.map((d, h) => /* @__PURE__ */ e.jsx(
|
|
6793
|
+
as,
|
|
6635
6794
|
{
|
|
6636
6795
|
label: d.label,
|
|
6637
6796
|
className: a,
|
|
@@ -6641,10 +6800,11 @@ const qs = ({
|
|
|
6641
6800
|
active: h === r,
|
|
6642
6801
|
size: c,
|
|
6643
6802
|
setIsActive: () => t == null ? void 0 : t(h)
|
|
6644
|
-
}
|
|
6803
|
+
},
|
|
6804
|
+
d.label + h
|
|
6645
6805
|
)) });
|
|
6646
|
-
var
|
|
6647
|
-
const
|
|
6806
|
+
var Ls = /* @__PURE__ */ ((s) => (s.SUCCESS = "success", s.INFO = "info", s.ERROR = "error", s))(Ls || {});
|
|
6807
|
+
const _s = ({
|
|
6648
6808
|
type: s,
|
|
6649
6809
|
message: r,
|
|
6650
6810
|
showClosingButton: t = !0,
|
|
@@ -6656,7 +6816,7 @@ const ks = ({
|
|
|
6656
6816
|
return /* @__PURE__ */ e.jsxs(
|
|
6657
6817
|
"div",
|
|
6658
6818
|
{
|
|
6659
|
-
className:
|
|
6819
|
+
className: p(
|
|
6660
6820
|
"flex w-80 justify-between rounded p-2 text-white drop-shadow-sm",
|
|
6661
6821
|
s === "success" && "bg-success",
|
|
6662
6822
|
s === "error" && "bg-error",
|
|
@@ -6666,10 +6826,10 @@ const ks = ({
|
|
|
6666
6826
|
"data-testid": "test-toast",
|
|
6667
6827
|
children: [
|
|
6668
6828
|
/* @__PURE__ */ e.jsxs("div", { className: "flex grow", children: [
|
|
6669
|
-
/* @__PURE__ */ e.jsx(
|
|
6670
|
-
/* @__PURE__ */ e.jsx("span", { className:
|
|
6829
|
+
/* @__PURE__ */ e.jsx(X, { name: n, iconColor: "white", className: "mr-2 pt-0.5", isIconSolid: !0 }),
|
|
6830
|
+
/* @__PURE__ */ e.jsx("span", { className: p(i && "max-w-[68%]"), children: r }),
|
|
6671
6831
|
i && /* @__PURE__ */ e.jsx(
|
|
6672
|
-
|
|
6832
|
+
U,
|
|
6673
6833
|
{
|
|
6674
6834
|
variant: "TEXT",
|
|
6675
6835
|
label: "Details",
|
|
@@ -6680,7 +6840,7 @@ const ks = ({
|
|
|
6680
6840
|
a && /* @__PURE__ */ e.jsx("a", { href: a, className: "rds-button ml-2 self-end p-2 underline-offset-2 hover:underline", children: "Details" })
|
|
6681
6841
|
] }),
|
|
6682
6842
|
t && /* @__PURE__ */ e.jsx(
|
|
6683
|
-
|
|
6843
|
+
U,
|
|
6684
6844
|
{
|
|
6685
6845
|
iconColor: "fill-white",
|
|
6686
6846
|
iconName: "Close",
|
|
@@ -6690,7 +6850,7 @@ const ks = ({
|
|
|
6690
6850
|
]
|
|
6691
6851
|
}
|
|
6692
6852
|
);
|
|
6693
|
-
},
|
|
6853
|
+
}, er = ({
|
|
6694
6854
|
logo: s,
|
|
6695
6855
|
className: r,
|
|
6696
6856
|
classNameContent: t,
|
|
@@ -6701,26 +6861,26 @@ const ks = ({
|
|
|
6701
6861
|
handleLogout: o,
|
|
6702
6862
|
account: c,
|
|
6703
6863
|
breadcrumbs: d
|
|
6704
|
-
}) => /* @__PURE__ */ e.jsxs("header", { className:
|
|
6705
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
6864
|
+
}) => /* @__PURE__ */ e.jsxs("header", { className: p("fixed right-0 top-0 z-0 w-full py-5", r), children: [
|
|
6865
|
+
/* @__PURE__ */ e.jsxs("div", { className: p("mx-auto flex items-center justify-between lg:justify-start", t), children: [
|
|
6706
6866
|
s,
|
|
6707
6867
|
a && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
6708
|
-
/* @__PURE__ */ e.jsx("nav", { className: "ml-8 mr-4 hidden grow items-center lg:flex", children: /* @__PURE__ */ e.jsx("ul", { className: "flex items-center gap-4", children: a == null ? void 0 : a.map((h) => "title" in h ? /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
|
|
6868
|
+
/* @__PURE__ */ e.jsx("nav", { className: "ml-8 mr-4 hidden grow items-center lg:flex", children: /* @__PURE__ */ e.jsx("ul", { className: "flex items-center gap-4", children: a == null ? void 0 : a.map((h) => "title" in h ? /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(hs, { ...h, className: l, variant: n }) }, "dropdown-" + h.title) : /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
|
|
6709
6869
|
me,
|
|
6710
6870
|
{
|
|
6711
6871
|
href: h.href,
|
|
6712
|
-
className:
|
|
6872
|
+
className: p(
|
|
6713
6873
|
n === "light" ? "text-white" : "text-black",
|
|
6714
6874
|
h.active && "underline underline-offset-8"
|
|
6715
6875
|
),
|
|
6716
6876
|
children: h.label
|
|
6717
6877
|
}
|
|
6718
6878
|
) }, "headerlink-" + h.label)) }) }),
|
|
6719
|
-
/* @__PURE__ */ e.jsx(
|
|
6879
|
+
/* @__PURE__ */ e.jsx(xs, { navigation: a, classNameDropdown: l })
|
|
6720
6880
|
] }),
|
|
6721
6881
|
i,
|
|
6722
6882
|
o && /* @__PURE__ */ e.jsx(
|
|
6723
|
-
|
|
6883
|
+
U,
|
|
6724
6884
|
{
|
|
6725
6885
|
onClick: o,
|
|
6726
6886
|
iconName: "Login",
|
|
@@ -6731,8 +6891,8 @@ const ks = ({
|
|
|
6731
6891
|
),
|
|
6732
6892
|
c
|
|
6733
6893
|
] }),
|
|
6734
|
-
d && d.length > 0 && /* @__PURE__ */ e.jsx(
|
|
6735
|
-
] }),
|
|
6894
|
+
d && d.length > 0 && /* @__PURE__ */ e.jsx(ds, { links: d, variant: n, className: "mx-auto mt-4 max-w-[80%]" })
|
|
6895
|
+
] }), ys = ({
|
|
6736
6896
|
data: s,
|
|
6737
6897
|
tableColumnsData: r,
|
|
6738
6898
|
onSelectionChange: t,
|
|
@@ -6741,19 +6901,19 @@ const ks = ({
|
|
|
6741
6901
|
}) => /* @__PURE__ */ e.jsx(
|
|
6742
6902
|
"tr",
|
|
6743
6903
|
{
|
|
6744
|
-
className:
|
|
6904
|
+
className: p(
|
|
6745
6905
|
"transition-colors duration-200 hover:bg-slate-200",
|
|
6746
6906
|
i && a % 2 === 0 && i
|
|
6747
6907
|
),
|
|
6748
6908
|
children: r.map((l) => {
|
|
6749
6909
|
const n = "td-table-" + l.id + (Object.keys(s).includes("id") ? s.id : JSON.stringify(s));
|
|
6750
6910
|
if (l.render)
|
|
6751
|
-
return /* @__PURE__ */ e.jsx("td", { className:
|
|
6911
|
+
return /* @__PURE__ */ e.jsx("td", { className: p(l.centered && "text-center"), children: l.render(s) }, n);
|
|
6752
6912
|
const o = s[l.id];
|
|
6753
|
-
return typeof o == "boolean" ? /* @__PURE__ */ e.jsx("td", { className: "flex min-h-[34px] items-center justify-center", children: /* @__PURE__ */ e.jsx(
|
|
6913
|
+
return typeof o == "boolean" ? /* @__PURE__ */ e.jsx("td", { className: "flex min-h-[34px] items-center justify-center", children: /* @__PURE__ */ e.jsx(pe, { id: "", checked: o, onChange: () => t == null ? void 0 : t(s) }) }, n) : typeof o == "string" || typeof o == "number" ? /* @__PURE__ */ e.jsx("td", { className: p(l.centered && "text-center"), children: o }, n) : /* @__PURE__ */ e.jsx("td", { children: "unhandled - please check" }, n);
|
|
6754
6914
|
})
|
|
6755
6915
|
}
|
|
6756
|
-
),
|
|
6916
|
+
), Ns = ze(ys), Cs = ({
|
|
6757
6917
|
tableColumnsData: s,
|
|
6758
6918
|
classNameBody: r,
|
|
6759
6919
|
classNameHead: t,
|
|
@@ -6765,74 +6925,74 @@ const ks = ({
|
|
|
6765
6925
|
onDisabledSorting: c,
|
|
6766
6926
|
noResultsMessage: d,
|
|
6767
6927
|
loadingMessage: h,
|
|
6768
|
-
isLoading:
|
|
6928
|
+
isLoading: u,
|
|
6769
6929
|
classNameLoader: L,
|
|
6770
6930
|
parentSortDir: j,
|
|
6771
|
-
highlightActiveFilter:
|
|
6772
|
-
borderStyles:
|
|
6931
|
+
highlightActiveFilter: C = !1,
|
|
6932
|
+
borderStyles: V
|
|
6773
6933
|
}) => {
|
|
6774
|
-
const [
|
|
6775
|
-
|
|
6776
|
-
j &&
|
|
6777
|
-
}, [j]),
|
|
6778
|
-
c &&
|
|
6779
|
-
}, [c,
|
|
6780
|
-
const
|
|
6781
|
-
const k =
|
|
6782
|
-
if (!k || c) return
|
|
6783
|
-
const
|
|
6784
|
-
return
|
|
6785
|
-
var
|
|
6786
|
-
const
|
|
6787
|
-
return
|
|
6788
|
-
}) :
|
|
6789
|
-
}, [l,
|
|
6934
|
+
const [g, b] = B(void 0), [M, N] = B("asc");
|
|
6935
|
+
O(() => {
|
|
6936
|
+
j && N(j);
|
|
6937
|
+
}, [j]), O(() => {
|
|
6938
|
+
c && g && c(g, M);
|
|
6939
|
+
}, [c, g, M]);
|
|
6940
|
+
const E = Me(() => {
|
|
6941
|
+
const k = g, A = l, z = j ?? M;
|
|
6942
|
+
if (!k || c) return A;
|
|
6943
|
+
const w = typeof l[0][k];
|
|
6944
|
+
return w === "string" ? A.sort((H, $) => {
|
|
6945
|
+
var F, ee;
|
|
6946
|
+
const D = ((F = H[k]) == null ? void 0 : F.toString().toLowerCase()) || "", J = ((ee = $[k]) == null ? void 0 : ee.toString().toLowerCase()) || "";
|
|
6947
|
+
return z === "asc" ? D.localeCompare(J) : J.localeCompare(D);
|
|
6948
|
+
}) : w === "number" && A.sort((H, $) => z === "asc" ? +H[k] - +$[k] : +$[k] - +H[k]), A;
|
|
6949
|
+
}, [l, g, M, j, c]);
|
|
6790
6950
|
return /* @__PURE__ */ e.jsxs(
|
|
6791
6951
|
"div",
|
|
6792
6952
|
{
|
|
6793
|
-
className:
|
|
6953
|
+
className: p(
|
|
6794
6954
|
"flex w-full flex-col",
|
|
6795
|
-
|
|
6796
|
-
|
|
6955
|
+
V === "cell" && "[&_td]:border [&_td]:border-solid [&_th]:border [&_th]:border-solid",
|
|
6956
|
+
V === "outline" && "border border-solid",
|
|
6797
6957
|
a
|
|
6798
6958
|
),
|
|
6799
6959
|
children: [
|
|
6800
|
-
/* @__PURE__ */ e.jsxs("table", { className:
|
|
6801
|
-
/* @__PURE__ */ e.jsx("thead", { className:
|
|
6960
|
+
/* @__PURE__ */ e.jsxs("table", { className: p("table-auto [&_td]:pr-4 [&_th]:pr-4", i), children: [
|
|
6961
|
+
/* @__PURE__ */ e.jsx("thead", { className: p("text-left", t), children: /* @__PURE__ */ e.jsx("tr", { children: s.map((k) => /* @__PURE__ */ e.jsx("th", { className: p(k.centered && "text-center"), children: k.renderHeader ? /* @__PURE__ */ e.jsx(e.Fragment, { children: k.renderHeader }) : k.isSorting ? /* @__PURE__ */ e.jsxs(
|
|
6802
6962
|
"button",
|
|
6803
6963
|
{
|
|
6804
6964
|
onClick: () => {
|
|
6805
|
-
b(k.id),
|
|
6965
|
+
b(k.id), g === k.id && N((A) => A === "asc" ? "desc" : "asc");
|
|
6806
6966
|
},
|
|
6807
|
-
className:
|
|
6967
|
+
className: p(
|
|
6808
6968
|
"flex items-center gap-x-2",
|
|
6809
6969
|
k.centered && "w-full justify-center",
|
|
6810
|
-
|
|
6970
|
+
g === k.id && C && "underline underline-offset-2"
|
|
6811
6971
|
),
|
|
6812
6972
|
children: [
|
|
6813
6973
|
k.title,
|
|
6814
|
-
/* @__PURE__ */ e.jsx(
|
|
6974
|
+
/* @__PURE__ */ e.jsx(X, { name: M === "asc" ? "South" : "North", className: "[&_svg]:!h-4 [&_svg]:!w-4" })
|
|
6815
6975
|
]
|
|
6816
6976
|
}
|
|
6817
6977
|
) : k.title }, "th-table-" + k.id)) }) }),
|
|
6818
|
-
/* @__PURE__ */ e.jsx("tbody", { className: r, children: !
|
|
6819
|
-
|
|
6978
|
+
/* @__PURE__ */ e.jsx("tbody", { className: r, children: !u && E.map((k, A) => /* @__PURE__ */ e.jsx(
|
|
6979
|
+
Ns,
|
|
6820
6980
|
{
|
|
6821
6981
|
data: k,
|
|
6822
|
-
index:
|
|
6982
|
+
index: A,
|
|
6823
6983
|
tableColumnsData: s,
|
|
6824
6984
|
alternatingRowColor: o,
|
|
6825
6985
|
onSelectionChange: n
|
|
6826
6986
|
},
|
|
6827
|
-
"tr-table-" +
|
|
6987
|
+
"tr-table-" + A + JSON.stringify(k)
|
|
6828
6988
|
)) })
|
|
6829
6989
|
] }),
|
|
6830
|
-
|
|
6831
|
-
|
|
6990
|
+
u && /* @__PURE__ */ e.jsx("div", { className: "my-8", children: h ? /* @__PURE__ */ e.jsx(Ve, { children: h }) : /* @__PURE__ */ e.jsx(ls, { classNameLoader: L, className: "relative" }) }),
|
|
6991
|
+
E.length === 0 && !u && /* @__PURE__ */ e.jsx("div", { className: "m-8", children: /* @__PURE__ */ e.jsx(Ve, { children: d ?? "Keine Daten gefunden" }) })
|
|
6832
6992
|
]
|
|
6833
6993
|
}
|
|
6834
6994
|
);
|
|
6835
|
-
},
|
|
6995
|
+
}, tr = ze(Cs), sr = ({
|
|
6836
6996
|
duration: s,
|
|
6837
6997
|
positionY: r,
|
|
6838
6998
|
positionX: t,
|
|
@@ -6841,13 +7001,13 @@ const ks = ({
|
|
|
6841
7001
|
children: l,
|
|
6842
7002
|
className: n
|
|
6843
7003
|
}) => {
|
|
6844
|
-
const [o, c] =
|
|
7004
|
+
const [o, c] = B(!1), d = () => setTimeout(() => {
|
|
6845
7005
|
c(!1);
|
|
6846
7006
|
}, s);
|
|
6847
|
-
return
|
|
7007
|
+
return O(() => (i && c(!0), d(), () => clearTimeout(d())), [i]), o ? /* @__PURE__ */ e.jsxs(
|
|
6848
7008
|
"div",
|
|
6849
7009
|
{
|
|
6850
|
-
className:
|
|
7010
|
+
className: p(
|
|
6851
7011
|
"absolute",
|
|
6852
7012
|
r === "top" && "top-0",
|
|
6853
7013
|
r === "bottom" && "bottom-0",
|
|
@@ -6857,71 +7017,71 @@ const ks = ({
|
|
|
6857
7017
|
n
|
|
6858
7018
|
),
|
|
6859
7019
|
children: [
|
|
6860
|
-
a && /* @__PURE__ */ e.jsx(
|
|
7020
|
+
a && /* @__PURE__ */ e.jsx(_s, { ...a }),
|
|
6861
7021
|
l
|
|
6862
7022
|
]
|
|
6863
7023
|
}
|
|
6864
7024
|
) : null;
|
|
6865
7025
|
};
|
|
6866
7026
|
export {
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
7027
|
+
Us as ACCORDION_VARIANT,
|
|
7028
|
+
Ms as BUTTON_VARIANT,
|
|
7029
|
+
ds as Breadcrumb,
|
|
7030
|
+
U as Button,
|
|
7031
|
+
Hs as CHECKBOX_VARIANT,
|
|
7032
|
+
pe as Checkbox,
|
|
7033
|
+
Ys as ContentAccordion,
|
|
7034
|
+
hs as Dropdown,
|
|
7035
|
+
Rs as FILTERCHIP_VARIANT,
|
|
7036
|
+
rt as FilterChip,
|
|
7037
|
+
Zs as HEADING_VARIANT,
|
|
7038
|
+
fs as HTMLSelect,
|
|
7039
|
+
er as Header,
|
|
7040
|
+
it as Heading,
|
|
7041
|
+
Ts as INPUT_VARIANT,
|
|
7042
|
+
X as Icon,
|
|
7043
|
+
ce as InfoText,
|
|
7044
|
+
is as Input,
|
|
6885
7045
|
me as Link,
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
7046
|
+
ls as Loader,
|
|
7047
|
+
$s as MODAL_VARIANT,
|
|
7048
|
+
Ds as MULTISELECT_VARIANT,
|
|
7049
|
+
xs as MobileNav,
|
|
7050
|
+
ps as Modal,
|
|
7051
|
+
gs as MultiSelect,
|
|
7052
|
+
Xs as PAGINATION_VARIANT,
|
|
7053
|
+
Js as Pagination,
|
|
7054
|
+
Es as RADIO_VARIANT,
|
|
7055
|
+
lt as Radio,
|
|
7056
|
+
Ks as RadioGroup,
|
|
7057
|
+
Ws as SELECT_ITEM_VARIANT,
|
|
7058
|
+
qs as SELECT_VARIANT,
|
|
7059
|
+
ks as Select,
|
|
7060
|
+
ct as SelectDropdown,
|
|
7061
|
+
at as SelectItem,
|
|
7062
|
+
Ss as Skeleton,
|
|
7063
|
+
Is as Slider,
|
|
7064
|
+
Os as TEXTAREA_VARIANT,
|
|
7065
|
+
zs as TEXT_VARIANT,
|
|
7066
|
+
as as Tab,
|
|
7067
|
+
tr as Table,
|
|
7068
|
+
Fs as Tabs,
|
|
7069
|
+
Ve as Text,
|
|
7070
|
+
os as Textarea,
|
|
7071
|
+
_s as Toast,
|
|
7072
|
+
sr as ToastDisplay,
|
|
7073
|
+
Ls as ToastType,
|
|
7074
|
+
Gs as accordionVariant,
|
|
7075
|
+
ts as buttonVariantStyles,
|
|
7076
|
+
As as checkboxVariant,
|
|
7077
|
+
Ps as filterChipVariant,
|
|
7078
|
+
ss as headingVariantStyles,
|
|
7079
|
+
st as iconMapping,
|
|
7080
|
+
rs as inputVariant,
|
|
7081
|
+
vs as paginationVariant,
|
|
7082
|
+
Bs as radioboxVariant,
|
|
7083
|
+
Qs as selectVariant,
|
|
7084
|
+
ns as textVariantClasses,
|
|
7085
|
+
cs as textarea,
|
|
7086
|
+
us as variantClasses
|
|
6927
7087
|
};
|