@usetheo/ui 0.13.2 → 0.14.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 (1019) hide show
  1. package/README.md +4 -466
  2. package/dist/components/composites/command-palette/command-palette.d.ts +1 -1
  3. package/dist/components/primitives/badge/badge.d.ts +1 -1
  4. package/dist/components/primitives/button/button.d.ts +1 -1
  5. package/dist/components/primitives/danger-zone/danger-zone.d.ts +1 -1
  6. package/dist/components/primitives/dialog/dialog.d.ts +3 -3
  7. package/dist/components/primitives/dropdown-menu/dropdown-menu.d.ts +1 -1
  8. package/dist/components/primitives/sheet/sheet.d.ts +3 -3
  9. package/dist/components/primitives/toast/toast.d.ts +1 -1
  10. package/dist/index.d.ts +0 -89
  11. package/dist/index.js +4657 -1545
  12. package/dist/lib/cn.d.ts +1 -1
  13. package/dist/{preset-v3-legacy.js → tailwind-preset.js} +1 -16
  14. package/package.json +28 -788
  15. package/CHANGELOG.md +0 -1797
  16. package/DESIGN.md +0 -456
  17. package/NOTICE +0 -38
  18. package/dist/chunk-23YEYNDS.js +0 -89
  19. package/dist/chunk-23YEYNDS.js.map +0 -1
  20. package/dist/chunk-25KBUQEQ.js +0 -95
  21. package/dist/chunk-25KBUQEQ.js.map +0 -1
  22. package/dist/chunk-2NTEJRPA.js +0 -212
  23. package/dist/chunk-2NTEJRPA.js.map +0 -1
  24. package/dist/chunk-2NZYMQKT.js +0 -56
  25. package/dist/chunk-2NZYMQKT.js.map +0 -1
  26. package/dist/chunk-2OVFVPSZ.js +0 -26
  27. package/dist/chunk-2OVFVPSZ.js.map +0 -1
  28. package/dist/chunk-2UP7SECE.js +0 -78
  29. package/dist/chunk-2UP7SECE.js.map +0 -1
  30. package/dist/chunk-33ETHPT7.js +0 -112
  31. package/dist/chunk-33ETHPT7.js.map +0 -1
  32. package/dist/chunk-33IIDFSM.js +0 -43
  33. package/dist/chunk-33IIDFSM.js.map +0 -1
  34. package/dist/chunk-345HYADQ.js +0 -88
  35. package/dist/chunk-345HYADQ.js.map +0 -1
  36. package/dist/chunk-357XIC2N.js +0 -98
  37. package/dist/chunk-357XIC2N.js.map +0 -1
  38. package/dist/chunk-3YOPTHZH.js +0 -31
  39. package/dist/chunk-3YOPTHZH.js.map +0 -1
  40. package/dist/chunk-44ZNZZUS.js +0 -111
  41. package/dist/chunk-44ZNZZUS.js.map +0 -1
  42. package/dist/chunk-45FWKR23.js +0 -62
  43. package/dist/chunk-45FWKR23.js.map +0 -1
  44. package/dist/chunk-47IPOYLQ.js +0 -116
  45. package/dist/chunk-47IPOYLQ.js.map +0 -1
  46. package/dist/chunk-4EH6F54D.js +0 -69
  47. package/dist/chunk-4EH6F54D.js.map +0 -1
  48. package/dist/chunk-4EKF4EIE.js +0 -140
  49. package/dist/chunk-4EKF4EIE.js.map +0 -1
  50. package/dist/chunk-4XYFJIRC.js +0 -65
  51. package/dist/chunk-4XYFJIRC.js.map +0 -1
  52. package/dist/chunk-52J7SDYH.js +0 -48
  53. package/dist/chunk-52J7SDYH.js.map +0 -1
  54. package/dist/chunk-5YX76GH6.js +0 -70
  55. package/dist/chunk-5YX76GH6.js.map +0 -1
  56. package/dist/chunk-624AATQZ.js +0 -77
  57. package/dist/chunk-624AATQZ.js.map +0 -1
  58. package/dist/chunk-65YSFZAN.js +0 -192
  59. package/dist/chunk-65YSFZAN.js.map +0 -1
  60. package/dist/chunk-6IODJQWC.js +0 -47
  61. package/dist/chunk-6IODJQWC.js.map +0 -1
  62. package/dist/chunk-6ORS6XOE.js +0 -57
  63. package/dist/chunk-6ORS6XOE.js.map +0 -1
  64. package/dist/chunk-6V2LQEPT.js +0 -165
  65. package/dist/chunk-6V2LQEPT.js.map +0 -1
  66. package/dist/chunk-75IDWFYX.js +0 -134
  67. package/dist/chunk-75IDWFYX.js.map +0 -1
  68. package/dist/chunk-7BQXMG2A.js +0 -93
  69. package/dist/chunk-7BQXMG2A.js.map +0 -1
  70. package/dist/chunk-7RFWVNQA.js +0 -47
  71. package/dist/chunk-7RFWVNQA.js.map +0 -1
  72. package/dist/chunk-ABBXLAJW.js +0 -74
  73. package/dist/chunk-ABBXLAJW.js.map +0 -1
  74. package/dist/chunk-ACZNFEOZ.js +0 -180
  75. package/dist/chunk-ACZNFEOZ.js.map +0 -1
  76. package/dist/chunk-AJ2LNQUQ.js +0 -108
  77. package/dist/chunk-AJ2LNQUQ.js.map +0 -1
  78. package/dist/chunk-AX6P3SDS.js +0 -89
  79. package/dist/chunk-AX6P3SDS.js.map +0 -1
  80. package/dist/chunk-AXUAQM45.js +0 -154
  81. package/dist/chunk-AXUAQM45.js.map +0 -1
  82. package/dist/chunk-B2FL7KBJ.js +0 -65
  83. package/dist/chunk-B2FL7KBJ.js.map +0 -1
  84. package/dist/chunk-B42EOFRD.js +0 -106
  85. package/dist/chunk-B42EOFRD.js.map +0 -1
  86. package/dist/chunk-BE232OKN.js +0 -42
  87. package/dist/chunk-BE232OKN.js.map +0 -1
  88. package/dist/chunk-BSF4Y4UT.js +0 -77
  89. package/dist/chunk-BSF4Y4UT.js.map +0 -1
  90. package/dist/chunk-BYUWQ6OP.js +0 -45
  91. package/dist/chunk-BYUWQ6OP.js.map +0 -1
  92. package/dist/chunk-C5ULP2P5.js +0 -140
  93. package/dist/chunk-C5ULP2P5.js.map +0 -1
  94. package/dist/chunk-CCG7PXLX.js +0 -24
  95. package/dist/chunk-CCG7PXLX.js.map +0 -1
  96. package/dist/chunk-CFVSXYVT.js +0 -59
  97. package/dist/chunk-CFVSXYVT.js.map +0 -1
  98. package/dist/chunk-CGWIOIEO.js +0 -27
  99. package/dist/chunk-CGWIOIEO.js.map +0 -1
  100. package/dist/chunk-CVFSNA4K.js +0 -716
  101. package/dist/chunk-CVFSNA4K.js.map +0 -1
  102. package/dist/chunk-CX54TUTT.js +0 -144
  103. package/dist/chunk-CX54TUTT.js.map +0 -1
  104. package/dist/chunk-DJK6H3FD.js +0 -200
  105. package/dist/chunk-DJK6H3FD.js.map +0 -1
  106. package/dist/chunk-E26M7ATD.js +0 -61
  107. package/dist/chunk-E26M7ATD.js.map +0 -1
  108. package/dist/chunk-E63IRXZZ.js +0 -78
  109. package/dist/chunk-E63IRXZZ.js.map +0 -1
  110. package/dist/chunk-EOTSD2GL.js +0 -83
  111. package/dist/chunk-EOTSD2GL.js.map +0 -1
  112. package/dist/chunk-ESJUISWY.js +0 -45
  113. package/dist/chunk-ESJUISWY.js.map +0 -1
  114. package/dist/chunk-ET7A3TQZ.js +0 -158
  115. package/dist/chunk-ET7A3TQZ.js.map +0 -1
  116. package/dist/chunk-ETTL6XGU.js +0 -139
  117. package/dist/chunk-ETTL6XGU.js.map +0 -1
  118. package/dist/chunk-EWDN56AS.js +0 -24
  119. package/dist/chunk-EWDN56AS.js.map +0 -1
  120. package/dist/chunk-FELH4AAQ.js +0 -90
  121. package/dist/chunk-FELH4AAQ.js.map +0 -1
  122. package/dist/chunk-FJZKA2LV.js +0 -165
  123. package/dist/chunk-FJZKA2LV.js.map +0 -1
  124. package/dist/chunk-FM72LBCJ.js +0 -102
  125. package/dist/chunk-FM72LBCJ.js.map +0 -1
  126. package/dist/chunk-FNQASFTK.js +0 -53
  127. package/dist/chunk-FNQASFTK.js.map +0 -1
  128. package/dist/chunk-FOE3XXBJ.js +0 -965
  129. package/dist/chunk-FOE3XXBJ.js.map +0 -1
  130. package/dist/chunk-GC52HWIL.js +0 -41
  131. package/dist/chunk-GC52HWIL.js.map +0 -1
  132. package/dist/chunk-GCKFA7X7.js +0 -83
  133. package/dist/chunk-GCKFA7X7.js.map +0 -1
  134. package/dist/chunk-GDMCDW66.js +0 -19
  135. package/dist/chunk-GDMCDW66.js.map +0 -1
  136. package/dist/chunk-GLRUM43F.js +0 -121
  137. package/dist/chunk-GLRUM43F.js.map +0 -1
  138. package/dist/chunk-H3L7WZDZ.js +0 -74
  139. package/dist/chunk-H3L7WZDZ.js.map +0 -1
  140. package/dist/chunk-H55WXDME.js +0 -45
  141. package/dist/chunk-H55WXDME.js.map +0 -1
  142. package/dist/chunk-HB45JHMM.js +0 -43
  143. package/dist/chunk-HB45JHMM.js.map +0 -1
  144. package/dist/chunk-HETHTYEZ.js +0 -80
  145. package/dist/chunk-HETHTYEZ.js.map +0 -1
  146. package/dist/chunk-HHSKNB32.js +0 -55
  147. package/dist/chunk-HHSKNB32.js.map +0 -1
  148. package/dist/chunk-HILOUYES.js +0 -151
  149. package/dist/chunk-HILOUYES.js.map +0 -1
  150. package/dist/chunk-HKVOCYTN.js +0 -113
  151. package/dist/chunk-HKVOCYTN.js.map +0 -1
  152. package/dist/chunk-HNRFBJ25.js +0 -129
  153. package/dist/chunk-HNRFBJ25.js.map +0 -1
  154. package/dist/chunk-HTJVHFNW.js +0 -178
  155. package/dist/chunk-HTJVHFNW.js.map +0 -1
  156. package/dist/chunk-HZ7Z22VW.js +0 -130
  157. package/dist/chunk-HZ7Z22VW.js.map +0 -1
  158. package/dist/chunk-II5Q5RIO.js +0 -236
  159. package/dist/chunk-II5Q5RIO.js.map +0 -1
  160. package/dist/chunk-ITEIRMSH.js +0 -121
  161. package/dist/chunk-ITEIRMSH.js.map +0 -1
  162. package/dist/chunk-JIZKW3WC.js +0 -74
  163. package/dist/chunk-JIZKW3WC.js.map +0 -1
  164. package/dist/chunk-JP3SHERK.js +0 -154
  165. package/dist/chunk-JP3SHERK.js.map +0 -1
  166. package/dist/chunk-JR4H3FJ2.js +0 -74
  167. package/dist/chunk-JR4H3FJ2.js.map +0 -1
  168. package/dist/chunk-JRW53TVG.js +0 -53
  169. package/dist/chunk-JRW53TVG.js.map +0 -1
  170. package/dist/chunk-JS5T2CRO.js +0 -86
  171. package/dist/chunk-JS5T2CRO.js.map +0 -1
  172. package/dist/chunk-JXOCE27Z.js +0 -82
  173. package/dist/chunk-JXOCE27Z.js.map +0 -1
  174. package/dist/chunk-JYW5YNF7.js +0 -188
  175. package/dist/chunk-JYW5YNF7.js.map +0 -1
  176. package/dist/chunk-KHBXI6AV.js +0 -149
  177. package/dist/chunk-KHBXI6AV.js.map +0 -1
  178. package/dist/chunk-KXZH7BTX.js +0 -92
  179. package/dist/chunk-KXZH7BTX.js.map +0 -1
  180. package/dist/chunk-LB4PMLCX.js +0 -57
  181. package/dist/chunk-LB4PMLCX.js.map +0 -1
  182. package/dist/chunk-LMGE2QEO.js +0 -117
  183. package/dist/chunk-LMGE2QEO.js.map +0 -1
  184. package/dist/chunk-M74ZYBOK.js +0 -93
  185. package/dist/chunk-M74ZYBOK.js.map +0 -1
  186. package/dist/chunk-ML7WLNIK.js +0 -11
  187. package/dist/chunk-ML7WLNIK.js.map +0 -1
  188. package/dist/chunk-MLEPCMTF.js +0 -147
  189. package/dist/chunk-MLEPCMTF.js.map +0 -1
  190. package/dist/chunk-NSZEZTDO.js +0 -98
  191. package/dist/chunk-NSZEZTDO.js.map +0 -1
  192. package/dist/chunk-OMR6ZGME.js +0 -63
  193. package/dist/chunk-OMR6ZGME.js.map +0 -1
  194. package/dist/chunk-ORVYP73T.js +0 -223
  195. package/dist/chunk-ORVYP73T.js.map +0 -1
  196. package/dist/chunk-OZFUUO2Q.js +0 -50
  197. package/dist/chunk-OZFUUO2Q.js.map +0 -1
  198. package/dist/chunk-PJWYIOY4.js +0 -3
  199. package/dist/chunk-PJWYIOY4.js.map +0 -1
  200. package/dist/chunk-PXT47DRZ.js +0 -59
  201. package/dist/chunk-PXT47DRZ.js.map +0 -1
  202. package/dist/chunk-QBSJM4XI.js +0 -83
  203. package/dist/chunk-QBSJM4XI.js.map +0 -1
  204. package/dist/chunk-QBUTRD2M.js +0 -58
  205. package/dist/chunk-QBUTRD2M.js.map +0 -1
  206. package/dist/chunk-QCSMJTA6.js +0 -68
  207. package/dist/chunk-QCSMJTA6.js.map +0 -1
  208. package/dist/chunk-QNYOIVQ4.js +0 -36
  209. package/dist/chunk-QNYOIVQ4.js.map +0 -1
  210. package/dist/chunk-QPURZJJM.js +0 -88
  211. package/dist/chunk-QPURZJJM.js.map +0 -1
  212. package/dist/chunk-QTG266XU.js +0 -69
  213. package/dist/chunk-QTG266XU.js.map +0 -1
  214. package/dist/chunk-QV4BQRNH.js +0 -29
  215. package/dist/chunk-QV4BQRNH.js.map +0 -1
  216. package/dist/chunk-RJ6RAMKH.js +0 -89
  217. package/dist/chunk-RJ6RAMKH.js.map +0 -1
  218. package/dist/chunk-RJBCTMVW.js +0 -59
  219. package/dist/chunk-RJBCTMVW.js.map +0 -1
  220. package/dist/chunk-RMJYXHBX.js +0 -113
  221. package/dist/chunk-RMJYXHBX.js.map +0 -1
  222. package/dist/chunk-RQT5DWGG.js +0 -34
  223. package/dist/chunk-RQT5DWGG.js.map +0 -1
  224. package/dist/chunk-SPGNNN4R.js +0 -115
  225. package/dist/chunk-SPGNNN4R.js.map +0 -1
  226. package/dist/chunk-SQ66DCXY.js +0 -35
  227. package/dist/chunk-SQ66DCXY.js.map +0 -1
  228. package/dist/chunk-SXKGWHAM.js +0 -179
  229. package/dist/chunk-SXKGWHAM.js.map +0 -1
  230. package/dist/chunk-T2OKGV6M.js +0 -13
  231. package/dist/chunk-T2OKGV6M.js.map +0 -1
  232. package/dist/chunk-T4Z7HBZR.js +0 -110
  233. package/dist/chunk-T4Z7HBZR.js.map +0 -1
  234. package/dist/chunk-TW5I37AE.js +0 -142
  235. package/dist/chunk-TW5I37AE.js.map +0 -1
  236. package/dist/chunk-TY6NTWN5.js +0 -29
  237. package/dist/chunk-TY6NTWN5.js.map +0 -1
  238. package/dist/chunk-UGKI466V.js +0 -12
  239. package/dist/chunk-UGKI466V.js.map +0 -1
  240. package/dist/chunk-UJAWV6LM.js +0 -136
  241. package/dist/chunk-UJAWV6LM.js.map +0 -1
  242. package/dist/chunk-V2WCZBVE.js +0 -122
  243. package/dist/chunk-V2WCZBVE.js.map +0 -1
  244. package/dist/chunk-V4LRBYOD.js +0 -55
  245. package/dist/chunk-V4LRBYOD.js.map +0 -1
  246. package/dist/chunk-V6H2RUVP.js +0 -77
  247. package/dist/chunk-V6H2RUVP.js.map +0 -1
  248. package/dist/chunk-VFRFUU7A.js +0 -35
  249. package/dist/chunk-VFRFUU7A.js.map +0 -1
  250. package/dist/chunk-VHK2OUCW.js +0 -38
  251. package/dist/chunk-VHK2OUCW.js.map +0 -1
  252. package/dist/chunk-VLNFUEOR.js +0 -86
  253. package/dist/chunk-VLNFUEOR.js.map +0 -1
  254. package/dist/chunk-VM4RMQQN.js +0 -11
  255. package/dist/chunk-VM4RMQQN.js.map +0 -1
  256. package/dist/chunk-VU7XKD4G.js +0 -66
  257. package/dist/chunk-VU7XKD4G.js.map +0 -1
  258. package/dist/chunk-VZX4HLBM.js +0 -84
  259. package/dist/chunk-VZX4HLBM.js.map +0 -1
  260. package/dist/chunk-W24RR5OD.js +0 -102
  261. package/dist/chunk-W24RR5OD.js.map +0 -1
  262. package/dist/chunk-W47V2F3Q.js +0 -115
  263. package/dist/chunk-W47V2F3Q.js.map +0 -1
  264. package/dist/chunk-W743ORLA.js +0 -91
  265. package/dist/chunk-W743ORLA.js.map +0 -1
  266. package/dist/chunk-W7I3ZX66.js +0 -76
  267. package/dist/chunk-W7I3ZX66.js.map +0 -1
  268. package/dist/chunk-WD42UBGR.js +0 -64
  269. package/dist/chunk-WD42UBGR.js.map +0 -1
  270. package/dist/chunk-WQVEJJV7.js +0 -108
  271. package/dist/chunk-WQVEJJV7.js.map +0 -1
  272. package/dist/chunk-WX4Q4DTX.js +0 -121
  273. package/dist/chunk-WX4Q4DTX.js.map +0 -1
  274. package/dist/chunk-XC7SYZYR.js +0 -86
  275. package/dist/chunk-XC7SYZYR.js.map +0 -1
  276. package/dist/chunk-XSENM65D.js +0 -128
  277. package/dist/chunk-XSENM65D.js.map +0 -1
  278. package/dist/chunk-Y7JTBQUQ.js +0 -152
  279. package/dist/chunk-Y7JTBQUQ.js.map +0 -1
  280. package/dist/chunk-YD2QEVHO.js +0 -68
  281. package/dist/chunk-YD2QEVHO.js.map +0 -1
  282. package/dist/chunk-YDKRUSB5.js +0 -35
  283. package/dist/chunk-YDKRUSB5.js.map +0 -1
  284. package/dist/chunk-YNDHYMPI.js +0 -46
  285. package/dist/chunk-YNDHYMPI.js.map +0 -1
  286. package/dist/chunk-YO3WEMOH.js +0 -130
  287. package/dist/chunk-YO3WEMOH.js.map +0 -1
  288. package/dist/chunk-YVXMWUWD.js +0 -118
  289. package/dist/chunk-YVXMWUWD.js.map +0 -1
  290. package/dist/chunk-Z6HZMGO2.js +0 -106
  291. package/dist/chunk-Z6HZMGO2.js.map +0 -1
  292. package/dist/chunk-ZAP4RIUL.js +0 -81
  293. package/dist/chunk-ZAP4RIUL.js.map +0 -1
  294. package/dist/chunk-ZEDDWVBB.js +0 -112
  295. package/dist/chunk-ZEDDWVBB.js.map +0 -1
  296. package/dist/chunk-ZEFOXF2I.js +0 -87
  297. package/dist/chunk-ZEFOXF2I.js.map +0 -1
  298. package/dist/chunk-ZPURFK4C.js +0 -203
  299. package/dist/chunk-ZPURFK4C.js.map +0 -1
  300. package/dist/chunk-ZXPDS6DH.js +0 -3
  301. package/dist/chunk-ZXPDS6DH.js.map +0 -1
  302. package/dist/chunk-ZZZIOTLC.js +0 -89
  303. package/dist/chunk-ZZZIOTLC.js.map +0 -1
  304. package/dist/components/composites/agent-composer/agent-composer.d.ts +0 -41
  305. package/dist/components/composites/agent-composer/index.d.ts +0 -1
  306. package/dist/components/composites/agent-editor/agent-editor.d.ts +0 -31
  307. package/dist/components/composites/agent-editor/index.d.ts +0 -1
  308. package/dist/components/composites/agent-stream/agent-stream.d.ts +0 -72
  309. package/dist/components/composites/agent-stream/index.d.ts +0 -2
  310. package/dist/components/composites/agent-stream/to-agent-stream-items.d.ts +0 -32
  311. package/dist/components/composites/agent-timeline/agent-timeline.d.ts +0 -22
  312. package/dist/components/composites/agent-timeline/index.d.ts +0 -1
  313. package/dist/components/composites/agent-tool-renderer/agent-tool-renderer.d.ts +0 -60
  314. package/dist/components/composites/agent-tool-renderer/index.d.ts +0 -1
  315. package/dist/components/composites/agent-tool-renderer/tool-call-part.d.ts +0 -5
  316. package/dist/components/composites/approval-card/approval-card.d.ts +0 -35
  317. package/dist/components/composites/approval-card/index.d.ts +0 -1
  318. package/dist/components/composites/chat-composer/chat-composer.d.ts +0 -68
  319. package/dist/components/composites/chat-composer/index.d.ts +0 -1
  320. package/dist/components/composites/chat-message/chat-message-actions.d.ts +0 -22
  321. package/dist/components/composites/chat-message/chat-message-branch.d.ts +0 -17
  322. package/dist/components/composites/chat-message/chat-message-response.d.ts +0 -15
  323. package/dist/components/composites/chat-message/chat-message-toolbar.d.ts +0 -7
  324. package/dist/components/composites/chat-message/chat-message.d.ts +0 -94
  325. package/dist/components/composites/chat-message/index.d.ts +0 -23
  326. package/dist/components/composites/chat-message/parts/data-part.d.ts +0 -9
  327. package/dist/components/composites/chat-message/parts/file-part.d.ts +0 -5
  328. package/dist/components/composites/chat-message/parts/reasoning-part.d.ts +0 -7
  329. package/dist/components/composites/chat-message/parts/source-part.d.ts +0 -9
  330. package/dist/components/composites/chat-message/parts/text-part.d.ts +0 -11
  331. package/dist/components/composites/choice-prompt/choice-prompt.d.ts +0 -65
  332. package/dist/components/composites/choice-prompt/index.d.ts +0 -2
  333. package/dist/components/composites/confirm-prompt/confirm-prompt.d.ts +0 -31
  334. package/dist/components/composites/confirm-prompt/index.d.ts +0 -1
  335. package/dist/components/composites/cron-jobs-list/cron-jobs-list.d.ts +0 -15
  336. package/dist/components/composites/cron-jobs-list/index.d.ts +0 -1
  337. package/dist/components/composites/mcp-server-list/index.d.ts +0 -1
  338. package/dist/components/composites/mcp-server-list/mcp-server-list.d.ts +0 -15
  339. package/dist/components/composites/multi-select-prompt/index.d.ts +0 -1
  340. package/dist/components/composites/multi-select-prompt/multi-select-prompt.d.ts +0 -61
  341. package/dist/components/composites/permission-modal/index.d.ts +0 -1
  342. package/dist/components/composites/permission-modal/permission-modal.d.ts +0 -48
  343. package/dist/components/composites/preview-panel/index.d.ts +0 -1
  344. package/dist/components/composites/preview-panel/preview-panel.d.ts +0 -24
  345. package/dist/components/composites/rule-editor/index.d.ts +0 -1
  346. package/dist/components/composites/rule-editor/rule-editor.d.ts +0 -18
  347. package/dist/components/composites/skill-editor/index.d.ts +0 -1
  348. package/dist/components/composites/skill-editor/skill-editor.d.ts +0 -19
  349. package/dist/components/composites/skills-list/index.d.ts +0 -1
  350. package/dist/components/composites/skills-list/skills-list.d.ts +0 -15
  351. package/dist/components/composites/slide-deck/context.d.ts +0 -23
  352. package/dist/components/composites/slide-deck/controls.d.ts +0 -8
  353. package/dist/components/composites/slide-deck/fragments.d.ts +0 -20
  354. package/dist/components/composites/slide-deck/index.d.ts +0 -21
  355. package/dist/components/composites/slide-deck/notes.d.ts +0 -14
  356. package/dist/components/composites/slide-deck/presenter-view.d.ts +0 -15
  357. package/dist/components/composites/slide-deck/print-styles.d.ts +0 -21
  358. package/dist/components/composites/slide-deck/progress-bar.d.ts +0 -8
  359. package/dist/components/composites/slide-deck/schema.d.ts +0 -31
  360. package/dist/components/composites/slide-deck/slide-deck.d.ts +0 -78
  361. package/dist/components/composites/slide-deck/slide-number.d.ts +0 -11
  362. package/dist/components/composites/slide-deck/split-deck.d.ts +0 -2
  363. package/dist/components/composites/slide-deck/thumbnails.d.ts +0 -19
  364. package/dist/components/composites/slide-deck/use-deck-hash-routing.d.ts +0 -23
  365. package/dist/components/composites/slide-deck/use-deck-keyboard.d.ts +0 -25
  366. package/dist/components/composites/slide-deck/use-deck-state.d.ts +0 -57
  367. package/dist/components/composites/slide-deck/use-deck-swipe.d.ts +0 -20
  368. package/dist/components/composites/slide-deck/use-fullscreen.d.ts +0 -18
  369. package/dist/components/composites/stability-bundle-viewer/index.d.ts +0 -1
  370. package/dist/components/composites/stability-bundle-viewer/stability-bundle-viewer.d.ts +0 -28
  371. package/dist/components/composites/text-prompt/index.d.ts +0 -1
  372. package/dist/components/composites/text-prompt/text-prompt.d.ts +0 -48
  373. package/dist/components/composites/usage-meter/index.d.ts +0 -1
  374. package/dist/components/composites/usage-meter/usage-meter.d.ts +0 -56
  375. package/dist/components/primitives/agent-error-card/agent-error-card.d.ts +0 -47
  376. package/dist/components/primitives/agent-error-card/index.d.ts +0 -1
  377. package/dist/components/primitives/agent-event/agent-event.d.ts +0 -25
  378. package/dist/components/primitives/agent-event/index.d.ts +0 -1
  379. package/dist/components/primitives/agent-handoff/agent-handoff.d.ts +0 -24
  380. package/dist/components/primitives/agent-handoff/index.d.ts +0 -1
  381. package/dist/components/primitives/agent-profile/agent-profile.d.ts +0 -28
  382. package/dist/components/primitives/agent-profile/index.d.ts +0 -1
  383. package/dist/components/primitives/agent-starting-state/agent-starting-state.d.ts +0 -15
  384. package/dist/components/primitives/agent-starting-state/index.d.ts +0 -1
  385. package/dist/components/primitives/agent-streaming/agent-streaming.d.ts +0 -16
  386. package/dist/components/primitives/agent-streaming/index.d.ts +0 -1
  387. package/dist/components/primitives/artifact-preview/artifact-preview.d.ts +0 -25
  388. package/dist/components/primitives/artifact-preview/index.d.ts +0 -1
  389. package/dist/components/primitives/attachment-chip/attachment-chip.d.ts +0 -14
  390. package/dist/components/primitives/attachment-chip/index.d.ts +0 -1
  391. package/dist/components/primitives/audit-log-entry/audit-log-entry.d.ts +0 -29
  392. package/dist/components/primitives/audit-log-entry/index.d.ts +0 -1
  393. package/dist/components/primitives/auto-compact-notice/auto-compact-notice.d.ts +0 -24
  394. package/dist/components/primitives/auto-compact-notice/index.d.ts +0 -1
  395. package/dist/components/primitives/branch-indicator/branch-indicator.d.ts +0 -13
  396. package/dist/components/primitives/branch-indicator/index.d.ts +0 -1
  397. package/dist/components/primitives/browser-controls/browser-controls.d.ts +0 -19
  398. package/dist/components/primitives/browser-controls/index.d.ts +0 -1
  399. package/dist/components/primitives/build-log-stream/build-log-stream.d.ts +0 -51
  400. package/dist/components/primitives/build-log-stream/index.d.ts +0 -1
  401. package/dist/components/primitives/capability-indicator/capability-indicator.d.ts +0 -57
  402. package/dist/components/primitives/capability-indicator/index.d.ts +0 -1
  403. package/dist/components/primitives/channel-card/channel-card.d.ts +0 -28
  404. package/dist/components/primitives/channel-card/index.d.ts +0 -1
  405. package/dist/components/primitives/chat-thread/chat-thread.d.ts +0 -12
  406. package/dist/components/primitives/chat-thread/index.d.ts +0 -1
  407. package/dist/components/primitives/context-card/context-card.d.ts +0 -18
  408. package/dist/components/primitives/context-card/index.d.ts +0 -1
  409. package/dist/components/primitives/context-window-bar/context-window-bar.d.ts +0 -27
  410. package/dist/components/primitives/context-window-bar/index.d.ts +0 -1
  411. package/dist/components/primitives/cost-meter/cost-meter.d.ts +0 -23
  412. package/dist/components/primitives/cost-meter/index.d.ts +0 -1
  413. package/dist/components/primitives/created-files-card/created-files-card.d.ts +0 -30
  414. package/dist/components/primitives/created-files-card/index.d.ts +0 -1
  415. package/dist/components/primitives/cron-job-card/cron-job-card.d.ts +0 -30
  416. package/dist/components/primitives/cron-job-card/index.d.ts +0 -1
  417. package/dist/components/primitives/diff-viewer/diff-viewer.d.ts +0 -45
  418. package/dist/components/primitives/diff-viewer/index.d.ts +0 -1
  419. package/dist/components/primitives/export-chat-dialog/export-chat-dialog.d.ts +0 -18
  420. package/dist/components/primitives/export-chat-dialog/index.d.ts +0 -1
  421. package/dist/components/primitives/folder-context-card/folder-context-card.d.ts +0 -40
  422. package/dist/components/primitives/folder-context-card/index.d.ts +0 -1
  423. package/dist/components/primitives/folder-selector/folder-selector.d.ts +0 -18
  424. package/dist/components/primitives/folder-selector/index.d.ts +0 -1
  425. package/dist/components/primitives/gateway-status-indicator/gateway-status-indicator.d.ts +0 -19
  426. package/dist/components/primitives/gateway-status-indicator/index.d.ts +0 -1
  427. package/dist/components/primitives/hook-config/hook-config.d.ts +0 -27
  428. package/dist/components/primitives/hook-config/index.d.ts +0 -1
  429. package/dist/components/primitives/hook-event-log/hook-event-log.d.ts +0 -27
  430. package/dist/components/primitives/hook-event-log/index.d.ts +0 -1
  431. package/dist/components/primitives/intent-selector/index.d.ts +0 -1
  432. package/dist/components/primitives/intent-selector/intent-selector.d.ts +0 -22
  433. package/dist/components/primitives/lane-board/index.d.ts +0 -1
  434. package/dist/components/primitives/lane-board/lane-board.d.ts +0 -26
  435. package/dist/components/primitives/mcp-server-card/index.d.ts +0 -1
  436. package/dist/components/primitives/mcp-server-card/mcp-server-card.d.ts +0 -32
  437. package/dist/components/primitives/memory-editor/index.d.ts +0 -1
  438. package/dist/components/primitives/memory-editor/memory-editor.d.ts +0 -29
  439. package/dist/components/primitives/mention-menu/index.d.ts +0 -1
  440. package/dist/components/primitives/mention-menu/mention-menu.d.ts +0 -44
  441. package/dist/components/primitives/model-card/index.d.ts +0 -1
  442. package/dist/components/primitives/model-card/model-card.d.ts +0 -72
  443. package/dist/components/primitives/model-selector/index.d.ts +0 -1
  444. package/dist/components/primitives/model-selector/model-selector.d.ts +0 -21
  445. package/dist/components/primitives/permission-matrix/index.d.ts +0 -1
  446. package/dist/components/primitives/permission-matrix/permission-matrix.d.ts +0 -43
  447. package/dist/components/primitives/progress-checklist/index.d.ts +0 -1
  448. package/dist/components/primitives/progress-checklist/progress-checklist.d.ts +0 -18
  449. package/dist/components/primitives/project-switcher/index.d.ts +0 -1
  450. package/dist/components/primitives/project-switcher/project-switcher.d.ts +0 -32
  451. package/dist/components/primitives/quick-action-chips/index.d.ts +0 -1
  452. package/dist/components/primitives/quick-action-chips/quick-action-chips.d.ts +0 -22
  453. package/dist/components/primitives/recent-folders-list/index.d.ts +0 -1
  454. package/dist/components/primitives/recent-folders-list/recent-folders-list.d.ts +0 -21
  455. package/dist/components/primitives/rule-card/index.d.ts +0 -1
  456. package/dist/components/primitives/rule-card/rule-card.d.ts +0 -15
  457. package/dist/components/primitives/run-stats/index.d.ts +0 -1
  458. package/dist/components/primitives/run-stats/run-stats.d.ts +0 -16
  459. package/dist/components/primitives/run-status-pill/index.d.ts +0 -1
  460. package/dist/components/primitives/run-status-pill/run-status-pill.d.ts +0 -13
  461. package/dist/components/primitives/running-tasks-panel/index.d.ts +0 -1
  462. package/dist/components/primitives/running-tasks-panel/running-tasks-panel.d.ts +0 -20
  463. package/dist/components/primitives/session-list-item/index.d.ts +0 -1
  464. package/dist/components/primitives/session-list-item/session-list-item.d.ts +0 -35
  465. package/dist/components/primitives/session-timeline/index.d.ts +0 -1
  466. package/dist/components/primitives/session-timeline/session-timeline.d.ts +0 -32
  467. package/dist/components/primitives/skill-card/index.d.ts +0 -1
  468. package/dist/components/primitives/skill-card/skill-card.d.ts +0 -28
  469. package/dist/components/primitives/slide/alerts.d.ts +0 -31
  470. package/dist/components/primitives/slide/frontmatter.d.ts +0 -23
  471. package/dist/components/primitives/slide/index.d.ts +0 -16
  472. package/dist/components/primitives/slide/json-schema.d.ts +0 -9
  473. package/dist/components/primitives/slide/marpit-bg.d.ts +0 -36
  474. package/dist/components/primitives/slide/parse.d.ts +0 -59
  475. package/dist/components/primitives/slide/plugin.d.ts +0 -79
  476. package/dist/components/primitives/slide/plugins/emoji/index.d.ts +0 -8
  477. package/dist/components/primitives/slide/plugins/emoji/map.d.ts +0 -15
  478. package/dist/components/primitives/slide/plugins/math/index.d.ts +0 -6
  479. package/dist/components/primitives/slide/plugins/mermaid/index.d.ts +0 -48
  480. package/dist/components/primitives/slide/plugins/shiki/index.d.ts +0 -11
  481. package/dist/components/primitives/slide/sanitize.d.ts +0 -33
  482. package/dist/components/primitives/slide/schema.d.ts +0 -109
  483. package/dist/components/primitives/slide/slide.d.ts +0 -53
  484. package/dist/components/primitives/slide/themes/index.d.ts +0 -9
  485. package/dist/components/primitives/slide/use-slide-fit.d.ts +0 -21
  486. package/dist/components/primitives/slide/validate.d.ts +0 -33
  487. package/dist/components/primitives/steps-rail/index.d.ts +0 -1
  488. package/dist/components/primitives/steps-rail/steps-rail.d.ts +0 -24
  489. package/dist/components/primitives/sub-agent-dispatch/index.d.ts +0 -1
  490. package/dist/components/primitives/sub-agent-dispatch/sub-agent-dispatch.d.ts +0 -30
  491. package/dist/components/primitives/system-prompt-editor/index.d.ts +0 -1
  492. package/dist/components/primitives/system-prompt-editor/system-prompt-editor.d.ts +0 -25
  493. package/dist/components/primitives/task-plan/index.d.ts +0 -1
  494. package/dist/components/primitives/task-plan/task-plan.d.ts +0 -36
  495. package/dist/components/primitives/terminal-panel/index.d.ts +0 -1
  496. package/dist/components/primitives/terminal-panel/terminal-panel.d.ts +0 -32
  497. package/dist/components/primitives/thinking-level-selector/index.d.ts +0 -1
  498. package/dist/components/primitives/thinking-level-selector/thinking-level-selector.d.ts +0 -24
  499. package/dist/components/primitives/token-usage-chart/index.d.ts +0 -2
  500. package/dist/components/primitives/token-usage-chart/token-usage-chart.d.ts +0 -44
  501. package/dist/components/primitives/token-usage-chart/usage-metrics.d.ts +0 -23
  502. package/dist/components/primitives/tool-call/index.d.ts +0 -1
  503. package/dist/components/primitives/tool-call/tool-call.d.ts +0 -30
  504. package/dist/components/primitives/tool-call-card/index.d.ts +0 -1
  505. package/dist/components/primitives/tool-call-card/tool-call-card.d.ts +0 -30
  506. package/dist/components/primitives/tool-result/index.d.ts +0 -1
  507. package/dist/components/primitives/tool-result/tool-result.d.ts +0 -19
  508. package/dist/components/primitives/tools-list/index.d.ts +0 -1
  509. package/dist/components/primitives/tools-list/tools-list.d.ts +0 -32
  510. package/dist/components/primitives/whiteboard/index.d.ts +0 -2
  511. package/dist/components/primitives/whiteboard/render/freedraw.d.ts +0 -2
  512. package/dist/components/primitives/whiteboard/render/line.d.ts +0 -4
  513. package/dist/components/primitives/whiteboard/render/rough-paths.d.ts +0 -16
  514. package/dist/components/primitives/whiteboard/render/scene.d.ts +0 -3
  515. package/dist/components/primitives/whiteboard/render/shape.d.ts +0 -5
  516. package/dist/components/primitives/whiteboard/render/style.d.ts +0 -24
  517. package/dist/components/primitives/whiteboard/render/text.d.ts +0 -2
  518. package/dist/components/primitives/whiteboard/schema.d.ts +0 -596
  519. package/dist/components/primitives/whiteboard/seed.d.ts +0 -22
  520. package/dist/components/primitives/whiteboard/validate.d.ts +0 -26
  521. package/dist/components/primitives/whiteboard/viewport/use-pointer-pan.d.ts +0 -11
  522. package/dist/components/primitives/whiteboard/viewport/use-viewport.d.ts +0 -33
  523. package/dist/components/primitives/whiteboard/whiteboard.d.ts +0 -21
  524. package/dist/components.css +0 -2
  525. package/dist/composites/account-menu/index.js +0 -6
  526. package/dist/composites/account-menu/index.js.map +0 -1
  527. package/dist/composites/agent-composer/index.js +0 -8
  528. package/dist/composites/agent-composer/index.js.map +0 -1
  529. package/dist/composites/agent-editor/index.js +0 -11
  530. package/dist/composites/agent-editor/index.js.map +0 -1
  531. package/dist/composites/agent-stream/index.js +0 -24
  532. package/dist/composites/agent-stream/index.js.map +0 -1
  533. package/dist/composites/agent-timeline/index.js +0 -5
  534. package/dist/composites/agent-timeline/index.js.map +0 -1
  535. package/dist/composites/agent-tool-renderer/index.js +0 -17
  536. package/dist/composites/agent-tool-renderer/index.js.map +0 -1
  537. package/dist/composites/approval-card/index.js +0 -5
  538. package/dist/composites/approval-card/index.js.map +0 -1
  539. package/dist/composites/chat-composer/index.js +0 -6
  540. package/dist/composites/chat-composer/index.js.map +0 -1
  541. package/dist/composites/chat-message/index.js +0 -20
  542. package/dist/composites/chat-message/index.js.map +0 -1
  543. package/dist/composites/choice-prompt/index.js +0 -11
  544. package/dist/composites/choice-prompt/index.js.map +0 -1
  545. package/dist/composites/code-block/index.js +0 -5
  546. package/dist/composites/code-block/index.js.map +0 -1
  547. package/dist/composites/command-palette/index.js +0 -6
  548. package/dist/composites/command-palette/index.js.map +0 -1
  549. package/dist/composites/confirm-dialog/index.js +0 -8
  550. package/dist/composites/confirm-dialog/index.js.map +0 -1
  551. package/dist/composites/confirm-prompt/index.js +0 -7
  552. package/dist/composites/confirm-prompt/index.js.map +0 -1
  553. package/dist/composites/cron-jobs-list/index.js +0 -5
  554. package/dist/composites/cron-jobs-list/index.js.map +0 -1
  555. package/dist/composites/data-table/index.js +0 -11
  556. package/dist/composites/data-table/index.js.map +0 -1
  557. package/dist/composites/deployment-row/index.js +0 -5
  558. package/dist/composites/deployment-row/index.js.map +0 -1
  559. package/dist/composites/domain-config/index.js +0 -8
  560. package/dist/composites/domain-config/index.js.map +0 -1
  561. package/dist/composites/env-var-editor/index.js +0 -9
  562. package/dist/composites/env-var-editor/index.js.map +0 -1
  563. package/dist/composites/mcp-server-list/index.js +0 -6
  564. package/dist/composites/mcp-server-list/index.js.map +0 -1
  565. package/dist/composites/metric-card/index.js +0 -5
  566. package/dist/composites/metric-card/index.js.map +0 -1
  567. package/dist/composites/multi-select-prompt/index.js +0 -11
  568. package/dist/composites/multi-select-prompt/index.js.map +0 -1
  569. package/dist/composites/page-shell/index.js +0 -8
  570. package/dist/composites/page-shell/index.js.map +0 -1
  571. package/dist/composites/permission-modal/index.js +0 -7
  572. package/dist/composites/permission-modal/index.js.map +0 -1
  573. package/dist/composites/preview-env-card/index.js +0 -6
  574. package/dist/composites/preview-env-card/index.js.map +0 -1
  575. package/dist/composites/preview-panel/index.js +0 -5
  576. package/dist/composites/preview-panel/index.js.map +0 -1
  577. package/dist/composites/project-card/index.js +0 -6
  578. package/dist/composites/project-card/index.js.map +0 -1
  579. package/dist/composites/rollback-ui/index.js +0 -7
  580. package/dist/composites/rollback-ui/index.js.map +0 -1
  581. package/dist/composites/rule-editor/index.js +0 -12
  582. package/dist/composites/rule-editor/index.js.map +0 -1
  583. package/dist/composites/skill-editor/index.js +0 -12
  584. package/dist/composites/skill-editor/index.js.map +0 -1
  585. package/dist/composites/skills-list/index.js +0 -6
  586. package/dist/composites/skills-list/index.js.map +0 -1
  587. package/dist/composites/stability-bundle-viewer/index.js +0 -5
  588. package/dist/composites/stability-bundle-viewer/index.js.map +0 -1
  589. package/dist/composites/status-indicator/index.js +0 -4
  590. package/dist/composites/status-indicator/index.js.map +0 -1
  591. package/dist/composites/task-header/index.js +0 -5
  592. package/dist/composites/task-header/index.js.map +0 -1
  593. package/dist/composites/text-prompt/index.js +0 -10
  594. package/dist/composites/text-prompt/index.js.map +0 -1
  595. package/dist/composites/usage-meter/index.js +0 -5
  596. package/dist/composites/usage-meter/index.js.map +0 -1
  597. package/dist/fonts/LICENSE-GEIST.txt +0 -92
  598. package/dist/fonts/geist-400.woff2 +0 -0
  599. package/dist/fonts/geist-500.woff2 +0 -0
  600. package/dist/fonts/geist-600.woff2 +0 -0
  601. package/dist/fonts/geist-mono-400.woff2 +0 -0
  602. package/dist/fonts/geist-mono-500.woff2 +0 -0
  603. package/dist/fonts/geist-mono-600.woff2 +0 -0
  604. package/dist/fonts-cdn.css +0 -28
  605. package/dist/fonts.css +0 -75
  606. package/dist/index.js.map +0 -1
  607. package/dist/lib/markdown/code-block.d.ts +0 -14
  608. package/dist/lib/markdown/inline-code.d.ts +0 -10
  609. package/dist/lib/markdown/math.d.ts +0 -12
  610. package/dist/lib/markdown/mermaid.d.ts +0 -6
  611. package/dist/lib/markdown/parser.d.ts +0 -47
  612. package/dist/lib/markdown/streaming-preprocess.d.ts +0 -39
  613. package/dist/lib/prompt.d.ts +0 -40
  614. package/dist/lib/sdk-tools-adapters/index.d.ts +0 -1
  615. package/dist/lib/sdk-tools-adapters/index.js +0 -3
  616. package/dist/lib/sdk-tools-adapters/index.js.map +0 -1
  617. package/dist/lib/sdk-tools-adapters/sdk-tools-adapters.d.ts +0 -60
  618. package/dist/preset-v3-legacy.d.ts +0 -32
  619. package/dist/preset-v3-legacy.js.map +0 -1
  620. package/dist/preset.css +0 -27
  621. package/dist/primitives/action-bar/index.js +0 -4
  622. package/dist/primitives/action-bar/index.js.map +0 -1
  623. package/dist/primitives/agent-error-card/index.js +0 -5
  624. package/dist/primitives/agent-error-card/index.js.map +0 -1
  625. package/dist/primitives/agent-event/index.js +0 -5
  626. package/dist/primitives/agent-event/index.js.map +0 -1
  627. package/dist/primitives/agent-handoff/index.js +0 -4
  628. package/dist/primitives/agent-handoff/index.js.map +0 -1
  629. package/dist/primitives/agent-profile/index.js +0 -4
  630. package/dist/primitives/agent-profile/index.js.map +0 -1
  631. package/dist/primitives/agent-starting-state/index.js +0 -5
  632. package/dist/primitives/agent-starting-state/index.js.map +0 -1
  633. package/dist/primitives/agent-streaming/index.js +0 -5
  634. package/dist/primitives/agent-streaming/index.js.map +0 -1
  635. package/dist/primitives/alert/index.js +0 -4
  636. package/dist/primitives/alert/index.js.map +0 -1
  637. package/dist/primitives/artifact-preview/index.js +0 -4
  638. package/dist/primitives/artifact-preview/index.js.map +0 -1
  639. package/dist/primitives/attachment-chip/index.js +0 -4
  640. package/dist/primitives/attachment-chip/index.js.map +0 -1
  641. package/dist/primitives/audit-log-entry/index.js +0 -4
  642. package/dist/primitives/audit-log-entry/index.js.map +0 -1
  643. package/dist/primitives/auto-compact-notice/index.js +0 -5
  644. package/dist/primitives/auto-compact-notice/index.js.map +0 -1
  645. package/dist/primitives/avatar/index.js +0 -4
  646. package/dist/primitives/avatar/index.js.map +0 -1
  647. package/dist/primitives/badge/index.js +0 -4
  648. package/dist/primitives/badge/index.js.map +0 -1
  649. package/dist/primitives/branch-indicator/index.js +0 -4
  650. package/dist/primitives/branch-indicator/index.js.map +0 -1
  651. package/dist/primitives/browser-controls/index.js +0 -4
  652. package/dist/primitives/browser-controls/index.js.map +0 -1
  653. package/dist/primitives/build-log-stream/index.js +0 -7
  654. package/dist/primitives/build-log-stream/index.js.map +0 -1
  655. package/dist/primitives/button/index.js +0 -4
  656. package/dist/primitives/button/index.js.map +0 -1
  657. package/dist/primitives/capability-indicator/index.js +0 -4
  658. package/dist/primitives/capability-indicator/index.js.map +0 -1
  659. package/dist/primitives/card/index.js +0 -5
  660. package/dist/primitives/card/index.js.map +0 -1
  661. package/dist/primitives/channel-card/index.js +0 -4
  662. package/dist/primitives/channel-card/index.js.map +0 -1
  663. package/dist/primitives/chat-thread/index.js +0 -5
  664. package/dist/primitives/chat-thread/index.js.map +0 -1
  665. package/dist/primitives/checkbox/index.js +0 -4
  666. package/dist/primitives/checkbox/index.js.map +0 -1
  667. package/dist/primitives/context-card/index.js +0 -4
  668. package/dist/primitives/context-card/index.js.map +0 -1
  669. package/dist/primitives/context-window-bar/index.js +0 -4
  670. package/dist/primitives/context-window-bar/index.js.map +0 -1
  671. package/dist/primitives/copy-button/index.js +0 -5
  672. package/dist/primitives/copy-button/index.js.map +0 -1
  673. package/dist/primitives/cost-meter/index.js +0 -4
  674. package/dist/primitives/cost-meter/index.js.map +0 -1
  675. package/dist/primitives/created-files-card/index.js +0 -4
  676. package/dist/primitives/created-files-card/index.js.map +0 -1
  677. package/dist/primitives/cron-job-card/index.js +0 -4
  678. package/dist/primitives/cron-job-card/index.js.map +0 -1
  679. package/dist/primitives/danger-zone/index.js +0 -4
  680. package/dist/primitives/danger-zone/index.js.map +0 -1
  681. package/dist/primitives/dialog/index.js +0 -4
  682. package/dist/primitives/dialog/index.js.map +0 -1
  683. package/dist/primitives/diff-viewer/index.js +0 -4
  684. package/dist/primitives/diff-viewer/index.js.map +0 -1
  685. package/dist/primitives/dropdown-menu/index.js +0 -4
  686. package/dist/primitives/dropdown-menu/index.js.map +0 -1
  687. package/dist/primitives/empty-state/index.js +0 -4
  688. package/dist/primitives/empty-state/index.js.map +0 -1
  689. package/dist/primitives/export-chat-dialog/index.js +0 -5
  690. package/dist/primitives/export-chat-dialog/index.js.map +0 -1
  691. package/dist/primitives/folder-context-card/index.js +0 -4
  692. package/dist/primitives/folder-context-card/index.js.map +0 -1
  693. package/dist/primitives/folder-selector/index.js +0 -4
  694. package/dist/primitives/folder-selector/index.js.map +0 -1
  695. package/dist/primitives/form-field/index.js +0 -5
  696. package/dist/primitives/form-field/index.js.map +0 -1
  697. package/dist/primitives/gateway-status-indicator/index.js +0 -4
  698. package/dist/primitives/gateway-status-indicator/index.js.map +0 -1
  699. package/dist/primitives/hook-config/index.js +0 -5
  700. package/dist/primitives/hook-config/index.js.map +0 -1
  701. package/dist/primitives/hook-event-log/index.js +0 -4
  702. package/dist/primitives/hook-event-log/index.js.map +0 -1
  703. package/dist/primitives/input/index.js +0 -4
  704. package/dist/primitives/input/index.js.map +0 -1
  705. package/dist/primitives/intent-selector/index.js +0 -4
  706. package/dist/primitives/intent-selector/index.js.map +0 -1
  707. package/dist/primitives/label/index.js +0 -4
  708. package/dist/primitives/label/index.js.map +0 -1
  709. package/dist/primitives/lane-board/index.js +0 -4
  710. package/dist/primitives/lane-board/index.js.map +0 -1
  711. package/dist/primitives/login-split/index.js +0 -4
  712. package/dist/primitives/login-split/index.js.map +0 -1
  713. package/dist/primitives/mcp-server-card/index.js +0 -4
  714. package/dist/primitives/mcp-server-card/index.js.map +0 -1
  715. package/dist/primitives/memory-editor/index.js +0 -4
  716. package/dist/primitives/memory-editor/index.js.map +0 -1
  717. package/dist/primitives/mention-menu/index.js +0 -5
  718. package/dist/primitives/mention-menu/index.js.map +0 -1
  719. package/dist/primitives/metrics-panel/index.js +0 -4
  720. package/dist/primitives/metrics-panel/index.js.map +0 -1
  721. package/dist/primitives/model-card/index.js +0 -4
  722. package/dist/primitives/model-card/index.js.map +0 -1
  723. package/dist/primitives/model-selector/index.js +0 -4
  724. package/dist/primitives/model-selector/index.js.map +0 -1
  725. package/dist/primitives/pagination/index.js +0 -4
  726. package/dist/primitives/pagination/index.js.map +0 -1
  727. package/dist/primitives/permission-matrix/index.js +0 -5
  728. package/dist/primitives/permission-matrix/index.js.map +0 -1
  729. package/dist/primitives/pin-input/index.js +0 -5
  730. package/dist/primitives/pin-input/index.js.map +0 -1
  731. package/dist/primitives/plan-badge/index.js +0 -4
  732. package/dist/primitives/plan-badge/index.js.map +0 -1
  733. package/dist/primitives/progress/index.js +0 -4
  734. package/dist/primitives/progress/index.js.map +0 -1
  735. package/dist/primitives/progress-checklist/index.js +0 -4
  736. package/dist/primitives/progress-checklist/index.js.map +0 -1
  737. package/dist/primitives/project-switcher/index.js +0 -4
  738. package/dist/primitives/project-switcher/index.js.map +0 -1
  739. package/dist/primitives/quick-action-chips/index.js +0 -4
  740. package/dist/primitives/quick-action-chips/index.js.map +0 -1
  741. package/dist/primitives/radio-group/index.js +0 -4
  742. package/dist/primitives/radio-group/index.js.map +0 -1
  743. package/dist/primitives/recent-folders-list/index.js +0 -4
  744. package/dist/primitives/recent-folders-list/index.js.map +0 -1
  745. package/dist/primitives/rule-card/index.js +0 -4
  746. package/dist/primitives/rule-card/index.js.map +0 -1
  747. package/dist/primitives/run-stats/index.js +0 -4
  748. package/dist/primitives/run-stats/index.js.map +0 -1
  749. package/dist/primitives/run-status-pill/index.js +0 -4
  750. package/dist/primitives/run-status-pill/index.js.map +0 -1
  751. package/dist/primitives/running-tasks-panel/index.js +0 -4
  752. package/dist/primitives/running-tasks-panel/index.js.map +0 -1
  753. package/dist/primitives/scroll-area/index.js +0 -5
  754. package/dist/primitives/scroll-area/index.js.map +0 -1
  755. package/dist/primitives/select/index.js +0 -4
  756. package/dist/primitives/select/index.js.map +0 -1
  757. package/dist/primitives/session-list-item/index.js +0 -4
  758. package/dist/primitives/session-list-item/index.js.map +0 -1
  759. package/dist/primitives/session-timeline/index.js +0 -4
  760. package/dist/primitives/session-timeline/index.js.map +0 -1
  761. package/dist/primitives/sheet/index.js +0 -4
  762. package/dist/primitives/sheet/index.js.map +0 -1
  763. package/dist/primitives/sidebar/index.js +0 -4
  764. package/dist/primitives/sidebar/index.js.map +0 -1
  765. package/dist/primitives/skeleton/index.js +0 -5
  766. package/dist/primitives/skeleton/index.js.map +0 -1
  767. package/dist/primitives/skill-card/index.js +0 -4
  768. package/dist/primitives/skill-card/index.js.map +0 -1
  769. package/dist/primitives/social-auth-row/index.js +0 -4
  770. package/dist/primitives/social-auth-row/index.js.map +0 -1
  771. package/dist/primitives/stat-tile/index.js +0 -4
  772. package/dist/primitives/stat-tile/index.js.map +0 -1
  773. package/dist/primitives/status-dot/index.js +0 -6
  774. package/dist/primitives/status-dot/index.js.map +0 -1
  775. package/dist/primitives/steps-rail/index.js +0 -4
  776. package/dist/primitives/steps-rail/index.js.map +0 -1
  777. package/dist/primitives/sub-agent-dispatch/index.js +0 -4
  778. package/dist/primitives/sub-agent-dispatch/index.js.map +0 -1
  779. package/dist/primitives/switch/index.js +0 -4
  780. package/dist/primitives/switch/index.js.map +0 -1
  781. package/dist/primitives/system-prompt-editor/index.js +0 -5
  782. package/dist/primitives/system-prompt-editor/index.js.map +0 -1
  783. package/dist/primitives/table/index.js +0 -5
  784. package/dist/primitives/table/index.js.map +0 -1
  785. package/dist/primitives/tabs/index.js +0 -4
  786. package/dist/primitives/tabs/index.js.map +0 -1
  787. package/dist/primitives/task-plan/index.js +0 -4
  788. package/dist/primitives/task-plan/index.js.map +0 -1
  789. package/dist/primitives/terminal-panel/index.js +0 -5
  790. package/dist/primitives/terminal-panel/index.js.map +0 -1
  791. package/dist/primitives/textarea/index.js +0 -4
  792. package/dist/primitives/textarea/index.js.map +0 -1
  793. package/dist/primitives/thinking-level-selector/index.js +0 -5
  794. package/dist/primitives/thinking-level-selector/index.js.map +0 -1
  795. package/dist/primitives/timestamp/index.js +0 -6
  796. package/dist/primitives/timestamp/index.js.map +0 -1
  797. package/dist/primitives/toast/index.js +0 -5
  798. package/dist/primitives/toast/index.js.map +0 -1
  799. package/dist/primitives/token-usage-chart/index.js +0 -4
  800. package/dist/primitives/token-usage-chart/index.js.map +0 -1
  801. package/dist/primitives/tool-call/index.js +0 -5
  802. package/dist/primitives/tool-call/index.js.map +0 -1
  803. package/dist/primitives/tool-call-card/index.js +0 -5
  804. package/dist/primitives/tool-call-card/index.js.map +0 -1
  805. package/dist/primitives/tool-result/index.js +0 -4
  806. package/dist/primitives/tool-result/index.js.map +0 -1
  807. package/dist/primitives/tools-list/index.js +0 -4
  808. package/dist/primitives/tools-list/index.js.map +0 -1
  809. package/dist/primitives/tooltip/index.js +0 -4
  810. package/dist/primitives/tooltip/index.js.map +0 -1
  811. package/dist/primitives/topnav/index.js +0 -4
  812. package/dist/primitives/topnav/index.js.map +0 -1
  813. package/dist/primitives/update-banner/index.js +0 -4
  814. package/dist/primitives/update-banner/index.js.map +0 -1
  815. package/dist/screens/theo-code-shell.d.ts +0 -9
  816. package/dist/screens/theo-code-shell.data.d.ts +0 -147
  817. package/dist/slide/index.js +0 -4
  818. package/dist/slide/index.js.map +0 -1
  819. package/dist/slide/plugins/emoji/index.js +0 -157
  820. package/dist/slide/plugins/emoji/index.js.map +0 -1
  821. package/dist/slide/plugins/math/index.js +0 -145
  822. package/dist/slide/plugins/math/index.js.map +0 -1
  823. package/dist/slide/plugins/mermaid/index.js +0 -218
  824. package/dist/slide/plugins/mermaid/index.js.map +0 -1
  825. package/dist/slide/plugins/shiki/index.js +0 -87
  826. package/dist/slide/plugins/shiki/index.js.map +0 -1
  827. package/dist/slide/themes/default.css +0 -256
  828. package/dist/slide/themes/layouts.css +0 -143
  829. package/dist/slide/themes/violet-forge.css +0 -256
  830. package/dist/slide-deck/index.css +0 -52
  831. package/dist/slide-deck/index.css.map +0 -1
  832. package/dist/slide-deck/index.js +0 -1122
  833. package/dist/slide-deck/index.js.map +0 -1
  834. package/dist/styles-v3-legacy.css +0 -88
  835. package/dist/styles.css +0 -137
  836. package/dist/themes/anthropic-style.d.ts +0 -11
  837. package/dist/themes/aurora-terminal.d.ts +0 -9
  838. package/dist/themes/classic-paper.d.ts +0 -17
  839. package/dist/themes/color-value-pattern.d.ts +0 -22
  840. package/dist/themes/color.d.ts +0 -62
  841. package/dist/themes/define.d.ts +0 -65
  842. package/dist/themes/density.d.ts +0 -17
  843. package/dist/themes/dracula.d.ts +0 -14
  844. package/dist/themes/github-dark.d.ts +0 -11
  845. package/dist/themes/index.d.ts +0 -26
  846. package/dist/themes/linear-glass.d.ts +0 -11
  847. package/dist/themes/one-dark.d.ts +0 -11
  848. package/dist/themes/openai-style.d.ts +0 -10
  849. package/dist/themes/schema.d.ts +0 -112
  850. package/dist/themes/theme-provider.d.ts +0 -82
  851. package/dist/themes/theme-script.d.ts +0 -48
  852. package/dist/themes/theme-switcher.d.ts +0 -17
  853. package/dist/themes/types.d.ts +0 -88
  854. package/dist/themes/vercel-mono.d.ts +0 -11
  855. package/dist/themes/violet-forge.d.ts +0 -12
  856. package/dist/theo-ui-provider.d.ts +0 -50
  857. package/dist/tokens-v4.css +0 -223
  858. package/dist/tokens.css +0 -315
  859. package/dist/types/agent.d.ts +0 -19
  860. package/dist/types/chat.d.ts +0 -173
  861. package/dist/types/mode.d.ts +0 -16
  862. package/dist/types/permission.d.ts +0 -8
  863. package/dist/types/rule.d.ts +0 -28
  864. package/dist/vite-plugin.d.ts +0 -25
  865. package/dist/vite-plugin.js +0 -76
  866. package/dist/vite-plugin.js.map +0 -1
  867. package/dist/whiteboard/index.js +0 -741
  868. package/dist/whiteboard/index.js.map +0 -1
  869. package/llms.txt +0 -273
  870. package/registry/index.json +0 -910
  871. package/registry/r/account-menu.json +0 -24
  872. package/registry/r/action-bar.json +0 -22
  873. package/registry/r/agent-composer.json +0 -22
  874. package/registry/r/agent-editor.json +0 -27
  875. package/registry/r/agent-error-card.json +0 -22
  876. package/registry/r/agent-event.json +0 -24
  877. package/registry/r/agent-handoff.json +0 -22
  878. package/registry/r/agent-profile.json +0 -23
  879. package/registry/r/agent-starting-state.json +0 -22
  880. package/registry/r/agent-stream.json +0 -27
  881. package/registry/r/agent-streaming.json +0 -22
  882. package/registry/r/agent-timeline.json +0 -22
  883. package/registry/r/agent-tool-renderer.json +0 -40
  884. package/registry/r/agent-types.json +0 -15
  885. package/registry/r/alert.json +0 -22
  886. package/registry/r/approval-card.json +0 -25
  887. package/registry/r/artifact-preview.json +0 -22
  888. package/registry/r/attachment-chip.json +0 -24
  889. package/registry/r/audit-log-entry.json +0 -23
  890. package/registry/r/auto-compact-notice.json +0 -22
  891. package/registry/r/avatar.json +0 -23
  892. package/registry/r/badge.json +0 -22
  893. package/registry/r/browser-controls.json +0 -22
  894. package/registry/r/build-log-stream.json +0 -20
  895. package/registry/r/button.json +0 -23
  896. package/registry/r/capability-indicator.json +0 -23
  897. package/registry/r/card.json +0 -22
  898. package/registry/r/chat-composer.json +0 -23
  899. package/registry/r/chat-message.json +0 -124
  900. package/registry/r/chat-thread.json +0 -20
  901. package/registry/r/chat-types.json +0 -15
  902. package/registry/r/checkbox.json +0 -24
  903. package/registry/r/choice-prompt.json +0 -25
  904. package/registry/r/cn.json +0 -19
  905. package/registry/r/code-block.json +0 -21
  906. package/registry/r/command-palette.json +0 -25
  907. package/registry/r/confirm-dialog.json +0 -25
  908. package/registry/r/confirm-prompt.json +0 -21
  909. package/registry/r/context-card.json +0 -23
  910. package/registry/r/context-window-bar.json +0 -20
  911. package/registry/r/copy-button.json +0 -22
  912. package/registry/r/cost-meter.json +0 -22
  913. package/registry/r/created-files-card.json +0 -23
  914. package/registry/r/cron-job-card.json +0 -22
  915. package/registry/r/cron-jobs-list.json +0 -23
  916. package/registry/r/danger-zone.json +0 -20
  917. package/registry/r/data-table.json +0 -27
  918. package/registry/r/deployment-row.json +0 -23
  919. package/registry/r/dialog.json +0 -23
  920. package/registry/r/diff-viewer.json +0 -20
  921. package/registry/r/domain-config.json +0 -25
  922. package/registry/r/dropdown-menu.json +0 -23
  923. package/registry/r/empty-state.json +0 -20
  924. package/registry/r/env-var-editor.json +0 -26
  925. package/registry/r/env.json +0 -15
  926. package/registry/r/folder-context-card.json +0 -23
  927. package/registry/r/folder-selector.json +0 -22
  928. package/registry/r/form-field.json +0 -23
  929. package/registry/r/hook-config.json +0 -22
  930. package/registry/r/hook-event-log.json +0 -22
  931. package/registry/r/input.json +0 -22
  932. package/registry/r/intent-selector.json +0 -24
  933. package/registry/r/label.json +0 -22
  934. package/registry/r/lane-board.json +0 -20
  935. package/registry/r/live-region-context.json +0 -16
  936. package/registry/r/login-split.json +0 -20
  937. package/registry/r/mcp-server-card.json +0 -22
  938. package/registry/r/mcp-server-list.json +0 -23
  939. package/registry/r/memory-editor.json +0 -23
  940. package/registry/r/mention-menu.json +0 -23
  941. package/registry/r/metric-card.json +0 -23
  942. package/registry/r/metrics-panel.json +0 -22
  943. package/registry/r/mode-types.json +0 -15
  944. package/registry/r/model-card.json +0 -23
  945. package/registry/r/model-selector.json +0 -23
  946. package/registry/r/multi-select-prompt.json +0 -25
  947. package/registry/r/page-shell.json +0 -25
  948. package/registry/r/pagination.json +0 -22
  949. package/registry/r/permission-matrix.json +0 -22
  950. package/registry/r/permission-modal.json +0 -24
  951. package/registry/r/permission-types.json +0 -15
  952. package/registry/r/pin-input.json +0 -20
  953. package/registry/r/plan-badge.json +0 -20
  954. package/registry/r/preview-env-card.json +0 -25
  955. package/registry/r/preview-panel.json +0 -21
  956. package/registry/r/progress-checklist.json +0 -23
  957. package/registry/r/progress.json +0 -20
  958. package/registry/r/project-card.json +0 -25
  959. package/registry/r/project-switcher.json +0 -22
  960. package/registry/r/prompt.json +0 -15
  961. package/registry/r/quick-action-chips.json +0 -21
  962. package/registry/r/radio-group.json +0 -23
  963. package/registry/r/recent-folders-list.json +0 -22
  964. package/registry/r/rollback-ui.json +0 -24
  965. package/registry/r/rule-card.json +0 -23
  966. package/registry/r/rule-editor.json +0 -28
  967. package/registry/r/rule-types.json +0 -18
  968. package/registry/r/run-stats.json +0 -22
  969. package/registry/r/running-tasks-panel.json +0 -22
  970. package/registry/r/safe-href.json +0 -16
  971. package/registry/r/scroll-area.json +0 -22
  972. package/registry/r/select.json +0 -24
  973. package/registry/r/session-list-item.json +0 -20
  974. package/registry/r/session-timeline.json +0 -22
  975. package/registry/r/sheet.json +0 -24
  976. package/registry/r/sidebar.json +0 -19
  977. package/registry/r/skeleton.json +0 -19
  978. package/registry/r/skill-card.json +0 -24
  979. package/registry/r/skill-editor.json +0 -28
  980. package/registry/r/skills-list.json +0 -23
  981. package/registry/r/slide-deck.json +0 -130
  982. package/registry/r/slide-plugin-emoji.json +0 -28
  983. package/registry/r/slide-plugin-math.json +0 -24
  984. package/registry/r/slide-plugin-mermaid.json +0 -23
  985. package/registry/r/slide-plugin-shiki.json +0 -23
  986. package/registry/r/slide.json +0 -123
  987. package/registry/r/social-auth-row.json +0 -21
  988. package/registry/r/stat-tile.json +0 -22
  989. package/registry/r/status-dot.json +0 -21
  990. package/registry/r/status-indicator.json +0 -20
  991. package/registry/r/steps-rail.json +0 -20
  992. package/registry/r/sub-agent-dispatch.json +0 -22
  993. package/registry/r/switch.json +0 -23
  994. package/registry/r/system-prompt-editor.json +0 -22
  995. package/registry/r/table.json +0 -22
  996. package/registry/r/tabs.json +0 -22
  997. package/registry/r/tailwind-preset.json +0 -19
  998. package/registry/r/task-header.json +0 -24
  999. package/registry/r/task-plan.json +0 -22
  1000. package/registry/r/task-types.json +0 -15
  1001. package/registry/r/terminal-panel.json +0 -22
  1002. package/registry/r/text-prompt.json +0 -24
  1003. package/registry/r/textarea.json +0 -22
  1004. package/registry/r/theme-provider.json +0 -60
  1005. package/registry/r/theme-script.json +0 -18
  1006. package/registry/r/theo-ui-provider.json +0 -20
  1007. package/registry/r/timestamp.json +0 -21
  1008. package/registry/r/toast.json +0 -30
  1009. package/registry/r/token-usage-chart.json +0 -20
  1010. package/registry/r/tokens.json +0 -21
  1011. package/registry/r/tool-call-card.json +0 -23
  1012. package/registry/r/tool-call.json +0 -22
  1013. package/registry/r/tool-result.json +0 -20
  1014. package/registry/r/tools-list.json +0 -23
  1015. package/registry/r/tooltip.json +0 -22
  1016. package/registry/r/topnav.json +0 -22
  1017. package/registry/r/types.json +0 -15
  1018. package/registry/r/usage-meter.json +0 -21
  1019. package/registry/r/whiteboard.json +0 -101
