@still-void/ui 3.5.1 → 3.6.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 (307) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +36 -0
  3. package/dist/css/app-shell.css +129 -0
  4. package/dist/css/base.css +27 -0
  5. package/dist/css/content.css +726 -0
  6. package/dist/css/controls.css +383 -0
  7. package/dist/css/data.css +190 -0
  8. package/dist/css/forms.css +318 -0
  9. package/dist/css/motion.css +49 -0
  10. package/dist/css/overlays.css +488 -0
  11. package/dist/css/toast.css +170 -0
  12. package/dist/react/_modules/behaviors/themeManager.js +10 -0
  13. package/dist/react/_modules/behaviors/themeManager.js.map +1 -0
  14. package/dist/react/_modules/components/ui/alert.js +14 -0
  15. package/dist/react/_modules/components/ui/alert.js.map +1 -0
  16. package/dist/react/_modules/components/ui/badge.js +9 -0
  17. package/dist/react/_modules/components/ui/badge.js.map +1 -0
  18. package/dist/react/_modules/components/ui/button.js +9 -0
  19. package/dist/react/_modules/components/ui/button.js.map +1 -0
  20. package/dist/react/_modules/components/ui/card.js +19 -0
  21. package/dist/react/_modules/components/ui/card.js.map +1 -0
  22. package/dist/react/_modules/components/ui/chart.js +18 -0
  23. package/dist/react/_modules/components/ui/chart.js.map +1 -0
  24. package/dist/react/_modules/components/ui/checkbox.js +8 -0
  25. package/dist/react/_modules/components/ui/checkbox.js.map +1 -0
  26. package/dist/react/_modules/components/ui/field.js +9 -0
  27. package/dist/react/_modules/components/ui/field.js.map +1 -0
  28. package/dist/react/_modules/components/ui/file-input.js +10 -0
  29. package/dist/react/_modules/components/ui/file-input.js.map +1 -0
  30. package/dist/react/_modules/components/ui/icon-set.js +11 -0
  31. package/dist/react/_modules/components/ui/icon-set.js.map +1 -0
  32. package/dist/react/_modules/components/ui/icon.js +9 -0
  33. package/dist/react/_modules/components/ui/icon.js.map +1 -0
  34. package/dist/react/_modules/components/ui/input.js +10 -0
  35. package/dist/react/_modules/components/ui/input.js.map +1 -0
  36. package/dist/react/_modules/components/ui/native-select.js +10 -0
  37. package/dist/react/_modules/components/ui/native-select.js.map +1 -0
  38. package/dist/react/_modules/components/ui/pagination.js +23 -0
  39. package/dist/react/_modules/components/ui/pagination.js.map +1 -0
  40. package/dist/react/_modules/components/ui/progress.js +8 -0
  41. package/dist/react/_modules/components/ui/progress.js.map +1 -0
  42. package/dist/react/_modules/components/ui/radio-group.js +12 -0
  43. package/dist/react/_modules/components/ui/radio-group.js.map +1 -0
  44. package/dist/react/_modules/components/ui/separator.js +8 -0
  45. package/dist/react/_modules/components/ui/separator.js.map +1 -0
  46. package/dist/react/_modules/components/ui/slot.js +7 -0
  47. package/dist/react/_modules/components/ui/slot.js.map +1 -0
  48. package/dist/react/_modules/components/ui/table.js +23 -0
  49. package/dist/react/_modules/components/ui/table.js.map +1 -0
  50. package/dist/react/_modules/components/ui/text-link.js +10 -0
  51. package/dist/react/_modules/components/ui/text-link.js.map +1 -0
  52. package/dist/react/_modules/components/ui/textarea.js +10 -0
  53. package/dist/react/_modules/components/ui/textarea.js.map +1 -0
  54. package/dist/react/_modules/lib/safe-href.js +9 -0
  55. package/dist/react/_modules/lib/safe-href.js.map +1 -0
  56. package/dist/react/_modules/lib/utils.js +7 -0
  57. package/dist/react/_modules/lib/utils.js.map +1 -0
  58. package/dist/react/_modules/react/components/Article.js +17 -0
  59. package/dist/react/_modules/react/components/Article.js.map +1 -0
  60. package/dist/react/_modules/react/components/Content.js +30 -0
  61. package/dist/react/_modules/react/components/Content.js.map +1 -0
  62. package/dist/react/_modules/react/components/PageHeader.js +8 -0
  63. package/dist/react/_modules/react/components/PageHeader.js.map +1 -0
  64. package/dist/react/_modules/react/components/Shell.js +17 -0
  65. package/dist/react/_modules/react/components/Shell.js.map +1 -0
  66. package/dist/react/_modules/react/components/ThemeScript.js +9 -0
  67. package/dist/react/_modules/react/components/ThemeScript.js.map +1 -0
  68. package/dist/react/_modules/recipes/article.js +34 -0
  69. package/dist/react/_modules/recipes/article.js.map +1 -0
  70. package/dist/react/_modules/recipes/content.js +34 -0
  71. package/dist/react/_modules/recipes/content.js.map +1 -0
  72. package/dist/react/_modules/recipes/cx.js +7 -0
  73. package/dist/react/_modules/recipes/cx.js.map +1 -0
  74. package/dist/react/_modules/recipes/field.js +12 -0
  75. package/dist/react/_modules/recipes/field.js.map +1 -0
  76. package/dist/react/_modules/recipes/shell.js +18 -0
  77. package/dist/react/_modules/recipes/shell.js.map +1 -0
  78. package/dist/react/_modules/recipes/table.js +9 -0
  79. package/dist/react/_modules/recipes/table.js.map +1 -0
  80. package/dist/react/_modules/tokens/categories.js +12 -0
  81. package/dist/react/_modules/tokens/categories.js.map +1 -0
  82. package/dist/react/_modules/tokens/colors.js +23 -0
  83. package/dist/react/_modules/tokens/colors.js.map +1 -0
  84. package/dist/react/_modules/tokens/motion.js +9 -0
  85. package/dist/react/_modules/tokens/motion.js.map +1 -0
  86. package/dist/react/_modules/tokens/spacing.js +9 -0
  87. package/dist/react/_modules/tokens/spacing.js.map +1 -0
  88. package/dist/react/_modules/tokens/typography.js +15 -0
  89. package/dist/react/_modules/tokens/typography.js.map +1 -0
  90. package/dist/react/_modules/tokens/zIndex.js +7 -0
  91. package/dist/react/_modules/tokens/zIndex.js.map +1 -0
  92. package/dist/react/chunk-2QRW4J2C.js +29 -0
  93. package/dist/react/chunk-2QRW4J2C.js.map +1 -0
  94. package/dist/react/chunk-3BWBG3BR.js +82 -0
  95. package/dist/react/chunk-3BWBG3BR.js.map +1 -0
  96. package/dist/react/chunk-563PKHIJ.js +48 -0
  97. package/dist/react/chunk-563PKHIJ.js.map +1 -0
  98. package/dist/react/chunk-5RPXXOD7.js +50 -0
  99. package/dist/react/chunk-5RPXXOD7.js.map +1 -0
  100. package/dist/react/chunk-6PF2SFKH.js +54 -0
  101. package/dist/react/chunk-6PF2SFKH.js.map +1 -0
  102. package/dist/react/chunk-7JIE3YAY.js +109 -0
  103. package/dist/react/chunk-7JIE3YAY.js.map +1 -0
  104. package/dist/react/chunk-7ZVSFBDK.js +26 -0
  105. package/dist/react/chunk-7ZVSFBDK.js.map +1 -0
  106. package/dist/react/chunk-AVAJOAL5.js +10 -0
  107. package/dist/react/chunk-AVAJOAL5.js.map +1 -0
  108. package/dist/react/chunk-BXKXO6FU.js +34 -0
  109. package/dist/react/chunk-BXKXO6FU.js.map +1 -0
  110. package/dist/react/chunk-CN3PNEZL.js +80 -0
  111. package/dist/react/chunk-CN3PNEZL.js.map +1 -0
  112. package/dist/react/chunk-EHJDOUXR.js +144 -0
  113. package/dist/react/chunk-EHJDOUXR.js.map +1 -0
  114. package/dist/react/chunk-FX2E23UV.js +28 -0
  115. package/dist/react/chunk-FX2E23UV.js.map +1 -0
  116. package/dist/react/chunk-GYGMM6RW.js +20 -0
  117. package/dist/react/chunk-GYGMM6RW.js.map +1 -0
  118. package/dist/react/chunk-H7DEOO3V.js +29 -0
  119. package/dist/react/chunk-H7DEOO3V.js.map +1 -0
  120. package/dist/react/chunk-HD7O5FNH.js +39 -0
  121. package/dist/react/chunk-HD7O5FNH.js.map +1 -0
  122. package/dist/react/chunk-HYLCMS2U.js +28 -0
  123. package/dist/react/chunk-HYLCMS2U.js.map +1 -0
  124. package/dist/react/chunk-HYXG2WF4.js +73 -0
  125. package/dist/react/chunk-HYXG2WF4.js.map +1 -0
  126. package/dist/react/chunk-KQK7SZ3K.js +52 -0
  127. package/dist/react/chunk-KQK7SZ3K.js.map +1 -0
  128. package/dist/react/chunk-KQZBK3XX.js +24 -0
  129. package/dist/react/chunk-KQZBK3XX.js.map +1 -0
  130. package/dist/react/chunk-L6WPFLSD.js +39 -0
  131. package/dist/react/chunk-L6WPFLSD.js.map +1 -0
  132. package/dist/react/chunk-LOVNG6RF.js +9 -0
  133. package/dist/react/chunk-LOVNG6RF.js.map +1 -0
  134. package/dist/react/chunk-M5FFVQKK.js +41 -0
  135. package/dist/react/chunk-M5FFVQKK.js.map +1 -0
  136. package/dist/react/chunk-MZEFPODP.js +77 -0
  137. package/dist/react/chunk-MZEFPODP.js.map +1 -0
  138. package/dist/react/chunk-NJQN37EG.js +37 -0
  139. package/dist/react/chunk-NJQN37EG.js.map +1 -0
  140. package/dist/react/chunk-OEFJMV7G.js +144 -0
  141. package/dist/react/chunk-OEFJMV7G.js.map +1 -0
  142. package/dist/react/chunk-P4M4LEI2.js +62 -0
  143. package/dist/react/chunk-P4M4LEI2.js.map +1 -0
  144. package/dist/react/chunk-PGDHKADW.js +60 -0
  145. package/dist/react/chunk-PGDHKADW.js.map +1 -0
  146. package/dist/react/chunk-QTVPXQ43.js +29 -0
  147. package/dist/react/chunk-QTVPXQ43.js.map +1 -0
  148. package/dist/react/chunk-QVOZHMVF.js +14 -0
  149. package/dist/react/chunk-QVOZHMVF.js.map +1 -0
  150. package/dist/react/chunk-SJ2YK4NJ.js +27 -0
  151. package/dist/react/chunk-SJ2YK4NJ.js.map +1 -0
  152. package/dist/react/chunk-SSMGCYPH.js +79 -0
  153. package/dist/react/chunk-SSMGCYPH.js.map +1 -0
  154. package/dist/react/chunk-SUT4G3TE.js +29 -0
  155. package/dist/react/chunk-SUT4G3TE.js.map +1 -0
  156. package/dist/react/chunk-SVLIJGBZ.js +14 -0
  157. package/dist/react/chunk-SVLIJGBZ.js.map +1 -0
  158. package/dist/react/chunk-SY7EEIC3.js +100 -0
  159. package/dist/react/chunk-SY7EEIC3.js.map +1 -0
  160. package/dist/react/chunk-TI3OPDCN.js +25 -0
  161. package/dist/react/chunk-TI3OPDCN.js.map +1 -0
  162. package/dist/react/chunk-U6L6J73Y.js +27 -0
  163. package/dist/react/chunk-U6L6J73Y.js.map +1 -0
  164. package/dist/react/chunk-VD5O66DN.js +54 -0
  165. package/dist/react/chunk-VD5O66DN.js.map +1 -0
  166. package/dist/react/chunk-YDGOXO6Q.js +74 -0
  167. package/dist/react/chunk-YDGOXO6Q.js.map +1 -0
  168. package/dist/react/chunk-YTTFCX3E.js +16 -0
  169. package/dist/react/chunk-YTTFCX3E.js.map +1 -0
  170. package/dist/react/chunk-YXV3UEL5.js +27 -0
  171. package/dist/react/chunk-YXV3UEL5.js.map +1 -0
  172. package/dist/react/client/_modules/behaviors/clipboard.js +8 -0
  173. package/dist/react/client/_modules/behaviors/clipboard.js.map +1 -0
  174. package/dist/react/client/_modules/behaviors/mediaQuery.js +8 -0
  175. package/dist/react/client/_modules/behaviors/mediaQuery.js.map +1 -0
  176. package/dist/react/client/_modules/behaviors/readingProgress.js +10 -0
  177. package/dist/react/client/_modules/behaviors/readingProgress.js.map +1 -0
  178. package/dist/react/client/_modules/behaviors/scrollSpy.js +8 -0
  179. package/dist/react/client/_modules/behaviors/scrollSpy.js.map +1 -0
  180. package/dist/react/client/_modules/behaviors/themeManager.js +11 -0
  181. package/dist/react/client/_modules/behaviors/themeManager.js.map +1 -0
  182. package/dist/react/client/_modules/components/ui/alert-dialog.js +30 -0
  183. package/dist/react/client/_modules/components/ui/alert-dialog.js.map +1 -0
  184. package/dist/react/client/_modules/components/ui/bottom-sheet.js +28 -0
  185. package/dist/react/client/_modules/components/ui/bottom-sheet.js.map +1 -0
  186. package/dist/react/client/_modules/components/ui/combobox.js +13 -0
  187. package/dist/react/client/_modules/components/ui/combobox.js.map +1 -0
  188. package/dist/react/client/_modules/components/ui/dialog.js +30 -0
  189. package/dist/react/client/_modules/components/ui/dialog.js.map +1 -0
  190. package/dist/react/client/_modules/components/ui/dropdown-menu.js +39 -0
  191. package/dist/react/client/_modules/components/ui/dropdown-menu.js.map +1 -0
  192. package/dist/react/client/_modules/components/ui/icon-set.js +12 -0
  193. package/dist/react/client/_modules/components/ui/icon-set.js.map +1 -0
  194. package/dist/react/client/_modules/components/ui/icon.js +10 -0
  195. package/dist/react/client/_modules/components/ui/icon.js.map +1 -0
  196. package/dist/react/client/_modules/components/ui/restore-focus.js +8 -0
  197. package/dist/react/client/_modules/components/ui/restore-focus.js.map +1 -0
  198. package/dist/react/client/_modules/components/ui/select.js +29 -0
  199. package/dist/react/client/_modules/components/ui/select.js.map +1 -0
  200. package/dist/react/client/_modules/components/ui/tabs.js +15 -0
  201. package/dist/react/client/_modules/components/ui/tabs.js.map +1 -0
  202. package/dist/react/client/_modules/components/ui/tooltip.js +15 -0
  203. package/dist/react/client/_modules/components/ui/tooltip.js.map +1 -0
  204. package/dist/react/client/_modules/lib/utils.js +8 -0
  205. package/dist/react/client/_modules/lib/utils.js.map +1 -0
  206. package/dist/react/client/_modules/react/client/CopyButton.js +11 -0
  207. package/dist/react/client/_modules/react/client/CopyButton.js.map +1 -0
  208. package/dist/react/client/_modules/react/client/ReadingProgress.js +14 -0
  209. package/dist/react/client/_modules/react/client/ReadingProgress.js.map +1 -0
  210. package/dist/react/client/_modules/react/client/SidebarProvider.js +26 -0
  211. package/dist/react/client/_modules/react/client/SidebarProvider.js.map +1 -0
  212. package/dist/react/client/_modules/react/client/TableOfContents.js +14 -0
  213. package/dist/react/client/_modules/react/client/TableOfContents.js.map +1 -0
  214. package/dist/react/client/_modules/react/client/ThemeProvider.js +12 -0
  215. package/dist/react/client/_modules/react/client/ThemeProvider.js.map +1 -0
  216. package/dist/react/client/_modules/react/client/ThemeToggle.js +14 -0
  217. package/dist/react/client/_modules/react/client/ThemeToggle.js.map +1 -0
  218. package/dist/react/client/_modules/react/client/ToastProvider.js +14 -0
  219. package/dist/react/client/_modules/react/client/ToastProvider.js.map +1 -0
  220. package/dist/react/client/_modules/react/client/hooks.js +17 -0
  221. package/dist/react/client/_modules/react/client/hooks.js.map +1 -0
  222. package/dist/react/client/_modules/react/client/shadcn.js +160 -0
  223. package/dist/react/client/_modules/react/client/shadcn.js.map +1 -0
  224. package/dist/react/client/_modules/recipes/article.js +35 -0
  225. package/dist/react/client/_modules/recipes/article.js.map +1 -0
  226. package/dist/react/client/_modules/recipes/cx.js +8 -0
  227. package/dist/react/client/_modules/recipes/cx.js.map +1 -0
  228. package/dist/react/client/_modules/recipes/field.js +13 -0
  229. package/dist/react/client/_modules/recipes/field.js.map +1 -0
  230. package/dist/react/client/_modules/tokens/colors.js +24 -0
  231. package/dist/react/client/_modules/tokens/colors.js.map +1 -0
  232. package/dist/react/client/chunk-3MVZ2ES4.js +83 -0
  233. package/dist/react/client/chunk-3MVZ2ES4.js.map +1 -0
  234. package/dist/react/client/chunk-7AU2DPOL.js +35 -0
  235. package/dist/react/client/chunk-7AU2DPOL.js.map +1 -0
  236. package/dist/react/client/chunk-ABWCVXOO.js +11 -0
  237. package/dist/react/client/chunk-ABWCVXOO.js.map +1 -0
  238. package/dist/react/client/chunk-AEXJWMUV.js +52 -0
  239. package/dist/react/client/chunk-AEXJWMUV.js.map +1 -0
  240. package/dist/react/client/chunk-CJQZ4BGO.js +125 -0
  241. package/dist/react/client/chunk-CJQZ4BGO.js.map +1 -0
  242. package/dist/react/client/chunk-CMMPIPNC.js +30 -0
  243. package/dist/react/client/chunk-CMMPIPNC.js.map +1 -0
  244. package/dist/react/client/chunk-CWA3N5RK.js +123 -0
  245. package/dist/react/client/chunk-CWA3N5RK.js.map +1 -0
  246. package/dist/react/client/chunk-ECOPTUZT.js +102 -0
  247. package/dist/react/client/chunk-ECOPTUZT.js.map +1 -0
  248. package/dist/react/client/chunk-GD7XJWKF.js +102 -0
  249. package/dist/react/client/chunk-GD7XJWKF.js.map +1 -0
  250. package/dist/react/client/chunk-JVVNV4DF.js +95 -0
  251. package/dist/react/client/chunk-JVVNV4DF.js.map +1 -0
  252. package/dist/react/client/chunk-LDOUB5IA.js +40 -0
  253. package/dist/react/client/chunk-LDOUB5IA.js.map +1 -0
  254. package/dist/react/client/chunk-M5QFSQYC.js +40 -0
  255. package/dist/react/client/chunk-M5QFSQYC.js.map +1 -0
  256. package/dist/react/client/chunk-MGR4F2BJ.js +67 -0
  257. package/dist/react/client/chunk-MGR4F2BJ.js.map +1 -0
  258. package/dist/react/client/chunk-MYTOL2RH.js +61 -0
  259. package/dist/react/client/chunk-MYTOL2RH.js.map +1 -0
  260. package/dist/react/client/chunk-N64GC5ZU.js +12 -0
  261. package/dist/react/client/chunk-N64GC5ZU.js.map +1 -0
  262. package/dist/react/client/chunk-NEAL74VV.js +130 -0
  263. package/dist/react/client/chunk-NEAL74VV.js.map +1 -0
  264. package/dist/react/client/chunk-OF6BMW2X.js +30 -0
  265. package/dist/react/client/chunk-OF6BMW2X.js.map +1 -0
  266. package/dist/react/client/chunk-OILITPDP.js +72 -0
  267. package/dist/react/client/chunk-OILITPDP.js.map +1 -0
  268. package/dist/react/client/chunk-OU4ACOFA.js +75 -0
  269. package/dist/react/client/chunk-OU4ACOFA.js.map +1 -0
  270. package/dist/react/client/chunk-OVMH25G3.js +23 -0
  271. package/dist/react/client/chunk-OVMH25G3.js.map +1 -0
  272. package/dist/react/client/chunk-P2UPL6Y3.js +205 -0
  273. package/dist/react/client/chunk-P2UPL6Y3.js.map +1 -0
  274. package/dist/react/client/chunk-PAOYY55O.js +41 -0
  275. package/dist/react/client/chunk-PAOYY55O.js.map +1 -0
  276. package/dist/react/client/chunk-PYG5NCEU.js +54 -0
  277. package/dist/react/client/chunk-PYG5NCEU.js.map +1 -0
  278. package/dist/react/client/chunk-RCZS37V5.js +239 -0
  279. package/dist/react/client/chunk-RCZS37V5.js.map +1 -0
  280. package/dist/react/client/chunk-RJFN4KXE.js +36 -0
  281. package/dist/react/client/chunk-RJFN4KXE.js.map +1 -0
  282. package/dist/react/client/chunk-RNMQZ6T2.js +62 -0
  283. package/dist/react/client/chunk-RNMQZ6T2.js.map +1 -0
  284. package/dist/react/client/chunk-TXL2US4Z.js +53 -0
  285. package/dist/react/client/chunk-TXL2US4Z.js.map +1 -0
  286. package/dist/react/client/chunk-U6FMZ32G.js +192 -0
  287. package/dist/react/client/chunk-U6FMZ32G.js.map +1 -0
  288. package/dist/react/client/chunk-WR7KQGBM.js +2 -0
  289. package/dist/react/client/chunk-WR7KQGBM.js.map +1 -0
  290. package/dist/react/client/chunk-XHL4YEVA.js +17 -0
  291. package/dist/react/client/chunk-XHL4YEVA.js.map +1 -0
  292. package/dist/react/client/index.cjs +400 -81
  293. package/dist/react/client/index.cjs.map +1 -1
  294. package/dist/react/client/index.d.cts +86 -5
  295. package/dist/react/client/index.d.ts +86 -5
  296. package/dist/react/client/index.js +141 -1426
  297. package/dist/react/client/index.js.map +1 -1
  298. package/dist/react/index.cjs +368 -183
  299. package/dist/react/index.cjs.map +1 -1
  300. package/dist/react/index.d.cts +202 -23
  301. package/dist/react/index.d.ts +202 -23
  302. package/dist/react/index.js +206 -1231
  303. package/dist/react/index.js.map +1 -1
  304. package/dist/shadcn-overrides.css +27 -13
  305. package/dist/style.css +301 -19
  306. package/dist/theme.css +73 -24
  307. package/package.json +36 -6
