@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
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/ui/input.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cn } from \"../../lib/utils\"\nimport { field } from \"../../recipes/field\"\n\nexport interface InputProps\n extends React.InputHTMLAttributes<HTMLInputElement> {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n ({ className, type, ...props }, ref) => (\n <input\n type={type}\n className={cn(field(), className)}\n ref={ref}\n {...props}\n />\n )\n)\nInput.displayName = \"Input\"\n\nexport { Input }\n"],"mappings":";;;;;;;;AAAA,YAAY,WAAW;AASnB;AAFJ,IAAM,QAAc;AAAA,EAClB,CAAC,EAAE,WAAW,MAAM,GAAG,MAAM,GAAG,QAC9B;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW,GAAG,MAAM,GAAG,SAAS;AAAA,MAChC;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ;AACA,MAAM,cAAc;","names":[]}
@@ -0,0 +1,79 @@
1
+ import {
2
+ cx
3
+ } from "./chunk-LOVNG6RF.js";
4
+
5
+ // src/recipes/content.ts
6
+ function categoryPill(options = {}) {
7
+ return cx(
8
+ "sv-pill",
9
+ options.interactive && "sv-pill--interactive",
10
+ options.active && "sv-pill--active"
11
+ );
12
+ }
13
+ var categoryPillClasses = {
14
+ dot: "sv-pill__dot"
15
+ };
16
+ function postCard(options = {}) {
17
+ return cx(
18
+ "sv-post-card",
19
+ options.dense && "sv-post-card--dense",
20
+ options.hover !== false && "sv-card-hover"
21
+ );
22
+ }
23
+ var postCardClasses = {
24
+ meta: "sv-post-card__meta",
25
+ title: "sv-post-card__title",
26
+ excerpt: "sv-post-card__excerpt"
27
+ };
28
+ function featuredPostCard() {
29
+ return cx("sv-featured-card", "sv-gradient-border", "sv-card-hover");
30
+ }
31
+ var featuredPostCardClasses = {
32
+ body: "sv-featured-card__body",
33
+ title: "sv-featured-card__title",
34
+ visual: "sv-featured-card__visual"
35
+ };
36
+ function postGrid() {
37
+ return "sv-post-grid";
38
+ }
39
+ function layout(options = {}) {
40
+ return cx("sv-layout", options.withSidebar && "sv-layout--with-sidebar");
41
+ }
42
+ function sidebar() {
43
+ return "sv-sidebar";
44
+ }
45
+ var sidebarClasses = {
46
+ sectionTitle: "sv-sidebar__section-title"
47
+ };
48
+ function hero() {
49
+ return "sv-hero";
50
+ }
51
+ var heroClasses = {
52
+ eyebrow: "sv-hero__eyebrow",
53
+ title: "sv-hero__title",
54
+ description: "sv-hero__description"
55
+ };
56
+ function skeletonLine(options = {}) {
57
+ return cx("sv-skeleton", "sv-skeleton-line", options.small && "sv-skeleton-line--sm");
58
+ }
59
+ function cardSkeleton() {
60
+ return "sv-card-skeleton";
61
+ }
62
+
63
+ export {
64
+ categoryPill,
65
+ categoryPillClasses,
66
+ postCard,
67
+ postCardClasses,
68
+ featuredPostCard,
69
+ featuredPostCardClasses,
70
+ postGrid,
71
+ layout,
72
+ sidebar,
73
+ sidebarClasses,
74
+ hero,
75
+ heroClasses,
76
+ skeletonLine,
77
+ cardSkeleton
78
+ };
79
+ //# sourceMappingURL=chunk-SSMGCYPH.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/recipes/content.ts"],"sourcesContent":["import { cx } from './cx';\n\n/**\n * Content recipes: CategoryPill, PostCard, FeaturedPostCard, PostGrid,\n * Sidebar, Hero, Skeleton. Pure functions — Server Component safe.\n */\n\nexport interface CategoryPillOptions {\n interactive?: boolean;\n active?: boolean;\n}\n\nexport function categoryPill(options: CategoryPillOptions = {}): string {\n return cx(\n 'sv-pill',\n options.interactive && 'sv-pill--interactive',\n options.active && 'sv-pill--active',\n );\n}\n\nexport const categoryPillClasses = {\n dot: 'sv-pill__dot',\n} as const;\n\nexport interface PostCardOptions {\n dense?: boolean;\n hover?: boolean;\n}\n\nexport function postCard(options: PostCardOptions = {}): string {\n return cx(\n 'sv-post-card',\n options.dense && 'sv-post-card--dense',\n options.hover !== false && 'sv-card-hover',\n );\n}\n\nexport const postCardClasses = {\n meta: 'sv-post-card__meta',\n title: 'sv-post-card__title',\n excerpt: 'sv-post-card__excerpt',\n} as const;\n\nexport function featuredPostCard(): string {\n return cx('sv-featured-card', 'sv-gradient-border', 'sv-card-hover');\n}\n\nexport const featuredPostCardClasses = {\n body: 'sv-featured-card__body',\n title: 'sv-featured-card__title',\n visual: 'sv-featured-card__visual',\n} as const;\n\nexport function postGrid(): string {\n return 'sv-post-grid';\n}\n\nexport interface LayoutOptions {\n withSidebar?: boolean;\n}\n\nexport function layout(options: LayoutOptions = {}): string {\n return cx('sv-layout', options.withSidebar && 'sv-layout--with-sidebar');\n}\n\nexport function sidebar(): string {\n return 'sv-sidebar';\n}\n\nexport const sidebarClasses = {\n sectionTitle: 'sv-sidebar__section-title',\n} as const;\n\nexport function hero(): string {\n return 'sv-hero';\n}\n\nexport const heroClasses = {\n eyebrow: 'sv-hero__eyebrow',\n title: 'sv-hero__title',\n description: 'sv-hero__description',\n} as const;\n\nexport interface SkeletonOptions {\n small?: boolean;\n}\n\nexport function skeletonLine(options: SkeletonOptions = {}): string {\n return cx('sv-skeleton', 'sv-skeleton-line', options.small && 'sv-skeleton-line--sm');\n}\n\nexport function cardSkeleton(): string {\n return 'sv-card-skeleton';\n}\n"],"mappings":";;;;;AAYO,SAAS,aAAa,UAA+B,CAAC,GAAW;AACtE,SAAO;AAAA,IACL;AAAA,IACA,QAAQ,eAAe;AAAA,IACvB,QAAQ,UAAU;AAAA,EACpB;AACF;AAEO,IAAM,sBAAsB;AAAA,EACjC,KAAK;AACP;AAOO,SAAS,SAAS,UAA2B,CAAC,GAAW;AAC9D,SAAO;AAAA,IACL;AAAA,IACA,QAAQ,SAAS;AAAA,IACjB,QAAQ,UAAU,SAAS;AAAA,EAC7B;AACF;AAEO,IAAM,kBAAkB;AAAA,EAC7B,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AACX;AAEO,SAAS,mBAA2B;AACzC,SAAO,GAAG,oBAAoB,sBAAsB,eAAe;AACrE;AAEO,IAAM,0BAA0B;AAAA,EACrC,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AACV;AAEO,SAAS,WAAmB;AACjC,SAAO;AACT;AAMO,SAAS,OAAO,UAAyB,CAAC,GAAW;AAC1D,SAAO,GAAG,aAAa,QAAQ,eAAe,yBAAyB;AACzE;AAEO,SAAS,UAAkB;AAChC,SAAO;AACT;AAEO,IAAM,iBAAiB;AAAA,EAC5B,cAAc;AAChB;AAEO,SAAS,OAAe;AAC7B,SAAO;AACT;AAEO,IAAM,cAAc;AAAA,EACzB,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa;AACf;AAMO,SAAS,aAAa,UAA2B,CAAC,GAAW;AAClE,SAAO,GAAG,eAAe,oBAAoB,QAAQ,SAAS,sBAAsB;AACtF;AAEO,SAAS,eAAuB;AACrC,SAAO;AACT;","names":[]}
@@ -0,0 +1,29 @@
1
+ import {
2
+ Slot
3
+ } from "./chunk-VD5O66DN.js";
4
+ import {
5
+ cx
6
+ } from "./chunk-LOVNG6RF.js";
7
+ import {
8
+ safeHref
9
+ } from "./chunk-QVOZHMVF.js";
10
+
11
+ // src/components/ui/text-link.tsx
12
+ import * as React from "react";
13
+ import { jsx } from "react/jsx-runtime";
14
+ var TextLink = React.forwardRef(
15
+ ({ className, asChild = false, href, ...props }, ref) => {
16
+ const classes = cx("sv-link", className);
17
+ const linkProps = href === void 0 ? props : { ...props, href: safeHref(href) };
18
+ if (asChild) {
19
+ return /* @__PURE__ */ jsx(Slot, { ref, className: classes, ...linkProps });
20
+ }
21
+ return /* @__PURE__ */ jsx("a", { ref, className: classes, ...linkProps });
22
+ }
23
+ );
24
+ TextLink.displayName = "TextLink";
25
+
26
+ export {
27
+ TextLink
28
+ };
29
+ //# sourceMappingURL=chunk-SUT4G3TE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/ui/text-link.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { safeHref } from \"../../lib/safe-href\"\nimport { cx } from \"../../recipes/cx\"\nimport { Slot } from \"./slot\"\n\nexport interface TextLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {\n /**\n * Merge the link's class and props onto a single child — your router's link:\n * `<TextLink asChild><NextLink href=\"/sobre\">Sobre</NextLink></TextLink>`.\n */\n asChild?: boolean\n}\n\n/**\n * Inline text link outside Prose (`.sv-link`): accent ink, underline, focus\n * ring, 24px minimum target (44px on touch). Server-safe.\n */\nconst TextLink = React.forwardRef<HTMLAnchorElement, TextLinkProps>(\n ({ className, asChild = false, href, ...props }, ref) => {\n const classes = cx(\"sv-link\", className)\n const linkProps = href === undefined ? props : { ...props, href: safeHref(href) }\n if (asChild) {\n return <Slot ref={ref as React.Ref<HTMLElement>} className={classes} {...linkProps} />\n }\n // eslint-disable-next-line jsx-a11y/anchor-has-content -- content arrives as children via props\n return <a ref={ref} className={classes} {...linkProps} />\n },\n)\nTextLink.displayName = \"TextLink\"\n\nexport { TextLink }\n"],"mappings":";;;;;;;;;;;AAAA,YAAY,WAAW;AAsBV;AALb,IAAM,WAAiB;AAAA,EACrB,CAAC,EAAE,WAAW,UAAU,OAAO,MAAM,GAAG,MAAM,GAAG,QAAQ;AACvD,UAAM,UAAU,GAAG,WAAW,SAAS;AACvC,UAAM,YAAY,SAAS,SAAY,QAAQ,EAAE,GAAG,OAAO,MAAM,SAAS,IAAI,EAAE;AAChF,QAAI,SAAS;AACX,aAAO,oBAAC,QAAK,KAAoC,WAAW,SAAU,GAAG,WAAW;AAAA,IACtF;AAEA,WAAO,oBAAC,OAAE,KAAU,WAAW,SAAU,GAAG,WAAW;AAAA,EACzD;AACF;AACA,SAAS,cAAc;","names":[]}
@@ -0,0 +1,14 @@
1
+ // src/tokens/zIndex.ts
2
+ var zIndex = {
3
+ dropdown: 10,
4
+ sticky: 20,
5
+ backdrop: 30,
6
+ modal: 40,
7
+ toast: 50,
8
+ tooltip: 60
9
+ };
10
+
11
+ export {
12
+ zIndex
13
+ };
14
+ //# sourceMappingURL=chunk-SVLIJGBZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/tokens/zIndex.ts"],"sourcesContent":["/**\n * Still Void z-index scale. Named steps instead of arbitrary numbers so new\n * layered components (dropdown, modal, toast, tooltip) stack predictably\n * against the existing sticky header and reading progress bar.\n */\nexport const zIndex = {\n dropdown: 10,\n sticky: 20,\n backdrop: 30,\n modal: 40,\n toast: 50,\n tooltip: 60,\n} as const;\n\nexport type ZIndexStep = keyof typeof zIndex;\n"],"mappings":";AAKO,IAAM,SAAS;AAAA,EACpB,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,OAAO;AAAA,EACP,OAAO;AAAA,EACP,SAAS;AACX;","names":[]}
@@ -0,0 +1,100 @@
1
+ // src/tokens/colors.ts
2
+ var colors = {
3
+ dark: {
4
+ bg: "#0A0A0C",
5
+ bgElev: "#111114",
6
+ surface: "#16161B",
7
+ surface2: "#1C1C22",
8
+ border: "rgba(255,255,255,0.08)",
9
+ borderStrong: "rgba(255,255,255,0.14)",
10
+ // WCAG 1.4.11: edge of an input/select/checkbox must read ≥3:1 on every surface; the
11
+ // decorative borders above sit near 1.5:1 and stay decorative.
12
+ controlBorder: "#6B6B76",
13
+ text: "#EDEDF0",
14
+ text2: "#8B8B96",
15
+ // Corrected from #5A5A66 (~2.6:1 on surface) to meet WCAG AA 4.5:1 — text3 is used for
16
+ // real copy (metadata, TOC links), not decoration, so it must be readable, not just muted.
17
+ text3: "#83838F"
18
+ },
19
+ light: {
20
+ bg: "#F7F7F5",
21
+ bgElev: "#FFFFFF",
22
+ surface: "#FFFFFF",
23
+ surface2: "#F2F2EF",
24
+ border: "rgba(0,0,0,0.08)",
25
+ borderStrong: "rgba(0,0,0,0.14)",
26
+ controlBorder: "#85858E",
27
+ text: "#16161B",
28
+ text2: "#5A5A66",
29
+ // Corrected from #8B8B96 (~3.1:1 on white) to meet WCAG AA 4.5:1, same reasoning as dark.
30
+ // A further step from #6F6F78 to #6D6D76: the first fix cleared white/paper (≥4.7:1) but
31
+ // was only ~4.44:1 against surface2 (#F2F2EF), the darkest of the light surfaces — still a
32
+ // failure. Verified against bg/bgElev/surface/surface2 together, not just one background.
33
+ text3: "#6D6D76"
34
+ }
35
+ };
36
+ var accents = {
37
+ cyan: "oklch(0.78 0.12 210)",
38
+ violet: "oklch(0.72 0.14 295)",
39
+ mint: "oklch(0.78 0.10 160)",
40
+ amber: "oklch(0.78 0.12 75)"
41
+ };
42
+ var accentsInk = {
43
+ dark: {
44
+ cyan: "oklch(0.78 0.12 210)",
45
+ violet: "oklch(0.72 0.14 295)",
46
+ mint: "oklch(0.78 0.10 160)",
47
+ amber: "oklch(0.78 0.12 75)"
48
+ },
49
+ light: {
50
+ cyan: "oklch(0.515 0.09 210)",
51
+ violet: "oklch(0.535 0.14 295)",
52
+ mint: "oklch(0.515 0.1 160)",
53
+ amber: "oklch(0.53 0.11 75)"
54
+ }
55
+ };
56
+ var semantic = {
57
+ dark: {
58
+ danger: "oklch(0.68 0.19 25)",
59
+ success: "oklch(0.75 0.15 150)",
60
+ info: "oklch(0.78 0.12 210)",
61
+ warning: "oklch(0.78 0.12 75)"
62
+ },
63
+ light: {
64
+ danger: "oklch(0.68 0.19 25)",
65
+ success: "oklch(0.75 0.15 150)",
66
+ info: "oklch(0.78 0.12 210)",
67
+ warning: "oklch(0.78 0.12 75)"
68
+ }
69
+ };
70
+ var semanticInk = {
71
+ dark: {
72
+ danger: "oklch(0.68 0.19 25)",
73
+ success: "oklch(0.75 0.15 150)",
74
+ info: "oklch(0.78 0.12 210)",
75
+ warning: "oklch(0.78 0.12 75)"
76
+ },
77
+ light: {
78
+ danger: "oklch(0.535 0.19 25)",
79
+ success: "oklch(0.51 0.14 150)",
80
+ info: "oklch(0.515 0.09 210)",
81
+ warning: "oklch(0.53 0.11 75)"
82
+ }
83
+ };
84
+ var themeModes = Object.keys(colors);
85
+ var accentNames = Object.keys(accents);
86
+ var DEFAULT_MODE = "dark";
87
+ var DEFAULT_ACCENT = "cyan";
88
+
89
+ export {
90
+ colors,
91
+ accents,
92
+ accentsInk,
93
+ semantic,
94
+ semanticInk,
95
+ themeModes,
96
+ accentNames,
97
+ DEFAULT_MODE,
98
+ DEFAULT_ACCENT
99
+ };
100
+ //# sourceMappingURL=chunk-SY7EEIC3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/tokens/colors.ts"],"sourcesContent":["/**\n * Still Void color tokens.\n * Values ported literally from the Still Void spec (blog.kalleopinheiro.dev).\n * Do not round or \"approximate\" — fidelity rule.\n */\nexport const colors = {\n dark: {\n bg: '#0A0A0C',\n bgElev: '#111114',\n surface: '#16161B',\n surface2: '#1C1C22',\n border: 'rgba(255,255,255,0.08)',\n borderStrong: 'rgba(255,255,255,0.14)',\n // WCAG 1.4.11: edge of an input/select/checkbox must read ≥3:1 on every surface; the\n // decorative borders above sit near 1.5:1 and stay decorative.\n controlBorder: '#6B6B76',\n text: '#EDEDF0',\n text2: '#8B8B96',\n // Corrected from #5A5A66 (~2.6:1 on surface) to meet WCAG AA 4.5:1 — text3 is used for\n // real copy (metadata, TOC links), not decoration, so it must be readable, not just muted.\n text3: '#83838F',\n },\n light: {\n bg: '#F7F7F5',\n bgElev: '#FFFFFF',\n surface: '#FFFFFF',\n surface2: '#F2F2EF',\n border: 'rgba(0,0,0,0.08)',\n borderStrong: 'rgba(0,0,0,0.14)',\n controlBorder: '#85858E',\n text: '#16161B',\n text2: '#5A5A66',\n // Corrected from #8B8B96 (~3.1:1 on white) to meet WCAG AA 4.5:1, same reasoning as dark.\n // A further step from #6F6F78 to #6D6D76: the first fix cleared white/paper (≥4.7:1) but\n // was only ~4.44:1 against surface2 (#F2F2EF), the darkest of the light surfaces — still a\n // failure. Verified against bg/bgElev/surface/surface2 together, not just one background.\n text3: '#6D6D76',\n },\n} as const;\n\nexport const accents = {\n cyan: 'oklch(0.78 0.12 210)',\n violet: 'oklch(0.72 0.14 295)',\n mint: 'oklch(0.78 0.10 160)',\n amber: 'oklch(0.78 0.12 75)',\n} as const;\n\n/**\n * Text/UI-safe accent variants (\"ink\"). `accents` above is tuned for surface use\n * (dots, gradient border, progress bar) and fails WCAG AA as text on light\n * backgrounds (e.g. cyan is ~1.8:1 on white). These preserve the dark-mode\n * values (already ≥6.9:1) and darken each hue for light mode to clear 4.5:1\n * against both light surfaces. Used anywhere the accent colors text: prose\n * links, active TOC state, callout labels, hero eyebrow, copy-success, focus ring.\n */\nexport const accentsInk = {\n dark: {\n cyan: 'oklch(0.78 0.12 210)',\n violet: 'oklch(0.72 0.14 295)',\n mint: 'oklch(0.78 0.10 160)',\n amber: 'oklch(0.78 0.12 75)',\n },\n light: {\n cyan: 'oklch(0.515 0.09 210)',\n violet: 'oklch(0.535 0.14 295)',\n mint: 'oklch(0.515 0.1 160)',\n amber: 'oklch(0.53 0.11 75)',\n },\n} as const;\n\n/**\n * Semantic state colors — independent of the switchable `accent`, so a\n * consumer picking `data-accent=\"amber\"` never collides a warning with the\n * site accent. Fixed per meaning in both surface and text/UI (\"ink\") forms,\n * same split as `accents`/`accentsInk`.\n */\nexport const semantic = {\n dark: {\n danger: 'oklch(0.68 0.19 25)',\n success: 'oklch(0.75 0.15 150)',\n info: 'oklch(0.78 0.12 210)',\n warning: 'oklch(0.78 0.12 75)',\n },\n light: {\n danger: 'oklch(0.68 0.19 25)',\n success: 'oklch(0.75 0.15 150)',\n info: 'oklch(0.78 0.12 210)',\n warning: 'oklch(0.78 0.12 75)',\n },\n} as const;\n\nexport const semanticInk = {\n dark: {\n danger: 'oklch(0.68 0.19 25)',\n success: 'oklch(0.75 0.15 150)',\n info: 'oklch(0.78 0.12 210)',\n warning: 'oklch(0.78 0.12 75)',\n },\n light: {\n danger: 'oklch(0.535 0.19 25)',\n success: 'oklch(0.51 0.14 150)',\n info: 'oklch(0.515 0.09 210)',\n warning: 'oklch(0.53 0.11 75)',\n },\n} as const;\n\nexport type ThemeMode = keyof typeof colors;\nexport type AccentName = keyof typeof accents;\nexport type ColorScheme = (typeof colors)[ThemeMode];\nexport type SemanticName = keyof (typeof semantic)['dark'];\n\nexport const themeModes = Object.keys(colors) as ThemeMode[];\nexport const accentNames = Object.keys(accents) as AccentName[];\n\nexport const DEFAULT_MODE: ThemeMode = 'dark';\nexport const DEFAULT_ACCENT: AccentName = 'cyan';\n"],"mappings":";AAKO,IAAM,SAAS;AAAA,EACpB,MAAM;AAAA,IACJ,IAAI;AAAA,IACJ,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,cAAc;AAAA;AAAA;AAAA,IAGd,eAAe;AAAA,IACf,MAAM;AAAA,IACN,OAAO;AAAA;AAAA;AAAA,IAGP,OAAO;AAAA,EACT;AAAA,EACA,OAAO;AAAA,IACL,IAAI;AAAA,IACJ,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,cAAc;AAAA,IACd,eAAe;AAAA,IACf,MAAM;AAAA,IACN,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,IAKP,OAAO;AAAA,EACT;AACF;AAEO,IAAM,UAAU;AAAA,EACrB,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,OAAO;AACT;AAUO,IAAM,aAAa;AAAA,EACxB,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,EACT;AAAA,EACA,OAAO;AAAA,IACL,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,EACT;AACF;AAQO,IAAM,WAAW;AAAA,EACtB,MAAM;AAAA,IACJ,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AAAA,EACA,OAAO;AAAA,IACL,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AACF;AAEO,IAAM,cAAc;AAAA,EACzB,MAAM;AAAA,IACJ,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AAAA,EACA,OAAO;AAAA,IACL,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,EACX;AACF;AAOO,IAAM,aAAa,OAAO,KAAK,MAAM;AACrC,IAAM,cAAc,OAAO,KAAK,OAAO;AAEvC,IAAM,eAA0B;AAChC,IAAM,iBAA6B;","names":[]}
@@ -0,0 +1,25 @@
1
+ import {
2
+ DEFAULT_STORAGE_KEY
3
+ } from "./chunk-3BWBG3BR.js";
4
+ import {
5
+ accentNames,
6
+ themeModes
7
+ } from "./chunk-SY7EEIC3.js";
8
+
9
+ // src/react/components/ThemeScript.tsx
10
+ import { jsx } from "react/jsx-runtime";
11
+ function toScriptLiteral(value) {
12
+ return JSON.stringify(value).replace(/</g, "\\u003c");
13
+ }
14
+ function ThemeScript({ storageKey = DEFAULT_STORAGE_KEY, nonce } = {}) {
15
+ const modes = toScriptLiteral(themeModes);
16
+ const accents = toScriptLiteral(accentNames);
17
+ const key = toScriptLiteral(storageKey);
18
+ const script = `(function(){try{var s=JSON.parse(localStorage.getItem(${key})||"null");if(!s)return;var m=${modes},a=${accents},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){}})();`;
19
+ return /* @__PURE__ */ jsx("script", { nonce, dangerouslySetInnerHTML: { __html: script } });
20
+ }
21
+
22
+ export {
23
+ ThemeScript
24
+ };
25
+ //# sourceMappingURL=chunk-TI3OPDCN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/react/components/ThemeScript.tsx"],"sourcesContent":["import { DEFAULT_STORAGE_KEY } from '../../behaviors/themeManager';\nimport { accentNames, themeModes } from '../../tokens/colors';\n\nexport interface ThemeScriptProps {\n /** Must match the `storageKey` passed to `<ThemeProvider>` (or `createThemeManager`). */\n storageKey?: string;\n /** CSP nonce forwarded to the inline `<script>`. */\n nonce?: string;\n}\n\n/**\n * Render once, as early as possible in `<head>` or right after `<html>` opens\n * (before the rest of the document): a blocking inline script that applies a\n * stored theme preference to `<html>` before first paint.\n *\n * Without this, the first paint uses whatever `data-theme`/`data-accent` the\n * server rendered — `<ThemeProvider>` only reconciles localStorage on mount,\n * so a returning visitor who chose light mode sees a dark flash until\n * hydration. This component is server-safe (no hooks, no browser APIs at\n * render time) and can be composed inside `<html>` from a Server Component.\n */\n/**\n * `JSON.stringify` doesn't escape `<`, so a value containing `</script>`\n * (e.g. a `storageKey` derived from user input) would close the real\n * `<script>` tag early and let whatever follows run as raw HTML — a classic\n * JSON-in-script-tag XSS. `<` is a valid JS string escape the parser\n * decodes back to `<` at runtime, so this is purely a serialization-time\n * fix with no effect on the parsed value.\n */\nfunction toScriptLiteral(value: unknown): string {\n return JSON.stringify(value).replace(/</g, '\\\\u003c');\n}\n\nexport function ThemeScript({ storageKey = DEFAULT_STORAGE_KEY, nonce }: ThemeScriptProps = {}) {\n const modes = toScriptLiteral(themeModes);\n const accents = toScriptLiteral(accentNames);\n const key = toScriptLiteral(storageKey);\n\n const script = `(function(){try{var s=JSON.parse(localStorage.getItem(${key})||\"null\");if(!s)return;var m=${modes},a=${accents},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){}})();`;\n\n // Inline script by design: it has to run before first paint, or a returning\n // visitor sees the wrong theme flash.\n return <script nonce={nonce} dangerouslySetInnerHTML={{ __html: script }} />;\n}\n"],"mappings":";;;;;;;;;AA0CS;AAbT,SAAS,gBAAgB,OAAwB;AAC/C,SAAO,KAAK,UAAU,KAAK,EAAE,QAAQ,MAAM,SAAS;AACtD;AAEO,SAAS,YAAY,EAAE,aAAa,qBAAqB,MAAM,IAAsB,CAAC,GAAG;AAC9F,QAAM,QAAQ,gBAAgB,UAAU;AACxC,QAAM,UAAU,gBAAgB,WAAW;AAC3C,QAAM,MAAM,gBAAgB,UAAU;AAEtC,QAAM,SAAS,yDAAyD,GAAG,iCAAiC,KAAK,MAAM,OAAO;AAI9H,SAAO,oBAAC,YAAO,OAAc,yBAAyB,EAAE,QAAQ,OAAO,GAAG;AAC5E;","names":[]}
@@ -0,0 +1,27 @@
1
+ import {
2
+ field
3
+ } from "./chunk-QTVPXQ43.js";
4
+ import {
5
+ cn
6
+ } from "./chunk-AVAJOAL5.js";
7
+
8
+ // src/components/ui/native-select.tsx
9
+ import * as React from "react";
10
+ import { jsx } from "react/jsx-runtime";
11
+ var NativeSelect = React.forwardRef(
12
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
13
+ "select",
14
+ {
15
+ className: cn(field({ variant: "select" }), className),
16
+ ref,
17
+ ...props,
18
+ children
19
+ }
20
+ )
21
+ );
22
+ NativeSelect.displayName = "NativeSelect";
23
+
24
+ export {
25
+ NativeSelect
26
+ };
27
+ //# sourceMappingURL=chunk-U6L6J73Y.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/ui/native-select.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cn } from \"../../lib/utils\"\nimport { field } from \"../../recipes/field\"\n\nexport interface NativeSelectProps\n extends React.SelectHTMLAttributes<HTMLSelectElement> {}\n\nconst NativeSelect = React.forwardRef<HTMLSelectElement, NativeSelectProps>(\n ({ className, children, ...props }, ref) => (\n <select\n className={cn(field({ variant: \"select\" }), className)}\n ref={ref}\n {...props}\n >\n {children}\n </select>\n )\n)\nNativeSelect.displayName = \"NativeSelect\"\n\nexport { NativeSelect }\n"],"mappings":";;;;;;;;AAAA,YAAY,WAAW;AASnB;AAFJ,IAAM,eAAqB;AAAA,EACzB,CAAC,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,QAClC;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,MAAM,EAAE,SAAS,SAAS,CAAC,GAAG,SAAS;AAAA,MACrD;AAAA,MACC,GAAG;AAAA,MAEH;AAAA;AAAA,EACH;AAEJ;AACA,aAAa,cAAc;","names":[]}
@@ -0,0 +1,54 @@
1
+ // src/components/ui/slot.tsx
2
+ import * as React from "react";
3
+ function composeRefs(...refs) {
4
+ return (node) => {
5
+ for (const ref of refs) {
6
+ if (typeof ref === "function") {
7
+ ref(node);
8
+ } else if (ref !== null && ref !== void 0) {
9
+ ;
10
+ ref.current = node;
11
+ }
12
+ }
13
+ };
14
+ }
15
+ function mergeProps(slotProps, childProps) {
16
+ const merged = { ...slotProps, ...childProps };
17
+ for (const key in childProps) {
18
+ const slotValue = slotProps[key];
19
+ const childValue = childProps[key];
20
+ const isHandler = /^on[A-Z]/.test(key);
21
+ if (isHandler && typeof slotValue === "function" && typeof childValue === "function") {
22
+ merged[key] = (...args) => {
23
+ const result = childValue(...args);
24
+ slotValue(...args);
25
+ return result;
26
+ };
27
+ } else if (key === "style") {
28
+ merged[key] = { ...slotValue, ...childValue };
29
+ } else if (key === "className") {
30
+ merged[key] = [slotValue, childValue].filter(Boolean).join(" ");
31
+ }
32
+ }
33
+ return merged;
34
+ }
35
+ var Slot = React.forwardRef(
36
+ ({ children, ...slotProps }, forwardedRef) => {
37
+ if (!React.isValidElement(children) || React.Children.count(children) !== 1 || children.type === React.Fragment) {
38
+ throw new Error(
39
+ "Slot expected a single React element child. Pass exactly one element to asChild."
40
+ );
41
+ }
42
+ const child = children;
43
+ const childRef = child.props.ref ?? null;
44
+ const mergedProps = mergeProps(slotProps, child.props);
45
+ mergedProps.ref = forwardedRef ? composeRefs(forwardedRef, childRef) : childRef;
46
+ return React.cloneElement(child, mergedProps);
47
+ }
48
+ );
49
+ Slot.displayName = "Slot";
50
+
51
+ export {
52
+ Slot
53
+ };
54
+ //# sourceMappingURL=chunk-VD5O66DN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/ui/slot.tsx"],"sourcesContent":["import * as React from \"react\"\n\n/**\n * A server-safe port of `@radix-ui/react-slot`'s core behavior (AD-006,\n * superseding the plan to import the real package — see AD-015 in\n * .specs/STATE.md).\n *\n * `@radix-ui/react-slot@1.3.3` ships no `'use client'` directive, but its\n * `Slot` component calls `useComposedRefs`, which calls `React.useCallback`\n * — a real hook, verified against the installed package's dist. A hook with\n * no dispatcher throws when it reaches a real Next.js Server Component, so\n * importing it here would have broken exactly the property\n * tests/server-safety.test.ts exists to protect, silently, the same way\n * lucide-react almost did (AD-013).\n *\n * `@radix-ui/react-compose-refs` exports the hook AND the plain function it\n * wraps — `composeRefs` itself has no hook inside it, only `useComposedRefs`\n * does — but that package's own module still *contains* the hook, so even a\n * named import of only the safe half makes tests/server-safety.test.ts's\n * bare-specifier walker (correctly) flag the module it resolves to: the\n * walker checks what a module contains, not which export of it gets called,\n * and it has no way to prove the unused hook is truly unreachable from here.\n * Rather than carve out an exception for something the tooling can't verify,\n * `composeRefs` (below) is the same ref-merging logic inlined directly, with\n * no import of the package at all — the safety property becomes mechanically\n * true instead of argued.\n *\n * This file uses the plain ref-merge as the ref callback directly, instead\n * of memoizing it through `useCallback` the way Radix does. The cost is\n * real but small: without memoization the merged ref callback has a new\n * identity every render, so React detaches and reattaches it each time\n * instead of reusing the same function — harmless for a DOM node, and\n * Card's usage (one wrapped child, re-rendered no more often than any other\n * styling wrapper) is exactly the case that cost doesn't matter for.\n *\n * Scope is deliberately narrower than the real Slot: no `Slottable`, no\n * lazy-component `use()` support. Card only ever wraps exactly one element,\n * so that surface was never reachable from here.\n */\n\n/** Ported from @radix-ui/react-compose-refs (MIT) — the hook-free half only. */\nfunction composeRefs<T>(...refs: (React.Ref<T> | null | undefined)[]) {\n return (node: T) => {\n for (const ref of refs) {\n if (typeof ref === \"function\") {\n ref(node)\n } else if (ref !== null && ref !== undefined) {\n ;(ref as React.MutableRefObject<T | null>).current = node\n }\n }\n }\n}\n\nfunction mergeProps(\n slotProps: Record<string, unknown>,\n childProps: Record<string, unknown>,\n): Record<string, unknown> {\n const merged: Record<string, unknown> = { ...slotProps, ...childProps }\n for (const key in childProps) {\n const slotValue = slotProps[key]\n const childValue = childProps[key]\n const isHandler = /^on[A-Z]/.test(key)\n if (isHandler && typeof slotValue === \"function\" && typeof childValue === \"function\") {\n merged[key] = (...args: unknown[]) => {\n const result = (childValue as (...a: unknown[]) => unknown)(...args)\n ;(slotValue as (...a: unknown[]) => unknown)(...args)\n return result\n }\n } else if (key === \"style\") {\n merged[key] = { ...(slotValue as object), ...(childValue as object) }\n } else if (key === \"className\") {\n merged[key] = [slotValue, childValue].filter(Boolean).join(\" \")\n }\n }\n return merged\n}\n\nexport interface SlotProps extends React.HTMLAttributes<HTMLElement> {\n children?: React.ReactNode\n}\n\nexport const Slot = React.forwardRef<HTMLElement, SlotProps>(\n ({ children, ...slotProps }, forwardedRef) => {\n // A Fragment counts as \"one valid element\" for isValidElement/Children.count,\n // but it has no DOM node to attach className/ref/props to — the real Slot\n // handles that case through `Slottable`, which this narrower port doesn't\n // support (Card only ever wraps exactly one real element). Rejecting it\n // explicitly, rather than letting React.cloneElement's own dev-only prop\n // warning be the only signal, is what keeps CARD-03's \"erro explícito\"\n // true for every multi-child shape a caller might pass, Fragment included.\n if (\n !React.isValidElement(children) ||\n React.Children.count(children) !== 1 ||\n children.type === React.Fragment\n ) {\n throw new Error(\n \"Slot expected a single React element child. Pass exactly one element to asChild.\",\n )\n }\n\n // A valid React element's `.props` is always an object (React itself\n // guarantees this, `{}` for a childless element) — no fallback needed.\n const child = children as React.ReactElement<\n Record<string, unknown> & { ref?: React.Ref<unknown> }\n >\n // React 19 moved `ref` onto `props`; reading `element.ref` directly still\n // works but is deprecated and logs a dev warning (\"ref is now a regular\n // prop\"). `child.props.ref` is the same value without the warning.\n const childRef = child.props.ref ?? null\n const mergedProps = mergeProps(slotProps, child.props)\n mergedProps.ref = forwardedRef ? composeRefs(forwardedRef, childRef) : childRef\n return React.cloneElement(child, mergedProps)\n },\n)\nSlot.displayName = \"Slot\"\n"],"mappings":";AAAA,YAAY,WAAW;AAyCvB,SAAS,eAAkB,MAA2C;AACpE,SAAO,CAAC,SAAY;AAClB,eAAW,OAAO,MAAM;AACtB,UAAI,OAAO,QAAQ,YAAY;AAC7B,YAAI,IAAI;AAAA,MACV,WAAW,QAAQ,QAAQ,QAAQ,QAAW;AAC5C;AAAC,QAAC,IAAyC,UAAU;AAAA,MACvD;AAAA,IACF;AAAA,EACF;AACF;AAEA,SAAS,WACP,WACA,YACyB;AACzB,QAAM,SAAkC,EAAE,GAAG,WAAW,GAAG,WAAW;AACtE,aAAW,OAAO,YAAY;AAC5B,UAAM,YAAY,UAAU,GAAG;AAC/B,UAAM,aAAa,WAAW,GAAG;AACjC,UAAM,YAAY,WAAW,KAAK,GAAG;AACrC,QAAI,aAAa,OAAO,cAAc,cAAc,OAAO,eAAe,YAAY;AACpF,aAAO,GAAG,IAAI,IAAI,SAAoB;AACpC,cAAM,SAAU,WAA4C,GAAG,IAAI;AAClE,QAAC,UAA2C,GAAG,IAAI;AACpD,eAAO;AAAA,MACT;AAAA,IACF,WAAW,QAAQ,SAAS;AAC1B,aAAO,GAAG,IAAI,EAAE,GAAI,WAAsB,GAAI,WAAsB;AAAA,IACtE,WAAW,QAAQ,aAAa;AAC9B,aAAO,GAAG,IAAI,CAAC,WAAW,UAAU,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,IAChE;AAAA,EACF;AACA,SAAO;AACT;AAMO,IAAM,OAAa;AAAA,EACxB,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,iBAAiB;AAQ5C,QACE,CAAO,qBAAe,QAAQ,KACxB,eAAS,MAAM,QAAQ,MAAM,KACnC,SAAS,SAAe,gBACxB;AACA,YAAM,IAAI;AAAA,QACR;AAAA,MACF;AAAA,IACF;AAIA,UAAM,QAAQ;AAMd,UAAM,WAAW,MAAM,MAAM,OAAO;AACpC,UAAM,cAAc,WAAW,WAAW,MAAM,KAAK;AACrD,gBAAY,MAAM,eAAe,YAAY,cAAc,QAAQ,IAAI;AACvE,WAAa,mBAAa,OAAO,WAAW;AAAA,EAC9C;AACF;AACA,KAAK,cAAc;","names":[]}
@@ -0,0 +1,74 @@
1
+ import {
2
+ cx
3
+ } from "./chunk-LOVNG6RF.js";
4
+
5
+ // src/recipes/article.ts
6
+ function codeBlock() {
7
+ return "sv-code-block";
8
+ }
9
+ var codeBlockClasses = {
10
+ header: "sv-code-block__header",
11
+ pre: "sv-code-block__pre",
12
+ copy: "sv-code-block__copy",
13
+ copyCopied: cx("sv-code-block__copy", "sv-code-block__copy--copied")
14
+ };
15
+ function callout(kind) {
16
+ return cx("sv-callout", `sv-callout--${kind}`);
17
+ }
18
+ var calloutClasses = {
19
+ label: "sv-callout__label"
20
+ };
21
+ var calloutLabels = {
22
+ note: "Note",
23
+ warn: "Warn",
24
+ aha: "Aha!"
25
+ };
26
+ function tableOfContents() {
27
+ return "sv-toc";
28
+ }
29
+ function tocLink(options = {}) {
30
+ return cx(
31
+ "sv-toc__link",
32
+ options.active && "sv-toc__link--active",
33
+ options.depth === 3 && "sv-toc__link--depth-3"
34
+ );
35
+ }
36
+ function readingProgress() {
37
+ return "sv-reading-progress";
38
+ }
39
+ var readingProgressClasses = {
40
+ bar: "sv-reading-progress__bar"
41
+ };
42
+ var READING_PROGRESS_VAR = "--sv-reading-progress";
43
+ function articleHeader() {
44
+ return "sv-article-header";
45
+ }
46
+ var articleHeaderClasses = {
47
+ title: "sv-article-header__title",
48
+ meta: "sv-article-header__meta",
49
+ author: "sv-article-header__author"
50
+ };
51
+ function prose() {
52
+ return "sv-prose";
53
+ }
54
+ var proseClasses = {
55
+ lead: "sv-prose__lead"
56
+ };
57
+
58
+ export {
59
+ codeBlock,
60
+ codeBlockClasses,
61
+ callout,
62
+ calloutClasses,
63
+ calloutLabels,
64
+ tableOfContents,
65
+ tocLink,
66
+ readingProgress,
67
+ readingProgressClasses,
68
+ READING_PROGRESS_VAR,
69
+ articleHeader,
70
+ articleHeaderClasses,
71
+ prose,
72
+ proseClasses
73
+ };
74
+ //# sourceMappingURL=chunk-YDGOXO6Q.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/recipes/article.ts"],"sourcesContent":["import { cx } from './cx';\n\n/**\n * Article recipes: CodeBlock, Callout, TableOfContents, ReadingProgress,\n * ArticleHeader, Prose. Pure functions — Server Component safe.\n */\n\nexport function codeBlock(): string {\n return 'sv-code-block';\n}\n\nexport const codeBlockClasses = {\n header: 'sv-code-block__header',\n pre: 'sv-code-block__pre',\n copy: 'sv-code-block__copy',\n copyCopied: cx('sv-code-block__copy', 'sv-code-block__copy--copied'),\n} as const;\n\nexport type CalloutKind = 'note' | 'warn' | 'aha';\n\nexport function callout(kind: CalloutKind): string {\n return cx('sv-callout', `sv-callout--${kind}`);\n}\n\nexport const calloutClasses = {\n label: 'sv-callout__label',\n} as const;\n\nexport const calloutLabels: Record<CalloutKind, string> = {\n note: 'Note',\n warn: 'Warn',\n aha: 'Aha!',\n};\n\nexport function tableOfContents(): string {\n return 'sv-toc';\n}\n\nexport interface TocLinkOptions {\n active?: boolean;\n /** Heading depth, 2 (h2) or 3 (h3). Depth 3 indents. */\n depth?: 2 | 3;\n}\n\nexport function tocLink(options: TocLinkOptions = {}): string {\n return cx(\n 'sv-toc__link',\n options.active && 'sv-toc__link--active',\n options.depth === 3 && 'sv-toc__link--depth-3',\n );\n}\n\nexport function readingProgress(): string {\n return 'sv-reading-progress';\n}\n\nexport const readingProgressClasses = {\n bar: 'sv-reading-progress__bar',\n} as const;\n\n/** CSS var read by `.sv-reading-progress__bar` (0 → 1). */\nexport const READING_PROGRESS_VAR = '--sv-reading-progress';\n\nexport function articleHeader(): string {\n return 'sv-article-header';\n}\n\nexport const articleHeaderClasses = {\n title: 'sv-article-header__title',\n meta: 'sv-article-header__meta',\n author: 'sv-article-header__author',\n} as const;\n\nexport function prose(): string {\n return 'sv-prose';\n}\n\nexport const proseClasses = {\n lead: 'sv-prose__lead',\n} as const;\n"],"mappings":";;;;;AAOO,SAAS,YAAoB;AAClC,SAAO;AACT;AAEO,IAAM,mBAAmB;AAAA,EAC9B,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,MAAM;AAAA,EACN,YAAY,GAAG,uBAAuB,6BAA6B;AACrE;AAIO,SAAS,QAAQ,MAA2B;AACjD,SAAO,GAAG,cAAc,eAAe,IAAI,EAAE;AAC/C;AAEO,IAAM,iBAAiB;AAAA,EAC5B,OAAO;AACT;AAEO,IAAM,gBAA6C;AAAA,EACxD,MAAM;AAAA,EACN,MAAM;AAAA,EACN,KAAK;AACP;AAEO,SAAS,kBAA0B;AACxC,SAAO;AACT;AAQO,SAAS,QAAQ,UAA0B,CAAC,GAAW;AAC5D,SAAO;AAAA,IACL;AAAA,IACA,QAAQ,UAAU;AAAA,IAClB,QAAQ,UAAU,KAAK;AAAA,EACzB;AACF;AAEO,SAAS,kBAA0B;AACxC,SAAO;AACT;AAEO,IAAM,yBAAyB;AAAA,EACpC,KAAK;AACP;AAGO,IAAM,uBAAuB;AAE7B,SAAS,gBAAwB;AACtC,SAAO;AACT;AAEO,IAAM,uBAAuB;AAAA,EAClC,OAAO;AAAA,EACP,MAAM;AAAA,EACN,QAAQ;AACV;AAEO,SAAS,QAAgB;AAC9B,SAAO;AACT;AAEO,IAAM,eAAe;AAAA,EAC1B,MAAM;AACR;","names":[]}
@@ -0,0 +1,16 @@
1
+ // src/tokens/motion.ts
2
+ var easings = {
3
+ hover: "cubic-bezier(.3,.7,.4,1)",
4
+ linear: "linear"
5
+ };
6
+ var durations = {
7
+ fast: "120ms",
8
+ base: "200ms",
9
+ slow: "320ms"
10
+ };
11
+
12
+ export {
13
+ easings,
14
+ durations
15
+ };
16
+ //# sourceMappingURL=chunk-YTTFCX3E.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/tokens/motion.ts"],"sourcesContent":["/**\n * Still Void motion tokens.\n * Hover transitions use the signature easing; the reading progress bar is linear.\n */\nexport const easings = {\n hover: 'cubic-bezier(.3,.7,.4,1)',\n linear: 'linear',\n} as const;\n\nexport const durations = {\n fast: '120ms',\n base: '200ms',\n slow: '320ms',\n} as const;\n\nexport type Easing = keyof typeof easings;\nexport type Duration = keyof typeof durations;\n"],"mappings":";AAIO,IAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,QAAQ;AACV;AAEO,IAAM,YAAY;AAAA,EACvB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AACR;","names":[]}
@@ -0,0 +1,27 @@
1
+ import {
2
+ field
3
+ } from "./chunk-QTVPXQ43.js";
4
+ import {
5
+ cn
6
+ } from "./chunk-AVAJOAL5.js";
7
+
8
+ // src/components/ui/file-input.tsx
9
+ import * as React from "react";
10
+ import { jsx } from "react/jsx-runtime";
11
+ var FileInput = React.forwardRef(
12
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
13
+ "input",
14
+ {
15
+ className: cn(field({ variant: "file" }), className),
16
+ ref,
17
+ ...props,
18
+ type: "file"
19
+ }
20
+ )
21
+ );
22
+ FileInput.displayName = "FileInput";
23
+
24
+ export {
25
+ FileInput
26
+ };
27
+ //# sourceMappingURL=chunk-YXV3UEL5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/ui/file-input.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cn } from \"../../lib/utils\"\nimport { field } from \"../../recipes/field\"\n\nexport interface FileInputProps\n extends Omit<React.InputHTMLAttributes<HTMLInputElement>, \"type\"> {}\n\nconst FileInput = React.forwardRef<HTMLInputElement, FileInputProps>(\n ({ className, ...props }, ref) => (\n <input\n className={cn(field({ variant: \"file\" }), className)}\n ref={ref}\n {...props}\n type=\"file\"\n />\n )\n)\nFileInput.displayName = \"FileInput\"\n\nexport { FileInput }\n"],"mappings":";;;;;;;;AAAA,YAAY,WAAW;AASnB;AAFJ,IAAM,YAAkB;AAAA,EACtB,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,QACxB;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,MAAM,EAAE,SAAS,OAAO,CAAC,GAAG,SAAS;AAAA,MACnD;AAAA,MACC,GAAG;AAAA,MACJ,MAAK;AAAA;AAAA,EACP;AAEJ;AACA,UAAU,cAAc;","names":[]}
@@ -0,0 +1,8 @@
1
+ 'use client';
2
+ import {
3
+ copyToClipboard
4
+ } from "../../chunk-XHL4YEVA.js";
5
+ export {
6
+ copyToClipboard
7
+ };
8
+ //# sourceMappingURL=clipboard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,8 @@
1
+ 'use client';
2
+ import {
3
+ createMediaQuery
4
+ } from "../../chunk-OILITPDP.js";
5
+ export {
6
+ createMediaQuery
7
+ };
8
+ //# sourceMappingURL=mediaQuery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ 'use client';
2
+ import {
3
+ createReadingProgress
4
+ } from "../../chunk-MYTOL2RH.js";
5
+ import "../../chunk-OU4ACOFA.js";
6
+ import "../../chunk-ABWCVXOO.js";
7
+ export {
8
+ createReadingProgress
9
+ };
10
+ //# sourceMappingURL=readingProgress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,8 @@
1
+ 'use client';
2
+ import {
3
+ createScrollSpy
4
+ } from "../../chunk-7AU2DPOL.js";
5
+ export {
6
+ createScrollSpy
7
+ };
8
+ //# sourceMappingURL=scrollSpy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,11 @@
1
+ 'use client';
2
+ import {
3
+ DEFAULT_STORAGE_KEY,
4
+ createThemeManager
5
+ } from "../../chunk-3MVZ2ES4.js";
6
+ import "../../chunk-ECOPTUZT.js";
7
+ export {
8
+ DEFAULT_STORAGE_KEY,
9
+ createThemeManager
10
+ };
11
+ //# sourceMappingURL=themeManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,30 @@
1
+ 'use client';
2
+ import {
3
+ AlertDialog,
4
+ AlertDialogAction,
5
+ AlertDialogCancel,
6
+ AlertDialogContent,
7
+ AlertDialogDescription,
8
+ AlertDialogFooter,
9
+ AlertDialogHeader,
10
+ AlertDialogOverlay,
11
+ AlertDialogPortal,
12
+ AlertDialogTitle,
13
+ AlertDialogTrigger
14
+ } from "../../../chunk-GD7XJWKF.js";
15
+ import "../../../chunk-OVMH25G3.js";
16
+ import "../../../chunk-N64GC5ZU.js";
17
+ export {
18
+ AlertDialog,
19
+ AlertDialogAction,
20
+ AlertDialogCancel,
21
+ AlertDialogContent,
22
+ AlertDialogDescription,
23
+ AlertDialogFooter,
24
+ AlertDialogHeader,
25
+ AlertDialogOverlay,
26
+ AlertDialogPortal,
27
+ AlertDialogTitle,
28
+ AlertDialogTrigger
29
+ };
30
+ //# sourceMappingURL=alert-dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}