@gears-frontx/ui-kit 0.3.0-alpha.2 → 0.4.0-alpha.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 (493) hide show
  1. package/README.md +37 -0
  2. package/dist/accordion.d.ts +1 -0
  3. package/dist/accordion.js +35 -0
  4. package/dist/accordion.js.map +1 -0
  5. package/dist/alert-dialog.d.ts +1 -0
  6. package/dist/alert-dialog.js +97 -0
  7. package/dist/alert-dialog.js.map +1 -0
  8. package/dist/alert.d.ts +1 -0
  9. package/dist/alert.js +39 -0
  10. package/dist/alert.js.map +1 -0
  11. package/dist/aspect-ratio.d.ts +1 -0
  12. package/dist/aspect-ratio.js +19 -0
  13. package/dist/aspect-ratio.js.map +1 -0
  14. package/dist/attachment.d.ts +1 -0
  15. package/dist/attachment.js +133 -0
  16. package/dist/attachment.js.map +1 -0
  17. package/dist/avatar.d.ts +1 -0
  18. package/dist/avatar.js +87 -0
  19. package/dist/avatar.js.map +1 -0
  20. package/dist/badge.js +33 -46
  21. package/dist/badge.js.map +1 -1
  22. package/dist/breadcrumb.d.ts +1 -0
  23. package/dist/breadcrumb.js +81 -0
  24. package/dist/breadcrumb.js.map +1 -0
  25. package/dist/bubble.d.ts +1 -0
  26. package/dist/bubble.js +94 -0
  27. package/dist/bubble.js.map +1 -0
  28. package/dist/button-group.d.ts +1 -0
  29. package/dist/button-group.js +61 -0
  30. package/dist/button-group.js.map +1 -0
  31. package/dist/button.js +30 -29
  32. package/dist/button.js.map +1 -1
  33. package/dist/calendar.d.ts +1 -0
  34. package/dist/calendar.js +134 -0
  35. package/dist/calendar.js.map +1 -0
  36. package/dist/card.js +24 -24
  37. package/dist/carousel.d.ts +1 -0
  38. package/dist/carousel.js +163 -0
  39. package/dist/carousel.js.map +1 -0
  40. package/dist/chart.d.ts +1 -0
  41. package/dist/chart.js +202 -0
  42. package/dist/chart.js.map +1 -0
  43. package/dist/checkbox.js +14 -39
  44. package/dist/checkbox.js.map +1 -1
  45. package/dist/chunks/accordion.X_AK08Iv.css +1 -0
  46. package/dist/chunks/alert-dialog.B50f-Gsz.css +1 -0
  47. package/dist/chunks/alert.BJLRcB65.css +1 -0
  48. package/dist/chunks/aspect-ratio.DJbPE7BX.css +1 -0
  49. package/dist/chunks/attachment.rknKEWlr.css +1 -0
  50. package/dist/chunks/avatar.CsQmQnay.css +1 -0
  51. package/dist/chunks/badge.DR0epAiZ.css +1 -0
  52. package/dist/chunks/breadcrumb.QKz32ceR.css +1 -0
  53. package/dist/chunks/bubble.BKcAopT7.css +1 -0
  54. package/dist/chunks/button-group.D0Ir-jbL.css +1 -0
  55. package/dist/chunks/button.D69BdJF1.css +1 -0
  56. package/dist/chunks/calendar.Cnbv4EzY.css +1 -0
  57. package/dist/chunks/card.D3Ct_dza.css +1 -0
  58. package/dist/chunks/carousel.CjaKGN_D.css +1 -0
  59. package/dist/chunks/chart.CeyctrXQ.css +1 -0
  60. package/dist/chunks/checkbox.CZfE_PkU.css +1 -0
  61. package/dist/chunks/collapsible.BQ-sU5sQ.css +1 -0
  62. package/dist/chunks/combobox.CtYpZAKB.css +1 -0
  63. package/dist/chunks/command.Km60IuqD.css +1 -0
  64. package/dist/chunks/context-menu.Bjib7_AL.css +1 -0
  65. package/dist/chunks/data-table.DECm3qI-.css +1 -0
  66. package/dist/chunks/date-picker.BcRqyOg8.css +1 -0
  67. package/dist/chunks/dialog.BxcZ12Gb.css +1 -0
  68. package/dist/chunks/drawer.BkS_qEHj.css +1 -0
  69. package/dist/chunks/dropdown-menu.CDaeWYDT.css +1 -0
  70. package/dist/chunks/empty.B334jSES.css +1 -0
  71. package/dist/chunks/field.yTrg1G90.css +1 -0
  72. package/dist/chunks/hover-card.DmwvigMp.css +1 -0
  73. package/dist/chunks/input-group.CFIUP-Oh.css +1 -0
  74. package/dist/chunks/input-otp.XSpqyVij.css +1 -0
  75. package/dist/chunks/input.DvA_mTq8.css +1 -0
  76. package/dist/chunks/item.CLg1KaYF.css +1 -0
  77. package/dist/chunks/kbd.DZuUVB_m.css +1 -0
  78. package/dist/chunks/marker.DDxI_rZn.css +1 -0
  79. package/dist/chunks/menubar.CxRNI9o4.css +1 -0
  80. package/dist/chunks/message-scroller.CbLooS7Q.css +1 -0
  81. package/dist/chunks/message.BhD5JDJK.css +1 -0
  82. package/dist/chunks/native-select.BdYLTCZv.css +1 -0
  83. package/dist/chunks/navigation-menu.C2JGHAKD.css +1 -0
  84. package/dist/chunks/pagination.DUiQuWla.css +1 -0
  85. package/dist/chunks/popover.fOvPrnsr.css +1 -0
  86. package/dist/chunks/progress.Bp13t8iw.css +1 -0
  87. package/dist/chunks/questionnaire.DYnuWKAQ.css +1 -0
  88. package/dist/chunks/radio-group.CV3MBCsI.css +1 -0
  89. package/dist/chunks/resizable.B71V-1lR.css +1 -0
  90. package/dist/chunks/scroll-area.C4kWMAsU.css +1 -0
  91. package/dist/chunks/select.iEwV-sfJ.css +1 -0
  92. package/dist/chunks/sheet.DALPg9vf.css +1 -0
  93. package/dist/chunks/sidebar.CGTQhfWG.css +1 -0
  94. package/dist/chunks/slider.B5nouD7J.css +1 -0
  95. package/dist/chunks/spinner.UKK4f1tu.css +1 -0
  96. package/dist/chunks/switch.CIW9Jr1x.css +1 -0
  97. package/dist/chunks/table.CFAJfhd-.css +1 -0
  98. package/dist/chunks/tabs.C4jGj2Vg.css +1 -0
  99. package/dist/chunks/textarea.ORRSI69B.css +1 -0
  100. package/dist/chunks/toggle-group.Bd0cCCnV.css +1 -0
  101. package/dist/chunks/toggle.B9tvfl1n.css +1 -0
  102. package/dist/collapsible.d.ts +1 -0
  103. package/dist/collapsible.js +22 -0
  104. package/dist/collapsible.js.map +1 -0
  105. package/dist/combobox.d.ts +1 -0
  106. package/dist/combobox.js +159 -0
  107. package/dist/combobox.js.map +1 -0
  108. package/dist/command.d.ts +1 -0
  109. package/dist/command.js +75 -0
  110. package/dist/command.js.map +1 -0
  111. package/dist/components/accordion/accordion.d.ts +24 -0
  112. package/dist/components/accordion/accordion.d.ts.map +1 -0
  113. package/dist/components/accordion/public.d.ts +2 -0
  114. package/dist/components/accordion/public.d.ts.map +1 -0
  115. package/dist/components/alert/alert.d.ts +21 -0
  116. package/dist/components/alert/alert.d.ts.map +1 -0
  117. package/dist/components/alert/public.d.ts +2 -0
  118. package/dist/components/alert/public.d.ts.map +1 -0
  119. package/dist/components/alert-dialog/alert-dialog.d.ts +95 -0
  120. package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -0
  121. package/dist/components/alert-dialog/public.d.ts +2 -0
  122. package/dist/components/alert-dialog/public.d.ts.map +1 -0
  123. package/dist/components/aspect-ratio/aspect-ratio.d.ts +8 -0
  124. package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
  125. package/dist/components/aspect-ratio/public.d.ts +2 -0
  126. package/dist/components/aspect-ratio/public.d.ts.map +1 -0
  127. package/dist/components/attachment/attachment.d.ts +71 -0
  128. package/dist/components/attachment/attachment.d.ts.map +1 -0
  129. package/dist/components/attachment/public.d.ts +2 -0
  130. package/dist/components/attachment/public.d.ts.map +1 -0
  131. package/dist/components/avatar/avatar.d.ts +40 -0
  132. package/dist/components/avatar/avatar.d.ts.map +1 -0
  133. package/dist/components/avatar/public.d.ts +2 -0
  134. package/dist/components/avatar/public.d.ts.map +1 -0
  135. package/dist/components/badge/badge.d.ts +3 -16
  136. package/dist/components/badge/badge.d.ts.map +1 -1
  137. package/dist/components/badge/public.d.ts +1 -1
  138. package/dist/components/badge/public.d.ts.map +1 -1
  139. package/dist/components/breadcrumb/breadcrumb.d.ts +19 -0
  140. package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
  141. package/dist/components/breadcrumb/public.d.ts +2 -0
  142. package/dist/components/breadcrumb/public.d.ts.map +1 -0
  143. package/dist/components/bubble/bubble.d.ts +35 -0
  144. package/dist/components/bubble/bubble.d.ts.map +1 -0
  145. package/dist/components/bubble/public.d.ts +2 -0
  146. package/dist/components/bubble/public.d.ts.map +1 -0
  147. package/dist/components/button/button.d.ts +1 -2
  148. package/dist/components/button/button.d.ts.map +1 -1
  149. package/dist/components/button/public.d.ts +1 -1
  150. package/dist/components/button/public.d.ts.map +1 -1
  151. package/dist/components/button-group/button-group.d.ts +17 -0
  152. package/dist/components/button-group/button-group.d.ts.map +1 -0
  153. package/dist/components/button-group/public.d.ts +2 -0
  154. package/dist/components/button-group/public.d.ts.map +1 -0
  155. package/dist/components/calendar/calendar.d.ts +29 -0
  156. package/dist/components/calendar/calendar.d.ts.map +1 -0
  157. package/dist/components/calendar/public.d.ts +2 -0
  158. package/dist/components/calendar/public.d.ts.map +1 -0
  159. package/dist/components/carousel/carousel.d.ts +43 -0
  160. package/dist/components/carousel/carousel.d.ts.map +1 -0
  161. package/dist/components/carousel/public.d.ts +2 -0
  162. package/dist/components/carousel/public.d.ts.map +1 -0
  163. package/dist/components/chart/chart.d.ts +48 -0
  164. package/dist/components/chart/chart.d.ts.map +1 -0
  165. package/dist/components/chart/public.d.ts +2 -0
  166. package/dist/components/chart/public.d.ts.map +1 -0
  167. package/dist/components/checkbox/checkbox.d.ts.map +1 -1
  168. package/dist/components/collapsible/collapsible.d.ts +14 -0
  169. package/dist/components/collapsible/collapsible.d.ts.map +1 -0
  170. package/dist/components/collapsible/public.d.ts +2 -0
  171. package/dist/components/collapsible/public.d.ts.map +1 -0
  172. package/dist/components/combobox/combobox.d.ts +128 -0
  173. package/dist/components/combobox/combobox.d.ts.map +1 -0
  174. package/dist/components/combobox/public.d.ts +2 -0
  175. package/dist/components/combobox/public.d.ts.map +1 -0
  176. package/dist/components/command/command.d.ts +44 -0
  177. package/dist/components/command/command.d.ts.map +1 -0
  178. package/dist/components/command/public.d.ts +2 -0
  179. package/dist/components/command/public.d.ts.map +1 -0
  180. package/dist/components/context-menu/context-menu.d.ts +82 -0
  181. package/dist/components/context-menu/context-menu.d.ts.map +1 -0
  182. package/dist/components/context-menu/public.d.ts +2 -0
  183. package/dist/components/context-menu/public.d.ts.map +1 -0
  184. package/dist/components/data-table/data-table.d.ts +81 -0
  185. package/dist/components/data-table/data-table.d.ts.map +1 -0
  186. package/dist/components/data-table/public.d.ts +2 -0
  187. package/dist/components/data-table/public.d.ts.map +1 -0
  188. package/dist/components/date-picker/date-picker.d.ts +76 -0
  189. package/dist/components/date-picker/date-picker.d.ts.map +1 -0
  190. package/dist/components/date-picker/public.d.ts +2 -0
  191. package/dist/components/date-picker/public.d.ts.map +1 -0
  192. package/dist/components/dialog/dialog.d.ts +12 -3
  193. package/dist/components/dialog/dialog.d.ts.map +1 -1
  194. package/dist/components/direction/direction.d.ts +2 -0
  195. package/dist/components/direction/direction.d.ts.map +1 -0
  196. package/dist/components/direction/public.d.ts +2 -0
  197. package/dist/components/direction/public.d.ts.map +1 -0
  198. package/dist/components/drawer/drawer.d.ts +83 -0
  199. package/dist/components/drawer/drawer.d.ts.map +1 -0
  200. package/dist/components/drawer/public.d.ts +2 -0
  201. package/dist/components/drawer/public.d.ts.map +1 -0
  202. package/dist/components/dropdown-menu/dropdown-menu.d.ts +1 -4
  203. package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  204. package/dist/components/empty/empty.d.ts +23 -0
  205. package/dist/components/empty/empty.d.ts.map +1 -0
  206. package/dist/components/empty/public.d.ts +2 -0
  207. package/dist/components/empty/public.d.ts.map +1 -0
  208. package/dist/components/field/field.d.ts +33 -12
  209. package/dist/components/field/field.d.ts.map +1 -1
  210. package/dist/components/field/public.d.ts +1 -1
  211. package/dist/components/field/public.d.ts.map +1 -1
  212. package/dist/components/hover-card/hover-card.d.ts +33 -0
  213. package/dist/components/hover-card/hover-card.d.ts.map +1 -0
  214. package/dist/components/hover-card/public.d.ts +2 -0
  215. package/dist/components/hover-card/public.d.ts.map +1 -0
  216. package/dist/components/input-group/input-group.d.ts +38 -0
  217. package/dist/components/input-group/input-group.d.ts.map +1 -0
  218. package/dist/components/input-group/public.d.ts +2 -0
  219. package/dist/components/input-group/public.d.ts.map +1 -0
  220. package/dist/components/input-otp/input-otp.d.ts +17 -0
  221. package/dist/components/input-otp/input-otp.d.ts.map +1 -0
  222. package/dist/components/input-otp/public.d.ts +2 -0
  223. package/dist/components/input-otp/public.d.ts.map +1 -0
  224. package/dist/components/item/item.d.ts +47 -0
  225. package/dist/components/item/item.d.ts.map +1 -0
  226. package/dist/components/item/public.d.ts +2 -0
  227. package/dist/components/item/public.d.ts.map +1 -0
  228. package/dist/components/kbd/kbd.d.ts +8 -0
  229. package/dist/components/kbd/kbd.d.ts.map +1 -0
  230. package/dist/components/kbd/public.d.ts +2 -0
  231. package/dist/components/kbd/public.d.ts.map +1 -0
  232. package/dist/components/marker/marker.d.ts +19 -0
  233. package/dist/components/marker/marker.d.ts.map +1 -0
  234. package/dist/components/marker/public.d.ts +2 -0
  235. package/dist/components/marker/public.d.ts.map +1 -0
  236. package/dist/components/menubar/menubar.d.ts +57 -0
  237. package/dist/components/menubar/menubar.d.ts.map +1 -0
  238. package/dist/components/menubar/public.d.ts +2 -0
  239. package/dist/components/menubar/public.d.ts.map +1 -0
  240. package/dist/components/message/message.d.ts +35 -0
  241. package/dist/components/message/message.d.ts.map +1 -0
  242. package/dist/components/message/public.d.ts +2 -0
  243. package/dist/components/message/public.d.ts.map +1 -0
  244. package/dist/components/message-scroller/message-scroller.d.ts +75 -0
  245. package/dist/components/message-scroller/message-scroller.d.ts.map +1 -0
  246. package/dist/components/message-scroller/public.d.ts +2 -0
  247. package/dist/components/message-scroller/public.d.ts.map +1 -0
  248. package/dist/components/native-select/native-select.d.ts +14 -0
  249. package/dist/components/native-select/native-select.d.ts.map +1 -0
  250. package/dist/components/native-select/public.d.ts +2 -0
  251. package/dist/components/native-select/public.d.ts.map +1 -0
  252. package/dist/components/navigation-menu/navigation-menu.d.ts +83 -0
  253. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
  254. package/dist/components/navigation-menu/public.d.ts +2 -0
  255. package/dist/components/navigation-menu/public.d.ts.map +1 -0
  256. package/dist/components/pagination/pagination.d.ts +37 -0
  257. package/dist/components/pagination/pagination.d.ts.map +1 -0
  258. package/dist/components/pagination/public.d.ts +2 -0
  259. package/dist/components/pagination/public.d.ts.map +1 -0
  260. package/dist/components/popover/popover.d.ts +32 -0
  261. package/dist/components/popover/popover.d.ts.map +1 -0
  262. package/dist/components/popover/public.d.ts +2 -0
  263. package/dist/components/popover/public.d.ts.map +1 -0
  264. package/dist/components/progress/progress.d.ts +22 -0
  265. package/dist/components/progress/progress.d.ts.map +1 -0
  266. package/dist/components/progress/public.d.ts +2 -0
  267. package/dist/components/progress/public.d.ts.map +1 -0
  268. package/dist/components/questionnaire/public.d.ts +2 -0
  269. package/dist/components/questionnaire/public.d.ts.map +1 -0
  270. package/dist/components/questionnaire/questionnaire.d.ts +192 -0
  271. package/dist/components/questionnaire/questionnaire.d.ts.map +1 -0
  272. package/dist/components/resizable/public.d.ts +2 -0
  273. package/dist/components/resizable/public.d.ts.map +1 -0
  274. package/dist/components/resizable/resizable.d.ts +12 -0
  275. package/dist/components/resizable/resizable.d.ts.map +1 -0
  276. package/dist/components/scroll-area/public.d.ts +2 -0
  277. package/dist/components/scroll-area/public.d.ts.map +1 -0
  278. package/dist/components/scroll-area/scroll-area.d.ts +10 -0
  279. package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
  280. package/dist/components/select/select.d.ts +3 -5
  281. package/dist/components/select/select.d.ts.map +1 -1
  282. package/dist/components/sheet/public.d.ts +2 -0
  283. package/dist/components/sheet/public.d.ts.map +1 -0
  284. package/dist/components/sheet/sheet.d.ts +56 -0
  285. package/dist/components/sheet/sheet.d.ts.map +1 -0
  286. package/dist/components/sidebar/public.d.ts +2 -0
  287. package/dist/components/sidebar/public.d.ts.map +1 -0
  288. package/dist/components/sidebar/sidebar.d.ts +167 -0
  289. package/dist/components/sidebar/sidebar.d.ts.map +1 -0
  290. package/dist/components/sidebar/use-mobile.d.ts +18 -0
  291. package/dist/components/sidebar/use-mobile.d.ts.map +1 -0
  292. package/dist/components/slider/public.d.ts +2 -0
  293. package/dist/components/slider/public.d.ts.map +1 -0
  294. package/dist/components/slider/slider.d.ts +6 -0
  295. package/dist/components/slider/slider.d.ts.map +1 -0
  296. package/dist/components/spinner/public.d.ts +2 -0
  297. package/dist/components/spinner/public.d.ts.map +1 -0
  298. package/dist/components/spinner/spinner.d.ts +4 -0
  299. package/dist/components/spinner/spinner.d.ts.map +1 -0
  300. package/dist/components/textarea/textarea.d.ts +1 -1
  301. package/dist/components/textarea/textarea.d.ts.map +1 -1
  302. package/dist/components/toast/toast.d.ts.map +1 -1
  303. package/dist/components/toggle/public.d.ts +2 -0
  304. package/dist/components/toggle/public.d.ts.map +1 -0
  305. package/dist/components/toggle/toggle.d.ts +11 -0
  306. package/dist/components/toggle/toggle.d.ts.map +1 -0
  307. package/dist/components/toggle-group/public.d.ts +2 -0
  308. package/dist/components/toggle-group/public.d.ts.map +1 -0
  309. package/dist/components/toggle-group/toggle-group.d.ts +13 -0
  310. package/dist/components/toggle-group/toggle-group.d.ts.map +1 -0
  311. package/dist/components/tooltip/tooltip.d.ts +1 -4
  312. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  313. package/dist/context-menu.d.ts +1 -0
  314. package/dist/context-menu.js +201 -0
  315. package/dist/context-menu.js.map +1 -0
  316. package/dist/data-table.d.ts +1 -0
  317. package/dist/data-table.js +162 -0
  318. package/dist/data-table.js.map +1 -0
  319. package/dist/date-picker.d.ts +1 -0
  320. package/dist/date-picker.js +175 -0
  321. package/dist/date-picker.js.map +1 -0
  322. package/dist/dialog.js +40 -55
  323. package/dist/dialog.js.map +1 -1
  324. package/dist/direction.d.ts +1 -0
  325. package/dist/direction.js +6 -0
  326. package/dist/direction.js.map +1 -0
  327. package/dist/docs/accordion.md +86 -0
  328. package/dist/docs/alert-dialog.md +151 -0
  329. package/dist/docs/alert.md +74 -0
  330. package/dist/docs/aspect-ratio.md +65 -0
  331. package/dist/docs/attachment.md +254 -0
  332. package/dist/docs/avatar.md +185 -0
  333. package/dist/docs/badge.md +72 -60
  334. package/dist/docs/breadcrumb.md +86 -0
  335. package/dist/docs/bubble.md +233 -0
  336. package/dist/docs/button-group.md +107 -0
  337. package/dist/docs/calendar.md +114 -0
  338. package/dist/docs/card.md +15 -7
  339. package/dist/docs/carousel.md +152 -0
  340. package/dist/docs/chart.md +174 -0
  341. package/dist/docs/collapsible.md +80 -0
  342. package/dist/docs/combobox.md +192 -0
  343. package/dist/docs/command.md +171 -0
  344. package/dist/docs/context-menu.md +173 -0
  345. package/dist/docs/data-table.md +183 -0
  346. package/dist/docs/date-picker.md +137 -0
  347. package/dist/docs/dialog.md +33 -0
  348. package/dist/docs/direction.md +51 -0
  349. package/dist/docs/drawer.md +242 -0
  350. package/dist/docs/empty.md +80 -0
  351. package/dist/docs/field.md +105 -38
  352. package/dist/docs/hover-card.md +81 -0
  353. package/dist/docs/input-group.md +158 -0
  354. package/dist/docs/input-otp.md +116 -0
  355. package/dist/docs/input.md +31 -20
  356. package/dist/docs/item.md +106 -0
  357. package/dist/docs/kbd.md +53 -0
  358. package/dist/docs/marker.md +178 -0
  359. package/dist/docs/menubar.md +108 -0
  360. package/dist/docs/message-scroller.md +221 -0
  361. package/dist/docs/message.md +183 -0
  362. package/dist/docs/native-select.md +93 -0
  363. package/dist/docs/navigation-menu.md +176 -0
  364. package/dist/docs/pagination.md +96 -0
  365. package/dist/docs/popover.md +87 -0
  366. package/dist/docs/progress.md +58 -0
  367. package/dist/docs/questionnaire.md +311 -0
  368. package/dist/docs/resizable.md +95 -0
  369. package/dist/docs/scroll-area.md +93 -0
  370. package/dist/docs/sheet.md +168 -0
  371. package/dist/docs/sidebar.md +309 -0
  372. package/dist/docs/slider.md +66 -0
  373. package/dist/docs/spinner.md +55 -0
  374. package/dist/docs/table.md +85 -20
  375. package/dist/docs/textarea.md +19 -2
  376. package/dist/docs/toggle-group.md +77 -0
  377. package/dist/docs/toggle.md +58 -0
  378. package/dist/docs/typeset.md +75 -0
  379. package/dist/drawer.d.ts +1 -0
  380. package/dist/drawer.js +120 -0
  381. package/dist/drawer.js.map +1 -0
  382. package/dist/dropdown-menu.js +98 -129
  383. package/dist/dropdown-menu.js.map +1 -1
  384. package/dist/empty.d.ts +1 -0
  385. package/dist/empty.js +50 -0
  386. package/dist/empty.js.map +1 -0
  387. package/dist/field.js +105 -20
  388. package/dist/field.js.map +1 -1
  389. package/dist/hover-card.d.ts +1 -0
  390. package/dist/hover-card.js +44 -0
  391. package/dist/hover-card.js.map +1 -0
  392. package/dist/index.d.ts +44 -0
  393. package/dist/index.d.ts.map +1 -1
  394. package/dist/index.js +431 -93
  395. package/dist/index.js.map +1 -1
  396. package/dist/input-group.d.ts +1 -0
  397. package/dist/input-group.js +91 -0
  398. package/dist/input-group.js.map +1 -0
  399. package/dist/input-otp.d.ts +1 -0
  400. package/dist/input-otp.js +28 -0
  401. package/dist/input-otp.js.map +1 -0
  402. package/dist/input.js +17 -17
  403. package/dist/item.d.ts +1 -0
  404. package/dist/item.js +107 -0
  405. package/dist/item.js.map +1 -0
  406. package/dist/kbd.d.ts +1 -0
  407. package/dist/kbd.js +17 -0
  408. package/dist/kbd.js.map +1 -0
  409. package/dist/marker.d.ts +1 -0
  410. package/dist/marker.js +52 -0
  411. package/dist/marker.js.map +1 -0
  412. package/dist/menubar.d.ts +1 -0
  413. package/dist/menubar.js +50 -0
  414. package/dist/menubar.js.map +1 -0
  415. package/dist/message-scroller.d.ts +1 -0
  416. package/dist/message-scroller.js +69 -0
  417. package/dist/message-scroller.js.map +1 -0
  418. package/dist/message.d.ts +1 -0
  419. package/dist/message.js +37 -0
  420. package/dist/message.js.map +1 -0
  421. package/dist/native-select.d.ts +1 -0
  422. package/dist/native-select.js +42 -0
  423. package/dist/native-select.js.map +1 -0
  424. package/dist/navigation-menu.d.ts +1 -0
  425. package/dist/navigation-menu.js +97 -0
  426. package/dist/navigation-menu.js.map +1 -0
  427. package/dist/pagination.d.ts +1 -0
  428. package/dist/pagination.js +104 -0
  429. package/dist/pagination.js.map +1 -0
  430. package/dist/popover.d.ts +1 -0
  431. package/dist/popover.js +59 -0
  432. package/dist/popover.js.map +1 -0
  433. package/dist/progress.d.ts +1 -0
  434. package/dist/progress.js +36 -0
  435. package/dist/progress.js.map +1 -0
  436. package/dist/questionnaire.d.ts +1 -0
  437. package/dist/questionnaire.js +209 -0
  438. package/dist/questionnaire.js.map +1 -0
  439. package/dist/radio-group.js +7 -7
  440. package/dist/resizable.d.ts +1 -0
  441. package/dist/resizable.js +24 -0
  442. package/dist/resizable.js.map +1 -0
  443. package/dist/scroll-area.d.ts +1 -0
  444. package/dist/scroll-area.js +32 -0
  445. package/dist/scroll-area.js.map +1 -0
  446. package/dist/select.js +83 -107
  447. package/dist/select.js.map +1 -1
  448. package/dist/sheet.d.ts +1 -0
  449. package/dist/sheet.js +94 -0
  450. package/dist/sheet.js.map +1 -0
  451. package/dist/sidebar.d.ts +1 -0
  452. package/dist/sidebar.js +386 -0
  453. package/dist/sidebar.js.map +1 -0
  454. package/dist/slider.d.ts +1 -0
  455. package/dist/slider.js +40 -0
  456. package/dist/slider.js.map +1 -0
  457. package/dist/spinner.d.ts +1 -0
  458. package/dist/spinner.js +21 -0
  459. package/dist/spinner.js.map +1 -0
  460. package/dist/switch.js +11 -11
  461. package/dist/table.js +34 -35
  462. package/dist/table.js.map +1 -1
  463. package/dist/tabs.js +17 -17
  464. package/dist/textarea.js +14 -7
  465. package/dist/textarea.js.map +1 -1
  466. package/dist/theme.css +35 -20
  467. package/dist/toast.js +55 -164
  468. package/dist/toast.js.map +1 -1
  469. package/dist/toggle-group.d.ts +1 -0
  470. package/dist/toggle-group.js +46 -0
  471. package/dist/toggle-group.js.map +1 -0
  472. package/dist/toggle.d.ts +1 -0
  473. package/dist/toggle.js +39 -0
  474. package/dist/toggle.js.map +1 -0
  475. package/dist/tooltip.js.map +1 -1
  476. package/dist/typeset.css +532 -0
  477. package/dist/utilities.css +583 -0
  478. package/llms.txt +268 -18
  479. package/package.json +16 -3
  480. package/dist/chunks/badge.BcdxDzJ7.css +0 -1
  481. package/dist/chunks/button.DNo8DTR3.css +0 -1
  482. package/dist/chunks/card.B0AcyAT1.css +0 -1
  483. package/dist/chunks/checkbox.D3kdAalh.css +0 -1
  484. package/dist/chunks/dialog.D6LS2vnG.css +0 -1
  485. package/dist/chunks/dropdown-menu.DmDZc5gB.css +0 -1
  486. package/dist/chunks/field.BNZx8HfN.css +0 -1
  487. package/dist/chunks/input.C8RDCC-a.css +0 -1
  488. package/dist/chunks/radio-group.zAFY9yCF.css +0 -1
  489. package/dist/chunks/select.Dt0diN4P.css +0 -1
  490. package/dist/chunks/switch.CsaIRnCA.css +0 -1
  491. package/dist/chunks/table.BuWHXL6e.css +0 -1
  492. package/dist/chunks/tabs.KEksCAxN.css +0 -1
  493. package/dist/chunks/textarea.N3iiWUuz.css +0 -1