@@ -1,1236 +1,206 @@
1
- // src/components/ui/icon.tsx
2
- import * as React from "react";
3
-
4
- // src/lib/utils.ts
5
- import { clsx } from "clsx";
6
- import { twMerge } from "tailwind-merge";
7
- function cn(...inputs) {
8
- return twMerge(clsx(inputs));
9
- }
10
-
11
- // src/components/ui/icon-set.ts
12
1
  import {
13
- Bars3Icon,
14
- CameraIcon,
15
- CheckCircleIcon,
16
- CheckIcon,
17
- ChevronDownIcon,
18
- ChevronLeftIcon,
19
- ChevronRightIcon,
20
- ChevronUpIcon,
21
- ClockIcon,
22
- DocumentDuplicateIcon,
23
- ExclamationCircleIcon,
24
- ExclamationTriangleIcon,
25
- InformationCircleIcon,
26
- MagnifyingGlassIcon,
27
- MoonIcon,
28
- NoSymbolIcon,
29
- SunIcon,
30
- XMarkIcon
31
- } from "@heroicons/react/24/outline";
32
- var ICON_GLYPHS = {
33
- x: XMarkIcon,
34
- check: CheckIcon,
35
- "chevron-down": ChevronDownIcon,
36
- "chevron-up": ChevronUpIcon,
37
- "chevron-right": ChevronRightIcon,
38
- "chevron-left": ChevronLeftIcon,
39
- info: InformationCircleIcon,
40
- "alert-triangle": ExclamationTriangleIcon,
41
- "alert-circle": ExclamationCircleIcon,
42
- "check-circle": CheckCircleIcon,
43
- copy: DocumentDuplicateIcon,
44
- sun: SunIcon,
45
- moon: MoonIcon,
46
- search: MagnifyingGlassIcon,
47
- menu: Bars3Icon,
48
- camera: CameraIcon,
49
- blocked: NoSymbolIcon,
50
- pending: ClockIcon
51
- };
52
- var ICON_NAMES = Object.keys(ICON_GLYPHS);
53
- var ICON_FALLBACK_NAME = "alert-circle";
54
-
55
- // src/components/ui/icon.tsx
56
- import { jsx } from "react/jsx-runtime";
57
- var Icon = React.forwardRef(
58
- ({ name, size = "md", label, className, ...props }, ref) => {
59
- const Glyph = ICON_GLYPHS[name] ?? ICON_GLYPHS[ICON_FALLBACK_NAME];
60
- return /* @__PURE__ */ jsx(
61
- Glyph,
62
- {
63
- ...props,
64
- ref,
65
- "data-icon-name": name,
66
- className: cn(
67
- "sv-icon",
68
- size === "sm" && "sv-icon--sm",
69
- size === "lg" && "sv-icon--lg",
70
- className
71
- ),
72
- "aria-hidden": label === void 0 ? "true" : void 0,
73
- role: label === void 0 ? void 0 : "img",
74
- "aria-label": label
75
- }
76
- );
77
- }
78
- );
79
- Icon.displayName = "Icon";
80
-
81
- // src/recipes/cx.ts
82
- function cx(...parts) {
83
- return parts.filter(Boolean).join(" ");
84
- }
85
-
86
- // src/recipes/shell.ts
87
- function header(options = {}) {
88
- return cx("sv-header", options.glass !== false && "sv-glass");
89
- }
90
- var headerClasses = {
91
- nav: "sv-header__nav",
92
- /** Wraps <nav> in a native <details> — collapsible below 640px, a no-op
93
- * wrapper above it, with zero JavaScript (see DESIGN.md §5 Navigation). */
94
- navToggle: "sv-header__nav-toggle",
95
- navSummary: "sv-header__nav-summary",
96
- link: "sv-header__link",
97
- linkActive: cx("sv-header__link", "sv-header__link--active"),
98
- actions: "sv-header__actions"
99
- };
100
- function logo() {
101
- return "sv-logo";
102
- }
103
- var logoClasses = {
104
- dot: "sv-logo__dot"
105
- };
106
- function footer() {
107
- return "sv-footer";
108
- }
109
- var footerClasses = {
110
- links: "sv-footer__links",
111
- link: "sv-footer__link"
112
- };
113
-
114
- // src/react/components/Shell.tsx
115
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
116
- function Logo({ label, href = "/", className, ...rest }) {
117
- return /* @__PURE__ */ jsxs("a", { href, className: cx(logo(), className), ...rest, children: [
118
- /* @__PURE__ */ jsx2("span", { className: logoClasses.dot, "aria-hidden": "true" }),
119
- label
120
- ] });
121
- }
122
- function Header({ logo: logoSlot, items = [], actions, glass, className, ...rest }) {
123
- return /* @__PURE__ */ jsxs("header", { className: cx(header({ glass }), className), ...rest, children: [
124
- logoSlot,
125
- items.length > 0 && // <details> makes the nav collapsible below 640px with zero
126
- // JavaScript: CSS forces it open above that width (a no-op wrapper),
127
- // native click-to-toggle handles it below (see DESIGN.md §5).
128
- /* @__PURE__ */ jsxs("details", { className: headerClasses.navToggle, children: [
129
- /* @__PURE__ */ jsx2("summary", { className: headerClasses.navSummary, "aria-label": "Menu", children: /* @__PURE__ */ jsx2(Icon, { name: "menu" }) }),
130
- /* @__PURE__ */ jsx2("nav", { className: headerClasses.nav, children: items.map((item) => /* @__PURE__ */ jsx2(
131
- "a",
132
- {
133
- href: item.href,
134
- className: item.active ? headerClasses.linkActive : headerClasses.link,
135
- "aria-current": item.active ? "page" : void 0,
136
- children: item.label
137
- },
138
- item.href
139
- )) })
140
- ] }),
141
- actions && /* @__PURE__ */ jsx2("div", { className: headerClasses.actions, children: actions })
142
- ] });
143
- }
144
- function Footer({ author, links = [], children, className, ...rest }) {
145
- return /* @__PURE__ */ jsxs("footer", { className: cx(footer(), className), ...rest, children: [
146
- author && /* @__PURE__ */ jsx2("span", { children: author }),
147
- links.length > 0 && /* @__PURE__ */ jsx2("div", { className: footerClasses.links, children: links.map((link) => /* @__PURE__ */ jsx2("a", { href: link.href, className: footerClasses.link, children: link.label }, link.href)) }),
148
- children
149
- ] });
150
- }
151
-
152
- // src/recipes/content.ts
153
- function categoryPill(options = {}) {
154
- return cx(
155
- "sv-pill",
156
- options.interactive && "sv-pill--interactive",
157
- options.active && "sv-pill--active"
158
- );
159
- }
160
- var categoryPillClasses = {
161
- dot: "sv-pill__dot"
162
- };
163
- function postCard(options = {}) {
164
- return cx(
165
- "sv-post-card",
166
- options.dense && "sv-post-card--dense",
167
- options.hover !== false && "sv-card-hover"
168
- );
169
- }
170
- var postCardClasses = {
171
- meta: "sv-post-card__meta",
172
- title: "sv-post-card__title",
173
- excerpt: "sv-post-card__excerpt"
174
- };
175
- function featuredPostCard() {
176
- return cx("sv-featured-card", "sv-gradient-border", "sv-card-hover");
177
- }
178
- var featuredPostCardClasses = {
179
- body: "sv-featured-card__body",
180
- title: "sv-featured-card__title",
181
- visual: "sv-featured-card__visual"
182
- };
183
- function postGrid() {
184
- return "sv-post-grid";
185
- }
186
- function layout(options = {}) {
187
- return cx("sv-layout", options.withSidebar && "sv-layout--with-sidebar");
188
- }
189
- function sidebar() {
190
- return "sv-sidebar";
191
- }
192
- var sidebarClasses = {
193
- sectionTitle: "sv-sidebar__section-title"
194
- };
195
- function hero() {
196
- return "sv-hero";
197
- }
198
- var heroClasses = {
199
- eyebrow: "sv-hero__eyebrow",
200
- title: "sv-hero__title",
201
- description: "sv-hero__description"
202
- };
203
- function skeletonLine(options = {}) {
204
- return cx("sv-skeleton", "sv-skeleton-line", options.small && "sv-skeleton-line--sm");
205
- }
206
- function cardSkeleton() {
207
- return "sv-card-skeleton";
208
- }
209
-
210
- // src/tokens/colors.ts
211
- var colors = {
212
- dark: {
213
- bg: "#0A0A0C",
214
- bgElev: "#111114",
215
- surface: "#16161B",
216
- surface2: "#1C1C22",
217
- border: "rgba(255,255,255,0.08)",
218
- borderStrong: "rgba(255,255,255,0.14)",
219
- // WCAG 1.4.11: edge of an input/select/checkbox must read ≥3:1 on every surface; the
220
- // decorative borders above sit near 1.5:1 and stay decorative.
221
- controlBorder: "#6B6B76",
222
- text: "#EDEDF0",
223
- text2: "#8B8B96",
224
- // Corrected from #5A5A66 (~2.6:1 on surface) to meet WCAG AA 4.5:1 — text3 is used for
225
- // real copy (metadata, TOC links), not decoration, so it must be readable, not just muted.
226
- text3: "#83838F"
227
- },
228
- light: {
229
- bg: "#F7F7F5",
230
- bgElev: "#FFFFFF",
231
- surface: "#FFFFFF",
232
- surface2: "#F2F2EF",
233
- border: "rgba(0,0,0,0.08)",
234
- borderStrong: "rgba(0,0,0,0.14)",
235
- controlBorder: "#85858E",
236
- text: "#16161B",
237
- text2: "#5A5A66",
238
- // Corrected from #8B8B96 (~3.1:1 on white) to meet WCAG AA 4.5:1, same reasoning as dark.
239
- // A further step from #6F6F78 to #6D6D76: the first fix cleared white/paper (≥4.7:1) but
240
- // was only ~4.44:1 against surface2 (#F2F2EF), the darkest of the light surfaces — still a
241
- // failure. Verified against bg/bgElev/surface/surface2 together, not just one background.
242
- text3: "#6D6D76"
243
- }
244
- };
245
- var accents = {
246
- cyan: "oklch(0.78 0.12 210)",
247
- violet: "oklch(0.72 0.14 295)",
248
- mint: "oklch(0.78 0.10 160)",
249
- amber: "oklch(0.78 0.12 75)"
250
- };
251
- var accentsInk = {
252
- dark: {
253
- cyan: "oklch(0.78 0.12 210)",
254
- violet: "oklch(0.72 0.14 295)",
255
- mint: "oklch(0.78 0.10 160)",
256
- amber: "oklch(0.78 0.12 75)"
257
- },
258
- light: {
259
- cyan: "oklch(0.515 0.09 210)",
260
- violet: "oklch(0.535 0.14 295)",
261
- mint: "oklch(0.515 0.1 160)",
262
- amber: "oklch(0.53 0.11 75)"
263
- }
264
- };
265
- var semantic = {
266
- dark: {
267
- danger: "oklch(0.68 0.19 25)",
268
- success: "oklch(0.75 0.15 150)",
269
- info: "oklch(0.78 0.12 210)",
270
- warning: "oklch(0.78 0.12 75)"
271
- },
272
- light: {
273
- danger: "oklch(0.68 0.19 25)",
274
- success: "oklch(0.75 0.15 150)",
275
- info: "oklch(0.78 0.12 210)",
276
- warning: "oklch(0.78 0.12 75)"
277
- }
278
- };
279
- var semanticInk = {
280
- dark: {
281
- danger: "oklch(0.68 0.19 25)",
282
- success: "oklch(0.75 0.15 150)",
283
- info: "oklch(0.78 0.12 210)",
284
- warning: "oklch(0.78 0.12 75)"
285
- },
286
- light: {
287
- danger: "oklch(0.535 0.19 25)",
288
- success: "oklch(0.51 0.14 150)",
289
- info: "oklch(0.515 0.09 210)",
290
- warning: "oklch(0.53 0.11 75)"
291
- }
292
- };
293
- var themeModes = Object.keys(colors);
294
- var accentNames = Object.keys(accents);
295
- var DEFAULT_MODE = "dark";
296
- var DEFAULT_ACCENT = "cyan";
297
-
298
- // src/tokens/categories.ts
299
- var defaultCategoryColors = {
300
- ia: "violet",
301
- prompt: "amber",
302
- dev: "mint",
303
- arch: "cyan",
304
- ts: "cyan"
305
- };
306
- var hasOwn = (obj, key) => Object.prototype.hasOwnProperty.call(obj, key);
307
- function resolveAccentColor(color) {
308
- return hasOwn(accents, color) ? accents[color] : color;
309
- }
310
- function resolveCategoryColor(color) {
311
- if (hasOwn(defaultCategoryColors, color)) {
312
- return accents[defaultCategoryColors[color]];
313
- }
314
- return resolveAccentColor(color);
315
- }
316
-
317
- // src/react/components/Content.tsx
318
- import { Fragment, jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
319
- function CategoryPill({ label, color, active, interactive, className, style, ...rest }) {
320
- const pillStyle = color ? { ...style, "--sv-pill-color": resolveCategoryColor(color) } : style;
321
- const content = /* @__PURE__ */ jsxs2(Fragment, { children: [
322
- /* @__PURE__ */ jsx3("span", { className: categoryPillClasses.dot, "aria-hidden": "true" }),
323
- label
324
- ] });
325
- if (interactive) {
326
- return /* @__PURE__ */ jsx3(
327
- "button",
328
- {
329
- type: "button",
330
- "aria-pressed": active ?? false,
331
- className: cx(categoryPill({ active, interactive }), className),
332
- style: pillStyle,
333
- ...rest,
334
- children: content
335
- }
336
- );
337
- }
338
- return /* @__PURE__ */ jsx3(
339
- "span",
340
- {
341
- className: cx(categoryPill({ active, interactive }), className),
342
- style: pillStyle,
343
- ...rest,
344
- children: content
345
- }
346
- );
347
- }
348
- function PostMeta({ post }) {
349
- if (!post.category && !post.date && post.readMinutes === void 0) return null;
350
- return /* @__PURE__ */ jsxs2("div", { className: postCardClasses.meta, children: [
351
- post.category && /* @__PURE__ */ jsx3(CategoryPill, { label: post.category.label, color: post.category.color }),
352
- post.date && /* @__PURE__ */ jsx3("span", { children: post.date }),
353
- post.readMinutes !== void 0 && /* @__PURE__ */ jsxs2("span", { children: [
354
- post.readMinutes,
355
- " min"
356
- ] })
357
- ] });
358
- }
359
- function PostCard({ post, dense, className, children, ...rest }) {
360
- return /* @__PURE__ */ jsxs2("article", { className: cx(postCard({ dense }), className), ...rest, children: [
361
- /* @__PURE__ */ jsx3(PostMeta, { post }),
362
- /* @__PURE__ */ jsx3("h3", { className: postCardClasses.title, children: /* @__PURE__ */ jsx3("a", { href: post.href, children: post.title }) }),
363
- !dense && post.excerpt && /* @__PURE__ */ jsx3("p", { className: postCardClasses.excerpt, children: post.excerpt }),
364
- children
365
- ] });
366
- }
367
- function FeaturedPostCard({ post, visual, className, children, ...rest }) {
368
- return /* @__PURE__ */ jsxs2("article", { className: cx(featuredPostCard(), className), ...rest, children: [
369
- /* @__PURE__ */ jsxs2("div", { className: featuredPostCardClasses.body, children: [
370
- /* @__PURE__ */ jsx3(PostMeta, { post }),
371
- /* @__PURE__ */ jsx3("h2", { className: featuredPostCardClasses.title, children: /* @__PURE__ */ jsx3("a", { href: post.href, children: post.title }) }),
372
- post.excerpt && /* @__PURE__ */ jsx3("p", { className: postCardClasses.excerpt, children: post.excerpt }),
373
- children
374
- ] }),
375
- visual && /* @__PURE__ */ jsx3("div", { className: featuredPostCardClasses.visual, children: visual })
376
- ] });
377
- }
378
- function PostGrid({ className, ...rest }) {
379
- return /* @__PURE__ */ jsx3("div", { className: cx(postGrid(), className), ...rest });
380
- }
381
- function Layout({ withSidebar, className, ...rest }) {
382
- return /* @__PURE__ */ jsx3("div", { className: cx(layout({ withSidebar }), className), ...rest });
383
- }
384
- function Sidebar({ className, ...rest }) {
385
- return /* @__PURE__ */ jsx3("aside", { className: cx(sidebar(), className), ...rest });
386
- }
387
- function SidebarSection({ title, children, ...rest }) {
388
- return /* @__PURE__ */ jsxs2("section", { ...rest, children: [
389
- /* @__PURE__ */ jsx3("h4", { className: sidebarClasses.sectionTitle, children: title }),
390
- children
391
- ] });
392
- }
393
- function Hero({ eyebrow, title, description, className, children, ...rest }) {
394
- return /* @__PURE__ */ jsxs2("section", { className: cx(hero(), className), ...rest, children: [
395
- eyebrow && /* @__PURE__ */ jsx3("span", { className: heroClasses.eyebrow, children: eyebrow }),
396
- /* @__PURE__ */ jsx3("h1", { className: heroClasses.title, children: title }),
397
- description && /* @__PURE__ */ jsx3("p", { className: heroClasses.description, children: description }),
398
- children
399
- ] });
400
- }
401
- function Skeleton({ small, className, ...rest }) {
402
- return /* @__PURE__ */ jsx3("div", { className: cx(skeletonLine({ small }), className), "aria-hidden": "true", ...rest });
403
- }
404
- function CardSkeleton({ className, ...rest }) {
405
- return /* @__PURE__ */ jsxs2("div", { className: cx(cardSkeleton(), className), "aria-hidden": "true", ...rest, children: [
406
- /* @__PURE__ */ jsx3(Skeleton, { small: true }),
407
- /* @__PURE__ */ jsx3(Skeleton, {}),
408
- /* @__PURE__ */ jsx3(Skeleton, {})
409
- ] });
410
- }
411
-
412
- // src/recipes/article.ts
413
- function codeBlock() {
414
- return "sv-code-block";
415
- }
416
- var codeBlockClasses = {
417
- header: "sv-code-block__header",
418
- pre: "sv-code-block__pre",
419
- copy: "sv-code-block__copy",
420
- copyCopied: cx("sv-code-block__copy", "sv-code-block__copy--copied")
421
- };
422
- function callout(kind) {
423
- return cx("sv-callout", `sv-callout--${kind}`);
424
- }
425
- var calloutClasses = {
426
- label: "sv-callout__label"
427
- };
428
- var calloutLabels = {
429
- note: "Note",
430
- warn: "Warn",
431
- aha: "Aha!"
432
- };
433
- function tableOfContents() {
434
- return "sv-toc";
435
- }
436
- function tocLink(options = {}) {
437
- return cx(
438
- "sv-toc__link",
439
- options.active && "sv-toc__link--active",
440
- options.depth === 3 && "sv-toc__link--depth-3"
441
- );
442
- }
443
- function readingProgress() {
444
- return "sv-reading-progress";
445
- }
446
- var readingProgressClasses = {
447
- bar: "sv-reading-progress__bar"
448
- };
449
- var READING_PROGRESS_VAR = "--sv-reading-progress";
450
- function articleHeader() {
451
- return "sv-article-header";
452
- }
453
- var articleHeaderClasses = {
454
- title: "sv-article-header__title",
455
- meta: "sv-article-header__meta",
456
- author: "sv-article-header__author"
457
- };
458
- function prose() {
459
- return "sv-prose";
460
- }
461
- var proseClasses = {
462
- lead: "sv-prose__lead"
463
- };
464
-
465
- // src/react/components/Article.tsx
466
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
467
- function CodeBlock({
468
- code,
469
- language,
470
- filename,
471
- rendered,
472
- actions,
473
- className,
474
- ...rest
475
- }) {
476
- return /* @__PURE__ */ jsxs3("figure", { className: cx(codeBlock(), className), ...rest, children: [
477
- /* @__PURE__ */ jsxs3("figcaption", { className: codeBlockClasses.header, children: [
478
- /* @__PURE__ */ jsx4("span", { children: filename ?? language ?? "code" }),
479
- actions
480
- ] }),
481
- /* @__PURE__ */ jsx4("pre", { className: codeBlockClasses.pre, children: rendered ?? /* @__PURE__ */ jsx4("code", { children: code }) })
482
- ] });
483
- }
484
- function Callout({ kind, label, className, children, ...rest }) {
485
- return /* @__PURE__ */ jsxs3("aside", { className: cx(callout(kind), className), ...rest, children: [
486
- /* @__PURE__ */ jsx4("span", { className: calloutClasses.label, children: label ?? calloutLabels[kind] }),
487
- /* @__PURE__ */ jsx4("div", { children })
488
- ] });
489
- }
490
- function ArticleHeader({
491
- title,
492
- author,
493
- date,
494
- readMinutes,
495
- eyebrow,
496
- className,
497
- ...rest
498
- }) {
499
- return /* @__PURE__ */ jsxs3("header", { className: cx(articleHeader(), className), ...rest, children: [
500
- eyebrow,
501
- /* @__PURE__ */ jsx4("h1", { className: articleHeaderClasses.title, children: title }),
502
- (author || date || readMinutes !== void 0) && /* @__PURE__ */ jsxs3("div", { className: articleHeaderClasses.meta, children: [
503
- author && /* @__PURE__ */ jsx4("span", { className: articleHeaderClasses.author, children: author }),
504
- date && /* @__PURE__ */ jsx4("span", { children: date }),
505
- readMinutes !== void 0 && /* @__PURE__ */ jsxs3("span", { children: [
506
- readMinutes,
507
- " min"
508
- ] })
509
- ] })
510
- ] });
511
- }
512
- function Prose({ className, ...rest }) {
513
- return /* @__PURE__ */ jsx4("div", { className: cx(prose(), className), ...rest });
514
- }
515
- function Lead({ className, ...rest }) {
516
- return /* @__PURE__ */ jsx4("p", { className: cx(proseClasses.lead, className), ...rest });
517
- }
518
-
519
- // src/behaviors/themeManager.ts
520
- var DEFAULT_STORAGE_KEY = "still-void-theme";
521
-
522
- // src/react/components/ThemeScript.tsx
523
- import { jsx as jsx5 } from "react/jsx-runtime";
524
- function toScriptLiteral(value) {
525
- return JSON.stringify(value).replace(/</g, "\\u003c");
526
- }
527
- function ThemeScript({ storageKey = DEFAULT_STORAGE_KEY, nonce } = {}) {
528
- const modes = toScriptLiteral(themeModes);
529
- const accents2 = toScriptLiteral(accentNames);
530
- const key = toScriptLiteral(storageKey);
531
- const script = `(function(){try{var s=JSON.parse(localStorage.getItem(${key})||"null");if(!s)return;var m=${modes},a=${accents2},r=document.documentElement;if(m.indexOf(s.mode)!==-1)r.setAttribute("data-theme",s.mode);if(a.indexOf(s.accent)!==-1)r.setAttribute("data-accent",s.accent);}catch(e){}})();`;
532
- return /* @__PURE__ */ jsx5("script", { nonce, dangerouslySetInnerHTML: { __html: script } });
533
- }
534
-
535
- // src/components/ui/button.tsx
536
- import * as React2 from "react";
537
- import { jsx as jsx6 } from "react/jsx-runtime";
538
- var Button = React2.forwardRef(
539
- ({ className, variant = "default", size = "default", ...props }, ref) => /* @__PURE__ */ jsx6(
540
- "button",
541
- {
542
- className: cn(
543
- "sv-btn",
544
- variant === "destructive" && "sv-btn--destructive",
545
- variant === "outline" && "sv-btn--outline",
546
- variant === "secondary" && "sv-btn--secondary",
547
- variant === "ghost" && "sv-btn--ghost",
548
- variant === "link" && "sv-btn--link",
549
- variant === "accent" && "sv-btn--accent",
550
- size === "sm" && "sv-btn--sm",
551
- size === "lg" && "sv-btn--lg",
552
- size === "icon" && "sv-btn--icon",
553
- className
554
- ),
555
- ref,
556
- ...props
557
- }
558
- )
559
- );
560
- Button.displayName = "Button";
561
-
562
- // src/components/ui/card.tsx
563
- import * as React4 from "react";
564
-
565
- // src/components/ui/slot.tsx
566
- import * as React3 from "react";
567
- function composeRefs(...refs) {
568
- return (node) => {
569
- for (const ref of refs) {
570
- if (typeof ref === "function") {
571
- ref(node);
572
- } else if (ref !== null && ref !== void 0) {
573
- ;
574
- ref.current = node;
575
- }
576
- }
577
- };
578
- }
579
- function mergeProps(slotProps, childProps) {
580
- const merged = { ...slotProps, ...childProps };
581
- for (const key in childProps) {
582
- const slotValue = slotProps[key];
583
- const childValue = childProps[key];
584
- const isHandler = /^on[A-Z]/.test(key);
585
- if (isHandler && typeof slotValue === "function" && typeof childValue === "function") {
586
- merged[key] = (...args) => {
587
- const result = childValue(...args);
588
- slotValue(...args);
589
- return result;
590
- };
591
- } else if (key === "style") {
592
- merged[key] = { ...slotValue, ...childValue };
593
- } else if (key === "className") {
594
- merged[key] = [slotValue, childValue].filter(Boolean).join(" ");
595
- }
596
- }
597
- return merged;
598
- }
599
- var Slot = React3.forwardRef(
600
- ({ children, ...slotProps }, forwardedRef) => {
601
- if (!React3.isValidElement(children) || React3.Children.count(children) !== 1 || children.type === React3.Fragment) {
602
- throw new Error(
603
- "Slot expected a single React element child. Pass exactly one element to asChild."
604
- );
605
- }
606
- const child = children;
607
- const childRef = child.props.ref ?? null;
608
- const mergedProps = mergeProps(slotProps, child.props);
609
- mergedProps.ref = forwardedRef ? composeRefs(forwardedRef, childRef) : childRef;
610
- return React3.cloneElement(child, mergedProps);
611
- }
612
- );
613
- Slot.displayName = "Slot";
614
-
615
- // src/components/ui/card.tsx
616
- import { jsx as jsx7 } from "react/jsx-runtime";
617
- var CARD_ELEMENTS = /* @__PURE__ */ new Set(["div", "section", "article", "li", "aside"]);
618
- var Card = React4.forwardRef(
619
- ({ className, as, asChild = false, ...props }, ref) => {
620
- if (asChild) {
621
- return /* @__PURE__ */ jsx7(Slot, { ref, className: cn("sv-card", className), ...props });
622
- }
623
- const Comp = as !== void 0 && CARD_ELEMENTS.has(as) ? as : "div";
624
- return React4.createElement(Comp, {
625
- ref,
626
- className: cn("sv-card", className),
627
- ...props
628
- });
629
- }
630
- );
631
- Card.displayName = "Card";
632
- var CardHeader = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx7("div", { ref, className: cn("sv-card__header", className), ...props }));
633
- CardHeader.displayName = "CardHeader";
634
- var CardTitle = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx7("h2", { ref, className: cn("sv-card__title", className), ...props }));
635
- CardTitle.displayName = "CardTitle";
636
- var CardDescription = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx7("p", { ref, className: cn("sv-card__description", className), ...props }));
637
- CardDescription.displayName = "CardDescription";
638
- var CardContent = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx7("div", { ref, className: cn("sv-card__content", className), ...props }));
639
- CardContent.displayName = "CardContent";
640
- var CardFooter = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx7("div", { ref, className: cn("sv-card__footer", className), ...props }));
641
- CardFooter.displayName = "CardFooter";
642
-
643
- // src/components/ui/alert.tsx
644
- import * as React5 from "react";
645
- import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
646
- var variantConfig = {
647
- info: { role: "status", icon: "info" },
648
- success: { role: "status", icon: "check-circle" },
649
- warning: { role: "alert", icon: "alert-triangle" },
650
- danger: { role: "alert", icon: "alert-circle" }
651
- };
652
- var Alert = React5.forwardRef(
653
- ({ className, variant, icon, action, role: propRole, ...props }, ref) => {
654
- const config = variant && Object.prototype.hasOwnProperty.call(variantConfig, variant) ? variantConfig[variant] : null;
655
- const derivedRole = config?.role ?? "alert";
656
- const effectiveRole = config ? derivedRole : "alert";
657
- let iconElement = null;
658
- if (icon !== null) {
659
- if (icon !== void 0) {
660
- iconElement = icon;
661
- } else if (config) {
662
- iconElement = /* @__PURE__ */ jsx8(Icon, { name: config.icon, "aria-hidden": "true" });
663
- }
664
- }
665
- return /* @__PURE__ */ jsxs4(
666
- "div",
667
- {
668
- ref,
669
- className: cn("sv-alert", config && `sv-alert--${variant}`, className),
670
- role: effectiveRole,
671
- ...props,
672
- children: [
673
- iconElement,
674
- props.children,
675
- action && /* @__PURE__ */ jsx8("div", { className: "sv-alert__action", children: action })
676
- ]
677
- }
678
- );
679
- }
680
- );
681
- Alert.displayName = "Alert";
682
- var AlertTitle = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx8("h5", { ref, className: cn("sv-alert__title", className), ...props }));
683
- AlertTitle.displayName = "AlertTitle";
684
- var AlertDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx8("div", { ref, className: cn("sv-alert__description", className), ...props }));
685
- AlertDescription.displayName = "AlertDescription";
686
-
687
- // src/components/ui/badge.tsx
688
- import "react";
689
- import { jsx as jsx9 } from "react/jsx-runtime";
690
- function Badge({ className, variant = "default", ...props }) {
691
- return /* @__PURE__ */ jsx9(
692
- "div",
693
- {
694
- className: cn(
695
- "sv-badge",
696
- variant === "secondary" && "sv-badge--secondary",
697
- variant === "destructive" && "sv-badge--destructive",
698
- variant === "outline" && "sv-badge--outline",
699
- className
700
- ),
701
- ...props
702
- }
703
- );
704
- }
705
-
706
- // src/components/ui/input.tsx
707
- import * as React7 from "react";
708
-
709
- // src/recipes/field.ts
710
- function field(options = {}) {
711
- return cx(
712
- "sv-field",
713
- options.variant && options.variant !== "input" && `sv-field--${options.variant}`
714
- );
715
- }
716
- var fieldClasses = {
717
- choice: "sv-choice",
718
- srOnly: "sv-sr-only"
719
- };
720
- function fieldMessage(options = {}) {
721
- return cx("sv-field-message", options.variant === "error" && "sv-field-message--error");
722
- }
723
-
724
- // src/components/ui/input.tsx
725
- import { jsx as jsx10 } from "react/jsx-runtime";
726
- var Input = React7.forwardRef(
727
- ({ className, type, ...props }, ref) => /* @__PURE__ */ jsx10(
728
- "input",
729
- {
730
- type,
731
- className: cn(field(), className),
732
- ref,
733
- ...props
734
- }
735
- )
736
- );
737
- Input.displayName = "Input";
738
-
739
- // src/components/ui/textarea.tsx
740
- import * as React8 from "react";
741
- import { jsx as jsx11 } from "react/jsx-runtime";
742
- var Textarea = React8.forwardRef(
743
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
744
- "textarea",
745
- {
746
- className: cn(field({ variant: "textarea" }), className),
747
- ref,
748
- ...props
749
- }
750
- )
751
- );
752
- Textarea.displayName = "Textarea";
753
-
754
- // src/components/ui/native-select.tsx
755
- import * as React9 from "react";
756
- import { jsx as jsx12 } from "react/jsx-runtime";
757
- var NativeSelect = React9.forwardRef(
758
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx12(
759
- "select",
760
- {
761
- className: cn(field({ variant: "select" }), className),
762
- ref,
763
- ...props,
764
- children
765
- }
766
- )
767
- );
768
- NativeSelect.displayName = "NativeSelect";
769
-
770
- // src/components/ui/file-input.tsx
771
- import * as React10 from "react";
772
- import { jsx as jsx13 } from "react/jsx-runtime";
773
- var FileInput = React10.forwardRef(
774
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
775
- "input",
776
- {
777
- className: cn(field({ variant: "file" }), className),
778
- ref,
779
- ...props,
780
- type: "file"
781
- }
782
- )
783
- );
784
- FileInput.displayName = "FileInput";
785
-
786
- // src/components/ui/checkbox.tsx
787
- import * as React11 from "react";
788
- import { jsx as jsx14 } from "react/jsx-runtime";
789
- var Checkbox = React11.forwardRef(
790
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
791
- "input",
792
- {
793
- className: cn("sv-check", className),
794
- ref,
795
- ...props,
796
- type: "checkbox"
797
- }
798
- )
799
- );
800
- Checkbox.displayName = "Checkbox";
801
-
802
- // src/components/ui/separator.tsx
803
- import * as React12 from "react";
804
- import { jsx as jsx15 } from "react/jsx-runtime";
805
- var Separator = React12.forwardRef(
806
- ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx15(
807
- "div",
808
- {
809
- ...props,
810
- ref,
811
- role: decorative ? void 0 : "separator",
812
- "aria-orientation": !decorative && orientation === "vertical" ? "vertical" : void 0,
813
- className: cn(
814
- "sv-separator",
815
- orientation === "vertical" && "sv-separator--vertical",
816
- className
817
- )
818
- }
819
- )
820
- );
821
- Separator.displayName = "Separator";
822
-
823
- // src/components/ui/progress.tsx
824
- import * as React13 from "react";
825
- import { jsx as jsx16 } from "react/jsx-runtime";
826
- function clamp(value, max) {
827
- return Math.min(Math.max(value, 0), max);
828
- }
829
- function normalizeMax(max) {
830
- return Number.isFinite(max) && max > 0 ? max : 0;
831
- }
832
- var Progress = React13.forwardRef(
833
- ({ className, value = 0, max = 100, ...props }, ref) => {
834
- const safeMax = normalizeMax(max);
835
- const clamped = clamp(value, safeMax);
836
- const percent = safeMax === 0 ? 0 : clamped / safeMax * 100;
837
- return /* @__PURE__ */ jsx16(
838
- "div",
839
- {
840
- ...props,
841
- ref,
842
- role: "progressbar",
843
- "aria-valuenow": clamped,
844
- "aria-valuemin": 0,
845
- "aria-valuemax": safeMax,
846
- className: cn("sv-progress", className),
847
- children: /* @__PURE__ */ jsx16("div", { className: "sv-progress__indicator", style: { width: `${percent}%` } })
848
- }
849
- );
850
- }
851
- );
852
- Progress.displayName = "Progress";
853
-
854
- // src/components/ui/pagination.tsx
855
- import * as React14 from "react";
856
- import { jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
857
- var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx17("nav", { ...props, "aria-label": "pagination", className: cn("sv-pagination", className) });
858
- Pagination.displayName = "Pagination";
859
- var PaginationContent = React14.forwardRef(
860
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx17("ul", { ref, className: cn("sv-pagination__content", className), ...props })
861
- );
862
- PaginationContent.displayName = "PaginationContent";
863
- var PaginationItem = React14.forwardRef(
864
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx17("li", { ref, className: cn("sv-pagination__item", className), ...props })
865
- );
866
- PaginationItem.displayName = "PaginationItem";
867
- var PaginationLink = React14.forwardRef(
868
- ({ className, isActive = false, href, ...props }, ref) => {
869
- const sharedClassName = cn(
870
- "sv-pagination__link",
871
- isActive && "sv-pagination__link--active",
872
- className
873
- );
874
- const sharedAria = isActive ? { "aria-current": "page" } : {};
875
- if (href !== void 0) {
876
- return /* @__PURE__ */ jsx17(
877
- "a",
878
- {
879
- ref,
880
- href,
881
- className: sharedClassName,
882
- ...sharedAria,
883
- ...props
884
- }
885
- );
886
- }
887
- return /* @__PURE__ */ jsx17(
888
- "button",
889
- {
890
- ref,
891
- type: "button",
892
- className: sharedClassName,
893
- ...sharedAria,
894
- ...props
895
- }
896
- );
897
- }
898
- );
899
- PaginationLink.displayName = "PaginationLink";
900
- var PaginationPrevious = React14.forwardRef(({ className, label = "Previous", ...props }, ref) => /* @__PURE__ */ jsxs5(
2
+ zIndex
3
+ } from "./chunk-SVLIJGBZ.js";
4
+ import {
5
+ Pagination,
6
+ PaginationContent,
7
+ PaginationEllipsis,
8
+ PaginationItem,
901
9
  PaginationLink,
902
- {
903
- ref,
904
- "aria-label": label,
905
- className: cn("sv-pagination__link--previous", className),
906
- ...props,
907
- children: [
908
- /* @__PURE__ */ jsx17(Icon, { name: "chevron-left" }),
909
- /* @__PURE__ */ jsx17("span", { children: label })
910
- ]
911
- }
912
- ));
913
- PaginationPrevious.displayName = "PaginationPrevious";
914
- var PaginationNext = React14.forwardRef(
915
- ({ className, label = "Next", ...props }, ref) => /* @__PURE__ */ jsxs5(
916
- PaginationLink,
917
- {
918
- ref,
919
- "aria-label": label,
920
- className: cn("sv-pagination__link--next", className),
921
- ...props,
922
- children: [
923
- /* @__PURE__ */ jsx17("span", { children: label }),
924
- /* @__PURE__ */ jsx17(Icon, { name: "chevron-right" })
925
- ]
926
- }
927
- )
928
- );
929
- PaginationNext.displayName = "PaginationNext";
930
- var PaginationEllipsis = ({ className, ...props }) => /* @__PURE__ */ jsx17("span", { "aria-hidden": "true", className: cn("sv-pagination__ellipsis", className), ...props, children: "\u2026" });
931
- PaginationEllipsis.displayName = "PaginationEllipsis";
932
-
933
- // src/components/ui/chart.tsx
934
- import * as React15 from "react";
935
- import { Fragment as Fragment3, jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
936
- var ChartContainer = React15.forwardRef(
937
- ({ width, height, className, children, ...props }, ref) => /* @__PURE__ */ jsx18(
938
- "svg",
939
- {
940
- ref,
941
- role: "img",
942
- viewBox: `0 0 ${width} ${height}`,
943
- width,
944
- height,
945
- className: cn("sv-chart", className),
946
- ...props,
947
- children
948
- }
949
- )
950
- );
951
- ChartContainer.displayName = "ChartContainer";
952
- var ChartGrid = ({ orientation, positions, width, className }) => /* @__PURE__ */ jsx18(Fragment3, { children: positions.map(
953
- (position) => orientation === "horizontal" ? /* @__PURE__ */ jsx18(
954
- "line",
955
- {
956
- x1: 0,
957
- y1: position,
958
- x2: width,
959
- y2: position,
960
- className: cn("sv-chart__grid-line", className)
961
- },
962
- position
963
- ) : /* @__PURE__ */ jsx18(
964
- "line",
965
- {
966
- x1: position,
967
- y1: 0,
968
- x2: position,
969
- y2: width,
970
- className: cn("sv-chart__grid-line", className)
971
- },
972
- position
973
- )
974
- ) });
975
- ChartGrid.displayName = "ChartGrid";
976
- var ChartAxis = ({ orientation, ticks, length, className }) => /* @__PURE__ */ jsxs6(Fragment3, { children: [
977
- orientation === "bottom" ? /* @__PURE__ */ jsx18("line", { x1: 0, y1: 0, x2: length, y2: 0, className: cn("sv-chart__axis", className) }) : /* @__PURE__ */ jsx18("line", { x1: 0, y1: 0, x2: 0, y2: length, className: cn("sv-chart__axis", className) }),
978
- ticks.map(
979
- (tick) => orientation === "bottom" ? /* @__PURE__ */ jsx18(
980
- "text",
981
- {
982
- x: tick.position,
983
- y: 16,
984
- textAnchor: "middle",
985
- className: "sv-chart__axis-label",
986
- children: tick.label
987
- },
988
- tick.position
989
- ) : /* @__PURE__ */ jsx18(
990
- "text",
991
- {
992
- x: -8,
993
- y: tick.position,
994
- textAnchor: "end",
995
- dominantBaseline: "middle",
996
- className: "sv-chart__axis-label",
997
- children: tick.label
998
- },
999
- tick.position
1000
- )
1001
- )
1002
- ] });
1003
- ChartAxis.displayName = "ChartAxis";
1004
- var ChartLine = ({ points, color, className }) => /* @__PURE__ */ jsx18(
1005
- "polyline",
1006
- {
1007
- points: points.map(({ x, y }) => `${x},${y}`).join(" "),
1008
- fill: "none",
1009
- stroke: color,
1010
- strokeWidth: 2,
1011
- className: cn("sv-chart__line", className)
1012
- }
1013
- );
1014
- ChartLine.displayName = "ChartLine";
1015
- var ChartBar = ({ bars, color, className }) => /* @__PURE__ */ jsx18(Fragment3, { children: bars.map((bar) => /* @__PURE__ */ jsx18(
1016
- "rect",
1017
- {
1018
- x: bar.x,
1019
- y: bar.y,
1020
- width: bar.width,
1021
- height: bar.height,
1022
- fill: color,
1023
- className: cn("sv-chart__bar", className)
1024
- },
1025
- `${bar.x},${bar.y}`
1026
- )) });
1027
- ChartBar.displayName = "ChartBar";
1028
-
1029
- // src/components/ui/radio-group.tsx
1030
- import * as React16 from "react";
1031
- import { jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
1032
- var RadioGroupItem = React16.forwardRef(
1033
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs7("label", { className: fieldClasses.choice, children: [
1034
- /* @__PURE__ */ jsx19(
1035
- "input",
1036
- {
1037
- className: cn("sv-radio", className),
1038
- ref,
1039
- ...props,
1040
- type: "radio"
1041
- }
1042
- ),
1043
- children
1044
- ] })
1045
- );
1046
- RadioGroupItem.displayName = "RadioGroupItem";
1047
- var RadioGroup = React16.forwardRef(
1048
- ({ className, legend, legendHidden, orientation = "vertical", name, children, ...props }, ref) => {
1049
- const items = React16.Children.map(children, (child) => {
1050
- if (!React16.isValidElement(child) || child.type !== RadioGroupItem) {
1051
- return child;
1052
- }
1053
- const itemProps = child.props;
1054
- if (itemProps.name !== void 0) {
1055
- return child;
1056
- }
1057
- return React16.cloneElement(child, { name });
1058
- });
1059
- return /* @__PURE__ */ jsxs7(
1060
- "fieldset",
1061
- {
1062
- className: cn(
1063
- "sv-radio-group",
1064
- orientation === "horizontal" && "sv-radio-group--horizontal",
1065
- className
1066
- ),
1067
- ref,
1068
- ...props,
1069
- children: [
1070
- legend !== void 0 && /* @__PURE__ */ jsx19("legend", { className: cn("sv-radio-group__legend", legendHidden && fieldClasses.srOnly), children: legend }),
1071
- items
1072
- ]
1073
- }
1074
- );
1075
- }
1076
- );
1077
- RadioGroup.displayName = "RadioGroup";
1078
-
1079
- // src/components/ui/table.tsx
1080
- import * as React17 from "react";
1081
-
1082
- // src/recipes/table.ts
1083
- function table() {
1084
- return "sv-table";
1085
- }
1086
- var tableClasses = {
1087
- container: "sv-table-container",
1088
- head: "sv-table__head",
1089
- body: "sv-table__body",
1090
- foot: "sv-table__foot",
1091
- row: "sv-table__row",
1092
- th: "sv-table__th",
1093
- td: "sv-table__td",
1094
- caption: "sv-table__caption"
1095
- };
1096
-
1097
- // src/components/ui/table.tsx
1098
- import { jsx as jsx20 } from "react/jsx-runtime";
1099
- var Table = React17.forwardRef(
1100
- ({ className, containerClassName, stack, ...props }, ref) => /* @__PURE__ */ jsx20("div", { className: cn(tableClasses.container, containerClassName), children: /* @__PURE__ */ jsx20(
1101
- "table",
1102
- {
1103
- className: cn(table(), stack && "sv-table--stack", className),
1104
- ref,
1105
- ...props
1106
- }
1107
- ) })
1108
- );
1109
- Table.displayName = "Table";
1110
- var TableHeader = React17.forwardRef(
1111
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx20("thead", { className: cn(tableClasses.head, className), ref, ...props })
1112
- );
1113
- TableHeader.displayName = "TableHeader";
1114
- var TableBody = React17.forwardRef(
1115
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx20("tbody", { className: cn(tableClasses.body, className), ref, ...props })
1116
- );
1117
- TableBody.displayName = "TableBody";
1118
- var TableFooter = React17.forwardRef(
1119
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx20("tfoot", { className: cn(tableClasses.foot, className), ref, ...props })
1120
- );
1121
- TableFooter.displayName = "TableFooter";
1122
- var TableRow = React17.forwardRef(
1123
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx20("tr", { className: cn(tableClasses.row, className), ref, ...props })
1124
- );
1125
- TableRow.displayName = "TableRow";
1126
- var TableHead = React17.forwardRef(
1127
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx20("th", { className: cn(tableClasses.th, className), ref, ...props })
1128
- );
1129
- TableHead.displayName = "TableHead";
1130
- var TableCell = React17.forwardRef(
1131
- ({ className, label, ...props }, ref) => /* @__PURE__ */ jsx20(
1132
- "td",
1133
- {
1134
- className: cn(tableClasses.td, className),
1135
- "data-label": label,
1136
- ref,
1137
- ...props
1138
- }
1139
- )
1140
- );
1141
- TableCell.displayName = "TableCell";
1142
- var TableCaption = React17.forwardRef(
1143
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx20("caption", { className: cn(tableClasses.caption, className), ref, ...props })
1144
- );
1145
- TableCaption.displayName = "TableCaption";
1146
-
1147
- // src/tokens/typography.ts
1148
- var fontFamilies = {
1149
- display: "'Sora', ui-sans-serif, system-ui, sans-serif",
1150
- body: "'Manrope', ui-sans-serif, system-ui, sans-serif",
1151
- mono: "'JetBrains Mono', ui-monospace, 'SF Mono', monospace"
1152
- };
1153
- var fontWeights = {
1154
- regular: 400,
1155
- medium: 500,
1156
- semibold: 600,
1157
- bold: 700
1158
- };
1159
- var fontSizes = {
1160
- xs: "0.75rem",
1161
- // 12px — meta, pills
1162
- sm: "0.8125rem",
1163
- // 13px — captions, code
1164
- base: "0.9375rem",
1165
- // 15px — body
1166
- md: "1rem",
1167
- // 16px — lead paragraphs
1168
- lg: "1.125rem",
1169
- // 18px — article lead
1170
- xl: "1.375rem",
1171
- // 22px — card titles, h3
1172
- "2xl": "1.75rem",
1173
- // 28px — h2
1174
- "3xl": "2.25rem",
1175
- // 36px — article title
1176
- "4xl": "2.75rem"
1177
- // 44px — hero display
1178
- };
1179
- var lineHeights = {
1180
- tight: 1.15,
1181
- snug: 1.3,
1182
- normal: 1.5,
1183
- relaxed: 1.7
1184
- };
1185
- var letterSpacings = {
1186
- display: "-0.02em",
1187
- normal: "0",
1188
- wide: "0.08em"
1189
- };
1190
-
1191
- // src/tokens/spacing.ts
1192
- var spacing = {
1193
- 1: "4px",
1194
- 2: "8px",
1195
- 3: "12px",
1196
- 4: "16px",
1197
- 5: "20px",
1198
- 6: "24px",
1199
- 8: "32px",
1200
- 10: "40px",
1201
- 12: "48px",
1202
- 14: "56px",
1203
- 16: "64px",
1204
- 18: "72px"
1205
- };
1206
- var radii = {
1207
- sm: "6px",
1208
- md: "8px",
1209
- lg: "12px",
1210
- xl: "16px",
1211
- full: "9999px"
1212
- };
1213
-
1214
- // src/tokens/motion.ts
1215
- var easings = {
1216
- hover: "cubic-bezier(.3,.7,.4,1)",
1217
- linear: "linear"
1218
- };
1219
- var durations = {
1220
- fast: "120ms",
1221
- base: "200ms",
1222
- slow: "320ms"
1223
- };
1224
-
1225
- // src/tokens/zIndex.ts
1226
- var zIndex = {
1227
- dropdown: 10,
1228
- sticky: 20,
1229
- backdrop: 30,
1230
- modal: 40,
1231
- toast: 50,
1232
- tooltip: 60
1233
- };
10
+ PaginationNext,
11
+ PaginationPrevious
12
+ } from "./chunk-7JIE3YAY.js";
13
+ import {
14
+ ChartAxis,
15
+ ChartBar,
16
+ ChartContainer,
17
+ ChartGrid,
18
+ ChartLegend,
19
+ ChartLine
20
+ } from "./chunk-EHJDOUXR.js";
21
+ import {
22
+ RadioGroup,
23
+ RadioGroupItem
24
+ } from "./chunk-P4M4LEI2.js";
25
+ import {
26
+ Table,
27
+ TableBody,
28
+ TableCaption,
29
+ TableCell,
30
+ TableFooter,
31
+ TableHead,
32
+ TableHeader,
33
+ TableRow
34
+ } from "./chunk-CN3PNEZL.js";
35
+ import {
36
+ table,
37
+ tableClasses
38
+ } from "./chunk-GYGMM6RW.js";
39
+ import {
40
+ fontFamilies,
41
+ fontSizes,
42
+ fontWeights,
43
+ letterSpacings,
44
+ lineHeights
45
+ } from "./chunk-KQK7SZ3K.js";
46
+ import {
47
+ radii,
48
+ spacing
49
+ } from "./chunk-HYLCMS2U.js";
50
+ import {
51
+ durations,
52
+ easings
53
+ } from "./chunk-YTTFCX3E.js";
54
+ import {
55
+ Field
56
+ } from "./chunk-6PF2SFKH.js";
57
+ import {
58
+ TextLink
59
+ } from "./chunk-SUT4G3TE.js";
60
+ import {
61
+ Textarea
62
+ } from "./chunk-7ZVSFBDK.js";
63
+ import {
64
+ NativeSelect
65
+ } from "./chunk-U6L6J73Y.js";
66
+ import {
67
+ FileInput
68
+ } from "./chunk-YXV3UEL5.js";
69
+ import {
70
+ Checkbox
71
+ } from "./chunk-KQZBK3XX.js";
72
+ import {
73
+ Separator
74
+ } from "./chunk-2QRW4J2C.js";
75
+ import {
76
+ Progress
77
+ } from "./chunk-L6WPFLSD.js";
78
+ import {
79
+ ThemeScript
80
+ } from "./chunk-TI3OPDCN.js";
81
+ import {
82
+ Button
83
+ } from "./chunk-NJQN37EG.js";
84
+ import {
85
+ Card,
86
+ CardContent,
87
+ CardDescription,
88
+ CardFooter,
89
+ CardHeader,
90
+ CardTitle
91
+ } from "./chunk-563PKHIJ.js";
92
+ import {
93
+ Alert,
94
+ AlertDescription,
95
+ AlertTitle
96
+ } from "./chunk-PGDHKADW.js";
97
+ import {
98
+ Badge
99
+ } from "./chunk-FX2E23UV.js";
100
+ import "./chunk-VD5O66DN.js";
101
+ import {
102
+ Input
103
+ } from "./chunk-SJ2YK4NJ.js";
104
+ import {
105
+ field,
106
+ fieldClasses,
107
+ fieldMessage
108
+ } from "./chunk-QTVPXQ43.js";
109
+ import {
110
+ CardSkeleton,
111
+ CategoryPill,
112
+ FeaturedPostCard,
113
+ Hero,
114
+ Layout,
115
+ PostCard,
116
+ PostGrid,
117
+ Sidebar,
118
+ SidebarSection,
119
+ Skeleton
120
+ } from "./chunk-OEFJMV7G.js";
121
+ import {
122
+ cardSkeleton,
123
+ categoryPill,
124
+ categoryPillClasses,
125
+ featuredPostCard,
126
+ featuredPostCardClasses,
127
+ hero,
128
+ heroClasses,
129
+ layout,
130
+ postCard,
131
+ postCardClasses,
132
+ postGrid,
133
+ sidebar,
134
+ sidebarClasses,
135
+ skeletonLine
136
+ } from "./chunk-SSMGCYPH.js";
137
+ import {
138
+ defaultCategoryColors,
139
+ resolveAccentColor,
140
+ resolveCategoryColor
141
+ } from "./chunk-H7DEOO3V.js";
142
+ import {
143
+ ArticleHeader,
144
+ Callout,
145
+ CodeBlock,
146
+ Lead,
147
+ Prose
148
+ } from "./chunk-MZEFPODP.js";
149
+ import {
150
+ READING_PROGRESS_VAR,
151
+ articleHeader,
152
+ articleHeaderClasses,
153
+ callout,
154
+ calloutClasses,
155
+ calloutLabels,
156
+ codeBlock,
157
+ codeBlockClasses,
158
+ prose,
159
+ proseClasses,
160
+ readingProgress,
161
+ readingProgressClasses,
162
+ tableOfContents,
163
+ tocLink
164
+ } from "./chunk-YDGOXO6Q.js";
165
+ import {
166
+ PageHeader
167
+ } from "./chunk-BXKXO6FU.js";
168
+ import "./chunk-3BWBG3BR.js";
169
+ import {
170
+ DEFAULT_ACCENT,
171
+ DEFAULT_MODE,
172
+ accentNames,
173
+ accents,
174
+ accentsInk,
175
+ colors,
176
+ semantic,
177
+ semanticInk,
178
+ themeModes
179
+ } from "./chunk-SY7EEIC3.js";
180
+ import {
181
+ Footer,
182
+ Header,
183
+ Logo
184
+ } from "./chunk-HYXG2WF4.js";
185
+ import {
186
+ Icon
187
+ } from "./chunk-HD7O5FNH.js";
188
+ import "./chunk-AVAJOAL5.js";
189
+ import "./chunk-5RPXXOD7.js";
190
+ import {
191
+ footer,
192
+ footerClasses,
193
+ header,
194
+ headerClasses,
195
+ logo,
196
+ logoClasses
197
+ } from "./chunk-M5FFVQKK.js";
198
+ import {
199
+ cx
200
+ } from "./chunk-LOVNG6RF.js";
201
+ import {
202
+ safeHref
203
+ } from "./chunk-QVOZHMVF.js";
1234
204
  export {
1235
205
  Alert,
1236
206
  AlertDescription,
@@ -1251,12 +221,14 @@ export {
1251
221
  ChartBar,
1252
222
  ChartContainer,
1253
223
  ChartGrid,
224
+ ChartLegend,
1254
225
  ChartLine,
1255
226
  Checkbox,
1256
227
  CodeBlock,
1257
228
  DEFAULT_ACCENT,
1258
229
  DEFAULT_MODE,
1259
230
  FeaturedPostCard,
231
+ Field,
1260
232
  FileInput,
1261
233
  Footer,
1262
234
  Header,
@@ -1267,6 +239,7 @@ export {
1267
239
  Lead,
1268
240
  Logo,
1269
241
  NativeSelect,
242
+ PageHeader,
1270
243
  Pagination,
1271
244
  PaginationContent,
1272
245
  PaginationEllipsis,
@@ -1293,6 +266,7 @@ export {
1293
266
  TableHead,
1294
267
  TableHeader,
1295
268
  TableRow,
269
+ TextLink,
1296
270
  Textarea,
1297
271
  ThemeScript,
1298
272
  accentNames,
@@ -1342,6 +316,7 @@ export {
1342
316
  readingProgressClasses,
1343
317
  resolveAccentColor,
1344
318
  resolveCategoryColor,
319
+ safeHref,
1345
320
  semantic,
1346
321
  semanticInk,
1347
322
  sidebar,