react-semaphor 0.1.569 → 0.1.571
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/appearance/index.js +6 -3
- package/dist/appearance-runtime/index.js +1 -1
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +570 -432
- package/dist/briefings/index.js +2 -2
- package/dist/chunks/appearance-context-BwBp25ZG.js +162 -0
- package/dist/chunks/appearance-runtime-provider-BRHYELkC.js +80 -0
- package/dist/chunks/assistant-chat-SkCraw2C.js +5940 -0
- package/dist/chunks/{bookmark-impact-Czg6FGt5.js → bookmark-impact-DCYD-6Fr.js} +1 -1
- package/dist/chunks/brand-BoUV0iHF.js +54 -0
- package/dist/chunks/{card-filter-builder-BS982X7x.js → card-filter-builder-D-aSYpyr.js} +72 -72
- package/dist/chunks/{comparison-window-caption-lLTgzOkM.js → comparison-window-caption-PtcDWvkN.js} +2 -2
- package/dist/chunks/{dashboard-BiYSbxZv.js → dashboard-B_w_ekUz.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-Bdj7luOr.js → dashboard-briefing-launcher-_g1m2tJ3.js} +183 -182
- package/dist/chunks/{dashboard-controls-TViDsnb8.js → dashboard-controls-CY0gbcCt.js} +285 -280
- package/dist/chunks/{dashboard-json-Dg9dQd9U.js → dashboard-json-DsM79yem.js} +3 -3
- package/dist/chunks/{dates-BsPrWZIP.js → dates-RSEzJ9N7.js} +13 -12
- package/dist/chunks/edit-9df1zOWe.js +226 -0
- package/dist/chunks/{edit-dashboard-visual-C6hoIeEJ.js → edit-dashboard-visual-cX0FM-4i.js} +2256 -2268
- package/dist/chunks/{filter-reach-copy-hcQ4os0u.js → filter-reach-copy-thzt25Rc.js} +1303 -1226
- package/dist/chunks/{filter-value-text-CVxEEDVl.js → filter-value-text-DvvSNlho.js} +1 -1
- package/dist/chunks/index-BVKzKl5d.js +90 -0
- package/dist/chunks/{index-RNaTnE3m.js → index-CV_Kzou0.js} +233 -223
- package/dist/chunks/{index-G4q89J6O.js → index-y3HUzRNk.js} +61 -60
- package/dist/chunks/{layout-grid-BIcoFfdS.js → layout-grid-8rR-LPTk.js} +1 -1
- package/dist/chunks/{list-filter-C6tYkHyv.js → list-filter-C1-uTgjR.js} +1 -1
- package/dist/chunks/paintbrush-aR17Z3C9.js +27 -0
- package/dist/chunks/{palette-NjHOE_6B.js → palette-a5FCZKFI.js} +1 -1
- package/dist/chunks/{_commonjsHelpers-Bid1ZNYj.js → pickers-DkqmtnTL.js} +179 -166
- package/dist/chunks/{pivot-result-contract-expectations-DkmueDTW.js → pivot-result-contract-expectations-C-HnUKYe.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-Xc8_GFju.js → report-preferences-dialog-B_GXs91t.js} +79 -79
- package/dist/chunks/{resolve-dashboard-input-context-KqvcLcTM.js → resolve-dashboard-input-context-Lkbwycwe.js} +5179 -5391
- package/dist/chunks/resolver-DG_tfEpt.js +156 -0
- package/dist/chunks/{save-C6VmEJTA.js → save-D985VvYp.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-BeXXyoD4.js → saved-dashboard-context-DC_TEd6y.js} +3 -3
- package/dist/chunks/schema-C9NPiIru.js +2568 -0
- package/dist/chunks/{semaphor-ready-indicator-BNkaANsG.js → semaphor-ready-indicator-CBQamwQY.js} +33931 -34031
- package/dist/chunks/{shelf-drop-preview-context-C_issPBA.js → shelf-drop-preview-context-Bkjf0XXw.js} +50 -50
- package/dist/chunks/{stored-dashboard-B6_StAty.js → stored-dashboard-C0hekXiI.js} +189 -188
- package/dist/chunks/{code-editor-BsxHzm9u.js → style-sheet-parts-C7qGZuH1.js} +2400 -2036
- package/dist/chunks/{table-export-sheet-BWP2joD1.js → table-export-sheet-CP8zSOhj.js} +1 -1
- package/dist/chunks/{temporal-input-presentation-scSWQXAB.js → temporal-input-presentation-CqbJjIuu.js} +14 -14
- package/dist/chunks/{upload-BRW4Mwrd.js → upload-CiGNKJ_0.js} +1 -1
- package/dist/chunks/{variable-draft-BQ3OMjvy.js → variable-draft-DvglU8yj.js} +2 -2
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +2064 -1946
- package/dist/format-utils/index.js +8 -8
- package/dist/index.js +332 -335
- package/dist/layouts/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/appearance/index.d.ts +1 -0
- package/dist/types/brand-studio/brand-studio-draft.d.ts +7 -0
- package/dist/types/brand-studio/index.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/run-model.d.ts +1 -2
- package/dist/types/components/providers/appearance-runtime-provider.d.ts +4 -1
- package/dist/types/components/sharing-and-management/hooks/use-resource-management.d.ts +0 -2
- package/dist/types/components/sharing-and-management/utils/types.d.ts +0 -72
- package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +0 -1
- package/dist/types/components/visual/data-table/types/data-table.d.ts +0 -9
- package/dist/types/components/visual/data-table/utils/pagination-utils.d.ts +0 -19
- package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -1
- package/dist/types/lib/appearance/aliases.d.ts +42 -0
- package/dist/types/lib/appearance/compiler.d.ts +6 -0
- package/dist/types/lib/appearance/defaults.d.ts +6 -0
- package/dist/types/lib/appearance/index.d.ts +2 -0
- package/dist/types/lib/appearance/normalize-organization.d.ts +17 -0
- package/dist/types/lib/appearance/resolver.d.ts +2 -2
- package/dist/types/lib/appearance/types.d.ts +38 -1
- package/dist/types/lib/charts/types.d.ts +6 -2
- package/dist/types/lib/dashboard/semantic-dataset-references.d.ts +0 -1
- package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +0 -2
- package/dist/types/lib/dashboard-variables/types.d.ts +1 -6
- package/dist/types/lib/download-pdf.d.ts +0 -1
- package/dist/types/lib/hooks/use-dashboard.d.ts +3 -4
- package/dist/types/lib/stores/dashboard-store.d.ts +15 -6
- package/dist/types/lib/stores/editor-store.d.ts +0 -1
- package/dist/types/lib/stores/table-actions.d.ts +0 -1
- package/dist/types/lib/table-formatting/table-formatting-css.d.ts +0 -5
- package/dist/types/lib/types/common-types.d.ts +3 -52
- package/dist/types/lib/types/summary-types.d.ts +0 -5
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +4 -4
- package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +10 -10
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +68 -68
- package/dist/types/shared/assistant-protocol/context.d.ts +18 -18
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +212 -42
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +4 -1
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +30 -30
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +4 -4
- package/dist/types/shared/dashboard-authoring/dashboard-style/bounds.d.ts +17 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/brand.d.ts +20 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/edit-words.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/edit.d.ts +19 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/index.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/layers.d.ts +20 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/legacy.d.ts +21 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/parse.d.ts +18 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/pickers.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/types.d.ts +122 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/view.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +19 -0
- package/dist/types/shared/format-utils/matrix-continuation.d.ts +7 -7
- package/package.json +6 -3
- package/dist/chunks/appearance-context-DEYtWinQ.js +0 -126
- package/dist/chunks/appearance-runtime-provider-B-M8gwlZ.js +0 -81
- package/dist/chunks/assistant-chat-Dzf2Mbph.js +0 -8847
- package/dist/chunks/color-CJvdlFM_.js +0 -2162
- package/dist/chunks/index-CLIro-EG.js +0 -425
- package/dist/types/components/sharing-and-management/utils/group-types.d.ts +0 -105
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
class
|
|
1
|
+
class E extends Error {
|
|
2
2
|
}
|
|
3
|
-
|
|
3
|
+
E.prototype.name = "InvalidTokenError";
|
|
4
4
|
function ce(e) {
|
|
5
5
|
return decodeURIComponent(atob(e).replace(/(.)/g, (r, t) => {
|
|
6
6
|
let o = t.charCodeAt(0).toString(16).toUpperCase();
|
|
@@ -29,40 +29,40 @@ function de(e) {
|
|
|
29
29
|
}
|
|
30
30
|
function qe(e, r) {
|
|
31
31
|
if (typeof e != "string")
|
|
32
|
-
throw new
|
|
32
|
+
throw new E("Invalid token specified: must be a string");
|
|
33
33
|
r || (r = {});
|
|
34
34
|
const t = r.header === !0 ? 0 : 1, o = e.split(".")[t];
|
|
35
35
|
if (typeof o != "string")
|
|
36
|
-
throw new
|
|
37
|
-
let
|
|
36
|
+
throw new E(`Invalid token specified: missing part #${t + 1}`);
|
|
37
|
+
let a;
|
|
38
38
|
try {
|
|
39
|
-
|
|
39
|
+
a = de(o);
|
|
40
40
|
} catch (n) {
|
|
41
|
-
throw new
|
|
41
|
+
throw new E(`Invalid token specified: invalid base64 for part #${t + 1} (${n.message})`);
|
|
42
42
|
}
|
|
43
43
|
try {
|
|
44
|
-
return JSON.parse(
|
|
44
|
+
return JSON.parse(a);
|
|
45
45
|
} catch (n) {
|
|
46
|
-
throw new
|
|
46
|
+
throw new E(`Invalid token specified: invalid json for part #${t + 1} (${n.message})`);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
function oe(e) {
|
|
50
50
|
var r, t, o = "";
|
|
51
51
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
52
52
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
53
|
-
var
|
|
54
|
-
for (r = 0; r <
|
|
53
|
+
var a = e.length;
|
|
54
|
+
for (r = 0; r < a; r++) e[r] && (t = oe(e[r])) && (o && (o += " "), o += t);
|
|
55
55
|
} else for (t in e) e[t] && (o && (o += " "), o += t);
|
|
56
56
|
return o;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
for (var e, r, t = 0, o = "",
|
|
58
|
+
function V() {
|
|
59
|
+
for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = oe(e)) && (o && (o += " "), o += r);
|
|
60
60
|
return o;
|
|
61
61
|
}
|
|
62
62
|
const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
63
63
|
__proto__: null,
|
|
64
|
-
clsx:
|
|
65
|
-
default:
|
|
64
|
+
clsx: V,
|
|
65
|
+
default: V
|
|
66
66
|
}, Symbol.toStringTag, { value: "Module" })), q = "-", pe = (e) => {
|
|
67
67
|
const r = be(e), {
|
|
68
68
|
conflictingClassGroups: t,
|
|
@@ -82,9 +82,9 @@ const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
82
82
|
var l;
|
|
83
83
|
if (e.length === 0)
|
|
84
84
|
return r.classGroupId;
|
|
85
|
-
const t = e[0], o = r.nextPart.get(t),
|
|
86
|
-
if (
|
|
87
|
-
return
|
|
85
|
+
const t = e[0], o = r.nextPart.get(t), a = o ? ne(e.slice(1), o) : void 0;
|
|
86
|
+
if (a)
|
|
87
|
+
return a;
|
|
88
88
|
if (r.validators.length === 0)
|
|
89
89
|
return;
|
|
90
90
|
const n = e.join(q);
|
|
@@ -109,24 +109,24 @@ const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
109
109
|
F(l, o, n, r);
|
|
110
110
|
}), o;
|
|
111
111
|
}, F = (e, r, t, o) => {
|
|
112
|
-
e.forEach((
|
|
113
|
-
if (typeof
|
|
114
|
-
const n =
|
|
112
|
+
e.forEach((a) => {
|
|
113
|
+
if (typeof a == "string") {
|
|
114
|
+
const n = a === "" ? r : ee(r, a);
|
|
115
115
|
n.classGroupId = t;
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
|
-
if (typeof
|
|
119
|
-
if (fe(
|
|
120
|
-
F(
|
|
118
|
+
if (typeof a == "function") {
|
|
119
|
+
if (fe(a)) {
|
|
120
|
+
F(a(o), r, t, o);
|
|
121
121
|
return;
|
|
122
122
|
}
|
|
123
123
|
r.validators.push({
|
|
124
|
-
validator:
|
|
124
|
+
validator: a,
|
|
125
125
|
classGroupId: t
|
|
126
126
|
});
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
129
|
-
Object.entries(
|
|
129
|
+
Object.entries(a).forEach(([n, l]) => {
|
|
130
130
|
F(l, ee(r, n), t, o);
|
|
131
131
|
});
|
|
132
132
|
});
|
|
@@ -139,8 +139,8 @@ const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
139
139
|
}), t = t.nextPart.get(o);
|
|
140
140
|
}), t;
|
|
141
141
|
}, fe = (e) => e.isThemeGetter, ge = (e, r) => r ? e.map(([t, o]) => {
|
|
142
|
-
const
|
|
143
|
-
return [t,
|
|
142
|
+
const a = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([l, s]) => [r + l, s])) : n);
|
|
143
|
+
return [t, a];
|
|
144
144
|
}) : e, me = (e) => {
|
|
145
145
|
if (e < 1)
|
|
146
146
|
return {
|
|
@@ -150,7 +150,7 @@ const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
153
|
-
const
|
|
153
|
+
const a = (n, l) => {
|
|
154
154
|
t.set(n, l), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
|
|
155
155
|
};
|
|
156
156
|
return {
|
|
@@ -159,23 +159,23 @@ const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
159
159
|
if (l !== void 0)
|
|
160
160
|
return l;
|
|
161
161
|
if ((l = o.get(n)) !== void 0)
|
|
162
|
-
return
|
|
162
|
+
return a(n, l), l;
|
|
163
163
|
},
|
|
164
164
|
set(n, l) {
|
|
165
|
-
t.has(n) ? t.set(n, l) :
|
|
165
|
+
t.has(n) ? t.set(n, l) : a(n, l);
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
}, se = "!", he = (e) => {
|
|
169
169
|
const {
|
|
170
170
|
separator: r,
|
|
171
171
|
experimentalParseClassName: t
|
|
172
|
-
} = e, o = r.length === 1,
|
|
172
|
+
} = e, o = r.length === 1, a = r[0], n = r.length, l = (s) => {
|
|
173
173
|
const u = [];
|
|
174
174
|
let f = 0, m = 0, y;
|
|
175
175
|
for (let p = 0; p < s.length; p++) {
|
|
176
176
|
let g = s[p];
|
|
177
177
|
if (f === 0) {
|
|
178
|
-
if (g ===
|
|
178
|
+
if (g === a && (o || s.slice(p, p + n) === r)) {
|
|
179
179
|
u.push(s.slice(m, p)), m = p + n;
|
|
180
180
|
continue;
|
|
181
181
|
}
|
|
@@ -214,7 +214,7 @@ const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
214
214
|
const {
|
|
215
215
|
parseClassName: t,
|
|
216
216
|
getClassGroupId: o,
|
|
217
|
-
getConflictingClassGroupIds:
|
|
217
|
+
getConflictingClassGroupIds: a
|
|
218
218
|
} = r, n = [], l = e.trim().split(xe);
|
|
219
219
|
let s = "";
|
|
220
220
|
for (let u = l.length - 1; u >= 0; u -= 1) {
|
|
@@ -240,86 +240,86 @@ const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
240
240
|
if (n.includes(h))
|
|
241
241
|
continue;
|
|
242
242
|
n.push(h);
|
|
243
|
-
const
|
|
244
|
-
for (let A = 0; A <
|
|
245
|
-
const
|
|
246
|
-
n.push(g +
|
|
243
|
+
const R = a(b, x);
|
|
244
|
+
for (let A = 0; A < R.length; ++A) {
|
|
245
|
+
const _ = R[A];
|
|
246
|
+
n.push(g + _);
|
|
247
247
|
}
|
|
248
248
|
s = f + (s.length > 0 ? " " + s : s);
|
|
249
249
|
}
|
|
250
250
|
return s;
|
|
251
251
|
};
|
|
252
|
-
function
|
|
252
|
+
function Ce() {
|
|
253
253
|
let e = 0, r, t, o = "";
|
|
254
254
|
for (; e < arguments.length; )
|
|
255
|
-
(r = arguments[e++]) && (t =
|
|
255
|
+
(r = arguments[e++]) && (t = ae(r)) && (o && (o += " "), o += t);
|
|
256
256
|
return o;
|
|
257
257
|
}
|
|
258
|
-
const
|
|
258
|
+
const ae = (e) => {
|
|
259
259
|
if (typeof e == "string")
|
|
260
260
|
return e;
|
|
261
261
|
let r, t = "";
|
|
262
262
|
for (let o = 0; o < e.length; o++)
|
|
263
|
-
e[o] && (r =
|
|
263
|
+
e[o] && (r = ae(e[o])) && (t && (t += " "), t += r);
|
|
264
264
|
return t;
|
|
265
265
|
};
|
|
266
266
|
function re(e, ...r) {
|
|
267
|
-
let t, o,
|
|
267
|
+
let t, o, a, n = l;
|
|
268
268
|
function l(u) {
|
|
269
269
|
const f = r.reduce((m, y) => y(m), e());
|
|
270
|
-
return t = we(f), o = t.cache.get,
|
|
270
|
+
return t = we(f), o = t.cache.get, a = t.cache.set, n = s, s(u);
|
|
271
271
|
}
|
|
272
272
|
function s(u) {
|
|
273
273
|
const f = o(u);
|
|
274
274
|
if (f)
|
|
275
275
|
return f;
|
|
276
276
|
const m = ve(u, t);
|
|
277
|
-
return
|
|
277
|
+
return a(u, m), m;
|
|
278
278
|
}
|
|
279
279
|
return function() {
|
|
280
|
-
return n(
|
|
280
|
+
return n(Ce.apply(null, arguments));
|
|
281
281
|
};
|
|
282
282
|
}
|
|
283
283
|
const c = (e) => {
|
|
284
284
|
const r = (t) => t[e] || [];
|
|
285
285
|
return r.isThemeGetter = !0, r;
|
|
286
|
-
}, le = /^\[(?:([a-z-]+):)?(.+)\]$/i,
|
|
286
|
+
}, le = /^\[(?:([a-z-]+):)?(.+)\]$/i, ke = /^\d+\/\d+$/, Se = /* @__PURE__ */ new Set(["px", "full", "screen"]), ze = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ae = /\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$/, Me = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Pe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Re = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, k = (e) => M(e) || Se.has(e) || ke.test(e), S = (e) => P(e, "length", Oe), M = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => P(e, "number", M), I = (e) => !!e && Number.isInteger(Number(e)), Ge = (e) => e.endsWith("%") && M(e.slice(0, -1)), i = (e) => le.test(e), z = (e) => ze.test(e), Ie = /* @__PURE__ */ new Set(["length", "size", "percentage"]), je = (e) => P(e, Ie, ie), Ee = (e) => P(e, "position", ie), Te = /* @__PURE__ */ new Set(["image", "url"]), _e = (e) => P(e, Te, Le), Ne = (e) => P(e, "", $e), j = () => !0, P = (e, r, t) => {
|
|
287
287
|
const o = le.exec(e);
|
|
288
288
|
return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
|
|
289
|
-
},
|
|
289
|
+
}, Oe = (e) => (
|
|
290
290
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
291
291
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
292
292
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
293
293
|
Ae.test(e) && !Me.test(e)
|
|
294
|
-
),
|
|
295
|
-
const e = c("colors"), r = c("spacing"), t = c("blur"), o = c("brightness"),
|
|
294
|
+
), ie = () => !1, $e = (e) => Pe.test(e), Le = (e) => Re.test(e), te = () => {
|
|
295
|
+
const e = c("colors"), r = c("spacing"), t = c("blur"), o = c("brightness"), a = c("borderColor"), n = c("borderRadius"), l = c("borderSpacing"), s = c("borderWidth"), u = c("contrast"), f = c("grayscale"), m = c("hueRotate"), y = c("invert"), w = c("gap"), v = c("gradientColorStops"), x = c("gradientColorStopPositions"), b = c("inset"), p = c("margin"), g = c("opacity"), h = c("padding"), R = c("saturate"), A = c("scale"), _ = c("sepia"), J = c("skew"), K = c("space"), X = c("translate"), $ = () => ["auto", "contain", "none"], L = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", i, r], d = () => [i, r], Z = () => ["", k, S], N = () => ["auto", M, i], H = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], O = () => ["solid", "dashed", "dotted", "double", "none"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], W = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], G = () => ["", "0", i], Y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [M, i];
|
|
296
296
|
return {
|
|
297
297
|
cacheSize: 500,
|
|
298
298
|
separator: ":",
|
|
299
299
|
theme: {
|
|
300
300
|
colors: [j],
|
|
301
|
-
spacing: [
|
|
302
|
-
blur: ["none", "",
|
|
303
|
-
brightness:
|
|
301
|
+
spacing: [k, S],
|
|
302
|
+
blur: ["none", "", z, i],
|
|
303
|
+
brightness: C(),
|
|
304
304
|
borderColor: [e],
|
|
305
|
-
borderRadius: ["none", "", "full",
|
|
305
|
+
borderRadius: ["none", "", "full", z, i],
|
|
306
306
|
borderSpacing: d(),
|
|
307
307
|
borderWidth: Z(),
|
|
308
|
-
contrast:
|
|
309
|
-
grayscale:
|
|
310
|
-
hueRotate:
|
|
311
|
-
invert:
|
|
308
|
+
contrast: C(),
|
|
309
|
+
grayscale: G(),
|
|
310
|
+
hueRotate: C(),
|
|
311
|
+
invert: G(),
|
|
312
312
|
gap: d(),
|
|
313
313
|
gradientColorStops: [e],
|
|
314
|
-
gradientColorStopPositions: [
|
|
315
|
-
inset:
|
|
316
|
-
margin:
|
|
317
|
-
opacity:
|
|
314
|
+
gradientColorStopPositions: [Ge, S],
|
|
315
|
+
inset: U(),
|
|
316
|
+
margin: U(),
|
|
317
|
+
opacity: C(),
|
|
318
318
|
padding: d(),
|
|
319
|
-
saturate:
|
|
320
|
-
scale:
|
|
321
|
-
sepia:
|
|
322
|
-
skew:
|
|
319
|
+
saturate: C(),
|
|
320
|
+
scale: C(),
|
|
321
|
+
sepia: G(),
|
|
322
|
+
skew: C(),
|
|
323
323
|
space: d(),
|
|
324
324
|
translate: d()
|
|
325
325
|
},
|
|
@@ -330,7 +330,7 @@ const c = (e) => {
|
|
|
330
330
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
331
331
|
*/
|
|
332
332
|
aspect: [{
|
|
333
|
-
aspect: ["auto", "square", "video",
|
|
333
|
+
aspect: ["auto", "square", "video", i]
|
|
334
334
|
}],
|
|
335
335
|
/**
|
|
336
336
|
* Container
|
|
@@ -342,7 +342,7 @@ const c = (e) => {
|
|
|
342
342
|
* @see https://tailwindcss.com/docs/columns
|
|
343
343
|
*/
|
|
344
344
|
columns: [{
|
|
345
|
-
columns: [
|
|
345
|
+
columns: [z]
|
|
346
346
|
}],
|
|
347
347
|
/**
|
|
348
348
|
* Break After
|
|
@@ -415,49 +415,49 @@ const c = (e) => {
|
|
|
415
415
|
* @see https://tailwindcss.com/docs/object-position
|
|
416
416
|
*/
|
|
417
417
|
"object-position": [{
|
|
418
|
-
object: [...H(),
|
|
418
|
+
object: [...H(), i]
|
|
419
419
|
}],
|
|
420
420
|
/**
|
|
421
421
|
* Overflow
|
|
422
422
|
* @see https://tailwindcss.com/docs/overflow
|
|
423
423
|
*/
|
|
424
424
|
overflow: [{
|
|
425
|
-
overflow:
|
|
425
|
+
overflow: L()
|
|
426
426
|
}],
|
|
427
427
|
/**
|
|
428
428
|
* Overflow X
|
|
429
429
|
* @see https://tailwindcss.com/docs/overflow
|
|
430
430
|
*/
|
|
431
431
|
"overflow-x": [{
|
|
432
|
-
"overflow-x":
|
|
432
|
+
"overflow-x": L()
|
|
433
433
|
}],
|
|
434
434
|
/**
|
|
435
435
|
* Overflow Y
|
|
436
436
|
* @see https://tailwindcss.com/docs/overflow
|
|
437
437
|
*/
|
|
438
438
|
"overflow-y": [{
|
|
439
|
-
"overflow-y":
|
|
439
|
+
"overflow-y": L()
|
|
440
440
|
}],
|
|
441
441
|
/**
|
|
442
442
|
* Overscroll Behavior
|
|
443
443
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
444
444
|
*/
|
|
445
445
|
overscroll: [{
|
|
446
|
-
overscroll:
|
|
446
|
+
overscroll: $()
|
|
447
447
|
}],
|
|
448
448
|
/**
|
|
449
449
|
* Overscroll Behavior X
|
|
450
450
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
451
451
|
*/
|
|
452
452
|
"overscroll-x": [{
|
|
453
|
-
"overscroll-x":
|
|
453
|
+
"overscroll-x": $()
|
|
454
454
|
}],
|
|
455
455
|
/**
|
|
456
456
|
* Overscroll Behavior Y
|
|
457
457
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
458
458
|
*/
|
|
459
459
|
"overscroll-y": [{
|
|
460
|
-
"overscroll-y":
|
|
460
|
+
"overscroll-y": $()
|
|
461
461
|
}],
|
|
462
462
|
/**
|
|
463
463
|
* Position
|
|
@@ -537,7 +537,7 @@ const c = (e) => {
|
|
|
537
537
|
* @see https://tailwindcss.com/docs/z-index
|
|
538
538
|
*/
|
|
539
539
|
z: [{
|
|
540
|
-
z: ["auto",
|
|
540
|
+
z: ["auto", I, i]
|
|
541
541
|
}],
|
|
542
542
|
// Flexbox and Grid
|
|
543
543
|
/**
|
|
@@ -545,7 +545,7 @@ const c = (e) => {
|
|
|
545
545
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
546
546
|
*/
|
|
547
547
|
basis: [{
|
|
548
|
-
basis:
|
|
548
|
+
basis: U()
|
|
549
549
|
}],
|
|
550
550
|
/**
|
|
551
551
|
* Flex Direction
|
|
@@ -566,28 +566,28 @@ const c = (e) => {
|
|
|
566
566
|
* @see https://tailwindcss.com/docs/flex
|
|
567
567
|
*/
|
|
568
568
|
flex: [{
|
|
569
|
-
flex: ["1", "auto", "initial", "none",
|
|
569
|
+
flex: ["1", "auto", "initial", "none", i]
|
|
570
570
|
}],
|
|
571
571
|
/**
|
|
572
572
|
* Flex Grow
|
|
573
573
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
574
574
|
*/
|
|
575
575
|
grow: [{
|
|
576
|
-
grow:
|
|
576
|
+
grow: G()
|
|
577
577
|
}],
|
|
578
578
|
/**
|
|
579
579
|
* Flex Shrink
|
|
580
580
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
581
581
|
*/
|
|
582
582
|
shrink: [{
|
|
583
|
-
shrink:
|
|
583
|
+
shrink: G()
|
|
584
584
|
}],
|
|
585
585
|
/**
|
|
586
586
|
* Order
|
|
587
587
|
* @see https://tailwindcss.com/docs/order
|
|
588
588
|
*/
|
|
589
589
|
order: [{
|
|
590
|
-
order: ["first", "last", "none",
|
|
590
|
+
order: ["first", "last", "none", I, i]
|
|
591
591
|
}],
|
|
592
592
|
/**
|
|
593
593
|
* Grid Template Columns
|
|
@@ -602,22 +602,22 @@ const c = (e) => {
|
|
|
602
602
|
*/
|
|
603
603
|
"col-start-end": [{
|
|
604
604
|
col: ["auto", {
|
|
605
|
-
span: ["full",
|
|
606
|
-
},
|
|
605
|
+
span: ["full", I, i]
|
|
606
|
+
}, i]
|
|
607
607
|
}],
|
|
608
608
|
/**
|
|
609
609
|
* Grid Column Start
|
|
610
610
|
* @see https://tailwindcss.com/docs/grid-column
|
|
611
611
|
*/
|
|
612
612
|
"col-start": [{
|
|
613
|
-
"col-start":
|
|
613
|
+
"col-start": N()
|
|
614
614
|
}],
|
|
615
615
|
/**
|
|
616
616
|
* Grid Column End
|
|
617
617
|
* @see https://tailwindcss.com/docs/grid-column
|
|
618
618
|
*/
|
|
619
619
|
"col-end": [{
|
|
620
|
-
"col-end":
|
|
620
|
+
"col-end": N()
|
|
621
621
|
}],
|
|
622
622
|
/**
|
|
623
623
|
* Grid Template Rows
|
|
@@ -632,22 +632,22 @@ const c = (e) => {
|
|
|
632
632
|
*/
|
|
633
633
|
"row-start-end": [{
|
|
634
634
|
row: ["auto", {
|
|
635
|
-
span: [
|
|
636
|
-
},
|
|
635
|
+
span: [I, i]
|
|
636
|
+
}, i]
|
|
637
637
|
}],
|
|
638
638
|
/**
|
|
639
639
|
* Grid Row Start
|
|
640
640
|
* @see https://tailwindcss.com/docs/grid-row
|
|
641
641
|
*/
|
|
642
642
|
"row-start": [{
|
|
643
|
-
"row-start":
|
|
643
|
+
"row-start": N()
|
|
644
644
|
}],
|
|
645
645
|
/**
|
|
646
646
|
* Grid Row End
|
|
647
647
|
* @see https://tailwindcss.com/docs/grid-row
|
|
648
648
|
*/
|
|
649
649
|
"row-end": [{
|
|
650
|
-
"row-end":
|
|
650
|
+
"row-end": N()
|
|
651
651
|
}],
|
|
652
652
|
/**
|
|
653
653
|
* Grid Auto Flow
|
|
@@ -661,14 +661,14 @@ const c = (e) => {
|
|
|
661
661
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
662
662
|
*/
|
|
663
663
|
"auto-cols": [{
|
|
664
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
664
|
+
"auto-cols": ["auto", "min", "max", "fr", i]
|
|
665
665
|
}],
|
|
666
666
|
/**
|
|
667
667
|
* Grid Auto Rows
|
|
668
668
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
669
669
|
*/
|
|
670
670
|
"auto-rows": [{
|
|
671
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
671
|
+
"auto-rows": ["auto", "min", "max", "fr", i]
|
|
672
672
|
}],
|
|
673
673
|
/**
|
|
674
674
|
* Gap
|
|
@@ -696,7 +696,7 @@ const c = (e) => {
|
|
|
696
696
|
* @see https://tailwindcss.com/docs/justify-content
|
|
697
697
|
*/
|
|
698
698
|
"justify-content": [{
|
|
699
|
-
justify: ["normal", ...
|
|
699
|
+
justify: ["normal", ...W()]
|
|
700
700
|
}],
|
|
701
701
|
/**
|
|
702
702
|
* Justify Items
|
|
@@ -717,7 +717,7 @@ const c = (e) => {
|
|
|
717
717
|
* @see https://tailwindcss.com/docs/align-content
|
|
718
718
|
*/
|
|
719
719
|
"align-content": [{
|
|
720
|
-
content: ["normal", ...
|
|
720
|
+
content: ["normal", ...W(), "baseline"]
|
|
721
721
|
}],
|
|
722
722
|
/**
|
|
723
723
|
* Align Items
|
|
@@ -738,7 +738,7 @@ const c = (e) => {
|
|
|
738
738
|
* @see https://tailwindcss.com/docs/place-content
|
|
739
739
|
*/
|
|
740
740
|
"place-content": [{
|
|
741
|
-
"place-content": [...
|
|
741
|
+
"place-content": [...W(), "baseline"]
|
|
742
742
|
}],
|
|
743
743
|
/**
|
|
744
744
|
* Place Items
|
|
@@ -911,51 +911,51 @@ const c = (e) => {
|
|
|
911
911
|
* @see https://tailwindcss.com/docs/width
|
|
912
912
|
*/
|
|
913
913
|
w: [{
|
|
914
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
914
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", i, r]
|
|
915
915
|
}],
|
|
916
916
|
/**
|
|
917
917
|
* Min-Width
|
|
918
918
|
* @see https://tailwindcss.com/docs/min-width
|
|
919
919
|
*/
|
|
920
920
|
"min-w": [{
|
|
921
|
-
"min-w": [
|
|
921
|
+
"min-w": [i, r, "min", "max", "fit"]
|
|
922
922
|
}],
|
|
923
923
|
/**
|
|
924
924
|
* Max-Width
|
|
925
925
|
* @see https://tailwindcss.com/docs/max-width
|
|
926
926
|
*/
|
|
927
927
|
"max-w": [{
|
|
928
|
-
"max-w": [
|
|
929
|
-
screen: [
|
|
930
|
-
},
|
|
928
|
+
"max-w": [i, r, "none", "full", "min", "max", "fit", "prose", {
|
|
929
|
+
screen: [z]
|
|
930
|
+
}, z]
|
|
931
931
|
}],
|
|
932
932
|
/**
|
|
933
933
|
* Height
|
|
934
934
|
* @see https://tailwindcss.com/docs/height
|
|
935
935
|
*/
|
|
936
936
|
h: [{
|
|
937
|
-
h: [
|
|
937
|
+
h: [i, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
938
938
|
}],
|
|
939
939
|
/**
|
|
940
940
|
* Min-Height
|
|
941
941
|
* @see https://tailwindcss.com/docs/min-height
|
|
942
942
|
*/
|
|
943
943
|
"min-h": [{
|
|
944
|
-
"min-h": [
|
|
944
|
+
"min-h": [i, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
945
945
|
}],
|
|
946
946
|
/**
|
|
947
947
|
* Max-Height
|
|
948
948
|
* @see https://tailwindcss.com/docs/max-height
|
|
949
949
|
*/
|
|
950
950
|
"max-h": [{
|
|
951
|
-
"max-h": [
|
|
951
|
+
"max-h": [i, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
952
952
|
}],
|
|
953
953
|
/**
|
|
954
954
|
* Size
|
|
955
955
|
* @see https://tailwindcss.com/docs/size
|
|
956
956
|
*/
|
|
957
957
|
size: [{
|
|
958
|
-
size: [
|
|
958
|
+
size: [i, r, "auto", "min", "max", "fit"]
|
|
959
959
|
}],
|
|
960
960
|
// Typography
|
|
961
961
|
/**
|
|
@@ -963,7 +963,7 @@ const c = (e) => {
|
|
|
963
963
|
* @see https://tailwindcss.com/docs/font-size
|
|
964
964
|
*/
|
|
965
965
|
"font-size": [{
|
|
966
|
-
text: ["base",
|
|
966
|
+
text: ["base", z, S]
|
|
967
967
|
}],
|
|
968
968
|
/**
|
|
969
969
|
* Font Smoothing
|
|
@@ -980,7 +980,7 @@ const c = (e) => {
|
|
|
980
980
|
* @see https://tailwindcss.com/docs/font-weight
|
|
981
981
|
*/
|
|
982
982
|
"font-weight": [{
|
|
983
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
983
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", B]
|
|
984
984
|
}],
|
|
985
985
|
/**
|
|
986
986
|
* Font Family
|
|
@@ -1024,35 +1024,35 @@ const c = (e) => {
|
|
|
1024
1024
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1025
1025
|
*/
|
|
1026
1026
|
tracking: [{
|
|
1027
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
1027
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", i]
|
|
1028
1028
|
}],
|
|
1029
1029
|
/**
|
|
1030
1030
|
* Line Clamp
|
|
1031
1031
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1032
1032
|
*/
|
|
1033
1033
|
"line-clamp": [{
|
|
1034
|
-
"line-clamp": ["none", M,
|
|
1034
|
+
"line-clamp": ["none", M, B]
|
|
1035
1035
|
}],
|
|
1036
1036
|
/**
|
|
1037
1037
|
* Line Height
|
|
1038
1038
|
* @see https://tailwindcss.com/docs/line-height
|
|
1039
1039
|
*/
|
|
1040
1040
|
leading: [{
|
|
1041
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
1041
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k, i]
|
|
1042
1042
|
}],
|
|
1043
1043
|
/**
|
|
1044
1044
|
* List Style Image
|
|
1045
1045
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1046
1046
|
*/
|
|
1047
1047
|
"list-image": [{
|
|
1048
|
-
"list-image": ["none",
|
|
1048
|
+
"list-image": ["none", i]
|
|
1049
1049
|
}],
|
|
1050
1050
|
/**
|
|
1051
1051
|
* List Style Type
|
|
1052
1052
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1053
1053
|
*/
|
|
1054
1054
|
"list-style-type": [{
|
|
1055
|
-
list: ["none", "disc", "decimal",
|
|
1055
|
+
list: ["none", "disc", "decimal", i]
|
|
1056
1056
|
}],
|
|
1057
1057
|
/**
|
|
1058
1058
|
* List Style Position
|
|
@@ -1107,21 +1107,21 @@ const c = (e) => {
|
|
|
1107
1107
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1108
1108
|
*/
|
|
1109
1109
|
"text-decoration-style": [{
|
|
1110
|
-
decoration: [
|
|
1110
|
+
decoration: [...O(), "wavy"]
|
|
1111
1111
|
}],
|
|
1112
1112
|
/**
|
|
1113
1113
|
* Text Decoration Thickness
|
|
1114
1114
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1115
1115
|
*/
|
|
1116
1116
|
"text-decoration-thickness": [{
|
|
1117
|
-
decoration: ["auto", "from-font",
|
|
1117
|
+
decoration: ["auto", "from-font", k, S]
|
|
1118
1118
|
}],
|
|
1119
1119
|
/**
|
|
1120
1120
|
* Text Underline Offset
|
|
1121
1121
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1122
1122
|
*/
|
|
1123
1123
|
"underline-offset": [{
|
|
1124
|
-
"underline-offset": ["auto",
|
|
1124
|
+
"underline-offset": ["auto", k, i]
|
|
1125
1125
|
}],
|
|
1126
1126
|
/**
|
|
1127
1127
|
* Text Decoration Color
|
|
@@ -1159,7 +1159,7 @@ const c = (e) => {
|
|
|
1159
1159
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1160
1160
|
*/
|
|
1161
1161
|
"vertical-align": [{
|
|
1162
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1162
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i]
|
|
1163
1163
|
}],
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Whitespace
|
|
@@ -1187,7 +1187,7 @@ const c = (e) => {
|
|
|
1187
1187
|
* @see https://tailwindcss.com/docs/content
|
|
1188
1188
|
*/
|
|
1189
1189
|
content: [{
|
|
1190
|
-
content: ["none",
|
|
1190
|
+
content: ["none", i]
|
|
1191
1191
|
}],
|
|
1192
1192
|
// Backgrounds
|
|
1193
1193
|
/**
|
|
@@ -1224,7 +1224,7 @@ const c = (e) => {
|
|
|
1224
1224
|
* @see https://tailwindcss.com/docs/background-position
|
|
1225
1225
|
*/
|
|
1226
1226
|
"bg-position": [{
|
|
1227
|
-
bg: [...H(),
|
|
1227
|
+
bg: [...H(), Ee]
|
|
1228
1228
|
}],
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Background Repeat
|
|
@@ -1249,7 +1249,7 @@ const c = (e) => {
|
|
|
1249
1249
|
"bg-image": [{
|
|
1250
1250
|
bg: ["none", {
|
|
1251
1251
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1252
|
-
},
|
|
1252
|
+
}, _e]
|
|
1253
1253
|
}],
|
|
1254
1254
|
/**
|
|
1255
1255
|
* Background Color
|
|
@@ -1481,7 +1481,7 @@ const c = (e) => {
|
|
|
1481
1481
|
* @see https://tailwindcss.com/docs/border-style
|
|
1482
1482
|
*/
|
|
1483
1483
|
"border-style": [{
|
|
1484
|
-
border: [
|
|
1484
|
+
border: [...O(), "hidden"]
|
|
1485
1485
|
}],
|
|
1486
1486
|
/**
|
|
1487
1487
|
* Divide Width X
|
|
@@ -1519,98 +1519,98 @@ const c = (e) => {
|
|
|
1519
1519
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1520
1520
|
*/
|
|
1521
1521
|
"divide-style": [{
|
|
1522
|
-
divide:
|
|
1522
|
+
divide: O()
|
|
1523
1523
|
}],
|
|
1524
1524
|
/**
|
|
1525
1525
|
* Border Color
|
|
1526
1526
|
* @see https://tailwindcss.com/docs/border-color
|
|
1527
1527
|
*/
|
|
1528
1528
|
"border-color": [{
|
|
1529
|
-
border: [
|
|
1529
|
+
border: [a]
|
|
1530
1530
|
}],
|
|
1531
1531
|
/**
|
|
1532
1532
|
* Border Color X
|
|
1533
1533
|
* @see https://tailwindcss.com/docs/border-color
|
|
1534
1534
|
*/
|
|
1535
1535
|
"border-color-x": [{
|
|
1536
|
-
"border-x": [
|
|
1536
|
+
"border-x": [a]
|
|
1537
1537
|
}],
|
|
1538
1538
|
/**
|
|
1539
1539
|
* Border Color Y
|
|
1540
1540
|
* @see https://tailwindcss.com/docs/border-color
|
|
1541
1541
|
*/
|
|
1542
1542
|
"border-color-y": [{
|
|
1543
|
-
"border-y": [
|
|
1543
|
+
"border-y": [a]
|
|
1544
1544
|
}],
|
|
1545
1545
|
/**
|
|
1546
1546
|
* Border Color S
|
|
1547
1547
|
* @see https://tailwindcss.com/docs/border-color
|
|
1548
1548
|
*/
|
|
1549
1549
|
"border-color-s": [{
|
|
1550
|
-
"border-s": [
|
|
1550
|
+
"border-s": [a]
|
|
1551
1551
|
}],
|
|
1552
1552
|
/**
|
|
1553
1553
|
* Border Color E
|
|
1554
1554
|
* @see https://tailwindcss.com/docs/border-color
|
|
1555
1555
|
*/
|
|
1556
1556
|
"border-color-e": [{
|
|
1557
|
-
"border-e": [
|
|
1557
|
+
"border-e": [a]
|
|
1558
1558
|
}],
|
|
1559
1559
|
/**
|
|
1560
1560
|
* Border Color Top
|
|
1561
1561
|
* @see https://tailwindcss.com/docs/border-color
|
|
1562
1562
|
*/
|
|
1563
1563
|
"border-color-t": [{
|
|
1564
|
-
"border-t": [
|
|
1564
|
+
"border-t": [a]
|
|
1565
1565
|
}],
|
|
1566
1566
|
/**
|
|
1567
1567
|
* Border Color Right
|
|
1568
1568
|
* @see https://tailwindcss.com/docs/border-color
|
|
1569
1569
|
*/
|
|
1570
1570
|
"border-color-r": [{
|
|
1571
|
-
"border-r": [
|
|
1571
|
+
"border-r": [a]
|
|
1572
1572
|
}],
|
|
1573
1573
|
/**
|
|
1574
1574
|
* Border Color Bottom
|
|
1575
1575
|
* @see https://tailwindcss.com/docs/border-color
|
|
1576
1576
|
*/
|
|
1577
1577
|
"border-color-b": [{
|
|
1578
|
-
"border-b": [
|
|
1578
|
+
"border-b": [a]
|
|
1579
1579
|
}],
|
|
1580
1580
|
/**
|
|
1581
1581
|
* Border Color Left
|
|
1582
1582
|
* @see https://tailwindcss.com/docs/border-color
|
|
1583
1583
|
*/
|
|
1584
1584
|
"border-color-l": [{
|
|
1585
|
-
"border-l": [
|
|
1585
|
+
"border-l": [a]
|
|
1586
1586
|
}],
|
|
1587
1587
|
/**
|
|
1588
1588
|
* Divide Color
|
|
1589
1589
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1590
1590
|
*/
|
|
1591
1591
|
"divide-color": [{
|
|
1592
|
-
divide: [
|
|
1592
|
+
divide: [a]
|
|
1593
1593
|
}],
|
|
1594
1594
|
/**
|
|
1595
1595
|
* Outline Style
|
|
1596
1596
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1597
1597
|
*/
|
|
1598
1598
|
"outline-style": [{
|
|
1599
|
-
outline: ["",
|
|
1599
|
+
outline: ["", ...O()]
|
|
1600
1600
|
}],
|
|
1601
1601
|
/**
|
|
1602
1602
|
* Outline Offset
|
|
1603
1603
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1604
1604
|
*/
|
|
1605
1605
|
"outline-offset": [{
|
|
1606
|
-
"outline-offset": [
|
|
1606
|
+
"outline-offset": [k, i]
|
|
1607
1607
|
}],
|
|
1608
1608
|
/**
|
|
1609
1609
|
* Outline Width
|
|
1610
1610
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1611
1611
|
*/
|
|
1612
1612
|
"outline-w": [{
|
|
1613
|
-
outline: [
|
|
1613
|
+
outline: [k, S]
|
|
1614
1614
|
}],
|
|
1615
1615
|
/**
|
|
1616
1616
|
* Outline Color
|
|
@@ -1650,7 +1650,7 @@ const c = (e) => {
|
|
|
1650
1650
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1651
1651
|
*/
|
|
1652
1652
|
"ring-offset-w": [{
|
|
1653
|
-
"ring-offset": [
|
|
1653
|
+
"ring-offset": [k, S]
|
|
1654
1654
|
}],
|
|
1655
1655
|
/**
|
|
1656
1656
|
* Ring Offset Color
|
|
@@ -1665,7 +1665,7 @@ const c = (e) => {
|
|
|
1665
1665
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1666
1666
|
*/
|
|
1667
1667
|
shadow: [{
|
|
1668
|
-
shadow: ["", "inner", "none",
|
|
1668
|
+
shadow: ["", "inner", "none", z, Ne]
|
|
1669
1669
|
}],
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Box Shadow Color
|
|
@@ -1730,7 +1730,7 @@ const c = (e) => {
|
|
|
1730
1730
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1731
1731
|
*/
|
|
1732
1732
|
"drop-shadow": [{
|
|
1733
|
-
"drop-shadow": ["", "none",
|
|
1733
|
+
"drop-shadow": ["", "none", z, i]
|
|
1734
1734
|
}],
|
|
1735
1735
|
/**
|
|
1736
1736
|
* Grayscale
|
|
@@ -1758,14 +1758,14 @@ const c = (e) => {
|
|
|
1758
1758
|
* @see https://tailwindcss.com/docs/saturate
|
|
1759
1759
|
*/
|
|
1760
1760
|
saturate: [{
|
|
1761
|
-
saturate: [
|
|
1761
|
+
saturate: [R]
|
|
1762
1762
|
}],
|
|
1763
1763
|
/**
|
|
1764
1764
|
* Sepia
|
|
1765
1765
|
* @see https://tailwindcss.com/docs/sepia
|
|
1766
1766
|
*/
|
|
1767
1767
|
sepia: [{
|
|
1768
|
-
sepia: [
|
|
1768
|
+
sepia: [_]
|
|
1769
1769
|
}],
|
|
1770
1770
|
/**
|
|
1771
1771
|
* Backdrop Filter
|
|
@@ -1829,14 +1829,14 @@ const c = (e) => {
|
|
|
1829
1829
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1830
1830
|
*/
|
|
1831
1831
|
"backdrop-saturate": [{
|
|
1832
|
-
"backdrop-saturate": [
|
|
1832
|
+
"backdrop-saturate": [R]
|
|
1833
1833
|
}],
|
|
1834
1834
|
/**
|
|
1835
1835
|
* Backdrop Sepia
|
|
1836
1836
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1837
1837
|
*/
|
|
1838
1838
|
"backdrop-sepia": [{
|
|
1839
|
-
"backdrop-sepia": [
|
|
1839
|
+
"backdrop-sepia": [_]
|
|
1840
1840
|
}],
|
|
1841
1841
|
// Tables
|
|
1842
1842
|
/**
|
|
@@ -1887,35 +1887,35 @@ const c = (e) => {
|
|
|
1887
1887
|
* @see https://tailwindcss.com/docs/transition-property
|
|
1888
1888
|
*/
|
|
1889
1889
|
transition: [{
|
|
1890
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
1890
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", i]
|
|
1891
1891
|
}],
|
|
1892
1892
|
/**
|
|
1893
1893
|
* Transition Duration
|
|
1894
1894
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
1895
1895
|
*/
|
|
1896
1896
|
duration: [{
|
|
1897
|
-
duration:
|
|
1897
|
+
duration: C()
|
|
1898
1898
|
}],
|
|
1899
1899
|
/**
|
|
1900
1900
|
* Transition Timing Function
|
|
1901
1901
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
1902
1902
|
*/
|
|
1903
1903
|
ease: [{
|
|
1904
|
-
ease: ["linear", "in", "out", "in-out",
|
|
1904
|
+
ease: ["linear", "in", "out", "in-out", i]
|
|
1905
1905
|
}],
|
|
1906
1906
|
/**
|
|
1907
1907
|
* Transition Delay
|
|
1908
1908
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
1909
1909
|
*/
|
|
1910
1910
|
delay: [{
|
|
1911
|
-
delay:
|
|
1911
|
+
delay: C()
|
|
1912
1912
|
}],
|
|
1913
1913
|
/**
|
|
1914
1914
|
* Animation
|
|
1915
1915
|
* @see https://tailwindcss.com/docs/animation
|
|
1916
1916
|
*/
|
|
1917
1917
|
animate: [{
|
|
1918
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
1918
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", i]
|
|
1919
1919
|
}],
|
|
1920
1920
|
// Transforms
|
|
1921
1921
|
/**
|
|
@@ -1951,7 +1951,7 @@ const c = (e) => {
|
|
|
1951
1951
|
* @see https://tailwindcss.com/docs/rotate
|
|
1952
1952
|
*/
|
|
1953
1953
|
rotate: [{
|
|
1954
|
-
rotate: [
|
|
1954
|
+
rotate: [I, i]
|
|
1955
1955
|
}],
|
|
1956
1956
|
/**
|
|
1957
1957
|
* Translate X
|
|
@@ -1986,7 +1986,7 @@ const c = (e) => {
|
|
|
1986
1986
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
1987
1987
|
*/
|
|
1988
1988
|
"transform-origin": [{
|
|
1989
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
1989
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", i]
|
|
1990
1990
|
}],
|
|
1991
1991
|
// Interactivity
|
|
1992
1992
|
/**
|
|
@@ -2008,7 +2008,7 @@ const c = (e) => {
|
|
|
2008
2008
|
* @see https://tailwindcss.com/docs/cursor
|
|
2009
2009
|
*/
|
|
2010
2010
|
cursor: [{
|
|
2011
|
-
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",
|
|
2011
|
+
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", i]
|
|
2012
2012
|
}],
|
|
2013
2013
|
/**
|
|
2014
2014
|
* Caret Color
|
|
@@ -2230,7 +2230,7 @@ const c = (e) => {
|
|
|
2230
2230
|
* @see https://tailwindcss.com/docs/will-change
|
|
2231
2231
|
*/
|
|
2232
2232
|
"will-change": [{
|
|
2233
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2233
|
+
"will-change": ["auto", "scroll", "contents", "transform", i]
|
|
2234
2234
|
}],
|
|
2235
2235
|
// SVG
|
|
2236
2236
|
/**
|
|
@@ -2245,7 +2245,7 @@ const c = (e) => {
|
|
|
2245
2245
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2246
2246
|
*/
|
|
2247
2247
|
"stroke-w": [{
|
|
2248
|
-
stroke: [
|
|
2248
|
+
stroke: [k, S, B]
|
|
2249
2249
|
}],
|
|
2250
2250
|
/**
|
|
2251
2251
|
* Stroke
|
|
@@ -2320,33 +2320,33 @@ const c = (e) => {
|
|
|
2320
2320
|
"font-size": ["leading"]
|
|
2321
2321
|
}
|
|
2322
2322
|
};
|
|
2323
|
-
},
|
|
2323
|
+
}, Ue = (e, {
|
|
2324
2324
|
cacheSize: r,
|
|
2325
2325
|
prefix: t,
|
|
2326
2326
|
separator: o,
|
|
2327
|
-
experimentalParseClassName:
|
|
2327
|
+
experimentalParseClassName: a,
|
|
2328
2328
|
extend: n = {},
|
|
2329
2329
|
override: l = {}
|
|
2330
2330
|
}) => {
|
|
2331
|
-
|
|
2331
|
+
T(e, "cacheSize", r), T(e, "prefix", t), T(e, "separator", o), T(e, "experimentalParseClassName", a);
|
|
2332
2332
|
for (const s in l)
|
|
2333
|
-
|
|
2333
|
+
We(e[s], l[s]);
|
|
2334
2334
|
for (const s in n)
|
|
2335
|
-
|
|
2335
|
+
Be(e[s], n[s]);
|
|
2336
2336
|
return e;
|
|
2337
|
-
},
|
|
2337
|
+
}, T = (e, r, t) => {
|
|
2338
2338
|
t !== void 0 && (e[r] = t);
|
|
2339
|
-
},
|
|
2339
|
+
}, We = (e, r) => {
|
|
2340
2340
|
if (r)
|
|
2341
2341
|
for (const t in r)
|
|
2342
|
-
|
|
2343
|
-
},
|
|
2342
|
+
T(e, t, r[t]);
|
|
2343
|
+
}, Be = (e, r) => {
|
|
2344
2344
|
if (r)
|
|
2345
2345
|
for (const t in r) {
|
|
2346
2346
|
const o = r[t];
|
|
2347
2347
|
o !== void 0 && (e[t] = (e[t] || []).concat(o));
|
|
2348
2348
|
}
|
|
2349
|
-
},
|
|
2349
|
+
}, Ve = (e, ...r) => typeof e == "function" ? re(te, e, ...r) : re(() => Ue(te(), e), ...r), Fe = Ve({
|
|
2350
2350
|
extend: {
|
|
2351
2351
|
classGroups: {
|
|
2352
2352
|
rounded: ["rounded-control", "rounded-card"]
|
|
@@ -2354,7 +2354,7 @@ const c = (e) => {
|
|
|
2354
2354
|
}
|
|
2355
2355
|
});
|
|
2356
2356
|
function Ke(...e) {
|
|
2357
|
-
return Fe(
|
|
2357
|
+
return Fe(V(e));
|
|
2358
2358
|
}
|
|
2359
2359
|
var Xe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2360
2360
|
function Ze(e) {
|
|
@@ -2370,8 +2370,8 @@ function He(e) {
|
|
|
2370
2370
|
t.prototype = r.prototype;
|
|
2371
2371
|
} else t = {};
|
|
2372
2372
|
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
|
|
2373
|
-
var
|
|
2374
|
-
Object.defineProperty(t, o,
|
|
2373
|
+
var a = Object.getOwnPropertyDescriptor(e, o);
|
|
2374
|
+
Object.defineProperty(t, o, a.get ? a : {
|
|
2375
2375
|
enumerable: !0,
|
|
2376
2376
|
get: function() {
|
|
2377
2377
|
return e[o];
|
|
@@ -2379,12 +2379,25 @@ function He(e) {
|
|
|
2379
2379
|
});
|
|
2380
2380
|
}), t;
|
|
2381
2381
|
}
|
|
2382
|
+
const Qe = { none: 0, compact: 4, default: 10, roomy: 16 }, Ye = {
|
|
2383
|
+
outlined: { cardBorder: "on", cardShadow: "none", canvas: "muted" },
|
|
2384
|
+
raised: { cardBorder: "off", cardShadow: "raised", canvas: "muted" },
|
|
2385
|
+
open: { cardBorder: "off", cardShadow: "none", canvas: "background" }
|
|
2386
|
+
}, De = {
|
|
2387
|
+
square: { cardCorners: 0, controlCorners: 0 },
|
|
2388
|
+
subtle: { cardCorners: 5, controlCorners: 5 },
|
|
2389
|
+
rounded: { cardCorners: 10, controlCorners: 6 },
|
|
2390
|
+
round: { cardCorners: 16, controlCorners: 8 }
|
|
2391
|
+
};
|
|
2382
2392
|
export {
|
|
2383
|
-
|
|
2384
|
-
|
|
2393
|
+
Ye as C,
|
|
2394
|
+
Qe as S,
|
|
2395
|
+
De as a,
|
|
2396
|
+
V as b,
|
|
2385
2397
|
Ke as c,
|
|
2386
|
-
|
|
2387
|
-
|
|
2398
|
+
Xe as d,
|
|
2399
|
+
He as e,
|
|
2400
|
+
Je as f,
|
|
2388
2401
|
Ze as g,
|
|
2389
2402
|
qe as j
|
|
2390
2403
|
};
|