@@ -0,0 +1,532 @@
1
+ /*
2
+ * shadcn/ui's Typeset (MIT, https://ui.shadcn.com/docs/typeset; see the
3
+ * repository NOTICE file for attribution) — a prose stylesheet for
4
+ * rendered markdown/HTML a consumer doesn't otherwise control (chat
5
+ * messages, docs, CMS content). Ported verbatim from the file the upstream
6
+ * builder generates (fetched from https://ui.shadcn.com/typeset.css at
7
+ * default settings; the builder's whole output IS this file — there is no
8
+ * separate "source" to diverge from), with exactly one class of edit: every
9
+ * `--color-*` Tailwind theme reference retargeted to this kit's own
10
+ * theme.css token of the same role (`--color-foreground` -> `--foreground`,
11
+ * `--color-muted-foreground` -> `--muted-foreground`, `--color-border` ->
12
+ * `--border`, `--color-primary` -> `--primary`, `--color-ring` -> `--ring`,
13
+ * `--color-muted` -> `--muted`) and `--font-heading` (a project-specific
14
+ * token the upstream generator assumes, not a Tailwind theme color) mapped
15
+ * to `--font-sans` — the kit ships one type family for both body and
16
+ * heading roles, unlike upstream's separate heading-font slot. `--radius`
17
+ * and `--font-mono` already match this kit's own token names and are
18
+ * unchanged. Every `var(--token, fallback)` keeps its upstream fallback
19
+ * verbatim, so the file still renders sanely even if theme.css isn't
20
+ * loaded.
21
+ *
22
+ * Global classes, like theme.css — this file is NOT a CSS Module. Import it
23
+ * once alongside theme.css and theme.css itself (Typeset reads its color/
24
+ * radius/font tokens from that file, and paints nothing on its own if it
25
+ * isn't loaded — see the fallbacks above).
26
+ *
27
+ * `@layer components` (native CSS cascade layers, not a Tailwind construct)
28
+ * is upstream's own device for staying overridable without `!important`
29
+ * — kept as-is: any un-layered rule a consumer writes, including a plain
30
+ * CSS Modules class from elsewhere in this kit, still wins the cascade over
31
+ * anything declared here.
32
+ *
33
+ * Usage (see typeset.md for the full contract): wrap rendered content in
34
+ * `<div class="typeset">`, optionally alongside a preset class
35
+ * (`typeset-docs`, `typeset-chat`, `typeset-reading`, `typeset-compact`,
36
+ * `typeset-large`) that retunes the three rhythm variables below. Add
37
+ * `not-typeset` (class or `data-not-typeset` attribute) to opt a nested
38
+ * subtree out entirely — e.g. an interactive kit component embedded inside
39
+ * otherwise-typeset content. Wrap a wide block (typically a `<table>`) in
40
+ * `typeset-scroll` to let it scroll horizontally instead of compressing.
41
+ */
42
+
43
+ @layer components {
44
+ .typeset {
45
+ --typeset-font-body: inherit;
46
+ --typeset-font-heading: var(--font-sans);
47
+ --typeset-font-mono: var(--font-mono);
48
+ --typeset-size: 1em;
49
+ --typeset-leading: 1.75;
50
+ --typeset-flow: 1.25em;
51
+ }
52
+ }
53
+
54
+ @layer components {
55
+ .typeset {
56
+ font-family: var(--typeset-font-body);
57
+ font-size: calc(var(--typeset-size) * 1.125);
58
+ line-height: var(--typeset-leading);
59
+ color: var(--foreground, currentColor);
60
+ overflow-wrap: break-word;
61
+ margin-trim: block-start;
62
+
63
+ --typeset-muted: var(--muted-foreground, color-mix(in oklab, currentColor 60%, transparent));
64
+ --typeset-rule: var(--border, color-mix(in oklab, currentColor 20%, transparent));
65
+ }
66
+
67
+ @media (min-width: 48rem), print {
68
+ .typeset {
69
+ font-size: var(--typeset-size);
70
+ }
71
+ }
72
+
73
+ .typeset *:not(:where(.not-typeset, [data-not-typeset], .not-typeset *, [data-not-typeset] *)) {
74
+ /* Paragraphs. */
75
+ &:where(p) {
76
+ margin-block-start: var(--typeset-flow);
77
+ margin-block-end: 0;
78
+ }
79
+
80
+ /* Headings. */
81
+ &:where(h1, h2, h3, h4, h5, h6) {
82
+ color: var(--foreground, currentColor);
83
+ font-family: var(--typeset-font-heading);
84
+ font-weight: 600;
85
+ margin-block-end: 0;
86
+ }
87
+ &:where(h1) {
88
+ font-size: 1.75em;
89
+ line-height: 1.3;
90
+ margin-block-start: var(--typeset-flow);
91
+ }
92
+ &:where(h2) {
93
+ font-size: 1.25em;
94
+ line-height: 1.4;
95
+ margin-block-start: calc(var(--typeset-flow) * 1.4);
96
+ }
97
+ &:where(h3) {
98
+ font-size: 1.125em;
99
+ line-height: 1.45;
100
+ margin-block-start: var(--typeset-flow);
101
+ }
102
+ &:where(h4) {
103
+ font-size: 1em;
104
+ line-height: 1.5;
105
+ margin-block-start: var(--typeset-flow);
106
+ }
107
+ &:where(h5) {
108
+ font-size: 0.875em;
109
+ line-height: 1.5;
110
+ font-weight: 500;
111
+ color: var(--typeset-muted);
112
+ margin-block-start: calc(var(--typeset-flow) / 0.875);
113
+ }
114
+ &:where(h6) {
115
+ font-size: 0.8125em;
116
+ line-height: 1.5;
117
+ font-weight: 500;
118
+ letter-spacing: 0.08em;
119
+ text-transform: uppercase;
120
+ color: var(--typeset-muted);
121
+ margin-block-start: calc(var(--typeset-flow) / 0.8125);
122
+ }
123
+ /* Anchors. */
124
+ &:where([id]) {
125
+ scroll-margin-block-start: var(--typeset-flow);
126
+ }
127
+
128
+ /* Headings own the space below them. */
129
+ &:where(h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + *) {
130
+ margin-block-start: 1em;
131
+ }
132
+ &:where(:is(h1, h2, h3, h4) :is(code)) {
133
+ font-size: 0.9em;
134
+ }
135
+
136
+ /* Links. */
137
+ &:where(a) {
138
+ color: inherit;
139
+ font-weight: 500;
140
+ text-decoration-line: underline;
141
+ text-decoration-color: color-mix(in oklab, currentColor 30%, transparent);
142
+ }
143
+ &:where(a:hover) {
144
+ text-decoration-color: currentColor;
145
+ }
146
+ &:where(a:focus-visible) {
147
+ outline: 2px solid var(--ring, currentColor);
148
+ outline-offset: 2px;
149
+ border-radius: 0.125em;
150
+ }
151
+ &:where(:is(h1, h2, h3, h4, h5, h6) :is(a)) {
152
+ font-weight: inherit;
153
+ }
154
+
155
+ /* Inline semantics. */
156
+ &:where(strong, b) {
157
+ font-weight: 600;
158
+ }
159
+ &:where(:is(h1, h2, h3, h4) :is(strong, b)) {
160
+ font-weight: 600;
161
+ }
162
+ &:where(mark) {
163
+ background-color: color-mix(in oklab, oklch(0.86 0.17 95) 40%, transparent);
164
+ color: inherit;
165
+ padding: 0.05em 0.15em;
166
+ border-radius: 0.2em;
167
+ }
168
+ &:where(abbr[title]) {
169
+ text-decoration-line: underline;
170
+ text-decoration-style: dotted;
171
+ text-underline-offset: 0.2em;
172
+ cursor: help;
173
+ }
174
+ &:where(del, s) {
175
+ color: var(--typeset-muted);
176
+ text-decoration-line: line-through;
177
+ }
178
+ &:where(sup, sub) {
179
+ font-size: 0.75em;
180
+ line-height: 0;
181
+ position: relative;
182
+ vertical-align: baseline;
183
+ }
184
+ &:where(sup) {
185
+ top: -0.5em;
186
+ }
187
+ &:where(sub) {
188
+ bottom: -0.25em;
189
+ }
190
+ &:where(sup a) {
191
+ text-decoration-line: none;
192
+ font-weight: 500;
193
+ }
194
+
195
+ /* Lists. */
196
+ &:where(ul) {
197
+ list-style-type: disc;
198
+ }
199
+ &:where(ol) {
200
+ list-style-type: decimal;
201
+ }
202
+ &:where(ul ul) {
203
+ list-style-type: circle;
204
+ }
205
+ &:where(ul ul ul) {
206
+ list-style-type: square;
207
+ }
208
+ &:where(ol[type='a' i]) {
209
+ list-style-type: lower-alpha;
210
+ }
211
+ &:where(ol[type='i' i]) {
212
+ list-style-type: lower-roman;
213
+ }
214
+ &:where(ol[type='A' s]) {
215
+ list-style-type: upper-alpha;
216
+ }
217
+ &:where(ol[type='I' s]) {
218
+ list-style-type: upper-roman;
219
+ }
220
+ &:where(ul, ol) {
221
+ margin-block-start: var(--typeset-flow);
222
+ margin-block-end: 0;
223
+ padding-inline-start: 1.5em;
224
+ }
225
+ &:where(li) {
226
+ margin-block-start: 0.5em;
227
+ padding-inline-start: 0.4em;
228
+ }
229
+ &:where(li > p, li > ul, li > ol) {
230
+ margin-block-start: 0.5em;
231
+ }
232
+ &:where(ul > li)::marker {
233
+ color: var(--typeset-muted);
234
+ }
235
+ &:where(ol > li)::marker {
236
+ color: var(--typeset-muted);
237
+ }
238
+
239
+ /* GFM task lists. */
240
+ &:where(ul.contains-task-list) {
241
+ list-style-type: none;
242
+ padding-inline-start: 0.25em;
243
+ }
244
+ &:where(li.task-list-item > input[type='checkbox']) {
245
+ margin-inline-end: 0.5em;
246
+ vertical-align: -0.1em;
247
+ accent-color: var(--primary, currentColor);
248
+ }
249
+
250
+ /* Disclosures. */
251
+ &:where(details) {
252
+ margin-block-start: var(--typeset-flow);
253
+ margin-block-end: 0;
254
+ }
255
+ &:where(summary) {
256
+ cursor: pointer;
257
+ font-weight: 500;
258
+ }
259
+ &:where(summary)::marker {
260
+ color: var(--typeset-muted);
261
+ }
262
+
263
+ /* Keyboard keys. */
264
+ &:where(kbd) {
265
+ font-family: inherit;
266
+ font-size: 0.85em;
267
+ font-weight: 500;
268
+ border: 1px solid var(--typeset-rule);
269
+ border-block-end-width: 2px;
270
+ border-radius: min(calc(var(--radius, 0.5em) * 0.6), 0.35em);
271
+ padding: 0.0625em 0.35em;
272
+ }
273
+
274
+ /* Definition lists. */
275
+ &:where(dl) {
276
+ margin-block-start: var(--typeset-flow);
277
+ margin-block-end: 0;
278
+ }
279
+ &:where(dt) {
280
+ font-weight: 500;
281
+ margin-block-start: 1em;
282
+ }
283
+ &:where(dt + dt) {
284
+ margin-block-start: 0.25em;
285
+ }
286
+ &:where(dd) {
287
+ margin-block-start: 0.25em;
288
+ margin-inline-start: 0;
289
+ padding-inline-start: 1em;
290
+ color: var(--typeset-muted);
291
+ }
292
+
293
+ /* Inline code. */
294
+ &:where(:not(pre) > code) {
295
+ background-color: var(--muted, color-mix(in oklab, currentColor 8%, transparent));
296
+ font-family: var(--typeset-font-mono);
297
+ font-size: 0.85em;
298
+ border-radius: min(calc(var(--radius, 0.5em) * 0.6), 0.35em);
299
+ padding: 0.125em 0.3em;
300
+ }
301
+
302
+ /* Code blocks. */
303
+ &:where(pre) {
304
+ background-color: var(--muted, color-mix(in oklab, currentColor 8%, transparent));
305
+ font-family: var(--typeset-font-mono);
306
+ font-size: 0.875em;
307
+ line-height: 1.5;
308
+ tab-size: 2;
309
+ direction: ltr;
310
+ border-radius: var(--radius, 0.5em);
311
+ padding: 0.75em 1em;
312
+ overflow-x: auto;
313
+ margin-block-start: calc(var(--typeset-flow) / 0.875);
314
+ margin-block-end: 0;
315
+ }
316
+ &:where(pre code) {
317
+ background-color: transparent;
318
+ font-family: inherit;
319
+ font-size: inherit;
320
+ padding: 0;
321
+ border-radius: 0;
322
+ }
323
+
324
+ /* Blockquote. */
325
+ &:where(blockquote) {
326
+ border-inline-start: 2px solid var(--typeset-rule);
327
+ padding-inline-start: 1em;
328
+ margin-block-start: var(--typeset-flow);
329
+ margin-block-end: 0;
330
+ margin-inline: 0;
331
+ }
332
+
333
+ /* Dividers. */
334
+ &:where(hr) {
335
+ border: 0;
336
+ border-block-start: 1px solid var(--typeset-rule);
337
+ margin-block-start: calc(var(--typeset-flow) * 2.4);
338
+ margin-block-end: 0;
339
+ }
340
+ &:where(hr + h1, hr + h2, hr + h3, hr + h4) {
341
+ margin-block-start: var(--typeset-flow);
342
+ }
343
+
344
+ /* GFM footnotes. */
345
+ &:where(.footnotes, [data-footnotes]) {
346
+ margin-block-start: calc(var(--typeset-flow) * 2);
347
+ border-block-start: 1px solid var(--typeset-rule);
348
+ padding-block-start: var(--typeset-flow);
349
+ font-size: 0.875em;
350
+ color: var(--typeset-muted);
351
+ }
352
+
353
+ /* Math. */
354
+ &:where(math[display='block']) {
355
+ margin-block-start: var(--typeset-flow);
356
+ margin-block-end: 0;
357
+ overflow-x: auto;
358
+ overflow-y: hidden;
359
+ padding-block: 0.25em;
360
+ }
361
+
362
+ /* Media. */
363
+ &:where(img, video) {
364
+ border-radius: var(--radius, 0.5em);
365
+ max-width: 100%;
366
+ height: auto;
367
+ margin-block-start: var(--typeset-flow);
368
+ margin-block-end: 0;
369
+ }
370
+ &:where(p img) {
371
+ margin-block-start: 0;
372
+ }
373
+ &:where(figure) {
374
+ margin-block-start: var(--typeset-flow);
375
+ margin-block-end: 0;
376
+ margin-inline: 0;
377
+ }
378
+ &:where(figcaption, caption) {
379
+ color: var(--typeset-muted);
380
+ font-size: 0.875em;
381
+ text-align: center;
382
+ margin-block-start: calc(0.75em / 0.875);
383
+ }
384
+ &:where(caption) {
385
+ caption-side: bottom;
386
+ }
387
+
388
+ /* Tables. Separators sit on cells, not tr:last-child: append-safe.
389
+ Bare tables stay real tables (keep their semantics) and wrap to fit. */
390
+ &:where(table) {
391
+ max-width: 100%;
392
+ font-size: 1em;
393
+ line-height: 1.5;
394
+ font-variant-numeric: tabular-nums;
395
+ border-collapse: separate;
396
+ border-spacing: 0;
397
+ border-block-end: 1px solid var(--typeset-rule);
398
+ margin-block-start: var(--typeset-flow);
399
+ margin-block-end: 0;
400
+ }
401
+
402
+ /* Horizontal scroll for any wide block. Wrap it and the wrapper owns the
403
+ flow margin. Tables shrink to fit, so widen the table to make it scroll
404
+ instead of compress. */
405
+ &:where(.typeset-scroll) {
406
+ overflow-x: auto;
407
+ margin-block-start: var(--typeset-flow);
408
+ }
409
+ &:where(.typeset-scroll > *) {
410
+ margin-block-start: 0;
411
+ }
412
+ &:where(.typeset-scroll table) {
413
+ width: max-content;
414
+ max-width: none;
415
+ }
416
+ &:where(thead th) {
417
+ font-weight: 500;
418
+ text-align: start;
419
+ white-space: nowrap;
420
+ padding: 0.65em 1em;
421
+ }
422
+ &:where(:is(tbody, tfoot) :is(td, th)) {
423
+ padding: 0.75em 1em;
424
+ text-align: start;
425
+ vertical-align: top;
426
+ border-block-start: 1px solid var(--typeset-rule);
427
+ }
428
+ &:where(tbody th, tfoot th) {
429
+ font-weight: 500;
430
+ }
431
+ &:where(th:first-child, td:first-child) {
432
+ padding-inline-start: 0;
433
+ }
434
+ &:where(th[align='center'], td[align='center']) {
435
+ text-align: center;
436
+ }
437
+ &:where(th[align='right'], td[align='right']) {
438
+ text-align: end;
439
+ }
440
+
441
+ /* Blocks inside list items keep the list's tighter rhythm. */
442
+ &:where(li > blockquote, li > table, li > figure) {
443
+ margin-block-start: 0.5em;
444
+ }
445
+ &:where(li > pre) {
446
+ margin-block-start: calc(0.5em / 0.875);
447
+ }
448
+
449
+ @media print {
450
+ &:where(pre, table, blockquote, figure) {
451
+ break-inside: avoid;
452
+ }
453
+ &:where(h1, h2, h3, h4) {
454
+ break-after: avoid;
455
+ }
456
+ }
457
+
458
+ /* Forced colors strips the code background, so give it a border. */
459
+ @media (forced-colors: active) {
460
+ &:where(:not(pre) > code) {
461
+ border: 1px solid;
462
+ }
463
+ }
464
+ }
465
+
466
+ /* First child adds no space above. Last so it wins ties. */
467
+ .typeset
468
+ > :where(:first-child):not(:where(.not-typeset, [data-not-typeset], .not-typeset *, [data-not-typeset] *)),
469
+ .typeset
470
+ > :where(:first-child)
471
+ > :where(:first-child):not(:where(.not-typeset, [data-not-typeset], .not-typeset *, [data-not-typeset] *)),
472
+ .typeset
473
+ :where(li > :first-child, blockquote > :first-child, td > :first-child, th > :first-child, dd > :first-child, figure > :first-child, figure > picture > img):not(
474
+ :where(.not-typeset, [data-not-typeset], .not-typeset *, [data-not-typeset] *)
475
+ ) {
476
+ margin-block-start: 0;
477
+ }
478
+ }
479
+
480
+ /* ---------------------------------------------------------------------- */
481
+ /* Presets */
482
+ /* ---------------------------------------------------------------------- */
483
+
484
+ /*
485
+ * Rhythm presets, from the docs' own worked examples (typeset.mdx's "Custom
486
+ * Typesets"/"Custom Themes"/"Accessibility and Dark Mode" sections) — every
487
+ * value below is copied from there verbatim, not invented for this port.
488
+ * Each overrides only the --typeset-* variables it needs to; anything left
489
+ * unset falls through to the `.typeset` defaults above.
490
+ */
491
+
492
+ /* Tighter rhythm for chat bubbles — less vertical space per message. */
493
+ .typeset-chat {
494
+ --typeset-flow: 1em;
495
+ --typeset-leading: 1.6;
496
+ }
497
+
498
+ /* Roomier rhythm for long-form docs, plus a fixed base size independent of
499
+ * the surrounding UI's font-size. */
500
+ .typeset-docs {
501
+ --typeset-size: 15px;
502
+ --typeset-flow: 1.5em;
503
+ }
504
+
505
+ /* Reading mode: larger type, generous leading and flow. Upstream pairs this
506
+ * preset with a serif body face; the kit ships one family for every role
507
+ * (see this file's header on --font-heading), so the difference here is
508
+ * rhythm and scale, not a change of typeface. */
509
+ .typeset-reading {
510
+ --typeset-font-body: var(--font-sans);
511
+ --typeset-font-heading: var(--font-sans);
512
+ --typeset-size: 18px;
513
+ --typeset-leading: 1.9;
514
+ --typeset-flow: 2em;
515
+ }
516
+
517
+ /* Compact UI surfaces: smaller type, tighter rhythm. */
518
+ .typeset-compact {
519
+ --typeset-font-body: var(--font-sans);
520
+ --typeset-font-heading: var(--font-sans);
521
+ --typeset-size: 14px;
522
+ --typeset-leading: 1.6;
523
+ --typeset-flow: 1em;
524
+ }
525
+
526
+ /* Accessibility preset for readers who want larger type and more room —
527
+ * expose this as a user-facing setting, not a fixed default. */
528
+ .typeset-large {
529
+ --typeset-size: 16px;
530
+ --typeset-leading: 2;
531
+ --typeset-flow: 2em;
532
+ }