@@ -1,17 +0,0 @@
1
- export type Density = "compact" | "comfortable" | "spacious";
2
- export interface DensityContextValue {
3
- density: Density;
4
- setDensity: (next: Density) => void;
5
- }
6
- export declare const DensityContext: import("react").Context<DensityContextValue | undefined>;
7
- /**
8
- * Inject (idempotent) the density CSS variable definitions into the document
9
- * head. Returns true if the style tag was newly created. Safe to call on
10
- * every ThemeProvider mount — duplicates are skipped.
11
- */
12
- export declare function injectDensityCss(): boolean;
13
- /**
14
- * Read the current density from the active ThemeProvider context. Throws
15
- * outside the provider so misuse fails loud — analogous to `useTheme`.
16
- */
17
- export declare function useDensity(): DensityContextValue;
@@ -1,14 +0,0 @@
1
- import type { Theme } from "./types.js";
2
- /**
3
- * Dracula — the cult OSS dark theme (https://draculatheme.com, MIT).
4
- *
5
- * Dark mode = canonical Dracula spec (background #282A36, signature pink
6
- * #FF79C6, purple #BD93F9, etc.).
7
- *
8
- * Note: "light" mode is a Theo-original adaptation — Dracula upstream
9
- * spec is dark-only. We darken the signature pink/purple to pass WCAG AA
10
- * against light backgrounds, sacrificing palette purity for accessibility.
11
- *
12
- * Plan: .claude/knowledge-base/plans/seven-themes-plan.md T4.1
13
- */
14
- export declare const dracula: Theme;
@@ -1,11 +0,0 @@
1
- import type { Theme } from "./types.js";
2
- /**
3
- * GitHub Dark — GitHub's default dark theme.
4
- *
5
- * Based on the canonical Primer Primitives tokens
6
- * (https://github.com/primer/primitives, MIT). Light fallback uses GitHub's
7
- * "light-default" Primer scale.
8
- *
9
- * Plan: .claude/knowledge-base/plans/seven-themes-plan.md T3.1
10
- */
11
- export declare const githubDark: Theme;
@@ -1,26 +0,0 @@
1
- export type { ColorScale, Theme, ThemeFonts, ThemeMode } from "./types.js";
2
- export { ThemeProvider, useTheme } from "./theme-provider.js";
3
- export { ThemeScript } from "./theme-script.js";
4
- export { ThemeSwitcher } from "./theme-switcher.js";
5
- export { violetForge } from "./violet-forge.js";
6
- export { classicPaper } from "./classic-paper.js";
7
- export { auroraTerminal } from "./aurora-terminal.js";
8
- export { defineTheme, type DefineThemeInput } from "./define.js";
9
- export { hex, hexToHsl, rgb, rgbToHslLegacy } from "./color.js";
10
- export { useDensity, type Density, type DensityContextValue } from "./density.js";
11
- export { vercelMono } from "./vercel-mono.js";
12
- export { githubDark } from "./github-dark.js";
13
- export { dracula } from "./dracula.js";
14
- export { oneDark } from "./one-dark.js";
15
- export { anthropicStyle } from "./anthropic-style.js";
16
- export { openaiStyle } from "./openai-style.js";
17
- export { linearGlass } from "./linear-glass.js";
18
- /**
19
- * All themes bundled with Theo UI. Pass to `<ThemeProvider themes={builtinThemes}>`
20
- * if you want all 10 available out of the box.
21
- *
22
- * EC-4 note: passing the full 10-entry list triggers ~60 KB CSS injection in
23
- * `<style id="theo-ui-theme-vars">`. For apps focused on 1-2 themes, prefer
24
- * `themes={[violetForge, dracula]}` to keep the payload at ~12 KB.
25
- */
26
- export declare const builtinThemes: import("./types.js").Theme[];
@@ -1,11 +0,0 @@
1
- import type { Theme } from "./types.js";
2
- /**
3
- * Linear Glass — linear.app-inspired glassy indigo.
4
- *
5
- * Inspired by, not affiliated with Linear. Refined indigo-violet primary
6
- * (#5E6AD2) on near-black canvas in dark, pure white in light. Subtle
7
- * glassmorphic surface temperature.
8
- *
9
- * Plan: .claude/knowledge-base/plans/seven-themes-plan.md T8.1
10
- */
11
- export declare const linearGlass: Theme;
@@ -1,11 +0,0 @@
1
- import type { Theme } from "./types.js";
2
- /**
3
- * One Dark / One Light — Atom's iconic syntax theme.
4
- *
5
- * Sources:
6
- * - atom/one-dark-syntax (MIT) — dark mode canonical
7
- * - atom/one-light-syntax (MIT) — light mode canonical
8
- *
9
- * Plan: .claude/knowledge-base/plans/seven-themes-plan.md T5.1
10
- */
11
- export declare const oneDark: Theme;
@@ -1,10 +0,0 @@
1
- import type { Theme } from "./types.js";
2
- /**
3
- * OpenAI-style — chatgpt.com-inspired minimal tech-utility.
4
- *
5
- * Inspired by, not affiliated with OpenAI. Pure white / charcoal canvas +
6
- * signature ChatGPT green (#10A37F). Minimal saturation, high contrast.
7
- *
8
- * Plan: .claude/knowledge-base/plans/seven-themes-plan.md T7.1
9
- */
10
- export declare const openaiStyle: Theme;
@@ -1,112 +0,0 @@
1
- /**
2
- * Valibot schema for Theme — Phase 2 T2.7 / D5 (revised post-EC-6).
3
- *
4
- * Validates the shape and types of a Theme object passed to <ThemeProvider>
5
- * or registerTheme(). Complements the COLOR_VALUE_PATTERN regex (the second
6
- * defense layer against CSS injection): valibot validates shape; regex
7
- * validates that each individual color value is safe to interpolate.
8
- *
9
- * Why valibot (not zod): valibot core is ~1.5KB gzipped vs zod ~12KB.
10
- * <ThemeProvider> is a sync constructor — dynamic import does not tree-shake.
11
- * For our use case (validating ~37 string fields) valibot is strictly
12
- * better in bundle size and API parity.
13
- *
14
- * Output of safeParse → { success: true, output } or { success: false, issues }.
15
- * formatThemeIssues() produces human-readable error message with the failing
16
- * field path so consumers see what to fix.
17
- */
18
- import * as v from "valibot";
19
- export declare const themeSchema: v.ObjectSchema<{
20
- readonly name: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "theme name must match /^[a-z][a-z0-9-]*$/ (lowercase + digits + hyphens, starts with a letter)">]>;
21
- readonly label: v.StringSchema<undefined>;
22
- readonly description: v.OptionalSchema<v.StringSchema<undefined>, never>;
23
- readonly fonts: v.ObjectSchema<{
24
- readonly display: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "font family contains disallowed characters (parens, semicolons, etc.)">]>;
25
- readonly body: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "font family contains disallowed characters (parens, semicolons, etc.)">]>;
26
- readonly mono: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "font family contains disallowed characters (parens, semicolons, etc.)">]>;
27
- }, undefined>;
28
- readonly light: v.ObjectSchema<{
29
- readonly background: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
30
- readonly foreground: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
31
- readonly card: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
32
- readonly "card-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
33
- readonly popover: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
34
- readonly "popover-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
35
- readonly primary: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
36
- readonly "primary-deep": v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>, never>;
37
- readonly "primary-glow": v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>, never>;
38
- readonly "primary-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
39
- readonly secondary: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
40
- readonly "secondary-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
41
- readonly accent: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
42
- readonly "accent-deep": v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>, never>;
43
- readonly "accent-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
44
- readonly muted: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
45
- readonly "muted-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
46
- readonly border: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
47
- readonly input: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
48
- readonly ring: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
49
- readonly success: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
50
- readonly "success-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
51
- readonly warning: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
52
- readonly "warning-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
53
- readonly destructive: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
54
- readonly "destructive-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
55
- readonly info: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
56
- readonly "info-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
57
- readonly "status-online": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
58
- readonly "status-online-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
59
- readonly "status-offline": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
60
- readonly "status-offline-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
61
- readonly "status-degraded": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
62
- readonly "status-degraded-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
63
- readonly "status-info": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
64
- readonly "status-info-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
65
- }, undefined>;
66
- readonly dark: v.ObjectSchema<{
67
- readonly background: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
68
- readonly foreground: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
69
- readonly card: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
70
- readonly "card-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
71
- readonly popover: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
72
- readonly "popover-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
73
- readonly primary: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
74
- readonly "primary-deep": v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>, never>;
75
- readonly "primary-glow": v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>, never>;
76
- readonly "primary-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
77
- readonly secondary: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
78
- readonly "secondary-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
79
- readonly accent: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
80
- readonly "accent-deep": v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>, never>;
81
- readonly "accent-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
82
- readonly muted: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
83
- readonly "muted-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
84
- readonly border: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
85
- readonly input: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
86
- readonly ring: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
87
- readonly success: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
88
- readonly "success-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
89
- readonly warning: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
90
- readonly "warning-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
91
- readonly destructive: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
92
- readonly "destructive-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
93
- readonly info: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
94
- readonly "info-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
95
- readonly "status-online": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
96
- readonly "status-online-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
97
- readonly "status-offline": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
98
- readonly "status-offline-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
99
- readonly "status-degraded": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
100
- readonly "status-degraded-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
101
- readonly "status-info": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
102
- readonly "status-info-foreground": v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "color value did not match the allowed format (hex, oklch, hsl, rgb, var(), HSL split, or CSS keyword)">]>;
103
- }, undefined>;
104
- readonly fontUrls: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "fontUrls must use http(s) protocol (javascript:, data:, etc. are rejected)">]>, undefined>, never>;
105
- }, undefined>;
106
- export type ThemeIssue = v.InferIssue<typeof themeSchema>;
107
- export interface ThemeValidationResult {
108
- success: boolean;
109
- issues?: ThemeIssue[];
110
- }
111
- export declare function validateTheme(theme: unknown): ThemeValidationResult;
112
- export declare function formatThemeIssues(themeName: string, issues: ThemeIssue[]): string;
@@ -1,82 +0,0 @@
1
- import type { JSX, ReactNode } from "react";
2
- import { type Density } from "./density.js";
3
- import type { Theme, ThemeMode } from "./types.js";
4
- interface ThemeContextValue {
5
- /** Active theme (full descriptor). */
6
- theme: Theme;
7
- /** Active mode: light or dark. */
8
- mode: ThemeMode;
9
- /** All available themes. */
10
- themes: Theme[];
11
- /** Swap the active theme by name. */
12
- setTheme: (name: string) => void;
13
- /** Set light/dark explicitly. */
14
- setMode: (mode: ThemeMode) => void;
15
- /** Toggle light <> dark. */
16
- toggleMode: () => void;
17
- /** Register an additional theme at runtime. */
18
- registerTheme: (theme: Theme) => void;
19
- }
20
- interface ThemeProviderProps {
21
- children: ReactNode;
22
- /**
23
- * Theme to start with. Must match the `name` of an entry in `themes`.
24
- * Defaults to `"violet-forge"` for backward compat — if you don't pass
25
- * `violet-forge` in `themes`, set this prop explicitly.
26
- */
27
- defaultTheme?: string;
28
- /** Mode to start with. Defaults to `"dark"` (library is dark-first). */
29
- defaultMode?: ThemeMode;
30
- /**
31
- * Available themes. **Required**: ThemeProvider does not auto-include any
32
- * built-in theme since v0.1.0-next.0 — pass `builtinThemes` for all three
33
- * Violet Forge defaults, or your own array for a slimmer bundle.
34
- *
35
- * Migration: consumers previously calling `<ThemeProvider>` without this
36
- * prop now must pass `themes={builtinThemes}` (or use `<TheoUIProvider>`
37
- * which defaults to `builtinThemes` for you).
38
- */
39
- themes: Theme[];
40
- /**
41
- * Persist selection in localStorage under this key. Pass `null` to disable.
42
- * Default: "theo-ui:theme".
43
- */
44
- storageKey?: string | null;
45
- /**
46
- * Initial density. Drives `data-density` on `<html>` and the `--theo-control-h`
47
- * / `--theo-control-px` CSS vars consumed by form-control `md` variants.
48
- * Defaults to `"comfortable"` (36px controls — FAANG-tier modern density).
49
- * Plan: faang-density-tightening (D3).
50
- */
51
- defaultDensity?: Density;
52
- /**
53
- * Respect the consumer's OS `prefers-color-scheme` preference on initial
54
- * mount (D6 / T5.1). When `true` (default) and no theme-mode is stored in
55
- * `localStorage[storageKey]`, the provider reads
56
- * `matchMedia('(prefers-color-scheme: dark)')` and subscribes to changes.
57
- * User-driven `setMode()` overrides the system signal — subsequent OS
58
- * changes are ignored after the user fixes a preference.
59
- *
60
- * Pass `false` to force `defaultMode` regardless of the system preference.
61
- * EC-12: matchMedia listener is cleaned up on unmount.
62
- */
63
- respectSystemMode?: boolean;
64
- }
65
- /**
66
- * ThemeProvider — central registry + runtime switcher for Theo themes.
67
- *
68
- * Behavior:
69
- * 1. On mount, injects a `<style id="theo-ui-theme-vars">` element with
70
- * one CSS block per theme (`[data-theme="<name>"] { --token: ... }`).
71
- * 2. Sets `data-theme` and `data-mode` on `<html>` so any element nested
72
- * below inherits the right tokens (the Tailwind config consumes them).
73
- * 3. Lazy-loads theme font URLs by injecting `<link rel="stylesheet">`.
74
- * 4. Optionally persists choice in localStorage.
75
- */
76
- declare function ThemeProvider({ children, defaultTheme, defaultMode, themes: themesProp, storageKey, defaultDensity, respectSystemMode, }: ThemeProviderProps): JSX.Element;
77
- /**
78
- * useTheme — access theme state from any component inside <ThemeProvider>.
79
- * Throws if used outside the provider — fail-fast.
80
- */
81
- declare function useTheme(): ThemeContextValue;
82
- export { ThemeProvider, useTheme };
@@ -1,48 +0,0 @@
1
- /**
2
- * ThemeScript — inline `<script>` for SSR-safe theme initialization.
3
- *
4
- * Renders a synchronous script that runs BEFORE React hydration. It reads the
5
- * persisted theme + mode from localStorage (or falls back to the defaults) and
6
- * sets `data-theme` / `data-mode` on `<html>`, plus the `.dark` class when
7
- * mode is dark. This eliminates FOUC and avoids hydration mismatch warnings
8
- * when the user's persisted choice differs from the SSR defaults.
9
- *
10
- * Place this in `<head>` ABOVE `<body>`. The component does not need to live
11
- * inside `<ThemeProvider>`.
12
- *
13
- * Security: every interpolated value is passed through `safe()`, which both
14
- * `JSON.stringify`s the value AND escapes `<` to `<`. The `<` escape is
15
- * REQUIRED because `JSON.stringify` alone does NOT escape `/`, so a payload
16
- * like `"</script><script>alert(1)</script>"` would otherwise break out of
17
- * the inline `<script>` tag even though it stays inside a JS string literal.
18
- * (The browser tokenizes `</script>` at the HTML layer before JS parses.)
19
- *
20
- * Example (Next.js App Router): see docs/design-system.md → SSR section.
21
- * Pass `defaultTheme` and `defaultMode` to align with the consumer's
22
- * preferred initial state. Always wrap the root in `<html
23
- * suppressHydrationWarning>` to silence the expected one-render diff.
24
- */
25
- import type { JSX } from "react";
26
- import type { ThemeMode } from "./types.js";
27
- interface ThemeScriptProps {
28
- /** Theme name to apply when no persisted value exists. Default `"violet-forge"`. */
29
- defaultTheme?: string;
30
- /** Mode to apply when no persisted value exists. Default `"dark"`. */
31
- defaultMode?: ThemeMode;
32
- /**
33
- * Density to apply when no persisted value exists. Default `"comfortable"`.
34
- * Mirrors `ThemeProvider`'s `defaultDensity` so the inline-script and
35
- * the React provider agree on the SSR-default density (and the
36
- * `data-density` attribute set by this script matches what
37
- * `ThemeProvider` promotes via its post-mount hydration effect).
38
- */
39
- defaultDensity?: "compact" | "comfortable" | "spacious";
40
- /**
41
- * localStorage namespace. Must match the `storageKey` passed to
42
- * `<ThemeProvider>`. Default `"theo-ui:theme"`. Pass `null` to disable
43
- * persistence reads (the script will always apply defaults).
44
- */
45
- storageKey?: string | null;
46
- }
47
- declare function ThemeScript({ defaultTheme, defaultMode, defaultDensity, storageKey, }: ThemeScriptProps): JSX.Element;
48
- export { ThemeScript };
@@ -1,17 +0,0 @@
1
- import type { JSX } from "react";
2
- interface ThemeSwitcherProps {
3
- className?: string;
4
- /** If true, renders mode toggle inline next to the theme menu. */
5
- showModeToggle?: boolean;
6
- }
7
- /**
8
- * ThemeSwitcher — drop-in theme + mode picker.
9
- *
10
- * Two affordances:
11
- * - Palette dropdown lists all registered themes with the active marked.
12
- * - Optional sun/moon button toggles light/dark.
13
- *
14
- * Stateless wrt itself — pulls state from `useTheme()`.
15
- */
16
- declare function ThemeSwitcher({ className, showModeToggle }: ThemeSwitcherProps): JSX.Element;
17
- export { ThemeSwitcher };
@@ -1,88 +0,0 @@
1
- /**
2
- * Theo UI — Theme types.
3
- *
4
- * A Theme is a frozen bundle of CSS-var values that the runtime can swap by
5
- * setting `data-theme="<name>"` on `<html>`. The structure mirrors what lives
6
- * in tokens.css so themes can be merged without ambiguity.
7
- */
8
- export type ThemeMode = "light" | "dark";
9
- export interface ColorScale {
10
- background: string;
11
- foreground: string;
12
- card: string;
13
- "card-foreground": string;
14
- popover: string;
15
- "popover-foreground": string;
16
- primary: string;
17
- /**
18
- * Tonal scale variants of `primary`. Optional since T3.2 (ADR-0006).
19
- * When omitted, derived in CSS from `--primary` via `oklch(from ...)`.
20
- * Override per-theme by providing an explicit string.
21
- */
22
- "primary-deep"?: string;
23
- "primary-glow"?: string;
24
- "primary-foreground": string;
25
- secondary: string;
26
- "secondary-foreground": string;
27
- accent: string;
28
- /**
29
- * Tonal scale variant of `accent`. Optional since T3.2 — derived in CSS
30
- * when omitted. Override per-theme by providing an explicit string.
31
- */
32
- "accent-deep"?: string;
33
- "accent-foreground": string;
34
- muted: string;
35
- "muted-foreground": string;
36
- border: string;
37
- input: string;
38
- ring: string;
39
- success: string;
40
- "success-foreground": string;
41
- warning: string;
42
- "warning-foreground": string;
43
- destructive: string;
44
- "destructive-foreground": string;
45
- info: string;
46
- "info-foreground": string;
47
- /**
48
- * Status semantic group (D4 ADR — community-best-practices plan).
49
- *
50
- * Operational state colors (gateway connected/disconnected/slow/info-flag)
51
- * separated from action-result semantics (success/destructive/warning/info).
52
- * Defaults in built-in themes mirror their semantic counterparts; consumers
53
- * may override for visually-distinct status surfaces. `defineTheme(partial)`
54
- * auto-populates from semantic group when omitted.
55
- */
56
- "status-online": string;
57
- "status-online-foreground": string;
58
- "status-offline": string;
59
- "status-offline-foreground": string;
60
- "status-degraded": string;
61
- "status-degraded-foreground": string;
62
- "status-info": string;
63
- "status-info-foreground": string;
64
- }
65
- export interface ThemeFonts {
66
- /** Display headlines (h1-h3, hero text). */
67
- display: string;
68
- /** Body / UI text. */
69
- body: string;
70
- /** Code, mono, paths, timestamps. */
71
- mono: string;
72
- }
73
- export interface Theme {
74
- /** Stable id, used in `data-theme`. */
75
- name: string;
76
- /** Human-readable label for theme switchers. */
77
- label: string;
78
- /** Optional short description shown in switchers. */
79
- description?: string;
80
- fonts: ThemeFonts;
81
- light: ColorScale;
82
- dark: ColorScale;
83
- /**
84
- * Optional URL(s) to fetch before applying. The provider injects a `<link>`
85
- * tag once per URL to load remote fonts. Already-injected URLs are deduped.
86
- */
87
- fontUrls?: string[];
88
- }
@@ -1,11 +0,0 @@
1
- import type { Theme } from "./types.js";
2
- /**
3
- * Vercel Mono — razor-sharp monochrome + signature blue.
4
- *
5
- * Inspired by, not affiliated with Vercel. Based on Geist Design tokens
6
- * (https://github.com/vercel/geist). Light = pure white + black ink + blue
7
- * accent (#0070F3); dark = near-black canvas + white text + same blue.
8
- *
9
- * Plan: .claude/knowledge-base/plans/seven-themes-plan.md T2.1
10
- */
11
- export declare const vercelMono: Theme;
@@ -1,12 +0,0 @@
1
- import type { Theme } from "./types.js";
2
- /**
3
- * Violet Forge — the default Theo theme.
4
- *
5
- * Identity: Theo violet electric primary (#A855F7, unified 2026-06-09),
6
- * burnt sienna accent (#C96442), Vercel-style neutral surfaces
7
- * (pure white light / charcoal dark), Geist Sans + Geist Mono throughout.
8
- *
9
- * Source of truth for `data-theme` overrides. Values mirror
10
- * src/styles/tokens.css for the default `:root`.
11
- */
12
- export declare const violetForge: Theme;
@@ -1,50 +0,0 @@
1
- import type { ComponentProps, JSX, ReactNode } from "react";
2
- import { Toaster } from "./components/primitives/toast/toaster.js";
3
- import { ThemeProvider } from "./themes/theme-provider.js";
4
- /**
5
- * TheoUIProvider — primary entry point composing `<ThemeProvider>` and
6
- * `<Toaster>` in the correct order with sensible defaults.
7
- *
8
- * Recommended for consumer apps to avoid hand-wiring the provider stack.
9
- * Equivalent to:
10
- *
11
- * <ThemeProvider themes={builtinThemes} {...theme}>
12
- * <Toaster {...toaster}>{children}</Toaster>
13
- * </ThemeProvider>
14
- *
15
- * Notes:
16
- * - Since v0.1.0-next.0, `<ThemeProvider>` requires the `themes` prop
17
- * (T2.5 decoupling). `<TheoUIProvider>` defaults it to `builtinThemes`
18
- * to preserve "works out of the box" DX. Pass `theme.themes` to override.
19
- * - The `"use client"` directive is required for Next.js App Router (RSC)
20
- * because `<ThemeProvider>` uses React state and effects internally.
21
- * - `<Tooltip>` provider stays per-instance (Radix recommendation) — this
22
- * wrapper does NOT introduce a global tooltip context.
23
- * - `<ThemeProvider>` and `<Toaster>` remain independently exported for
24
- * consumers who want bespoke control.
25
- *
26
- * SSR:
27
- * - Place `<ThemeScript>` in `<head>` to avoid FOUC + hydration mismatch.
28
- * - Wrap `<html lang="en" suppressHydrationWarning>`.
29
- *
30
- * @example
31
- * import { TheoUIProvider } from "@theokit/ui";
32
- *
33
- * export default function App({ children }) {
34
- * return <TheoUIProvider>{children}</TheoUIProvider>;
35
- * }
36
- */
37
- export interface TheoUIProviderProps {
38
- children: ReactNode;
39
- /** Pass-through props for the inner `<ThemeProvider>`. Optional. */
40
- theme?: Omit<ComponentProps<typeof ThemeProvider>, "children" | "themes"> & {
41
- /** Override the default theme set (defaults to `builtinThemes`). */
42
- themes?: ComponentProps<typeof ThemeProvider>["themes"];
43
- };
44
- /** Pass-through props for the inner `<Toaster>`. */
45
- toaster?: Omit<ComponentProps<typeof Toaster>, "children">;
46
- }
47
- export declare function TheoUIProvider({ children, theme, toaster }: TheoUIProviderProps): JSX.Element;
48
- export declare namespace TheoUIProvider {
49
- var displayName: string;
50
- }