@uniqbit/mate-core 1.0.0-canary.7 → 1.0.0-canary.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/claude-capability-plugins/companion-mentions/.claude-plugin/plugin.json +1 -1
  2. package/package.json +6 -3
  3. package/src/cli/commands/artifact/delivery/submit.ts +6 -4
  4. package/src/cli/commands/artifact/finish/command.ts +28 -11
  5. package/src/cli/commands/artifact/pending/command.ts +71 -7
  6. package/src/cli/commands/cap/tokensave.ts +2 -2
  7. package/src/cli/commands/companion/update.ts +2 -3
  8. package/src/cli/commands/doctor.ts +16 -4
  9. package/src/cli/commands/install.ts +8 -4
  10. package/src/cli/commands/plugin/install.ts +82 -35
  11. package/src/cli/commands/studio/service-host.ts +3 -0
  12. package/src/cli/commands/triage.ts +32 -11
  13. package/src/cli/commands/vscode/release-vsix.json +2 -2
  14. package/src/cli/install-plan.tsx +3 -0
  15. package/src/cli/main.ts +51 -7
  16. package/src/cli/usage.ts +3 -3
  17. package/src/factory-host.ts +6 -0
  18. package/src/index.ts +1 -0
  19. package/src/lib/delivery/merge-git.ts +31 -7
  20. package/src/lib/delivery/overlap.ts +14 -1
  21. package/src/lib/delivery/repository-access.ts +11 -6
  22. package/src/lib/delivery/staging/apply-chain.ts +25 -7
  23. package/src/lib/delivery/staging/linked-merges.ts +175 -0
  24. package/src/lib/delivery/staging/naming.ts +3 -0
  25. package/src/lib/delivery/staging/openspec-type.ts +38 -7
  26. package/src/lib/delivery/staging/pending.ts +153 -11
  27. package/src/lib/delivery/staging/preflight.ts +239 -0
  28. package/src/lib/delivery/staging/project.ts +243 -104
  29. package/src/lib/delivery/staging/replay.ts +5 -3
  30. package/src/lib/delivery/staging/settle-linked.ts +5 -119
  31. package/src/lib/delivery/staging/submit.ts +139 -18
  32. package/src/lib/delivery/submit-change.ts +163 -37
  33. package/src/lib/friction/mark.ts +49 -11
  34. package/src/lib/friction/view/read.ts +10 -1
  35. package/src/lib/openspec-cli.ts +10 -5
  36. package/src/lib/skills-cli.ts +38 -0
  37. package/src/lib/tool-manifest.ts +73 -0
  38. package/src/lib/triage/context.ts +138 -12
  39. package/src/lib/triage/prepare.ts +19 -4
  40. package/src/plugin-api.ts +1 -0
  41. package/src/runtime/command-arg.ts +15 -0
  42. package/src/runtime/companion-guidance.ts +1 -1
  43. package/src/runtime/friction-log.ts +41 -17
  44. package/src/runtime/friction-recorder.ts +15 -2
  45. package/src/runtime/git-tracked.ts +13 -2
  46. package/src/studio.ts +6 -1
  47. package/src/templates/capabilities/openspec-cap/mate-minimal/schema.yaml +5 -1
  48. package/src/templates/capabilities/react-doctor/mate-react-doctor/SKILL.md +28 -0
  49. package/src/templates/mate-skills/agents/mate-apply-change/SKILL.md +42 -4
  50. package/src/templates/mate-skills/agents/mate-archive-change/SKILL.md +27 -2
  51. package/src/templates/mate-skills/agents/mate-backfill-spec/SKILL.md +23 -1
  52. package/src/templates/mate-skills/agents/mate-clarify-intent/SKILL.md +26 -1
  53. package/src/templates/mate-skills/agents/mate-domain-modeling/SKILL.md +28 -0
  54. package/src/templates/mate-skills/agents/mate-explore-change/SKILL.md +28 -3
  55. package/src/templates/mate-skills/agents/mate-grill-me/SKILL.md +28 -0
  56. package/src/templates/mate-skills/agents/mate-grill-with-docs/SKILL.md +28 -0
  57. package/src/templates/mate-skills/agents/mate-grilling/SKILL.md +25 -0
  58. package/src/templates/mate-skills/agents/mate-interview-me/SKILL.md +28 -0
  59. package/src/templates/mate-skills/agents/mate-propose-change/SKILL.md +28 -3
  60. package/src/templates/mate-skills/agents/mate-publish-artifact/SKILL.md +28 -6
  61. package/src/templates/mate-skills/agents/mate-show-me/SKILL.md +27 -2
  62. package/src/templates/mate-skills/agents/mate-simplify-code/SKILL.md +28 -0
  63. package/src/templates/mate-skills/agents/mate-submit-change/SKILL.md +24 -2
  64. package/src/templates/mate-skills/claude/mate-apply-change/SKILL.md +42 -4
  65. package/src/templates/mate-skills/claude/mate-archive-change/SKILL.md +27 -2
  66. package/src/templates/mate-skills/claude/mate-backfill-spec/SKILL.md +23 -1
  67. package/src/templates/mate-skills/claude/mate-clarify-intent/SKILL.md +26 -1
  68. package/src/templates/mate-skills/claude/mate-domain-modeling/SKILL.md +28 -0
  69. package/src/templates/mate-skills/claude/mate-explore-change/SKILL.md +28 -3
  70. package/src/templates/mate-skills/claude/mate-grill-me/SKILL.md +28 -0
  71. package/src/templates/mate-skills/claude/mate-grill-with-docs/SKILL.md +28 -0
  72. package/src/templates/mate-skills/claude/mate-grilling/SKILL.md +25 -0
  73. package/src/templates/mate-skills/claude/mate-interview-me/SKILL.md +28 -0
  74. package/src/templates/mate-skills/claude/mate-propose-change/SKILL.md +28 -3
  75. package/src/templates/mate-skills/claude/mate-publish-artifact/SKILL.md +28 -6
  76. package/src/templates/mate-skills/claude/mate-show-me/SKILL.md +27 -2
  77. package/src/templates/mate-skills/claude/mate-simplify-code/SKILL.md +28 -0
  78. package/src/templates/mate-skills/claude/mate-submit-change/SKILL.md +24 -2
  79. package/src/templates/triage/PLAYBOOK.md +9 -1
  80. package/src/tools/setup/__snapshots__/runtime-surface-golden.test.ts.snap +108 -108
  81. package/src/tools/setup/capabilities/graphify.ts +23 -1
  82. package/src/tools/setup/capabilities/rtk.ts +27 -86
  83. package/src/tools/setup/capabilities/tokensave.ts +76 -54
  84. package/src/tools/setup/dynamic-plugins/audiences.ts +28 -14
  85. package/src/tools/setup/dynamic-plugins/hydrate.ts +32 -14
  86. package/src/tools/setup/dynamic-plugins/install.ts +2 -0
  87. package/src/tools/setup/dynamic-plugins/installed.ts +73 -0
  88. package/src/tools/setup/dynamic-plugins/loader.ts +12 -10
  89. package/src/tools/setup/dynamic-plugins/local.ts +492 -0
  90. package/src/tools/setup/dynamic-plugins/paths.ts +34 -6
  91. package/src/tools/setup/dynamic-plugins/verify.ts +34 -14
  92. package/src/tools/setup/dynamic-plugins/workspaces.ts +17 -8
  93. package/src/tools/setup/mate.ts +26 -1
  94. package/src/tools/setup/plugins/gitignore.ts +45 -12
  95. package/src/tools/setup/service.ts +8 -0
  96. package/src/tools/setup/utils.ts +10 -1
  97. package/studio-dist/client/assets/app-ggXJ_QVh.css +2 -0
  98. package/studio-dist/client/assets/button-amJ3g5oD.js +1 -0
  99. package/studio-dist/client/assets/cn-BQPKiwI4.js +1 -0
  100. package/studio-dist/client/assets/combobox-CJ7aGFid.js +1 -0
  101. package/studio-dist/client/assets/{companion-view-DINdPF-b.js → companion-view-C_N237bf.js} +1 -1
  102. package/studio-dist/client/assets/fields-BAiGkJ5N.js +1 -0
  103. package/studio-dist/client/assets/friction-DqOU59v7.js +1 -0
  104. package/studio-dist/client/assets/getting-started-yp42dj5S.js +1 -0
  105. package/studio-dist/client/assets/{getting-started._topic-DVB8e5R9.js → getting-started._topic-C9zVXz_m.js} +1 -1
  106. package/studio-dist/client/assets/{getting-started.index-DQvLHEr1.js → getting-started.index-DWbDKICP.js} +1 -1
  107. package/studio-dist/client/assets/graph-BYaD_5Bq.js +2 -0
  108. package/studio-dist/client/assets/{graph-canvas-DIcAqwtK.js → graph-canvas-ySGKMhmk.js} +1 -1
  109. package/studio-dist/client/assets/index-Qx7reRPD.js +40 -0
  110. package/studio-dist/client/assets/panel-C4bf_h2W.js +1 -0
  111. package/studio-dist/client/assets/plugins._service._view-y6f2FDAB.js +1 -0
  112. package/studio-dist/client/assets/reports-JFSwSueq.js +1 -0
  113. package/studio-dist/client/assets/routes-BdOWSgzK.js +1 -0
  114. package/studio-dist/client/assets/select-BHYYWPhK.js +1 -0
  115. package/studio-dist/client/assets/skills-Bo9FLsBd.js +1 -0
  116. package/studio-dist/client/assets/{specs-Dl8HfGlU.js → specs-BrCOjOch.js} +1 -1
  117. package/studio-dist/client/assets/specs-view-CdE2rlli.js +1 -0
  118. package/studio-dist/client/assets/{store-DyXbi6o9.js → store-C3vJq8Wj.js} +1 -1
  119. package/studio-dist/client/assets/{usage-Blcl8kA_.js → usage-BLsLy0nN.js} +13 -13
  120. package/studio-dist/client/assets/{useAnchoredPopupScrollLock-BBXJpX5L.js → useAnchoredPopupScrollLock-DC7f8GOp.js} +1 -1
  121. package/studio-dist/client/assets/useMutation-uJUrejsi.js +1 -0
  122. package/studio-dist/client/assets/vault-BB1B_OhR.js +1 -0
  123. package/studio-dist/client/assets/warnings-CqOOGlPD.js +1 -0
  124. package/studio-dist/client/assets/workflow-BFzmI-06.js +1 -0
  125. package/studio-dist/server/assets/{__23tanstack-start-server-fn-resolver-JoHQ5ihx.js → __23tanstack-start-server-fn-resolver-gVfW5vIV.js} +1 -1
  126. package/studio-dist/server/assets/_tanstack-start-manifest_v.js +42 -42
  127. package/studio-dist/server/assets/{button-B7e1fRyW.js → button-D6bvrFmm.js} +3 -3480
  128. package/studio-dist/server/assets/cn-FXJAM0KO.js +5528 -0
  129. package/studio-dist/server/assets/{combobox--S_OmUfh.js → combobox-D2MbYV1O.js} +6 -5
  130. package/studio-dist/server/assets/{companion-view-D-vGM55e.js → companion-view-Mf1ANbMb.js} +2 -2
  131. package/studio-dist/server/assets/{fields-B4qM2ZwC.js → fields-B4mAPETz.js} +2 -1
  132. package/studio-dist/server/assets/{friction-sLxaWY-H.js → friction-9a5S1m7U.js} +54 -14
  133. package/studio-dist/server/assets/{getting-started-Cq5Pcnsr.js → getting-started-RU6tYU2Q.js} +2 -2
  134. package/studio-dist/server/assets/{getting-started._topic-CmWdl3u3.js → getting-started._topic-C02HGrC6.js} +2 -2
  135. package/studio-dist/server/assets/{getting-started.index-AB8xpTFY.js → getting-started.index-EzLRosbb.js} +2 -2
  136. package/studio-dist/server/assets/{graph-C_Hn-Wf_.js → graph-CZ2H9Fzr.js} +7 -6
  137. package/studio-dist/server/assets/{graph-canvas-BthrSmPS.js → graph-canvas-rP5TT14Z.js} +1 -1
  138. package/studio-dist/server/assets/{guides-BVQ4pt5B.js → guides-BGftp4wf.js} +1 -1
  139. package/studio-dist/server/assets/{markdown-view-rwiiVcPC.js → markdown-view-CArpV-CS.js} +1 -1
  140. package/studio-dist/server/assets/{panel-CUxRIpYL.js → panel-DR0iq46J.js} +4 -3
  141. package/studio-dist/server/assets/{plugins._service._view-BSvGnlhU.js → plugins._service._view-n7u2k5dF.js} +7 -4
  142. package/studio-dist/server/assets/{queries-S_Pl90IG.js → queries-D-yVP9i0.js} +1 -1
  143. package/studio-dist/server/assets/{reports-CJpAItPk.js → reports-C2SmTgqh.js} +6 -5
  144. package/studio-dist/server/assets/{router-DF0etoNa.js → router-CPt0TAk_.js} +54 -29
  145. package/studio-dist/server/assets/{routes-6ylCLkyg.js → routes-CwH8LEy2.js} +8 -7
  146. package/studio-dist/server/assets/{select-CjuKScan.js → select-C3i6TTX-.js} +5 -4
  147. package/studio-dist/server/assets/{shell-DLkP7wG9.js → shell-CagqZZMZ.js} +2 -1
  148. package/studio-dist/server/assets/{skills-zeU80A9S.js → skills-C21Mg_8-.js} +7 -6
  149. package/studio-dist/server/assets/{specs-DDBNT_v1.js → specs-DetoMiaB.js} +3 -3
  150. package/studio-dist/server/assets/{specs-view-exvmWdg0.js → specs-view-CmbfLDwN.js} +9 -8
  151. package/studio-dist/server/assets/{store-kS7zk0Hr.js → store-aC-I6f6o.js} +1 -1
  152. package/studio-dist/server/assets/{studio-queries-qOXOYoPt.js → studio-queries-Dqf-3nzj.js} +1 -1
  153. package/studio-dist/server/assets/{usage-C2um7YiV.js → usage-CS4CBK9D.js} +9 -9
  154. package/studio-dist/server/assets/{useAnchoredPopupScrollLock-kQBB3y_b.js → useAnchoredPopupScrollLock-BjMNgXv9.js} +2 -2
  155. package/studio-dist/server/assets/{useMutation-C-WO6hCM.js → useMutation-DpBIuWXt.js} +2 -2
  156. package/studio-dist/server/assets/{vault-B8vgVIH9.js → vault-DVQidlId.js} +6 -6
  157. package/studio-dist/server/assets/{warnings-BxK4VfV5.js → warnings-C7hgXpdk.js} +2 -1
  158. package/studio-dist/server/assets/{workflow-BrTK632u.js → workflow-6dZZ1ofw.js} +7 -6
  159. package/studio-dist/server/server.js +2 -2
  160. package/tool-manifest.yaml +85 -0
  161. package/studio-dist/client/assets/app-aIwDxf48.css +0 -2
  162. package/studio-dist/client/assets/button-CX0sWAJl.js +0 -1
  163. package/studio-dist/client/assets/combobox-BmA8RjOc.js +0 -1
  164. package/studio-dist/client/assets/fields-BobQ7zRF.js +0 -1
  165. package/studio-dist/client/assets/friction-YdYd3zaz.js +0 -1
  166. package/studio-dist/client/assets/getting-started-CY7NEtTw.js +0 -1
  167. package/studio-dist/client/assets/graph-DbNnR884.js +0 -2
  168. package/studio-dist/client/assets/index-CysBCSxM.js +0 -40
  169. package/studio-dist/client/assets/panel-Csr49lBo.js +0 -1
  170. package/studio-dist/client/assets/plugins._service._view-CEA_CcPe.js +0 -1
  171. package/studio-dist/client/assets/reports-CLdgxxkg.js +0 -1
  172. package/studio-dist/client/assets/routes-DGilWbDE.js +0 -1
  173. package/studio-dist/client/assets/select-DdebbX7K.js +0 -1
  174. package/studio-dist/client/assets/skills-C3zNkU8g.js +0 -1
  175. package/studio-dist/client/assets/specs-view-B_n0Pekv.js +0 -1
  176. package/studio-dist/client/assets/useBaseQuery-C2cjmeH2.js +0 -1
  177. package/studio-dist/client/assets/useMutation-DI6LbvVa.js +0 -1
  178. package/studio-dist/client/assets/vault-Cb9DmM1i.js +0 -1
  179. package/studio-dist/client/assets/warnings-B-rvoW8q.js +0 -1
  180. package/studio-dist/client/assets/workflow-DN5T19jd.js +0 -1
  181. package/studio-dist/server/assets/useBaseQuery--iH3rd-T.js +0 -2051
@@ -1,3490 +1,13 @@
1
1
  import { n as require_react, o as __toESM, r as __commonJSMin, t as require_jsx_runtime } from "./jsx-runtime-Bt0s0YKS.js";
2
2
  import { i as require_react_dom } from "../server.js";
3
- import { r as QueryObserver, t as useBaseQuery } from "./useBaseQuery--iH3rd-T.js";
3
+ import { a as QueryObserver, n as clsx, r as useBaseQuery, t as cn } from "./cn-FXJAM0KO.js";
4
4
  // ../../node_modules/.bun/@tanstack+react-query@5.105.3+cef22a3c7e8b4cef/node_modules/@tanstack/react-query/build/modern/useQuery.js
5
5
  function useQuery(options, queryClient) {
6
6
  return useBaseQuery(options, QueryObserver, queryClient);
7
7
  }
8
- // ../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
8
+ // src/components/ui/spinner.tsx
9
9
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
10
10
  var import_jsx_runtime = require_jsx_runtime();
