@hanzo/ui 4.6.0 → 4.8.2

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 (184) hide show
  1. package/assets/general.tsx +1 -1
  2. package/assets/hanzo-logo.tsx +3 -1
  3. package/assets/index.ts +119 -5
  4. package/blocks/auth/index.ts +6 -0
  5. package/blocks/auth/login-2fa.tsx +165 -0
  6. package/blocks/auth/login-basic.tsx +94 -0
  7. package/blocks/auth/login-social.tsx +148 -0
  8. package/blocks/auth/magic-link.tsx +129 -0
  9. package/blocks/auth/password-reset.tsx +97 -0
  10. package/blocks/auth/signup.tsx +157 -0
  11. package/blocks/data-display/activity-feed.tsx +242 -0
  12. package/blocks/data-display/data-table.tsx +235 -0
  13. package/blocks/data-display/stats-grid.tsx +194 -0
  14. package/blocks/ecommerce/checkout.tsx +242 -0
  15. package/blocks/ecommerce/index.ts +7 -0
  16. package/blocks/ecommerce/product-detail.tsx +257 -0
  17. package/blocks/ecommerce/product-grid.tsx +148 -0
  18. package/blocks/ecommerce/shopping-cart.tsx +181 -0
  19. package/blocks/marketing/cta-section.tsx +207 -0
  20. package/blocks/marketing/faq.tsx +159 -0
  21. package/blocks/marketing/features-grid.tsx +156 -0
  22. package/blocks/marketing/hero-section.tsx +192 -0
  23. package/blocks/marketing/index.ts +6 -0
  24. package/blocks/marketing/pricing-table.tsx +121 -0
  25. package/blocks/marketing/testimonials.tsx +196 -0
  26. package/components/index.ts +4 -51
  27. package/dist/index.js +9351 -0
  28. package/dist/index.mjs +9340 -0
  29. package/dist/lib/utils.js +47 -0
  30. package/dist/lib/utils.mjs +28 -0
  31. package/dist/src/utils.js +47 -0
  32. package/dist/src/utils.mjs +28 -0
  33. package/dist/tailwind/index.js +2050 -0
  34. package/dist/tailwind/index.mjs +2019 -0
  35. package/dist/types/index.js +79 -0
  36. package/dist/types/index.mjs +56 -0
  37. package/dist/util/format-text.js +51 -0
  38. package/dist/util/format-text.mjs +32 -0
  39. package/dist/util/index.js +384 -0
  40. package/dist/util/index.mjs +363 -0
  41. package/frameworks/core/index.ts +6 -0
  42. package/frameworks/core/utils/index.ts +64 -0
  43. package/frameworks/react/components/button.tsx +26 -0
  44. package/frameworks/react/components/index.ts +5 -0
  45. package/frameworks/react/hooks/index.ts +5 -0
  46. package/frameworks/react/index.ts +9 -0
  47. package/frameworks/react/package.json +8 -0
  48. package/frameworks/react/utils/index.ts +2 -0
  49. package/frameworks/react-native/index.ts +9 -0
  50. package/frameworks/react-native/package.json +8 -0
  51. package/frameworks/registry.json +371 -0
  52. package/frameworks/setup.sh +69 -0
  53. package/frameworks/svelte/index.ts +9 -0
  54. package/frameworks/svelte/package.json +8 -0
  55. package/frameworks/tracker.json +1854 -0
  56. package/frameworks/vue/index.ts +9 -0
  57. package/frameworks/vue/package.json +8 -0
  58. package/package.json +192 -28
  59. package/primitives/accordion.tsx +1 -1
  60. package/primitives/alert-dialog.tsx +1 -1
  61. package/primitives/alert.tsx +1 -1
  62. package/primitives/avatar.tsx +1 -1
  63. package/primitives/badge.tsx +2 -1
  64. package/primitives/breadcrumb.tsx +1 -1
  65. package/primitives/button.tsx +37 -47
  66. package/primitives/card.tsx +1 -1
  67. package/primitives/carousel.tsx +3 -2
  68. package/primitives/chat/chat-input-area.tsx +5 -4
  69. package/primitives/chat/chat-input.tsx +2 -2
  70. package/primitives/chat/files-preview.tsx +5 -4
  71. package/primitives/chat/message-list.tsx +2 -1
  72. package/primitives/chat/sqlite-preview.tsx +8 -8
  73. package/primitives/checkbox.tsx +2 -1
  74. package/primitives/command.tsx +3 -1
  75. package/primitives/context-menu.tsx +1 -1
  76. package/primitives/dialog.tsx +6 -1
  77. package/primitives/drawer.tsx +4 -1
  78. package/primitives/dropdown-menu.tsx +1 -1
  79. package/primitives/file-uploader.tsx +4 -2
  80. package/primitives/form.tsx +1 -1
  81. package/primitives/hover-card.tsx +1 -1
  82. package/primitives/icons/github.tsx +2 -2
  83. package/primitives/icons/youtube-logo.tsx +1 -1
  84. package/primitives/index-common.ts +7 -6
  85. package/primitives/input-otp.tsx +1 -1
  86. package/primitives/input.tsx +2 -1
  87. package/primitives/label.tsx +2 -1
  88. package/primitives/markdown-preview.tsx +3 -0
  89. package/primitives/mermaid.tsx +13 -18
  90. package/primitives/next/image.tsx +2 -1
  91. package/primitives/next/inline-icon.tsx +14 -14
  92. package/primitives/next/media-stack.tsx +2 -19
  93. package/primitives/pagination.tsx +1 -1
  94. package/primitives/popover.tsx +4 -2
  95. package/primitives/progress.tsx +2 -1
  96. package/primitives/prompt-textarea.tsx +1 -1
  97. package/primitives/radio-group.tsx +1 -1
  98. package/primitives/scroll-area.tsx +1 -1
  99. package/primitives/search-input.tsx +1 -1
  100. package/primitives/select.tsx +1 -1
  101. package/primitives/separator.tsx +2 -1
  102. package/primitives/sheet.tsx +1 -1
  103. package/primitives/skeleton.tsx +1 -0
  104. package/primitives/slider.tsx +2 -1
  105. package/primitives/stepper.tsx +1 -1
  106. package/primitives/switch.tsx +2 -1
  107. package/primitives/table.tsx +1 -1
  108. package/primitives/tabs.tsx +1 -1
  109. package/primitives/textarea.tsx +2 -1
  110. package/primitives/textfield.tsx +1 -0
  111. package/primitives/toggle-group.tsx +1 -1
  112. package/primitives/toggle.tsx +1 -1
  113. package/primitives/tooltip.tsx +1 -1
  114. package/src/hooks/use-copy-clipboard.ts +1 -1
  115. package/src/index-lean.ts +87 -0
  116. package/src/index.ts +54 -0
  117. package/src/registry/api.ts +1 -1
  118. package/src/utils.ts +19 -1
  119. package/tailwind/tailwind.config.hanzo-preset.js +7 -7
  120. package/tailwind/typo-plugin/index.js +1 -1
  121. package/types/animation-def.ts +1 -1
  122. package/types/index.ts +2 -1
  123. package/util/blob.ts +9 -4
  124. package/util/date.ts +2 -1
  125. package/util/format-text.ts +2 -1
  126. package/util/index.ts +103 -0
  127. package/util/spread-to-transform.ts +9 -8
  128. package/MCP-INSTRUCTIONS.md +0 -73
  129. package/README-MCP.md +0 -175
  130. package/dist/button.d.ts +0 -1
  131. package/dist/button.js +0 -1
  132. package/dist/hooks/index.d.ts +0 -7
  133. package/dist/hooks/index.js +0 -7
  134. package/dist/hooks/use-click-away.d.ts +0 -2
  135. package/dist/hooks/use-click-away.js +0 -23
  136. package/dist/hooks/use-combined-refs.d.ts +0 -3
  137. package/dist/hooks/use-combined-refs.js +0 -18
  138. package/dist/hooks/use-copy-clipboard.d.ts +0 -9
  139. package/dist/hooks/use-copy-clipboard.js +0 -21
  140. package/dist/hooks/use-debounce.d.ts +0 -1
  141. package/dist/hooks/use-debounce.js +0 -13
  142. package/dist/hooks/use-fill-ids.d.ts +0 -8
  143. package/dist/hooks/use-fill-ids.js +0 -20
  144. package/dist/hooks/use-map.d.ts +0 -1
  145. package/dist/hooks/use-map.js +0 -20
  146. package/dist/hooks/use-measure.d.ts +0 -8
  147. package/dist/hooks/use-measure.js +0 -25
  148. package/dist/hooks/use-reverse-video-playback.d.ts +0 -1
  149. package/dist/hooks/use-reverse-video-playback.js +0 -41
  150. package/dist/hooks/use-scroll-restoration.d.ts +0 -8
  151. package/dist/hooks/use-scroll-restoration.js +0 -36
  152. package/dist/mcp/enhanced-server.d.ts +0 -29
  153. package/dist/mcp/enhanced-server.js +0 -1128
  154. package/dist/mcp/index.d.ts +0 -28
  155. package/dist/mcp/index.js +0 -436
  156. package/dist/registry/api.d.ts +0 -37
  157. package/dist/registry/api.js +0 -129
  158. package/dist/registry/index.d.ts +0 -353
  159. package/dist/registry/index.js +0 -45
  160. package/dist/utils.d.ts +0 -1
  161. package/dist/utils.js +0 -1
  162. package/environment.d.ts +0 -6
  163. package/public/r/accordion.json +0 -11
  164. package/public/r/alert.json +0 -11
  165. package/public/r/avatar.json +0 -11
  166. package/public/r/badge.json +0 -11
  167. package/public/r/button.json +0 -11
  168. package/public/r/card.json +0 -11
  169. package/public/r/checkbox.json +0 -11
  170. package/public/r/default.json +0 -6
  171. package/public/r/dialog.json +0 -11
  172. package/public/r/input.json +0 -11
  173. package/public/r/label.json +0 -11
  174. package/public/r/new-york.json +0 -6
  175. package/public/r/popover.json +0 -11
  176. package/public/r/select.json +0 -11
  177. package/public/r/table.json +0 -11
  178. package/public/r/tabs.json +0 -11
  179. package/public/r/toast.json +0 -11
  180. package/registry.json +0 -184
  181. package/test/test-registry.js +0 -73
  182. package/test-imports.mjs +0 -19
  183. package/tsconfig.json +0 -22
  184. package/utils.ts +0 -9
