@hanzo/ui 5.0.2 → 5.0.3

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