11
- function r(e) {
12
- var t, f, n = "";
13
- if ("string" == typeof e || "number" == typeof e) n += e;
14
- else if ("object" == typeof e) if (Array.isArray(e)) {
15
- var o = e.length;
16
- for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
17
- } else for (f in e) e[f] && (n && (n += " "), n += f);
18
- return n;
19
- }
20
- function clsx() {
21
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
22
- return n;
23
- }
24
- // ../../node_modules/.bun/tailwind-merge@3.7.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
25
- /**
26
- * Concatenates two arrays faster than the array spread operator.
27
- */
28
- var concatArrays = (array1, array2) => {
29
- const combinedArray = new Array(array1.length + array2.length);
30
- for (let i = 0; i < array1.length; i++) combinedArray[i] = array1[i];
31
- for (let i = 0; i < array2.length; i++) combinedArray[array1.length + i] = array2[i];
32
- return combinedArray;
33
- };
34
- var createClassValidatorObject = (classGroupId, validator) => ({
35
- classGroupId,
36
- validator
37
- });
38
- var createClassPartObject = (nextPart = /* @__PURE__ */ new Map(), validators = null, classGroupId) => ({
39
- nextPart,
40
- validators,
41
- classGroupId
42
- });
43
- var CLASS_PART_SEPARATOR = "-";
44
- var EMPTY_CONFLICTS = [];
45
- var ARBITRARY_PROPERTY_PREFIX = "arbitrary..";
46
- var createClassGroupUtils = (config) => {
47
- const classMap = createClassMap(config);
48
- const { conflictingClassGroups, conflictingClassGroupModifiers } = config;
49
- const getClassGroupId = (className) => {
50
- if (className.startsWith("[") && className.endsWith("]")) return getGroupIdForArbitraryProperty(className);
51
- const classParts = className.split(CLASS_PART_SEPARATOR);
52
- return getGroupRecursive(classParts, classParts[0] === "" && classParts.length > 1 ? 1 : 0, classMap);
53
- };
54
- const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
55
- if (hasPostfixModifier) {
56
- const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
57
- const baseConflicts = conflictingClassGroups[classGroupId];
58
- if (modifierConflicts) {
59
- if (baseConflicts) return concatArrays(baseConflicts, modifierConflicts);
60
- return modifierConflicts;
61
- }
62
- return baseConflicts || EMPTY_CONFLICTS;
63
- }
64
- return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
65
- };
66
- return {
67
- getClassGroupId,
68
- getConflictingClassGroupIds
69
- };
70
- };
71
- var getGroupRecursive = (classParts, startIndex, classPartObject) => {
72
- if (classParts.length - startIndex === 0) return classPartObject.classGroupId;
73
- const currentClassPart = classParts[startIndex];
74
- const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
75
- if (nextClassPartObject) {
76
- const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
77
- if (result) return result;
78
- }
79
- const validators = classPartObject.validators;
80
- if (validators === null) return;
81
- const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
82
- const validatorsLength = validators.length;
83
- for (let i = 0; i < validatorsLength; i++) {
84
- const validatorObj = validators[i];
85
- if (validatorObj.validator(classRest)) return validatorObj.classGroupId;
86
- }
87
- };
88
- /**
89
- * Get the class group ID for an arbitrary property.
90
- *
91
- * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.
92
- */
93
- var getGroupIdForArbitraryProperty = (className) => className.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
94
- const content = className.slice(1, -1);
95
- const colonIndex = content.indexOf(":");
96
- const property = content.slice(0, colonIndex);
97
- return property ? ARBITRARY_PROPERTY_PREFIX + property : void 0;
98
- })();
99
- /**
100
- * Exported for testing only
101
- */
102
- var createClassMap = (config) => {
103
- const { theme, classGroups } = config;
104
- return processClassGroups(classGroups, theme);
105
- };
106
- var processClassGroups = (classGroups, theme) => {
107
- const classMap = createClassPartObject();
108
- for (const classGroupId in classGroups) {
109
- const group = classGroups[classGroupId];
110
- processClassesRecursively(group, classMap, classGroupId, theme);
111
- }
112
- return classMap;
113
- };
114
- var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
115
- const len = classGroup.length;
116
- for (let i = 0; i < len; i++) {
117
- const classDefinition = classGroup[i];
118
- processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
119
- }
120
- };
121
- var processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
122
- if (typeof classDefinition === "string") {
123
- processStringDefinition(classDefinition, classPartObject, classGroupId);
124
- return;
125
- }
126
- if (typeof classDefinition === "function") {
127
- processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
128
- return;
129
- }
130
- processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
131
- };
132
- var processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
133
- const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
134
- classPartObjectToEdit.classGroupId = classGroupId;
135
- };
136
- var processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
137
- if (isThemeGetter(classDefinition)) {
138
- processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
139
- return;
140
- }
141
- if (classPartObject.validators === null) classPartObject.validators = [];
142
- classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
143
- };
144
- var processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
145
- const entries = Object.entries(classDefinition);
146
- const len = entries.length;
147
- for (let i = 0; i < len; i++) {
148
- const [key, value] = entries[i];
149
- processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
150
- }
151
- };
152
- var getPart = (classPartObject, path) => {
153
- let current = classPartObject;
154
- const parts = path.split(CLASS_PART_SEPARATOR);
155
- const len = parts.length;
156
- for (let i = 0; i < len; i++) {
157
- const part = parts[i];
158
- let next = current.nextPart.get(part);
159
- if (!next) {
160
- next = createClassPartObject();
161
- current.nextPart.set(part, next);
162
- }
163
- current = next;
164
- }
165
- return current;
166
- };
167
- var isThemeGetter = (func) => "isThemeGetter" in func && func.isThemeGetter === true;
168
- var createLruCache = (maxCacheSize) => {
169
- if (maxCacheSize < 1) return {
170
- get: () => void 0,
171
- set: () => {}
172
- };
173
- let cacheSize = 0;
174
- let cache = Object.create(null);
175
- let previousCache = Object.create(null);
176
- const update = (key, value) => {
177
- cache[key] = value;
178
- cacheSize++;
179
- if (cacheSize > maxCacheSize) {
180
- cacheSize = 0;
181
- previousCache = cache;
182
- cache = Object.create(null);
183
- }
184
- };
185
- return {
186
- get(key) {
187
- let value = cache[key];
188
- if (value !== void 0) return value;
189
- if ((value = previousCache[key]) !== void 0) {
190
- update(key, value);
191
- return value;
192
- }
193
- },
194
- set(key, value) {
195
- if (key in cache) cache[key] = value;
196
- else update(key, value);
197
- }
198
- };
199
- };
200
- var IMPORTANT_MODIFIER = "!";
201
- var MODIFIER_SEPARATOR = ":";
202
- var EMPTY_MODIFIERS = [];
203
- var createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
204
- modifiers,
205
- hasImportantModifier,
206
- baseClassName,
207
- maybePostfixModifierPosition,
208
- isExternal
209
- });
210
- var createParseClassName = (config) => {
211
- const { prefix, experimentalParseClassName } = config;
212
- /**
213
- * Parse class name into parts.
214
- *
215
- * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
216
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
217
- */
218
- let parseClassName = (className) => {
219
- const modifiers = [];
220
- let bracketDepth = 0;
221
- let parenDepth = 0;
222
- let modifierStart = 0;
223
- let postfixModifierPosition;
224
- const len = className.length;
225
- for (let index = 0; index < len; index++) {
226
- const currentCharacter = className[index];
227
- if (bracketDepth === 0 && parenDepth === 0) {
228
- if (currentCharacter === MODIFIER_SEPARATOR) {
229
- modifiers.push(className.slice(modifierStart, index));
230
- modifierStart = index + 1;
231
- continue;
232
- }
233
- if (currentCharacter === "/") {
234
- postfixModifierPosition = index;
235
- continue;
236
- }
237
- }
238
- if (currentCharacter === "[") bracketDepth++;
239
- else if (currentCharacter === "]") bracketDepth--;
240
- else if (currentCharacter === "(") parenDepth++;
241
- else if (currentCharacter === ")") parenDepth--;
242
- }
243
- const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
244
- let baseClassName = baseClassNameWithImportantModifier;
245
- let hasImportantModifier = false;
246
- if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
247
- baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
248
- hasImportantModifier = true;
249
- } else if (baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
250
- baseClassName = baseClassNameWithImportantModifier.slice(1);
251
- hasImportantModifier = true;
252
- }
253
- const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
254
- return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
255
- };
256
- if (prefix) {
257
- const fullPrefix = prefix + MODIFIER_SEPARATOR;
258
- const parseClassNameOriginal = parseClassName;
259
- parseClassName = (className) => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, void 0, true);
260
- }
261
- if (experimentalParseClassName) {
262
- const parseClassNameOriginal = parseClassName;
263
- parseClassName = (className) => experimentalParseClassName({
264
- className,
265
- parseClassName: parseClassNameOriginal
266
- });
267
- }
268
- return parseClassName;
269
- };
270
- /**
271
- * Sorts modifiers according to following schema:
272
- * - Predefined modifiers are sorted alphabetically
273
- * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
274
- */
275
- var createSortModifiers = (config) => {
276
- const modifierWeights = /* @__PURE__ */ new Map();
277
- config.orderSensitiveModifiers.forEach((mod, index) => {
278
- modifierWeights.set(mod, 1e6 + index);
279
- });
280
- return (modifiers) => {
281
- const result = [];
282
- let currentSegment = [];
283
- for (let i = 0; i < modifiers.length; i++) {
284
- const modifier = modifiers[i];
285
- const isArbitrary = modifier[0] === "[";
286
- const isOrderSensitive = modifierWeights.has(modifier);
287
- if (isArbitrary || isOrderSensitive) {
288
- if (currentSegment.length > 0) {
289
- currentSegment.sort();
290
- result.push(...currentSegment);
291
- currentSegment = [];
292
- }
293
- result.push(modifier);
294
- } else currentSegment.push(modifier);
295
- }
296
- if (currentSegment.length > 0) {
297
- currentSegment.sort();
298
- result.push(...currentSegment);
299
- }
300
- return result;
301
- };
302
- };
303
- var createConfigUtils = (config) => ({
304
- cache: createLruCache(config.cacheSize),
305
- parseClassName: createParseClassName(config),
306
- sortModifiers: createSortModifiers(config),
307
- postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),
308
- ...createClassGroupUtils(config)
309
- });
310
- var createPostfixLookupClassGroupIds = (config) => {
311
- const lookup = Object.create(null);
312
- const classGroupIds = config.postfixLookupClassGroups;
313
- if (classGroupIds) for (let i = 0; i < classGroupIds.length; i++) lookup[classGroupIds[i]] = true;
314
- return lookup;
315
- };
316
- var SPLIT_CLASSES_REGEX = /\s+/;
317
- var mergeClassList = (classList, configUtils) => {
318
- const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers, postfixLookupClassGroupIds } = configUtils;
319
- /**
320
- * Set of classGroupIds in following format:
321
- * `{importantModifier}{variantModifiers}{classGroupId}`
322
- * @example 'float'
323
- * @example 'hover:focus:bg-color'
324
- * @example 'md:!pr'
325
- */
326
- const classGroupsInConflict = [];
327
- const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
328
- let result = "";
329
- for (let index = classNames.length - 1; index >= 0; index -= 1) {
330
- const originalClassName = classNames[index];
331
- const { isExternal, modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition } = parseClassName(originalClassName);
332
- if (isExternal) {
333
- result = originalClassName + (result.length > 0 ? " " + result : result);
334
- continue;
335
- }
336
- let hasPostfixModifier = !!maybePostfixModifierPosition;
337
- let classGroupId;
338
- if (hasPostfixModifier) {
339
- classGroupId = getClassGroupId(baseClassName.substring(0, maybePostfixModifierPosition));
340
- const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : void 0;
341
- if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {
342
- classGroupId = classGroupIdWithPostfix;
343
- hasPostfixModifier = false;
344
- }
345
- } else classGroupId = getClassGroupId(baseClassName);
346
- if (!classGroupId) {
347
- if (!hasPostfixModifier) {
348
- result = originalClassName + (result.length > 0 ? " " + result : result);
349
- continue;
350
- }
351
- classGroupId = getClassGroupId(baseClassName);
352
- if (!classGroupId) {
353
- result = originalClassName + (result.length > 0 ? " " + result : result);
354
- continue;
355
- }
356
- hasPostfixModifier = false;
357
- }
358
- const variantModifier = modifiers.length === 0 ? "" : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(":");
359
- const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
360
- const classId = modifierId + classGroupId;
361
- if (classGroupsInConflict.indexOf(classId) > -1) continue;
362
- classGroupsInConflict.push(classId);
363
- const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
364
- for (let i = 0; i < conflictGroups.length; ++i) {
365
- const group = conflictGroups[i];
366
- classGroupsInConflict.push(modifierId + group);
367
- }
368
- result = originalClassName + (result.length > 0 ? " " + result : result);
369
- }
370
- return result;
371
- };
372
- /**
373
- * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
374
- *
375
- * Specifically:
376
- * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
377
- * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
378
- *
379
- * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
380
- */
381
- var twJoin = (...classLists) => {
382
- let index = 0;
383
- let argument;
384
- let resolvedValue;
385
- let string = "";
386
- while (index < classLists.length) if (argument = classLists[index++]) {
387
- if (resolvedValue = toValue(argument)) {
388
- string && (string += " ");
389
- string += resolvedValue;
390
- }
391
- }
392
- return string;
393
- };
394
- var toValue = (mix) => {
395
- if (typeof mix === "string") return mix;
396
- let resolvedValue;
397
- let string = "";
398
- for (let k = 0; k < mix.length; k++) if (mix[k]) {
399
- if (resolvedValue = toValue(mix[k])) {
400
- string && (string += " ");
401
- string += resolvedValue;
402
- }
403
- }
404
- return string;
405
- };
406
- var createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
407
- let configUtils;
408
- let cacheGet;
409
- let cacheSet;
410
- let functionToCall;
411
- const initTailwindMerge = (classList) => {
412
- configUtils = createConfigUtils(createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst()));
413
- cacheGet = configUtils.cache.get;
414
- cacheSet = configUtils.cache.set;
415
- functionToCall = tailwindMerge;
416
- return tailwindMerge(classList);
417
- };
418
- const tailwindMerge = (classList) => {
419
- const cachedResult = cacheGet(classList);
420
- if (cachedResult) return cachedResult;
421
- const result = mergeClassList(classList, configUtils);
422
- cacheSet(classList, result);
423
- return result;
424
- };
425
- functionToCall = initTailwindMerge;
426
- return (...args) => functionToCall(twJoin(...args));
427
- };
428
- var fallbackThemeArr = [];
429
- var fromTheme = (key) => {
430
- const themeGetter = (theme) => theme[key] || fallbackThemeArr;
431
- themeGetter.isThemeGetter = true;
432
- themeGetter.themeKey = key;
433
- return themeGetter;
434
- };
435
- var arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
436
- var arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
437
- var fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
438
- var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
439
- var lengthUnitRegex = /\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$/;
440
- var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/;
441
- var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
442
- var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
443
- var isFraction = (value) => fractionRegex.test(value);
444
- var isNumber = (value) => !!value && !Number.isNaN(Number(value));
445
- var isInteger = (value) => !!value && Number.isInteger(Number(value));
446
- var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
447
- var isTshirtSize = (value) => tshirtUnitRegex.test(value);
448
- var isAny = () => true;
449
- var isLengthOnly = (value) => lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
450
- var isNever = () => false;
451
- var isShadow = (value) => shadowRegex.test(value);
452
- var isImage = (value) => imageRegex.test(value);
453
- var isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
454
- var isNamedContainerQuery = (value) => value.startsWith("@container") && (value[10] === "/" && value[11] !== void 0 || value[11] === "s" && value[16] !== void 0 && value.startsWith("-size/", 10) || value[11] === "n" && value[18] !== void 0 && value.startsWith("-normal/", 10));
455
- var isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
456
- var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
457
- var isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
458
- var isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
459
- var isArbitraryWeight = (value) => getIsArbitraryValue(value, isLabelWeight, isAny);
460
- var isArbitraryFamilyName = (value) => getIsArbitraryValue(value, isLabelFamilyName, isNever);
461
- var isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
462
- var isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
463
- var isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
464
- var isArbitraryVariable = (value) => arbitraryVariableRegex.test(value);
465
- var isArbitraryVariableLength = (value) => getIsArbitraryVariable(value, isLabelLength);
466
- var isArbitraryVariableFamilyName = (value) => getIsArbitraryVariable(value, isLabelFamilyName);
467
- var isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isLabelPosition);
468
- var isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
469
- var isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
470
- var isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
471
- var isArbitraryVariableWeight = (value) => getIsArbitraryVariable(value, isLabelWeight, true);
472
- var getIsArbitraryValue = (value, testLabel, testValue) => {
473
- const result = arbitraryValueRegex.exec(value);
474
- if (result) {
475
- if (result[1]) return testLabel(result[1]);
476
- return testValue(result[2]);
477
- }
478
- return false;
479
- };
480
- var getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
481
- const result = arbitraryVariableRegex.exec(value);
482
- if (result) {
483
- if (result[1]) return testLabel(result[1]);
484
- return shouldMatchNoLabel;
485
- }
486
- return false;
487
- };
488
- var isLabelPosition = (label) => label === "position" || label === "percentage";
489
- var isLabelImage = (label) => label === "image" || label === "url";
490
- var isLabelSize = (label) => label === "length" || label === "size" || label === "bg-size";
491
- var isLabelLength = (label) => label === "length";
492
- var isLabelNumber = (label) => label === "number";
493
- var isLabelFamilyName = (label) => label === "family-name";
494
- var isLabelWeight = (label) => label === "number" || label === "weight";
495
- var isLabelShadow = (label) => label === "shadow";
496
- var getDefaultConfig = () => {
497
- /**
498
- * Theme getters for theme variable namespaces
499
- * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
500
- */
501
- const themeColor = fromTheme("color");
502
- const themeFont = fromTheme("font");
503
- const themeText = fromTheme("text");
504
- const themeFontWeight = fromTheme("font-weight");
505
- const themeTracking = fromTheme("tracking");
506
- const themeLeading = fromTheme("leading");
507
- const themeBreakpoint = fromTheme("breakpoint");
508
- const themeContainer = fromTheme("container");
509
- const themeSpacing = fromTheme("spacing");
510
- const themeRadius = fromTheme("radius");
511
- const themeShadow = fromTheme("shadow");
512
- const themeInsetShadow = fromTheme("inset-shadow");
513
- const themeTextShadow = fromTheme("text-shadow");
514
- const themeDropShadow = fromTheme("drop-shadow");
515
- const themeBlur = fromTheme("blur");
516
- const themePerspective = fromTheme("perspective");
517
- const themeAspect = fromTheme("aspect");
518
- const themeEase = fromTheme("ease");
519
- const themeAnimate = fromTheme("animate");
520
- /**
521
- * Helpers to avoid repeating the same scales
522
- *
523
- * We use functions that create a new array every time they're called instead of static arrays.
524
- * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.
525
- */
526
- const scaleBreak = () => [
527
- "auto",
528
- "avoid",
529
- "all",
530
- "avoid-page",
531
- "page",
532
- "left",
533
- "right",
534
- "column"
535
- ];
536
- const scalePosition = () => [
537
- "center",
538
- "top",
539
- "bottom",
540
- "left",
541
- "right",
542
- "top-left",
543
- "left-top",
544
- "top-right",
545
- "right-top",
546
- "bottom-right",
547
- "right-bottom",
548
- "bottom-left",
549
- "left-bottom"
550
- ];
551
- const scalePositionWithArbitrary = () => [
552
- ...scalePosition(),
553
- isArbitraryVariable,
554
- isArbitraryValue
555
- ];
556
- const scaleOverflow = () => [
557
- "auto",
558
- "hidden",
559
- "clip",
560
- "visible",
561
- "scroll"
562
- ];
563
- const scaleOverscroll = () => [
564
- "auto",
565
- "contain",
566
- "none"
567
- ];
568
- const scaleUnambiguousSpacing = () => [
569
- isArbitraryVariable,
570
- isArbitraryValue,
571
- themeSpacing
572
- ];
573
- const scaleInset = () => [
574
- isFraction,
575
- "full",
576
- "auto",
577
- ...scaleUnambiguousSpacing()
578
- ];
579
- const scaleGridTemplateColsRows = () => [
580
- isInteger,
581
- "none",
582
- "subgrid",
583
- isArbitraryVariable,
584
- isArbitraryValue
585
- ];
586
- const scaleGridColRowStartAndEnd = () => [
587
- "auto",
588
- { span: [
589
- "full",
590
- isInteger,
591
- isArbitraryVariable,
592
- isArbitraryValue
593
- ] },
594
- isInteger,
595
- isArbitraryVariable,
596
- isArbitraryValue
597
- ];
598
- const scaleGridColRowStartOrEnd = () => [
599
- isInteger,
600
- "auto",
601
- isArbitraryVariable,
602
- isArbitraryValue
603
- ];
604
- const scaleGridAutoColsRows = () => [
605
- "auto",
606
- "min",
607
- "max",
608
- "fr",
609
- isArbitraryVariable,
610
- isArbitraryValue
611
- ];
612
- const scaleAlignPrimaryAxis = () => [
613
- "start",
614
- "end",
615
- "center",
616
- "between",
617
- "around",
618
- "evenly",
619
- "stretch",
620
- "baseline",
621
- "center-safe",
622
- "end-safe"
623
- ];
624
- const scaleAlignSecondaryAxis = () => [
625
- "start",
626
- "end",
627
- "center",
628
- "stretch",
629
- "center-safe",
630
- "end-safe"
631
- ];
632
- const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
633
- const scaleSizing = () => [
634
- isFraction,
635
- "auto",
636
- "full",
637
- "dvw",
638
- "dvh",
639
- "lvw",
640
- "lvh",
641
- "svw",
642
- "svh",
643
- "min",
644
- "max",
645
- "fit",
646
- ...scaleUnambiguousSpacing()
647
- ];
648
- const scaleSizingInline = () => [
649
- themeContainer,
650
- isFraction,
651
- "screen",
652
- "full",
653
- "dvw",
654
- "lvw",
655
- "svw",
656
- "min",
657
- "max",
658
- "fit",
659
- ...scaleUnambiguousSpacing()
660
- ];
661
- const scaleSizingBlock = () => [
662
- isFraction,
663
- "screen",
664
- "full",
665
- "lh",
666
- "dvh",
667
- "lvh",
668
- "svh",
669
- "min",
670
- "max",
671
- "fit",
672
- ...scaleUnambiguousSpacing()
673
- ];
674
- const scaleColor = () => [
675
- themeColor,
676
- isArbitraryVariable,
677
- isArbitraryValue
678
- ];
679
- const scaleBgPosition = () => [
680
- ...scalePosition(),
681
- isArbitraryVariablePosition,
682
- isArbitraryPosition,
683
- { position: [isArbitraryVariable, isArbitraryValue] }
684
- ];
685
- const scaleBgRepeat = () => ["no-repeat", { repeat: [
686
- "",
687
- "x",
688
- "y",
689
- "space",
690
- "round"
691
- ] }];
692
- const scaleBgSize = () => [
693
- "auto",
694
- "cover",
695
- "contain",
696
- isArbitraryVariableSize,
697
- isArbitrarySize,
698
- { size: [isArbitraryVariable, isArbitraryValue] }
699
- ];
700
- const scaleGradientStopPosition = () => [
701
- isPercent,
702
- isArbitraryVariableLength,
703
- isArbitraryLength
704
- ];
705
- const scaleRadius = () => [
706
- "",
707
- "none",
708
- "full",
709
- themeRadius,
710
- isArbitraryVariable,
711
- isArbitraryValue
712
- ];
713
- const scaleBorderWidth = () => [
714
- "",
715
- isNumber,
716
- isArbitraryVariableLength,
717
- isArbitraryLength
718
- ];
719
- const scaleLineStyle = () => [
720
- "solid",
721
- "dashed",
722
- "dotted",
723
- "double"
724
- ];
725
- const scaleBlendMode = () => [
726
- "normal",
727
- "multiply",
728
- "screen",
729
- "overlay",
730
- "darken",
731
- "lighten",
732
- "color-dodge",
733
- "color-burn",
734
- "hard-light",
735
- "soft-light",
736
- "difference",
737
- "exclusion",
738
- "hue",
739
- "saturation",
740
- "color",
741
- "luminosity"
742
- ];
743
- const scaleMaskImagePosition = () => [
744
- isNumber,
745
- isPercent,
746
- isArbitraryVariablePosition,
747
- isArbitraryPosition
748
- ];
749
- const scaleBlur = () => [
750
- "",
751
- "none",
752
- themeBlur,
753
- isArbitraryVariable,
754
- isArbitraryValue
755
- ];
756
- const scaleRotate = () => [
757
- "none",
758
- isNumber,
759
- isArbitraryVariable,
760
- isArbitraryValue
761
- ];
762
- const scaleScale = () => [
763
- "none",
764
- isNumber,
765
- isArbitraryVariable,
766
- isArbitraryValue
767
- ];
768
- const scaleSkew = () => [
769
- isNumber,
770
- isArbitraryVariable,
771
- isArbitraryValue
772
- ];
773
- const scaleTranslate = () => [
774
- isFraction,
775
- "full",
776
- ...scaleUnambiguousSpacing()
777
- ];
778
- return {
779
- cacheSize: 500,
780
- theme: {
781
- animate: [
782
- "spin",
783
- "ping",
784
- "pulse",
785
- "bounce"
786
- ],
787
- aspect: ["video"],
788
- blur: [isTshirtSize],
789
- breakpoint: [isTshirtSize],
790
- color: [isAny],
791
- container: [isTshirtSize],
792
- "drop-shadow": [isTshirtSize],
793
- ease: [
794
- "in",
795
- "out",
796
- "in-out"
797
- ],
798
- font: [isAnyNonArbitrary],
799
- "font-weight": [
800
- "thin",
801
- "extralight",
802
- "light",
803
- "normal",
804
- "medium",
805
- "semibold",
806
- "bold",
807
- "extrabold",
808
- "black"
809
- ],
810
- "inset-shadow": [isTshirtSize],
811
- leading: [
812
- "none",
813
- "tight",
814
- "snug",
815
- "normal",
816
- "relaxed",
817
- "loose"
818
- ],
819
- perspective: [
820
- "dramatic",
821
- "near",
822
- "normal",
823
- "midrange",
824
- "distant",
825
- "none"
826
- ],
827
- radius: [isTshirtSize],
828
- shadow: [isTshirtSize],
829
- spacing: ["px", isNumber],
830
- text: [isTshirtSize],
831
- "text-shadow": [isTshirtSize],
832
- tracking: [
833
- "tighter",
834
- "tight",
835
- "normal",
836
- "wide",
837
- "wider",
838
- "widest"
839
- ]
840
- },
841
- classGroups: {
842
- /**
843
- * Aspect Ratio
844
- * @see https://tailwindcss.com/docs/aspect-ratio
845
- */
846
- aspect: [{ aspect: [
847
- "auto",
848
- "square",
849
- isFraction,
850
- isArbitraryValue,
851
- isArbitraryVariable,
852
- themeAspect
853
- ] }],
854
- /**
855
- * Container
856
- * @see https://tailwindcss.com/docs/container
857
- * @deprecated since Tailwind CSS v4.0.0
858
- */
859
- container: ["container"],
860
- /**
861
- * Container Type
862
- * @see https://tailwindcss.com/docs/responsive-design#container-queries
863
- */
864
- "container-type": [{ "@container": [
865
- "",
866
- "normal",
867
- "size",
868
- isArbitraryVariable,
869
- isArbitraryValue
870
- ] }],
871
- /**
872
- * Container Name
873
- * @see https://tailwindcss.com/docs/responsive-design#named-containers
874
- */
875
- "container-named": [isNamedContainerQuery],
876
- /**
877
- * Columns
878
- * @see https://tailwindcss.com/docs/columns
879
- */
880
- columns: [{ columns: [
881
- isNumber,
882
- "auto",
883
- isArbitraryValue,
884
- isArbitraryVariable,
885
- themeContainer
886
- ] }],
887
- /**
888
- * Break After
889
- * @see https://tailwindcss.com/docs/break-after
890
- */
891
- "break-after": [{ "break-after": scaleBreak() }],
892
- /**
893
- * Break Before
894
- * @see https://tailwindcss.com/docs/break-before
895
- */
896
- "break-before": [{ "break-before": scaleBreak() }],
897
- /**
898
- * Break Inside
899
- * @see https://tailwindcss.com/docs/break-inside
900
- */
901
- "break-inside": [{ "break-inside": [
902
- "auto",
903
- "avoid",
904
- "avoid-page",
905
- "avoid-column"
906
- ] }],
907
- /**
908
- * Box Decoration Break
909
- * @see https://tailwindcss.com/docs/box-decoration-break
910
- */
911
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
912
- /**
913
- * Box Sizing
914
- * @see https://tailwindcss.com/docs/box-sizing
915
- */
916
- box: [{ box: ["border", "content"] }],
917
- /**
918
- * Display
919
- * @see https://tailwindcss.com/docs/display
920
- */
921
- display: [
922
- "block",
923
- "inline-block",
924
- "inline",
925
- "flex",
926
- "inline-flex",
927
- "table",
928
- "inline-table",
929
- "table-caption",
930
- "table-cell",
931
- "table-column",
932
- "table-column-group",
933
- "table-footer-group",
934
- "table-header-group",
935
- "table-row-group",
936
- "table-row",
937
- "flow-root",
938
- "grid",
939
- "inline-grid",
940
- "contents",
941
- "list-item",
942
- "hidden"
943
- ],
944
- /**
945
- * Screen Reader Only
946
- * @see https://tailwindcss.com/docs/display#screen-reader-only
947
- */
948
- sr: ["sr-only", "not-sr-only"],
949
- /**
950
- * Floats
951
- * @see https://tailwindcss.com/docs/float
952
- */
953
- float: [{ float: [
954
- "right",
955
- "left",
956
- "none",
957
- "start",
958
- "end"
959
- ] }],
960
- /**
961
- * Clear
962
- * @see https://tailwindcss.com/docs/clear
963
- */
964
- clear: [{ clear: [
965
- "left",
966
- "right",
967
- "both",
968
- "none",
969
- "start",
970
- "end"
971
- ] }],
972
- /**
973
- * Isolation
974
- * @see https://tailwindcss.com/docs/isolation
975
- */
976
- isolation: ["isolate", "isolation-auto"],
977
- /**
978
- * Object Fit
979
- * @see https://tailwindcss.com/docs/object-fit
980
- */
981
- "object-fit": [{ object: [
982
- "contain",
983
- "cover",
984
- "fill",
985
- "none",
986
- "scale-down"
987
- ] }],
988
- /**
989
- * Object Position
990
- * @see https://tailwindcss.com/docs/object-position
991
- */
992
- "object-position": [{ object: scalePositionWithArbitrary() }],
993
- /**
994
- * Overflow
995
- * @see https://tailwindcss.com/docs/overflow
996
- */
997
- overflow: [{ overflow: scaleOverflow() }],
998
- /**
999
- * Overflow X
1000
- * @see https://tailwindcss.com/docs/overflow
1001
- */
1002
- "overflow-x": [{ "overflow-x": scaleOverflow() }],
1003
- /**
1004
- * Overflow Y
1005
- * @see https://tailwindcss.com/docs/overflow
1006
- */
1007
- "overflow-y": [{ "overflow-y": scaleOverflow() }],
1008
- /**
1009
- * Overscroll Behavior
1010
- * @see https://tailwindcss.com/docs/overscroll-behavior
1011
- */
1012
- overscroll: [{ overscroll: scaleOverscroll() }],
1013
- /**
1014
- * Overscroll Behavior X
1015
- * @see https://tailwindcss.com/docs/overscroll-behavior
1016
- */
1017
- "overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
1018
- /**
1019
- * Overscroll Behavior Y
1020
- * @see https://tailwindcss.com/docs/overscroll-behavior
1021
- */
1022
- "overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
1023
- /**
1024
- * Position
1025
- * @see https://tailwindcss.com/docs/position
1026
- */
1027
- position: [
1028
- "static",
1029
- "fixed",
1030
- "absolute",
1031
- "relative",
1032
- "sticky"
1033
- ],
1034
- /**
1035
- * Inset
1036
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1037
- */
1038
- inset: [{ inset: scaleInset() }],
1039
- /**
1040
- * Inset Inline
1041
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1042
- */
1043
- "inset-x": [{ "inset-x": scaleInset() }],
1044
- /**
1045
- * Inset Block
1046
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1047
- */
1048
- "inset-y": [{ "inset-y": scaleInset() }],
1049
- /**
1050
- * Inset Inline Start
1051
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1052
- * @todo class group will be renamed to `inset-s` in next major release
1053
- */
1054
- start: [{
1055
- "inset-s": scaleInset(),
1056
- /**
1057
- * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
1058
- * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
1059
- */
1060
- start: scaleInset()
1061
- }],
1062
- /**
1063
- * Inset Inline End
1064
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1065
- * @todo class group will be renamed to `inset-e` in next major release
1066
- */
1067
- end: [{
1068
- "inset-e": scaleInset(),
1069
- /**
1070
- * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
1071
- * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
1072
- */
1073
- end: scaleInset()
1074
- }],
1075
- /**
1076
- * Inset Block Start
1077
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1078
- */
1079
- "inset-bs": [{ "inset-bs": scaleInset() }],
1080
- /**
1081
- * Inset Block End
1082
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1083
- */
1084
- "inset-be": [{ "inset-be": scaleInset() }],
1085
- /**
1086
- * Top
1087
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1088
- */
1089
- top: [{ top: scaleInset() }],
1090
- /**
1091
- * Right
1092
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1093
- */
1094
- right: [{ right: scaleInset() }],
1095
- /**
1096
- * Bottom
1097
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1098
- */
1099
- bottom: [{ bottom: scaleInset() }],
1100
- /**
1101
- * Left
1102
- * @see https://tailwindcss.com/docs/top-right-bottom-left
1103
- */
1104
- left: [{ left: scaleInset() }],
1105
- /**
1106
- * Visibility
1107
- * @see https://tailwindcss.com/docs/visibility
1108
- */
1109
- visibility: [
1110
- "visible",
1111
- "invisible",
1112
- "collapse"
1113
- ],
1114
- /**
1115
- * Z-Index
1116
- * @see https://tailwindcss.com/docs/z-index
1117
- */
1118
- z: [{ z: [
1119
- isInteger,
1120
- "auto",
1121
- isArbitraryVariable,
1122
- isArbitraryValue
1123
- ] }],
1124
- /**
1125
- * Flex Basis
1126
- * @see https://tailwindcss.com/docs/flex-basis
1127
- */
1128
- basis: [{ basis: [
1129
- isFraction,
1130
- "full",
1131
- "auto",
1132
- themeContainer,
1133
- ...scaleUnambiguousSpacing()
1134
- ] }],
1135
- /**
1136
- * Flex Direction
1137
- * @see https://tailwindcss.com/docs/flex-direction
1138
- */
1139
- "flex-direction": [{ flex: [
1140
- "row",
1141
- "row-reverse",
1142
- "col",
1143
- "col-reverse"
1144
- ] }],
1145
- /**
1146
- * Flex Wrap
1147
- * @see https://tailwindcss.com/docs/flex-wrap
1148
- */
1149
- "flex-wrap": [{ flex: [
1150
- "nowrap",
1151
- "wrap",
1152
- "wrap-reverse"
1153
- ] }],
1154
- /**
1155
- * Flex
1156
- * @see https://tailwindcss.com/docs/flex
1157
- */
1158
- flex: [{ flex: [
1159
- isNumber,
1160
- isFraction,
1161
- "auto",
1162
- "initial",
1163
- "none",
1164
- isArbitraryValue
1165
- ] }],
1166
- /**
1167
- * Flex Grow
1168
- * @see https://tailwindcss.com/docs/flex-grow
1169
- */
1170
- grow: [{ grow: [
1171
- "",
1172
- isNumber,
1173
- isArbitraryVariable,
1174
- isArbitraryValue
1175
- ] }],
1176
- /**
1177
- * Flex Shrink
1178
- * @see https://tailwindcss.com/docs/flex-shrink
1179
- */
1180
- shrink: [{ shrink: [
1181
- "",
1182
- isNumber,
1183
- isArbitraryVariable,
1184
- isArbitraryValue
1185
- ] }],
1186
- /**
1187
- * Order
1188
- * @see https://tailwindcss.com/docs/order
1189
- */
1190
- order: [{ order: [
1191
- isInteger,
1192
- "first",
1193
- "last",
1194
- "none",
1195
- isArbitraryVariable,
1196
- isArbitraryValue
1197
- ] }],
1198
- /**
1199
- * Grid Template Columns
1200
- * @see https://tailwindcss.com/docs/grid-template-columns
1201
- */
1202
- "grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
1203
- /**
1204
- * Grid Column Start / End
1205
- * @see https://tailwindcss.com/docs/grid-column
1206
- */
1207
- "col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
1208
- /**
1209
- * Grid Column Start
1210
- * @see https://tailwindcss.com/docs/grid-column
1211
- */
1212
- "col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
1213
- /**
1214
- * Grid Column End
1215
- * @see https://tailwindcss.com/docs/grid-column
1216
- */
1217
- "col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
1218
- /**
1219
- * Grid Template Rows
1220
- * @see https://tailwindcss.com/docs/grid-template-rows
1221
- */
1222
- "grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
1223
- /**
1224
- * Grid Row Start / End
1225
- * @see https://tailwindcss.com/docs/grid-row
1226
- */
1227
- "row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
1228
- /**
1229
- * Grid Row Start
1230
- * @see https://tailwindcss.com/docs/grid-row
1231
- */
1232
- "row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
1233
- /**
1234
- * Grid Row End
1235
- * @see https://tailwindcss.com/docs/grid-row
1236
- */
1237
- "row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
1238
- /**
1239
- * Grid Auto Flow
1240
- * @see https://tailwindcss.com/docs/grid-auto-flow
1241
- */
1242
- "grid-flow": [{ "grid-flow": [
1243
- "row",
1244
- "col",
1245
- "dense",
1246
- "row-dense",
1247
- "col-dense"
1248
- ] }],
1249
- /**
1250
- * Grid Auto Columns
1251
- * @see https://tailwindcss.com/docs/grid-auto-columns
1252
- */
1253
- "auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
1254
- /**
1255
- * Grid Auto Rows
1256
- * @see https://tailwindcss.com/docs/grid-auto-rows
1257
- */
1258
- "auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
1259
- /**
1260
- * Gap
1261
- * @see https://tailwindcss.com/docs/gap
1262
- */
1263
- gap: [{ gap: scaleUnambiguousSpacing() }],
1264
- /**
1265
- * Gap X
1266
- * @see https://tailwindcss.com/docs/gap
1267
- */
1268
- "gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
1269
- /**
1270
- * Gap Y
1271
- * @see https://tailwindcss.com/docs/gap
1272
- */
1273
- "gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
1274
- /**
1275
- * Justify Content
1276
- * @see https://tailwindcss.com/docs/justify-content
1277
- */
1278
- "justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
1279
- /**
1280
- * Justify Items
1281
- * @see https://tailwindcss.com/docs/justify-items
1282
- */
1283
- "justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
1284
- /**
1285
- * Justify Self
1286
- * @see https://tailwindcss.com/docs/justify-self
1287
- */
1288
- "justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
1289
- /**
1290
- * Align Content
1291
- * @see https://tailwindcss.com/docs/align-content
1292
- */
1293
- "align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
1294
- /**
1295
- * Align Items
1296
- * @see https://tailwindcss.com/docs/align-items
1297
- */
1298
- "align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
1299
- /**
1300
- * Align Self
1301
- * @see https://tailwindcss.com/docs/align-self
1302
- */
1303
- "align-self": [{ self: [
1304
- "auto",
1305
- ...scaleAlignSecondaryAxis(),
1306
- { baseline: ["", "last"] }
1307
- ] }],
1308
- /**
1309
- * Place Content
1310
- * @see https://tailwindcss.com/docs/place-content
1311
- */
1312
- "place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
1313
- /**
1314
- * Place Items
1315
- * @see https://tailwindcss.com/docs/place-items
1316
- */
1317
- "place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
1318
- /**
1319
- * Place Self
1320
- * @see https://tailwindcss.com/docs/place-self
1321
- */
1322
- "place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
1323
- /**
1324
- * Padding
1325
- * @see https://tailwindcss.com/docs/padding
1326
- */
1327
- p: [{ p: scaleUnambiguousSpacing() }],
1328
- /**
1329
- * Padding Inline
1330
- * @see https://tailwindcss.com/docs/padding
1331
- */
1332
- px: [{ px: scaleUnambiguousSpacing() }],
1333
- /**
1334
- * Padding Block
1335
- * @see https://tailwindcss.com/docs/padding
1336
- */
1337
- py: [{ py: scaleUnambiguousSpacing() }],
1338
- /**
1339
- * Padding Inline Start
1340
- * @see https://tailwindcss.com/docs/padding
1341
- */
1342
- ps: [{ ps: scaleUnambiguousSpacing() }],
1343
- /**
1344
- * Padding Inline End
1345
- * @see https://tailwindcss.com/docs/padding
1346
- */
1347
- pe: [{ pe: scaleUnambiguousSpacing() }],
1348
- /**
1349
- * Padding Block Start
1350
- * @see https://tailwindcss.com/docs/padding
1351
- */
1352
- pbs: [{ pbs: scaleUnambiguousSpacing() }],
1353
- /**
1354
- * Padding Block End
1355
- * @see https://tailwindcss.com/docs/padding
1356
- */
1357
- pbe: [{ pbe: scaleUnambiguousSpacing() }],
1358
- /**
1359
- * Padding Top
1360
- * @see https://tailwindcss.com/docs/padding
1361
- */
1362
- pt: [{ pt: scaleUnambiguousSpacing() }],
1363
- /**
1364
- * Padding Right
1365
- * @see https://tailwindcss.com/docs/padding
1366
- */
1367
- pr: [{ pr: scaleUnambiguousSpacing() }],
1368
- /**
1369
- * Padding Bottom
1370
- * @see https://tailwindcss.com/docs/padding
1371
- */
1372
- pb: [{ pb: scaleUnambiguousSpacing() }],
1373
- /**
1374
- * Padding Left
1375
- * @see https://tailwindcss.com/docs/padding
1376
- */
1377
- pl: [{ pl: scaleUnambiguousSpacing() }],
1378
- /**
1379
- * Margin
1380
- * @see https://tailwindcss.com/docs/margin
1381
- */
1382
- m: [{ m: scaleMargin() }],
1383
- /**
1384
- * Margin Inline
1385
- * @see https://tailwindcss.com/docs/margin
1386
- */
1387
- mx: [{ mx: scaleMargin() }],
1388
- /**
1389
- * Margin Block
1390
- * @see https://tailwindcss.com/docs/margin
1391
- */
1392
- my: [{ my: scaleMargin() }],
1393
- /**
1394
- * Margin Inline Start
1395
- * @see https://tailwindcss.com/docs/margin
1396
- */
1397
- ms: [{ ms: scaleMargin() }],
1398
- /**
1399
- * Margin Inline End
1400
- * @see https://tailwindcss.com/docs/margin
1401
- */
1402
- me: [{ me: scaleMargin() }],
1403
- /**
1404
- * Margin Block Start
1405
- * @see https://tailwindcss.com/docs/margin
1406
- */
1407
- mbs: [{ mbs: scaleMargin() }],
1408
- /**
1409
- * Margin Block End
1410
- * @see https://tailwindcss.com/docs/margin
1411
- */
1412
- mbe: [{ mbe: scaleMargin() }],
1413
- /**
1414
- * Margin Top
1415
- * @see https://tailwindcss.com/docs/margin
1416
- */
1417
- mt: [{ mt: scaleMargin() }],
1418
- /**
1419
- * Margin Right
1420
- * @see https://tailwindcss.com/docs/margin
1421
- */
1422
- mr: [{ mr: scaleMargin() }],
1423
- /**
1424
- * Margin Bottom
1425
- * @see https://tailwindcss.com/docs/margin
1426
- */
1427
- mb: [{ mb: scaleMargin() }],
1428
- /**
1429
- * Margin Left
1430
- * @see https://tailwindcss.com/docs/margin
1431
- */
1432
- ml: [{ ml: scaleMargin() }],
1433
- /**
1434
- * Space Between X
1435
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1436
- */
1437
- "space-x": [{ "space-x": scaleUnambiguousSpacing() }],
1438
- /**
1439
- * Space Between X Reverse
1440
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1441
- */
1442
- "space-x-reverse": ["space-x-reverse"],
1443
- /**
1444
- * Space Between Y
1445
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1446
- */
1447
- "space-y": [{ "space-y": scaleUnambiguousSpacing() }],
1448
- /**
1449
- * Space Between Y Reverse
1450
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1451
- */
1452
- "space-y-reverse": ["space-y-reverse"],
1453
- /**
1454
- * Size
1455
- * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1456
- */
1457
- size: [{ size: scaleSizing() }],
1458
- /**
1459
- * Inline Size
1460
- * @see https://tailwindcss.com/docs/inline-size
1461
- */
1462
- "inline-size": [{ inline: ["auto", ...scaleSizingInline()] }],
1463
- /**
1464
- * Min-Inline Size
1465
- * @see https://tailwindcss.com/docs/min-inline-size
1466
- */
1467
- "min-inline-size": [{ "min-inline": ["auto", ...scaleSizingInline()] }],
1468
- /**
1469
- * Max-Inline Size
1470
- * @see https://tailwindcss.com/docs/max-inline-size
1471
- */
1472
- "max-inline-size": [{ "max-inline": ["none", ...scaleSizingInline()] }],
1473
- /**
1474
- * Block Size
1475
- * @see https://tailwindcss.com/docs/block-size
1476
- */
1477
- "block-size": [{ block: ["auto", ...scaleSizingBlock()] }],
1478
- /**
1479
- * Min-Block Size
1480
- * @see https://tailwindcss.com/docs/min-block-size
1481
- */
1482
- "min-block-size": [{ "min-block": ["auto", ...scaleSizingBlock()] }],
1483
- /**
1484
- * Max-Block Size
1485
- * @see https://tailwindcss.com/docs/max-block-size
1486
- */
1487
- "max-block-size": [{ "max-block": ["none", ...scaleSizingBlock()] }],
1488
- /**
1489
- * Width
1490
- * @see https://tailwindcss.com/docs/width
1491
- */
1492
- w: [{ w: [
1493
- themeContainer,
1494
- "screen",
1495
- ...scaleSizing()
1496
- ] }],
1497
- /**
1498
- * Min-Width
1499
- * @see https://tailwindcss.com/docs/min-width
1500
- */
1501
- "min-w": [{ "min-w": [
1502
- themeContainer,
1503
- "screen",
1504
- "none",
1505
- ...scaleSizing()
1506
- ] }],
1507
- /**
1508
- * Max-Width
1509
- * @see https://tailwindcss.com/docs/max-width
1510
- */
1511
- "max-w": [{ "max-w": [
1512
- themeContainer,
1513
- "screen",
1514
- "none",
1515
- "prose",
1516
- { screen: [themeBreakpoint] },
1517
- ...scaleSizing()
1518
- ] }],
1519
- /**
1520
- * Height
1521
- * @see https://tailwindcss.com/docs/height
1522
- */
1523
- h: [{ h: [
1524
- "screen",
1525
- "lh",
1526
- ...scaleSizing()
1527
- ] }],
1528
- /**
1529
- * Min-Height
1530
- * @see https://tailwindcss.com/docs/min-height
1531
- */
1532
- "min-h": [{ "min-h": [
1533
- "screen",
1534
- "lh",
1535
- "none",
1536
- ...scaleSizing()
1537
- ] }],
1538
- /**
1539
- * Max-Height
1540
- * @see https://tailwindcss.com/docs/max-height
1541
- */
1542
- "max-h": [{ "max-h": [
1543
- "screen",
1544
- "lh",
1545
- "none",
1546
- ...scaleSizing()
1547
- ] }],
1548
- /**
1549
- * Font Size
1550
- * @see https://tailwindcss.com/docs/font-size
1551
- */
1552
- "font-size": [{ text: [
1553
- "base",
1554
- themeText,
1555
- isArbitraryVariableLength,
1556
- isArbitraryLength
1557
- ] }],
1558
- /**
1559
- * Font Smoothing
1560
- * @see https://tailwindcss.com/docs/font-smoothing
1561
- */
1562
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
1563
- /**
1564
- * Font Style
1565
- * @see https://tailwindcss.com/docs/font-style
1566
- */
1567
- "font-style": ["italic", "not-italic"],
1568
- /**
1569
- * Font Weight
1570
- * @see https://tailwindcss.com/docs/font-weight
1571
- */
1572
- "font-weight": [{ font: [
1573
- themeFontWeight,
1574
- isArbitraryVariableWeight,
1575
- isArbitraryWeight
1576
- ] }],
1577
- /**
1578
- * Font Stretch
1579
- * @see https://tailwindcss.com/docs/font-stretch
1580
- */
1581
- "font-stretch": [{ "font-stretch": [
1582
- "ultra-condensed",
1583
- "extra-condensed",
1584
- "condensed",
1585
- "semi-condensed",
1586
- "normal",
1587
- "semi-expanded",
1588
- "expanded",
1589
- "extra-expanded",
1590
- "ultra-expanded",
1591
- isPercent,
1592
- isArbitraryValue
1593
- ] }],
1594
- /**
1595
- * Font Family
1596
- * @see https://tailwindcss.com/docs/font-family
1597
- */
1598
- "font-family": [{ font: [
1599
- isArbitraryVariableFamilyName,
1600
- isArbitraryFamilyName,
1601
- themeFont
1602
- ] }],
1603
- /**
1604
- * Font Feature Settings
1605
- * @see https://tailwindcss.com/docs/font-feature-settings
1606
- */
1607
- "font-features": [{ "font-features": [isArbitraryValue] }],
1608
- /**
1609
- * Font Variant Numeric
1610
- * @see https://tailwindcss.com/docs/font-variant-numeric
1611
- */
1612
- "fvn-normal": ["normal-nums"],
1613
- /**
1614
- * Font Variant Numeric
1615
- * @see https://tailwindcss.com/docs/font-variant-numeric
1616
- */
1617
- "fvn-ordinal": ["ordinal"],
1618
- /**
1619
- * Font Variant Numeric
1620
- * @see https://tailwindcss.com/docs/font-variant-numeric
1621
- */
1622
- "fvn-slashed-zero": ["slashed-zero"],
1623
- /**
1624
- * Font Variant Numeric
1625
- * @see https://tailwindcss.com/docs/font-variant-numeric
1626
- */
1627
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
1628
- /**
1629
- * Font Variant Numeric
1630
- * @see https://tailwindcss.com/docs/font-variant-numeric
1631
- */
1632
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
1633
- /**
1634
- * Font Variant Numeric
1635
- * @see https://tailwindcss.com/docs/font-variant-numeric
1636
- */
1637
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1638
- /**
1639
- * Letter Spacing
1640
- * @see https://tailwindcss.com/docs/letter-spacing
1641
- */
1642
- tracking: [{ tracking: [
1643
- themeTracking,
1644
- isArbitraryVariable,
1645
- isArbitraryValue
1646
- ] }],
1647
- /**
1648
- * Line Clamp
1649
- * @see https://tailwindcss.com/docs/line-clamp
1650
- */
1651
- "line-clamp": [{ "line-clamp": [
1652
- isNumber,
1653
- "none",
1654
- isArbitraryVariable,
1655
- isArbitraryNumber
1656
- ] }],
1657
- /**
1658
- * Line Height
1659
- * @see https://tailwindcss.com/docs/line-height
1660
- */
1661
- leading: [{ leading: [
1662
- "none",
1663
- themeLeading,
1664
- ...scaleUnambiguousSpacing()
1665
- ] }],
1666
- /**
1667
- * List Style Image
1668
- * @see https://tailwindcss.com/docs/list-style-image
1669
- */
1670
- "list-image": [{ "list-image": [
1671
- "none",
1672
- isArbitraryVariable,
1673
- isArbitraryValue
1674
- ] }],
1675
- /**
1676
- * List Style Position
1677
- * @see https://tailwindcss.com/docs/list-style-position
1678
- */
1679
- "list-style-position": [{ list: ["inside", "outside"] }],
1680
- /**
1681
- * List Style Type
1682
- * @see https://tailwindcss.com/docs/list-style-type
1683
- */
1684
- "list-style-type": [{ list: [
1685
- "disc",
1686
- "decimal",
1687
- "none",
1688
- isArbitraryVariable,
1689
- isArbitraryValue
1690
- ] }],
1691
- /**
1692
- * Text Alignment
1693
- * @see https://tailwindcss.com/docs/text-align
1694
- */
1695
- "text-alignment": [{ text: [
1696
- "left",
1697
- "center",
1698
- "right",
1699
- "justify",
1700
- "start",
1701
- "end"
1702
- ] }],
1703
- /**
1704
- * Placeholder Color
1705
- * @deprecated since Tailwind CSS v3.0.0
1706
- * @see https://v3.tailwindcss.com/docs/placeholder-color
1707
- */
1708
- "placeholder-color": [{ placeholder: scaleColor() }],
1709
- /**
1710
- * Text Color
1711
- * @see https://tailwindcss.com/docs/text-color
1712
- */
1713
- "text-color": [{ text: scaleColor() }],
1714
- /**
1715
- * Text Decoration
1716
- * @see https://tailwindcss.com/docs/text-decoration
1717
- */
1718
- "text-decoration": [
1719
- "underline",
1720
- "overline",
1721
- "line-through",
1722
- "no-underline"
1723
- ],
1724
- /**
1725
- * Text Decoration Style
1726
- * @see https://tailwindcss.com/docs/text-decoration-style
1727
- */
1728
- "text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
1729
- /**
1730
- * Text Decoration Thickness
1731
- * @see https://tailwindcss.com/docs/text-decoration-thickness
1732
- */
1733
- "text-decoration-thickness": [{ decoration: [
1734
- isNumber,
1735
- "from-font",
1736
- "auto",
1737
- isArbitraryVariable,
1738
- isArbitraryLength
1739
- ] }],
1740
- /**
1741
- * Text Decoration Color
1742
- * @see https://tailwindcss.com/docs/text-decoration-color
1743
- */
1744
- "text-decoration-color": [{ decoration: scaleColor() }],
1745
- /**
1746
- * Text Underline Offset
1747
- * @see https://tailwindcss.com/docs/text-underline-offset
1748
- */
1749
- "underline-offset": [{ "underline-offset": [
1750
- isNumber,
1751
- "auto",
1752
- isArbitraryVariable,
1753
- isArbitraryValue
1754
- ] }],
1755
- /**
1756
- * Text Transform
1757
- * @see https://tailwindcss.com/docs/text-transform
1758
- */
1759
- "text-transform": [
1760
- "uppercase",
1761
- "lowercase",
1762
- "capitalize",
1763
- "normal-case"
1764
- ],
1765
- /**
1766
- * Text Overflow
1767
- * @see https://tailwindcss.com/docs/text-overflow
1768
- */
1769
- "text-overflow": [
1770
- "truncate",
1771
- "text-ellipsis",
1772
- "text-clip"
1773
- ],
1774
- /**
1775
- * Text Wrap
1776
- * @see https://tailwindcss.com/docs/text-wrap
1777
- */
1778
- "text-wrap": [{ text: [
1779
- "wrap",
1780
- "nowrap",
1781
- "balance",
1782
- "pretty"
1783
- ] }],
1784
- /**
1785
- * Text Indent
1786
- * @see https://tailwindcss.com/docs/text-indent
1787
- */
1788
- indent: [{ indent: scaleUnambiguousSpacing() }],
1789
- /**
1790
- * Tab Size
1791
- * @see https://tailwindcss.com/docs/tab-size
1792
- */
1793
- "tab-size": [{ tab: [
1794
- isInteger,
1795
- isArbitraryVariable,
1796
- isArbitraryValue
1797
- ] }],
1798
- /**
1799
- * Vertical Alignment
1800
- * @see https://tailwindcss.com/docs/vertical-align
1801
- */
1802
- "vertical-align": [{ align: [
1803
- "baseline",
1804
- "top",
1805
- "middle",
1806
- "bottom",
1807
- "text-top",
1808
- "text-bottom",
1809
- "sub",
1810
- "super",
1811
- isArbitraryVariable,
1812
- isArbitraryValue
1813
- ] }],
1814
- /**
1815
- * Whitespace
1816
- * @see https://tailwindcss.com/docs/whitespace
1817
- */
1818
- whitespace: [{ whitespace: [
1819
- "normal",
1820
- "nowrap",
1821
- "pre",
1822
- "pre-line",
1823
- "pre-wrap",
1824
- "break-spaces"
1825
- ] }],
1826
- /**
1827
- * Word Break
1828
- * @see https://tailwindcss.com/docs/word-break
1829
- */
1830
- break: [{ break: [
1831
- "normal",
1832
- "words",
1833
- "all",
1834
- "keep"
1835
- ] }],
1836
- /**
1837
- * Overflow Wrap
1838
- * @see https://tailwindcss.com/docs/overflow-wrap
1839
- */
1840
- wrap: [{ wrap: [
1841
- "break-word",
1842
- "anywhere",
1843
- "normal"
1844
- ] }],
1845
- /**
1846
- * Hyphens
1847
- * @see https://tailwindcss.com/docs/hyphens
1848
- */
1849
- hyphens: [{ hyphens: [
1850
- "none",
1851
- "manual",
1852
- "auto"
1853
- ] }],
1854
- /**
1855
- * Content
1856
- * @see https://tailwindcss.com/docs/content
1857
- */
1858
- content: [{ content: [
1859
- "none",
1860
- isArbitraryVariable,
1861
- isArbitraryValue
1862
- ] }],
1863
- /**
1864
- * Background Attachment
1865
- * @see https://tailwindcss.com/docs/background-attachment
1866
- */
1867
- "bg-attachment": [{ bg: [
1868
- "fixed",
1869
- "local",
1870
- "scroll"
1871
- ] }],
1872
- /**
1873
- * Background Clip
1874
- * @see https://tailwindcss.com/docs/background-clip
1875
- */
1876
- "bg-clip": [{ "bg-clip": [
1877
- "border",
1878
- "padding",
1879
- "content",
1880
- "text"
1881
- ] }],
1882
- /**
1883
- * Background Origin
1884
- * @see https://tailwindcss.com/docs/background-origin
1885
- */
1886
- "bg-origin": [{ "bg-origin": [
1887
- "border",
1888
- "padding",
1889
- "content"
1890
- ] }],
1891
- /**
1892
- * Background Position
1893
- * @see https://tailwindcss.com/docs/background-position
1894
- */
1895
- "bg-position": [{ bg: scaleBgPosition() }],
1896
- /**
1897
- * Background Repeat
1898
- * @see https://tailwindcss.com/docs/background-repeat
1899
- */
1900
- "bg-repeat": [{ bg: scaleBgRepeat() }],
1901
- /**
1902
- * Background Size
1903
- * @see https://tailwindcss.com/docs/background-size
1904
- */
1905
- "bg-size": [{ bg: scaleBgSize() }],
1906
- /**
1907
- * Background Image
1908
- * @see https://tailwindcss.com/docs/background-image
1909
- */
1910
- "bg-image": [{ bg: [
1911
- "none",
1912
- {
1913
- linear: [
1914
- { to: [
1915
- "t",
1916
- "tr",
1917
- "r",
1918
- "br",
1919
- "b",
1920
- "bl",
1921
- "l",
1922
- "tl"
1923
- ] },
1924
- isInteger,
1925
- isArbitraryVariable,
1926
- isArbitraryValue
1927
- ],
1928
- radial: [
1929
- "",
1930
- isArbitraryVariable,
1931
- isArbitraryValue
1932
- ],
1933
- conic: [
1934
- "",
1935
- isInteger,
1936
- isArbitraryVariable,
1937
- isArbitraryValue
1938
- ]
1939
- },
1940
- isArbitraryVariableImage,
1941
- isArbitraryImage
1942
- ] }],
1943
- /**
1944
- * Background Color
1945
- * @see https://tailwindcss.com/docs/background-color
1946
- */
1947
- "bg-color": [{ bg: scaleColor() }],
1948
- /**
1949
- * Gradient Color Stops From Position
1950
- * @see https://tailwindcss.com/docs/gradient-color-stops
1951
- */
1952
- "gradient-from-pos": [{ from: scaleGradientStopPosition() }],
1953
- /**
1954
- * Gradient Color Stops Via Position
1955
- * @see https://tailwindcss.com/docs/gradient-color-stops
1956
- */
1957
- "gradient-via-pos": [{ via: scaleGradientStopPosition() }],
1958
- /**
1959
- * Gradient Color Stops To Position
1960
- * @see https://tailwindcss.com/docs/gradient-color-stops
1961
- */
1962
- "gradient-to-pos": [{ to: scaleGradientStopPosition() }],
1963
- /**
1964
- * Gradient Color Stops From
1965
- * @see https://tailwindcss.com/docs/gradient-color-stops
1966
- */
1967
- "gradient-from": [{ from: scaleColor() }],
1968
- /**
1969
- * Gradient Color Stops Via
1970
- * @see https://tailwindcss.com/docs/gradient-color-stops
1971
- */
1972
- "gradient-via": [{ via: scaleColor() }],
1973
- /**
1974
- * Gradient Color Stops To
1975
- * @see https://tailwindcss.com/docs/gradient-color-stops
1976
- */
1977
- "gradient-to": [{ to: scaleColor() }],
1978
- /**
1979
- * Border Radius
1980
- * @see https://tailwindcss.com/docs/border-radius
1981
- */
1982
- rounded: [{ rounded: scaleRadius() }],
1983
- /**
1984
- * Border Radius Start
1985
- * @see https://tailwindcss.com/docs/border-radius
1986
- */
1987
- "rounded-s": [{ "rounded-s": scaleRadius() }],
1988
- /**
1989
- * Border Radius End
1990
- * @see https://tailwindcss.com/docs/border-radius
1991
- */
1992
- "rounded-e": [{ "rounded-e": scaleRadius() }],
1993
- /**
1994
- * Border Radius Top
1995
- * @see https://tailwindcss.com/docs/border-radius
1996
- */
1997
- "rounded-t": [{ "rounded-t": scaleRadius() }],
1998
- /**
1999
- * Border Radius Right
2000
- * @see https://tailwindcss.com/docs/border-radius
2001
- */
2002
- "rounded-r": [{ "rounded-r": scaleRadius() }],
2003
- /**
2004
- * Border Radius Bottom
2005
- * @see https://tailwindcss.com/docs/border-radius
2006
- */
2007
- "rounded-b": [{ "rounded-b": scaleRadius() }],
2008
- /**
2009
- * Border Radius Left
2010
- * @see https://tailwindcss.com/docs/border-radius
2011
- */
2012
- "rounded-l": [{ "rounded-l": scaleRadius() }],
2013
- /**
2014
- * Border Radius Start Start
2015
- * @see https://tailwindcss.com/docs/border-radius
2016
- */
2017
- "rounded-ss": [{ "rounded-ss": scaleRadius() }],
2018
- /**
2019
- * Border Radius Start End
2020
- * @see https://tailwindcss.com/docs/border-radius
2021
- */
2022
- "rounded-se": [{ "rounded-se": scaleRadius() }],
2023
- /**
2024
- * Border Radius End End
2025
- * @see https://tailwindcss.com/docs/border-radius
2026
- */
2027
- "rounded-ee": [{ "rounded-ee": scaleRadius() }],
2028
- /**
2029
- * Border Radius End Start
2030
- * @see https://tailwindcss.com/docs/border-radius
2031
- */
2032
- "rounded-es": [{ "rounded-es": scaleRadius() }],
2033
- /**
2034
- * Border Radius Top Left
2035
- * @see https://tailwindcss.com/docs/border-radius
2036
- */
2037
- "rounded-tl": [{ "rounded-tl": scaleRadius() }],
2038
- /**
2039
- * Border Radius Top Right
2040
- * @see https://tailwindcss.com/docs/border-radius
2041
- */
2042
- "rounded-tr": [{ "rounded-tr": scaleRadius() }],
2043
- /**
2044
- * Border Radius Bottom Right
2045
- * @see https://tailwindcss.com/docs/border-radius
2046
- */
2047
- "rounded-br": [{ "rounded-br": scaleRadius() }],
2048
- /**
2049
- * Border Radius Bottom Left
2050
- * @see https://tailwindcss.com/docs/border-radius
2051
- */
2052
- "rounded-bl": [{ "rounded-bl": scaleRadius() }],
2053
- /**
2054
- * Border Width
2055
- * @see https://tailwindcss.com/docs/border-width
2056
- */
2057
- "border-w": [{ border: scaleBorderWidth() }],
2058
- /**
2059
- * Border Width Inline
2060
- * @see https://tailwindcss.com/docs/border-width
2061
- */
2062
- "border-w-x": [{ "border-x": scaleBorderWidth() }],
2063
- /**
2064
- * Border Width Block
2065
- * @see https://tailwindcss.com/docs/border-width
2066
- */
2067
- "border-w-y": [{ "border-y": scaleBorderWidth() }],
2068
- /**
2069
- * Border Width Inline Start
2070
- * @see https://tailwindcss.com/docs/border-width
2071
- */
2072
- "border-w-s": [{ "border-s": scaleBorderWidth() }],
2073
- /**
2074
- * Border Width Inline End
2075
- * @see https://tailwindcss.com/docs/border-width
2076
- */
2077
- "border-w-e": [{ "border-e": scaleBorderWidth() }],
2078
- /**
2079
- * Border Width Block Start
2080
- * @see https://tailwindcss.com/docs/border-width
2081
- */
2082
- "border-w-bs": [{ "border-bs": scaleBorderWidth() }],
2083
- /**
2084
- * Border Width Block End
2085
- * @see https://tailwindcss.com/docs/border-width
2086
- */
2087
- "border-w-be": [{ "border-be": scaleBorderWidth() }],
2088
- /**
2089
- * Border Width Top
2090
- * @see https://tailwindcss.com/docs/border-width
2091
- */
2092
- "border-w-t": [{ "border-t": scaleBorderWidth() }],
2093
- /**
2094
- * Border Width Right
2095
- * @see https://tailwindcss.com/docs/border-width
2096
- */
2097
- "border-w-r": [{ "border-r": scaleBorderWidth() }],
2098
- /**
2099
- * Border Width Bottom
2100
- * @see https://tailwindcss.com/docs/border-width
2101
- */
2102
- "border-w-b": [{ "border-b": scaleBorderWidth() }],
2103
- /**
2104
- * Border Width Left
2105
- * @see https://tailwindcss.com/docs/border-width
2106
- */
2107
- "border-w-l": [{ "border-l": scaleBorderWidth() }],
2108
- /**
2109
- * Divide Width X
2110
- * @see https://tailwindcss.com/docs/border-width#between-children
2111
- */
2112
- "divide-x": [{ "divide-x": scaleBorderWidth() }],
2113
- /**
2114
- * Divide Width X Reverse
2115
- * @see https://tailwindcss.com/docs/border-width#between-children
2116
- */
2117
- "divide-x-reverse": ["divide-x-reverse"],
2118
- /**
2119
- * Divide Width Y
2120
- * @see https://tailwindcss.com/docs/border-width#between-children
2121
- */
2122
- "divide-y": [{ "divide-y": scaleBorderWidth() }],
2123
- /**
2124
- * Divide Width Y Reverse
2125
- * @see https://tailwindcss.com/docs/border-width#between-children
2126
- */
2127
- "divide-y-reverse": ["divide-y-reverse"],
2128
- /**
2129
- * Border Style
2130
- * @see https://tailwindcss.com/docs/border-style
2131
- */
2132
- "border-style": [{ border: [
2133
- ...scaleLineStyle(),
2134
- "hidden",
2135
- "none"
2136
- ] }],
2137
- /**
2138
- * Divide Style
2139
- * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2140
- */
2141
- "divide-style": [{ divide: [
2142
- ...scaleLineStyle(),
2143
- "hidden",
2144
- "none"
2145
- ] }],
2146
- /**
2147
- * Border Color
2148
- * @see https://tailwindcss.com/docs/border-color
2149
- */
2150
- "border-color": [{ border: scaleColor() }],
2151
- /**
2152
- * Border Color Inline
2153
- * @see https://tailwindcss.com/docs/border-color
2154
- */
2155
- "border-color-x": [{ "border-x": scaleColor() }],
2156
- /**
2157
- * Border Color Block
2158
- * @see https://tailwindcss.com/docs/border-color
2159
- */
2160
- "border-color-y": [{ "border-y": scaleColor() }],
2161
- /**
2162
- * Border Color Inline Start
2163
- * @see https://tailwindcss.com/docs/border-color
2164
- */
2165
- "border-color-s": [{ "border-s": scaleColor() }],
2166
- /**
2167
- * Border Color Inline End
2168
- * @see https://tailwindcss.com/docs/border-color
2169
- */
2170
- "border-color-e": [{ "border-e": scaleColor() }],
2171
- /**
2172
- * Border Color Block Start
2173
- * @see https://tailwindcss.com/docs/border-color
2174
- */
2175
- "border-color-bs": [{ "border-bs": scaleColor() }],
2176
- /**
2177
- * Border Color Block End
2178
- * @see https://tailwindcss.com/docs/border-color
2179
- */
2180
- "border-color-be": [{ "border-be": scaleColor() }],
2181
- /**
2182
- * Border Color Top
2183
- * @see https://tailwindcss.com/docs/border-color
2184
- */
2185
- "border-color-t": [{ "border-t": scaleColor() }],
2186
- /**
2187
- * Border Color Right
2188
- * @see https://tailwindcss.com/docs/border-color
2189
- */
2190
- "border-color-r": [{ "border-r": scaleColor() }],
2191
- /**
2192
- * Border Color Bottom
2193
- * @see https://tailwindcss.com/docs/border-color
2194
- */
2195
- "border-color-b": [{ "border-b": scaleColor() }],
2196
- /**
2197
- * Border Color Left
2198
- * @see https://tailwindcss.com/docs/border-color
2199
- */
2200
- "border-color-l": [{ "border-l": scaleColor() }],
2201
- /**
2202
- * Divide Color
2203
- * @see https://tailwindcss.com/docs/divide-color
2204
- */
2205
- "divide-color": [{ divide: scaleColor() }],
2206
- /**
2207
- * Outline Style
2208
- * @see https://tailwindcss.com/docs/outline-style
2209
- */
2210
- "outline-style": [{ outline: [
2211
- ...scaleLineStyle(),
2212
- "none",
2213
- "hidden"
2214
- ] }],
2215
- /**
2216
- * Outline Offset
2217
- * @see https://tailwindcss.com/docs/outline-offset
2218
- */
2219
- "outline-offset": [{ "outline-offset": [
2220
- isNumber,
2221
- isArbitraryVariable,
2222
- isArbitraryValue
2223
- ] }],
2224
- /**
2225
- * Outline Width
2226
- * @see https://tailwindcss.com/docs/outline-width
2227
- */
2228
- "outline-w": [{ outline: [
2229
- "",
2230
- isNumber,
2231
- isArbitraryVariableLength,
2232
- isArbitraryLength
2233
- ] }],
2234
- /**
2235
- * Outline Color
2236
- * @see https://tailwindcss.com/docs/outline-color
2237
- */
2238
- "outline-color": [{ outline: scaleColor() }],
2239
- /**
2240
- * Box Shadow
2241
- * @see https://tailwindcss.com/docs/box-shadow
2242
- */
2243
- shadow: [{ shadow: [
2244
- "",
2245
- "inner",
2246
- "none",
2247
- themeShadow,
2248
- isArbitraryVariableShadow,
2249
- isArbitraryShadow
2250
- ] }],
2251
- /**
2252
- * Box Shadow Color
2253
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2254
- */
2255
- "shadow-color": [{ shadow: scaleColor() }],
2256
- /**
2257
- * Inset Box Shadow
2258
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2259
- */
2260
- "inset-shadow": [{ "inset-shadow": [
2261
- "none",
2262
- themeInsetShadow,
2263
- isArbitraryVariableShadow,
2264
- isArbitraryShadow
2265
- ] }],
2266
- /**
2267
- * Inset Box Shadow Color
2268
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2269
- */
2270
- "inset-shadow-color": [{ "inset-shadow": scaleColor() }],
2271
- /**
2272
- * Ring Width
2273
- * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2274
- */
2275
- "ring-w": [{ ring: scaleBorderWidth() }],
2276
- /**
2277
- * Ring Width Inset
2278
- * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2279
- * @deprecated since Tailwind CSS v4.0.0
2280
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2281
- */
2282
- "ring-w-inset": ["ring-inset"],
2283
- /**
2284
- * Ring Color
2285
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2286
- */
2287
- "ring-color": [{ ring: scaleColor() }],
2288
- /**
2289
- * Ring Offset Width
2290
- * @see https://v3.tailwindcss.com/docs/ring-offset-width
2291
- * @deprecated since Tailwind CSS v4.0.0
2292
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2293
- */
2294
- "ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
2295
- /**
2296
- * Ring Offset Color
2297
- * @see https://v3.tailwindcss.com/docs/ring-offset-color
2298
- * @deprecated since Tailwind CSS v4.0.0
2299
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2300
- */
2301
- "ring-offset-color": [{ "ring-offset": scaleColor() }],
2302
- /**
2303
- * Inset Ring Width
2304
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2305
- */
2306
- "inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
2307
- /**
2308
- * Inset Ring Color
2309
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2310
- */
2311
- "inset-ring-color": [{ "inset-ring": scaleColor() }],
2312
- /**
2313
- * Text Shadow
2314
- * @see https://tailwindcss.com/docs/text-shadow
2315
- */
2316
- "text-shadow": [{ "text-shadow": [
2317
- "none",
2318
- themeTextShadow,
2319
- isArbitraryVariableShadow,
2320
- isArbitraryShadow
2321
- ] }],
2322
- /**
2323
- * Text Shadow Color
2324
- * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2325
- */
2326
- "text-shadow-color": [{ "text-shadow": scaleColor() }],
2327
- /**
2328
- * Opacity
2329
- * @see https://tailwindcss.com/docs/opacity
2330
- */
2331
- opacity: [{ opacity: [
2332
- isNumber,
2333
- isArbitraryVariable,
2334
- isArbitraryValue
2335
- ] }],
2336
- /**
2337
- * Mix Blend Mode
2338
- * @see https://tailwindcss.com/docs/mix-blend-mode
2339
- */
2340
- "mix-blend": [{ "mix-blend": [
2341
- ...scaleBlendMode(),
2342
- "plus-darker",
2343
- "plus-lighter"
2344
- ] }],
2345
- /**
2346
- * Background Blend Mode
2347
- * @see https://tailwindcss.com/docs/background-blend-mode
2348
- */
2349
- "bg-blend": [{ "bg-blend": scaleBlendMode() }],
2350
- /**
2351
- * Mask Clip
2352
- * @see https://tailwindcss.com/docs/mask-clip
2353
- */
2354
- "mask-clip": [{ "mask-clip": [
2355
- "border",
2356
- "padding",
2357
- "content",
2358
- "fill",
2359
- "stroke",
2360
- "view"
2361
- ] }, "mask-no-clip"],
2362
- /**
2363
- * Mask Composite
2364
- * @see https://tailwindcss.com/docs/mask-composite
2365
- */
2366
- "mask-composite": [{ mask: [
2367
- "add",
2368
- "subtract",
2369
- "intersect",
2370
- "exclude"
2371
- ] }],
2372
- /**
2373
- * Mask Image
2374
- * @see https://tailwindcss.com/docs/mask-image
2375
- */
2376
- "mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
2377
- "mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
2378
- "mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
2379
- "mask-image-linear-from-color": [{ "mask-linear-from": scaleColor() }],
2380
- "mask-image-linear-to-color": [{ "mask-linear-to": scaleColor() }],
2381
- "mask-image-t-from-pos": [{ "mask-t-from": scaleMaskImagePosition() }],
2382
- "mask-image-t-to-pos": [{ "mask-t-to": scaleMaskImagePosition() }],
2383
- "mask-image-t-from-color": [{ "mask-t-from": scaleColor() }],
2384
- "mask-image-t-to-color": [{ "mask-t-to": scaleColor() }],
2385
- "mask-image-r-from-pos": [{ "mask-r-from": scaleMaskImagePosition() }],
2386
- "mask-image-r-to-pos": [{ "mask-r-to": scaleMaskImagePosition() }],
2387
- "mask-image-r-from-color": [{ "mask-r-from": scaleColor() }],
2388
- "mask-image-r-to-color": [{ "mask-r-to": scaleColor() }],
2389
- "mask-image-b-from-pos": [{ "mask-b-from": scaleMaskImagePosition() }],
2390
- "mask-image-b-to-pos": [{ "mask-b-to": scaleMaskImagePosition() }],
2391
- "mask-image-b-from-color": [{ "mask-b-from": scaleColor() }],
2392
- "mask-image-b-to-color": [{ "mask-b-to": scaleColor() }],
2393
- "mask-image-l-from-pos": [{ "mask-l-from": scaleMaskImagePosition() }],
2394
- "mask-image-l-to-pos": [{ "mask-l-to": scaleMaskImagePosition() }],
2395
- "mask-image-l-from-color": [{ "mask-l-from": scaleColor() }],
2396
- "mask-image-l-to-color": [{ "mask-l-to": scaleColor() }],
2397
- "mask-image-x-from-pos": [{ "mask-x-from": scaleMaskImagePosition() }],
2398
- "mask-image-x-to-pos": [{ "mask-x-to": scaleMaskImagePosition() }],
2399
- "mask-image-x-from-color": [{ "mask-x-from": scaleColor() }],
2400
- "mask-image-x-to-color": [{ "mask-x-to": scaleColor() }],
2401
- "mask-image-y-from-pos": [{ "mask-y-from": scaleMaskImagePosition() }],
2402
- "mask-image-y-to-pos": [{ "mask-y-to": scaleMaskImagePosition() }],
2403
- "mask-image-y-from-color": [{ "mask-y-from": scaleColor() }],
2404
- "mask-image-y-to-color": [{ "mask-y-to": scaleColor() }],
2405
- "mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
2406
- "mask-image-radial-from-pos": [{ "mask-radial-from": scaleMaskImagePosition() }],
2407
- "mask-image-radial-to-pos": [{ "mask-radial-to": scaleMaskImagePosition() }],
2408
- "mask-image-radial-from-color": [{ "mask-radial-from": scaleColor() }],
2409
- "mask-image-radial-to-color": [{ "mask-radial-to": scaleColor() }],
2410
- "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
2411
- "mask-image-radial-size": [{ "mask-radial": [{
2412
- closest: ["side", "corner"],
2413
- farthest: ["side", "corner"]
2414
- }] }],
2415
- "mask-image-radial-pos": [{ "mask-radial-at": scalePosition() }],
2416
- "mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
2417
- "mask-image-conic-from-pos": [{ "mask-conic-from": scaleMaskImagePosition() }],
2418
- "mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
2419
- "mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
2420
- "mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
2421
- /**
2422
- * Mask Mode
2423
- * @see https://tailwindcss.com/docs/mask-mode
2424
- */
2425
- "mask-mode": [{ mask: [
2426
- "alpha",
2427
- "luminance",
2428
- "match"
2429
- ] }],
2430
- /**
2431
- * Mask Origin
2432
- * @see https://tailwindcss.com/docs/mask-origin
2433
- */
2434
- "mask-origin": [{ "mask-origin": [
2435
- "border",
2436
- "padding",
2437
- "content",
2438
- "fill",
2439
- "stroke",
2440
- "view"
2441
- ] }],
2442
- /**
2443
- * Mask Position
2444
- * @see https://tailwindcss.com/docs/mask-position
2445
- */
2446
- "mask-position": [{ mask: scaleBgPosition() }],
2447
- /**
2448
- * Mask Repeat
2449
- * @see https://tailwindcss.com/docs/mask-repeat
2450
- */
2451
- "mask-repeat": [{ mask: scaleBgRepeat() }],
2452
- /**
2453
- * Mask Size
2454
- * @see https://tailwindcss.com/docs/mask-size
2455
- */
2456
- "mask-size": [{ mask: scaleBgSize() }],
2457
- /**
2458
- * Mask Type
2459
- * @see https://tailwindcss.com/docs/mask-type
2460
- */
2461
- "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
2462
- /**
2463
- * Mask Image
2464
- * @see https://tailwindcss.com/docs/mask-image
2465
- */
2466
- "mask-image": [{ mask: [
2467
- "none",
2468
- isArbitraryVariable,
2469
- isArbitraryValue
2470
- ] }],
2471
- /**
2472
- * Filter
2473
- * @see https://tailwindcss.com/docs/filter
2474
- */
2475
- filter: [{ filter: [
2476
- "",
2477
- "none",
2478
- isArbitraryVariable,
2479
- isArbitraryValue
2480
- ] }],
2481
- /**
2482
- * Blur
2483
- * @see https://tailwindcss.com/docs/blur
2484
- */
2485
- blur: [{ blur: scaleBlur() }],
2486
- /**
2487
- * Brightness
2488
- * @see https://tailwindcss.com/docs/brightness
2489
- */
2490
- brightness: [{ brightness: [
2491
- isNumber,
2492
- isArbitraryVariable,
2493
- isArbitraryValue
2494
- ] }],
2495
- /**
2496
- * Contrast
2497
- * @see https://tailwindcss.com/docs/contrast
2498
- */
2499
- contrast: [{ contrast: [
2500
- isNumber,
2501
- isArbitraryVariable,
2502
- isArbitraryValue
2503
- ] }],
2504
- /**
2505
- * Drop Shadow
2506
- * @see https://tailwindcss.com/docs/drop-shadow
2507
- */
2508
- "drop-shadow": [{ "drop-shadow": [
2509
- "",
2510
- "none",
2511
- themeDropShadow,
2512
- isArbitraryVariableShadow,
2513
- isArbitraryShadow
2514
- ] }],
2515
- /**
2516
- * Drop Shadow Color
2517
- * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2518
- */
2519
- "drop-shadow-color": [{ "drop-shadow": scaleColor() }],
2520
- /**
2521
- * Grayscale
2522
- * @see https://tailwindcss.com/docs/grayscale
2523
- */
2524
- grayscale: [{ grayscale: [
2525
- "",
2526
- isNumber,
2527
- isArbitraryVariable,
2528
- isArbitraryValue
2529
- ] }],
2530
- /**
2531
- * Hue Rotate
2532
- * @see https://tailwindcss.com/docs/hue-rotate
2533
- */
2534
- "hue-rotate": [{ "hue-rotate": [
2535
- isNumber,
2536
- isArbitraryVariable,
2537
- isArbitraryValue
2538
- ] }],
2539
- /**
2540
- * Invert
2541
- * @see https://tailwindcss.com/docs/invert
2542
- */
2543
- invert: [{ invert: [
2544
- "",
2545
- isNumber,
2546
- isArbitraryVariable,
2547
- isArbitraryValue
2548
- ] }],
2549
- /**
2550
- * Saturate
2551
- * @see https://tailwindcss.com/docs/saturate
2552
- */
2553
- saturate: [{ saturate: [
2554
- isNumber,
2555
- isArbitraryVariable,
2556
- isArbitraryValue
2557
- ] }],
2558
- /**
2559
- * Sepia
2560
- * @see https://tailwindcss.com/docs/sepia
2561
- */
2562
- sepia: [{ sepia: [
2563
- "",
2564
- isNumber,
2565
- isArbitraryVariable,
2566
- isArbitraryValue
2567
- ] }],
2568
- /**
2569
- * Backdrop Filter
2570
- * @see https://tailwindcss.com/docs/backdrop-filter
2571
- */
2572
- "backdrop-filter": [{ "backdrop-filter": [
2573
- "",
2574
- "none",
2575
- isArbitraryVariable,
2576
- isArbitraryValue
2577
- ] }],
2578
- /**
2579
- * Backdrop Blur
2580
- * @see https://tailwindcss.com/docs/backdrop-blur
2581
- */
2582
- "backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
2583
- /**
2584
- * Backdrop Brightness
2585
- * @see https://tailwindcss.com/docs/backdrop-brightness
2586
- */
2587
- "backdrop-brightness": [{ "backdrop-brightness": [
2588
- isNumber,
2589
- isArbitraryVariable,
2590
- isArbitraryValue
2591
- ] }],
2592
- /**
2593
- * Backdrop Contrast
2594
- * @see https://tailwindcss.com/docs/backdrop-contrast
2595
- */
2596
- "backdrop-contrast": [{ "backdrop-contrast": [
2597
- isNumber,
2598
- isArbitraryVariable,
2599
- isArbitraryValue
2600
- ] }],
2601
- /**
2602
- * Backdrop Grayscale
2603
- * @see https://tailwindcss.com/docs/backdrop-grayscale
2604
- */
2605
- "backdrop-grayscale": [{ "backdrop-grayscale": [
2606
- "",
2607
- isNumber,
2608
- isArbitraryVariable,
2609
- isArbitraryValue
2610
- ] }],
2611
- /**
2612
- * Backdrop Hue Rotate
2613
- * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2614
- */
2615
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
2616
- isNumber,
2617
- isArbitraryVariable,
2618
- isArbitraryValue
2619
- ] }],
2620
- /**
2621
- * Backdrop Invert
2622
- * @see https://tailwindcss.com/docs/backdrop-invert
2623
- */
2624
- "backdrop-invert": [{ "backdrop-invert": [
2625
- "",
2626
- isNumber,
2627
- isArbitraryVariable,
2628
- isArbitraryValue
2629
- ] }],
2630
- /**
2631
- * Backdrop Opacity
2632
- * @see https://tailwindcss.com/docs/backdrop-opacity
2633
- */
2634
- "backdrop-opacity": [{ "backdrop-opacity": [
2635
- isNumber,
2636
- isArbitraryVariable,
2637
- isArbitraryValue
2638
- ] }],
2639
- /**
2640
- * Backdrop Saturate
2641
- * @see https://tailwindcss.com/docs/backdrop-saturate
2642
- */
2643
- "backdrop-saturate": [{ "backdrop-saturate": [
2644
- isNumber,
2645
- isArbitraryVariable,
2646
- isArbitraryValue
2647
- ] }],
2648
- /**
2649
- * Backdrop Sepia
2650
- * @see https://tailwindcss.com/docs/backdrop-sepia
2651
- */
2652
- "backdrop-sepia": [{ "backdrop-sepia": [
2653
- "",
2654
- isNumber,
2655
- isArbitraryVariable,
2656
- isArbitraryValue
2657
- ] }],
2658
- /**
2659
- * Border Collapse
2660
- * @see https://tailwindcss.com/docs/border-collapse
2661
- */
2662
- "border-collapse": [{ border: ["collapse", "separate"] }],
2663
- /**
2664
- * Border Spacing
2665
- * @see https://tailwindcss.com/docs/border-spacing
2666
- */
2667
- "border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
2668
- /**
2669
- * Border Spacing X
2670
- * @see https://tailwindcss.com/docs/border-spacing
2671
- */
2672
- "border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
2673
- /**
2674
- * Border Spacing Y
2675
- * @see https://tailwindcss.com/docs/border-spacing
2676
- */
2677
- "border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
2678
- /**
2679
- * Table Layout
2680
- * @see https://tailwindcss.com/docs/table-layout
2681
- */
2682
- "table-layout": [{ table: ["auto", "fixed"] }],
2683
- /**
2684
- * Caption Side
2685
- * @see https://tailwindcss.com/docs/caption-side
2686
- */
2687
- caption: [{ caption: ["top", "bottom"] }],
2688
- /**
2689
- * Transition Property
2690
- * @see https://tailwindcss.com/docs/transition-property
2691
- */
2692
- transition: [{ transition: [
2693
- "",
2694
- "all",
2695
- "colors",
2696
- "opacity",
2697
- "shadow",
2698
- "transform",
2699
- "none",
2700
- isArbitraryVariable,
2701
- isArbitraryValue
2702
- ] }],
2703
- /**
2704
- * Transition Behavior
2705
- * @see https://tailwindcss.com/docs/transition-behavior
2706
- */
2707
- "transition-behavior": [{ transition: ["normal", "discrete"] }],
2708
- /**
2709
- * Transition Duration
2710
- * @see https://tailwindcss.com/docs/transition-duration
2711
- */
2712
- duration: [{ duration: [
2713
- isNumber,
2714
- "initial",
2715
- isArbitraryVariable,
2716
- isArbitraryValue
2717
- ] }],
2718
- /**
2719
- * Transition Timing Function
2720
- * @see https://tailwindcss.com/docs/transition-timing-function
2721
- */
2722
- ease: [{ ease: [
2723
- "linear",
2724
- "initial",
2725
- themeEase,
2726
- isArbitraryVariable,
2727
- isArbitraryValue
2728
- ] }],
2729
- /**
2730
- * Transition Delay
2731
- * @see https://tailwindcss.com/docs/transition-delay
2732
- */
2733
- delay: [{ delay: [
2734
- isNumber,
2735
- isArbitraryVariable,
2736
- isArbitraryValue
2737
- ] }],
2738
- /**
2739
- * Animation
2740
- * @see https://tailwindcss.com/docs/animation
2741
- */
2742
- animate: [{ animate: [
2743
- "none",
2744
- themeAnimate,
2745
- isArbitraryVariable,
2746
- isArbitraryValue
2747
- ] }],
2748
- /**
2749
- * Backface Visibility
2750
- * @see https://tailwindcss.com/docs/backface-visibility
2751
- */
2752
- backface: [{ backface: ["hidden", "visible"] }],
2753
- /**
2754
- * Perspective
2755
- * @see https://tailwindcss.com/docs/perspective
2756
- */
2757
- perspective: [{ perspective: [
2758
- themePerspective,
2759
- isArbitraryVariable,
2760
- isArbitraryValue
2761
- ] }],
2762
- /**
2763
- * Perspective Origin
2764
- * @see https://tailwindcss.com/docs/perspective-origin
2765
- */
2766
- "perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
2767
- /**
2768
- * Rotate
2769
- * @see https://tailwindcss.com/docs/rotate
2770
- */
2771
- rotate: [{ rotate: scaleRotate() }],
2772
- /**
2773
- * Rotate X
2774
- * @see https://tailwindcss.com/docs/rotate
2775
- */
2776
- "rotate-x": [{ "rotate-x": scaleRotate() }],
2777
- /**
2778
- * Rotate Y
2779
- * @see https://tailwindcss.com/docs/rotate
2780
- */
2781
- "rotate-y": [{ "rotate-y": scaleRotate() }],
2782
- /**
2783
- * Rotate Z
2784
- * @see https://tailwindcss.com/docs/rotate
2785
- */
2786
- "rotate-z": [{ "rotate-z": scaleRotate() }],
2787
- /**
2788
- * Scale
2789
- * @see https://tailwindcss.com/docs/scale
2790
- */
2791
- scale: [{ scale: scaleScale() }],
2792
- /**
2793
- * Scale X
2794
- * @see https://tailwindcss.com/docs/scale
2795
- */
2796
- "scale-x": [{ "scale-x": scaleScale() }],
2797
- /**
2798
- * Scale Y
2799
- * @see https://tailwindcss.com/docs/scale
2800
- */
2801
- "scale-y": [{ "scale-y": scaleScale() }],
2802
- /**
2803
- * Scale Z
2804
- * @see https://tailwindcss.com/docs/scale
2805
- */
2806
- "scale-z": [{ "scale-z": scaleScale() }],
2807
- /**
2808
- * Scale 3D
2809
- * @see https://tailwindcss.com/docs/scale
2810
- */
2811
- "scale-3d": ["scale-3d"],
2812
- /**
2813
- * Skew
2814
- * @see https://tailwindcss.com/docs/skew
2815
- */
2816
- skew: [{ skew: scaleSkew() }],
2817
- /**
2818
- * Skew X
2819
- * @see https://tailwindcss.com/docs/skew
2820
- */
2821
- "skew-x": [{ "skew-x": scaleSkew() }],
2822
- /**
2823
- * Skew Y
2824
- * @see https://tailwindcss.com/docs/skew
2825
- */
2826
- "skew-y": [{ "skew-y": scaleSkew() }],
2827
- /**
2828
- * Transform
2829
- * @see https://tailwindcss.com/docs/transform
2830
- */
2831
- transform: [{ transform: [
2832
- isArbitraryVariable,
2833
- isArbitraryValue,
2834
- "",
2835
- "none",
2836
- "gpu",
2837
- "cpu"
2838
- ] }],
2839
- /**
2840
- * Transform Origin
2841
- * @see https://tailwindcss.com/docs/transform-origin
2842
- */
2843
- "transform-origin": [{ origin: scalePositionWithArbitrary() }],
2844
- /**
2845
- * Transform Style
2846
- * @see https://tailwindcss.com/docs/transform-style
2847
- */
2848
- "transform-style": [{ transform: ["3d", "flat"] }],
2849
- /**
2850
- * Translate
2851
- * @see https://tailwindcss.com/docs/translate
2852
- */
2853
- translate: [{ translate: scaleTranslate() }],
2854
- /**
2855
- * Translate X
2856
- * @see https://tailwindcss.com/docs/translate
2857
- */
2858
- "translate-x": [{ "translate-x": scaleTranslate() }],
2859
- /**
2860
- * Translate Y
2861
- * @see https://tailwindcss.com/docs/translate
2862
- */
2863
- "translate-y": [{ "translate-y": scaleTranslate() }],
2864
- /**
2865
- * Translate Z
2866
- * @see https://tailwindcss.com/docs/translate
2867
- */
2868
- "translate-z": [{ "translate-z": scaleTranslate() }],
2869
- /**
2870
- * Translate None
2871
- * @see https://tailwindcss.com/docs/translate
2872
- */
2873
- "translate-none": ["translate-none"],
2874
- /**
2875
- * Zoom
2876
- * @see https://tailwindcss.com/docs/zoom
2877
- */
2878
- zoom: [{ zoom: [
2879
- isInteger,
2880
- isArbitraryVariable,
2881
- isArbitraryValue
2882
- ] }],
2883
- /**
2884
- * Accent Color
2885
- * @see https://tailwindcss.com/docs/accent-color
2886
- */
2887
- accent: [{ accent: scaleColor() }],
2888
- /**
2889
- * Appearance
2890
- * @see https://tailwindcss.com/docs/appearance
2891
- */
2892
- appearance: [{ appearance: ["none", "auto"] }],
2893
- /**
2894
- * Caret Color
2895
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2896
- */
2897
- "caret-color": [{ caret: scaleColor() }],
2898
- /**
2899
- * Color Scheme
2900
- * @see https://tailwindcss.com/docs/color-scheme
2901
- */
2902
- "color-scheme": [{ scheme: [
2903
- "normal",
2904
- "dark",
2905
- "light",
2906
- "light-dark",
2907
- "only-dark",
2908
- "only-light"
2909
- ] }],
2910
- /**
2911
- * Cursor
2912
- * @see https://tailwindcss.com/docs/cursor
2913
- */
2914
- cursor: [{ cursor: [
2915
- "auto",
2916
- "default",
2917
- "pointer",
2918
- "wait",
2919
- "text",
2920
- "move",
2921
- "help",
2922
- "not-allowed",
2923
- "none",
2924
- "context-menu",
2925
- "progress",
2926
- "cell",
2927
- "crosshair",
2928
- "vertical-text",
2929
- "alias",
2930
- "copy",
2931
- "no-drop",
2932
- "grab",
2933
- "grabbing",
2934
- "all-scroll",
2935
- "col-resize",
2936
- "row-resize",
2937
- "n-resize",
2938
- "e-resize",
2939
- "s-resize",
2940
- "w-resize",
2941
- "ne-resize",
2942
- "nw-resize",
2943
- "se-resize",
2944
- "sw-resize",
2945
- "ew-resize",
2946
- "ns-resize",
2947
- "nesw-resize",
2948
- "nwse-resize",
2949
- "zoom-in",
2950
- "zoom-out",
2951
- isArbitraryVariable,
2952
- isArbitraryValue
2953
- ] }],
2954
- /**
2955
- * Field Sizing
2956
- * @see https://tailwindcss.com/docs/field-sizing
2957
- */
2958
- "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
2959
- /**
2960
- * Pointer Events
2961
- * @see https://tailwindcss.com/docs/pointer-events
2962
- */
2963
- "pointer-events": [{ "pointer-events": ["auto", "none"] }],
2964
- /**
2965
- * Resize
2966
- * @see https://tailwindcss.com/docs/resize
2967
- */
2968
- resize: [{ resize: [
2969
- "none",
2970
- "",
2971
- "y",
2972
- "x"
2973
- ] }],
2974
- /**
2975
- * Scroll Behavior
2976
- * @see https://tailwindcss.com/docs/scroll-behavior
2977
- */
2978
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
2979
- /**
2980
- * Scrollbar Thumb Color
2981
- * @see https://tailwindcss.com/docs/scrollbar-color
2982
- */
2983
- "scrollbar-thumb-color": [{ "scrollbar-thumb": scaleColor() }],
2984
- /**
2985
- * Scrollbar Track Color
2986
- * @see https://tailwindcss.com/docs/scrollbar-color
2987
- */
2988
- "scrollbar-track-color": [{ "scrollbar-track": scaleColor() }],
2989
- /**
2990
- * Scrollbar Gutter
2991
- * @see https://tailwindcss.com/docs/scrollbar-gutter
2992
- */
2993
- "scrollbar-gutter": [{ "scrollbar-gutter": [
2994
- "auto",
2995
- "stable",
2996
- "both"
2997
- ] }],
2998
- /**
2999
- * Scrollbar Width
3000
- * @see https://tailwindcss.com/docs/scrollbar-width
3001
- */
3002
- "scrollbar-w": [{ scrollbar: [
3003
- "auto",
3004
- "thin",
3005
- "none"
3006
- ] }],
3007
- /**
3008
- * Scroll Margin
3009
- * @see https://tailwindcss.com/docs/scroll-margin
3010
- */
3011
- "scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
3012
- /**
3013
- * Scroll Margin Inline
3014
- * @see https://tailwindcss.com/docs/scroll-margin
3015
- */
3016
- "scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
3017
- /**
3018
- * Scroll Margin Block
3019
- * @see https://tailwindcss.com/docs/scroll-margin
3020
- */
3021
- "scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
3022
- /**
3023
- * Scroll Margin Inline Start
3024
- * @see https://tailwindcss.com/docs/scroll-margin
3025
- */
3026
- "scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
3027
- /**
3028
- * Scroll Margin Inline End
3029
- * @see https://tailwindcss.com/docs/scroll-margin
3030
- */
3031
- "scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
3032
- /**
3033
- * Scroll Margin Block Start
3034
- * @see https://tailwindcss.com/docs/scroll-margin
3035
- */
3036
- "scroll-mbs": [{ "scroll-mbs": scaleUnambiguousSpacing() }],
3037
- /**
3038
- * Scroll Margin Block End
3039
- * @see https://tailwindcss.com/docs/scroll-margin
3040
- */
3041
- "scroll-mbe": [{ "scroll-mbe": scaleUnambiguousSpacing() }],
3042
- /**
3043
- * Scroll Margin Top
3044
- * @see https://tailwindcss.com/docs/scroll-margin
3045
- */
3046
- "scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
3047
- /**
3048
- * Scroll Margin Right
3049
- * @see https://tailwindcss.com/docs/scroll-margin
3050
- */
3051
- "scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
3052
- /**
3053
- * Scroll Margin Bottom
3054
- * @see https://tailwindcss.com/docs/scroll-margin
3055
- */
3056
- "scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
3057
- /**
3058
- * Scroll Margin Left
3059
- * @see https://tailwindcss.com/docs/scroll-margin
3060
- */
3061
- "scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
3062
- /**
3063
- * Scroll Padding
3064
- * @see https://tailwindcss.com/docs/scroll-padding
3065
- */
3066
- "scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
3067
- /**
3068
- * Scroll Padding Inline
3069
- * @see https://tailwindcss.com/docs/scroll-padding
3070
- */
3071
- "scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
3072
- /**
3073
- * Scroll Padding Block
3074
- * @see https://tailwindcss.com/docs/scroll-padding
3075
- */
3076
- "scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
3077
- /**
3078
- * Scroll Padding Inline Start
3079
- * @see https://tailwindcss.com/docs/scroll-padding
3080
- */
3081
- "scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
3082
- /**
3083
- * Scroll Padding Inline End
3084
- * @see https://tailwindcss.com/docs/scroll-padding
3085
- */
3086
- "scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
3087
- /**
3088
- * Scroll Padding Block Start
3089
- * @see https://tailwindcss.com/docs/scroll-padding
3090
- */
3091
- "scroll-pbs": [{ "scroll-pbs": scaleUnambiguousSpacing() }],
3092
- /**
3093
- * Scroll Padding Block End
3094
- * @see https://tailwindcss.com/docs/scroll-padding
3095
- */
3096
- "scroll-pbe": [{ "scroll-pbe": scaleUnambiguousSpacing() }],
3097
- /**
3098
- * Scroll Padding Top
3099
- * @see https://tailwindcss.com/docs/scroll-padding
3100
- */
3101
- "scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
3102
- /**
3103
- * Scroll Padding Right
3104
- * @see https://tailwindcss.com/docs/scroll-padding
3105
- */
3106
- "scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
3107
- /**
3108
- * Scroll Padding Bottom
3109
- * @see https://tailwindcss.com/docs/scroll-padding
3110
- */
3111
- "scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
3112
- /**
3113
- * Scroll Padding Left
3114
- * @see https://tailwindcss.com/docs/scroll-padding
3115
- */
3116
- "scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
3117
- /**
3118
- * Scroll Snap Align
3119
- * @see https://tailwindcss.com/docs/scroll-snap-align
3120
- */
3121
- "snap-align": [{ snap: [
3122
- "start",
3123
- "end",
3124
- "center",
3125
- "align-none"
3126
- ] }],
3127
- /**
3128
- * Scroll Snap Stop
3129
- * @see https://tailwindcss.com/docs/scroll-snap-stop
3130
- */
3131
- "snap-stop": [{ snap: ["normal", "always"] }],
3132
- /**
3133
- * Scroll Snap Type
3134
- * @see https://tailwindcss.com/docs/scroll-snap-type
3135
- */
3136
- "snap-type": [{ snap: [
3137
- "none",
3138
- "x",
3139
- "y",
3140
- "both"
3141
- ] }],
3142
- /**
3143
- * Scroll Snap Type Strictness
3144
- * @see https://tailwindcss.com/docs/scroll-snap-type
3145
- */
3146
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
3147
- /**
3148
- * Touch Action
3149
- * @see https://tailwindcss.com/docs/touch-action
3150
- */
3151
- touch: [{ touch: [
3152
- "auto",
3153
- "none",
3154
- "manipulation"
3155
- ] }],
3156
- /**
3157
- * Touch Action X
3158
- * @see https://tailwindcss.com/docs/touch-action
3159
- */
3160
- "touch-x": [{ "touch-pan": [
3161
- "x",
3162
- "left",
3163
- "right"
3164
- ] }],
3165
- /**
3166
- * Touch Action Y
3167
- * @see https://tailwindcss.com/docs/touch-action
3168
- */
3169
- "touch-y": [{ "touch-pan": [
3170
- "y",
3171
- "up",
3172
- "down"
3173
- ] }],
3174
- /**
3175
- * Touch Action Pinch Zoom
3176
- * @see https://tailwindcss.com/docs/touch-action
3177
- */
3178
- "touch-pz": ["touch-pinch-zoom"],
3179
- /**
3180
- * User Select
3181
- * @see https://tailwindcss.com/docs/user-select
3182
- */
3183
- select: [{ select: [
3184
- "none",
3185
- "text",
3186
- "all",
3187
- "auto"
3188
- ] }],
3189
- /**
3190
- * Will Change
3191
- * @see https://tailwindcss.com/docs/will-change
3192
- */
3193
- "will-change": [{ "will-change": [
3194
- "auto",
3195
- "scroll",
3196
- "contents",
3197
- "transform",
3198
- isArbitraryVariable,
3199
- isArbitraryValue
3200
- ] }],
3201
- /**
3202
- * Fill
3203
- * @see https://tailwindcss.com/docs/fill
3204
- */
3205
- fill: [{ fill: ["none", ...scaleColor()] }],
3206
- /**
3207
- * Stroke Width
3208
- * @see https://tailwindcss.com/docs/stroke-width
3209
- */
3210
- "stroke-w": [{ stroke: [
3211
- isNumber,
3212
- isArbitraryVariableLength,
3213
- isArbitraryLength,
3214
- isArbitraryNumber
3215
- ] }],
3216
- /**
3217
- * Stroke
3218
- * @see https://tailwindcss.com/docs/stroke
3219
- */
3220
- stroke: [{ stroke: ["none", ...scaleColor()] }],
3221
- /**
3222
- * Forced Color Adjust
3223
- * @see https://tailwindcss.com/docs/forced-color-adjust
3224
- */
3225
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
3226
- },
3227
- conflictingClassGroups: {
3228
- "container-named": ["container-type"],
3229
- overflow: ["overflow-x", "overflow-y"],
3230
- overscroll: ["overscroll-x", "overscroll-y"],
3231
- inset: [
3232
- "inset-x",
3233
- "inset-y",
3234
- "inset-bs",
3235
- "inset-be",
3236
- "start",
3237
- "end",
3238
- "top",
3239
- "right",
3240
- "bottom",
3241
- "left"
3242
- ],
3243
- "inset-x": [
3244
- "start",
3245
- "end",
3246
- "right",
3247
- "left"
3248
- ],
3249
- "inset-y": [
3250
- "inset-bs",
3251
- "inset-be",
3252
- "top",
3253
- "bottom"
3254
- ],
3255
- flex: [
3256
- "basis",
3257
- "grow",
3258
- "shrink"
3259
- ],
3260
- gap: ["gap-x", "gap-y"],
3261
- p: [
3262
- "px",
3263
- "py",
3264
- "ps",
3265
- "pe",
3266
- "pbs",
3267
- "pbe",
3268
- "pt",
3269
- "pr",
3270
- "pb",
3271
- "pl"
3272
- ],
3273
- px: [
3274
- "ps",
3275
- "pe",
3276
- "pr",
3277
- "pl"
3278
- ],
3279
- py: [
3280
- "pbs",
3281
- "pbe",
3282
- "pt",
3283
- "pb"
3284
- ],
3285
- m: [
3286
- "mx",
3287
- "my",
3288
- "ms",
3289
- "me",
3290
- "mbs",
3291
- "mbe",
3292
- "mt",
3293
- "mr",
3294
- "mb",
3295
- "ml"
3296
- ],
3297
- mx: [
3298
- "ms",
3299
- "me",
3300
- "mr",
3301
- "ml"
3302
- ],
3303
- my: [
3304
- "mbs",
3305
- "mbe",
3306
- "mt",
3307
- "mb"
3308
- ],
3309
- size: ["w", "h"],
3310
- "font-size": ["leading"],
3311
- "fvn-normal": [
3312
- "fvn-ordinal",
3313
- "fvn-slashed-zero",
3314
- "fvn-figure",
3315
- "fvn-spacing",
3316
- "fvn-fraction"
3317
- ],
3318
- "fvn-ordinal": ["fvn-normal"],
3319
- "fvn-slashed-zero": ["fvn-normal"],
3320
- "fvn-figure": ["fvn-normal"],
3321
- "fvn-spacing": ["fvn-normal"],
3322
- "fvn-fraction": ["fvn-normal"],
3323
- "line-clamp": ["display", "overflow"],
3324
- rounded: [
3325
- "rounded-s",
3326
- "rounded-e",
3327
- "rounded-t",
3328
- "rounded-r",
3329
- "rounded-b",
3330
- "rounded-l",
3331
- "rounded-ss",
3332
- "rounded-se",
3333
- "rounded-ee",
3334
- "rounded-es",
3335
- "rounded-tl",
3336
- "rounded-tr",
3337
- "rounded-br",
3338
- "rounded-bl"
3339
- ],
3340
- "rounded-s": ["rounded-ss", "rounded-es"],
3341
- "rounded-e": ["rounded-se", "rounded-ee"],
3342
- "rounded-t": ["rounded-tl", "rounded-tr"],
3343
- "rounded-r": ["rounded-tr", "rounded-br"],
3344
- "rounded-b": ["rounded-br", "rounded-bl"],
3345
- "rounded-l": ["rounded-tl", "rounded-bl"],
3346
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
3347
- "border-w": [
3348
- "border-w-x",
3349
- "border-w-y",
3350
- "border-w-s",
3351
- "border-w-e",
3352
- "border-w-bs",
3353
- "border-w-be",
3354
- "border-w-t",
3355
- "border-w-r",
3356
- "border-w-b",
3357
- "border-w-l"
3358
- ],
3359
- "border-w-x": [
3360
- "border-w-s",
3361
- "border-w-e",
3362
- "border-w-r",
3363
- "border-w-l"
3364
- ],
3365
- "border-w-y": [
3366
- "border-w-bs",
3367
- "border-w-be",
3368
- "border-w-t",
3369
- "border-w-b"
3370
- ],
3371
- "border-color": [
3372
- "border-color-x",
3373
- "border-color-y",
3374
- "border-color-s",
3375
- "border-color-e",
3376
- "border-color-bs",
3377
- "border-color-be",
3378
- "border-color-t",
3379
- "border-color-r",
3380
- "border-color-b",
3381
- "border-color-l"
3382
- ],
3383
- "border-color-x": [
3384
- "border-color-s",
3385
- "border-color-e",
3386
- "border-color-r",
3387
- "border-color-l"
3388
- ],
3389
- "border-color-y": [
3390
- "border-color-bs",
3391
- "border-color-be",
3392
- "border-color-t",
3393
- "border-color-b"
3394
- ],
3395
- translate: [
3396
- "translate-x",
3397
- "translate-y",
3398
- "translate-none"
3399
- ],
3400
- "translate-none": [
3401
- "translate",
3402
- "translate-x",
3403
- "translate-y",
3404
- "translate-z"
3405
- ],
3406
- "scroll-m": [
3407
- "scroll-mx",
3408
- "scroll-my",
3409
- "scroll-ms",
3410
- "scroll-me",
3411
- "scroll-mbs",
3412
- "scroll-mbe",
3413
- "scroll-mt",
3414
- "scroll-mr",
3415
- "scroll-mb",
3416
- "scroll-ml"
3417
- ],
3418
- "scroll-mx": [
3419
- "scroll-ms",
3420
- "scroll-me",
3421
- "scroll-mr",
3422
- "scroll-ml"
3423
- ],
3424
- "scroll-my": [
3425
- "scroll-mbs",
3426
- "scroll-mbe",
3427
- "scroll-mt",
3428
- "scroll-mb"
3429
- ],
3430
- "scroll-p": [
3431
- "scroll-px",
3432
- "scroll-py",
3433
- "scroll-ps",
3434
- "scroll-pe",
3435
- "scroll-pbs",
3436
- "scroll-pbe",
3437
- "scroll-pt",
3438
- "scroll-pr",
3439
- "scroll-pb",
3440
- "scroll-pl"
3441
- ],
3442
- "scroll-px": [
3443
- "scroll-ps",
3444
- "scroll-pe",
3445
- "scroll-pr",
3446
- "scroll-pl"
3447
- ],
3448
- "scroll-py": [
3449
- "scroll-pbs",
3450
- "scroll-pbe",
3451
- "scroll-pt",
3452
- "scroll-pb"
3453
- ],
3454
- touch: [
3455
- "touch-x",
3456
- "touch-y",
3457
- "touch-pz"
3458
- ],
3459
- "touch-x": ["touch"],
3460
- "touch-y": ["touch"],
3461
- "touch-pz": ["touch"]
3462
- },
3463
- conflictingClassGroupModifiers: { "font-size": ["leading"] },
3464
- postfixLookupClassGroups: ["container-type"],
3465
- orderSensitiveModifiers: [
3466
- "*",
3467
- "**",
3468
- "after",
3469
- "backdrop",
3470
- "before",
3471
- "details-content",
3472
- "file",
3473
- "first-letter",
3474
- "first-line",
3475
- "marker",
3476
- "placeholder",
3477
- "selection"
3478
- ]
3479
- };
3480
- };
3481
- var twMerge = /*#__PURE__*/ createTailwindMerge(getDefaultConfig);
3482
- // src/lib/cn.ts
3483
- /** Joins class names, letting a later Tailwind utility replace a conflicting earlier one. */
3484
- function cn(...inputs) {
3485
- return twMerge(clsx(inputs));
3486
- }
3487
- // src/components/ui/spinner.tsx
3488
11
  function Spinner({ className, ...props }) {
3489
12
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
3490
13
  "data-slot": "spinner",
@@ -8415,4 +4938,4 @@ function Button({ className, variant, size, type = "button", ...props }) {
8415
4938
  ...props
8416
4939
  });
