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