@mcp-use/inspector 20.0.0-beta.6 → 20.0.0-beta.7
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/cdn/{AnimatePresence-Dcw-FOy8.js → AnimatePresence-D1bZ5_-l.js} +79 -78
- package/dist/cdn/{ChatTab-D6J3Gyp7.js → ChatTab-DtUGK07C.js} +1951 -1932
- package/dist/cdn/CheckboxIndicator-BjF73mGX.js +252 -0
- package/dist/cdn/{ConnectionSettingsForm-CWQueI8J.js → ConnectionSettingsForm-CNuMa6jp.js} +202 -202
- package/dist/cdn/{ConnectionSettingsTab-FGyt3QaI.js → ConnectionSettingsTab-qSVQ1aIF.js} +36 -35
- package/dist/cdn/{ElicitationTab-CL1KJ0bz.js → ElicitationTab-PEmEDvC5.js} +47 -46
- package/dist/cdn/{FormContext-tmgN_Vdr.js → FormContext-NtUiZclE.js} +26 -26
- package/dist/cdn/{InspectorContext-UjtEbNod.js → InspectorContext-BBKCdfmK.js} +1 -1
- package/dist/cdn/{JSONDisplay-BFxf5oEu.js → JSONDisplay-BJqMz7Ny.js} +22 -22
- package/dist/cdn/{ListTabHeader-Cv-GmtGF.js → ListTabHeader-DzmTtN1e.js} +20 -19
- package/dist/cdn/{WidgetWrapper-CruwjBOd.js → MCPAppsDebugControls-BpP-Ifap.js} +514 -550
- package/dist/cdn/{ManufactOAuthCallback-B98kSYCj.js → ManufactOAuthCallback-ChbbjFIT.js} +2 -2
- package/dist/cdn/{MarkdownRenderer-gLqUICEd.js → MarkdownRenderer-bX1BrKgI.js} +23 -23
- package/dist/cdn/McpAppsViewPanel-jlsYQ7uS.js +56 -0
- package/dist/cdn/{NotificationsTab-CeImSrhx.js → NotificationsTab-B7uebqMV.js} +21 -21
- package/dist/cdn/{OAuthCallback-Bg2bP-o9.js → OAuthCallback--NZdLoWx.js} +3 -3
- package/dist/cdn/PromptsTab-BlXDcau3.js +902 -0
- package/dist/cdn/{ResourcesTab-CQkKni-P.js → ResourcesTab-D45_JojP.js} +116 -114
- package/dist/cdn/{SamplingTab-D8q-iCMc.js → SamplingTab-r7tImM6L.js} +34 -33
- package/dist/cdn/{ServerMetadataTab-CvrKX8fz.js → ServerMetadataTab-BM3VhSLf.js} +9 -9
- package/dist/cdn/{StatusIcon-D0-ARyOh.js → StatusIcon-Q3n3YRtE.js} +10 -11
- package/dist/cdn/{ToolsTab-6xaVH43x.js → ToolsTab-DOAO8HnS.js} +664 -652
- package/dist/cdn/{ViewPreview-Ohh6JwOn.js → ViewPreview-CBhrVdwx.js} +3 -3
- package/dist/cdn/{WidgetDebugContext-D4usL_MA.js → WidgetDebugContext-B6yoOVVV.js} +1 -11
- package/dist/cdn/WidgetWrapper-BlbQAh_X.js +12 -0
- package/dist/cdn/{bell-CGjAO_0s.js → bell-GrTZcnD2.js} +1 -1
- package/dist/cdn/{browser-CbQIH4w2.js → browser-DG2Z8392.js} +1 -1
- package/dist/cdn/{brush-B_mKhyxG.js → brush-CelVvMGp.js} +1 -1
- package/dist/cdn/button-CB4uOoUV.js +2509 -0
- package/dist/cdn/card-BA-DQk-G.js +41 -0
- package/dist/cdn/{checkbox-By0FklhG.js → checkbox-kwVa4gRX.js} +7 -7
- package/dist/cdn/{clock-CmUbSx_B.js → clock-YMF8Gtw5.js} +1 -1
- package/dist/cdn/{code-V_0nf5rg.js → code-C8sN2OGR.js} +1 -1
- package/dist/cdn/{jsx-runtime-CIxvMpEo.js → createLucideIcon-BONxC1L5.js} +57 -24
- package/dist/cdn/{dialog-BsDpuJd3.js → dialog-CJGnC5Ag.js} +171 -171
- package/dist/cdn/{dist-DaMB0Su9.js → dist-CTJnCYmk.js} +1 -1
- package/dist/cdn/{dist-CXHFvGre.js → dist-SxRsB1iS.js} +3 -3
- package/dist/cdn/{external-link-CjmfT6rW.js → external-link-Bo4lQxr1.js} +1 -1
- package/dist/cdn/{eye-B7H96av8.js → eye-pSGG7nvf.js} +1 -1
- package/dist/cdn/{folder-open-B3lu2rG_.js → folder-open-aM8CPtBO.js} +1 -1
- package/dist/cdn/{hash-BVQnWi7q.js → hash-DDs2vE1k.js} +1 -1
- package/dist/cdn/{history-Csw4rb44.js → history-BfUFpL1d.js} +1 -1
- package/dist/cdn/{index-browser-DkQOzkvX.js → index-browser-Dm3R1Mfe.js} +1 -1
- package/dist/cdn/{info-CNiOwqkf.js → info-BMkB68mB.js} +1 -1
- package/dist/cdn/{input-C2OBd4PJ.js → input-BCpgLXU1.js} +2993 -5499
- package/dist/cdn/inspector.css +1 -1
- package/dist/cdn/inspector.js +7106 -7140
- package/dist/cdn/{label-B9Jmm9be.js → label-A0UGV8FE.js} +9 -9
- package/dist/cdn/{loader-circle-BLy9A_pp.js → loader-circle-BKRHJEB7.js} +1 -1
- package/dist/cdn/{maximize-2-CH5Lq90B.js → maximize-2-DdrB_spi.js} +1 -1
- package/dist/cdn/{maximize-BALCV_ep.js → maximize-hSOCz133.js} +1 -1
- package/dist/cdn/{message-square-BnxdpJxZ.js → message-square-D3tKB3uJ.js} +1 -1
- package/dist/cdn/{not-found-DEtSM_Wd.js → not-found-BajFyZpp.js} +9 -11
- package/dist/cdn/{play-vuZ5PLnI.js → play-B1leulYf.js} +1 -1
- package/dist/cdn/providerMeta-CjGU4rID.js +436 -0
- package/dist/cdn/{react-BLtCruam.js → react-Bl-hSkvn.js} +562 -512
- package/dist/cdn/{refresh-cw-BXY-Pa0U.js → refresh-cw-CyvXrS91.js} +1 -1
- package/dist/cdn/{save-Tgil_AJZ.js → save-CmdEPUAm.js} +1 -1
- package/dist/cdn/{select-DDdiIPR2.js → select-CCFHjOGk.js} +808 -807
- package/dist/cdn/{servers-Dm72iTpY.js → servers-Dd0Vcp81.js} +5 -1
- package/dist/cdn/{shared-DaILIQPP.js → shared-CJVHJhag.js} +36 -36
- package/dist/cdn/{sheet-Br_l2kry.js → sheet-oyq1mIyg.js} +620 -619
- package/dist/cdn/{sparkles-BntO2rDR.js → sparkles-CxeZpVtX.js} +1 -1
- package/dist/cdn/spinner-Be1GlSGX.js +15 -0
- package/dist/cdn/{square-check-big-BvwQ17Bl.js → square-check-big-C_4wbfwF.js} +1 -1
- package/dist/cdn/{switch-C3IyQuid.js → switch-DHXEA_N5.js} +190 -189
- package/dist/cdn/{tabs-subtle-CkdI6Mac.js → tabs-subtle-Dubd6Kj8.js} +269 -268
- package/dist/cdn/{telemetry-C7Ytz2BG.js → telemetry-TwPKZlFf.js} +2 -2
- package/dist/cdn/{textarea-DSbwcFVt.js → textarea-CwmI8_uI.js} +6 -6
- package/dist/cdn/{trash-2-RwpJY5SL.js → trash-2-BhumJAFE.js} +1 -1
- package/dist/cdn/{useAriaLabelledBy-DqAdnppm.js → useAriaLabelledBy-Cra6w3YY.js} +2 -1
- package/dist/cdn/{useCompositeItem-BRqEzYh-.js → useCompositeItem-Dhnm-7el.js} +3 -3
- package/dist/cdn/{useConfig-BW6uQf2m.js → useConfig-leHVjdjl.js} +2 -2
- package/dist/cdn/{useSavedRequests-Ci2I919u.js → useSavedRequests-mSIsDd4c.js} +1 -1
- package/dist/cdn/{useViewHostProps-CINeSkth.js → useViewHostProps-CDOm2w6u.js} +124 -109
- package/dist/cdn/{wrench-DzGmCfnb.js → wrench-DvK20LUT.js} +1 -1
- package/dist/cdn/{x-C3vRQIYu.js → x-EilKPiCX.js} +1 -1
- package/dist/cdn/{zap-Mb-pbw2X.js → zap-0Wr9QO7N.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/client/components/ChatTab.d.ts.map +1 -1
- package/dist/client/components/MCPAppsDebugControls.d.ts.map +1 -1
- package/dist/client/components/ToolsTab.d.ts.map +1 -1
- package/dist/client/components/chat/ConfigurationDialog.d.ts.map +1 -1
- package/dist/client/components/chat/ToolResultRenderer.d.ts.map +1 -1
- package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts +29 -0
- package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts.map +1 -0
- package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +1 -1
- package/dist/client/components/tools/ToolResultDisplay.d.ts +2 -1
- package/dist/client/components/tools/ToolResultDisplay.d.ts.map +1 -1
- package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +1 -1
- package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +1 -1
- package/dist/client/components/ui/mesh-animation-pause.d.ts +14 -0
- package/dist/client/components/ui/mesh-animation-pause.d.ts.map +1 -0
- package/dist/client/components/ui/mesh-gradient-colors.d.ts +6 -0
- package/dist/client/components/ui/mesh-gradient-colors.d.ts.map +1 -0
- package/dist/client/components/ui/mesh-tab-background.d.ts +1 -1
- package/dist/client/components/ui/mesh-tab-background.d.ts.map +1 -1
- package/dist/client/components/ui/not-found.d.ts.map +1 -1
- package/dist/client/context/WidgetDebugContext.d.ts +1 -11
- package/dist/client/context/WidgetDebugContext.d.ts.map +1 -1
- package/dist/client/hooks/useDeviceViewport.d.ts +1 -5
- package/dist/client/hooks/useDeviceViewport.d.ts.map +1 -1
- package/dist/client/hooks/useViewHostProps.d.ts +1 -1
- package/dist/client/hooks/useViewHostProps.d.ts.map +1 -1
- package/dist/client/index.js +2086 -1860
- package/dist/client/utils/servers.d.ts +5 -0
- package/dist/client/utils/servers.d.ts.map +1 -1
- package/dist/server/cdn-shell.js +2 -2
- package/dist/server/{chunk-GBY4WAVP.js → chunk-5GVQGIAX.js} +1 -1
- package/dist/server/{chunk-IFF5T5J4.js → chunk-UZZDBVKF.js} +1 -1
- package/dist/server/{chunk-NUHI6MJ6.js → chunk-VFVFLXKP.js} +1 -1
- package/dist/server/cli.js +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/middleware.js +3 -3
- package/dist/server/version.js +1 -1
- package/dist/web/assets/AnimatePresence-FfDQQNFJ.js +9 -0
- package/dist/web/assets/ChatTab-B6ubLbeA.js +18 -0
- package/dist/web/assets/ConnectionSettingsTab-Cb2eDgEu.js +1 -0
- package/dist/web/assets/ElicitationTab-CbnCrmu9.js +1 -0
- package/dist/web/assets/FormContext-sV-yByKz.js +1 -0
- package/dist/web/assets/ListTabHeader-CrGae306.js +1 -0
- package/dist/web/assets/MCPAppsDebugControls-sRglMhat.js +34 -0
- package/dist/web/assets/{ManufactOAuthCallback-BRO6TPkZ.js → ManufactOAuthCallback-D4uYGigW.js} +1 -1
- package/dist/web/assets/{MarkdownRenderer-gaJFjbtr.js → MarkdownRenderer-Cwxp9fLj.js} +2 -2
- package/dist/web/assets/McpAppsViewPanel-jQYFoZNX.js +1 -0
- package/dist/web/assets/{NotificationsTab-LYcfRjyd.js → NotificationsTab-DuSm762_.js} +1 -1
- package/dist/web/assets/{OAuthCallback-D8UItgTB.js → OAuthCallback-VLHlUe2c.js} +1 -1
- package/dist/web/assets/PromptsTab-DK6XZxR8.js +15 -0
- package/dist/web/assets/ResourcesTab-CUE4MAtJ.js +2 -0
- package/dist/web/assets/SamplingTab-BYNkVCTu.js +1 -0
- package/dist/web/assets/ServerMetadataTab-DWjNFMbq.js +1 -0
- package/dist/web/assets/ToolsTab-BisWWY2p.js +8 -0
- package/dist/web/assets/{ViewPreview--z6jL0Zg.js → ViewPreview-COrmPpRr.js} +1 -1
- package/dist/web/assets/WidgetWrapper-cv_BM1bY.js +1 -0
- package/dist/web/assets/{brush--0LobUi4.js → brush-DX0UZ_pI.js} +1 -1
- package/dist/web/assets/button-C8Xa2k4x.js +1 -0
- package/dist/web/assets/checkbox-B6dtF73d.js +1 -0
- package/dist/web/assets/code-B14rVdNt.js +1 -0
- package/dist/web/assets/createLucideIcon-BEHeJH0M.js +1 -0
- package/dist/web/assets/{dist-B8sA8Zml.js → dist-9Oy7e0v8.js} +4 -4
- package/dist/web/assets/index-BMaSsizY.js +499 -0
- package/dist/web/assets/index-D7TVTIt9.css +1 -0
- package/dist/web/assets/input-C0OQCUZy.js +1 -0
- package/dist/web/assets/{label-Cdim77Jw.js → label-CI7JWQOo.js} +1 -1
- package/dist/web/assets/{maximize-2-BTT9QQU9.js → maximize-2-Br1WQzT2.js} +1 -1
- package/dist/web/assets/{maximize-_O55kFcr.js → maximize-CJNgRe6S.js} +1 -1
- package/dist/web/assets/{refresh-cw-C9wQl8_d.js → refresh-cw-B5iaAZKn.js} +1 -1
- package/dist/web/assets/{save-B-MsgxX9.js → save-TM6fvNrt.js} +1 -1
- package/dist/web/assets/select-D6jzbLJn.js +1 -0
- package/dist/web/assets/shared-CFs9CZfB.js +1 -0
- package/dist/web/assets/{sparkles-2OAsc1aP.js → sparkles-BGYTDThM.js} +1 -1
- package/dist/web/assets/tabs-subtle-D2XkWhLL.js +1 -0
- package/dist/web/assets/textarea-CRTXuRmE.js +1 -0
- package/dist/web/assets/{useConfig-BAsKhUxf.js → useConfig-B6tXvJOb.js} +1 -1
- package/dist/web/assets/useViewHostProps-DZqOwiAm.js +1 -0
- package/dist/web/assets/{zap-Du2Uc5pa.js → zap-BDWHCVHU.js} +1 -1
- package/dist/web/index.html +10 -10
- package/package.json +4 -4
- package/dist/cdn/CheckboxIndicator-Bt4IICtv.js +0 -251
- package/dist/cdn/PromptsTab-C4LuwyWN.js +0 -901
- package/dist/cdn/card-DgiYnSg-.js +0 -41
- package/dist/cdn/createLucideIcon-C5fZZ6oB.js +0 -38
- package/dist/cdn/providerMeta-BQIfHuNL.js +0 -379
- package/dist/cdn/spinner-jQtC7EBj.js +0 -15
- package/dist/web/assets/AnimatePresence-C5p0yiY1.js +0 -9
- package/dist/web/assets/ChatTab-CsBPVCSc.js +0 -18
- package/dist/web/assets/ConnectionSettingsTab-DQTXfnl1.js +0 -1
- package/dist/web/assets/ElicitationTab-_FKB7nNG.js +0 -1
- package/dist/web/assets/FormContext-DH2caWKO.js +0 -1
- package/dist/web/assets/ListTabHeader-R17w_JsB.js +0 -1
- package/dist/web/assets/PromptsTab-B2uVMRR2.js +0 -15
- package/dist/web/assets/ResourcesTab-DhOZYPjE.js +0 -2
- package/dist/web/assets/SamplingTab-C-oY2hoi.js +0 -1
- package/dist/web/assets/ServerMetadataTab-BkTxO5KS.js +0 -1
- package/dist/web/assets/ToolsTab-DupHgo7A.js +0 -8
- package/dist/web/assets/WidgetWrapper-CZaEVEw4.js +0 -34
- package/dist/web/assets/checkbox-BQ9mI_6k.js +0 -1
- package/dist/web/assets/code-tME-5H6D.js +0 -1
- package/dist/web/assets/createLucideIcon-B3b8EU0b.js +0 -1
- package/dist/web/assets/index-C_fCIJ4C.js +0 -492
- package/dist/web/assets/index-fBX3akc8.css +0 -1
- package/dist/web/assets/input-CLYhA7PK.js +0 -1
- package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +0 -1
- package/dist/web/assets/select-CJ57-Bor.js +0 -1
- package/dist/web/assets/shared-CCC9rTz4.js +0 -1
- package/dist/web/assets/tabs-subtle-246ABJqx.js +0 -1
- package/dist/web/assets/textarea-DLAmNVf_.js +0 -1
- package/dist/web/assets/useViewHostProps-CV5zBxUb.js +0 -1
|
@@ -0,0 +1,2509 @@
|
|
|
1
|
+
import { s as e, t } from "./react-BIs9pQ3H.js";
|
|
2
|
+
import { n } from "./createLucideIcon-BONxC1L5.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
4
|
+
var r = /* @__PURE__ */ e(t(), 1);
|
|
5
|
+
function i(e) {
|
|
6
|
+
var t, n, r = "";
|
|
7
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
8
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
9
|
+
var a = e.length;
|
|
10
|
+
for (t = 0; t < a; t++) e[t] && (n = i(e[t])) && (r && (r += " "), r += n);
|
|
11
|
+
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
12
|
+
return r;
|
|
13
|
+
}
|
|
14
|
+
function a() {
|
|
15
|
+
for (var e, t, n = 0, r = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = i(e)) && (r && (r += " "), r += t);
|
|
16
|
+
return r;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region ../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs
|
|
20
|
+
var o = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, s = a, c = (e, t) => (n) => {
|
|
21
|
+
if (t?.variants == null) return s(e, n?.class, n?.className);
|
|
22
|
+
let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
|
|
23
|
+
let t = n?.[e], a = i?.[e];
|
|
24
|
+
if (t === null) return null;
|
|
25
|
+
let s = o(t) || o(a);
|
|
26
|
+
return r[e][s];
|
|
27
|
+
}), c = n && Object.entries(n).reduce((e, t) => {
|
|
28
|
+
let [n, r] = t;
|
|
29
|
+
return r === void 0 || (e[n] = r), e;
|
|
30
|
+
}, {});
|
|
31
|
+
return s(e, a, t?.compoundVariants?.reduce((e, t) => {
|
|
32
|
+
let { class: n, className: r, ...a } = t;
|
|
33
|
+
return Object.entries(a).every((e) => {
|
|
34
|
+
let [t, n] = e;
|
|
35
|
+
return Array.isArray(n) ? n.includes({
|
|
36
|
+
...i,
|
|
37
|
+
...c
|
|
38
|
+
}[t]) : {
|
|
39
|
+
...i,
|
|
40
|
+
...c
|
|
41
|
+
}[t] === n;
|
|
42
|
+
}) ? [
|
|
43
|
+
...e,
|
|
44
|
+
n,
|
|
45
|
+
r
|
|
46
|
+
] : e;
|
|
47
|
+
}, []), n?.class, n?.className);
|
|
48
|
+
}, l = (e, t) => {
|
|
49
|
+
let n = Array(e.length + t.length);
|
|
50
|
+
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
51
|
+
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
52
|
+
return n;
|
|
53
|
+
}, u = (e, t) => ({
|
|
54
|
+
classGroupId: e,
|
|
55
|
+
validator: t
|
|
56
|
+
}), d = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
57
|
+
nextPart: e,
|
|
58
|
+
validators: t,
|
|
59
|
+
classGroupId: n
|
|
60
|
+
}), f = "-", p = [], m = "arbitrary..", h = (e) => {
|
|
61
|
+
let t = v(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
62
|
+
return {
|
|
63
|
+
getClassGroupId: (e) => {
|
|
64
|
+
if (e.startsWith("[") && e.endsWith("]")) return _(e);
|
|
65
|
+
let n = e.split(f);
|
|
66
|
+
return g(n, +(n[0] === "" && n.length > 1), t);
|
|
67
|
+
},
|
|
68
|
+
getConflictingClassGroupIds: (e, t) => {
|
|
69
|
+
if (t) {
|
|
70
|
+
let t = r[e], i = n[e];
|
|
71
|
+
return t ? i ? l(i, t) : t : i || p;
|
|
72
|
+
}
|
|
73
|
+
return n[e] || p;
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}, g = (e, t, n) => {
|
|
77
|
+
if (e.length - t === 0) return n.classGroupId;
|
|
78
|
+
let r = e[t], i = n.nextPart.get(r);
|
|
79
|
+
if (i) {
|
|
80
|
+
let n = g(e, t + 1, i);
|
|
81
|
+
if (n) return n;
|
|
82
|
+
}
|
|
83
|
+
let a = n.validators;
|
|
84
|
+
if (a === null) return;
|
|
85
|
+
let o = t === 0 ? e.join(f) : e.slice(t).join(f), s = a.length;
|
|
86
|
+
for (let e = 0; e < s; e++) {
|
|
87
|
+
let t = a[e];
|
|
88
|
+
if (t.validator(o)) return t.classGroupId;
|
|
89
|
+
}
|
|
90
|
+
}, _ = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
91
|
+
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
92
|
+
return r ? m + r : void 0;
|
|
93
|
+
})(), v = (e) => {
|
|
94
|
+
let { theme: t, classGroups: n } = e;
|
|
95
|
+
return y(n, t);
|
|
96
|
+
}, y = (e, t) => {
|
|
97
|
+
let n = d();
|
|
98
|
+
for (let r in e) {
|
|
99
|
+
let i = e[r];
|
|
100
|
+
b(i, n, r, t);
|
|
101
|
+
}
|
|
102
|
+
return n;
|
|
103
|
+
}, b = (e, t, n, r) => {
|
|
104
|
+
let i = e.length;
|
|
105
|
+
for (let a = 0; a < i; a++) {
|
|
106
|
+
let i = e[a];
|
|
107
|
+
x(i, t, n, r);
|
|
108
|
+
}
|
|
109
|
+
}, x = (e, t, n, r) => {
|
|
110
|
+
if (typeof e == "string") {
|
|
111
|
+
S(e, t, n);
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
if (typeof e == "function") {
|
|
115
|
+
C(e, t, n, r);
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
w(e, t, n, r);
|
|
119
|
+
}, S = (e, t, n) => {
|
|
120
|
+
let r = e === "" ? t : T(t, e);
|
|
121
|
+
r.classGroupId = n;
|
|
122
|
+
}, C = (e, t, n, r) => {
|
|
123
|
+
if (ee(e)) {
|
|
124
|
+
b(e(r), t, n, r);
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
t.validators === null && (t.validators = []), t.validators.push(u(n, e));
|
|
128
|
+
}, w = (e, t, n, r) => {
|
|
129
|
+
let i = Object.entries(e), a = i.length;
|
|
130
|
+
for (let e = 0; e < a; e++) {
|
|
131
|
+
let [a, o] = i[e];
|
|
132
|
+
b(o, T(t, a), n, r);
|
|
133
|
+
}
|
|
134
|
+
}, T = (e, t) => {
|
|
135
|
+
let n = e, r = t.split(f), i = r.length;
|
|
136
|
+
for (let e = 0; e < i; e++) {
|
|
137
|
+
let t = r[e], i = n.nextPart.get(t);
|
|
138
|
+
i || (i = d(), n.nextPart.set(t, i)), n = i;
|
|
139
|
+
}
|
|
140
|
+
return n;
|
|
141
|
+
}, ee = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, te = (e) => {
|
|
142
|
+
if (e < 1) return {
|
|
143
|
+
get: () => void 0,
|
|
144
|
+
set: () => {}
|
|
145
|
+
};
|
|
146
|
+
let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {
|
|
147
|
+
n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));
|
|
148
|
+
};
|
|
149
|
+
return {
|
|
150
|
+
get(e) {
|
|
151
|
+
let t = n[e];
|
|
152
|
+
if (t !== void 0) return t;
|
|
153
|
+
if ((t = r[e]) !== void 0) return i(e, t), t;
|
|
154
|
+
},
|
|
155
|
+
set(e, t) {
|
|
156
|
+
e in n ? n[e] = t : i(e, t);
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
}, E = "!", ne = ":", re = [], D = (e, t, n, r, i) => ({
|
|
160
|
+
modifiers: e,
|
|
161
|
+
hasImportantModifier: t,
|
|
162
|
+
baseClassName: n,
|
|
163
|
+
maybePostfixModifierPosition: r,
|
|
164
|
+
isExternal: i
|
|
165
|
+
}), O = (e) => {
|
|
166
|
+
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
167
|
+
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
168
|
+
for (let s = 0; s < o; s++) {
|
|
169
|
+
let o = e[s];
|
|
170
|
+
if (n === 0 && r === 0) {
|
|
171
|
+
if (o === ne) {
|
|
172
|
+
t.push(e.slice(i, s)), i = s + 1;
|
|
173
|
+
continue;
|
|
174
|
+
}
|
|
175
|
+
if (o === "/") {
|
|
176
|
+
a = s;
|
|
177
|
+
continue;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
181
|
+
}
|
|
182
|
+
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
183
|
+
s.endsWith(E) ? (c = s.slice(0, -1), l = !0) : s.startsWith(E) && (c = s.slice(1), l = !0);
|
|
184
|
+
let u = a && a > i ? a - i : void 0;
|
|
185
|
+
return D(t, l, c, u);
|
|
186
|
+
};
|
|
187
|
+
if (t) {
|
|
188
|
+
let e = t + ne, n = r;
|
|
189
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : D(re, !1, t, void 0, !0);
|
|
190
|
+
}
|
|
191
|
+
if (n) {
|
|
192
|
+
let e = r;
|
|
193
|
+
r = (t) => n({
|
|
194
|
+
className: t,
|
|
195
|
+
parseClassName: e
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
return r;
|
|
199
|
+
}, k = (e) => {
|
|
200
|
+
let t = /* @__PURE__ */ new Map();
|
|
201
|
+
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
202
|
+
t.set(e, 1e6 + n);
|
|
203
|
+
}), (e) => {
|
|
204
|
+
let n = [], r = [];
|
|
205
|
+
for (let i = 0; i < e.length; i++) {
|
|
206
|
+
let a = e[i], o = a[0] === "[", s = t.has(a);
|
|
207
|
+
o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);
|
|
208
|
+
}
|
|
209
|
+
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
210
|
+
};
|
|
211
|
+
}, ie = (e) => ({
|
|
212
|
+
cache: te(e.cacheSize),
|
|
213
|
+
parseClassName: O(e),
|
|
214
|
+
sortModifiers: k(e),
|
|
215
|
+
...h(e)
|
|
216
|
+
}), ae = /\s+/, A = (e, t) => {
|
|
217
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a } = t, o = [], s = e.trim().split(ae), c = "";
|
|
218
|
+
for (let e = s.length - 1; e >= 0; --e) {
|
|
219
|
+
let t = s[e], { isExternal: l, modifiers: u, hasImportantModifier: d, baseClassName: f, maybePostfixModifierPosition: p } = n(t);
|
|
220
|
+
if (l) {
|
|
221
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
222
|
+
continue;
|
|
223
|
+
}
|
|
224
|
+
let m = !!p, h = r(m ? f.substring(0, p) : f);
|
|
225
|
+
if (!h) {
|
|
226
|
+
if (!m) {
|
|
227
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
228
|
+
continue;
|
|
229
|
+
}
|
|
230
|
+
if (h = r(f), !h) {
|
|
231
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
232
|
+
continue;
|
|
233
|
+
}
|
|
234
|
+
m = !1;
|
|
235
|
+
}
|
|
236
|
+
let g = u.length === 0 ? "" : u.length === 1 ? u[0] : a(u).join(":"), _ = d ? g + E : g, v = _ + h;
|
|
237
|
+
if (o.indexOf(v) > -1) continue;
|
|
238
|
+
o.push(v);
|
|
239
|
+
let y = i(h, m);
|
|
240
|
+
for (let e = 0; e < y.length; ++e) {
|
|
241
|
+
let t = y[e];
|
|
242
|
+
o.push(_ + t);
|
|
243
|
+
}
|
|
244
|
+
c = t + (c.length > 0 ? " " + c : c);
|
|
245
|
+
}
|
|
246
|
+
return c;
|
|
247
|
+
}, oe = (...e) => {
|
|
248
|
+
let t = 0, n, r, i = "";
|
|
249
|
+
for (; t < e.length;) (n = e[t++]) && (r = se(n)) && (i && (i += " "), i += r);
|
|
250
|
+
return i;
|
|
251
|
+
}, se = (e) => {
|
|
252
|
+
if (typeof e == "string") return e;
|
|
253
|
+
let t, n = "";
|
|
254
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = se(e[r])) && (n && (n += " "), n += t);
|
|
255
|
+
return n;
|
|
256
|
+
}, ce = (e, ...t) => {
|
|
257
|
+
let n, r, i, a, o = (o) => (n = ie(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
258
|
+
let t = r(e);
|
|
259
|
+
if (t) return t;
|
|
260
|
+
let a = A(e, n);
|
|
261
|
+
return i(e, a), a;
|
|
262
|
+
};
|
|
263
|
+
return a = o, (...e) => a(oe(...e));
|
|
264
|
+
}, le = [], j = (e) => {
|
|
265
|
+
let t = (t) => t[e] || le;
|
|
266
|
+
return t.isThemeGetter = !0, t;
|
|
267
|
+
}, M = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, N = /^\((?:(\w[\w-]*):)?(.+)\)$/i, P = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ue = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, F = /\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$/, de = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, I = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, L = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, R = (e) => P.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => !!e && Number.isInteger(Number(e)), fe = (e) => e.endsWith("%") && z(e.slice(0, -1)), V = (e) => ue.test(e), pe = () => !0, me = (e) => F.test(e) && !de.test(e), H = () => !1, he = (e) => I.test(e), ge = (e) => L.test(e), _e = (e) => !U(e) && !G(e), ve = (e) => q(e, Ne, H), U = (e) => M.test(e), W = (e) => q(e, Pe, me), ye = (e) => q(e, Fe, z), be = (e) => q(e, Le, pe), xe = (e) => q(e, Ie, H), Se = (e) => q(e, je, H), Ce = (e) => q(e, Me, ge), we = (e) => q(e, Re, he), G = (e) => N.test(e), K = (e) => J(e, Pe), Te = (e) => J(e, Ie), Ee = (e) => J(e, je), De = (e) => J(e, Ne), Oe = (e) => J(e, Me), ke = (e) => J(e, Re, !0), Ae = (e) => J(e, Le, !0), q = (e, t, n) => {
|
|
268
|
+
let r = M.exec(e);
|
|
269
|
+
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
270
|
+
}, J = (e, t, n = !1) => {
|
|
271
|
+
let r = N.exec(e);
|
|
272
|
+
return r ? r[1] ? t(r[1]) : n : !1;
|
|
273
|
+
}, je = (e) => e === "position" || e === "percentage", Me = (e) => e === "image" || e === "url", Ne = (e) => e === "length" || e === "size" || e === "bg-size", Pe = (e) => e === "length", Fe = (e) => e === "number", Ie = (e) => e === "family-name", Le = (e) => e === "number" || e === "weight", Re = (e) => e === "shadow", ze = /*#__PURE__*/ ce(() => {
|
|
274
|
+
let e = j("color"), t = j("font"), n = j("text"), r = j("font-weight"), i = j("tracking"), a = j("leading"), o = j("breakpoint"), s = j("container"), c = j("spacing"), l = j("radius"), u = j("shadow"), d = j("inset-shadow"), f = j("text-shadow"), p = j("drop-shadow"), m = j("blur"), h = j("perspective"), g = j("aspect"), _ = j("ease"), v = j("animate"), y = () => [
|
|
275
|
+
"auto",
|
|
276
|
+
"avoid",
|
|
277
|
+
"all",
|
|
278
|
+
"avoid-page",
|
|
279
|
+
"page",
|
|
280
|
+
"left",
|
|
281
|
+
"right",
|
|
282
|
+
"column"
|
|
283
|
+
], b = () => [
|
|
284
|
+
"center",
|
|
285
|
+
"top",
|
|
286
|
+
"bottom",
|
|
287
|
+
"left",
|
|
288
|
+
"right",
|
|
289
|
+
"top-left",
|
|
290
|
+
"left-top",
|
|
291
|
+
"top-right",
|
|
292
|
+
"right-top",
|
|
293
|
+
"bottom-right",
|
|
294
|
+
"right-bottom",
|
|
295
|
+
"bottom-left",
|
|
296
|
+
"left-bottom"
|
|
297
|
+
], x = () => [
|
|
298
|
+
...b(),
|
|
299
|
+
G,
|
|
300
|
+
U
|
|
301
|
+
], S = () => [
|
|
302
|
+
"auto",
|
|
303
|
+
"hidden",
|
|
304
|
+
"clip",
|
|
305
|
+
"visible",
|
|
306
|
+
"scroll"
|
|
307
|
+
], C = () => [
|
|
308
|
+
"auto",
|
|
309
|
+
"contain",
|
|
310
|
+
"none"
|
|
311
|
+
], w = () => [
|
|
312
|
+
G,
|
|
313
|
+
U,
|
|
314
|
+
c
|
|
315
|
+
], T = () => [
|
|
316
|
+
R,
|
|
317
|
+
"full",
|
|
318
|
+
"auto",
|
|
319
|
+
...w()
|
|
320
|
+
], ee = () => [
|
|
321
|
+
B,
|
|
322
|
+
"none",
|
|
323
|
+
"subgrid",
|
|
324
|
+
G,
|
|
325
|
+
U
|
|
326
|
+
], te = () => [
|
|
327
|
+
"auto",
|
|
328
|
+
{ span: [
|
|
329
|
+
"full",
|
|
330
|
+
B,
|
|
331
|
+
G,
|
|
332
|
+
U
|
|
333
|
+
] },
|
|
334
|
+
B,
|
|
335
|
+
G,
|
|
336
|
+
U
|
|
337
|
+
], E = () => [
|
|
338
|
+
B,
|
|
339
|
+
"auto",
|
|
340
|
+
G,
|
|
341
|
+
U
|
|
342
|
+
], ne = () => [
|
|
343
|
+
"auto",
|
|
344
|
+
"min",
|
|
345
|
+
"max",
|
|
346
|
+
"fr",
|
|
347
|
+
G,
|
|
348
|
+
U
|
|
349
|
+
], re = () => [
|
|
350
|
+
"start",
|
|
351
|
+
"end",
|
|
352
|
+
"center",
|
|
353
|
+
"between",
|
|
354
|
+
"around",
|
|
355
|
+
"evenly",
|
|
356
|
+
"stretch",
|
|
357
|
+
"baseline",
|
|
358
|
+
"center-safe",
|
|
359
|
+
"end-safe"
|
|
360
|
+
], D = () => [
|
|
361
|
+
"start",
|
|
362
|
+
"end",
|
|
363
|
+
"center",
|
|
364
|
+
"stretch",
|
|
365
|
+
"center-safe",
|
|
366
|
+
"end-safe"
|
|
367
|
+
], O = () => ["auto", ...w()], k = () => [
|
|
368
|
+
R,
|
|
369
|
+
"auto",
|
|
370
|
+
"full",
|
|
371
|
+
"dvw",
|
|
372
|
+
"dvh",
|
|
373
|
+
"lvw",
|
|
374
|
+
"lvh",
|
|
375
|
+
"svw",
|
|
376
|
+
"svh",
|
|
377
|
+
"min",
|
|
378
|
+
"max",
|
|
379
|
+
"fit",
|
|
380
|
+
...w()
|
|
381
|
+
], ie = () => [
|
|
382
|
+
R,
|
|
383
|
+
"screen",
|
|
384
|
+
"full",
|
|
385
|
+
"dvw",
|
|
386
|
+
"lvw",
|
|
387
|
+
"svw",
|
|
388
|
+
"min",
|
|
389
|
+
"max",
|
|
390
|
+
"fit",
|
|
391
|
+
...w()
|
|
392
|
+
], ae = () => [
|
|
393
|
+
R,
|
|
394
|
+
"screen",
|
|
395
|
+
"full",
|
|
396
|
+
"lh",
|
|
397
|
+
"dvh",
|
|
398
|
+
"lvh",
|
|
399
|
+
"svh",
|
|
400
|
+
"min",
|
|
401
|
+
"max",
|
|
402
|
+
"fit",
|
|
403
|
+
...w()
|
|
404
|
+
], A = () => [
|
|
405
|
+
e,
|
|
406
|
+
G,
|
|
407
|
+
U
|
|
408
|
+
], oe = () => [
|
|
409
|
+
...b(),
|
|
410
|
+
Ee,
|
|
411
|
+
Se,
|
|
412
|
+
{ position: [G, U] }
|
|
413
|
+
], se = () => ["no-repeat", { repeat: [
|
|
414
|
+
"",
|
|
415
|
+
"x",
|
|
416
|
+
"y",
|
|
417
|
+
"space",
|
|
418
|
+
"round"
|
|
419
|
+
] }], ce = () => [
|
|
420
|
+
"auto",
|
|
421
|
+
"cover",
|
|
422
|
+
"contain",
|
|
423
|
+
De,
|
|
424
|
+
ve,
|
|
425
|
+
{ size: [G, U] }
|
|
426
|
+
], le = () => [
|
|
427
|
+
fe,
|
|
428
|
+
K,
|
|
429
|
+
W
|
|
430
|
+
], M = () => [
|
|
431
|
+
"",
|
|
432
|
+
"none",
|
|
433
|
+
"full",
|
|
434
|
+
l,
|
|
435
|
+
G,
|
|
436
|
+
U
|
|
437
|
+
], N = () => [
|
|
438
|
+
"",
|
|
439
|
+
z,
|
|
440
|
+
K,
|
|
441
|
+
W
|
|
442
|
+
], P = () => [
|
|
443
|
+
"solid",
|
|
444
|
+
"dashed",
|
|
445
|
+
"dotted",
|
|
446
|
+
"double"
|
|
447
|
+
], ue = () => [
|
|
448
|
+
"normal",
|
|
449
|
+
"multiply",
|
|
450
|
+
"screen",
|
|
451
|
+
"overlay",
|
|
452
|
+
"darken",
|
|
453
|
+
"lighten",
|
|
454
|
+
"color-dodge",
|
|
455
|
+
"color-burn",
|
|
456
|
+
"hard-light",
|
|
457
|
+
"soft-light",
|
|
458
|
+
"difference",
|
|
459
|
+
"exclusion",
|
|
460
|
+
"hue",
|
|
461
|
+
"saturation",
|
|
462
|
+
"color",
|
|
463
|
+
"luminosity"
|
|
464
|
+
], F = () => [
|
|
465
|
+
z,
|
|
466
|
+
fe,
|
|
467
|
+
Ee,
|
|
468
|
+
Se
|
|
469
|
+
], de = () => [
|
|
470
|
+
"",
|
|
471
|
+
"none",
|
|
472
|
+
m,
|
|
473
|
+
G,
|
|
474
|
+
U
|
|
475
|
+
], I = () => [
|
|
476
|
+
"none",
|
|
477
|
+
z,
|
|
478
|
+
G,
|
|
479
|
+
U
|
|
480
|
+
], L = () => [
|
|
481
|
+
"none",
|
|
482
|
+
z,
|
|
483
|
+
G,
|
|
484
|
+
U
|
|
485
|
+
], me = () => [
|
|
486
|
+
z,
|
|
487
|
+
G,
|
|
488
|
+
U
|
|
489
|
+
], H = () => [
|
|
490
|
+
R,
|
|
491
|
+
"full",
|
|
492
|
+
...w()
|
|
493
|
+
];
|
|
494
|
+
return {
|
|
495
|
+
cacheSize: 500,
|
|
496
|
+
theme: {
|
|
497
|
+
animate: [
|
|
498
|
+
"spin",
|
|
499
|
+
"ping",
|
|
500
|
+
"pulse",
|
|
501
|
+
"bounce"
|
|
502
|
+
],
|
|
503
|
+
aspect: ["video"],
|
|
504
|
+
blur: [V],
|
|
505
|
+
breakpoint: [V],
|
|
506
|
+
color: [pe],
|
|
507
|
+
container: [V],
|
|
508
|
+
"drop-shadow": [V],
|
|
509
|
+
ease: [
|
|
510
|
+
"in",
|
|
511
|
+
"out",
|
|
512
|
+
"in-out"
|
|
513
|
+
],
|
|
514
|
+
font: [_e],
|
|
515
|
+
"font-weight": [
|
|
516
|
+
"thin",
|
|
517
|
+
"extralight",
|
|
518
|
+
"light",
|
|
519
|
+
"normal",
|
|
520
|
+
"medium",
|
|
521
|
+
"semibold",
|
|
522
|
+
"bold",
|
|
523
|
+
"extrabold",
|
|
524
|
+
"black"
|
|
525
|
+
],
|
|
526
|
+
"inset-shadow": [V],
|
|
527
|
+
leading: [
|
|
528
|
+
"none",
|
|
529
|
+
"tight",
|
|
530
|
+
"snug",
|
|
531
|
+
"normal",
|
|
532
|
+
"relaxed",
|
|
533
|
+
"loose"
|
|
534
|
+
],
|
|
535
|
+
perspective: [
|
|
536
|
+
"dramatic",
|
|
537
|
+
"near",
|
|
538
|
+
"normal",
|
|
539
|
+
"midrange",
|
|
540
|
+
"distant",
|
|
541
|
+
"none"
|
|
542
|
+
],
|
|
543
|
+
radius: [V],
|
|
544
|
+
shadow: [V],
|
|
545
|
+
spacing: ["px", z],
|
|
546
|
+
text: [V],
|
|
547
|
+
"text-shadow": [V],
|
|
548
|
+
tracking: [
|
|
549
|
+
"tighter",
|
|
550
|
+
"tight",
|
|
551
|
+
"normal",
|
|
552
|
+
"wide",
|
|
553
|
+
"wider",
|
|
554
|
+
"widest"
|
|
555
|
+
]
|
|
556
|
+
},
|
|
557
|
+
classGroups: {
|
|
558
|
+
aspect: [{ aspect: [
|
|
559
|
+
"auto",
|
|
560
|
+
"square",
|
|
561
|
+
R,
|
|
562
|
+
U,
|
|
563
|
+
G,
|
|
564
|
+
g
|
|
565
|
+
] }],
|
|
566
|
+
container: ["container"],
|
|
567
|
+
columns: [{ columns: [
|
|
568
|
+
z,
|
|
569
|
+
U,
|
|
570
|
+
G,
|
|
571
|
+
s
|
|
572
|
+
] }],
|
|
573
|
+
"break-after": [{ "break-after": y() }],
|
|
574
|
+
"break-before": [{ "break-before": y() }],
|
|
575
|
+
"break-inside": [{ "break-inside": [
|
|
576
|
+
"auto",
|
|
577
|
+
"avoid",
|
|
578
|
+
"avoid-page",
|
|
579
|
+
"avoid-column"
|
|
580
|
+
] }],
|
|
581
|
+
"box-decoration": [{ "box-decoration": ["slice", "clone"] }],
|
|
582
|
+
box: [{ box: ["border", "content"] }],
|
|
583
|
+
display: [
|
|
584
|
+
"block",
|
|
585
|
+
"inline-block",
|
|
586
|
+
"inline",
|
|
587
|
+
"flex",
|
|
588
|
+
"inline-flex",
|
|
589
|
+
"table",
|
|
590
|
+
"inline-table",
|
|
591
|
+
"table-caption",
|
|
592
|
+
"table-cell",
|
|
593
|
+
"table-column",
|
|
594
|
+
"table-column-group",
|
|
595
|
+
"table-footer-group",
|
|
596
|
+
"table-header-group",
|
|
597
|
+
"table-row-group",
|
|
598
|
+
"table-row",
|
|
599
|
+
"flow-root",
|
|
600
|
+
"grid",
|
|
601
|
+
"inline-grid",
|
|
602
|
+
"contents",
|
|
603
|
+
"list-item",
|
|
604
|
+
"hidden"
|
|
605
|
+
],
|
|
606
|
+
sr: ["sr-only", "not-sr-only"],
|
|
607
|
+
float: [{ float: [
|
|
608
|
+
"right",
|
|
609
|
+
"left",
|
|
610
|
+
"none",
|
|
611
|
+
"start",
|
|
612
|
+
"end"
|
|
613
|
+
] }],
|
|
614
|
+
clear: [{ clear: [
|
|
615
|
+
"left",
|
|
616
|
+
"right",
|
|
617
|
+
"both",
|
|
618
|
+
"none",
|
|
619
|
+
"start",
|
|
620
|
+
"end"
|
|
621
|
+
] }],
|
|
622
|
+
isolation: ["isolate", "isolation-auto"],
|
|
623
|
+
"object-fit": [{ object: [
|
|
624
|
+
"contain",
|
|
625
|
+
"cover",
|
|
626
|
+
"fill",
|
|
627
|
+
"none",
|
|
628
|
+
"scale-down"
|
|
629
|
+
] }],
|
|
630
|
+
"object-position": [{ object: x() }],
|
|
631
|
+
overflow: [{ overflow: S() }],
|
|
632
|
+
"overflow-x": [{ "overflow-x": S() }],
|
|
633
|
+
"overflow-y": [{ "overflow-y": S() }],
|
|
634
|
+
overscroll: [{ overscroll: C() }],
|
|
635
|
+
"overscroll-x": [{ "overscroll-x": C() }],
|
|
636
|
+
"overscroll-y": [{ "overscroll-y": C() }],
|
|
637
|
+
position: [
|
|
638
|
+
"static",
|
|
639
|
+
"fixed",
|
|
640
|
+
"absolute",
|
|
641
|
+
"relative",
|
|
642
|
+
"sticky"
|
|
643
|
+
],
|
|
644
|
+
inset: [{ inset: T() }],
|
|
645
|
+
"inset-x": [{ "inset-x": T() }],
|
|
646
|
+
"inset-y": [{ "inset-y": T() }],
|
|
647
|
+
start: [{
|
|
648
|
+
"inset-s": T(),
|
|
649
|
+
start: T()
|
|
650
|
+
}],
|
|
651
|
+
end: [{
|
|
652
|
+
"inset-e": T(),
|
|
653
|
+
end: T()
|
|
654
|
+
}],
|
|
655
|
+
"inset-bs": [{ "inset-bs": T() }],
|
|
656
|
+
"inset-be": [{ "inset-be": T() }],
|
|
657
|
+
top: [{ top: T() }],
|
|
658
|
+
right: [{ right: T() }],
|
|
659
|
+
bottom: [{ bottom: T() }],
|
|
660
|
+
left: [{ left: T() }],
|
|
661
|
+
visibility: [
|
|
662
|
+
"visible",
|
|
663
|
+
"invisible",
|
|
664
|
+
"collapse"
|
|
665
|
+
],
|
|
666
|
+
z: [{ z: [
|
|
667
|
+
B,
|
|
668
|
+
"auto",
|
|
669
|
+
G,
|
|
670
|
+
U
|
|
671
|
+
] }],
|
|
672
|
+
basis: [{ basis: [
|
|
673
|
+
R,
|
|
674
|
+
"full",
|
|
675
|
+
"auto",
|
|
676
|
+
s,
|
|
677
|
+
...w()
|
|
678
|
+
] }],
|
|
679
|
+
"flex-direction": [{ flex: [
|
|
680
|
+
"row",
|
|
681
|
+
"row-reverse",
|
|
682
|
+
"col",
|
|
683
|
+
"col-reverse"
|
|
684
|
+
] }],
|
|
685
|
+
"flex-wrap": [{ flex: [
|
|
686
|
+
"nowrap",
|
|
687
|
+
"wrap",
|
|
688
|
+
"wrap-reverse"
|
|
689
|
+
] }],
|
|
690
|
+
flex: [{ flex: [
|
|
691
|
+
z,
|
|
692
|
+
R,
|
|
693
|
+
"auto",
|
|
694
|
+
"initial",
|
|
695
|
+
"none",
|
|
696
|
+
U
|
|
697
|
+
] }],
|
|
698
|
+
grow: [{ grow: [
|
|
699
|
+
"",
|
|
700
|
+
z,
|
|
701
|
+
G,
|
|
702
|
+
U
|
|
703
|
+
] }],
|
|
704
|
+
shrink: [{ shrink: [
|
|
705
|
+
"",
|
|
706
|
+
z,
|
|
707
|
+
G,
|
|
708
|
+
U
|
|
709
|
+
] }],
|
|
710
|
+
order: [{ order: [
|
|
711
|
+
B,
|
|
712
|
+
"first",
|
|
713
|
+
"last",
|
|
714
|
+
"none",
|
|
715
|
+
G,
|
|
716
|
+
U
|
|
717
|
+
] }],
|
|
718
|
+
"grid-cols": [{ "grid-cols": ee() }],
|
|
719
|
+
"col-start-end": [{ col: te() }],
|
|
720
|
+
"col-start": [{ "col-start": E() }],
|
|
721
|
+
"col-end": [{ "col-end": E() }],
|
|
722
|
+
"grid-rows": [{ "grid-rows": ee() }],
|
|
723
|
+
"row-start-end": [{ row: te() }],
|
|
724
|
+
"row-start": [{ "row-start": E() }],
|
|
725
|
+
"row-end": [{ "row-end": E() }],
|
|
726
|
+
"grid-flow": [{ "grid-flow": [
|
|
727
|
+
"row",
|
|
728
|
+
"col",
|
|
729
|
+
"dense",
|
|
730
|
+
"row-dense",
|
|
731
|
+
"col-dense"
|
|
732
|
+
] }],
|
|
733
|
+
"auto-cols": [{ "auto-cols": ne() }],
|
|
734
|
+
"auto-rows": [{ "auto-rows": ne() }],
|
|
735
|
+
gap: [{ gap: w() }],
|
|
736
|
+
"gap-x": [{ "gap-x": w() }],
|
|
737
|
+
"gap-y": [{ "gap-y": w() }],
|
|
738
|
+
"justify-content": [{ justify: [...re(), "normal"] }],
|
|
739
|
+
"justify-items": [{ "justify-items": [...D(), "normal"] }],
|
|
740
|
+
"justify-self": [{ "justify-self": ["auto", ...D()] }],
|
|
741
|
+
"align-content": [{ content: ["normal", ...re()] }],
|
|
742
|
+
"align-items": [{ items: [...D(), { baseline: ["", "last"] }] }],
|
|
743
|
+
"align-self": [{ self: [
|
|
744
|
+
"auto",
|
|
745
|
+
...D(),
|
|
746
|
+
{ baseline: ["", "last"] }
|
|
747
|
+
] }],
|
|
748
|
+
"place-content": [{ "place-content": re() }],
|
|
749
|
+
"place-items": [{ "place-items": [...D(), "baseline"] }],
|
|
750
|
+
"place-self": [{ "place-self": ["auto", ...D()] }],
|
|
751
|
+
p: [{ p: w() }],
|
|
752
|
+
px: [{ px: w() }],
|
|
753
|
+
py: [{ py: w() }],
|
|
754
|
+
ps: [{ ps: w() }],
|
|
755
|
+
pe: [{ pe: w() }],
|
|
756
|
+
pbs: [{ pbs: w() }],
|
|
757
|
+
pbe: [{ pbe: w() }],
|
|
758
|
+
pt: [{ pt: w() }],
|
|
759
|
+
pr: [{ pr: w() }],
|
|
760
|
+
pb: [{ pb: w() }],
|
|
761
|
+
pl: [{ pl: w() }],
|
|
762
|
+
m: [{ m: O() }],
|
|
763
|
+
mx: [{ mx: O() }],
|
|
764
|
+
my: [{ my: O() }],
|
|
765
|
+
ms: [{ ms: O() }],
|
|
766
|
+
me: [{ me: O() }],
|
|
767
|
+
mbs: [{ mbs: O() }],
|
|
768
|
+
mbe: [{ mbe: O() }],
|
|
769
|
+
mt: [{ mt: O() }],
|
|
770
|
+
mr: [{ mr: O() }],
|
|
771
|
+
mb: [{ mb: O() }],
|
|
772
|
+
ml: [{ ml: O() }],
|
|
773
|
+
"space-x": [{ "space-x": w() }],
|
|
774
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
775
|
+
"space-y": [{ "space-y": w() }],
|
|
776
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
777
|
+
size: [{ size: k() }],
|
|
778
|
+
"inline-size": [{ inline: ["auto", ...ie()] }],
|
|
779
|
+
"min-inline-size": [{ "min-inline": ["auto", ...ie()] }],
|
|
780
|
+
"max-inline-size": [{ "max-inline": ["none", ...ie()] }],
|
|
781
|
+
"block-size": [{ block: ["auto", ...ae()] }],
|
|
782
|
+
"min-block-size": [{ "min-block": ["auto", ...ae()] }],
|
|
783
|
+
"max-block-size": [{ "max-block": ["none", ...ae()] }],
|
|
784
|
+
w: [{ w: [
|
|
785
|
+
s,
|
|
786
|
+
"screen",
|
|
787
|
+
...k()
|
|
788
|
+
] }],
|
|
789
|
+
"min-w": [{ "min-w": [
|
|
790
|
+
s,
|
|
791
|
+
"screen",
|
|
792
|
+
"none",
|
|
793
|
+
...k()
|
|
794
|
+
] }],
|
|
795
|
+
"max-w": [{ "max-w": [
|
|
796
|
+
s,
|
|
797
|
+
"screen",
|
|
798
|
+
"none",
|
|
799
|
+
"prose",
|
|
800
|
+
{ screen: [o] },
|
|
801
|
+
...k()
|
|
802
|
+
] }],
|
|
803
|
+
h: [{ h: [
|
|
804
|
+
"screen",
|
|
805
|
+
"lh",
|
|
806
|
+
...k()
|
|
807
|
+
] }],
|
|
808
|
+
"min-h": [{ "min-h": [
|
|
809
|
+
"screen",
|
|
810
|
+
"lh",
|
|
811
|
+
"none",
|
|
812
|
+
...k()
|
|
813
|
+
] }],
|
|
814
|
+
"max-h": [{ "max-h": [
|
|
815
|
+
"screen",
|
|
816
|
+
"lh",
|
|
817
|
+
...k()
|
|
818
|
+
] }],
|
|
819
|
+
"font-size": [{ text: [
|
|
820
|
+
"base",
|
|
821
|
+
n,
|
|
822
|
+
K,
|
|
823
|
+
W
|
|
824
|
+
] }],
|
|
825
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
826
|
+
"font-style": ["italic", "not-italic"],
|
|
827
|
+
"font-weight": [{ font: [
|
|
828
|
+
r,
|
|
829
|
+
Ae,
|
|
830
|
+
be
|
|
831
|
+
] }],
|
|
832
|
+
"font-stretch": [{ "font-stretch": [
|
|
833
|
+
"ultra-condensed",
|
|
834
|
+
"extra-condensed",
|
|
835
|
+
"condensed",
|
|
836
|
+
"semi-condensed",
|
|
837
|
+
"normal",
|
|
838
|
+
"semi-expanded",
|
|
839
|
+
"expanded",
|
|
840
|
+
"extra-expanded",
|
|
841
|
+
"ultra-expanded",
|
|
842
|
+
fe,
|
|
843
|
+
U
|
|
844
|
+
] }],
|
|
845
|
+
"font-family": [{ font: [
|
|
846
|
+
Te,
|
|
847
|
+
xe,
|
|
848
|
+
t
|
|
849
|
+
] }],
|
|
850
|
+
"font-features": [{ "font-features": [U] }],
|
|
851
|
+
"fvn-normal": ["normal-nums"],
|
|
852
|
+
"fvn-ordinal": ["ordinal"],
|
|
853
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
854
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
855
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
856
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
857
|
+
tracking: [{ tracking: [
|
|
858
|
+
i,
|
|
859
|
+
G,
|
|
860
|
+
U
|
|
861
|
+
] }],
|
|
862
|
+
"line-clamp": [{ "line-clamp": [
|
|
863
|
+
z,
|
|
864
|
+
"none",
|
|
865
|
+
G,
|
|
866
|
+
ye
|
|
867
|
+
] }],
|
|
868
|
+
leading: [{ leading: [a, ...w()] }],
|
|
869
|
+
"list-image": [{ "list-image": [
|
|
870
|
+
"none",
|
|
871
|
+
G,
|
|
872
|
+
U
|
|
873
|
+
] }],
|
|
874
|
+
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
875
|
+
"list-style-type": [{ list: [
|
|
876
|
+
"disc",
|
|
877
|
+
"decimal",
|
|
878
|
+
"none",
|
|
879
|
+
G,
|
|
880
|
+
U
|
|
881
|
+
] }],
|
|
882
|
+
"text-alignment": [{ text: [
|
|
883
|
+
"left",
|
|
884
|
+
"center",
|
|
885
|
+
"right",
|
|
886
|
+
"justify",
|
|
887
|
+
"start",
|
|
888
|
+
"end"
|
|
889
|
+
] }],
|
|
890
|
+
"placeholder-color": [{ placeholder: A() }],
|
|
891
|
+
"text-color": [{ text: A() }],
|
|
892
|
+
"text-decoration": [
|
|
893
|
+
"underline",
|
|
894
|
+
"overline",
|
|
895
|
+
"line-through",
|
|
896
|
+
"no-underline"
|
|
897
|
+
],
|
|
898
|
+
"text-decoration-style": [{ decoration: [...P(), "wavy"] }],
|
|
899
|
+
"text-decoration-thickness": [{ decoration: [
|
|
900
|
+
z,
|
|
901
|
+
"from-font",
|
|
902
|
+
"auto",
|
|
903
|
+
G,
|
|
904
|
+
W
|
|
905
|
+
] }],
|
|
906
|
+
"text-decoration-color": [{ decoration: A() }],
|
|
907
|
+
"underline-offset": [{ "underline-offset": [
|
|
908
|
+
z,
|
|
909
|
+
"auto",
|
|
910
|
+
G,
|
|
911
|
+
U
|
|
912
|
+
] }],
|
|
913
|
+
"text-transform": [
|
|
914
|
+
"uppercase",
|
|
915
|
+
"lowercase",
|
|
916
|
+
"capitalize",
|
|
917
|
+
"normal-case"
|
|
918
|
+
],
|
|
919
|
+
"text-overflow": [
|
|
920
|
+
"truncate",
|
|
921
|
+
"text-ellipsis",
|
|
922
|
+
"text-clip"
|
|
923
|
+
],
|
|
924
|
+
"text-wrap": [{ text: [
|
|
925
|
+
"wrap",
|
|
926
|
+
"nowrap",
|
|
927
|
+
"balance",
|
|
928
|
+
"pretty"
|
|
929
|
+
] }],
|
|
930
|
+
indent: [{ indent: w() }],
|
|
931
|
+
"vertical-align": [{ align: [
|
|
932
|
+
"baseline",
|
|
933
|
+
"top",
|
|
934
|
+
"middle",
|
|
935
|
+
"bottom",
|
|
936
|
+
"text-top",
|
|
937
|
+
"text-bottom",
|
|
938
|
+
"sub",
|
|
939
|
+
"super",
|
|
940
|
+
G,
|
|
941
|
+
U
|
|
942
|
+
] }],
|
|
943
|
+
whitespace: [{ whitespace: [
|
|
944
|
+
"normal",
|
|
945
|
+
"nowrap",
|
|
946
|
+
"pre",
|
|
947
|
+
"pre-line",
|
|
948
|
+
"pre-wrap",
|
|
949
|
+
"break-spaces"
|
|
950
|
+
] }],
|
|
951
|
+
break: [{ break: [
|
|
952
|
+
"normal",
|
|
953
|
+
"words",
|
|
954
|
+
"all",
|
|
955
|
+
"keep"
|
|
956
|
+
] }],
|
|
957
|
+
wrap: [{ wrap: [
|
|
958
|
+
"break-word",
|
|
959
|
+
"anywhere",
|
|
960
|
+
"normal"
|
|
961
|
+
] }],
|
|
962
|
+
hyphens: [{ hyphens: [
|
|
963
|
+
"none",
|
|
964
|
+
"manual",
|
|
965
|
+
"auto"
|
|
966
|
+
] }],
|
|
967
|
+
content: [{ content: [
|
|
968
|
+
"none",
|
|
969
|
+
G,
|
|
970
|
+
U
|
|
971
|
+
] }],
|
|
972
|
+
"bg-attachment": [{ bg: [
|
|
973
|
+
"fixed",
|
|
974
|
+
"local",
|
|
975
|
+
"scroll"
|
|
976
|
+
] }],
|
|
977
|
+
"bg-clip": [{ "bg-clip": [
|
|
978
|
+
"border",
|
|
979
|
+
"padding",
|
|
980
|
+
"content",
|
|
981
|
+
"text"
|
|
982
|
+
] }],
|
|
983
|
+
"bg-origin": [{ "bg-origin": [
|
|
984
|
+
"border",
|
|
985
|
+
"padding",
|
|
986
|
+
"content"
|
|
987
|
+
] }],
|
|
988
|
+
"bg-position": [{ bg: oe() }],
|
|
989
|
+
"bg-repeat": [{ bg: se() }],
|
|
990
|
+
"bg-size": [{ bg: ce() }],
|
|
991
|
+
"bg-image": [{ bg: [
|
|
992
|
+
"none",
|
|
993
|
+
{
|
|
994
|
+
linear: [
|
|
995
|
+
{ to: [
|
|
996
|
+
"t",
|
|
997
|
+
"tr",
|
|
998
|
+
"r",
|
|
999
|
+
"br",
|
|
1000
|
+
"b",
|
|
1001
|
+
"bl",
|
|
1002
|
+
"l",
|
|
1003
|
+
"tl"
|
|
1004
|
+
] },
|
|
1005
|
+
B,
|
|
1006
|
+
G,
|
|
1007
|
+
U
|
|
1008
|
+
],
|
|
1009
|
+
radial: [
|
|
1010
|
+
"",
|
|
1011
|
+
G,
|
|
1012
|
+
U
|
|
1013
|
+
],
|
|
1014
|
+
conic: [
|
|
1015
|
+
B,
|
|
1016
|
+
G,
|
|
1017
|
+
U
|
|
1018
|
+
]
|
|
1019
|
+
},
|
|
1020
|
+
Oe,
|
|
1021
|
+
Ce
|
|
1022
|
+
] }],
|
|
1023
|
+
"bg-color": [{ bg: A() }],
|
|
1024
|
+
"gradient-from-pos": [{ from: le() }],
|
|
1025
|
+
"gradient-via-pos": [{ via: le() }],
|
|
1026
|
+
"gradient-to-pos": [{ to: le() }],
|
|
1027
|
+
"gradient-from": [{ from: A() }],
|
|
1028
|
+
"gradient-via": [{ via: A() }],
|
|
1029
|
+
"gradient-to": [{ to: A() }],
|
|
1030
|
+
rounded: [{ rounded: M() }],
|
|
1031
|
+
"rounded-s": [{ "rounded-s": M() }],
|
|
1032
|
+
"rounded-e": [{ "rounded-e": M() }],
|
|
1033
|
+
"rounded-t": [{ "rounded-t": M() }],
|
|
1034
|
+
"rounded-r": [{ "rounded-r": M() }],
|
|
1035
|
+
"rounded-b": [{ "rounded-b": M() }],
|
|
1036
|
+
"rounded-l": [{ "rounded-l": M() }],
|
|
1037
|
+
"rounded-ss": [{ "rounded-ss": M() }],
|
|
1038
|
+
"rounded-se": [{ "rounded-se": M() }],
|
|
1039
|
+
"rounded-ee": [{ "rounded-ee": M() }],
|
|
1040
|
+
"rounded-es": [{ "rounded-es": M() }],
|
|
1041
|
+
"rounded-tl": [{ "rounded-tl": M() }],
|
|
1042
|
+
"rounded-tr": [{ "rounded-tr": M() }],
|
|
1043
|
+
"rounded-br": [{ "rounded-br": M() }],
|
|
1044
|
+
"rounded-bl": [{ "rounded-bl": M() }],
|
|
1045
|
+
"border-w": [{ border: N() }],
|
|
1046
|
+
"border-w-x": [{ "border-x": N() }],
|
|
1047
|
+
"border-w-y": [{ "border-y": N() }],
|
|
1048
|
+
"border-w-s": [{ "border-s": N() }],
|
|
1049
|
+
"border-w-e": [{ "border-e": N() }],
|
|
1050
|
+
"border-w-bs": [{ "border-bs": N() }],
|
|
1051
|
+
"border-w-be": [{ "border-be": N() }],
|
|
1052
|
+
"border-w-t": [{ "border-t": N() }],
|
|
1053
|
+
"border-w-r": [{ "border-r": N() }],
|
|
1054
|
+
"border-w-b": [{ "border-b": N() }],
|
|
1055
|
+
"border-w-l": [{ "border-l": N() }],
|
|
1056
|
+
"divide-x": [{ "divide-x": N() }],
|
|
1057
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
1058
|
+
"divide-y": [{ "divide-y": N() }],
|
|
1059
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
1060
|
+
"border-style": [{ border: [
|
|
1061
|
+
...P(),
|
|
1062
|
+
"hidden",
|
|
1063
|
+
"none"
|
|
1064
|
+
] }],
|
|
1065
|
+
"divide-style": [{ divide: [
|
|
1066
|
+
...P(),
|
|
1067
|
+
"hidden",
|
|
1068
|
+
"none"
|
|
1069
|
+
] }],
|
|
1070
|
+
"border-color": [{ border: A() }],
|
|
1071
|
+
"border-color-x": [{ "border-x": A() }],
|
|
1072
|
+
"border-color-y": [{ "border-y": A() }],
|
|
1073
|
+
"border-color-s": [{ "border-s": A() }],
|
|
1074
|
+
"border-color-e": [{ "border-e": A() }],
|
|
1075
|
+
"border-color-bs": [{ "border-bs": A() }],
|
|
1076
|
+
"border-color-be": [{ "border-be": A() }],
|
|
1077
|
+
"border-color-t": [{ "border-t": A() }],
|
|
1078
|
+
"border-color-r": [{ "border-r": A() }],
|
|
1079
|
+
"border-color-b": [{ "border-b": A() }],
|
|
1080
|
+
"border-color-l": [{ "border-l": A() }],
|
|
1081
|
+
"divide-color": [{ divide: A() }],
|
|
1082
|
+
"outline-style": [{ outline: [
|
|
1083
|
+
...P(),
|
|
1084
|
+
"none",
|
|
1085
|
+
"hidden"
|
|
1086
|
+
] }],
|
|
1087
|
+
"outline-offset": [{ "outline-offset": [
|
|
1088
|
+
z,
|
|
1089
|
+
G,
|
|
1090
|
+
U
|
|
1091
|
+
] }],
|
|
1092
|
+
"outline-w": [{ outline: [
|
|
1093
|
+
"",
|
|
1094
|
+
z,
|
|
1095
|
+
K,
|
|
1096
|
+
W
|
|
1097
|
+
] }],
|
|
1098
|
+
"outline-color": [{ outline: A() }],
|
|
1099
|
+
shadow: [{ shadow: [
|
|
1100
|
+
"",
|
|
1101
|
+
"none",
|
|
1102
|
+
u,
|
|
1103
|
+
ke,
|
|
1104
|
+
we
|
|
1105
|
+
] }],
|
|
1106
|
+
"shadow-color": [{ shadow: A() }],
|
|
1107
|
+
"inset-shadow": [{ "inset-shadow": [
|
|
1108
|
+
"none",
|
|
1109
|
+
d,
|
|
1110
|
+
ke,
|
|
1111
|
+
we
|
|
1112
|
+
] }],
|
|
1113
|
+
"inset-shadow-color": [{ "inset-shadow": A() }],
|
|
1114
|
+
"ring-w": [{ ring: N() }],
|
|
1115
|
+
"ring-w-inset": ["ring-inset"],
|
|
1116
|
+
"ring-color": [{ ring: A() }],
|
|
1117
|
+
"ring-offset-w": [{ "ring-offset": [z, W] }],
|
|
1118
|
+
"ring-offset-color": [{ "ring-offset": A() }],
|
|
1119
|
+
"inset-ring-w": [{ "inset-ring": N() }],
|
|
1120
|
+
"inset-ring-color": [{ "inset-ring": A() }],
|
|
1121
|
+
"text-shadow": [{ "text-shadow": [
|
|
1122
|
+
"none",
|
|
1123
|
+
f,
|
|
1124
|
+
ke,
|
|
1125
|
+
we
|
|
1126
|
+
] }],
|
|
1127
|
+
"text-shadow-color": [{ "text-shadow": A() }],
|
|
1128
|
+
opacity: [{ opacity: [
|
|
1129
|
+
z,
|
|
1130
|
+
G,
|
|
1131
|
+
U
|
|
1132
|
+
] }],
|
|
1133
|
+
"mix-blend": [{ "mix-blend": [
|
|
1134
|
+
...ue(),
|
|
1135
|
+
"plus-darker",
|
|
1136
|
+
"plus-lighter"
|
|
1137
|
+
] }],
|
|
1138
|
+
"bg-blend": [{ "bg-blend": ue() }],
|
|
1139
|
+
"mask-clip": [{ "mask-clip": [
|
|
1140
|
+
"border",
|
|
1141
|
+
"padding",
|
|
1142
|
+
"content",
|
|
1143
|
+
"fill",
|
|
1144
|
+
"stroke",
|
|
1145
|
+
"view"
|
|
1146
|
+
] }, "mask-no-clip"],
|
|
1147
|
+
"mask-composite": [{ mask: [
|
|
1148
|
+
"add",
|
|
1149
|
+
"subtract",
|
|
1150
|
+
"intersect",
|
|
1151
|
+
"exclude"
|
|
1152
|
+
] }],
|
|
1153
|
+
"mask-image-linear-pos": [{ "mask-linear": [z] }],
|
|
1154
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": F() }],
|
|
1155
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": F() }],
|
|
1156
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": A() }],
|
|
1157
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": A() }],
|
|
1158
|
+
"mask-image-t-from-pos": [{ "mask-t-from": F() }],
|
|
1159
|
+
"mask-image-t-to-pos": [{ "mask-t-to": F() }],
|
|
1160
|
+
"mask-image-t-from-color": [{ "mask-t-from": A() }],
|
|
1161
|
+
"mask-image-t-to-color": [{ "mask-t-to": A() }],
|
|
1162
|
+
"mask-image-r-from-pos": [{ "mask-r-from": F() }],
|
|
1163
|
+
"mask-image-r-to-pos": [{ "mask-r-to": F() }],
|
|
1164
|
+
"mask-image-r-from-color": [{ "mask-r-from": A() }],
|
|
1165
|
+
"mask-image-r-to-color": [{ "mask-r-to": A() }],
|
|
1166
|
+
"mask-image-b-from-pos": [{ "mask-b-from": F() }],
|
|
1167
|
+
"mask-image-b-to-pos": [{ "mask-b-to": F() }],
|
|
1168
|
+
"mask-image-b-from-color": [{ "mask-b-from": A() }],
|
|
1169
|
+
"mask-image-b-to-color": [{ "mask-b-to": A() }],
|
|
1170
|
+
"mask-image-l-from-pos": [{ "mask-l-from": F() }],
|
|
1171
|
+
"mask-image-l-to-pos": [{ "mask-l-to": F() }],
|
|
1172
|
+
"mask-image-l-from-color": [{ "mask-l-from": A() }],
|
|
1173
|
+
"mask-image-l-to-color": [{ "mask-l-to": A() }],
|
|
1174
|
+
"mask-image-x-from-pos": [{ "mask-x-from": F() }],
|
|
1175
|
+
"mask-image-x-to-pos": [{ "mask-x-to": F() }],
|
|
1176
|
+
"mask-image-x-from-color": [{ "mask-x-from": A() }],
|
|
1177
|
+
"mask-image-x-to-color": [{ "mask-x-to": A() }],
|
|
1178
|
+
"mask-image-y-from-pos": [{ "mask-y-from": F() }],
|
|
1179
|
+
"mask-image-y-to-pos": [{ "mask-y-to": F() }],
|
|
1180
|
+
"mask-image-y-from-color": [{ "mask-y-from": A() }],
|
|
1181
|
+
"mask-image-y-to-color": [{ "mask-y-to": A() }],
|
|
1182
|
+
"mask-image-radial": [{ "mask-radial": [G, U] }],
|
|
1183
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": F() }],
|
|
1184
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": F() }],
|
|
1185
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": A() }],
|
|
1186
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": A() }],
|
|
1187
|
+
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
1188
|
+
"mask-image-radial-size": [{ "mask-radial": [{
|
|
1189
|
+
closest: ["side", "corner"],
|
|
1190
|
+
farthest: ["side", "corner"]
|
|
1191
|
+
}] }],
|
|
1192
|
+
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1193
|
+
"mask-image-conic-pos": [{ "mask-conic": [z] }],
|
|
1194
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": F() }],
|
|
1195
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": F() }],
|
|
1196
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": A() }],
|
|
1197
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": A() }],
|
|
1198
|
+
"mask-mode": [{ mask: [
|
|
1199
|
+
"alpha",
|
|
1200
|
+
"luminance",
|
|
1201
|
+
"match"
|
|
1202
|
+
] }],
|
|
1203
|
+
"mask-origin": [{ "mask-origin": [
|
|
1204
|
+
"border",
|
|
1205
|
+
"padding",
|
|
1206
|
+
"content",
|
|
1207
|
+
"fill",
|
|
1208
|
+
"stroke",
|
|
1209
|
+
"view"
|
|
1210
|
+
] }],
|
|
1211
|
+
"mask-position": [{ mask: oe() }],
|
|
1212
|
+
"mask-repeat": [{ mask: se() }],
|
|
1213
|
+
"mask-size": [{ mask: ce() }],
|
|
1214
|
+
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1215
|
+
"mask-image": [{ mask: [
|
|
1216
|
+
"none",
|
|
1217
|
+
G,
|
|
1218
|
+
U
|
|
1219
|
+
] }],
|
|
1220
|
+
filter: [{ filter: [
|
|
1221
|
+
"",
|
|
1222
|
+
"none",
|
|
1223
|
+
G,
|
|
1224
|
+
U
|
|
1225
|
+
] }],
|
|
1226
|
+
blur: [{ blur: de() }],
|
|
1227
|
+
brightness: [{ brightness: [
|
|
1228
|
+
z,
|
|
1229
|
+
G,
|
|
1230
|
+
U
|
|
1231
|
+
] }],
|
|
1232
|
+
contrast: [{ contrast: [
|
|
1233
|
+
z,
|
|
1234
|
+
G,
|
|
1235
|
+
U
|
|
1236
|
+
] }],
|
|
1237
|
+
"drop-shadow": [{ "drop-shadow": [
|
|
1238
|
+
"",
|
|
1239
|
+
"none",
|
|
1240
|
+
p,
|
|
1241
|
+
ke,
|
|
1242
|
+
we
|
|
1243
|
+
] }],
|
|
1244
|
+
"drop-shadow-color": [{ "drop-shadow": A() }],
|
|
1245
|
+
grayscale: [{ grayscale: [
|
|
1246
|
+
"",
|
|
1247
|
+
z,
|
|
1248
|
+
G,
|
|
1249
|
+
U
|
|
1250
|
+
] }],
|
|
1251
|
+
"hue-rotate": [{ "hue-rotate": [
|
|
1252
|
+
z,
|
|
1253
|
+
G,
|
|
1254
|
+
U
|
|
1255
|
+
] }],
|
|
1256
|
+
invert: [{ invert: [
|
|
1257
|
+
"",
|
|
1258
|
+
z,
|
|
1259
|
+
G,
|
|
1260
|
+
U
|
|
1261
|
+
] }],
|
|
1262
|
+
saturate: [{ saturate: [
|
|
1263
|
+
z,
|
|
1264
|
+
G,
|
|
1265
|
+
U
|
|
1266
|
+
] }],
|
|
1267
|
+
sepia: [{ sepia: [
|
|
1268
|
+
"",
|
|
1269
|
+
z,
|
|
1270
|
+
G,
|
|
1271
|
+
U
|
|
1272
|
+
] }],
|
|
1273
|
+
"backdrop-filter": [{ "backdrop-filter": [
|
|
1274
|
+
"",
|
|
1275
|
+
"none",
|
|
1276
|
+
G,
|
|
1277
|
+
U
|
|
1278
|
+
] }],
|
|
1279
|
+
"backdrop-blur": [{ "backdrop-blur": de() }],
|
|
1280
|
+
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1281
|
+
z,
|
|
1282
|
+
G,
|
|
1283
|
+
U
|
|
1284
|
+
] }],
|
|
1285
|
+
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1286
|
+
z,
|
|
1287
|
+
G,
|
|
1288
|
+
U
|
|
1289
|
+
] }],
|
|
1290
|
+
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1291
|
+
"",
|
|
1292
|
+
z,
|
|
1293
|
+
G,
|
|
1294
|
+
U
|
|
1295
|
+
] }],
|
|
1296
|
+
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1297
|
+
z,
|
|
1298
|
+
G,
|
|
1299
|
+
U
|
|
1300
|
+
] }],
|
|
1301
|
+
"backdrop-invert": [{ "backdrop-invert": [
|
|
1302
|
+
"",
|
|
1303
|
+
z,
|
|
1304
|
+
G,
|
|
1305
|
+
U
|
|
1306
|
+
] }],
|
|
1307
|
+
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1308
|
+
z,
|
|
1309
|
+
G,
|
|
1310
|
+
U
|
|
1311
|
+
] }],
|
|
1312
|
+
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1313
|
+
z,
|
|
1314
|
+
G,
|
|
1315
|
+
U
|
|
1316
|
+
] }],
|
|
1317
|
+
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1318
|
+
"",
|
|
1319
|
+
z,
|
|
1320
|
+
G,
|
|
1321
|
+
U
|
|
1322
|
+
] }],
|
|
1323
|
+
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1324
|
+
"border-spacing": [{ "border-spacing": w() }],
|
|
1325
|
+
"border-spacing-x": [{ "border-spacing-x": w() }],
|
|
1326
|
+
"border-spacing-y": [{ "border-spacing-y": w() }],
|
|
1327
|
+
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
1328
|
+
caption: [{ caption: ["top", "bottom"] }],
|
|
1329
|
+
transition: [{ transition: [
|
|
1330
|
+
"",
|
|
1331
|
+
"all",
|
|
1332
|
+
"colors",
|
|
1333
|
+
"opacity",
|
|
1334
|
+
"shadow",
|
|
1335
|
+
"transform",
|
|
1336
|
+
"none",
|
|
1337
|
+
G,
|
|
1338
|
+
U
|
|
1339
|
+
] }],
|
|
1340
|
+
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1341
|
+
duration: [{ duration: [
|
|
1342
|
+
z,
|
|
1343
|
+
"initial",
|
|
1344
|
+
G,
|
|
1345
|
+
U
|
|
1346
|
+
] }],
|
|
1347
|
+
ease: [{ ease: [
|
|
1348
|
+
"linear",
|
|
1349
|
+
"initial",
|
|
1350
|
+
_,
|
|
1351
|
+
G,
|
|
1352
|
+
U
|
|
1353
|
+
] }],
|
|
1354
|
+
delay: [{ delay: [
|
|
1355
|
+
z,
|
|
1356
|
+
G,
|
|
1357
|
+
U
|
|
1358
|
+
] }],
|
|
1359
|
+
animate: [{ animate: [
|
|
1360
|
+
"none",
|
|
1361
|
+
v,
|
|
1362
|
+
G,
|
|
1363
|
+
U
|
|
1364
|
+
] }],
|
|
1365
|
+
backface: [{ backface: ["hidden", "visible"] }],
|
|
1366
|
+
perspective: [{ perspective: [
|
|
1367
|
+
h,
|
|
1368
|
+
G,
|
|
1369
|
+
U
|
|
1370
|
+
] }],
|
|
1371
|
+
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1372
|
+
rotate: [{ rotate: I() }],
|
|
1373
|
+
"rotate-x": [{ "rotate-x": I() }],
|
|
1374
|
+
"rotate-y": [{ "rotate-y": I() }],
|
|
1375
|
+
"rotate-z": [{ "rotate-z": I() }],
|
|
1376
|
+
scale: [{ scale: L() }],
|
|
1377
|
+
"scale-x": [{ "scale-x": L() }],
|
|
1378
|
+
"scale-y": [{ "scale-y": L() }],
|
|
1379
|
+
"scale-z": [{ "scale-z": L() }],
|
|
1380
|
+
"scale-3d": ["scale-3d"],
|
|
1381
|
+
skew: [{ skew: me() }],
|
|
1382
|
+
"skew-x": [{ "skew-x": me() }],
|
|
1383
|
+
"skew-y": [{ "skew-y": me() }],
|
|
1384
|
+
transform: [{ transform: [
|
|
1385
|
+
G,
|
|
1386
|
+
U,
|
|
1387
|
+
"",
|
|
1388
|
+
"none",
|
|
1389
|
+
"gpu",
|
|
1390
|
+
"cpu"
|
|
1391
|
+
] }],
|
|
1392
|
+
"transform-origin": [{ origin: x() }],
|
|
1393
|
+
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1394
|
+
translate: [{ translate: H() }],
|
|
1395
|
+
"translate-x": [{ "translate-x": H() }],
|
|
1396
|
+
"translate-y": [{ "translate-y": H() }],
|
|
1397
|
+
"translate-z": [{ "translate-z": H() }],
|
|
1398
|
+
"translate-none": ["translate-none"],
|
|
1399
|
+
accent: [{ accent: A() }],
|
|
1400
|
+
appearance: [{ appearance: ["none", "auto"] }],
|
|
1401
|
+
"caret-color": [{ caret: A() }],
|
|
1402
|
+
"color-scheme": [{ scheme: [
|
|
1403
|
+
"normal",
|
|
1404
|
+
"dark",
|
|
1405
|
+
"light",
|
|
1406
|
+
"light-dark",
|
|
1407
|
+
"only-dark",
|
|
1408
|
+
"only-light"
|
|
1409
|
+
] }],
|
|
1410
|
+
cursor: [{ cursor: [
|
|
1411
|
+
"auto",
|
|
1412
|
+
"default",
|
|
1413
|
+
"pointer",
|
|
1414
|
+
"wait",
|
|
1415
|
+
"text",
|
|
1416
|
+
"move",
|
|
1417
|
+
"help",
|
|
1418
|
+
"not-allowed",
|
|
1419
|
+
"none",
|
|
1420
|
+
"context-menu",
|
|
1421
|
+
"progress",
|
|
1422
|
+
"cell",
|
|
1423
|
+
"crosshair",
|
|
1424
|
+
"vertical-text",
|
|
1425
|
+
"alias",
|
|
1426
|
+
"copy",
|
|
1427
|
+
"no-drop",
|
|
1428
|
+
"grab",
|
|
1429
|
+
"grabbing",
|
|
1430
|
+
"all-scroll",
|
|
1431
|
+
"col-resize",
|
|
1432
|
+
"row-resize",
|
|
1433
|
+
"n-resize",
|
|
1434
|
+
"e-resize",
|
|
1435
|
+
"s-resize",
|
|
1436
|
+
"w-resize",
|
|
1437
|
+
"ne-resize",
|
|
1438
|
+
"nw-resize",
|
|
1439
|
+
"se-resize",
|
|
1440
|
+
"sw-resize",
|
|
1441
|
+
"ew-resize",
|
|
1442
|
+
"ns-resize",
|
|
1443
|
+
"nesw-resize",
|
|
1444
|
+
"nwse-resize",
|
|
1445
|
+
"zoom-in",
|
|
1446
|
+
"zoom-out",
|
|
1447
|
+
G,
|
|
1448
|
+
U
|
|
1449
|
+
] }],
|
|
1450
|
+
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1451
|
+
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
1452
|
+
resize: [{ resize: [
|
|
1453
|
+
"none",
|
|
1454
|
+
"",
|
|
1455
|
+
"y",
|
|
1456
|
+
"x"
|
|
1457
|
+
] }],
|
|
1458
|
+
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
1459
|
+
"scroll-m": [{ "scroll-m": w() }],
|
|
1460
|
+
"scroll-mx": [{ "scroll-mx": w() }],
|
|
1461
|
+
"scroll-my": [{ "scroll-my": w() }],
|
|
1462
|
+
"scroll-ms": [{ "scroll-ms": w() }],
|
|
1463
|
+
"scroll-me": [{ "scroll-me": w() }],
|
|
1464
|
+
"scroll-mbs": [{ "scroll-mbs": w() }],
|
|
1465
|
+
"scroll-mbe": [{ "scroll-mbe": w() }],
|
|
1466
|
+
"scroll-mt": [{ "scroll-mt": w() }],
|
|
1467
|
+
"scroll-mr": [{ "scroll-mr": w() }],
|
|
1468
|
+
"scroll-mb": [{ "scroll-mb": w() }],
|
|
1469
|
+
"scroll-ml": [{ "scroll-ml": w() }],
|
|
1470
|
+
"scroll-p": [{ "scroll-p": w() }],
|
|
1471
|
+
"scroll-px": [{ "scroll-px": w() }],
|
|
1472
|
+
"scroll-py": [{ "scroll-py": w() }],
|
|
1473
|
+
"scroll-ps": [{ "scroll-ps": w() }],
|
|
1474
|
+
"scroll-pe": [{ "scroll-pe": w() }],
|
|
1475
|
+
"scroll-pbs": [{ "scroll-pbs": w() }],
|
|
1476
|
+
"scroll-pbe": [{ "scroll-pbe": w() }],
|
|
1477
|
+
"scroll-pt": [{ "scroll-pt": w() }],
|
|
1478
|
+
"scroll-pr": [{ "scroll-pr": w() }],
|
|
1479
|
+
"scroll-pb": [{ "scroll-pb": w() }],
|
|
1480
|
+
"scroll-pl": [{ "scroll-pl": w() }],
|
|
1481
|
+
"snap-align": [{ snap: [
|
|
1482
|
+
"start",
|
|
1483
|
+
"end",
|
|
1484
|
+
"center",
|
|
1485
|
+
"align-none"
|
|
1486
|
+
] }],
|
|
1487
|
+
"snap-stop": [{ snap: ["normal", "always"] }],
|
|
1488
|
+
"snap-type": [{ snap: [
|
|
1489
|
+
"none",
|
|
1490
|
+
"x",
|
|
1491
|
+
"y",
|
|
1492
|
+
"both"
|
|
1493
|
+
] }],
|
|
1494
|
+
"snap-strictness": [{ snap: ["mandatory", "proximity"] }],
|
|
1495
|
+
touch: [{ touch: [
|
|
1496
|
+
"auto",
|
|
1497
|
+
"none",
|
|
1498
|
+
"manipulation"
|
|
1499
|
+
] }],
|
|
1500
|
+
"touch-x": [{ "touch-pan": [
|
|
1501
|
+
"x",
|
|
1502
|
+
"left",
|
|
1503
|
+
"right"
|
|
1504
|
+
] }],
|
|
1505
|
+
"touch-y": [{ "touch-pan": [
|
|
1506
|
+
"y",
|
|
1507
|
+
"up",
|
|
1508
|
+
"down"
|
|
1509
|
+
] }],
|
|
1510
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
1511
|
+
select: [{ select: [
|
|
1512
|
+
"none",
|
|
1513
|
+
"text",
|
|
1514
|
+
"all",
|
|
1515
|
+
"auto"
|
|
1516
|
+
] }],
|
|
1517
|
+
"will-change": [{ "will-change": [
|
|
1518
|
+
"auto",
|
|
1519
|
+
"scroll",
|
|
1520
|
+
"contents",
|
|
1521
|
+
"transform",
|
|
1522
|
+
G,
|
|
1523
|
+
U
|
|
1524
|
+
] }],
|
|
1525
|
+
fill: [{ fill: ["none", ...A()] }],
|
|
1526
|
+
"stroke-w": [{ stroke: [
|
|
1527
|
+
z,
|
|
1528
|
+
K,
|
|
1529
|
+
W,
|
|
1530
|
+
ye
|
|
1531
|
+
] }],
|
|
1532
|
+
stroke: [{ stroke: ["none", ...A()] }],
|
|
1533
|
+
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
1534
|
+
},
|
|
1535
|
+
conflictingClassGroups: {
|
|
1536
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
1537
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
1538
|
+
inset: [
|
|
1539
|
+
"inset-x",
|
|
1540
|
+
"inset-y",
|
|
1541
|
+
"inset-bs",
|
|
1542
|
+
"inset-be",
|
|
1543
|
+
"start",
|
|
1544
|
+
"end",
|
|
1545
|
+
"top",
|
|
1546
|
+
"right",
|
|
1547
|
+
"bottom",
|
|
1548
|
+
"left"
|
|
1549
|
+
],
|
|
1550
|
+
"inset-x": ["right", "left"],
|
|
1551
|
+
"inset-y": ["top", "bottom"],
|
|
1552
|
+
flex: [
|
|
1553
|
+
"basis",
|
|
1554
|
+
"grow",
|
|
1555
|
+
"shrink"
|
|
1556
|
+
],
|
|
1557
|
+
gap: ["gap-x", "gap-y"],
|
|
1558
|
+
p: [
|
|
1559
|
+
"px",
|
|
1560
|
+
"py",
|
|
1561
|
+
"ps",
|
|
1562
|
+
"pe",
|
|
1563
|
+
"pbs",
|
|
1564
|
+
"pbe",
|
|
1565
|
+
"pt",
|
|
1566
|
+
"pr",
|
|
1567
|
+
"pb",
|
|
1568
|
+
"pl"
|
|
1569
|
+
],
|
|
1570
|
+
px: ["pr", "pl"],
|
|
1571
|
+
py: ["pt", "pb"],
|
|
1572
|
+
m: [
|
|
1573
|
+
"mx",
|
|
1574
|
+
"my",
|
|
1575
|
+
"ms",
|
|
1576
|
+
"me",
|
|
1577
|
+
"mbs",
|
|
1578
|
+
"mbe",
|
|
1579
|
+
"mt",
|
|
1580
|
+
"mr",
|
|
1581
|
+
"mb",
|
|
1582
|
+
"ml"
|
|
1583
|
+
],
|
|
1584
|
+
mx: ["mr", "ml"],
|
|
1585
|
+
my: ["mt", "mb"],
|
|
1586
|
+
size: ["w", "h"],
|
|
1587
|
+
"font-size": ["leading"],
|
|
1588
|
+
"fvn-normal": [
|
|
1589
|
+
"fvn-ordinal",
|
|
1590
|
+
"fvn-slashed-zero",
|
|
1591
|
+
"fvn-figure",
|
|
1592
|
+
"fvn-spacing",
|
|
1593
|
+
"fvn-fraction"
|
|
1594
|
+
],
|
|
1595
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
1596
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
1597
|
+
"fvn-figure": ["fvn-normal"],
|
|
1598
|
+
"fvn-spacing": ["fvn-normal"],
|
|
1599
|
+
"fvn-fraction": ["fvn-normal"],
|
|
1600
|
+
"line-clamp": ["display", "overflow"],
|
|
1601
|
+
rounded: [
|
|
1602
|
+
"rounded-s",
|
|
1603
|
+
"rounded-e",
|
|
1604
|
+
"rounded-t",
|
|
1605
|
+
"rounded-r",
|
|
1606
|
+
"rounded-b",
|
|
1607
|
+
"rounded-l",
|
|
1608
|
+
"rounded-ss",
|
|
1609
|
+
"rounded-se",
|
|
1610
|
+
"rounded-ee",
|
|
1611
|
+
"rounded-es",
|
|
1612
|
+
"rounded-tl",
|
|
1613
|
+
"rounded-tr",
|
|
1614
|
+
"rounded-br",
|
|
1615
|
+
"rounded-bl"
|
|
1616
|
+
],
|
|
1617
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
1618
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
1619
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
1620
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
1621
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
1622
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
1623
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
1624
|
+
"border-w": [
|
|
1625
|
+
"border-w-x",
|
|
1626
|
+
"border-w-y",
|
|
1627
|
+
"border-w-s",
|
|
1628
|
+
"border-w-e",
|
|
1629
|
+
"border-w-bs",
|
|
1630
|
+
"border-w-be",
|
|
1631
|
+
"border-w-t",
|
|
1632
|
+
"border-w-r",
|
|
1633
|
+
"border-w-b",
|
|
1634
|
+
"border-w-l"
|
|
1635
|
+
],
|
|
1636
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
1637
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
1638
|
+
"border-color": [
|
|
1639
|
+
"border-color-x",
|
|
1640
|
+
"border-color-y",
|
|
1641
|
+
"border-color-s",
|
|
1642
|
+
"border-color-e",
|
|
1643
|
+
"border-color-bs",
|
|
1644
|
+
"border-color-be",
|
|
1645
|
+
"border-color-t",
|
|
1646
|
+
"border-color-r",
|
|
1647
|
+
"border-color-b",
|
|
1648
|
+
"border-color-l"
|
|
1649
|
+
],
|
|
1650
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
1651
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
1652
|
+
translate: [
|
|
1653
|
+
"translate-x",
|
|
1654
|
+
"translate-y",
|
|
1655
|
+
"translate-none"
|
|
1656
|
+
],
|
|
1657
|
+
"translate-none": [
|
|
1658
|
+
"translate",
|
|
1659
|
+
"translate-x",
|
|
1660
|
+
"translate-y",
|
|
1661
|
+
"translate-z"
|
|
1662
|
+
],
|
|
1663
|
+
"scroll-m": [
|
|
1664
|
+
"scroll-mx",
|
|
1665
|
+
"scroll-my",
|
|
1666
|
+
"scroll-ms",
|
|
1667
|
+
"scroll-me",
|
|
1668
|
+
"scroll-mbs",
|
|
1669
|
+
"scroll-mbe",
|
|
1670
|
+
"scroll-mt",
|
|
1671
|
+
"scroll-mr",
|
|
1672
|
+
"scroll-mb",
|
|
1673
|
+
"scroll-ml"
|
|
1674
|
+
],
|
|
1675
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
1676
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
1677
|
+
"scroll-p": [
|
|
1678
|
+
"scroll-px",
|
|
1679
|
+
"scroll-py",
|
|
1680
|
+
"scroll-ps",
|
|
1681
|
+
"scroll-pe",
|
|
1682
|
+
"scroll-pbs",
|
|
1683
|
+
"scroll-pbe",
|
|
1684
|
+
"scroll-pt",
|
|
1685
|
+
"scroll-pr",
|
|
1686
|
+
"scroll-pb",
|
|
1687
|
+
"scroll-pl"
|
|
1688
|
+
],
|
|
1689
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
1690
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
1691
|
+
touch: [
|
|
1692
|
+
"touch-x",
|
|
1693
|
+
"touch-y",
|
|
1694
|
+
"touch-pz"
|
|
1695
|
+
],
|
|
1696
|
+
"touch-x": ["touch"],
|
|
1697
|
+
"touch-y": ["touch"],
|
|
1698
|
+
"touch-pz": ["touch"]
|
|
1699
|
+
},
|
|
1700
|
+
conflictingClassGroupModifiers: { "font-size": ["leading"] },
|
|
1701
|
+
orderSensitiveModifiers: [
|
|
1702
|
+
"*",
|
|
1703
|
+
"**",
|
|
1704
|
+
"after",
|
|
1705
|
+
"backdrop",
|
|
1706
|
+
"before",
|
|
1707
|
+
"details-content",
|
|
1708
|
+
"file",
|
|
1709
|
+
"first-letter",
|
|
1710
|
+
"first-line",
|
|
1711
|
+
"marker",
|
|
1712
|
+
"placeholder",
|
|
1713
|
+
"selection"
|
|
1714
|
+
]
|
|
1715
|
+
};
|
|
1716
|
+
});
|
|
1717
|
+
//#endregion
|
|
1718
|
+
//#region src/client/lib/utils.ts
|
|
1719
|
+
function Y(...e) {
|
|
1720
|
+
return ze(a(e));
|
|
1721
|
+
}
|
|
1722
|
+
//#endregion
|
|
1723
|
+
//#region src/client/lib/shape-context.tsx
|
|
1724
|
+
var X = n(), Be = {
|
|
1725
|
+
pill: {
|
|
1726
|
+
item: "rounded-[20px]",
|
|
1727
|
+
bg: "rounded-[20px]",
|
|
1728
|
+
focusRing: "rounded-[22px]",
|
|
1729
|
+
mergedBg: "rounded-2xl",
|
|
1730
|
+
container: "rounded-3xl",
|
|
1731
|
+
button: "rounded-[20px]",
|
|
1732
|
+
input: "rounded-[20px]",
|
|
1733
|
+
bgRadius: 20,
|
|
1734
|
+
mergedRadius: 16
|
|
1735
|
+
},
|
|
1736
|
+
rounded: {
|
|
1737
|
+
item: "rounded-lg",
|
|
1738
|
+
bg: "rounded-lg",
|
|
1739
|
+
focusRing: "rounded-[10px]",
|
|
1740
|
+
mergedBg: "rounded-lg",
|
|
1741
|
+
container: "rounded-xl",
|
|
1742
|
+
button: "rounded-lg",
|
|
1743
|
+
input: "rounded-lg",
|
|
1744
|
+
bgRadius: 8,
|
|
1745
|
+
mergedRadius: 8
|
|
1746
|
+
}
|
|
1747
|
+
}, Ve = (0, r.createContext)(null);
|
|
1748
|
+
function He() {
|
|
1749
|
+
let e = (0, r.useContext)(Ve);
|
|
1750
|
+
return e ? e.classes : Be.pill;
|
|
1751
|
+
}
|
|
1752
|
+
function Ue({ children: e, defaultShape: t = "pill" }) {
|
|
1753
|
+
let [n, i] = (0, r.useState)(t), a = (0, r.useRef)(null), o = (0, r.useCallback)((e) => {
|
|
1754
|
+
let t = document.documentElement;
|
|
1755
|
+
t.classList.add("transitioning"), t.offsetHeight, e(), a.current && clearTimeout(a.current), a.current = setTimeout(() => t.classList.remove("transitioning"), 200);
|
|
1756
|
+
}, []), s = (0, r.useCallback)((e) => {
|
|
1757
|
+
o(() => i(e));
|
|
1758
|
+
}, [o]);
|
|
1759
|
+
(0, r.useEffect)(() => {
|
|
1760
|
+
document.documentElement.style.setProperty("--shape-input-radius", `${Be[n].bgRadius}px`);
|
|
1761
|
+
}, [n]);
|
|
1762
|
+
let c = (0, r.useMemo)(() => ({
|
|
1763
|
+
shape: n,
|
|
1764
|
+
setShape: s,
|
|
1765
|
+
classes: Be[n]
|
|
1766
|
+
}), [n, s]);
|
|
1767
|
+
return /* @__PURE__ */ (0, X.jsx)(Ve.Provider, {
|
|
1768
|
+
value: c,
|
|
1769
|
+
children: e
|
|
1770
|
+
});
|
|
1771
|
+
}
|
|
1772
|
+
//#endregion
|
|
1773
|
+
//#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
1774
|
+
function We() {
|
|
1775
|
+
return typeof window < "u";
|
|
1776
|
+
}
|
|
1777
|
+
function Ge(e) {
|
|
1778
|
+
return qe(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1779
|
+
}
|
|
1780
|
+
function Z(e) {
|
|
1781
|
+
var t;
|
|
1782
|
+
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
1783
|
+
}
|
|
1784
|
+
function Ke(e) {
|
|
1785
|
+
return ((qe(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
1786
|
+
}
|
|
1787
|
+
function qe(e) {
|
|
1788
|
+
return We() ? e instanceof Node || e instanceof Z(e).Node : !1;
|
|
1789
|
+
}
|
|
1790
|
+
function Je(e) {
|
|
1791
|
+
return We() ? e instanceof Element || e instanceof Z(e).Element : !1;
|
|
1792
|
+
}
|
|
1793
|
+
function Ye(e) {
|
|
1794
|
+
return We() ? e instanceof HTMLElement || e instanceof Z(e).HTMLElement : !1;
|
|
1795
|
+
}
|
|
1796
|
+
function Xe(e) {
|
|
1797
|
+
return !We() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Z(e).ShadowRoot;
|
|
1798
|
+
}
|
|
1799
|
+
function Ze(e) {
|
|
1800
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = st(e);
|
|
1801
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
1802
|
+
}
|
|
1803
|
+
function Qe(e) {
|
|
1804
|
+
return /^(table|td|th)$/.test(Ge(e));
|
|
1805
|
+
}
|
|
1806
|
+
function $e(e) {
|
|
1807
|
+
try {
|
|
1808
|
+
if (e.matches(":popover-open")) return !0;
|
|
1809
|
+
} catch {}
|
|
1810
|
+
try {
|
|
1811
|
+
return e.matches(":modal");
|
|
1812
|
+
} catch {
|
|
1813
|
+
return !1;
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
var et = /transform|translate|scale|rotate|perspective|filter/, tt = /paint|layout|strict|content/, Q = (e) => !!e && e !== "none", nt;
|
|
1817
|
+
function rt(e) {
|
|
1818
|
+
let t = Je(e) ? st(e) : e;
|
|
1819
|
+
return Q(t.transform) || Q(t.translate) || Q(t.scale) || Q(t.rotate) || Q(t.perspective) || !at() && (Q(t.backdropFilter) || Q(t.filter)) || et.test(t.willChange || "") || tt.test(t.contain || "");
|
|
1820
|
+
}
|
|
1821
|
+
function it(e) {
|
|
1822
|
+
let t = lt(e);
|
|
1823
|
+
for (; Ye(t) && !ot(t);) {
|
|
1824
|
+
if (rt(t)) return t;
|
|
1825
|
+
if ($e(t)) return null;
|
|
1826
|
+
t = lt(t);
|
|
1827
|
+
}
|
|
1828
|
+
return null;
|
|
1829
|
+
}
|
|
1830
|
+
function at() {
|
|
1831
|
+
return nt ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), nt;
|
|
1832
|
+
}
|
|
1833
|
+
function ot(e) {
|
|
1834
|
+
return /^(html|body|#document)$/.test(Ge(e));
|
|
1835
|
+
}
|
|
1836
|
+
function st(e) {
|
|
1837
|
+
return Z(e).getComputedStyle(e);
|
|
1838
|
+
}
|
|
1839
|
+
function ct(e) {
|
|
1840
|
+
return Je(e) ? {
|
|
1841
|
+
scrollLeft: e.scrollLeft,
|
|
1842
|
+
scrollTop: e.scrollTop
|
|
1843
|
+
} : {
|
|
1844
|
+
scrollLeft: e.scrollX,
|
|
1845
|
+
scrollTop: e.scrollY
|
|
1846
|
+
};
|
|
1847
|
+
}
|
|
1848
|
+
function lt(e) {
|
|
1849
|
+
if (Ge(e) === "html") return e;
|
|
1850
|
+
let t = e.assignedSlot || e.parentNode || Xe(e) && e.host || Ke(e);
|
|
1851
|
+
return Xe(t) ? t.host : t;
|
|
1852
|
+
}
|
|
1853
|
+
function ut(e) {
|
|
1854
|
+
let t = lt(e);
|
|
1855
|
+
return ot(t) ? (e.ownerDocument || e).body : Ye(t) && Ze(t) ? t : ut(t);
|
|
1856
|
+
}
|
|
1857
|
+
function dt(e, t, n) {
|
|
1858
|
+
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
1859
|
+
let r = ut(e), i = r === e.ownerDocument?.body, a = Z(r);
|
|
1860
|
+
if (i) {
|
|
1861
|
+
let e = ft(a);
|
|
1862
|
+
return t.concat(a, a.visualViewport || [], Ze(r) ? r : [], e && n ? dt(e) : []);
|
|
1863
|
+
} else return t.concat(r, dt(r, [], n));
|
|
1864
|
+
}
|
|
1865
|
+
function ft(e) {
|
|
1866
|
+
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
1867
|
+
}
|
|
1868
|
+
//#endregion
|
|
1869
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/safeReact.mjs
|
|
1870
|
+
var pt = { ...r }, mt = {};
|
|
1871
|
+
function ht(e, t) {
|
|
1872
|
+
let n = r.useRef(mt);
|
|
1873
|
+
return n.current === mt && (n.current = e(t)), n;
|
|
1874
|
+
}
|
|
1875
|
+
//#endregion
|
|
1876
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/useStableCallback.mjs
|
|
1877
|
+
var gt = pt.useInsertionEffect, _t = gt && gt !== pt.useLayoutEffect ? gt : (e) => e();
|
|
1878
|
+
function vt(e) {
|
|
1879
|
+
let t = ht(yt).current;
|
|
1880
|
+
return t.next = e, _t(t.effect), t.trampoline;
|
|
1881
|
+
}
|
|
1882
|
+
function yt() {
|
|
1883
|
+
let e = {
|
|
1884
|
+
next: void 0,
|
|
1885
|
+
callback: bt,
|
|
1886
|
+
trampoline: (...t) => e.callback?.(...t),
|
|
1887
|
+
effect: () => {
|
|
1888
|
+
e.callback = e.next;
|
|
1889
|
+
}
|
|
1890
|
+
};
|
|
1891
|
+
return e;
|
|
1892
|
+
}
|
|
1893
|
+
function bt() {
|
|
1894
|
+
if (process.env.NODE_ENV !== "production") throw Error("Base UI: Cannot call an event handler while rendering.");
|
|
1895
|
+
}
|
|
1896
|
+
//#endregion
|
|
1897
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/error.mjs
|
|
1898
|
+
var xt;
|
|
1899
|
+
process.env.NODE_ENV !== "production" && (xt = /* @__PURE__ */ new Set());
|
|
1900
|
+
function St(...e) {
|
|
1901
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1902
|
+
let t = e.join(" ");
|
|
1903
|
+
xt.has(t) || (xt.add(t), console.error(`Base UI: ${t}`));
|
|
1904
|
+
}
|
|
1905
|
+
}
|
|
1906
|
+
var Ct = typeof document < "u" ? r.useLayoutEffect : () => {};
|
|
1907
|
+
//#endregion
|
|
1908
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/mergeObjects.mjs
|
|
1909
|
+
function wt(e, t) {
|
|
1910
|
+
if (e && !t) return e;
|
|
1911
|
+
if (!e && t) return t;
|
|
1912
|
+
if (e || t) return {
|
|
1913
|
+
...e,
|
|
1914
|
+
...t
|
|
1915
|
+
};
|
|
1916
|
+
}
|
|
1917
|
+
//#endregion
|
|
1918
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/merge-props/mergeProps.mjs
|
|
1919
|
+
var Tt = {};
|
|
1920
|
+
function Et(e, t, n, r, i) {
|
|
1921
|
+
if (!n && !r && !i && !e) return Ot(t);
|
|
1922
|
+
let a = Ot(e);
|
|
1923
|
+
return t && (a = kt(a, t)), n && (a = kt(a, n)), r && (a = kt(a, r)), i && (a = kt(a, i)), a;
|
|
1924
|
+
}
|
|
1925
|
+
function Dt(e) {
|
|
1926
|
+
if (e.length === 0) return Tt;
|
|
1927
|
+
if (e.length === 1) return Ot(e[0]);
|
|
1928
|
+
let t = Ot(e[0]);
|
|
1929
|
+
for (let n = 1; n < e.length; n += 1) t = kt(t, e[n]);
|
|
1930
|
+
return t;
|
|
1931
|
+
}
|
|
1932
|
+
function Ot(e) {
|
|
1933
|
+
return Nt(e) ? { ...Pt(e, Tt) } : At(e);
|
|
1934
|
+
}
|
|
1935
|
+
function kt(e, t) {
|
|
1936
|
+
return Nt(t) ? Pt(t, e) : jt(e, t);
|
|
1937
|
+
}
|
|
1938
|
+
function At(e) {
|
|
1939
|
+
let t = { ...e };
|
|
1940
|
+
for (let e in t) {
|
|
1941
|
+
let n = t[e];
|
|
1942
|
+
Mt(e, n) && (t[e] = It(n));
|
|
1943
|
+
}
|
|
1944
|
+
return t;
|
|
1945
|
+
}
|
|
1946
|
+
function jt(e, t) {
|
|
1947
|
+
if (!t) return e;
|
|
1948
|
+
for (let n in t) {
|
|
1949
|
+
let r = t[n];
|
|
1950
|
+
switch (n) {
|
|
1951
|
+
case "style":
|
|
1952
|
+
e[n] = wt(e.style, r);
|
|
1953
|
+
break;
|
|
1954
|
+
case "className":
|
|
1955
|
+
e[n] = Rt(e.className, r);
|
|
1956
|
+
break;
|
|
1957
|
+
default: Mt(n, r) ? e[n] = Ft(e[n], r) : e[n] = r;
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
return e;
|
|
1961
|
+
}
|
|
1962
|
+
function Mt(e, t) {
|
|
1963
|
+
let n = e.charCodeAt(0), r = e.charCodeAt(1), i = e.charCodeAt(2);
|
|
1964
|
+
return n === 111 && r === 110 && i >= 65 && i <= 90 && (typeof t == "function" || t === void 0);
|
|
1965
|
+
}
|
|
1966
|
+
function Nt(e) {
|
|
1967
|
+
return typeof e == "function";
|
|
1968
|
+
}
|
|
1969
|
+
function Pt(e, t) {
|
|
1970
|
+
return Nt(e) ? e(t) : e ?? Tt;
|
|
1971
|
+
}
|
|
1972
|
+
function Ft(e, t) {
|
|
1973
|
+
return t ? e ? (...n) => {
|
|
1974
|
+
let r = n[0];
|
|
1975
|
+
if (zt(r)) {
|
|
1976
|
+
let i = r;
|
|
1977
|
+
Lt(i);
|
|
1978
|
+
let a = t(...n);
|
|
1979
|
+
return i.baseUIHandlerPrevented || e?.(...n), a;
|
|
1980
|
+
}
|
|
1981
|
+
let i = t(...n);
|
|
1982
|
+
return e?.(...n), i;
|
|
1983
|
+
} : It(t) : e;
|
|
1984
|
+
}
|
|
1985
|
+
function It(e) {
|
|
1986
|
+
return e && ((...t) => {
|
|
1987
|
+
let n = t[0];
|
|
1988
|
+
return zt(n) && Lt(n), e(...t);
|
|
1989
|
+
});
|
|
1990
|
+
}
|
|
1991
|
+
function Lt(e) {
|
|
1992
|
+
return e.preventBaseUIHandler = () => {
|
|
1993
|
+
e.baseUIHandlerPrevented = !0;
|
|
1994
|
+
}, e;
|
|
1995
|
+
}
|
|
1996
|
+
function Rt(e, t) {
|
|
1997
|
+
return t ? e ? t + " " + e : t : e;
|
|
1998
|
+
}
|
|
1999
|
+
function zt(e) {
|
|
2000
|
+
return typeof e == "object" && !!e && "nativeEvent" in e;
|
|
2001
|
+
}
|
|
2002
|
+
//#endregion
|
|
2003
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/formatErrorMessage.mjs
|
|
2004
|
+
function Bt(e, t) {
|
|
2005
|
+
return function(n, ...r) {
|
|
2006
|
+
let i = new URL(e);
|
|
2007
|
+
return i.searchParams.set("code", n.toString()), r.forEach((e) => i.searchParams.append("args[]", e)), `${t} error #${n}; visit ${i} for the full message.`;
|
|
2008
|
+
};
|
|
2009
|
+
}
|
|
2010
|
+
var Vt = Bt("https://base-ui.com/production-error", "Base UI"), Ht = /*#__PURE__*/ r.createContext(void 0);
|
|
2011
|
+
process.env.NODE_ENV !== "production" && (Ht.displayName = "CompositeRootContext");
|
|
2012
|
+
function Ut(e = !1) {
|
|
2013
|
+
let t = r.useContext(Ht);
|
|
2014
|
+
if (t === void 0 && !e) throw Error(process.env.NODE_ENV === "production" ? Vt(16) : "Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.");
|
|
2015
|
+
return t;
|
|
2016
|
+
}
|
|
2017
|
+
//#endregion
|
|
2018
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/utils/useFocusableWhenDisabled.mjs
|
|
2019
|
+
function Wt(e) {
|
|
2020
|
+
let { focusableWhenDisabled: t, disabled: n, composite: i = !1, tabIndex: a = 0, isNativeButton: o } = e, s = i && t !== !1, c = i && t === !1;
|
|
2021
|
+
return { props: r.useMemo(() => {
|
|
2022
|
+
let e = { onKeyDown(e) {
|
|
2023
|
+
n && t && e.key !== "Tab" && e.preventDefault();
|
|
2024
|
+
} };
|
|
2025
|
+
return i || (e.tabIndex = a, !o && n && (e.tabIndex = t ? a : -1)), (o && (t || s) || !o && n) && (e["aria-disabled"] = n), o && (!t || c) && (e.disabled = n), e;
|
|
2026
|
+
}, [
|
|
2027
|
+
i,
|
|
2028
|
+
n,
|
|
2029
|
+
t,
|
|
2030
|
+
s,
|
|
2031
|
+
c,
|
|
2032
|
+
o,
|
|
2033
|
+
a
|
|
2034
|
+
]) };
|
|
2035
|
+
}
|
|
2036
|
+
//#endregion
|
|
2037
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/internals/use-button/useButton.mjs
|
|
2038
|
+
function Gt(e = {}) {
|
|
2039
|
+
let { disabled: t = !1, focusableWhenDisabled: n, tabIndex: i = 0, native: a = !0, composite: o } = e, s = r.useRef(null), c = Ut(!0), l = o ?? c !== void 0, { props: u } = Wt({
|
|
2040
|
+
focusableWhenDisabled: n,
|
|
2041
|
+
disabled: t,
|
|
2042
|
+
composite: l,
|
|
2043
|
+
tabIndex: i,
|
|
2044
|
+
isNativeButton: a
|
|
2045
|
+
});
|
|
2046
|
+
process.env.NODE_ENV !== "production" && r.useEffect(() => {
|
|
2047
|
+
if (!s.current) return;
|
|
2048
|
+
let e = Kt(s.current);
|
|
2049
|
+
a ? e || St(`A component that acts as a button expected a native <button> because the \`nativeButton\` prop is true. Rendering a non-<button> removes native button semantics, which can impact forms and accessibility. Use a real <button> in the \`render\` prop, or set \`nativeButton\` to \`false\`.${pt.captureOwnerStack?.() || ""}`) : e && St(`A component that acts as a button expected a non-<button> because the \`nativeButton\` prop is false. Rendering a <button> keeps native behavior while Base UI applies non-native attributes and handlers, which can add unintended extra attributes (such as \`role\` or \`aria-disabled\`). Use a non-<button> in the \`render\` prop, or set \`nativeButton\` to \`true\`.${pt.captureOwnerStack?.() || ""}`);
|
|
2050
|
+
}, [a]);
|
|
2051
|
+
let d = r.useCallback(() => {
|
|
2052
|
+
let e = s.current;
|
|
2053
|
+
Kt(e) && l && t && u.disabled === void 0 && e.disabled && (e.disabled = !1);
|
|
2054
|
+
}, [
|
|
2055
|
+
t,
|
|
2056
|
+
u.disabled,
|
|
2057
|
+
l
|
|
2058
|
+
]);
|
|
2059
|
+
return Ct(d, [d]), {
|
|
2060
|
+
getButtonProps: r.useCallback((e = {}) => {
|
|
2061
|
+
let { onClick: n, onMouseDown: r, onKeyUp: i, onKeyDown: o, onPointerDown: s, ...c } = e;
|
|
2062
|
+
return Et({
|
|
2063
|
+
onClick(e) {
|
|
2064
|
+
if (t) {
|
|
2065
|
+
e.preventDefault();
|
|
2066
|
+
return;
|
|
2067
|
+
}
|
|
2068
|
+
n?.(e);
|
|
2069
|
+
},
|
|
2070
|
+
onMouseDown(e) {
|
|
2071
|
+
t || r?.(e);
|
|
2072
|
+
},
|
|
2073
|
+
onKeyDown(e) {
|
|
2074
|
+
if (t || (Lt(e), o?.(e), e.baseUIHandlerPrevented)) return;
|
|
2075
|
+
let r = e.target === e.currentTarget, i = e.currentTarget, s = Kt(i), c = !a && qt(i), u = r && (a ? s : !c), d = e.key === "Enter", f = e.key === " ", p = i.getAttribute("role"), m = p?.startsWith("menuitem") || p === "option" || p === "gridcell";
|
|
2076
|
+
if (r && l && f) {
|
|
2077
|
+
if (e.defaultPrevented && m) return;
|
|
2078
|
+
e.preventDefault(), c || a && s ? (i.click(), e.preventBaseUIHandler()) : u && (n?.(e), e.preventBaseUIHandler());
|
|
2079
|
+
return;
|
|
2080
|
+
}
|
|
2081
|
+
u && (!a && (f || d) && e.preventDefault(), !a && d && n?.(e));
|
|
2082
|
+
},
|
|
2083
|
+
onKeyUp(e) {
|
|
2084
|
+
if (!t) {
|
|
2085
|
+
if (Lt(e), i?.(e), e.target === e.currentTarget && a && l && Kt(e.currentTarget) && e.key === " ") {
|
|
2086
|
+
e.preventDefault();
|
|
2087
|
+
return;
|
|
2088
|
+
}
|
|
2089
|
+
e.baseUIHandlerPrevented || e.target === e.currentTarget && !a && !l && e.key === " " && n?.(e);
|
|
2090
|
+
}
|
|
2091
|
+
},
|
|
2092
|
+
onPointerDown(e) {
|
|
2093
|
+
if (t) {
|
|
2094
|
+
e.preventDefault();
|
|
2095
|
+
return;
|
|
2096
|
+
}
|
|
2097
|
+
s?.(e);
|
|
2098
|
+
}
|
|
2099
|
+
}, a ? { type: "button" } : { role: "button" }, u, c);
|
|
2100
|
+
}, [
|
|
2101
|
+
t,
|
|
2102
|
+
u,
|
|
2103
|
+
l,
|
|
2104
|
+
a
|
|
2105
|
+
]),
|
|
2106
|
+
buttonRef: vt((e) => {
|
|
2107
|
+
s.current = e, d();
|
|
2108
|
+
})
|
|
2109
|
+
};
|
|
2110
|
+
}
|
|
2111
|
+
function Kt(e) {
|
|
2112
|
+
return Ye(e) && e.tagName === "BUTTON";
|
|
2113
|
+
}
|
|
2114
|
+
function qt(e) {
|
|
2115
|
+
return !!(e?.tagName === "A" && e?.href);
|
|
2116
|
+
}
|
|
2117
|
+
//#endregion
|
|
2118
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/useMergedRefs.mjs
|
|
2119
|
+
function Jt(e, t, n, r) {
|
|
2120
|
+
let i = ht(Xt).current;
|
|
2121
|
+
return Zt(i, e, t, n, r) && $t(i, [
|
|
2122
|
+
e,
|
|
2123
|
+
t,
|
|
2124
|
+
n,
|
|
2125
|
+
r
|
|
2126
|
+
]), i.callback;
|
|
2127
|
+
}
|
|
2128
|
+
function Yt(e) {
|
|
2129
|
+
let t = ht(Xt).current;
|
|
2130
|
+
return Qt(t, e) && $t(t, e), t.callback;
|
|
2131
|
+
}
|
|
2132
|
+
function Xt() {
|
|
2133
|
+
return {
|
|
2134
|
+
callback: null,
|
|
2135
|
+
cleanup: null,
|
|
2136
|
+
refs: []
|
|
2137
|
+
};
|
|
2138
|
+
}
|
|
2139
|
+
function Zt(e, t, n, r, i) {
|
|
2140
|
+
return e.refs[0] !== t || e.refs[1] !== n || e.refs[2] !== r || e.refs[3] !== i;
|
|
2141
|
+
}
|
|
2142
|
+
function Qt(e, t) {
|
|
2143
|
+
return e.refs.length !== t.length || e.refs.some((e, n) => e !== t[n]);
|
|
2144
|
+
}
|
|
2145
|
+
function $t(e, t) {
|
|
2146
|
+
if (e.refs = t, t.every((e) => e == null)) {
|
|
2147
|
+
e.callback = null;
|
|
2148
|
+
return;
|
|
2149
|
+
}
|
|
2150
|
+
e.callback = (n) => {
|
|
2151
|
+
if (e.cleanup &&= (e.cleanup(), null), n != null) {
|
|
2152
|
+
let r = Array(t.length).fill(null);
|
|
2153
|
+
for (let e = 0; e < t.length; e += 1) {
|
|
2154
|
+
let i = t[e];
|
|
2155
|
+
if (i != null) switch (typeof i) {
|
|
2156
|
+
case "function": {
|
|
2157
|
+
let t = i(n);
|
|
2158
|
+
typeof t == "function" && (r[e] = t);
|
|
2159
|
+
break;
|
|
2160
|
+
}
|
|
2161
|
+
case "object":
|
|
2162
|
+
i.current = n;
|
|
2163
|
+
break;
|
|
2164
|
+
default:
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
e.cleanup = () => {
|
|
2168
|
+
for (let e = 0; e < t.length; e += 1) {
|
|
2169
|
+
let n = t[e];
|
|
2170
|
+
if (n != null) switch (typeof n) {
|
|
2171
|
+
case "function": {
|
|
2172
|
+
let t = r[e];
|
|
2173
|
+
typeof t == "function" ? t() : n(null);
|
|
2174
|
+
break;
|
|
2175
|
+
}
|
|
2176
|
+
case "object":
|
|
2177
|
+
n.current = null;
|
|
2178
|
+
break;
|
|
2179
|
+
default:
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
};
|
|
2183
|
+
}
|
|
2184
|
+
};
|
|
2185
|
+
}
|
|
2186
|
+
//#endregion
|
|
2187
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/reactVersion.mjs
|
|
2188
|
+
var en = 19;
|
|
2189
|
+
function tn(e) {
|
|
2190
|
+
return en >= e;
|
|
2191
|
+
}
|
|
2192
|
+
//#endregion
|
|
2193
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/getReactElementRef.mjs
|
|
2194
|
+
function nn(e) {
|
|
2195
|
+
if (!/*#__PURE__*/ r.isValidElement(e)) return null;
|
|
2196
|
+
let t = e, n = t.props;
|
|
2197
|
+
return (tn(19) ? n?.ref : t.ref) ?? null;
|
|
2198
|
+
}
|
|
2199
|
+
//#endregion
|
|
2200
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/warn.mjs
|
|
2201
|
+
var rn;
|
|
2202
|
+
process.env.NODE_ENV !== "production" && (rn = /* @__PURE__ */ new Set());
|
|
2203
|
+
function an(...e) {
|
|
2204
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2205
|
+
let t = e.join(" ");
|
|
2206
|
+
rn.has(t) || (rn.add(t), console.warn(`Base UI: ${t}`));
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
//#endregion
|
|
2210
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/empty.mjs
|
|
2211
|
+
function on() {}
|
|
2212
|
+
var sn = Object.freeze([]), $ = Object.freeze({});
|
|
2213
|
+
//#endregion
|
|
2214
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/internals/getStateAttributesProps.mjs
|
|
2215
|
+
function cn(e, t) {
|
|
2216
|
+
let n = {};
|
|
2217
|
+
for (let r in e) {
|
|
2218
|
+
let i = e[r];
|
|
2219
|
+
if (t?.hasOwnProperty(r)) {
|
|
2220
|
+
let e = t[r](i);
|
|
2221
|
+
e != null && Object.assign(n, e);
|
|
2222
|
+
continue;
|
|
2223
|
+
}
|
|
2224
|
+
i === !0 ? n[`data-${r.toLowerCase()}`] = "" : i && (n[`data-${r.toLowerCase()}`] = i.toString());
|
|
2225
|
+
}
|
|
2226
|
+
return n;
|
|
2227
|
+
}
|
|
2228
|
+
//#endregion
|
|
2229
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/utils/resolveClassName.mjs
|
|
2230
|
+
function ln(e, t) {
|
|
2231
|
+
return typeof e == "function" ? e(t) : e;
|
|
2232
|
+
}
|
|
2233
|
+
//#endregion
|
|
2234
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/utils/resolveStyle.mjs
|
|
2235
|
+
function un(e, t) {
|
|
2236
|
+
return typeof e == "function" ? e(t) : e;
|
|
2237
|
+
}
|
|
2238
|
+
//#endregion
|
|
2239
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/internals/useRenderElement.mjs
|
|
2240
|
+
function dn(e, t, n = {}) {
|
|
2241
|
+
let r = t.render, i = fn(t, n);
|
|
2242
|
+
return n.enabled === !1 ? null : _n(e, r, i, n.state ?? $);
|
|
2243
|
+
}
|
|
2244
|
+
function fn(e, t = {}) {
|
|
2245
|
+
let { className: n, style: r, render: i } = e, { state: a = $, ref: o, props: s, stateAttributesMapping: c, enabled: l = !0 } = t, u = l ? ln(n, a) : void 0, d = l ? un(r, a) : void 0, f = l ? cn(a, c) : $, p = l && s ? pn(s) : void 0, m = l ? wt(f, p) ?? {} : $;
|
|
2246
|
+
return typeof document < "u" && (l ? Array.isArray(o) ? m.ref = Yt([
|
|
2247
|
+
m.ref,
|
|
2248
|
+
nn(i),
|
|
2249
|
+
...o
|
|
2250
|
+
]) : m.ref = Jt(m.ref, nn(i), o) : Jt(null, null)), l ? (u !== void 0 && (m.className = Rt(m.className, u)), d !== void 0 && (m.style = wt(m.style, d)), m) : $;
|
|
2251
|
+
}
|
|
2252
|
+
function pn(e) {
|
|
2253
|
+
return Array.isArray(e) ? Dt(e) : Et(void 0, e);
|
|
2254
|
+
}
|
|
2255
|
+
var mn = Symbol.for("react.lazy"), hn = /^[A-Z][A-Za-z0-9$]*$/, gn = /[a-z]/;
|
|
2256
|
+
function _n(e, t, n, i) {
|
|
2257
|
+
if (t) {
|
|
2258
|
+
if (typeof t == "function") return process.env.NODE_ENV !== "production" && vn(t), t(n, i);
|
|
2259
|
+
let e = Et(n, t.props);
|
|
2260
|
+
e.ref = n.ref;
|
|
2261
|
+
let a = t;
|
|
2262
|
+
if (a?.$$typeof === mn && (a = r.Children.toArray(t)[0]), process.env.NODE_ENV !== "production" && !/*#__PURE__*/ r.isValidElement(a)) throw Error([
|
|
2263
|
+
"Base UI: The `render` prop was provided an invalid React element as `React.isValidElement(render)` is `false`.",
|
|
2264
|
+
"A valid React element must be provided to the `render` prop because it is cloned with props to replace the default element.",
|
|
2265
|
+
"https://base-ui.com/r/invalid-render-prop"
|
|
2266
|
+
].join("\n"));
|
|
2267
|
+
return /*#__PURE__*/ r.cloneElement(a, e);
|
|
2268
|
+
}
|
|
2269
|
+
if (e && typeof e == "string") return yn(e, n);
|
|
2270
|
+
throw Error(process.env.NODE_ENV === "production" ? Vt(8) : "Base UI: Render element or function are not defined.");
|
|
2271
|
+
}
|
|
2272
|
+
function vn(e) {
|
|
2273
|
+
let t = e.name;
|
|
2274
|
+
t.length !== 0 && hn.test(t) && gn.test(t) && an(`The \`render\` prop received a function named \`${t}\` that starts with an uppercase letter.`, "This usually means a React component was passed directly as `render={Component}`.", "Base UI calls `render` as a plain function, which can break the Rules of Hooks during reconciliation.", "If this is an intentional render callback, rename it to start with a lowercase letter.", "Use `render={<Component />}` or `render={(props) => <Component {...props} />}` instead.", "https://base-ui.com/r/invalid-render-prop");
|
|
2275
|
+
}
|
|
2276
|
+
function yn(e, t) {
|
|
2277
|
+
return e === "button" ? /*#__PURE__*/ (0, r.createElement)("button", {
|
|
2278
|
+
type: "button",
|
|
2279
|
+
...t,
|
|
2280
|
+
key: t.key
|
|
2281
|
+
}) : e === "img" ? /*#__PURE__*/ (0, r.createElement)("img", {
|
|
2282
|
+
alt: "",
|
|
2283
|
+
...t,
|
|
2284
|
+
key: t.key
|
|
2285
|
+
}) : /*#__PURE__*/ r.createElement(e, t);
|
|
2286
|
+
}
|
|
2287
|
+
//#endregion
|
|
2288
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/button/Button.mjs
|
|
2289
|
+
var bn = /*#__PURE__*/ r.forwardRef(function(e, t) {
|
|
2290
|
+
let { render: n, className: r, disabled: i = !1, focusableWhenDisabled: a = !1, nativeButton: o = !0, style: s, ...c } = e, { getButtonProps: l, buttonRef: u } = Gt({
|
|
2291
|
+
disabled: i,
|
|
2292
|
+
focusableWhenDisabled: a,
|
|
2293
|
+
native: o
|
|
2294
|
+
});
|
|
2295
|
+
return dn("button", e, {
|
|
2296
|
+
state: { disabled: i },
|
|
2297
|
+
ref: [t, u],
|
|
2298
|
+
props: [c, l]
|
|
2299
|
+
});
|
|
2300
|
+
});
|
|
2301
|
+
process.env.NODE_ENV !== "production" && (bn.displayName = "Button");
|
|
2302
|
+
//#endregion
|
|
2303
|
+
//#region src/client/components/ui/button.tsx
|
|
2304
|
+
var xn = c([
|
|
2305
|
+
"group relative isolate inline-flex items-center justify-center outline-none cursor-pointer",
|
|
2306
|
+
"[&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
2307
|
+
"transition-colors duration-80",
|
|
2308
|
+
"disabled:opacity-50 disabled:pointer-events-none",
|
|
2309
|
+
"focus-visible:ring-1 focus-visible:ring-[color:var(--focus-ring,#6B97FF)]"
|
|
2310
|
+
], {
|
|
2311
|
+
variants: {
|
|
2312
|
+
variant: {
|
|
2313
|
+
primary: "text-background",
|
|
2314
|
+
secondary: "text-foreground",
|
|
2315
|
+
tertiary: "border border-border text-foreground",
|
|
2316
|
+
ghost: "text-muted-foreground hover:text-foreground",
|
|
2317
|
+
destructive: "text-white"
|
|
2318
|
+
},
|
|
2319
|
+
size: {
|
|
2320
|
+
sm: "h-7 px-3 text-[12px] gap-1 [&_svg:not([class*='size-'])]:size-3.5",
|
|
2321
|
+
md: "h-8 px-4 text-[13px] gap-1.5 [&_svg:not([class*='size-'])]:size-4",
|
|
2322
|
+
lg: "h-9 px-5 text-[14px] gap-1.5 [&_svg:not([class*='size-'])]:size-4",
|
|
2323
|
+
"icon-sm": "h-8 w-8 p-0 [&_svg]:h-3.5 [&_svg]:w-3.5",
|
|
2324
|
+
icon: "h-9 w-9 p-0 [&_svg]:h-4 [&_svg]:w-4",
|
|
2325
|
+
"icon-lg": "h-10 w-10 p-0 [&_svg]:h-5 [&_svg]:w-5"
|
|
2326
|
+
},
|
|
2327
|
+
iconLeft: { true: "" },
|
|
2328
|
+
iconRight: { true: "" }
|
|
2329
|
+
},
|
|
2330
|
+
compoundVariants: [
|
|
2331
|
+
{
|
|
2332
|
+
size: "sm",
|
|
2333
|
+
iconLeft: !0,
|
|
2334
|
+
className: "pl-[6px]"
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
size: "md",
|
|
2338
|
+
iconLeft: !0,
|
|
2339
|
+
className: "pl-[10px]"
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
size: "lg",
|
|
2343
|
+
iconLeft: !0,
|
|
2344
|
+
className: "pl-[14px]"
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
size: "sm",
|
|
2348
|
+
iconRight: !0,
|
|
2349
|
+
className: "pr-[6px]"
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
size: "md",
|
|
2353
|
+
iconRight: !0,
|
|
2354
|
+
className: "pr-[10px]"
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
size: "lg",
|
|
2358
|
+
iconRight: !0,
|
|
2359
|
+
className: "pr-[14px]"
|
|
2360
|
+
}
|
|
2361
|
+
],
|
|
2362
|
+
defaultVariants: {
|
|
2363
|
+
variant: "primary",
|
|
2364
|
+
size: "md"
|
|
2365
|
+
}
|
|
2366
|
+
}), Sn = {
|
|
2367
|
+
primary: "bg-foreground group-hover:bg-foreground/90 group-active:bg-foreground/80",
|
|
2368
|
+
secondary: "bg-accent group-hover:bg-accent/80 group-active:bg-accent",
|
|
2369
|
+
tertiary: "bg-transparent group-hover:bg-hover group-active:bg-active",
|
|
2370
|
+
ghost: "bg-transparent group-hover:bg-hover group-active:bg-active",
|
|
2371
|
+
destructive: "bg-destructive group-hover:bg-destructive/90 group-active:bg-destructive/80"
|
|
2372
|
+
}, Cn = {
|
|
2373
|
+
primary: "bg-foreground/80",
|
|
2374
|
+
secondary: "bg-accent",
|
|
2375
|
+
tertiary: "bg-active",
|
|
2376
|
+
ghost: "bg-active",
|
|
2377
|
+
destructive: "bg-destructive/80"
|
|
2378
|
+
}, wn = {
|
|
2379
|
+
default: "primary",
|
|
2380
|
+
destructive: "destructive",
|
|
2381
|
+
outline: "tertiary",
|
|
2382
|
+
secondary: "secondary",
|
|
2383
|
+
ghost: "ghost",
|
|
2384
|
+
link: "ghost"
|
|
2385
|
+
}, Tn = {
|
|
2386
|
+
default: "md",
|
|
2387
|
+
xs: "sm",
|
|
2388
|
+
sm: "sm",
|
|
2389
|
+
lg: "lg",
|
|
2390
|
+
icon: "icon",
|
|
2391
|
+
"icon-xs": "icon-sm",
|
|
2392
|
+
"icon-sm": "icon-sm",
|
|
2393
|
+
"icon-lg": "icon-lg"
|
|
2394
|
+
};
|
|
2395
|
+
function En(e) {
|
|
2396
|
+
return typeof e == "string" || typeof e == "number";
|
|
2397
|
+
}
|
|
2398
|
+
function Dn({ children: e }) {
|
|
2399
|
+
return En(e) ? /* @__PURE__ */ (0, X.jsx)("span", {
|
|
2400
|
+
className: "[text-box:trim-both_cap_alphabetic]",
|
|
2401
|
+
children: e
|
|
2402
|
+
}) : /* @__PURE__ */ (0, X.jsx)("span", {
|
|
2403
|
+
className: "inline-flex items-center gap-1",
|
|
2404
|
+
children: e
|
|
2405
|
+
});
|
|
2406
|
+
}
|
|
2407
|
+
var On = "sm:h-8 sm:min-h-8 sm:px-4 sm:text-[13px] sm:[&_svg:not([class*='size-'])]:size-4", kn = "hidden sm:inline shrink-0 text-[10px] leading-none border border-current/30 p-1 rounded-full", An = Y(On, "pr-1! sm:pr-2!");
|
|
2408
|
+
function jn({ variant: e, size: t, className: n }) {
|
|
2409
|
+
let r = e && e in wn ? wn[e] : e;
|
|
2410
|
+
return {
|
|
2411
|
+
variant: r,
|
|
2412
|
+
size: t && t in Tn ? Tn[t] : t,
|
|
2413
|
+
className: Y(r === "ghost" && (e === "link" ? "underline-offset-4 hover:underline" : void 0), n)
|
|
2414
|
+
};
|
|
2415
|
+
}
|
|
2416
|
+
var Mn = (0, r.forwardRef)(({ className: e, variant: t, size: n, render: i, nativeButton: a = !0, loading: o = !1, leadingIcon: s, trailingIcon: c, active: l = !1, disabled: u, children: d, style: f, ...p }, m) => {
|
|
2417
|
+
let h = jn({
|
|
2418
|
+
variant: t,
|
|
2419
|
+
size: n,
|
|
2420
|
+
className: e
|
|
2421
|
+
});
|
|
2422
|
+
t = h.variant, n = h.size, e = h.className;
|
|
2423
|
+
let g = i && (0, r.isValidElement)(i) ? i : null, _ = g && g.props.children != null ? g.props.children : d, v = n === "icon" || n === "icon-sm" || n === "icon-lg", y = n === "sm" ? 14 : n === "lg" ? 20 : 16, b = n === "sm" ? "h-7 w-7" : n === "lg" || n === "icon" ? "h-9 w-9" : n === "icon-lg" ? "h-10 w-10" : "h-8 w-8", x = He(), S = /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [/* @__PURE__ */ (0, X.jsx)("span", {
|
|
2424
|
+
"aria-hidden": !0,
|
|
2425
|
+
className: Y("absolute inset-0 rounded-[inherit] transition-[background-color,transform] duration-80 group-active:scale-[0.98]", l ? Cn[t ?? "primary"] : Sn[t ?? "primary"])
|
|
2426
|
+
}), /* @__PURE__ */ (0, X.jsx)("span", {
|
|
2427
|
+
className: "relative inline-flex items-center justify-center gap-[inherit]",
|
|
2428
|
+
children: o ? /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [/* @__PURE__ */ (0, X.jsxs)("span", {
|
|
2429
|
+
className: "inline-flex items-center justify-center gap-[inherit] opacity-0",
|
|
2430
|
+
children: [
|
|
2431
|
+
s && !v && /* @__PURE__ */ (0, X.jsx)(s, {
|
|
2432
|
+
size: y,
|
|
2433
|
+
strokeWidth: 2
|
|
2434
|
+
}),
|
|
2435
|
+
/* @__PURE__ */ (0, X.jsx)(Dn, { children: _ }),
|
|
2436
|
+
c && !v && /* @__PURE__ */ (0, X.jsx)(c, {
|
|
2437
|
+
size: y,
|
|
2438
|
+
strokeWidth: 2
|
|
2439
|
+
})
|
|
2440
|
+
]
|
|
2441
|
+
}), /* @__PURE__ */ (0, X.jsx)("span", {
|
|
2442
|
+
className: "absolute inset-0 flex items-center justify-center",
|
|
2443
|
+
children: /* @__PURE__ */ (0, X.jsx)("svg", {
|
|
2444
|
+
className: b,
|
|
2445
|
+
viewBox: "0 0 24 24",
|
|
2446
|
+
fill: "none",
|
|
2447
|
+
children: /* @__PURE__ */ (0, X.jsx)("path", {
|
|
2448
|
+
d: "M 12 12 C 14 8.5 19 8.5 19 12 C 19 15.5 14 15.5 12 12 C 10 8.5 5 8.5 5 12 C 5 15.5 10 15.5 12 12 Z",
|
|
2449
|
+
stroke: "currentColor",
|
|
2450
|
+
strokeWidth: "1.125",
|
|
2451
|
+
strokeLinecap: "round",
|
|
2452
|
+
pathLength: "100",
|
|
2453
|
+
style: {
|
|
2454
|
+
strokeDasharray: "15 85",
|
|
2455
|
+
animation: "spinner-move 2s linear infinite, spinner-dash 4s ease-in-out infinite"
|
|
2456
|
+
}
|
|
2457
|
+
})
|
|
2458
|
+
})
|
|
2459
|
+
})] }) : v ? /* @__PURE__ */ (0, X.jsx)("span", {
|
|
2460
|
+
className: "inline-flex items-center justify-center [&_svg]:stroke-[1.5] [&_svg]:transition-[stroke-width] [&_svg]:duration-80 group-hover:[&_svg]:stroke-[2]",
|
|
2461
|
+
children: _
|
|
2462
|
+
}) : s || c ? /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
|
|
2463
|
+
s && /* @__PURE__ */ (0, X.jsx)(s, {
|
|
2464
|
+
size: y,
|
|
2465
|
+
strokeWidth: 1.5,
|
|
2466
|
+
className: "transition-[stroke-width] duration-80 group-hover:stroke-[2]"
|
|
2467
|
+
}),
|
|
2468
|
+
/* @__PURE__ */ (0, X.jsx)(Dn, { children: _ }),
|
|
2469
|
+
c && /* @__PURE__ */ (0, X.jsx)(c, {
|
|
2470
|
+
size: y,
|
|
2471
|
+
strokeWidth: 1.5,
|
|
2472
|
+
className: "transition-[stroke-width] duration-80 group-hover:stroke-[2]"
|
|
2473
|
+
})
|
|
2474
|
+
] }) : /* @__PURE__ */ (0, X.jsx)(Dn, { children: _ })
|
|
2475
|
+
})] }), C = Y(xn({
|
|
2476
|
+
variant: t,
|
|
2477
|
+
size: n,
|
|
2478
|
+
iconLeft: !v && !!s,
|
|
2479
|
+
iconRight: !v && !!c
|
|
2480
|
+
}), x.button, e);
|
|
2481
|
+
if (g) {
|
|
2482
|
+
let e = g.props;
|
|
2483
|
+
return /* @__PURE__ */ (0, X.jsx)(bn, {
|
|
2484
|
+
ref: m,
|
|
2485
|
+
render: (0, r.cloneElement)(g, {
|
|
2486
|
+
className: Y(C, e.className),
|
|
2487
|
+
style: {
|
|
2488
|
+
...f,
|
|
2489
|
+
...e.style
|
|
2490
|
+
}
|
|
2491
|
+
}),
|
|
2492
|
+
nativeButton: a,
|
|
2493
|
+
disabled: u || o,
|
|
2494
|
+
...p,
|
|
2495
|
+
children: S
|
|
2496
|
+
});
|
|
2497
|
+
}
|
|
2498
|
+
return /* @__PURE__ */ (0, X.jsx)(bn, {
|
|
2499
|
+
ref: m,
|
|
2500
|
+
className: C,
|
|
2501
|
+
disabled: u || o,
|
|
2502
|
+
style: f,
|
|
2503
|
+
...p,
|
|
2504
|
+
children: S
|
|
2505
|
+
});
|
|
2506
|
+
});
|
|
2507
|
+
Mn.displayName = "Button";
|
|
2508
|
+
//#endregion
|
|
2509
|
+
export { rt as A, Ue as B, Ke as C, dt as D, ct as E, Ze as F, He as H, Xe as I, Qe as L, Ye as M, ot as N, lt as O, qe as P, $e as R, it as S, Ge as T, Y as U, Be as V, c as W, St as _, dn as a, pt as b, on as c, Gt as d, Ht as f, Ct as g, Et as h, On as i, Je as j, Z as k, tn as l, Vt as m, An as n, sn as o, Ut as p, kn as r, $ as s, Mn as t, Jt as u, vt as v, ft as w, st as x, ht as y, at as z };
|