@hanzo/ui 5.0.2 → 5.1.0

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