@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,70 @@
1
1
  # @still-void/ui
2
2
 
3
+ ## 3.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#37](https://github.com/KalleoPinheiro/still-void/pull/37) [`856832a`](https://github.com/KalleoPinheiro/still-void/commit/856832aaaaed5527dc19a3fbd92f034970c56441) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - `Button` ganha a variante `primary`, alias de `accent` (o CTA preenchido). O `variant` padrão continua `default` (botão neutro de superfície) para não mudar a aparência de quem já usa `<Button>` sem `variant`; a documentação agora diz isso explicitamente. Tipo `ButtonVariant` exportado.
8
+
9
+ - [#37](https://github.com/KalleoPinheiro/still-void/pull/37) [`856832a`](https://github.com/KalleoPinheiro/still-void/commit/856832aaaaed5527dc19a3fbd92f034970c56441) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - `ChartLine` ganha `strokeWidth` (padrão 2, como antes), `dash` (`'dashed'`, `'dotted'` ou um `stroke-dasharray`), `markers` (círculos nos pontos; `true` = raio 3) e `label` (vira `<title>` da série). Componentes novos `ChartLegend`/`ChartLegendItem` (lista HTML com amostra de cor, tracejado ou barra). Assim séries se distinguem sem depender só da cor (WCAG 1.4.1).
10
+
11
+ - [`6a92223`](https://github.com/KalleoPinheiro/still-void/commit/6a92223e34ef7eefc9b830d77f131ccdf602b692) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Componente novo `Combobox` (`@still-void/ui/react/client`): campo de busca com lista de opções assíncrona (padrão ARIA 1.2 combobox + listbox). `onSearch(term, { signal })` roda depois de `debounceMs` (padrão 250) quando o termo tem `minLength` caracteres (padrão 1); a busca anterior é abortada pelo `signal`. Estados de dica, carregando, vazio e erro numa região `aria-live` (textos traduzíveis por `labels`, padrões em `defaultComboboxLabels`), teclado ↓/↑/Enter/Escape, opções desabilitadas, modo controlado (`value`) ou não (`defaultValue`) e `name` para enviar o `value` escolhido num `<input type="hidden">`. Atende o caso do seletor de paciente do estomasystech, em que `Select`/`NativeSelect` exigiam a lista inteira.
12
+
13
+ - [#37](https://github.com/KalleoPinheiro/still-void/pull/37) [`856832a`](https://github.com/KalleoPinheiro/still-void/commit/856832aaaaed5527dc19a3fbd92f034970c56441) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Integração com o roteador do app sem reimplementar componentes. `Button` e `Badge` ganham `asChild` (via `Slot`, server-safe), e há um componente novo, `TextLink` (`.sv-link`, também com `asChild`). `Logo`, `Header`, `Footer`, `PostCard` e `FeaturedPostCard` aceitam `linkAs` (ex.: `linkAs={Link}` do `next/link`), tipado pelos novos `LinkComponent`/`LinkComponentProps`. `PostCard` e `FeaturedPostCard` ganham `meta` (substitui a linha de data/tempo de leitura) e `FeaturedPostCard` ganha `eyebrow`. Os textos de `Hero` (`eyebrow`, `title`, `description`) aceitam `ReactNode`. Sem `linkAs`/`asChild` o HTML é o mesmo de antes.
14
+
15
+ - [#37](https://github.com/KalleoPinheiro/still-void/pull/37) [`856832a`](https://github.com/KalleoPinheiro/still-void/commit/856832aaaaed5527dc19a3fbd92f034970c56441) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - CSS por camada. Além de `style.css` (inalterado, continua sendo o caminho recomendado), o pacote exporta `@still-void/ui/css/<camada>.css`: `base`, `content`, `forms`, `controls`, `overlays`, `data`, `app-shell`, `toast` e `motion`. Cada arquivo é uma fatia contígua de `style.css`, e a concatenação na ordem acima é idêntica a ele. Um app que não usa sidebar nem toast pode importar só as camadas que usa (sempre `theme.css` antes, `base.css` primeiro e `motion.css` por último).
16
+
17
+ - [#37](https://github.com/KalleoPinheiro/still-void/pull/37) [`856832a`](https://github.com/KalleoPinheiro/still-void/commit/856832aaaaed5527dc19a3fbd92f034970c56441) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Componente novo `Field` (server-safe): rótulo, descrição, erro e indicador de obrigatório em volta de qualquer controle. Liga `htmlFor`/`id`, junta `aria-describedby` com os ids `<id>-description`/`<id>-error`, e repassa `aria-invalid` e `required` ao controle. Classes novas `.sv-form-field`, `.sv-label` e `.sv-label__required`; `fieldClasses` ganha `group`, `label` e `labelRequired`.
18
+
19
+ - [`6a92223`](https://github.com/KalleoPinheiro/still-void/commit/6a92223e34ef7eefc9b830d77f131ccdf602b692) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Componente novo `PageHeader` (server-safe) para o cabeçalho de telas de app. Tem um título (`h1` por padrão; `headingLevel` aceita `h2` e `h3`) e slots opcionais `description`, `badge`, `leading` (ex.: link de voltar) e `actions`. O layout é mobile-first: os blocos ficam empilhados e passam a ficar lado a lado a partir de 40rem. Com `stackBadge`, um selo largo vai para a linha de baixo do título só por largura de tela, sem salto quando a fonte carrega. As classes são `.sv-page-header*`. Generaliza o `page-header.tsx` do estomasystech, usado em 28 arquivos.
20
+
21
+ - [#37](https://github.com/KalleoPinheiro/still-void/pull/37) [`856832a`](https://github.com/KalleoPinheiro/still-void/commit/856832aaaaed5527dc19a3fbd92f034970c56441) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Rótulos traduzíveis. `ThemeToggle` aceita `labels` (`light`, `dark`, `switchToLight`, `switchToDark`; padrão em `defaultThemeToggleLabels`) e `children`; um `onClick` do consumidor roda antes e `event.preventDefault()` cancela a troca. `Header` aceita `menuLabel` e `navLabel`, `Pagination` aceita `label`, `ReadingProgress` e `TableOfContents` aceitam `label`, e `SidebarPanel` aceita `closeLabel`. Padrões em inglês, iguais aos textos fixos de antes.
22
+
23
+ - [`6a92223`](https://github.com/KalleoPinheiro/still-void/commit/6a92223e34ef7eefc9b830d77f131ccdf602b692) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Links seguros: novo `safeHref` (server-safe) troca por `"#"` qualquer `href` com `javascript:`, `vbscript:` ou `data:` (já normalizado como o navegador faz, com espaços e caracteres de controle). `Logo`, `Header`, `Footer`, `PostCard`, `FeaturedPostCard`, `TextLink` e `PaginationLink` passam o `href` por ele, inclusive com `linkAs`/`asChild`. Hrefs relativos, âncoras, `http(s):`, `mailto:` e `tel:` não mudam.
24
+
25
+ - [`6a92223`](https://github.com/KalleoPinheiro/still-void/commit/6a92223e34ef7eefc9b830d77f131ccdf602b692) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Ilha de tema escuro: `data-theme="dark"` num elemento dentro de uma página clara agora aplica os tokens escuros (antes só `:root` os tinha, então a ilha continuava clara). Os tokens `*-ink` voltam a apontar para as cores de superfície, e o texto da ilha usa `--sv-text`. Para uma ilha clara dentro de página escura, ponha também `data-accent` na ilha.
26
+
27
+ ### Patch Changes
28
+
29
+ - [#37](https://github.com/KalleoPinheiro/still-void/pull/37) [`856832a`](https://github.com/KalleoPinheiro/still-void/commit/856832aaaaed5527dc19a3fbd92f034970c56441) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Acessibilidade:
30
+
31
+ - `DialogContent`, `AlertDialogContent` e `BottomSheetContent` devolvem o foco ao elemento que estava focado ao abrir, inclusive quando o diálogo é controlado e aberto sem `Trigger` (`onCloseAutoFocus` com `preventDefault()` continua desligando isso).
32
+ - Alvos de toque: `.sv-logo`, `.sv-footer__link` e `.sv-link` têm no mínimo 24px de altura (WCAG 2.5.8) e 44px em telas < 64rem ou ponteiro grosso; os botões de fechar de diálogo e toast têm no mínimo 24×24.
33
+ - Campos (`.sv-field`) usam no mínimo 16px de fonte em telas < 64rem ou ponteiro grosso, o que evita o zoom automático do iOS Safari.
34
+ - `Table` declara papéis ARIA explícitos (`table`, `rowgroup`, `row`, `cell`, `columnheader`/`rowheader`), então a variante empilhada (que troca o `display`) não perde a semântica de tabela no Safari/VoiceOver.
35
+ - O trigger do `Select` alinha o texto à esquerda, como os outros campos.
36
+
37
+ - [`6a92223`](https://github.com/KalleoPinheiro/still-void/commit/6a92223e34ef7eefc9b830d77f131ccdf602b692) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Campos de data e hora (`.sv-field` com `type` `date`, `time`, `datetime-local`, `month` ou `week`) ganham `min-width: 0` e `max-width: 100%`, e não estouram mais a grade ou a tela no Safari do iOS. No iOS, sai a aparência nativa e o valor alinha ao início como nos outros campos. É o workaround `field-date-time-width` do estomasystech, agora na lib.
38
+
39
+ - [`6a92223`](https://github.com/KalleoPinheiro/still-void/commit/6a92223e34ef7eefc9b830d77f131ccdf602b692) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Cascata por `@layer` em vez de `!important`:
40
+
41
+ - `shadcn-overrides.css` deixa de usar `!important`. As regras passam para a camada `sv-overrides`, declarada depois das camadas do Tailwind v4, então continuam vencendo os utilitários `shadow-*` em qualquer ordem de import. Um `shadow-lg!` explícito ou o CSS próprio do app (fora de camada) agora vencem.
42
+ - `.sv-gradient-border` vai para `@layer components`: `rounded-*` e `bg-*` do Tailwind no mesmo elemento passam a vencer o raio/fundo padrão. Antes a classe ficava fora de camada e ganhava dos utilitários, motivo pelo qual o blog mantinha uma cópia local.
43
+
44
+ Verificado no Chrome nas duas ordens de import.
45
+
46
+ - [#37](https://github.com/KalleoPinheiro/still-void/pull/37) [`856832a`](https://github.com/KalleoPinheiro/still-void/commit/856832aaaaed5527dc19a3fbd92f034970c56441) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - `cn` agora é só `clsx`: o `tailwind-merge` saiu das dependências. Os componentes usam apenas classes `sv-*`, que o `tailwind-merge` não sabe mesclar, então ele não resolvia nenhum conflito e custava ~26 KB minificados em qualquer import que usasse `cn` (ex.: `Button` caiu de 27.900 B para 1.681 B min, medido com esbuild resolvendo o pacote). Quem passava utilitários Tailwind conflitantes em `className` (ex.: `p-2 p-4`) passa a receber as duas classes, como em qualquer `clsx`.
47
+
48
+ - [#36](https://github.com/KalleoPinheiro/still-void/pull/36) [`15464a3`](https://github.com/KalleoPinheiro/still-void/commit/15464a3ea5e8cd559712bb65e6c7f420f62aecec) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Tema claro: o `Badge` padrão e as variantes `destructive` do `Button` e do `Badge` passam a pintar o fundo com o tom "ink" do matiz (`--sv-accent-ink`, `--sv-danger-ink`) em vez do tom de superfície (`--sv-accent`, `--sv-danger`). O texto claro (`--sv-bg`) sobre esses fundos media 1,79:1 (badge, cyan) e 2,93:1 (destructive) e agora passa de 4,5:1 (WCAG AA) com qualquer `data-accent`. No tema escuro os dois tons são idênticos, então nada muda visualmente. O hover de `Button` `accent` e `destructive` e do `Badge` `destructive` passa a misturar o fundo com `--sv-text` em vez de `transparent`: no tema claro o hover do `accent` caía para ~4,2:1 e agora também fica acima de 4,5:1. Nenhuma classe ou variável foi renomeada.
49
+
50
+ - [#37](https://github.com/KalleoPinheiro/still-void/pull/37) [`856832a`](https://github.com/KalleoPinheiro/still-void/commit/856832aaaaed5527dc19a3fbd92f034970c56441) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Dependências de desenvolvimento atualizadas: `npm audit` passa de 32 vulnerabilidades (3 críticas) para 0. `@types/node` passa a ser devDependency explícita. Nenhuma dependência de runtime nova.
51
+
52
+ - [`6a92223`](https://github.com/KalleoPinheiro/still-void/commit/6a92223e34ef7eefc9b830d77f131ccdf602b692) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Manutenção:
53
+
54
+ - ESLint (`npm run lint`, com typescript-eslint, react-hooks e jsx-a11y) entra no CI.
55
+ - Correções que ele apontou: rótulos associados nas stories, `ToastProvider` com dependências completas no efeito que remove o toast mais antigo, e tipos no fallback `addListener` do `mediaQuery`.
56
+ - `devEngines` avisa quem desenvolve no repositório com Node < 22 (o `engines` do pacote publicado continua `>=18`).
57
+ - O texto do catálogo do Storybook não promete mais uma entrada "agnóstica de framework" que não existe desde a 2.0.
58
+ - As stories usam tokens de fonte em vez de `rem` literal.
59
+
60
+ - [#36](https://github.com/KalleoPinheiro/still-void/pull/36) [`15464a3`](https://github.com/KalleoPinheiro/still-void/commit/15464a3ea5e8cd559712bb65e6c7f420f62aecec) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Build ESM com um módulo por arquivo: `@still-void/ui/react` e `@still-void/ui/react/client` agora são tree-shakable. Importar só o `ThemeToggle` do entry client caía de ~169 KB minificados (~53 KB gzip) — o entry inteiro, com Select, DropdownMenu, Dialog, Toast e as dependências Radix — para menos de 1 KB; `Dialog` sozinho sai com ~79 KB (antes ~168 KB). Os exports públicos, os tipos (`.d.ts`/`.d.cts` idênticos aos da 3.5.1), os cinco subpaths e a diretiva `'use client'` do entry client continuam iguais; nenhum consumidor precisa mudar nada. O CJS continua em arquivo único. Os módulos internos ficam em `dist/react/_modules/` e `dist/react/**/chunk-*.js`, fora do mapa `exports` — não importe esses caminhos.
61
+
62
+ - [#36](https://github.com/KalleoPinheiro/still-void/pull/36) [`15464a3`](https://github.com/KalleoPinheiro/still-void/commit/15464a3ea5e8cd559712bb65e6c7f420f62aecec) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - `SidebarProvider` agora renderiza CSS-first no servidor. Antes da hidratação o HTML traz o `SidebarPanel` como `<aside>` em fluxo e `.sv-app-shell` sem `data-mobile`; uma media query nova em `style.css` esconde esse `<aside>` abaixo de 1024px até o JS montar a gaveta. No desktop a página já pinta com a sidebar no lugar e o conteúdo não salta mais para o lado depois de hidratar (o estomasystech media CLS ~0,18). Depois da hidratação nada muda: `matchMedia` decide entre `<aside>` e gaveta como antes. Com `breakpoint` customizado, o provider emite `data-breakpoint="<px>"` e um `<style>` inline equivalente, removido após a hidratação. `useSidebar().isMobile` vale `false` até hidratar (antes valia `true`), então espaçadores manuais que reservavam a largura da sidebar enquanto `isMobile` era `true` (ex.: `SidebarSpace` no estomasystech) viram no-op e podem ser removidos. Sem mismatch de hidratação.
63
+
64
+ - [`6a92223`](https://github.com/KalleoPinheiro/still-void/commit/6a92223e34ef7eefc9b830d77f131ccdf602b692) Thanks [@KalleoPinheiro](https://github.com/KalleoPinheiro)! - Tipografia conforme o DESIGN.md:
65
+ - `CardTitle` (`.sv-card__title`) usa o passo Title: Sora 600, 1,375rem, line-height 1,3. Antes era Manrope 1,75rem com line-height 1, e títulos em duas linhas ficavam encostados.
66
+ - O eyebrow do `Hero` usa o passo Label: Manrope 600, 0,75rem, tracking 0,08em, caixa alta. Antes era JetBrains Mono 0,8125rem.
67
+
3
68
  ## 3.5.1
4
69
 
5
70
  ### Patch Changes
package/README.md CHANGED
@@ -31,6 +31,11 @@ npm install @still-void/ui
31
31
 
32
32
  `react` and `react-dom` (>=18) are required peer dependencies.
33
33
 
34
+ **Node.js:** the published `dist` is plain ES2020 JS and CSS, so `engines.node` stays `>=18` for
35
+ consumers. Developing this repo (tests, Storybook, build) needs **Node 22+** — the version in
36
+ `.nvmrc` and the only one CI runs, because vitest 4's toolchain doesn't run on Node 18/20.
37
+ `devEngines` in `package.json` warns when you run npm here on an older Node.
38
+
34
39
  ## Usage — Next.js (App Router, Server Components)
35
40
 
36
41
  ```tsx
@@ -99,6 +104,37 @@ import { CopyButton } from '@still-void/ui/react/client';
99
104
  Syntax highlighting is bring-your-own (by design — the prototype tokenizer was demo-only):
100
105
  render with Shiki on the server and pass the markup via `rendered`.
101
106
 
107
+ ### Per-layer CSS (optional)
108
+
109
+ `style.css` stays the recommended import. If an app doesn't use the sidebar, toasts or charts, it can import only the layers it needs instead. Each file is a contiguous slice of `style.css` (cut at its section headers, so the grouping follows the file, not a strict component taxonomy); together, in this order, they are byte-identical to it:
110
+
111
+ ```ts
112
+ import '@still-void/ui/theme.css'; // always first
113
+ import '@still-void/ui/css/base.css'; // always (body, typography, signature)
114
+ import '@still-void/ui/css/content.css'; // Header, Logo, Footer, PostCard, Hero, CodeBlock, Callout, TOC, Prose…
115
+ import '@still-void/ui/css/forms.css'; // TextLink, .sv-field/Field/Select/Checkbox…, Table
116
+ import '@still-void/ui/css/controls.css'; // Button, touch-target rules, Card, Alert, Badge, Icon
117
+ import '@still-void/ui/css/overlays.css'; // Dialog, BottomSheet, Popover, Tooltip, menus, Tabs
118
+ import '@still-void/ui/css/data.css'; // Separator, Progress, Pagination, Chart
119
+ import '@still-void/ui/css/app-shell.css';// App Sidebar / AppShell
120
+ import '@still-void/ui/css/toast.css'; // Toast
121
+ import '@still-void/ui/css/motion.css'; // always last (prefers-reduced-motion)
122
+ ```
123
+
124
+ Keep the order: later layers rely on earlier ones (cascade order), and `controls.css` carries the minimum touch-target sizes for logo, footer and text links, so don't drop it.
125
+
126
+ ### Router links
127
+
128
+ Components that render links accept `linkAs` (`Logo`, `Header`, `Footer`, `PostCard`, `FeaturedPostCard`), and `Button`, `Badge` and `TextLink` accept `asChild`:
129
+
130
+ ```tsx
131
+ import Link from 'next/link';
132
+ <Header linkAs={Link} items={items} />
133
+ <Button asChild variant="primary"><Link href="/novo">Novo post</Link></Button>
134
+ ```
135
+
136
+ `Button`'s default `variant` is `default`, the neutral surface button. Use `variant="primary"` (alias of `accent`) for the one filled call to action of a view.
137
+
102
138
  ## Recipes and behaviors
103
139
 
104
140
  Recipes are pure class-name builders (server-safe, exported from `@still-void/ui/react`);
@@ -0,0 +1,129 @@
1
+ /* ---------- App Sidebar ---------- */
2
+ /* R5-02, R5-03, R5-04: Sidebar de aplicação responsiva.
3
+ The wrapper (.sv-app-shell) carries data-state (open/closed), data-collapsible
4
+ (offcanvas/icon/none), and data-mobile (true/false). The panel (.sv-app-sidebar)
5
+ is static in-flow above the breakpoint, drawer in portal below. No box-shadow
6
+ per Flat-By-Default Rule. Focus is outline (AD-005). Fade animation is driven
7
+ by data-state with var(--sv-duration-fast) and var(--sv-ease-hover).
8
+
9
+ .sv-app-shell is the flex container that lays SidebarPanel (the <aside>)
10
+ and SidebarInset (the <main>) side by side above the breakpoint — both are
11
+ rendered as direct children of it (SidebarProvider wraps `children` in this
12
+ one div). Below the breakpoint SidebarPanel renders into a portal instead
13
+ (it's not a flex child at all in that mode), so the inset alone fills the
14
+ row — AC R5-04.3 ("full width below the breakpoint") falls out of the flex
15
+ layout for free, no separate rule needed. */
16
+ .sv-app-shell {
17
+ display: flex;
18
+ align-items: stretch;
19
+ }
20
+
21
+ .sv-app-sidebar {
22
+ flex-shrink: 0;
23
+ background: var(--sv-surface);
24
+ color: var(--sv-text);
25
+ border-right: 1px solid var(--sv-border);
26
+ }
27
+
28
+ /* CSS-first first paint (SSR). Before hydration SidebarProvider omits
29
+ `data-mobile` and SidebarPanel renders the in-flow <aside>, so desktop
30
+ paints with the sidebar already in place (no layout shift). Below the
31
+ default breakpoint (1024px, SidebarProvider's default) this hides that
32
+ <aside> until JS mounts the drawer instead. A custom `breakpoint` prop gets
33
+ the equivalent rule from the provider itself (scoped by `data-breakpoint`).
34
+ `collapsible="none"` stays in flow at every width, as after hydration. */
35
+ @media (width < 1024px) {
36
+ .sv-app-shell:not([data-mobile]):not([data-breakpoint]):not([data-collapsible='none'])
37
+ .sv-app-sidebar {
38
+ display: none;
39
+ }
40
+ }
41
+
42
+ .sv-app-sidebar__drawer {
43
+ position: fixed;
44
+ inset: 0;
45
+ z-index: var(--sv-z-modal);
46
+ }
47
+
48
+ /* Dialog.Content animates via data-state=[open|closed] */
49
+ .sv-app-sidebar[data-state='open'] {
50
+ animation: sv-fade-in var(--sv-duration-fast) var(--sv-ease-hover);
51
+ }
52
+
53
+ .sv-app-sidebar[data-state='closed'] {
54
+ animation: sv-fade-out var(--sv-duration-fast) var(--sv-ease-hover);
55
+ }
56
+
57
+ .sv-app-sidebar__body {
58
+ display: flex;
59
+ flex-direction: column;
60
+ gap: var(--sv-space-6);
61
+ padding: var(--sv-space-6);
62
+ max-height: 100vh;
63
+ overflow-y: auto;
64
+ }
65
+
66
+ /* `sv-app-sidebar__label` carries no typography of its own — it's a bare
67
+ hook for the collapsed-state hiding rule below, and content it wraps is
68
+ always something else's text (a nav link, a heading) that already owns
69
+ its own font. A Sora/text-lg/600 default shipped here in v3.3.0 fought
70
+ whatever it wrapped and broke the Sparse-Display Rule (DESIGN.md §3:
71
+ Sora never sets label text) the moment a consumer used it on ordinary
72
+ nav-item copy, as the App Sidebar story did. */
73
+
74
+ .sv-app-sidebar-inset {
75
+ flex: 1;
76
+ /* Without this a flex item's default `min-width: auto` lets its content
77
+ (e.g. a wide table) push it wider than the row, shrinking the sidebar
78
+ instead of scrolling internally. */
79
+ min-width: 0;
80
+ overflow: auto;
81
+ }
82
+
83
+ .sv-app-sidebar-trigger {
84
+ position: relative;
85
+ display: inline-flex;
86
+ align-items: center;
87
+ justify-content: center;
88
+ padding: var(--sv-space-2);
89
+ border: 1px solid transparent;
90
+ border-radius: var(--sv-radius-sm);
91
+ background: none;
92
+ color: var(--sv-text-2);
93
+ cursor: pointer;
94
+ transition: background var(--sv-duration-fast) var(--sv-ease-hover),
95
+ color var(--sv-duration-fast) var(--sv-ease-hover);
96
+ }
97
+
98
+ .sv-app-sidebar-trigger:hover {
99
+ background: var(--sv-surface-2);
100
+ color: var(--sv-text);
101
+ }
102
+
103
+ .sv-app-sidebar-trigger:focus-visible {
104
+ outline: 2px solid var(--sv-accent-ink);
105
+ outline-offset: 2px;
106
+ }
107
+
108
+ /* R5-03: collapsible="icon" mode — `open` toggles rail width vs. full width,
109
+ the same way `offcanvas` toggles visible vs. hidden. Both rules below key
110
+ off data-state="closed" *together with* data-collapsible="icon" — without
111
+ that, a collapsed-width rail would also apply while `open` (the expanded,
112
+ labels-visible state), which is the opposite of what "collapsible" means
113
+ here. .sv-app-shell carries data-state from SidebarProvider's own `open`. */
114
+ .sv-app-shell[data-collapsible='icon'][data-state='closed'] .sv-app-sidebar:not(.sv-app-sidebar__drawer) {
115
+ width: var(--sv-space-14);
116
+ }
117
+
118
+ /* Hide text labels only in the collapsed (closed) state; keep them
119
+ accessible to screen readers via the sr-only pattern rather than
120
+ removing them, since the icon alone is not a reliable label. */
121
+ .sv-app-shell[data-collapsible='icon'][data-state='closed'] .sv-app-sidebar__label {
122
+ position: absolute;
123
+ width: 1px;
124
+ height: 1px;
125
+ overflow: hidden;
126
+ clip-path: inset(50%);
127
+ white-space: nowrap;
128
+ }
129
+
@@ -0,0 +1,27 @@
1
+ /* ============================================================
2
+ Still Void — component styles
3
+ Import once: `import '@still-void/ui/style.css'`
4
+ Requires theme.css (tokens) to be loaded as well.
5
+ All values reference theme vars — no magic numbers.
6
+ ============================================================ */
7
+
8
+ /* ---------- base ---------- */
9
+ .sv-root,
10
+ [data-sv] body,
11
+ body.sv-body {
12
+ background: var(--sv-bg);
13
+ color: var(--sv-text);
14
+ font-family: var(--sv-font-body);
15
+ font-size: var(--sv-text-base);
16
+ line-height: 1.5;
17
+ -webkit-font-smoothing: antialiased;
18
+ }
19
+
20
+ /* Display headings always balance. */
21
+ .sv-display {
22
+ font-family: var(--sv-font-display);
23
+ letter-spacing: -0.02em;
24
+ text-wrap: balance;
25
+ color: var(--sv-text);
26
+ }
27
+