@@ -0,0 +1,2050 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+
31
+ // tailwind/index.ts
32
+ var tailwind_exports = {};
33
+ __export(tailwind_exports, {
34
+ preset: () => tailwind_config_hanzo_preset_default
35
+ });
36
+ module.exports = __toCommonJS(tailwind_exports);
37
+
38
+ // tailwind/tailwind.config.hanzo-preset.js
39
+ var import_tailwindcss_animate = __toESM(require("tailwindcss-animate"));
40
+ var import_container_queries = __toESM(require("@tailwindcss/container-queries"));
41
+ var import_tailwindcss_interaction_media = __toESM(require("tailwindcss-interaction-media"));
42
+
43
+ // tailwind/colors.tailwind.js
44
+ var colors_tailwind_default = /* @__PURE__ */ __name(({ colors }) => ({
45
+ inherit: colors.inherit,
46
+ current: colors.current,
47
+ transparent: colors.transparent,
48
+ ring: "var(--hz-ui-ring)",
49
+ background: "var(--hz-ui-bg-0)",
50
+ // Should be partially transparent,
51
+ // so opacity animations in 'vaul' module and other 3rd party stuff work
52
+ overlay: "var(--hz-ui-bg-overlay)",
53
+ // levels forward in z-index (a la Material Design)
54
+ level: {
55
+ DEFAULT: "var(--hz-ui-bg-0)",
56
+ "0": "var(--hz-ui-bg-0)",
57
+ "1": "var(--hz-ui-bg-1)",
58
+ "2": "var(--hz-ui-bg-2)",
59
+ "3": "var(--hz-ui-bg-3)"
60
+ },
61
+ accent: "var(--hz-ui-fg-0)",
62
+ // full contrast (darkTheme:white) : heading and links hover
63
+ foreground: "var(--hz-ui-fg-body)",
64
+ // body text off-white (bright enough to contrast to bg-level-1)
65
+ muted: {
66
+ DEFAULT: "var(--hz-ui-fg-2)",
67
+ // de-emphasized: fine print
68
+ "1": "var(--hz-ui-fg-2)",
69
+ // synonymous ^^^
70
+ "2": "var(--hz-ui-fg-3)",
71
+ // disabled or very de-emphasized
72
+ "3": "var(--hz-ui-fg-4)",
73
+ // very disabled ;)
74
+ "4": "var(--hz-ui-fg-5)"
75
+ // disabled border
76
+ },
77
+ primary: {
78
+ DEFAULT: "var(--hz-ui-primary)",
79
+ lux: "var(--hz-ui-primary)",
80
+ // in case there are two configs
81
+ hover: "var(--hz-ui-primary-hover)",
82
+ fg: "var(--hz-ui-primary-fg)"
83
+ },
84
+ secondary: {
85
+ DEFAULT: "var(--hz-ui-secondary)",
86
+ lux: "var(--hz-ui-secondary)",
87
+ // in case there are two configs
88
+ hover: "var(--hz-ui-secondary-hover)",
89
+ fg: "var(--hz-ui-secondary-fg)",
90
+ "0": "var(--hz-ui-secondary-0)",
91
+ "1": "var(--hz-ui-secondary-1)",
92
+ "2": "var(--hz-ui-secondary-2)",
93
+ "3": "var(--hz-ui-secondary-3)"
94
+ },
95
+ destructive: {
96
+ DEFAULT: "var(--hz-ui-destructive)",
97
+ fg: "var(--hz-ui-destructive-fg)"
98
+ },
99
+ nav: {
100
+ DEFAULT: "var(--hz-ui-nav)",
101
+ hover: "var(--hz-ui-nav-hover)",
102
+ current: "var(--hz-ui-nav-current)"
103
+ }
104
+ }), "default");
105
+
106
+ // tailwind/safelist.tailwind.js
107
+ var safelist_tailwind_default = [
108
+ "font-sans",
109
+ {
110
+ pattern: /grid-cols-[1-6]/,
111
+ variants: ["xs", "sm", "md", "lg", "xl", "2xl"]
112
+ },
113
+ {
114
+ // SpaceBlock
115
+ pattern: /h-([0-9]|[1-3][0-9]|40)/,
116
+ variants: ["xs", "sm", "md", "lg", "xl", "2xl"]
117
+ },
118
+ {
119
+ pattern: /order-[0-6]/
120
+ },
121
+ {
122
+ // EnhHeadingBlock
123
+ pattern: /mb-([1-9]|1[0-2])/
124
+ },
125
+ "md:text-left",
126
+ // EnhHeadingBlock
127
+ "md:text-center",
128
+ "md:text-right",
129
+ "md:self-start",
130
+ "md:self-center",
131
+ "md:self-end"
132
+ ];
133
+
134
+ // tailwind/screens.tailwind.js
135
+ var screens_tailwind_default = {
136
+ xs: "0px",
137
+ // <-- phone
138
+ sm: "480px",
139
+ // phone --><-- sm tablets / narrow
140
+ md: "768px",
141
+ // sm tablets / narrow -->
142
+ lg: "1024px",
143
+ xl: "1280px",
144
+ "2xl": "1500px"
145
+ };
146
+
147
+ // tailwind/spacing.tailwind.js
148
+ var percentages = {};
149
+ for (let i = 0; i <= 100; i++) {
150
+ percentages[`pr-${i}`] = `${i}%`;
151
+ }
152
+ var spacing_tailwind_default = {
153
+ ...percentages,
154
+ px: "1px",
155
+ 0: "0px",
156
+ 0.5: "0.125rem",
157
+ 1: "0.25rem",
158
+ 1.5: "0.375rem",
159
+ 2: "0.5rem",
160
+ 2.5: "0.625rem",
161
+ 3: "0.75rem",
162
+ 3.5: "0.875rem",
163
+ 4: "1rem",
164
+ 5: "1.25rem",
165
+ 6: "1.5rem",
166
+ 7: "1.75rem",
167
+ 8: "2rem",
168
+ 9: "2.25rem",
169
+ 10: "2.5rem",
170
+ 11: "2.75rem",
171
+ 12: "3rem",
172
+ 13: "3.25rem",
173
+ 14: "3.5rem",
174
+ 15: "3.75rem",
175
+ 16: "4rem",
176
+ 17: "4.25rem",
177
+ 18: "4.5rem",
178
+ 19: "4.75rem",
179
+ 20: "5rem",
180
+ 21: "5.25rem",
181
+ 22: "5.5rem",
182
+ 23: "5.75rem",
183
+ 24: "6rem",
184
+ 25: "5.25rem",
185
+ 26: "5.5rem",
186
+ 27: "5.75rem",
187
+ 28: "7rem",
188
+ 29: "7.25rem",
189
+ 30: "7.5rem",
190
+ 31: "7.75rem",
191
+ 32: "8rem",
192
+ 33: "8.25rem",
193
+ 34: "8.5rem",
194
+ 35: "8.75rem",
195
+ 36: "9rem",
196
+ 37: "9.25rem",
197
+ 38: "9.5rem",
198
+ 39: "9.75rem",
199
+ 40: "10rem",
200
+ 44: "11rem",
201
+ 48: "12rem",
202
+ 52: "13rem",
203
+ 56: "14rem",
204
+ 60: "15rem",
205
+ 64: "16rem",
206
+ 72: "18rem",
207
+ 80: "20rem",
208
+ 96: "24rem"
209
+ };
210
+
211
+ // tailwind/fontSize.tailwind.ts
212
+ var fontSize_tailwind_default = {
213
+ xxs: ["0.65rem", { lineHeight: "0.8rem" }],
214
+ // very fine print
215
+ xs: ["0.8rem", { lineHeight: "1rem" }],
216
+ // fine print
217
+ sm: ["0.9rem", { lineHeight: "1.2rem" }],
218
+ // 'standard' some news article cards (set manually when using typography-sm)
219
+ base: ["1rem", { lineHeight: 1.4 }],
220
+ lg: ["1.125rem", { lineHeight: "1.75rem" }],
221
+ xl: ["1.25rem", { lineHeight: "1.75rem" }],
222
+ "2xl": ["1.5rem", { lineHeight: "2rem" }],
223
+ "3xl": ["1.875rem", { lineHeight: "2.25rem" }],
224
+ "4xl": ["2.25rem", { lineHeight: "2.5rem" }],
225
+ "5xl": ["3rem", { lineHeight: "1" }],
226
+ "6xl": ["3.75rem", { lineHeight: "1" }]
227
+ };
228
+
229
+ // tailwind/fontFamily.tailwind.ts
230
+ var fontFamily_tailwind_default = {
231
+ sans: ["sans-serif"],
232
+ heading: ["serif"],
233
+ nav: ["serif"],
234
+ serif: ["serif"],
235
+ mono: ["monospace"]
236
+ };
237
+
238
+ // tailwind/z-index.tailwind.js
239
+ var zIndex = {
240
+ auto: "auto",
241
+ unset: "unset",
242
+ ...{
243
+ "below-content-3": "-3",
244
+ "below-content-2": "-2",
245
+ "below-content-1": "-1",
246
+ "below-content": "-1",
247
+ "content": "0",
248
+ "above-content": "1",
249
+ "above-content-1": "1",
250
+ "above-content-2": "2",
251
+ "above-content-3": "3"
252
+ },
253
+ // popups that may scroll w content, appear below header, etc
254
+ // for larger, modal popups, please use 'modal'
255
+ ...{
256
+ "below-popup-3": "7",
257
+ "below-popup-2": "8",
258
+ "below-popup-1": "9",
259
+ "below-popup": "9",
260
+ "popup": "10",
261
+ "above-popup": "11",
262
+ "above-popup-1": "11",
263
+ "above-popup-2": "12",
264
+ "above-popup-3": "13"
265
+ },
266
+ ...{
267
+ "below-header-3": "17",
268
+ "below-header-2": "18",
269
+ "below-header-1": "19",
270
+ "below-header": "19",
271
+ "header": "20",
272
+ "above-header": "21",
273
+ "above-header-1": "21",
274
+ "above-header-2": "22",
275
+ "above-header-3": "23"
276
+ },
277
+ // drawer, dialog, full screen menu
278
+ ...{
279
+ "below-modal-3": "27",
280
+ "below-modal-2": "28",
281
+ "below-modal-1": "29",
282
+ "below-modal": "29",
283
+ "modal": "30",
284
+ "above-modal": "31",
285
+ "above-modal-1": "31",
286
+ "above-modal-2": "32",
287
+ "above-modal-3": "33"
288
+ },
289
+ // "highest": help button, other UI that floats above everything.
290
+ ...{
291
+ "below-floating-3": "37",
292
+ "below-floating-2": "38",
293
+ "below-floating-1": "39",
294
+ "below-floating": "39",
295
+ "floating": "40",
296
+ "above-floating": "41",
297
+ "above-floating-1": "41",
298
+ "above-floating-2": "42",
299
+ "above-floating-3": "43"
300
+ }
301
+ };
302
+ for (let i = 0; i <= 50; i++) {
303
+ zIndex[`${i}`] = `${i}`;
304
+ }
305
+ var z_index_tailwind_default = zIndex;
306
+
307
+ // tailwind/typo-plugin/index.js
308
+ var import_plugin = __toESM(require("tailwindcss/plugin.js"));
309
+ var import_lodash2 = __toESM(require("lodash.merge"));
310
+ var import_lodash3 = __toESM(require("lodash.castarray"));
311
+
312
+ // util/index.ts
313
+ var import_clsx = require("clsx");
314
+ var import_tailwind_merge = require("tailwind-merge");
315
+ function round(value) {
316
+ return Math.round(value * 100) / 100;
317
+ }
318
+ __name(round, "round");
319
+ function pxToRem(px, base = 16) {
320
+ return `${px / base}rem`;
321
+ }
322
+ __name(pxToRem, "pxToRem");
323
+ function pxToEm(px, base = 16) {
324
+ return `${px / base}em`;
325
+ }
326
+ __name(pxToEm, "pxToEm");
327
+
328
+ // tailwind/typo-plugin/get-plugin-styles.js
329
+ var typographyColorTheme = {
330
+ // vars are defined in global.css
331
+ // and dark mode is handled at that level.
332
+ "--tw-typo-plugin-body": "var(--hz-ui-fg-body)",
333
+ "--tw-typo-plugin-headings": "var(--hz-ui-fg-0)",
334
+ "--tw-typo-plugin-links": "var(--hz-ui-fg-0)",
335
+ "--tw-typo-plugin-links-hover": "var(--hz-ui-fg-2)",
336
+ "--tw-typo-plugin-bold": "var(--hz-ui-fg-0)",
337
+ "--tw-typo-plugin-counters": "var(--hz-ui-fg-4)",
338
+ "--tw-typo-plugin-bullets": "var(--hz-ui-fg-2)",
339
+ "--tw-typo-plugin-hr": "var(--hz-ui-fg-2)",
340
+ "--tw-typo-plugin-quotes": "var(--hz-ui-fg-body)",
341
+ "--tw-typo-plugin-quote-borders": "var(--hz-ui-fg-3)",
342
+ "--tw-typo-plugin-captions": "var(--hz-ui-fg-2)",
343
+ "--tw-typo-plugin-kbd": "var(--hz-ui-fg-0)",
344
+ "--tw-typo-plugin-kbd-shadows": "var(--hz-ui-fg-1)",
345
+ "--tw-typo-plugin-code": "var(--hz-ui-fg-0)",
346
+ "--tw-typo-plugin-pre-code": "var(--hz-ui-fg-1)",
347
+ "--tw-typo-plugin-pre-bg": "var(--hz-ui-bg-1)",
348
+ "--tw-typo-plugin-th-borders": "var(--hz-ui-fg-2)",
349
+ "--tw-typo-plugin-td-borders": "var(--hz-ui-fg-3)"
350
+ };
351
+ var defaultCSS = {
352
+ color: "var(--tw-typo-plugin-body)",
353
+ // YUCK maxWidth: '65ch',
354
+ p: {
355
+ textAlign: "inherit"
356
+ },
357
+ // Required to maintain correct order when merging
358
+ "p:first-child": {},
359
+ "p:last-child": {},
360
+ a: {
361
+ color: "var(--tw-typo-plugin-links)",
362
+ textDecoration: "underline",
363
+ fontWeight: "400"
364
+ },
365
+ "a:hover": {
366
+ color: "var(--tw-typo-plugin-links-hover)"
367
+ },
368
+ blockquote: {
369
+ fontWeight: "400",
370
+ fontStyle: "italic",
371
+ color: "var(--tw-typo-plugin-quotes)",
372
+ quotes: '"\\201C""\\201D""\\2018""\\2019"'
373
+ },
374
+ //'blockquote::before': {},
375
+ //'blockquote::after': {},
376
+ "blockquote p:first-of-type::before": {
377
+ content: "open-quote"
378
+ },
379
+ "blockquote p:last-of-type::after": {
380
+ content: "close-quote"
381
+ },
382
+ "blockquote strong": {
383
+ color: "inherit"
384
+ },
385
+ cite: {
386
+ display: "block",
387
+ fontStyle: "normal",
388
+ textAlign: "right",
389
+ color: "var(--tw-typo-plugin-quotes)"
390
+ },
391
+ ol: {
392
+ listStyleType: "decimal"
393
+ },
394
+ ul: {
395
+ //listStyleType: 'disc',
396
+ },
397
+ "ol > li::marker": {
398
+ fontWeight: "400",
399
+ color: "var(--tw-typo-plugin-counters)"
400
+ },
401
+ "ul > li::marker": {
402
+ color: "var(--tw-typo-plugin-bullets)"
403
+ },
404
+ "ul > li::before": {},
405
+ hr: {
406
+ borderColor: "var(--tw-typo-plugin-hr)",
407
+ borderTopWidth: 1
408
+ },
409
+ h1: {
410
+ color: "var(--tw-typo-plugin-headings)",
411
+ fontWeight: "800",
412
+ textAlign: "inherit",
413
+ textTransform: "uppercase"
414
+ },
415
+ h2: {
416
+ color: "var(--tw-typo-plugin-headings)",
417
+ fontWeight: "700",
418
+ textAlign: "inherit",
419
+ textTransform: "uppercase"
420
+ },
421
+ h3: {
422
+ color: "var(--tw-typo-plugin-headings)",
423
+ fontWeight: "600",
424
+ textAlign: "inherit",
425
+ textTransform: "uppercase"
426
+ },
427
+ h4: {
428
+ color: "var(--tw-typo-plugin-headings)",
429
+ fontWeight: "600",
430
+ textAlign: "inherit"
431
+ },
432
+ h5: {
433
+ color: "var(--tw-typo-plugin-headings)",
434
+ fontWeight: "600",
435
+ textAlign: "inherit"
436
+ },
437
+ h6: {
438
+ color: "var(--tw-typo-plugin-headings)",
439
+ textAlign: "inherit"
440
+ },
441
+ img: {},
442
+ "img:first-child": {},
443
+ "img:last-child": {},
444
+ picture: {
445
+ display: "block"
446
+ },
447
+ strong: {
448
+ color: "var(--tw-typo-plugin-bold)",
449
+ fontWeight: "600"
450
+ },
451
+ video: {},
452
+ kbd: {
453
+ fontWeight: "500",
454
+ fontFamily: "inherit",
455
+ color: "var(--tw-typo-plugin-kbd)",
456
+ boxShadow: "0 0 0 1px rgb(var(--tw-typo-plugin-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-typo-plugin-kbd-shadows) / 10%)"
457
+ },
458
+ code: {
459
+ color: "var(--tw-typo-plugin-code)",
460
+ fontWeight: "500"
461
+ },
462
+ "code::before": {
463
+ content: '"`"'
464
+ },
465
+ "code::after": {
466
+ content: '"`"'
467
+ },
468
+ "a code": {
469
+ color: "inherit"
470
+ },
471
+ "h1 code": {
472
+ color: "inherit"
473
+ },
474
+ "h2 code": {
475
+ color: "inherit"
476
+ },
477
+ "h3 code": {
478
+ color: "inherit"
479
+ },
480
+ "h4 code": {
481
+ color: "inherit"
482
+ },
483
+ "h5 code": {
484
+ color: "inherit"
485
+ },
486
+ "h6 code": {
487
+ color: "inherit"
488
+ },
489
+ "blockquote code": {
490
+ color: "inherit"
491
+ },
492
+ "thead th code": {
493
+ color: "inherit"
494
+ },
495
+ pre: {
496
+ color: "var(--tw-typo-plugin-pre-code)",
497
+ backgroundColor: "var(--tw-typo-plugin-pre-bg)",
498
+ overflowX: "auto",
499
+ fontWeight: "400"
500
+ },
501
+ "pre code": {
502
+ backgroundColor: "transparent",
503
+ borderWidth: "0",
504
+ borderRadius: "0",
505
+ padding: "0",
506
+ fontWeight: "inherit",
507
+ color: "inherit",
508
+ fontSize: "inherit",
509
+ fontFamily: "inherit",
510
+ lineHeight: "inherit"
511
+ },
512
+ "pre code::before": {
513
+ content: "none"
514
+ },
515
+ "pre code::after": {
516
+ content: "none"
517
+ },
518
+ table: {
519
+ width: "100%",
520
+ tableLayout: "auto",
521
+ textAlign: "left"
522
+ },
523
+ thead: {
524
+ borderBottomWidth: "1px",
525
+ borderBottomColor: "var(--tw-typo-plugin-th-borders)"
526
+ },
527
+ "thead th": {
528
+ color: "var(--tw-typo-plugin-headings)",
529
+ fontWeight: "600",
530
+ verticalAlign: "bottom"
531
+ },
532
+ "tbody tr": {},
533
+ "tbody tr:last-child": {},
534
+ "tbody td": {
535
+ verticalAlign: "baseline"
536
+ },
537
+ tfoot: {
538
+ borderTopWidth: "1px",
539
+ borderTopColor: "var(--tw-typo-plugin-th-borders)"
540
+ },
541
+ "tfoot td": {
542
+ verticalAlign: "top"
543
+ }
544
+ };
545
+ var defaultModifiers = /* @__PURE__ */ __name((base) => ({
546
+ base: {
547
+ css: [
548
+ {
549
+ fontSize: "1rem",
550
+ lineHeight: 1.4,
551
+ p: {
552
+ marginTop: "0.33rem",
553
+ marginBottom: "0.33rem"
554
+ },
555
+ "p:first-child": {
556
+ marginTop: 0
557
+ },
558
+ "p:last-child": {
559
+ marginBottom: 0
560
+ },
561
+ a: {},
562
+ "a:hover": {},
563
+ blockquote: {
564
+ //color: 'blue', //var(--tw-typo-plugin-quotes)',
565
+ //marginTop: pxToEm(32, 20),
566
+ //marginBottom: pxToEm(32, 20),
567
+ //paddingLeft: pxToEm(20, 20),
568
+ },
569
+ //'blockquote::before': {},
570
+ //'blockquote::after': {},
571
+ "blockquote p:first-of-type::before": {},
572
+ "blockquote p:last-of-type::after": {},
573
+ cite: {},
574
+ ol: {
575
+ fontSize: "1rem",
576
+ paddingLeft: "1.5rem",
577
+ margin: 0,
578
+ marginLeft: "-5px"
579
+ },
580
+ ul: {
581
+ fontSize: "1rem",
582
+ paddingLeft: "1.5rem",
583
+ margin: 0,
584
+ marginLeft: "-0.6rem",
585
+ listStylePosition: "outside",
586
+ listStyleType: "'\u25BC'"
587
+ },
588
+ li: {},
589
+ "ol > li": {
590
+ paddingLeft: "0.4rem"
591
+ },
592
+ "ul > li": {
593
+ paddingLeft: "0.75rem",
594
+ marginBottom: "0.75rem"
595
+ },
596
+ "ul > li:last-child": {
597
+ marginBottom: 0
598
+ },
599
+ "> ul > li p": {
600
+ margin: 0,
601
+ display: "inline"
602
+ },
603
+ hr: {},
604
+ h1: {
605
+ fontSize: pxToRem(40, base),
606
+ lineHeight: 1.2
607
+ },
608
+ h2: {
609
+ fontSize: pxToRem(36, base),
610
+ lineHeight: 1.2
611
+ },
612
+ h3: {
613
+ fontSize: "1.4rem",
614
+ lineHeight: 1.2
615
+ },
616
+ h4: {
617
+ marginTop: "0.5rem",
618
+ marginBottom: "0.5rem",
619
+ fontSize: "1.3rem",
620
+ lineHeight: 1.2
621
+ },
622
+ h5: {
623
+ marginTop: "0.5rem",
624
+ marginBottom: "0.5rem",
625
+ fontSize: "1.2rem",
626
+ lineHeight: 1.4
627
+ },
628
+ h6: {
629
+ marginTop: "0.5rem",
630
+ marginBottom: "0.5rem",
631
+ fontSize: "1.15rem",
632
+ lineHeight: 1.3
633
+ },
634
+ "hr + *": {
635
+ marginTop: "0"
636
+ },
637
+ "h2 + *": {
638
+ marginTop: "0"
639
+ },
640
+ "h3 + *": {
641
+ marginTop: "0"
642
+ },
643
+ "h4 + *": {
644
+ marginTop: "0"
645
+ },
646
+ img: {
647
+ marginTop: "0.5rem",
648
+ marginBottom: "0.5rem"
649
+ },
650
+ "img:first-child": {
651
+ marginTop: 0
652
+ },
653
+ "img:last-child": {
654
+ marginBottom: 0
655
+ },
656
+ picture: {
657
+ marginTop: pxToRem(20, base),
658
+ marginBottom: pxToRem(20, base)
659
+ },
660
+ "picture > img": {
661
+ marginTop: "0",
662
+ marginBottom: "0"
663
+ },
664
+ video: {
665
+ marginTop: pxToRem(20, base),
666
+ marginBottom: pxToRem(20, base)
667
+ },
668
+ kbd: {
669
+ fontSize: pxToEm(14, 16),
670
+ borderRadius: pxToRem(5, base),
671
+ paddingTop: pxToEm(3, 16),
672
+ paddingRight: pxToEm(6, 16),
673
+ paddingBottom: pxToEm(3, 16),
674
+ paddingLeft: pxToEm(6, 16)
675
+ },
676
+ code: {
677
+ fontSize: pxToEm(14, 16)
678
+ },
679
+ "h2 code": {
680
+ fontSize: pxToEm(21, 24)
681
+ },
682
+ "h3 code": {
683
+ fontSize: pxToEm(18, 20)
684
+ },
685
+ pre: {
686
+ fontSize: pxToRem(14, 16),
687
+ lineHeight: round(24 / 14),
688
+ marginTop: pxToEm(24, 14),
689
+ marginBottom: pxToEm(24, 14),
690
+ borderRadius: pxToRem(6, base),
691
+ paddingTop: pxToEm(12, 14),
692
+ paddingRight: pxToEm(16, 14),
693
+ paddingBottom: pxToEm(12, 14),
694
+ paddingLeft: pxToEm(16, 14)
695
+ },
696
+ /*
697
+ '> ul > li > *:first-child': {},
698
+ '> ul > li > *:last-child': {},
699
+ '> ol > li > *:first-child': {},
700
+ '> ol > li > *:last-child': {},
701
+ */
702
+ "ul ul, ul ol, ol ul, ol ol": {
703
+ marginTop: pxToRem(12, base),
704
+ marginBottom: pxToRem(12, base)
705
+ },
706
+ dl: {
707
+ marginTop: pxToEm(20, 16),
708
+ marginBottom: pxToEm(20, base)
709
+ },
710
+ dt: {
711
+ marginTop: pxToEm(20, base)
712
+ },
713
+ dd: {
714
+ marginTop: pxToEm(8, base),
715
+ paddingLeft: pxToEm(26, base)
716
+ },
717
+ table: {
718
+ fontSize: pxToEm(14, base),
719
+ lineHeight: round(24 / 14)
720
+ },
721
+ "thead th": {
722
+ paddingRight: pxToEm(8, 14),
723
+ paddingBottom: pxToEm(8, 14),
724
+ paddingLeft: pxToEm(8, 14)
725
+ },
726
+ "thead th:first-child": {
727
+ paddingLeft: "0"
728
+ },
729
+ "thead th:last-child": {
730
+ paddingRight: "0"
731
+ },
732
+ "tbody td, tfoot td": {
733
+ paddingTop: pxToEm(8, 14),
734
+ paddingRight: pxToEm(8, 14),
735
+ paddingBottom: pxToEm(8, 14),
736
+ paddingLeft: pxToEm(8, 14)
737
+ },
738
+ "tbody td:first-child, tfoot td:first-child": {
739
+ paddingLeft: "0"
740
+ },
741
+ "tbody td:last-child, tfoot td:last-child": {
742
+ paddingRight: "0"
743
+ }
744
+ }
745
+ ]
746
+ },
747
+ sm: {
748
+ css: [
749
+ {
750
+ p: {},
751
+ "p:first-child": {},
752
+ "p:last-child": {},
753
+ a: {},
754
+ "a:hover": {},
755
+ blockquote: {},
756
+ //'blockquote::before': {},
757
+ //'blockquote::after': {},
758
+ "blockquote p:first-of-type::before": {},
759
+ "blockquote p:last-of-type::after": {},
760
+ cite: {},
761
+ ol: {},
762
+ ul: {},
763
+ li: {},
764
+ "ol > li": {},
765
+ "ul > li": {},
766
+ "ul > li:last-child": {},
767
+ "> ul > li p": {},
768
+ hr: {},
769
+ h1: {
770
+ fontSize: pxToRem(24, base)
771
+ },
772
+ h2: {
773
+ fontSize: pxToRem(20, base)
774
+ },
775
+ h3: {
776
+ fontSize: pxToEm(18, base)
777
+ },
778
+ h4: {},
779
+ h5: {},
780
+ h6: {},
781
+ "hr + *": {},
782
+ "h2 + *": {},
783
+ "h3 + *": {},
784
+ "h4 + *": {},
785
+ img: {},
786
+ "img:first-child": {},
787
+ "img:last-child": {},
788
+ picture: {},
789
+ "picture > img": {},
790
+ video: {},
791
+ kbd: {},
792
+ code: {},
793
+ "h2 code": {},
794
+ "h3 code": {},
795
+ pre: {},
796
+ /*
797
+ '> ul > li > *:first-child': {},
798
+ '> ul > li > *:last-child': {},
799
+ '> ol > li > *:first-child': {},
800
+ '> ol > li > *:last-child': {},
801
+ */
802
+ "ul ul, ul ol, ol ul, ol ol": {},
803
+ dl: {},
804
+ dt: {},
805
+ dd: {},
806
+ table: {},
807
+ "thead th": {},
808
+ "thead th:first-child": {},
809
+ "thead th:last-child": {},
810
+ "tbody td, tfoot td": {},
811
+ "tbody td:first-child, tfoot td:first-child": {},
812
+ "tbody td:last-child, tfoot td:last-child": {}
813
+ }
814
+ ]
815
+ },
816
+ lg: {
817
+ css: [
818
+ {
819
+ p: {},
820
+ "p:first-child": {},
821
+ "p:last-child": {},
822
+ a: {},
823
+ "a:hover": {},
824
+ blockquote: {},
825
+ //'blockquote::before': {},
826
+ //'blockquote::after': {},
827
+ "blockquote p:first-of-type::before": {},
828
+ "blockquote p:last-of-type::after": {},
829
+ cite: {},
830
+ ol: {},
831
+ ul: {},
832
+ li: {},
833
+ "ol > li": {},
834
+ "ul > li": {},
835
+ "ul > li:last-child": {},
836
+ "> ul > li p": {},
837
+ hr: {},
838
+ h1: {
839
+ fontSize: pxToRem(45, base),
840
+ lineHeight: 1.1
841
+ },
842
+ h2: {
843
+ fontSize: pxToRem(40, base),
844
+ lineHeight: 1.1
845
+ },
846
+ h3: {
847
+ fontSize: pxToRem(32, base),
848
+ lineHeight: 1.1
849
+ },
850
+ h4: {
851
+ fontSize: pxToRem(26, base),
852
+ marginTop: pxToRem(13, base),
853
+ marginBottom: pxToRem(13, base)
854
+ },
855
+ h5: {
856
+ fontSize: pxToRem(22, base),
857
+ marginTop: pxToRem(11, base),
858
+ marginBottom: pxToRem(11, base)
859
+ },
860
+ h6: {},
861
+ "hr + *": {},
862
+ "h2 + *": {},
863
+ "h3 + *": {},
864
+ "h4 + *": {},
865
+ img: {},
866
+ "img:first-child": {},
867
+ "img:last-child": {},
868
+ picture: {},
869
+ "picture > img": {},
870
+ video: {},
871
+ kbd: {},
872
+ code: {},
873
+ "h2 code": {},
874
+ "h3 code": {},
875
+ pre: {},
876
+ /*
877
+ '> ul > li > *:first-child': {},
878
+ '> ul > li > *:last-child': {},
879
+ '> ol > li > *:first-child': {},
880
+ '> ol > li > *:last-child': {},
881
+ */
882
+ "ul ul, ul ol, ol ul, ol ol": {},
883
+ dl: {},
884
+ dt: {},
885
+ dd: {},
886
+ table: {},
887
+ "thead th": {},
888
+ "thead th:first-child": {},
889
+ "thead th:last-child": {},
890
+ "tbody td, tfoot td": {},
891
+ "tbody td:first-child, tfoot td:first-child": {},
892
+ "tbody td:last-child, tfoot td:last-child": {}
893
+ }
894
+ ]
895
+ },
896
+ xl: {
897
+ css: [
898
+ {
899
+ p: {},
900
+ "p:first-child": {},
901
+ "p:last-child": {},
902
+ a: {},
903
+ "a:hover": {},
904
+ blockquote: {},
905
+ //'blockquote::before': {},
906
+ //'blockquote::after': {},
907
+ "blockquote p:first-of-type::before": {},
908
+ "blockquote p:last-of-type::after": {},
909
+ cite: {},
910
+ ol: {},
911
+ ul: {},
912
+ li: {},
913
+ "ol > li": {},
914
+ "ul > li": {},
915
+ "ul > li:last-child": {},
916
+ "> ul > li p": {},
917
+ hr: {},
918
+ h1: {
919
+ fontSize: pxToRem(52, base),
920
+ lineHeight: 1.1
921
+ },
922
+ h2: {
923
+ fontSize: pxToRem(45, base),
924
+ lineHeight: 1.1
925
+ },
926
+ h3: {
927
+ fontSize: pxToRem(40, base),
928
+ lineHeight: 1.1
929
+ },
930
+ h4: {
931
+ fontSize: pxToRem(28, base),
932
+ marginTop: pxToRem(13, base),
933
+ marginBottom: pxToRem(13, base)
934
+ },
935
+ h5: {
936
+ fontSize: pxToRem(22, base),
937
+ marginTop: pxToRem(11, base),
938
+ marginBottom: pxToRem(11, base)
939
+ },
940
+ h6: {},
941
+ "hr + *": {},
942
+ "h2 + *": {},
943
+ "h3 + *": {},
944
+ "h4 + *": {},
945
+ img: {},
946
+ "img:first-child": {},
947
+ "img:last-child": {},
948
+ picture: {},
949
+ "picture > img": {},
950
+ video: {},
951
+ kbd: {},
952
+ code: {},
953
+ "h2 code": {},
954
+ "h3 code": {},
955
+ pre: {},
956
+ /*
957
+ '> ul > li > *:first-child': {},
958
+ '> ul > li > *:last-child': {},
959
+ '> ol > li > *:first-child': {},
960
+ '> ol > li > *:last-child': {},
961
+ */
962
+ "ul ul, ul ol, ol ul, ol ol": {},
963
+ dl: {},
964
+ dt: {},
965
+ dd: {},
966
+ table: {},
967
+ "thead th": {},
968
+ "thead th:first-child": {},
969
+ "thead th:last-child": {},
970
+ "tbody td, tfoot td": {},
971
+ "tbody td:first-child, tfoot td:first-child": {},
972
+ "tbody td:last-child, tfoot td:last-child": {}
973
+ }
974
+ ]
975
+ }
976
+ }), "defaultModifiers");
977
+ var getStyles = /* @__PURE__ */ __name((baseFontSize2) => ({
978
+ DEFAULT: {
979
+ css: [
980
+ defaultCSS,
981
+ typographyColorTheme,
982
+ ...defaultModifiers(baseFontSize2).base.css
983
+ ]
984
+ },
985
+ sm: defaultModifiers(baseFontSize2).sm,
986
+ lg: defaultModifiers(baseFontSize2).lg,
987
+ xl: defaultModifiers(baseFontSize2).xl
988
+ }), "getStyles");
989
+ var get_plugin_styles_default = getStyles;
990
+
991
+ // tailwind/typo-plugin/utils.js
992
+ var import_lodash = __toESM(require("lodash.isplainobject"));
993
+ var import_postcss_selector_parser = __toESM(require("postcss-selector-parser"));
994
+ var parseSelector = (0, import_postcss_selector_parser.default)();
995
+ function commonTrailingPseudos(selector) {
996
+ let ast = parseSelector.astSync(selector);
997
+ let matrix = [];
998
+ for (let [i, sel] of ast.nodes.entries()) {
999
+ for (const [j, child] of [...sel.nodes].reverse().entries()) {
1000
+ if (child.type !== "pseudo" || !child.value.startsWith("::")) {
1001
+ break;
1002
+ }
1003
+ matrix[j] = matrix[j] || [];
1004
+ matrix[j][i] = child;
1005
+ }
1006
+ }
1007
+ let trailingPseudos = import_postcss_selector_parser.default.selector();
1008
+ for (const pseudos of matrix) {
1009
+ if (!pseudos) {
1010
+ continue;
1011
+ }
1012
+ let values = /* @__PURE__ */ new Set([...pseudos.map((p) => p.value)]);
1013
+ if (values.size > 1) {
1014
+ break;
1015
+ }
1016
+ pseudos.forEach((pseudo) => pseudo.remove());
1017
+ trailingPseudos.prepend(pseudos[0]);
1018
+ }
1019
+ if (trailingPseudos.nodes.length) {
1020
+ return [trailingPseudos.toString(), ast.toString()];
1021
+ }
1022
+ return [null, selector];
1023
+ }
1024
+ __name(commonTrailingPseudos, "commonTrailingPseudos");
1025
+
1026
+ // tailwind/typo-plugin/index.js
1027
+ var baseFontSize = 16;
1028
+ var computed = {
1029
+ // Reserved for future "magic properties", for example:
1030
+ // bulletColor: (color) => ({ 'ul > li::before': { backgroundColor: color } }),
1031
+ };
1032
+ function inWhere(selector, { className, modifier, prefix }) {
1033
+ let prefixedNot = prefix(`.not-${className}`).slice(1);
1034
+ let selectorPrefix = selector.startsWith(">") ? `${modifier === "DEFAULT" ? `.${className}` : `.${className}-${modifier}`} ` : "";
1035
+ let [trailingPseudo, rebuiltSelector] = commonTrailingPseudos(selector);
1036
+ if (trailingPseudo) {
1037
+ return `:where(${selectorPrefix}${rebuiltSelector}):not(:where([class~="${prefixedNot}"],[class~="${prefixedNot}"] *))${trailingPseudo}`;
1038
+ }
1039
+ return `:where(${selectorPrefix}${selector}):not(:where([class~="${prefixedNot}"],[class~="${prefixedNot}"] *))`;
1040
+ }
1041
+ __name(inWhere, "inWhere");
1042
+ function isObject(value) {
1043
+ return typeof value === "object" && value !== null;
1044
+ }
1045
+ __name(isObject, "isObject");
1046
+ function configToCss(config = {}, { target, className, modifier, prefix }) {
1047
+ function updateSelector(k, v) {
1048
+ if (target === "legacy") {
1049
+ return [k, v];
1050
+ }
1051
+ if (Array.isArray(v)) {
1052
+ return [k, v];
1053
+ }
1054
+ if (isObject(v)) {
1055
+ let nested = Object.values(v).some(isObject);
1056
+ if (nested) {
1057
+ return [
1058
+ inWhere(k, { className, modifier, prefix }),
1059
+ v,
1060
+ Object.fromEntries(Object.entries(v).map(([k2, v2]) => updateSelector(k2, v2)))
1061
+ ];
1062
+ }
1063
+ return [inWhere(k, { className, modifier, prefix }), v];
1064
+ }
1065
+ return [k, v];
1066
+ }
1067
+ __name(updateSelector, "updateSelector");
1068
+ return Object.fromEntries(
1069
+ Object.entries(
1070
+ (0, import_lodash2.default)(
1071
+ {},
1072
+ ...Object.keys(config).filter((key) => computed[key]).map((key) => computed[key](config[key])),
1073
+ ...(0, import_lodash3.default)(config.css || {})
1074
+ )
1075
+ ).map(([k, v]) => updateSelector(k, v))
1076
+ );
1077
+ }
1078
+ __name(configToCss, "configToCss");
1079
+ var typo_plugin_default = import_plugin.default.withOptions(
1080
+ ({ className = "prose", target = "modern", base = 16 } = {}) => {
1081
+ baseFontSize = base;
1082
+ return function({ addVariant, addComponents, theme, prefix }) {
1083
+ let modifiers = theme("typography");
1084
+ let options = { className, prefix };
1085
+ for (let [name, ...selectors] of [
1086
+ [
1087
+ "headings",
1088
+ "h1",
1089
+ "h2",
1090
+ "h3"
1091
+ /* 'h4', 'h5', 'h6', 'th' */
1092
+ ],
1093
+ ["h1"],
1094
+ ["h2"],
1095
+ ["h3"],
1096
+ ["h4"],
1097
+ ["h5"],
1098
+ ["h6"],
1099
+ ["p"],
1100
+ ["a"],
1101
+ ["blockquote"],
1102
+ ["figure"],
1103
+ ["figcaption"],
1104
+ ["strong"],
1105
+ ["em"],
1106
+ ["code"],
1107
+ ["pre"],
1108
+ ["ol"],
1109
+ ["ul"],
1110
+ ["li"],
1111
+ ["table"],
1112
+ ["thead"],
1113
+ ["tr"],
1114
+ ["th"],
1115
+ ["td"],
1116
+ ["img"],
1117
+ ["video"],
1118
+ ["hr"]
1119
+ ]) {
1120
+ selectors = selectors.length === 0 ? [name] : selectors;
1121
+ let selector = target === "legacy" ? selectors.map((selector2) => `& ${selector2}`) : selectors.join(", ");
1122
+ addVariant(
1123
+ `${className}-${name}`,
1124
+ target === "legacy" ? selector : `& :is(${inWhere(selector, options)})`
1125
+ );
1126
+ }
1127
+ addComponents(
1128
+ Object.keys(modifiers).map((modifier) => ({
1129
+ [modifier === "DEFAULT" ? `.${className}` : `.${className}-${modifier}`]: configToCss(
1130
+ modifiers[modifier],
1131
+ {
1132
+ target,
1133
+ className,
1134
+ modifier,
1135
+ prefix
1136
+ }
1137
+ )
1138
+ }))
1139
+ );
1140
+ };
1141
+ },
1142
+ () => {
1143
+ return {
1144
+ theme: { typography: get_plugin_styles_default(baseFontSize) }
1145
+ };
1146
+ }
1147
+ );
1148
+
1149
+ // tailwind/tailwind.config.hanzo-preset.js
1150
+ var tailwind_config_hanzo_preset_default = {
1151
+ darkMode: ["class"],
1152
+ content: [],
1153
+ safelist: safelist_tailwind_default,
1154
+ plugins: [
1155
+ import_tailwindcss_animate.default,
1156
+ typo_plugin_default({ className: "typography", base: 16 }),
1157
+ import_container_queries.default,
1158
+ import_tailwindcss_interaction_media.default
1159
+ ],
1160
+ theme: {
1161
+ accentColor: /* @__PURE__ */ __name(({ theme }) => ({
1162
+ ...theme("colors"),
1163
+ auto: "auto"
1164
+ }), "accentColor"),
1165
+ animation: {
1166
+ none: "none",
1167
+ spin: "spin 1s linear infinite",
1168
+ ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
1169
+ pulse: "pulse 2s linear(0, 1) infinite",
1170
+ // cubic-bezier(0.4, 0, 0.6, 1)
1171
+ pulsereverse: "pulse 2s linear(1, 0) infinite",
1172
+ bounce: "bounce 1s infinite",
1173
+ "accordion-down": "accordion-down 0.2s ease-out",
1174
+ "accordion-up": "accordion-up 0.2s ease-out",
1175
+ "mobile-menu-open": "opacity-in 300ms ease-in"
1176
+ },
1177
+ aria: {
1178
+ checked: 'checked="true"',
1179
+ disabled: 'disabled="true"',
1180
+ expanded: 'expanded="true"',
1181
+ hidden: 'hidden="true"',
1182
+ pressed: 'pressed="true"',
1183
+ readonly: 'readonly="true"',
1184
+ required: 'required="true"',
1185
+ selected: 'selected="true"'
1186
+ },
1187
+ aspectRatio: {
1188
+ auto: "auto",
1189
+ square: "1 / 1",
1190
+ video: "16 / 9"
1191
+ },
1192
+ backdropBlur: /* @__PURE__ */ __name(({ theme }) => theme("blur"), "backdropBlur"),
1193
+ backdropBrightness: /* @__PURE__ */ __name(({ theme }) => theme("brightness"), "backdropBrightness"),
1194
+ backdropContrast: /* @__PURE__ */ __name(({ theme }) => theme("contrast"), "backdropContrast"),
1195
+ backdropGrayscale: /* @__PURE__ */ __name(({ theme }) => theme("grayscale"), "backdropGrayscale"),
1196
+ backdropHueRotate: /* @__PURE__ */ __name(({ theme }) => theme("hueRotate"), "backdropHueRotate"),
1197
+ backdropInvert: /* @__PURE__ */ __name(({ theme }) => theme("invert"), "backdropInvert"),
1198
+ backdropOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "backdropOpacity"),
1199
+ backdropSaturate: /* @__PURE__ */ __name(({ theme }) => theme("saturate"), "backdropSaturate"),
1200
+ backdropSepia: /* @__PURE__ */ __name(({ theme }) => theme("sepia"), "backdropSepia"),
1201
+ backgroundColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "backgroundColor"),
1202
+ backgroundImage: {
1203
+ none: "none",
1204
+ "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
1205
+ "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
1206
+ "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
1207
+ "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
1208
+ "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
1209
+ "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
1210
+ "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
1211
+ "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))"
1212
+ },
1213
+ backgroundOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "backgroundOpacity"),
1214
+ backgroundPosition: {
1215
+ bottom: "bottom",
1216
+ center: "center",
1217
+ left: "left",
1218
+ "left-bottom": "left bottom",
1219
+ "left-top": "left top",
1220
+ right: "right",
1221
+ "right-bottom": "right bottom",
1222
+ "right-top": "right top",
1223
+ top: "top"
1224
+ },
1225
+ backgroundSize: {
1226
+ auto: "auto",
1227
+ cover: "cover",
1228
+ contain: "contain"
1229
+ },
1230
+ blur: {
1231
+ 0: "0",
1232
+ none: "0",
1233
+ sm: "4px",
1234
+ DEFAULT: "8px",
1235
+ md: "12px",
1236
+ lg: "16px",
1237
+ xl: "24px",
1238
+ "2xl": "40px",
1239
+ "3xl": "64px"
1240
+ },
1241
+ borderColor: /* @__PURE__ */ __name(({ theme }) => ({
1242
+ ...theme("colors"),
1243
+ DEFAULT: theme("colors.muted.3")
1244
+ }), "borderColor"),
1245
+ borderOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "borderOpacity"),
1246
+ borderRadius: {
1247
+ none: "0px",
1248
+ sm: "0.25rem",
1249
+ DEFAULT: "0.5rem",
1250
+ md: "0.5rem",
1251
+ lg: "0.75rem",
1252
+ xl: "1rem",
1253
+ "2xl": "1.5rem",
1254
+ "3xl": "2rem",
1255
+ full: "9999px"
1256
+ },
1257
+ borderSpacing: spacing_tailwind_default,
1258
+ borderWidth: {
1259
+ DEFAULT: "1px",
1260
+ 0: "0px",
1261
+ 2: "2px",
1262
+ 4: "4px",
1263
+ 8: "8px"
1264
+ },
1265
+ boxShadow: {
1266
+ sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
1267
+ DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
1268
+ md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
1269
+ lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
1270
+ xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
1271
+ "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
1272
+ inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
1273
+ none: "none"
1274
+ },
1275
+ boxShadowColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "boxShadowColor"),
1276
+ brightness: {
1277
+ 0: "0",
1278
+ 50: ".5",
1279
+ 75: ".75",
1280
+ 90: ".9",
1281
+ 95: ".95",
1282
+ 100: "1",
1283
+ 105: "1.05",
1284
+ 110: "1.1",
1285
+ 125: "1.25",
1286
+ 150: "1.5",
1287
+ 200: "2"
1288
+ },
1289
+ caretColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "caretColor"),
1290
+ colors: colors_tailwind_default,
1291
+ columns: {
1292
+ auto: "auto",
1293
+ 1: "1",
1294
+ 2: "2",
1295
+ 3: "3",
1296
+ 4: "4",
1297
+ 5: "5",
1298
+ 6: "6",
1299
+ 7: "7",
1300
+ 8: "8",
1301
+ 9: "9",
1302
+ 10: "10",
1303
+ 11: "11",
1304
+ 12: "12",
1305
+ "3xs": "16rem",
1306
+ "2xs": "18rem",
1307
+ xs: "20rem",
1308
+ sm: "24rem",
1309
+ md: "28rem",
1310
+ lg: "32rem",
1311
+ xl: "36rem",
1312
+ "2xl": "42rem",
1313
+ "3xl": "48rem",
1314
+ "4xl": "56rem",
1315
+ "5xl": "64rem",
1316
+ "6xl": "72rem",
1317
+ "7xl": "80rem"
1318
+ },
1319
+ container: {
1320
+ center: true,
1321
+ padding: "2rem"
1322
+ },
1323
+ content: {
1324
+ none: "none"
1325
+ },
1326
+ contrast: {
1327
+ 0: "0",
1328
+ 50: ".5",
1329
+ 75: ".75",
1330
+ 100: "1",
1331
+ 125: "1.25",
1332
+ 150: "1.5",
1333
+ 200: "2"
1334
+ },
1335
+ cursor: {
1336
+ auto: "auto",
1337
+ default: "default",
1338
+ pointer: "pointer",
1339
+ wait: "wait",
1340
+ text: "text",
1341
+ move: "move",
1342
+ help: "help",
1343
+ "not-allowed": "not-allowed",
1344
+ none: "none",
1345
+ "context-menu": "context-menu",
1346
+ progress: "progress",
1347
+ cell: "cell",
1348
+ crosshair: "crosshair",
1349
+ "vertical-text": "vertical-text",
1350
+ alias: "alias",
1351
+ copy: "copy",
1352
+ "no-drop": "no-drop",
1353
+ grab: "grab",
1354
+ grabbing: "grabbing",
1355
+ "all-scroll": "all-scroll",
1356
+ "col-resize": "col-resize",
1357
+ "row-resize": "row-resize",
1358
+ "n-resize": "n-resize",
1359
+ "e-resize": "e-resize",
1360
+ "s-resize": "s-resize",
1361
+ "w-resize": "w-resize",
1362
+ "ne-resize": "ne-resize",
1363
+ "nw-resize": "nw-resize",
1364
+ "se-resize": "se-resize",
1365
+ "sw-resize": "sw-resize",
1366
+ "ew-resize": "ew-resize",
1367
+ "ns-resize": "ns-resize",
1368
+ "nesw-resize": "nesw-resize",
1369
+ "nwse-resize": "nwse-resize",
1370
+ "zoom-in": "zoom-in",
1371
+ "zoom-out": "zoom-out"
1372
+ },
1373
+ divideColor: /* @__PURE__ */ __name(({ theme }) => theme("borderColor"), "divideColor"),
1374
+ divideOpacity: /* @__PURE__ */ __name(({ theme }) => theme("borderOpacity"), "divideOpacity"),
1375
+ divideWidth: /* @__PURE__ */ __name(({ theme }) => theme("borderWidth"), "divideWidth"),
1376
+ dropShadow: {
1377
+ sm: "0 1px 1px rgb(0 0 0 / 0.05)",
1378
+ DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
1379
+ md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
1380
+ lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
1381
+ xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
1382
+ "2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
1383
+ none: "0 0 #0000"
1384
+ },
1385
+ fill: /* @__PURE__ */ __name(({ theme }) => ({
1386
+ none: "none",
1387
+ ...theme("colors")
1388
+ }), "fill"),
1389
+ flex: {
1390
+ 1: "1 1 0%",
1391
+ auto: "1 1 auto",
1392
+ initial: "0 1 auto",
1393
+ none: "none"
1394
+ },
1395
+ flexBasis: {
1396
+ auto: "auto",
1397
+ ...spacing_tailwind_default,
1398
+ "1/2": "50%",
1399
+ "1/3": "33.333333%",
1400
+ "2/3": "66.666667%",
1401
+ "1/4": "25%",
1402
+ "2/4": "50%",
1403
+ "3/4": "75%",
1404
+ "1/5": "20%",
1405
+ "2/5": "40%",
1406
+ "3/5": "60%",
1407
+ "4/5": "80%",
1408
+ "1/6": "16.666667%",
1409
+ "2/6": "33.333333%",
1410
+ "3/6": "50%",
1411
+ "4/6": "66.666667%",
1412
+ "5/6": "83.333333%",
1413
+ "1/12": "8.333333%",
1414
+ "2/12": "16.666667%",
1415
+ "3/12": "25%",
1416
+ "4/12": "33.333333%",
1417
+ "5/12": "41.666667%",
1418
+ "6/12": "50%",
1419
+ "7/12": "58.333333%",
1420
+ "8/12": "66.666667%",
1421
+ "9/12": "75%",
1422
+ "10/12": "83.333333%",
1423
+ "11/12": "91.666667%",
1424
+ full: "100%"
1425
+ },
1426
+ flexGrow: {
1427
+ 0: "0",
1428
+ DEFAULT: "1"
1429
+ },
1430
+ flexShrink: {
1431
+ 0: "0",
1432
+ DEFAULT: "1"
1433
+ },
1434
+ fontFamily: fontFamily_tailwind_default,
1435
+ fontSize: fontSize_tailwind_default,
1436
+ fontWeight: {
1437
+ thin: "100",
1438
+ extralight: "200",
1439
+ light: "300",
1440
+ normal: "400",
1441
+ medium: "500",
1442
+ semibold: "600",
1443
+ bold: "700",
1444
+ extrabold: "800",
1445
+ black: "900"
1446
+ },
1447
+ gap: spacing_tailwind_default,
1448
+ gradientColorStops: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "gradientColorStops"),
1449
+ gradientColorStopPositions: {
1450
+ "0%": "0%",
1451
+ "5%": "5%",
1452
+ "10%": "10%",
1453
+ "15%": "15%",
1454
+ "20%": "20%",
1455
+ "25%": "25%",
1456
+ "30%": "30%",
1457
+ "35%": "35%",
1458
+ "40%": "40%",
1459
+ "45%": "45%",
1460
+ "50%": "50%",
1461
+ "55%": "55%",
1462
+ "60%": "60%",
1463
+ "65%": "65%",
1464
+ "70%": "70%",
1465
+ "75%": "75%",
1466
+ "80%": "80%",
1467
+ "85%": "85%",
1468
+ "90%": "90%",
1469
+ "95%": "95%",
1470
+ "100%": "100%"
1471
+ },
1472
+ grayscale: {
1473
+ 0: "0",
1474
+ DEFAULT: "100%"
1475
+ },
1476
+ gridAutoColumns: {
1477
+ auto: "auto",
1478
+ min: "min-content",
1479
+ max: "max-content",
1480
+ fr: "minmax(0, 1fr)"
1481
+ },
1482
+ gridAutoRows: {
1483
+ auto: "auto",
1484
+ min: "min-content",
1485
+ max: "max-content",
1486
+ fr: "minmax(0, 1fr)"
1487
+ },
1488
+ gridColumn: {
1489
+ auto: "auto",
1490
+ "span-1": "span 1 / span 1",
1491
+ "span-2": "span 2 / span 2",
1492
+ "span-3": "span 3 / span 3",
1493
+ "span-4": "span 4 / span 4",
1494
+ "span-5": "span 5 / span 5",
1495
+ "span-6": "span 6 / span 6",
1496
+ "span-7": "span 7 / span 7",
1497
+ "span-8": "span 8 / span 8",
1498
+ "span-9": "span 9 / span 9",
1499
+ "span-10": "span 10 / span 10",
1500
+ "span-11": "span 11 / span 11",
1501
+ "span-12": "span 12 / span 12",
1502
+ "span-full": "1 / -1"
1503
+ },
1504
+ gridColumnEnd: {
1505
+ auto: "auto",
1506
+ 1: "1",
1507
+ 2: "2",
1508
+ 3: "3",
1509
+ 4: "4",
1510
+ 5: "5",
1511
+ 6: "6",
1512
+ 7: "7",
1513
+ 8: "8",
1514
+ 9: "9",
1515
+ 10: "10",
1516
+ 11: "11",
1517
+ 12: "12",
1518
+ 13: "13"
1519
+ },
1520
+ gridColumnStart: {
1521
+ auto: "auto",
1522
+ 1: "1",
1523
+ 2: "2",
1524
+ 3: "3",
1525
+ 4: "4",
1526
+ 5: "5",
1527
+ 6: "6",
1528
+ 7: "7",
1529
+ 8: "8",
1530
+ 9: "9",
1531
+ 10: "10",
1532
+ 11: "11",
1533
+ 12: "12",
1534
+ 13: "13"
1535
+ },
1536
+ gridRow: {
1537
+ auto: "auto",
1538
+ "span-1": "span 1 / span 1",
1539
+ "span-2": "span 2 / span 2",
1540
+ "span-3": "span 3 / span 3",
1541
+ "span-4": "span 4 / span 4",
1542
+ "span-5": "span 5 / span 5",
1543
+ "span-6": "span 6 / span 6",
1544
+ "span-full": "1 / -1"
1545
+ },
1546
+ gridRowEnd: {
1547
+ auto: "auto",
1548
+ 1: "1",
1549
+ 2: "2",
1550
+ 3: "3",
1551
+ 4: "4",
1552
+ 5: "5",
1553
+ 6: "6",
1554
+ 7: "7"
1555
+ },
1556
+ gridRowStart: {
1557
+ auto: "auto",
1558
+ 1: "1",
1559
+ 2: "2",
1560
+ 3: "3",
1561
+ 4: "4",
1562
+ 5: "5",
1563
+ 6: "6",
1564
+ 7: "7"
1565
+ },
1566
+ gridTemplateColumns: {
1567
+ none: "none",
1568
+ 1: "repeat(1, minmax(0, 1fr))",
1569
+ 2: "repeat(2, minmax(0, 1fr))",
1570
+ 3: "repeat(3, minmax(0, 1fr))",
1571
+ 4: "repeat(4, minmax(0, 1fr))",
1572
+ 5: "repeat(5, minmax(0, 1fr))",
1573
+ 6: "repeat(6, minmax(0, 1fr))",
1574
+ 7: "repeat(7, minmax(0, 1fr))",
1575
+ 8: "repeat(8, minmax(0, 1fr))",
1576
+ 9: "repeat(9, minmax(0, 1fr))",
1577
+ 10: "repeat(10, minmax(0, 1fr))",
1578
+ 11: "repeat(11, minmax(0, 1fr))",
1579
+ 12: "repeat(12, minmax(0, 1fr))"
1580
+ },
1581
+ gridTemplateRows: {
1582
+ none: "none",
1583
+ 1: "repeat(1, minmax(0, 1fr))",
1584
+ 2: "repeat(2, minmax(0, 1fr))",
1585
+ 3: "repeat(3, minmax(0, 1fr))",
1586
+ 4: "repeat(4, minmax(0, 1fr))",
1587
+ 5: "repeat(5, minmax(0, 1fr))",
1588
+ 6: "repeat(6, minmax(0, 1fr))"
1589
+ },
1590
+ height: {
1591
+ auto: "auto",
1592
+ ...spacing_tailwind_default,
1593
+ "1/2": "50%",
1594
+ "1/3": "33.333333%",
1595
+ "2/3": "66.666667%",
1596
+ "1/4": "25%",
1597
+ "2/4": "50%",
1598
+ "3/4": "75%",
1599
+ "1/5": "20%",
1600
+ "2/5": "40%",
1601
+ "3/5": "60%",
1602
+ "4/5": "80%",
1603
+ "1/6": "16.666667%",
1604
+ "2/6": "33.333333%",
1605
+ "3/6": "50%",
1606
+ "4/6": "66.666667%",
1607
+ "5/6": "83.333333%",
1608
+ full: "100%",
1609
+ screen: "100vh",
1610
+ min: "min-content",
1611
+ max: "max-content",
1612
+ fit: "fit-content"
1613
+ },
1614
+ hueRotate: {
1615
+ 0: "0deg",
1616
+ 15: "15deg",
1617
+ 30: "30deg",
1618
+ 60: "60deg",
1619
+ 90: "90deg",
1620
+ 180: "180deg"
1621
+ },
1622
+ inset: {
1623
+ auto: "auto",
1624
+ ...spacing_tailwind_default,
1625
+ "1/2": "50%",
1626
+ "1/3": "33.333333%",
1627
+ "2/3": "66.666667%",
1628
+ "1/4": "25%",
1629
+ "2/4": "50%",
1630
+ "3/4": "75%",
1631
+ full: "100%"
1632
+ },
1633
+ invert: {
1634
+ 0: "0",
1635
+ DEFAULT: "100%"
1636
+ },
1637
+ keyframes: {
1638
+ spin: {
1639
+ to: {
1640
+ transform: "rotate(360deg)"
1641
+ }
1642
+ },
1643
+ ping: {
1644
+ "75%, 100%": {
1645
+ transform: "scale(2)",
1646
+ opacity: "0"
1647
+ }
1648
+ },
1649
+ pulse: {
1650
+ "50%": {
1651
+ opacity: ".5"
1652
+ }
1653
+ },
1654
+ bounce: {
1655
+ "0%, 100%": {
1656
+ transform: "translateY(-25%)",
1657
+ animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
1658
+ },
1659
+ "50%": {
1660
+ transform: "none",
1661
+ animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
1662
+ }
1663
+ },
1664
+ "accordion-down": {
1665
+ from: { height: 0 },
1666
+ to: { height: "var(--radix-accordion-content-height)" }
1667
+ },
1668
+ "accordion-up": {
1669
+ from: { height: "var(--radix-accordion-content-height)" },
1670
+ to: { height: 0 }
1671
+ },
1672
+ "opacity-in": {
1673
+ from: { opacity: "0" },
1674
+ to: { opacity: "1" }
1675
+ }
1676
+ },
1677
+ letterSpacing: {
1678
+ tighter: "-0.05em",
1679
+ tight: "-0.025em",
1680
+ normal: "0em",
1681
+ wide: "0.025em",
1682
+ wider: "0.05em",
1683
+ widest: "0.1em"
1684
+ },
1685
+ lineHeight: {
1686
+ none: "1",
1687
+ tight: "1.25",
1688
+ snug: "1.375",
1689
+ normal: "1.5",
1690
+ relaxed: "1.625",
1691
+ loose: "2",
1692
+ 3: ".75rem",
1693
+ 4: "1rem",
1694
+ 5: "1.25rem",
1695
+ 6: "1.5rem",
1696
+ 7: "1.75rem",
1697
+ 8: "2rem",
1698
+ 9: "2.25rem",
1699
+ 10: "2.5rem"
1700
+ },
1701
+ listStyleType: {
1702
+ none: "none",
1703
+ disc: "disc",
1704
+ decimal: "decimal"
1705
+ },
1706
+ listStyleImage: {
1707
+ none: "none"
1708
+ },
1709
+ margin: {
1710
+ auto: "auto",
1711
+ ...spacing_tailwind_default
1712
+ },
1713
+ lineClamp: {
1714
+ 1: "1",
1715
+ 2: "2",
1716
+ 3: "3",
1717
+ 4: "4",
1718
+ 5: "5",
1719
+ 6: "6"
1720
+ },
1721
+ maxHeight: {
1722
+ ...spacing_tailwind_default,
1723
+ none: "none",
1724
+ full: "100%",
1725
+ screen: "100vh",
1726
+ min: "min-content",
1727
+ max: "max-content",
1728
+ fit: "fit-content"
1729
+ },
1730
+ maxWidth: /* @__PURE__ */ __name(({ theme, breakpoints }) => ({
1731
+ ...spacing_tailwind_default,
1732
+ none: "none",
1733
+ 0: "0rem",
1734
+ xs: "20rem",
1735
+ sm: "24rem",
1736
+ md: "28rem",
1737
+ lg: "32rem",
1738
+ xl: "36rem",
1739
+ "2xl": "42rem",
1740
+ "3xl": "48rem",
1741
+ "4xl": "56rem",
1742
+ "5xl": "64rem",
1743
+ "6xl": "72rem",
1744
+ "7xl": "80rem",
1745
+ full: "100%",
1746
+ min: "min-content",
1747
+ max: "max-content",
1748
+ fit: "fit-content",
1749
+ prose: "65ch",
1750
+ ...breakpoints(theme("screens"))
1751
+ }), "maxWidth"),
1752
+ minHeight: {
1753
+ ...spacing_tailwind_default,
1754
+ 0: "0px",
1755
+ full: "100%",
1756
+ screen: "100vh",
1757
+ min: "min-content",
1758
+ max: "max-content",
1759
+ fit: "fit-content"
1760
+ },
1761
+ minWidth: /* @__PURE__ */ __name(({ theme, breakpoints }) => ({
1762
+ ...spacing_tailwind_default,
1763
+ 0: "0px",
1764
+ full: "100%",
1765
+ min: "min-content",
1766
+ max: "max-content",
1767
+ fit: "fit-content",
1768
+ ...breakpoints(theme("screens"))
1769
+ }), "minWidth"),
1770
+ objectPosition: {
1771
+ bottom: "bottom",
1772
+ center: "center",
1773
+ left: "left",
1774
+ "left-bottom": "left bottom",
1775
+ "left-top": "left top",
1776
+ right: "right",
1777
+ "right-bottom": "right bottom",
1778
+ "right-top": "right top",
1779
+ top: "top"
1780
+ },
1781
+ opacity: {
1782
+ 0: "0",
1783
+ 5: "0.05",
1784
+ 10: "0.1",
1785
+ 20: "0.2",
1786
+ 25: "0.25",
1787
+ 30: "0.3",
1788
+ 35: "0.35",
1789
+ 40: "0.4",
1790
+ 45: "0.45",
1791
+ 50: "0.5",
1792
+ 55: "0.55",
1793
+ 60: "0.6",
1794
+ 65: "0.65",
1795
+ 70: "0.7",
1796
+ 75: "0.75",
1797
+ 80: "0.8",
1798
+ 85: "0.85",
1799
+ 90: "0.9",
1800
+ 95: "0.95",
1801
+ 100: "1"
1802
+ },
1803
+ order: {
1804
+ first: "-9999",
1805
+ last: "9999",
1806
+ none: "0",
1807
+ 1: "1",
1808
+ 2: "2",
1809
+ 3: "3",
1810
+ 4: "4",
1811
+ 5: "5",
1812
+ 6: "6",
1813
+ 7: "7",
1814
+ 8: "8",
1815
+ 9: "9",
1816
+ 10: "10",
1817
+ 11: "11",
1818
+ 12: "12"
1819
+ },
1820
+ outlineColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "outlineColor"),
1821
+ outlineOffset: {
1822
+ 0: "0px",
1823
+ 1: "1px",
1824
+ 2: "2px",
1825
+ 4: "4px",
1826
+ 8: "8px"
1827
+ },
1828
+ outlineWidth: {
1829
+ 0: "0px",
1830
+ 1: "1px",
1831
+ 2: "2px",
1832
+ 4: "4px",
1833
+ 8: "8px"
1834
+ },
1835
+ padding: spacing_tailwind_default,
1836
+ placeholderColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "placeholderColor"),
1837
+ placeholderOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "placeholderOpacity"),
1838
+ ringColor: /* @__PURE__ */ __name(({ theme }) => ({
1839
+ DEFAULT: theme("colors.blue.500", "#3b82f6"),
1840
+ ...theme("colors")
1841
+ }), "ringColor"),
1842
+ ringOffsetColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "ringOffsetColor"),
1843
+ ringOffsetWidth: {
1844
+ 0: "0px",
1845
+ 1: "1px",
1846
+ 2: "2px",
1847
+ 4: "4px",
1848
+ 8: "8px"
1849
+ },
1850
+ ringOpacity: /* @__PURE__ */ __name(({ theme }) => ({
1851
+ DEFAULT: "0.5",
1852
+ ...theme("opacity")
1853
+ }), "ringOpacity"),
1854
+ ringWidth: {
1855
+ DEFAULT: "3px",
1856
+ 0: "0px",
1857
+ 1: "1px",
1858
+ 2: "2px",
1859
+ 4: "4px",
1860
+ 8: "8px"
1861
+ },
1862
+ rotate: {
1863
+ 0: "0deg",
1864
+ 1: "1deg",
1865
+ 2: "2deg",
1866
+ 3: "3deg",
1867
+ 6: "6deg",
1868
+ 12: "12deg",
1869
+ 45: "45deg",
1870
+ 90: "90deg",
1871
+ 180: "180deg"
1872
+ },
1873
+ saturate: {
1874
+ 0: "0",
1875
+ 50: ".5",
1876
+ 100: "1",
1877
+ 150: "1.5",
1878
+ 200: "2"
1879
+ },
1880
+ scale: {
1881
+ 0: "0",
1882
+ 50: ".5",
1883
+ 75: ".75",
1884
+ 90: ".9",
1885
+ 95: ".95",
1886
+ 100: "1",
1887
+ 105: "1.05",
1888
+ 110: "1.1",
1889
+ 125: "1.25",
1890
+ 150: "1.5"
1891
+ },
1892
+ screens: screens_tailwind_default,
1893
+ scrollMargin: spacing_tailwind_default,
1894
+ scrollPadding: spacing_tailwind_default,
1895
+ sepia: {
1896
+ 0: "0",
1897
+ DEFAULT: "100%"
1898
+ },
1899
+ skew: {
1900
+ 0: "0deg",
1901
+ 1: "1deg",
1902
+ 2: "2deg",
1903
+ 3: "3deg",
1904
+ 6: "6deg",
1905
+ 12: "12deg"
1906
+ },
1907
+ space: spacing_tailwind_default,
1908
+ spacing: spacing_tailwind_default,
1909
+ stroke: /* @__PURE__ */ __name(({ theme }) => ({
1910
+ none: "none",
1911
+ ...theme("colors")
1912
+ }), "stroke"),
1913
+ strokeWidth: {
1914
+ 0: "0",
1915
+ 1: "1",
1916
+ 2: "2"
1917
+ },
1918
+ supports: {},
1919
+ data: {
1920
+ on: 'state~="on"',
1921
+ off: 'state~="off"'
1922
+ },
1923
+ textColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "textColor"),
1924
+ textDecorationColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "textDecorationColor"),
1925
+ textDecorationThickness: {
1926
+ auto: "auto",
1927
+ "from-font": "from-font",
1928
+ 0: "0px",
1929
+ 1: "1px",
1930
+ 2: "2px",
1931
+ 4: "4px",
1932
+ 8: "8px"
1933
+ },
1934
+ textIndent: spacing_tailwind_default,
1935
+ textOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "textOpacity"),
1936
+ textUnderlineOffset: {
1937
+ auto: "auto",
1938
+ 0: "0px",
1939
+ 1: "1px",
1940
+ 2: "2px",
1941
+ 4: "4px",
1942
+ 8: "8px"
1943
+ },
1944
+ transformOrigin: {
1945
+ center: "center",
1946
+ top: "top",
1947
+ "top-right": "top right",
1948
+ right: "right",
1949
+ "bottom-right": "bottom right",
1950
+ bottom: "bottom",
1951
+ "bottom-left": "bottom left",
1952
+ left: "left",
1953
+ "top-left": "top left"
1954
+ },
1955
+ transitionDelay: {
1956
+ 0: "0s",
1957
+ 75: "75ms",
1958
+ 100: "100ms",
1959
+ 150: "150ms",
1960
+ 200: "200ms",
1961
+ 300: "300ms",
1962
+ 500: "500ms",
1963
+ 700: "700ms",
1964
+ 1e3: "1000ms"
1965
+ },
1966
+ transitionDuration: {
1967
+ DEFAULT: "150ms",
1968
+ 0: "0s",
1969
+ 75: "75ms",
1970
+ 100: "100ms",
1971
+ 150: "150ms",
1972
+ 200: "200ms",
1973
+ 300: "300ms",
1974
+ 500: "500ms",
1975
+ 700: "700ms",
1976
+ 1e3: "1000ms"
1977
+ },
1978
+ transitionProperty: {
1979
+ none: "none",
1980
+ all: "all",
1981
+ DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
1982
+ colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
1983
+ opacity: "opacity",
1984
+ shadow: "box-shadow",
1985
+ transform: "transform",
1986
+ height: "height",
1987
+ spacing: "margin, padding"
1988
+ },
1989
+ transitionTimingFunction: {
1990
+ DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
1991
+ linear: "linear",
1992
+ in: "cubic-bezier(0.4, 0, 1, 1)",
1993
+ out: "cubic-bezier(0, 0, 0.2, 1)",
1994
+ "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
1995
+ },
1996
+ translate: {
1997
+ ...spacing_tailwind_default,
1998
+ "1/2": "50%",
1999
+ "1/3": "33.333333%",
2000
+ "2/3": "66.666667%",
2001
+ "1/4": "25%",
2002
+ "2/4": "50%",
2003
+ "3/4": "75%",
2004
+ full: "100%"
2005
+ },
2006
+ width: /* @__PURE__ */ __name(({ theme, breakpoints }) => ({
2007
+ auto: "auto",
2008
+ ...spacing_tailwind_default,
2009
+ "1/2": "50%",
2010
+ "1/3": "33.333333%",
2011
+ "2/3": "66.666667%",
2012
+ "1/4": "25%",
2013
+ "2/4": "50%",
2014
+ "3/4": "75%",
2015
+ "1/5": "20%",
2016
+ "2/5": "40%",
2017
+ "3/5": "60%",
2018
+ "4/5": "80%",
2019
+ "1/6": "16.666667%",
2020
+ "2/6": "33.333333%",
2021
+ "3/6": "50%",
2022
+ "4/6": "66.666667%",
2023
+ "5/6": "83.333333%",
2024
+ "1/12": "8.333333%",
2025
+ "2/12": "16.666667%",
2026
+ "3/12": "25%",
2027
+ "4/12": "33.333333%",
2028
+ "5/12": "41.666667%",
2029
+ "6/12": "50%",
2030
+ "7/12": "58.333333%",
2031
+ "8/12": "66.666667%",
2032
+ "9/12": "75%",
2033
+ "10/12": "83.333333%",
2034
+ "11/12": "91.666667%",
2035
+ full: "100%",
2036
+ screen: "100vw",
2037
+ min: "min-content",
2038
+ max: "max-content",
2039
+ fit: "fit-content",
2040
+ ...breakpoints(theme("screens"))
2041
+ }), "width"),
2042
+ willChange: {
2043
+ auto: "auto",
2044
+ scroll: "scroll-position",
2045
+ contents: "contents",
2046
+ transform: "transform"
2047
+ },
2048
+ zIndex: z_index_tailwind_default
2049
+ }
2050
+ };