@hanzo/ui 4.8.5 → 4.9.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 (683) hide show
  1. package/CHANGELOG.md +184 -0
  2. package/LICENSE +21 -0
  3. package/README.md +185 -192
  4. package/dist/ai/index.js +53 -0
  5. package/dist/ai/index.js.map +1 -0
  6. package/dist/ai/index.mjs +4 -0
  7. package/dist/ai/index.mjs.map +1 -0
  8. package/dist/blocks/index.js +983 -0
  9. package/dist/blocks/index.js.map +1 -0
  10. package/dist/blocks/index.mjs +945 -0
  11. package/dist/blocks/index.mjs.map +1 -0
  12. package/dist/calendar/index.js +14 -0
  13. package/dist/calendar/index.js.map +1 -0
  14. package/dist/calendar/index.mjs +5 -0
  15. package/dist/calendar/index.mjs.map +1 -0
  16. package/dist/carousel/index.js +220 -0
  17. package/dist/carousel/index.js.map +1 -0
  18. package/dist/carousel/index.mjs +191 -0
  19. package/dist/carousel/index.mjs.map +1 -0
  20. package/dist/charts/index.js +945 -0
  21. package/dist/charts/index.js.map +1 -0
  22. package/dist/charts/index.mjs +901 -0
  23. package/dist/charts/index.mjs.map +1 -0
  24. package/dist/chunk-26T4V5QU.mjs +111 -0
  25. package/dist/chunk-26T4V5QU.mjs.map +1 -0
  26. package/dist/chunk-2A5KXDLJ.js +22 -0
  27. package/dist/chunk-2A5KXDLJ.js.map +1 -0
  28. package/dist/chunk-2CJ4HMF4.js +79 -0
  29. package/dist/chunk-2CJ4HMF4.js.map +1 -0
  30. package/dist/chunk-2OIQKC5E.js +236 -0
  31. package/dist/chunk-2OIQKC5E.js.map +1 -0
  32. package/dist/chunk-2X3KSYBN.js +44 -0
  33. package/dist/chunk-2X3KSYBN.js.map +1 -0
  34. package/dist/chunk-3PBQGYR7.mjs +100 -0
  35. package/dist/chunk-3PBQGYR7.mjs.map +1 -0
  36. package/dist/chunk-3POQQ6L7.js +62 -0
  37. package/dist/chunk-3POQQ6L7.js.map +1 -0
  38. package/dist/chunk-4B47GITH.mjs +28 -0
  39. package/dist/chunk-4B47GITH.mjs.map +1 -0
  40. package/dist/chunk-4BC2OH6B.js +129 -0
  41. package/dist/chunk-4BC2OH6B.js.map +1 -0
  42. package/dist/chunk-5AQSGH4R.js +130 -0
  43. package/dist/chunk-5AQSGH4R.js.map +1 -0
  44. package/dist/chunk-5IHRJFOO.mjs +102 -0
  45. package/dist/chunk-5IHRJFOO.mjs.map +1 -0
  46. package/dist/chunk-5LDGR7YN.mjs +28 -0
  47. package/dist/chunk-5LDGR7YN.mjs.map +1 -0
  48. package/dist/chunk-5MCN3VYM.mjs +23 -0
  49. package/dist/chunk-5MCN3VYM.mjs.map +1 -0
  50. package/dist/chunk-6AVAMRMB.mjs +47 -0
  51. package/dist/chunk-6AVAMRMB.mjs.map +1 -0
  52. package/dist/chunk-6H62JRNM.mjs +120 -0
  53. package/dist/chunk-6H62JRNM.mjs.map +1 -0
  54. package/dist/chunk-6KCII3F6.mjs +126 -0
  55. package/dist/chunk-6KCII3F6.mjs.map +1 -0
  56. package/dist/chunk-7EHB43BJ.js +155 -0
  57. package/dist/chunk-7EHB43BJ.js.map +1 -0
  58. package/dist/chunk-7LRD23Q5.js +191 -0
  59. package/dist/chunk-7LRD23Q5.js.map +1 -0
  60. package/dist/chunk-7SAHKOJG.mjs +45 -0
  61. package/dist/chunk-7SAHKOJG.mjs.map +1 -0
  62. package/dist/chunk-A3D2YZK3.js +50 -0
  63. package/dist/chunk-A3D2YZK3.js.map +1 -0
  64. package/dist/chunk-AL4QFH7V.js +63 -0
  65. package/dist/chunk-AL4QFH7V.js.map +1 -0
  66. package/dist/chunk-B3WFEG6U.js +69 -0
  67. package/dist/chunk-B3WFEG6U.js.map +1 -0
  68. package/dist/chunk-BDZQJ6GK.js +242 -0
  69. package/dist/chunk-BDZQJ6GK.js.map +1 -0
  70. package/dist/chunk-BRWFYRGX.js +61 -0
  71. package/dist/chunk-BRWFYRGX.js.map +1 -0
  72. package/dist/chunk-C5DNTLBO.js +53 -0
  73. package/dist/chunk-C5DNTLBO.js.map +1 -0
  74. package/dist/chunk-CRALRACO.js +54 -0
  75. package/dist/chunk-CRALRACO.js.map +1 -0
  76. package/dist/chunk-CVACQJRM.js +149 -0
  77. package/dist/chunk-CVACQJRM.js.map +1 -0
  78. package/dist/chunk-DEIUKFPZ.mjs +63 -0
  79. package/dist/chunk-DEIUKFPZ.mjs.map +1 -0
  80. package/dist/chunk-DN2AEEA2.js +13 -0
  81. package/dist/chunk-DN2AEEA2.js.map +1 -0
  82. package/dist/chunk-DTNRWU4B.mjs +35 -0
  83. package/dist/chunk-DTNRWU4B.mjs.map +1 -0
  84. package/dist/chunk-DXIUEWRJ.mjs +31 -0
  85. package/dist/chunk-DXIUEWRJ.mjs.map +1 -0
  86. package/dist/chunk-DYFV66JX.mjs +54 -0
  87. package/dist/chunk-DYFV66JX.mjs.map +1 -0
  88. package/dist/chunk-F3WMAHXV.mjs +86 -0
  89. package/dist/chunk-F3WMAHXV.mjs.map +1 -0
  90. package/dist/chunk-F4RWPBBB.js +79 -0
  91. package/dist/chunk-F4RWPBBB.js.map +1 -0
  92. package/dist/chunk-FEGAPM6U.js +194 -0
  93. package/dist/chunk-FEGAPM6U.js.map +1 -0
  94. package/dist/chunk-G5TS56PW.mjs +160 -0
  95. package/dist/chunk-G5TS56PW.mjs.map +1 -0
  96. package/dist/chunk-GG6VGOEN.mjs +590 -0
  97. package/dist/chunk-GG6VGOEN.mjs.map +1 -0
  98. package/dist/chunk-GLAMGK32.mjs +54 -0
  99. package/dist/chunk-GLAMGK32.mjs.map +1 -0
  100. package/dist/chunk-GNMMUJXD.mjs +200 -0
  101. package/dist/chunk-GNMMUJXD.mjs.map +1 -0
  102. package/dist/chunk-GNPBULLS.mjs +600 -0
  103. package/dist/chunk-GNPBULLS.mjs.map +1 -0
  104. package/dist/chunk-GTE2DELE.js +65 -0
  105. package/dist/chunk-GTE2DELE.js.map +1 -0
  106. package/dist/chunk-GUQAFFTH.js +94 -0
  107. package/dist/chunk-GUQAFFTH.js.map +1 -0
  108. package/dist/chunk-H5VOYZHT.mjs +34 -0
  109. package/dist/chunk-H5VOYZHT.mjs.map +1 -0
  110. package/dist/chunk-HR6PBOGG.mjs +59 -0
  111. package/dist/chunk-HR6PBOGG.mjs.map +1 -0
  112. package/dist/chunk-HROONQS3.js +55 -0
  113. package/dist/chunk-HROONQS3.js.map +1 -0
  114. package/dist/chunk-IAO7SOQ3.mjs +56 -0
  115. package/dist/chunk-IAO7SOQ3.mjs.map +1 -0
  116. package/dist/chunk-K2QKU3K6.mjs +40 -0
  117. package/dist/chunk-K2QKU3K6.mjs.map +1 -0
  118. package/dist/chunk-KEUZZCCP.js +53 -0
  119. package/dist/chunk-KEUZZCCP.js.map +1 -0
  120. package/dist/chunk-KJXSLTG7.mjs +73 -0
  121. package/dist/chunk-KJXSLTG7.mjs.map +1 -0
  122. package/dist/chunk-L5AFUCVH.mjs +26 -0
  123. package/dist/chunk-L5AFUCVH.mjs.map +1 -0
  124. package/dist/chunk-LB3I52KZ.mjs +42 -0
  125. package/dist/chunk-LB3I52KZ.mjs.map +1 -0
  126. package/dist/chunk-LN75MJQ2.js +71 -0
  127. package/dist/chunk-LN75MJQ2.js.map +1 -0
  128. package/dist/chunk-LRBOFJUV.js +60 -0
  129. package/dist/chunk-LRBOFJUV.js.map +1 -0
  130. package/dist/chunk-MMNYRBOU.js +157 -0
  131. package/dist/chunk-MMNYRBOU.js.map +1 -0
  132. package/dist/chunk-MO65YF6P.js +236 -0
  133. package/dist/chunk-MO65YF6P.js.map +1 -0
  134. package/dist/chunk-N4KHP5FC.mjs +33 -0
  135. package/dist/chunk-N4KHP5FC.mjs.map +1 -0
  136. package/dist/chunk-NP2J7AB7.mjs +121 -0
  137. package/dist/chunk-NP2J7AB7.mjs.map +1 -0
  138. package/dist/chunk-OLR6SGYO.js +57 -0
  139. package/dist/chunk-OLR6SGYO.js.map +1 -0
  140. package/dist/chunk-ON7NQ4DY.js +21 -0
  141. package/dist/chunk-ON7NQ4DY.js.map +1 -0
  142. package/dist/chunk-PE3VFRLV.mjs +198 -0
  143. package/dist/chunk-PE3VFRLV.mjs.map +1 -0
  144. package/dist/chunk-Q7LOOIE5.mjs +8 -0
  145. package/dist/chunk-Q7LOOIE5.mjs.map +1 -0
  146. package/dist/chunk-QFA6U75G.mjs +51 -0
  147. package/dist/chunk-QFA6U75G.mjs.map +1 -0
  148. package/dist/chunk-QJQPT4WX.js +638 -0
  149. package/dist/chunk-QJQPT4WX.js.map +1 -0
  150. package/dist/chunk-QKHQPBSR.mjs +20 -0
  151. package/dist/chunk-QKHQPBSR.mjs.map +1 -0
  152. package/dist/chunk-SJD4XRFJ.mjs +141 -0
  153. package/dist/chunk-SJD4XRFJ.mjs.map +1 -0
  154. package/dist/chunk-SOOJLU4C.mjs +19 -0
  155. package/dist/chunk-SOOJLU4C.mjs.map +1 -0
  156. package/dist/chunk-T66B5IM5.js +51 -0
  157. package/dist/chunk-T66B5IM5.js.map +1 -0
  158. package/dist/chunk-T7RPZDO4.js +645 -0
  159. package/dist/chunk-T7RPZDO4.js.map +1 -0
  160. package/dist/chunk-TGRMDGTV.mjs +38 -0
  161. package/dist/chunk-TGRMDGTV.mjs.map +1 -0
  162. package/dist/chunk-TH2UKMCO.mjs +11 -0
  163. package/dist/chunk-TH2UKMCO.mjs.map +1 -0
  164. package/dist/chunk-TMV45OKE.mjs +113 -0
  165. package/dist/chunk-TMV45OKE.mjs.map +1 -0
  166. package/dist/chunk-TUJ7EVEK.js +171 -0
  167. package/dist/chunk-TUJ7EVEK.js.map +1 -0
  168. package/dist/chunk-ULNWDOI7.js +122 -0
  169. package/dist/chunk-ULNWDOI7.js.map +1 -0
  170. package/dist/chunk-UNUTTHCH.mjs +210 -0
  171. package/dist/chunk-UNUTTHCH.mjs.map +1 -0
  172. package/dist/chunk-VJMI6BG4.mjs +10 -0
  173. package/dist/chunk-VJMI6BG4.mjs.map +1 -0
  174. package/dist/chunk-VZVOB5MG.mjs +26 -0
  175. package/dist/chunk-VZVOB5MG.mjs.map +1 -0
  176. package/dist/chunk-WD67O22C.js +50 -0
  177. package/dist/chunk-WD67O22C.js.map +1 -0
  178. package/dist/chunk-WYPMLIJN.js +53 -0
  179. package/dist/chunk-WYPMLIJN.js.map +1 -0
  180. package/dist/chunk-X32I34NH.js +109 -0
  181. package/dist/chunk-X32I34NH.js.map +1 -0
  182. package/dist/chunk-X5MOZ3YL.js +65 -0
  183. package/dist/chunk-X5MOZ3YL.js.map +1 -0
  184. package/dist/chunk-Y4JVIPQZ.mjs +31 -0
  185. package/dist/chunk-Y4JVIPQZ.mjs.map +1 -0
  186. package/dist/chunk-Y6WOV2LZ.js +95 -0
  187. package/dist/chunk-Y6WOV2LZ.js.map +1 -0
  188. package/dist/chunk-YAEN5SCU.mjs +41 -0
  189. package/dist/chunk-YAEN5SCU.mjs.map +1 -0
  190. package/dist/chunk-YH6XDF3N.js +121 -0
  191. package/dist/chunk-YH6XDF3N.js.map +1 -0
  192. package/dist/chunk-YJKA4D75.mjs +124 -0
  193. package/dist/chunk-YJKA4D75.mjs.map +1 -0
  194. package/dist/chunk-ZANAF7WB.js +88 -0
  195. package/dist/chunk-ZANAF7WB.js.map +1 -0
  196. package/dist/chunk-ZDBWNPLO.js +30 -0
  197. package/dist/chunk-ZDBWNPLO.js.map +1 -0
  198. package/dist/chunk-ZDT2IOK2.js +56 -0
  199. package/dist/chunk-ZDT2IOK2.js.map +1 -0
  200. package/dist/chunk-ZKGVLTSI.js +25 -0
  201. package/dist/chunk-ZKGVLTSI.js.map +1 -0
  202. package/dist/chunk-ZLELESO7.js +34 -0
  203. package/dist/chunk-ZLELESO7.js.map +1 -0
  204. package/dist/chunk-ZUFUEQTX.mjs +157 -0
  205. package/dist/chunk-ZUFUEQTX.mjs.map +1 -0
  206. package/dist/chunk-ZZZWRQQE.mjs +42 -0
  207. package/dist/chunk-ZZZWRQQE.mjs.map +1 -0
  208. package/dist/command/index.js +138 -0
  209. package/dist/command/index.js.map +1 -0
  210. package/dist/command/index.mjs +128 -0
  211. package/dist/command/index.mjs.map +1 -0
  212. package/dist/components/accordion.js +25 -0
  213. package/dist/components/accordion.js.map +1 -0
  214. package/dist/components/accordion.mjs +4 -0
  215. package/dist/components/accordion.mjs.map +1 -0
  216. package/dist/components/alert.js +21 -0
  217. package/dist/components/alert.js.map +1 -0
  218. package/dist/components/alert.mjs +4 -0
  219. package/dist/components/alert.mjs.map +1 -0
  220. package/dist/components/aspect-ratio.js +12 -0
  221. package/dist/components/aspect-ratio.js.map +1 -0
  222. package/dist/components/aspect-ratio.mjs +3 -0
  223. package/dist/components/aspect-ratio.mjs.map +1 -0
  224. package/dist/components/avatar.js +21 -0
  225. package/dist/components/avatar.js.map +1 -0
  226. package/dist/components/avatar.mjs +4 -0
  227. package/dist/components/avatar.mjs.map +1 -0
  228. package/dist/components/badge.js +17 -0
  229. package/dist/components/badge.js.map +1 -0
  230. package/dist/components/badge.mjs +4 -0
  231. package/dist/components/badge.mjs.map +1 -0
  232. package/dist/components/breadcrumb.js +37 -0
  233. package/dist/components/breadcrumb.js.map +1 -0
  234. package/dist/components/breadcrumb.mjs +4 -0
  235. package/dist/components/breadcrumb.mjs.map +1 -0
  236. package/dist/components/button.js +17 -0
  237. package/dist/components/button.js.map +1 -0
  238. package/dist/components/button.mjs +4 -0
  239. package/dist/components/button.mjs.map +1 -0
  240. package/dist/components/card.js +37 -0
  241. package/dist/components/card.js.map +1 -0
  242. package/dist/components/card.mjs +4 -0
  243. package/dist/components/card.mjs.map +1 -0
  244. package/dist/components/checkbox.js +13 -0
  245. package/dist/components/checkbox.js.map +1 -0
  246. package/dist/components/checkbox.mjs +4 -0
  247. package/dist/components/checkbox.mjs.map +1 -0
  248. package/dist/components/collapsible.js +20 -0
  249. package/dist/components/collapsible.js.map +1 -0
  250. package/dist/components/collapsible.mjs +3 -0
  251. package/dist/components/collapsible.mjs.map +1 -0
  252. package/dist/components/context-menu.js +69 -0
  253. package/dist/components/context-menu.js.map +1 -0
  254. package/dist/components/context-menu.mjs +4 -0
  255. package/dist/components/context-menu.mjs.map +1 -0
  256. package/dist/components/dialog.js +49 -0
  257. package/dist/components/dialog.js.map +1 -0
  258. package/dist/components/dialog.mjs +4 -0
  259. package/dist/components/dialog.mjs.map +1 -0
  260. package/dist/components/drawer.js +49 -0
  261. package/dist/components/drawer.js.map +1 -0
  262. package/dist/components/drawer.mjs +4 -0
  263. package/dist/components/drawer.mjs.map +1 -0
  264. package/dist/components/dropdown-menu.js +69 -0
  265. package/dist/components/dropdown-menu.js.map +1 -0
  266. package/dist/components/dropdown-menu.mjs +4 -0
  267. package/dist/components/dropdown-menu.mjs.map +1 -0
  268. package/dist/components/form.js +42 -0
  269. package/dist/components/form.js.map +1 -0
  270. package/dist/components/form.mjs +5 -0
  271. package/dist/components/form.mjs.map +1 -0
  272. package/dist/components/hover-card.js +21 -0
  273. package/dist/components/hover-card.js.map +1 -0
  274. package/dist/components/hover-card.mjs +4 -0
  275. package/dist/components/hover-card.mjs.map +1 -0
  276. package/dist/components/index.js +1047 -0
  277. package/dist/components/index.js.map +1 -0
  278. package/dist/components/index.mjs +46 -0
  279. package/dist/components/index.mjs.map +1 -0
  280. package/dist/components/input-otp.js +25 -0
  281. package/dist/components/input-otp.js.map +1 -0
  282. package/dist/components/input-otp.mjs +4 -0
  283. package/dist/components/input-otp.mjs.map +1 -0
  284. package/dist/components/input.js +13 -0
  285. package/dist/components/input.js.map +1 -0
  286. package/dist/components/input.mjs +4 -0
  287. package/dist/components/input.mjs.map +1 -0
  288. package/dist/components/label.js +13 -0
  289. package/dist/components/label.js.map +1 -0
  290. package/dist/components/label.mjs +4 -0
  291. package/dist/components/label.mjs.map +1 -0
  292. package/dist/components/menubar.js +73 -0
  293. package/dist/components/menubar.js.map +1 -0
  294. package/dist/components/menubar.mjs +4 -0
  295. package/dist/components/menubar.mjs.map +1 -0
  296. package/dist/components/navigation-menu.js +45 -0
  297. package/dist/components/navigation-menu.js.map +1 -0
  298. package/dist/components/navigation-menu.mjs +4 -0
  299. package/dist/components/navigation-menu.mjs.map +1 -0
  300. package/dist/components/pagination.js +38 -0
  301. package/dist/components/pagination.js.map +1 -0
  302. package/dist/components/pagination.mjs +5 -0
  303. package/dist/components/pagination.mjs.map +1 -0
  304. package/dist/components/popover.js +25 -0
  305. package/dist/components/popover.js.map +1 -0
  306. package/dist/components/popover.mjs +4 -0
  307. package/dist/components/popover.mjs.map +1 -0
  308. package/dist/components/progress.js +13 -0
  309. package/dist/components/progress.js.map +1 -0
  310. package/dist/components/progress.mjs +4 -0
  311. package/dist/components/progress.mjs.map +1 -0
  312. package/dist/components/radio-group.js +17 -0
  313. package/dist/components/radio-group.js.map +1 -0
  314. package/dist/components/radio-group.mjs +4 -0
  315. package/dist/components/radio-group.mjs.map +1 -0
  316. package/dist/components/resizable.js +21 -0
  317. package/dist/components/resizable.js.map +1 -0
  318. package/dist/components/resizable.mjs +4 -0
  319. package/dist/components/resizable.mjs.map +1 -0
  320. package/dist/components/scroll-area.js +17 -0
  321. package/dist/components/scroll-area.js.map +1 -0
  322. package/dist/components/scroll-area.mjs +4 -0
  323. package/dist/components/scroll-area.mjs.map +1 -0
  324. package/dist/components/select.js +49 -0
  325. package/dist/components/select.js.map +1 -0
  326. package/dist/components/select.mjs +4 -0
  327. package/dist/components/select.mjs.map +1 -0
  328. package/dist/components/separator.js +13 -0
  329. package/dist/components/separator.js.map +1 -0
  330. package/dist/components/separator.mjs +4 -0
  331. package/dist/components/separator.mjs.map +1 -0
  332. package/dist/components/sheet.js +49 -0
  333. package/dist/components/sheet.js.map +1 -0
  334. package/dist/components/sheet.mjs +4 -0
  335. package/dist/components/sheet.mjs.map +1 -0
  336. package/dist/components/sidebar.js +111 -0
  337. package/dist/components/sidebar.js.map +1 -0
  338. package/dist/components/sidebar.mjs +10 -0
  339. package/dist/components/sidebar.mjs.map +1 -0
  340. package/dist/components/skeleton.js +13 -0
  341. package/dist/components/skeleton.js.map +1 -0
  342. package/dist/components/skeleton.mjs +4 -0
  343. package/dist/components/skeleton.mjs.map +1 -0
  344. package/dist/components/slider.js +13 -0
  345. package/dist/components/slider.js.map +1 -0
  346. package/dist/components/slider.mjs +4 -0
  347. package/dist/components/slider.mjs.map +1 -0
  348. package/dist/components/switch.js +13 -0
  349. package/dist/components/switch.js.map +1 -0
  350. package/dist/components/switch.mjs +4 -0
  351. package/dist/components/switch.mjs.map +1 -0
  352. package/dist/components/table.js +41 -0
  353. package/dist/components/table.js.map +1 -0
  354. package/dist/components/table.mjs +4 -0
  355. package/dist/components/table.mjs.map +1 -0
  356. package/dist/components/tabs.js +25 -0
  357. package/dist/components/tabs.js.map +1 -0
  358. package/dist/components/tabs.mjs +4 -0
  359. package/dist/components/tabs.mjs.map +1 -0
  360. package/dist/components/textarea.js +13 -0
  361. package/dist/components/textarea.js.map +1 -0
  362. package/dist/components/textarea.mjs +4 -0
  363. package/dist/components/textarea.mjs.map +1 -0
  364. package/dist/components/toast.js +37 -0
  365. package/dist/components/toast.js.map +1 -0
  366. package/dist/components/toast.mjs +4 -0
  367. package/dist/components/toast.mjs.map +1 -0
  368. package/dist/components/toggle-group.js +18 -0
  369. package/dist/components/toggle-group.js.map +1 -0
  370. package/dist/components/toggle-group.mjs +5 -0
  371. package/dist/components/toggle-group.mjs.map +1 -0
  372. package/dist/components/toggle.js +17 -0
  373. package/dist/components/toggle.js.map +1 -0
  374. package/dist/components/toggle.mjs +4 -0
  375. package/dist/components/toggle.mjs.map +1 -0
  376. package/dist/components/tooltip.js +25 -0
  377. package/dist/components/tooltip.js.map +1 -0
  378. package/dist/components/tooltip.mjs +4 -0
  379. package/dist/components/tooltip.mjs.map +1 -0
  380. package/dist/effects/index.js +162 -0
  381. package/dist/effects/index.js.map +1 -0
  382. package/dist/effects/index.mjs +156 -0
  383. package/dist/effects/index.mjs.map +1 -0
  384. package/dist/index.js +1096 -9353
  385. package/dist/index.js.map +1 -0
  386. package/dist/index.mjs +47 -9342
  387. package/dist/index.mjs.map +1 -0
  388. package/dist/lib/utils.js +10 -45
  389. package/dist/lib/utils.js.map +1 -0
  390. package/dist/lib/utils.mjs +3 -28
  391. package/dist/lib/utils.mjs.map +1 -0
  392. package/dist/markdown/index.js +669 -0
  393. package/dist/markdown/index.js.map +1 -0
  394. package/dist/markdown/index.mjs +635 -0
  395. package/dist/markdown/index.mjs.map +1 -0
  396. package/dist/qr/index.js +101 -0
  397. package/dist/qr/index.js.map +1 -0
  398. package/dist/qr/index.mjs +98 -0
  399. package/dist/qr/index.mjs.map +1 -0
  400. package/dist/upload/index.js +166 -0
  401. package/dist/upload/index.js.map +1 -0
  402. package/dist/upload/index.mjs +163 -0
  403. package/dist/upload/index.mjs.map +1 -0
  404. package/package.json +153 -270
  405. package/publish.sh +27 -0
  406. package/assets/ai-icons.tsx +0 -207
  407. package/assets/crypto.tsx +0 -33
  408. package/assets/file-type-icon.tsx +0 -66
  409. package/assets/file.tsx +0 -45
  410. package/assets/general.tsx +0 -2318
  411. package/assets/hanzo-logo.svg +0 -9
  412. package/assets/hanzo-logo.tsx +0 -17
  413. package/assets/index.ts +0 -122
  414. package/assets/index.tsx +0 -4
  415. package/assets/llm-provider.tsx +0 -1094
  416. package/bin/cli.js +0 -100
  417. package/bin/create-registry.js +0 -108
  418. package/bin/mcp.js +0 -403
  419. package/bin/npx-registry-mcp.js +0 -15
  420. package/bin/registry-mcp-wrapper.sh +0 -19
  421. package/bin/registry-mcp.js +0 -100
  422. package/bin/start-mcp-server.sh +0 -22
  423. package/bin/test-mcp.sh +0 -52
  424. package/bin/update-registry.js +0 -196
  425. package/blocks/auth/index.ts +0 -6
  426. package/blocks/auth/login-2fa.tsx +0 -165
  427. package/blocks/auth/login-basic.tsx +0 -94
  428. package/blocks/auth/login-social.tsx +0 -148
  429. package/blocks/auth/magic-link.tsx +0 -129
  430. package/blocks/auth/password-reset.tsx +0 -97
  431. package/blocks/auth/signup.tsx +0 -157
  432. package/blocks/components/accordian-block.tsx +0 -48
  433. package/blocks/components/block-component-props.ts +0 -11
  434. package/blocks/components/bullet-cards-block.tsx +0 -46
  435. package/blocks/components/card-block/index.tsx +0 -171
  436. package/blocks/components/card-block/link-out-button.tsx +0 -20
  437. package/blocks/components/card-block/util.ts +0 -28
  438. package/blocks/components/carte-blanche-block/index.tsx +0 -127
  439. package/blocks/components/carte-blanche-block/variant-content-left.tsx +0 -49
  440. package/blocks/components/content.tsx +0 -70
  441. package/blocks/components/cta-block.tsx +0 -115
  442. package/blocks/components/enh-heading-block.tsx +0 -204
  443. package/blocks/components/grid-block/grid-block-mutator.ts +0 -12
  444. package/blocks/components/grid-block/index.tsx +0 -83
  445. package/blocks/components/grid-block/mutator-registry.ts +0 -10
  446. package/blocks/components/grid-block/table-borders.mutator.ts +0 -47
  447. package/blocks/components/group-block.tsx +0 -83
  448. package/blocks/components/heading-block.tsx +0 -88
  449. package/blocks/components/image-block.tsx +0 -111
  450. package/blocks/components/index.ts +0 -30
  451. package/blocks/components/screenful-block/content.tsx +0 -123
  452. package/blocks/components/screenful-block/index.tsx +0 -107
  453. package/blocks/components/screenful-block/poster-background.tsx +0 -34
  454. package/blocks/components/screenful-block/video-background.tsx +0 -45
  455. package/blocks/components/space-block.tsx +0 -66
  456. package/blocks/components/video-block.tsx +0 -138
  457. package/blocks/data-display/activity-feed.tsx +0 -242
  458. package/blocks/data-display/data-table.tsx +0 -235
  459. package/blocks/data-display/stats-grid.tsx +0 -194
  460. package/blocks/def/accordian-block.ts +0 -14
  461. package/blocks/def/block.ts +0 -7
  462. package/blocks/def/bullet-cards-block.ts +0 -22
  463. package/blocks/def/card-block.ts +0 -22
  464. package/blocks/def/carte-blanche-block.ts +0 -21
  465. package/blocks/def/cta-block.ts +0 -19
  466. package/blocks/def/element-block.ts +0 -11
  467. package/blocks/def/enh-heading-block.ts +0 -44
  468. package/blocks/def/grid-block.ts +0 -16
  469. package/blocks/def/group-block.ts +0 -11
  470. package/blocks/def/heading-block.ts +0 -15
  471. package/blocks/def/image-block.ts +0 -31
  472. package/blocks/def/index.ts +0 -35
  473. package/blocks/def/screenful-block.ts +0 -54
  474. package/blocks/def/space-block.ts +0 -64
  475. package/blocks/def/video-block.ts +0 -9
  476. package/blocks/ecommerce/checkout.tsx +0 -242
  477. package/blocks/ecommerce/index.ts +0 -7
  478. package/blocks/ecommerce/product-detail.tsx +0 -257
  479. package/blocks/ecommerce/product-grid.tsx +0 -148
  480. package/blocks/ecommerce/shopping-cart.tsx +0 -181
  481. package/blocks/index.ts +0 -2
  482. package/blocks/marketing/cta-section.tsx +0 -207
  483. package/blocks/marketing/faq.tsx +0 -159
  484. package/blocks/marketing/features-grid.tsx +0 -156
  485. package/blocks/marketing/hero-section.tsx +0 -192
  486. package/blocks/marketing/index.ts +0 -6
  487. package/blocks/marketing/pricing-table.tsx +0 -121
  488. package/blocks/marketing/testimonials.tsx +0 -196
  489. package/components/index.ts +0 -9
  490. package/dist/src/utils.js +0 -47
  491. package/dist/src/utils.mjs +0 -28
  492. package/dist/tailwind/index.js +0 -2050
  493. package/dist/tailwind/index.mjs +0 -2019
  494. package/dist/types/index.js +0 -79
  495. package/dist/types/index.mjs +0 -56
  496. package/dist/util/format-text.js +0 -51
  497. package/dist/util/format-text.mjs +0 -32
  498. package/dist/util/index.js +0 -384
  499. package/dist/util/index.mjs +0 -363
  500. package/frameworks/core/index.ts +0 -6
  501. package/frameworks/core/utils/index.ts +0 -64
  502. package/frameworks/react/components/button.tsx +0 -26
  503. package/frameworks/react/components/index.ts +0 -5
  504. package/frameworks/react/hooks/index.ts +0 -5
  505. package/frameworks/react/index.ts +0 -9
  506. package/frameworks/react/package.json +0 -8
  507. package/frameworks/react/utils/index.ts +0 -2
  508. package/frameworks/react-native/index.ts +0 -9
  509. package/frameworks/react-native/package.json +0 -8
  510. package/frameworks/registry.json +0 -371
  511. package/frameworks/setup.sh +0 -69
  512. package/frameworks/svelte/index.ts +0 -9
  513. package/frameworks/svelte/package.json +0 -8
  514. package/frameworks/tracker.json +0 -1854
  515. package/frameworks/vue/index.ts +0 -9
  516. package/frameworks/vue/package.json +0 -8
  517. package/helpers/file.ts +0 -33
  518. package/helpers/memoization.ts +0 -40
  519. package/primitives/accordion.tsx +0 -74
  520. package/primitives/action-button.tsx +0 -42
  521. package/primitives/alert-dialog.tsx +0 -185
  522. package/primitives/alert.tsx +0 -74
  523. package/primitives/apply-typography.tsx +0 -55
  524. package/primitives/aspect-ratio.tsx +0 -5
  525. package/primitives/avatar.tsx +0 -57
  526. package/primitives/background-beams.tsx +0 -142
  527. package/primitives/badge.tsx +0 -45
  528. package/primitives/breadcrumb.tsx +0 -130
  529. package/primitives/breakpoint-indicator.tsx +0 -19
  530. package/primitives/button.tsx +0 -72
  531. package/primitives/calendar.tsx +0 -72
  532. package/primitives/card.tsx +0 -97
  533. package/primitives/carousel.tsx +0 -238
  534. package/primitives/chat/chat-input-area.tsx +0 -88
  535. package/primitives/chat/chat-input.tsx +0 -71
  536. package/primitives/chat/files-preview.tsx +0 -331
  537. package/primitives/chat/index.ts +0 -6
  538. package/primitives/chat/json-form.tsx +0 -8
  539. package/primitives/chat/message-list.tsx +0 -308
  540. package/primitives/chat/message.tsx +0 -569
  541. package/primitives/chat/sqlite-preview.tsx +0 -215
  542. package/primitives/checkbox.tsx +0 -32
  543. package/primitives/collapsible.tsx +0 -9
  544. package/primitives/combobox.tsx +0 -239
  545. package/primitives/command.tsx +0 -151
  546. package/primitives/context-menu.tsx +0 -206
  547. package/primitives/copy-to-clipboard-icon.tsx +0 -60
  548. package/primitives/dialog-video-controller.tsx +0 -38
  549. package/primitives/dialog.tsx +0 -128
  550. package/primitives/dot-pattern.tsx +0 -57
  551. package/primitives/dots-loader.tsx +0 -13
  552. package/primitives/drawer.tsx +0 -113
  553. package/primitives/dropdown-menu.tsx +0 -199
  554. package/primitives/error-message.tsx +0 -19
  555. package/primitives/file-uploader.tsx +0 -203
  556. package/primitives/form.tsx +0 -185
  557. package/primitives/hover-card.tsx +0 -28
  558. package/primitives/icons/github.tsx +0 -14
  559. package/primitives/icons/index.ts +0 -18
  560. package/primitives/icons/youtube-logo.tsx +0 -59
  561. package/primitives/index-client.ts +0 -4
  562. package/primitives/index-common.ts +0 -304
  563. package/primitives/index-next.ts +0 -4
  564. package/primitives/input-otp.tsx +0 -65
  565. package/primitives/input.tsx +0 -128
  566. package/primitives/label.tsx +0 -21
  567. package/primitives/list-adaptor.ts +0 -12
  568. package/primitives/list-box.tsx +0 -74
  569. package/primitives/loading-spinner.tsx +0 -33
  570. package/primitives/markdown-preview.tsx +0 -612
  571. package/primitives/mermaid.tsx +0 -191
  572. package/primitives/navigation-menu.tsx +0 -147
  573. package/primitives/next/image.tsx +0 -91
  574. package/primitives/next/index.ts +0 -7
  575. package/primitives/next/inline-icon.tsx +0 -36
  576. package/primitives/next/link-element.tsx +0 -109
  577. package/primitives/next/mdx-link.tsx +0 -22
  578. package/primitives/next/media-stack.tsx +0 -52
  579. package/primitives/next/nav-items.tsx +0 -45
  580. package/primitives/next/youtube-embed.tsx +0 -83
  581. package/primitives/pagination.tsx +0 -117
  582. package/primitives/popover.tsx +0 -34
  583. package/primitives/pretty-json-print.tsx +0 -28
  584. package/primitives/progress.tsx +0 -27
  585. package/primitives/prompt-textarea.tsx +0 -72
  586. package/primitives/qr-code.tsx +0 -112
  587. package/primitives/radio-group.tsx +0 -42
  588. package/primitives/resizable.tsx +0 -47
  589. package/primitives/scroll-area.tsx +0 -57
  590. package/primitives/search-input.tsx +0 -66
  591. package/primitives/select.tsx +0 -122
  592. package/primitives/separator.tsx +0 -26
  593. package/primitives/sheet.tsx +0 -139
  594. package/primitives/skeleton.tsx +0 -18
  595. package/primitives/slider.tsx +0 -63
  596. package/primitives/sonner.tsx +0 -35
  597. package/primitives/step-indicator.tsx +0 -69
  598. package/primitives/stepper.tsx +0 -272
  599. package/primitives/switch.tsx +0 -27
  600. package/primitives/table.tsx +0 -105
  601. package/primitives/tabs.tsx +0 -50
  602. package/primitives/text-area.tsx +0 -26
  603. package/primitives/text-link.tsx +0 -25
  604. package/primitives/textarea.tsx +0 -64
  605. package/primitives/textfield.tsx +0 -78
  606. package/primitives/toast.tsx +0 -30
  607. package/primitives/toggle-group.tsx +0 -63
  608. package/primitives/toggle.tsx +0 -44
  609. package/primitives/tooltip.tsx +0 -47
  610. package/primitives/video-player.tsx +0 -23
  611. package/src/button.ts +0 -1
  612. package/src/hooks/index.ts +0 -7
  613. package/src/hooks/use-click-away.ts +0 -31
  614. package/src/hooks/use-combined-refs.ts +0 -22
  615. package/src/hooks/use-copy-clipboard.ts +0 -30
  616. package/src/hooks/use-debounce.ts +0 -17
  617. package/src/hooks/use-fill-ids.ts +0 -25
  618. package/src/hooks/use-map.ts +0 -26
  619. package/src/hooks/use-measure.ts +0 -42
  620. package/src/hooks/use-reverse-video-playback.ts +0 -43
  621. package/src/hooks/use-scroll-restoration.ts +0 -50
  622. package/src/index-lean.ts +0 -87
  623. package/src/index.ts +0 -54
  624. package/src/mcp/README.md +0 -141
  625. package/src/mcp/enhanced-server.ts +0 -1208
  626. package/src/mcp/index.ts +0 -518
  627. package/src/mcp/package.json +0 -10
  628. package/src/registry/api.ts +0 -164
  629. package/src/registry/index.ts +0 -60
  630. package/src/registry/package.json +0 -10
  631. package/src/utils.ts +0 -19
  632. package/style/drawer.css +0 -163
  633. package/style/globals.css +0 -13
  634. package/style/hanzo-common.css +0 -31
  635. package/style/hanzo-default-colors.css +0 -82
  636. package/style/theme-provider.tsx +0 -20
  637. package/tailwind/colors.tailwind.js +0 -53
  638. package/tailwind/fontFamily.tailwind.ts +0 -7
  639. package/tailwind/fontSize.tailwind.ts +0 -13
  640. package/tailwind/index.ts +0 -7
  641. package/tailwind/safelist.tailwind.js +0 -26
  642. package/tailwind/screens.tailwind.js +0 -8
  643. package/tailwind/spacing.tailwind.js +0 -65
  644. package/tailwind/tailwind.config.hanzo-preset.d.ts +0 -5
  645. package/tailwind/tailwind.config.hanzo-preset.js +0 -915
  646. package/tailwind/tw-font-desc.ts +0 -15
  647. package/tailwind/typo-plugin/get-plugin-styles.js +0 -679
  648. package/tailwind/typo-plugin/index.d.ts +0 -9
  649. package/tailwind/typo-plugin/index.js +0 -141
  650. package/tailwind/typo-plugin/utils.js +0 -60
  651. package/tailwind/typography-test.mdx +0 -35
  652. package/tailwind/z-index.tailwind.js +0 -71
  653. package/types/animation-def.ts +0 -3
  654. package/types/breakpoints.ts +0 -11
  655. package/types/bullet-item.ts +0 -10
  656. package/types/button-def.ts +0 -39
  657. package/types/dimensions.ts +0 -8
  658. package/types/grid-def.ts +0 -56
  659. package/types/image-def.ts +0 -32
  660. package/types/index.ts +0 -30
  661. package/types/link-def.ts +0 -56
  662. package/types/media-stack-def.ts +0 -31
  663. package/types/t-shirt-size.ts +0 -5
  664. package/types/tshirt-dimensions.ts +0 -20
  665. package/types/video-def.ts +0 -25
  666. package/util/blob.ts +0 -33
  667. package/util/copy-to-clipboard.ts +0 -17
  668. package/util/create-shadow-root.ts +0 -22
  669. package/util/date.ts +0 -84
  670. package/util/debounce.ts +0 -11
  671. package/util/file.ts +0 -15
  672. package/util/format-and-abbreviate-as-currency.ts +0 -125
  673. package/util/format-text.ts +0 -34
  674. package/util/format-to-max-char.ts +0 -68
  675. package/util/index-client.ts +0 -3
  676. package/util/index.ts +0 -112
  677. package/util/number-abbreviate.ts +0 -49
  678. package/util/specifier.ts +0 -43
  679. package/util/spread-to-transform.ts +0 -25
  680. package/util/step-animation.ts +0 -90
  681. package/util/timing.ts +0 -3
  682. package/util/toasts.tsx +0 -17
  683. package/util/two-way-map.ts +0 -19
@@ -1,2019 +0,0 @@
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
- };