8417
4940
  }
8418
- export { Age as $, windowResize as $n, getNodeAncestors as $t, useFloatingParentNodeId as A, android as An, NOOP as Ar, clamp as At, FocusGuard as B, imperativeAction as Bn, getOppositeAxisPlacements as Bt, useAnimationsFinished as C, activeElement as Cn, isTableElement as Cr, getGridNavigatedIndex as Ct, FloatingNode as D, jsdom as Dn, mergeProps as Dr, isElementVisible as Dt, resolveRef as E, getTarget as En, useRenderElement as Er, getNextListIndex as Et, CLICK_TRIGGER_IDENTIFIER as F, cancelOpen as Fn, useId as Fr, getAlignmentAxis as Ft, useValueAsRef as G, keyboard as Gn, max as Gt, visuallyHiddenInput as H, inputClear as Hn, getPaddingObject as Ht, DISABLED_TRANSITIONS_STYLE as I, closePress as In, useControlled as Ir, getAlignmentSides as It, Timeout as J, outsidePress as Jn, round as Jt, mergeCleanups as K, listNavigation as Kn, min as Kt, DROPDOWN_COLLISION_AVOIDANCE as L, disabled as Ln, cn as Lr, getAxisLength as Lt, FloatingPortal as M, mac as Mn, useMergedRefs as Mr, evaluate as Mt, useFloatingPortalNode as N, isElementDisabled as Nn, useRefWithInit as Nr, floor as Nt, FloatingTree as O, gecko as On, EMPTY_ARRAY as Or, isIndexOutOfListBounds as Ot, usePortalContext as P, CompositeList as Pn, useBaseUiId as Pr, getAlignment as Pt, fastComponentRef as Q, triggerPress as Qn, stopEvent as Qt, POPUP_COLLISION_AVOIDANCE as R, escapeKey as Rn, clsx as Rr, getExpandedPlacements as Rt, useOpenChangeComplete as S, ARROW_UP$1 as Sn, isShadowRoot as Sr, tabbable as St, useDismiss as T, contains as Tn, isWebKit as Tr, getMinListIndex as Tt, AnimationFrame as U, inputPress as Un, getSide as Ut, visuallyHidden as V, inputChange as Vn, getOppositePlacement as Vt, useAnimationFrame as W, itemPress as Wn, getSideAxis as Wt, useOnMount as X, triggerFocus as Xn, isVirtualClick as Xt, useTimeout as Y, pointer as Yn, isMouseLikePointerType as Yt, fastComponent as Z, triggerHover as Zn, isVirtualPointerEvent as Zt, usePopupInteractionProps as _, startingStyle as _n, isContainingBlock as _r, getNextTabbable as _t, ReactStore as a, isTypeableElement as an, formatErrorMessage as ar, PageHeader as at, useTriggerDataForwarding as b, ARROW_LEFT$1 as bn, isLastTraversableNode as br, isOutsideEvent as bt, PopupTriggerMap as c, popupStateMapping as cn, getComputedStyle$1 as cr, ROW as ct, applyPopupOpenChange as d, triggerOpenStateMapping as dn, getFrameElement as dr, ToggleGroup as dt, getNodeChildren as en, createChangeEventDetails as er, CommandLine as et, attachPreventUnmountOnClose as f, popupOpen$1 as fn, getNodeName as fr, ToggleGroupItem as ft, useOpenStateTransitions as g, open as gn, getWindow as gr, focusable as gt, useImplicitActiveTrigger as h, endingStyle as hn, getParentNode as hr, COMPOSITE_KEYS as ht, FloatingRootStore as i, isTypeableCombobox as in, ownerDocument as ir, PAGE_PAD as it, useFloatingTree as j, ios as jn, isReactVersionAtLeast as jr, createCoords as jt, useFloatingNodeId as k, webkit as kn, EMPTY_OBJECT as kr, isListIndexDisabled as kt, FOCUSABLE_POPUP_PROPS as l, popupTransitionStateMapping as ln, getContainingBlock as lr, StatusWord as lt, createPopupOpenState as m, closed as mn, getOverflowAncestors as mr, useDirection as mt, buttonVariants as n, isInteractiveElement as nn, useCompositeListItem as nr, EmptyNote as nt, require_with_selector as o, matchesFocusVisible as on, useIsoLayoutEffect as or, Pills as ot, createDefaultInitialFocus as p, pressed as pn, getNodeScroll as pr, useToolbarRootContext as pt, addEventListener as q, none as qn, rectToClientRect as qt, Icon as r, isTargetInsideEnabledTrigger as rn, useButton as rr, ListCard as rt, require_shim as s, triggerDisabled as sn, useStableCallback as sr, Progress as st, Button as t, getFloatingFocusElement as tn, createGenericEventDetails as tr, Count as tt, PopupHandleAttachment as u, pressableTriggerOpenStateMapping as un, getDocumentElement as ur, ViewLoading as ut, usePopupRootStore as v, transitionStatusMapping as vn, isElement as vr, getPreviousTabbable as vt, useTransitionStatus as w, closest as wn, isTopLayer as wr, getMaxListIndex as wt, useUnmountAfterClose as x, ARROW_RIGHT$1 as xn, isOverflowElement as xr, isTabbable as xt, usePopupRootSync as y, ARROW_DOWN$1 as yn, isHTMLElement as yr, getTabbableNearElement as yt, createAttribute as z, focusOut as zn, useQuery as zr, getOppositeAxis as zt };
4941
+ export { Age as $, windowResize as $n, getNodeAncestors as $t, useFloatingParentNodeId as A, android as An, NOOP as Ar, clamp as At, FocusGuard as B, imperativeAction as Bn, getOppositeAxisPlacements as Bt, useAnimationsFinished as C, activeElement as Cn, isTableElement as Cr, getGridNavigatedIndex as Ct, FloatingNode as D, jsdom as Dn, mergeProps as Dr, isElementVisible as Dt, resolveRef as E, getTarget as En, useRenderElement as Er, getNextListIndex as Et, CLICK_TRIGGER_IDENTIFIER as F, cancelOpen as Fn, useId as Fr, getAlignmentAxis as Ft, useValueAsRef as G, keyboard as Gn, max as Gt, visuallyHiddenInput as H, inputClear as Hn, getPaddingObject as Ht, DISABLED_TRANSITIONS_STYLE as I, closePress as In, useControlled as Ir, getAlignmentSides as It, Timeout as J, outsidePress as Jn, round as Jt, mergeCleanups as K, listNavigation as Kn, min as Kt, DROPDOWN_COLLISION_AVOIDANCE as L, disabled as Ln, useQuery as Lr, getAxisLength as Lt, FloatingPortal as M, mac as Mn, useMergedRefs as Mr, evaluate as Mt, useFloatingPortalNode as N, isElementDisabled as Nn, useRefWithInit as Nr, floor as Nt, FloatingTree as O, gecko as On, EMPTY_ARRAY as Or, isIndexOutOfListBounds as Ot, usePortalContext as P, CompositeList as Pn, useBaseUiId as Pr, getAlignment as Pt, fastComponentRef as Q, triggerPress as Qn, stopEvent as Qt, POPUP_COLLISION_AVOIDANCE as R, escapeKey as Rn, getExpandedPlacements as Rt, useOpenChangeComplete as S, ARROW_UP$1 as Sn, isShadowRoot as Sr, tabbable as St, useDismiss as T, contains as Tn, isWebKit as Tr, getMinListIndex as Tt, AnimationFrame as U, inputPress as Un, getSide as Ut, visuallyHidden as V, inputChange as Vn, getOppositePlacement as Vt, useAnimationFrame as W, itemPress as Wn, getSideAxis as Wt, useOnMount as X, triggerFocus as Xn, isVirtualClick as Xt, useTimeout as Y, pointer as Yn, isMouseLikePointerType as Yt, fastComponent as Z, triggerHover as Zn, isVirtualPointerEvent as Zt, usePopupInteractionProps as _, startingStyle as _n, isContainingBlock as _r, getNextTabbable as _t, ReactStore as a, isTypeableElement as an, formatErrorMessage as ar, PageHeader as at, useTriggerDataForwarding as b, ARROW_LEFT$1 as bn, isLastTraversableNode as br, isOutsideEvent as bt, PopupTriggerMap as c, popupStateMapping as cn, getComputedStyle$1 as cr, ROW as ct, applyPopupOpenChange as d, triggerOpenStateMapping as dn, getFrameElement as dr, ToggleGroup as dt, getNodeChildren as en, createChangeEventDetails as er, CommandLine as et, attachPreventUnmountOnClose as f, popupOpen$1 as fn, getNodeName as fr, ToggleGroupItem as ft, useOpenStateTransitions as g, open as gn, getWindow as gr, focusable as gt, useImplicitActiveTrigger as h, endingStyle as hn, getParentNode as hr, COMPOSITE_KEYS as ht, FloatingRootStore as i, isTypeableCombobox as in, ownerDocument as ir, PAGE_PAD as it, useFloatingTree as j, ios as jn, isReactVersionAtLeast as jr, createCoords as jt, useFloatingNodeId as k, webkit as kn, EMPTY_OBJECT as kr, isListIndexDisabled as kt, FOCUSABLE_POPUP_PROPS as l, popupTransitionStateMapping as ln, getContainingBlock as lr, StatusWord as lt, createPopupOpenState as m, closed as mn, getOverflowAncestors as mr, useDirection as mt, buttonVariants as n, isInteractiveElement as nn, useCompositeListItem as nr, EmptyNote as nt, require_with_selector as o, matchesFocusVisible as on, useIsoLayoutEffect as or, Pills as ot, createDefaultInitialFocus as p, pressed as pn, getNodeScroll as pr, useToolbarRootContext as pt, addEventListener as q, none as qn, rectToClientRect as qt, Icon as r, isTargetInsideEnabledTrigger as rn, useButton as rr, ListCard as rt, require_shim as s, triggerDisabled as sn, useStableCallback as sr, Progress as st, Button as t, getFloatingFocusElement as tn, createGenericEventDetails as tr, Count as tt, PopupHandleAttachment as u, pressableTriggerOpenStateMapping as un, getDocumentElement as ur, ViewLoading as ut, usePopupRootStore as v, transitionStatusMapping as vn, isElement as vr, getPreviousTabbable as vt, useTransitionStatus as w, closest as wn, isTopLayer as wr, getMaxListIndex as wt, useUnmountAfterClose as x, ARROW_RIGHT$1 as xn, isOverflowElement as xr, isTabbable as xt, usePopupRootSync as y, ARROW_DOWN$1 as yn, isHTMLElement as yr, getTabbableNearElement as yt, createAttribute as z, focusOut as zn, getOppositeAxis as zt };