@opencode/ui 0.0.0-reserved → 2.0.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 (520) hide show
  1. package/LICENSE +21 -0
  2. package/dist/actions/button/button.d.ts +10 -0
  3. package/dist/actions/icon-button/icon-button.d.ts +11 -0
  4. package/dist/actions/split-button/split-button.d.ts +5 -0
  5. package/dist/components/animated-number.d.ts +4 -0
  6. package/dist/components/app-icon.d.ts +6 -0
  7. package/dist/components/app-icons/types.d.ts +2 -0
  8. package/dist/components/card.d.ts +22 -0
  9. package/dist/components/collapsible.d.ts +17 -0
  10. package/dist/components/context-menu.d.ts +80 -0
  11. package/dist/components/dock-surface.d.ts +7 -0
  12. package/dist/components/favicon.d.ts +1 -0
  13. package/dist/components/file-icon.d.ts +12 -0
  14. package/dist/components/file-icons/types.d.ts +2 -0
  15. package/dist/components/font.d.ts +1 -0
  16. package/dist/components/hover-card.d.ts +9 -0
  17. package/dist/components/image-preview.d.ts +5 -0
  18. package/dist/components/list.d.ts +45 -0
  19. package/dist/components/logo.d.ts +8 -0
  20. package/dist/components/motion-spring.d.ts +4 -0
  21. package/dist/components/popover.d.ts +14 -0
  22. package/dist/components/progress.d.ts +7 -0
  23. package/dist/components/provider-icon.d.ts +5 -0
  24. package/dist/components/provider-icons/types.d.ts +2 -0
  25. package/dist/components/resize-handle.d.ts +14 -0
  26. package/dist/components/scroll-view.d.ts +42 -0
  27. package/dist/components/spinner.d.ts +6 -0
  28. package/dist/components/sticky-accordion-header.d.ts +5 -0
  29. package/dist/components/text-field.d.ts +13 -0
  30. package/dist/components/text-reveal.d.ts +13 -0
  31. package/dist/components/text-strikethrough.d.ts +11 -0
  32. package/dist/components/typewriter.d.ts +6 -0
  33. package/dist/context/dialog.d.ts +18 -0
  34. package/dist/context/file.d.ts +5 -0
  35. package/dist/context/helper.d.ts +14 -0
  36. package/dist/context/i18n.d.ts +24 -0
  37. package/dist/context/index.d.ts +4 -0
  38. package/dist/context/marked-base.d.ts +3 -0
  39. package/dist/context/marked-parser.d.ts +1 -0
  40. package/dist/context/marked-theme-register.d.ts +1 -0
  41. package/dist/context/marked-theme.d.ts +2 -0
  42. package/dist/context/marked.d.ts +2 -0
  43. package/dist/context/worker-pool.d.ts +9 -0
  44. package/dist/data-display/accordion/accordion.d.ts +24 -0
  45. package/dist/data-display/avatar/avatar.d.ts +11 -0
  46. package/dist/data-display/badge/badge.d.ts +7 -0
  47. package/dist/data-display/diff-changes/diff-changes.d.ts +12 -0
  48. package/dist/data-display/keybind/keybind.d.ts +7 -0
  49. package/dist/data-display/line-comment/line-comment.d.ts +32 -0
  50. package/dist/data-display/project-avatar/project-avatar.d.ts +12 -0
  51. package/dist/feedback/loader/loader.d.ts +3 -0
  52. package/dist/feedback/progress-circle/progress-circle.d.ts +9 -0
  53. package/dist/feedback/toast/toast.d.ts +57 -0
  54. package/dist/forms/checkbox/checkbox.d.ts +8 -0
  55. package/dist/forms/field/field.d.ts +22 -0
  56. package/dist/forms/inline-input/inline-input.d.ts +5 -0
  57. package/dist/forms/radio/radio.d.ts +16 -0
  58. package/dist/forms/select/select.d.ts +23 -0
  59. package/dist/forms/switch/switch.d.ts +9 -0
  60. package/dist/forms/text-input/text-input.d.ts +24 -0
  61. package/dist/forms/textarea/textarea.d.ts +7 -0
  62. package/dist/hooks/create-auto-scroll.d.ts +17 -0
  63. package/dist/hooks/index.d.ts +2 -0
  64. package/dist/hooks/use-filtered-list.d.ts +48 -0
  65. package/dist/i18n/am.d.ts +1 -0
  66. package/dist/i18n/ar.d.ts +209 -0
  67. package/dist/i18n/az.d.ts +1 -0
  68. package/dist/i18n/bg.d.ts +193 -0
  69. package/dist/i18n/bn.d.ts +1 -0
  70. package/dist/i18n/br.d.ts +197 -0
  71. package/dist/i18n/bs.d.ts +197 -0
  72. package/dist/i18n/ca.d.ts +1 -0
  73. package/dist/i18n/cs.d.ts +1 -0
  74. package/dist/i18n/da.d.ts +193 -0
  75. package/dist/i18n/de.d.ts +193 -0
  76. package/dist/i18n/dv.d.ts +1 -0
  77. package/dist/i18n/dz.d.ts +1 -0
  78. package/dist/i18n/el.d.ts +1 -0
  79. package/dist/i18n/en.d.ts +251 -0
  80. package/dist/i18n/es.d.ts +197 -0
  81. package/dist/i18n/et.d.ts +1 -0
  82. package/dist/i18n/fa.d.ts +1 -0
  83. package/dist/i18n/fi.d.ts +1 -0
  84. package/dist/i18n/fo.d.ts +1 -0
  85. package/dist/i18n/fr.d.ts +197 -0
  86. package/dist/i18n/he.d.ts +197 -0
  87. package/dist/i18n/hi.d.ts +1 -0
  88. package/dist/i18n/hr.d.ts +1 -0
  89. package/dist/i18n/hu.d.ts +1 -0
  90. package/dist/i18n/hy.d.ts +1 -0
  91. package/dist/i18n/id.d.ts +1 -0
  92. package/dist/i18n/is.d.ts +1 -0
  93. package/dist/i18n/it.d.ts +1 -0
  94. package/dist/i18n/ja.d.ts +193 -0
  95. package/dist/i18n/ka.d.ts +1 -0
  96. package/dist/i18n/km.d.ts +193 -0
  97. package/dist/i18n/ko.d.ts +193 -0
  98. package/dist/i18n/lo.d.ts +193 -0
  99. package/dist/i18n/lt.d.ts +1 -0
  100. package/dist/i18n/lv.d.ts +1 -0
  101. package/dist/i18n/mk.d.ts +193 -0
  102. package/dist/i18n/mn.d.ts +193 -0
  103. package/dist/i18n/ms.d.ts +1 -0
  104. package/dist/i18n/my.d.ts +193 -0
  105. package/dist/i18n/ne.d.ts +1 -0
  106. package/dist/i18n/nl.d.ts +1 -0
  107. package/dist/i18n/no.d.ts +4 -0
  108. package/dist/i18n/pa.d.ts +1 -0
  109. package/dist/i18n/pl.d.ts +201 -0
  110. package/dist/i18n/ro.d.ts +1 -0
  111. package/dist/i18n/ru.d.ts +201 -0
  112. package/dist/i18n/si.d.ts +1 -0
  113. package/dist/i18n/sk.d.ts +1 -0
  114. package/dist/i18n/sl.d.ts +1 -0
  115. package/dist/i18n/sq.d.ts +1 -0
  116. package/dist/i18n/sr.d.ts +197 -0
  117. package/dist/i18n/sv.d.ts +1 -0
  118. package/dist/i18n/tg.d.ts +193 -0
  119. package/dist/i18n/th.d.ts +193 -0
  120. package/dist/i18n/tk.d.ts +1 -0
  121. package/dist/i18n/tr.d.ts +193 -0
  122. package/dist/i18n/uk.d.ts +1 -0
  123. package/dist/i18n/ur.d.ts +1 -0
  124. package/dist/i18n/uz.d.ts +1 -0
  125. package/dist/i18n/vi.d.ts +1 -0
  126. package/dist/i18n/zh.d.ts +193 -0
  127. package/dist/i18n/zht.d.ts +193 -0
  128. package/dist/icons/icon/additional-icons.d.ts +105 -0
  129. package/dist/icons/icon/icon.d.ts +228 -0
  130. package/dist/layout/divider/divider.d.ts +5 -0
  131. package/dist/navigation/menu/menu.d.ts +59 -0
  132. package/dist/navigation/segmented-control/segmented-control.d.ts +21 -0
  133. package/dist/navigation/tab-state-indicator.d.ts +2 -0
  134. package/dist/navigation/tabs/tabs.d.ts +39 -0
  135. package/dist/overlays/dialog/dialog.d.ts +26 -0
  136. package/dist/overlays/tooltip/tooltip.d.ts +15 -0
  137. package/dist/storybook/fixtures.d.ts +19 -0
  138. package/dist/storybook/scaffold.d.ts +16 -0
  139. package/dist/theme/color.d.ts +30 -0
  140. package/dist/theme/context.d.ts +21 -0
  141. package/dist/theme/default-themes.d.ts +39 -0
  142. package/dist/theme/index.d.ts +7 -0
  143. package/dist/theme/loader.d.ts +6 -0
  144. package/dist/theme/resolve.d.ts +7 -0
  145. package/dist/theme/types.d.ts +56 -0
  146. package/dist/theme/v2/avatar.d.ts +5 -0
  147. package/dist/theme/v2/default-primitives.d.ts +3 -0
  148. package/dist/theme/v2/foreground.d.ts +2 -0
  149. package/dist/theme/v2/mapping.d.ts +3 -0
  150. package/dist/theme/v2/resolve.d.ts +9 -0
  151. package/dist/typography/text-shimmer/text-shimmer.d.ts +9 -0
  152. package/dist/typography/wordmark/wordmark.d.ts +5 -0
  153. package/package.json +252 -6
  154. package/src/actions/button/button.css +294 -0
  155. package/src/actions/button/button.tsx +42 -0
  156. package/src/actions/icon-button/icon-button.css +124 -0
  157. package/src/actions/icon-button/icon-button.tsx +32 -0
  158. package/src/actions/split-button/split-button.css +95 -0
  159. package/src/actions/split-button/split-button.tsx +48 -0
  160. package/src/actions/submit.css +74 -0
  161. package/src/assets/audio/alert-01.aac +0 -0
  162. package/src/assets/audio/alert-01.mp3 +0 -0
  163. package/src/assets/audio/alert-02.aac +0 -0
  164. package/src/assets/audio/alert-02.mp3 +0 -0
  165. package/src/assets/audio/alert-03.aac +0 -0
  166. package/src/assets/audio/alert-03.mp3 +0 -0
  167. package/src/assets/audio/alert-04.aac +0 -0
  168. package/src/assets/audio/alert-04.mp3 +0 -0
  169. package/src/assets/audio/alert-05.aac +0 -0
  170. package/src/assets/audio/alert-05.mp3 +0 -0
  171. package/src/assets/audio/alert-06.aac +0 -0
  172. package/src/assets/audio/alert-06.mp3 +0 -0
  173. package/src/assets/audio/alert-07.aac +0 -0
  174. package/src/assets/audio/alert-07.mp3 +0 -0
  175. package/src/assets/audio/alert-08.aac +0 -0
  176. package/src/assets/audio/alert-08.mp3 +0 -0
  177. package/src/assets/audio/alert-09.aac +0 -0
  178. package/src/assets/audio/alert-09.mp3 +0 -0
  179. package/src/assets/audio/alert-10.aac +0 -0
  180. package/src/assets/audio/alert-10.mp3 +0 -0
  181. package/src/assets/audio/bip-bop-01.aac +0 -0
  182. package/src/assets/audio/bip-bop-01.mp3 +0 -0
  183. package/src/assets/audio/bip-bop-02.aac +0 -0
  184. package/src/assets/audio/bip-bop-02.mp3 +0 -0
  185. package/src/assets/audio/bip-bop-03.aac +0 -0
  186. package/src/assets/audio/bip-bop-03.mp3 +0 -0
  187. package/src/assets/audio/bip-bop-04.aac +0 -0
  188. package/src/assets/audio/bip-bop-04.mp3 +0 -0
  189. package/src/assets/audio/bip-bop-05.aac +0 -0
  190. package/src/assets/audio/bip-bop-05.mp3 +0 -0
  191. package/src/assets/audio/bip-bop-06.aac +0 -0
  192. package/src/assets/audio/bip-bop-06.mp3 +0 -0
  193. package/src/assets/audio/bip-bop-07.aac +0 -0
  194. package/src/assets/audio/bip-bop-07.mp3 +0 -0
  195. package/src/assets/audio/bip-bop-08.aac +0 -0
  196. package/src/assets/audio/bip-bop-08.mp3 +0 -0
  197. package/src/assets/audio/bip-bop-09.aac +0 -0
  198. package/src/assets/audio/bip-bop-09.mp3 +0 -0
  199. package/src/assets/audio/bip-bop-10.aac +0 -0
  200. package/src/assets/audio/bip-bop-10.mp3 +0 -0
  201. package/src/assets/audio/nope-01.aac +0 -0
  202. package/src/assets/audio/nope-01.mp3 +0 -0
  203. package/src/assets/audio/nope-02.aac +0 -0
  204. package/src/assets/audio/nope-02.mp3 +0 -0
  205. package/src/assets/audio/nope-03.aac +0 -0
  206. package/src/assets/audio/nope-03.mp3 +0 -0
  207. package/src/assets/audio/nope-04.aac +0 -0
  208. package/src/assets/audio/nope-04.mp3 +0 -0
  209. package/src/assets/audio/nope-05.aac +0 -0
  210. package/src/assets/audio/nope-05.mp3 +0 -0
  211. package/src/assets/audio/nope-06.aac +0 -0
  212. package/src/assets/audio/nope-06.mp3 +0 -0
  213. package/src/assets/audio/nope-07.aac +0 -0
  214. package/src/assets/audio/nope-07.mp3 +0 -0
  215. package/src/assets/audio/nope-08.aac +0 -0
  216. package/src/assets/audio/nope-08.mp3 +0 -0
  217. package/src/assets/audio/nope-09.aac +0 -0
  218. package/src/assets/audio/nope-09.mp3 +0 -0
  219. package/src/assets/audio/nope-10.aac +0 -0
  220. package/src/assets/audio/nope-10.mp3 +0 -0
  221. package/src/assets/audio/nope-11.aac +0 -0
  222. package/src/assets/audio/nope-11.mp3 +0 -0
  223. package/src/assets/audio/nope-12.aac +0 -0
  224. package/src/assets/audio/nope-12.mp3 +0 -0
  225. package/src/assets/audio/staplebops-01.aac +0 -0
  226. package/src/assets/audio/staplebops-01.mp3 +0 -0
  227. package/src/assets/audio/staplebops-02.aac +0 -0
  228. package/src/assets/audio/staplebops-02.mp3 +0 -0
  229. package/src/assets/audio/staplebops-03.aac +0 -0
  230. package/src/assets/audio/staplebops-03.mp3 +0 -0
  231. package/src/assets/audio/staplebops-04.aac +0 -0
  232. package/src/assets/audio/staplebops-04.mp3 +0 -0
  233. package/src/assets/audio/staplebops-05.aac +0 -0
  234. package/src/assets/audio/staplebops-05.mp3 +0 -0
  235. package/src/assets/audio/staplebops-06.aac +0 -0
  236. package/src/assets/audio/staplebops-06.mp3 +0 -0
  237. package/src/assets/audio/staplebops-07.aac +0 -0
  238. package/src/assets/audio/staplebops-07.mp3 +0 -0
  239. package/src/assets/audio/yup-01.aac +0 -0
  240. package/src/assets/audio/yup-01.mp3 +0 -0
  241. package/src/assets/audio/yup-02.aac +0 -0
  242. package/src/assets/audio/yup-02.mp3 +0 -0
  243. package/src/assets/audio/yup-03.aac +0 -0
  244. package/src/assets/audio/yup-03.mp3 +0 -0
  245. package/src/assets/audio/yup-04.aac +0 -0
  246. package/src/assets/audio/yup-04.mp3 +0 -0
  247. package/src/assets/audio/yup-05.aac +0 -0
  248. package/src/assets/audio/yup-05.mp3 +0 -0
  249. package/src/assets/audio/yup-06.aac +0 -0
  250. package/src/assets/audio/yup-06.mp3 +0 -0
  251. package/src/assets/fonts/Inter.ttf +0 -0
  252. package/src/assets/fonts/JetBrainsMonoNerdFontMono-Regular.woff2 +0 -0
  253. package/src/assets/icons/app/android-studio.svg +369 -0
  254. package/src/assets/icons/app/antigravity.svg +97 -0
  255. package/src/assets/icons/app/cursor.svg +16 -0
  256. package/src/assets/icons/app/file-explorer.svg +20 -0
  257. package/src/assets/icons/app/finder.png +0 -0
  258. package/src/assets/icons/app/ghostty.svg +13 -0
  259. package/src/assets/icons/app/iterm2.svg +13 -0
  260. package/src/assets/icons/app/powershell.svg +14 -0
  261. package/src/assets/icons/app/sublimetext.svg +17 -0
  262. package/src/assets/icons/app/terminal.png +0 -0
  263. package/src/assets/icons/app/textmate.png +0 -0
  264. package/src/assets/icons/app/vscode.svg +39 -0
  265. package/src/assets/icons/app/warp.png +0 -0
  266. package/src/assets/icons/app/xcode.png +0 -0
  267. package/src/assets/icons/app/zed-dark.svg +15 -0
  268. package/src/assets/icons/app/zed.svg +15 -0
  269. package/src/components/animated-number.css +93 -0
  270. package/src/components/animated-number.tsx +109 -0
  271. package/src/components/app-icon.css +5 -0
  272. package/src/components/app-icon.tsx +85 -0
  273. package/src/components/app-icons/sprite.svg +114 -0
  274. package/src/components/app-icons/types.ts +21 -0
  275. package/src/components/card.css +94 -0
  276. package/src/components/card.tsx +123 -0
  277. package/src/components/collapsible.css +154 -0
  278. package/src/components/collapsible.tsx +48 -0
  279. package/src/components/context-menu.css +134 -0
  280. package/src/components/context-menu.tsx +308 -0
  281. package/src/components/dock-surface.css +30 -0
  282. package/src/components/dock-surface.tsx +54 -0
  283. package/src/components/favicon.tsx +13 -0
  284. package/src/components/file-icon.css +26 -0
  285. package/src/components/file-icon.tsx +588 -0
  286. package/src/components/file-icons/sprite.svg +11707 -0
  287. package/src/components/file-icons/types.ts +1095 -0
  288. package/src/components/font.tsx +1 -0
  289. package/src/components/hover-card.css +61 -0
  290. package/src/components/hover-card.tsx +32 -0
  291. package/src/components/image-preview.css +63 -0
  292. package/src/components/image-preview.tsx +33 -0
  293. package/src/components/list.css +331 -0
  294. package/src/components/list.tsx +396 -0
  295. package/src/components/logo.css +4 -0
  296. package/src/components/logo.tsx +62 -0
  297. package/src/components/motion-spring.tsx +58 -0
  298. package/src/components/popover.css +98 -0
  299. package/src/components/popover.tsx +154 -0
  300. package/src/components/progress.css +63 -0
  301. package/src/components/progress.tsx +39 -0
  302. package/src/components/provider-icon.css +5 -0
  303. package/src/components/provider-icon.tsx +25 -0
  304. package/src/components/provider-icons/sprite.svg +1110 -0
  305. package/src/components/provider-icons/types.ts +105 -0
  306. package/src/components/resize-handle.css +70 -0
  307. package/src/components/resize-handle.tsx +102 -0
  308. package/src/components/scroll-view.css +99 -0
  309. package/src/components/scroll-view.tsx +453 -0
  310. package/src/components/spinner.css +6 -0
  311. package/src/components/spinner.tsx +52 -0
  312. package/src/components/sticky-accordion-header.css +6 -0
  313. package/src/components/sticky-accordion-header.tsx +18 -0
  314. package/src/components/text-field.css +134 -0
  315. package/src/components/text-field.tsx +136 -0
  316. package/src/components/text-reveal.css +150 -0
  317. package/src/components/text-reveal.tsx +143 -0
  318. package/src/components/text-strikethrough.css +27 -0
  319. package/src/components/text-strikethrough.tsx +84 -0
  320. package/src/components/typewriter.css +14 -0
  321. package/src/components/typewriter.tsx +55 -0
  322. package/src/context/dialog.tsx +198 -0
  323. package/src/context/file.tsx +10 -0
  324. package/src/context/helper.tsx +38 -0
  325. package/src/context/i18n.tsx +77 -0
  326. package/src/context/index.ts +4 -0
  327. package/src/context/marked-base.tsx +55 -0
  328. package/src/context/marked-parser.tsx +58 -0
  329. package/src/context/marked-theme-register.tsx +10 -0
  330. package/src/context/marked-theme.tsx +372 -0
  331. package/src/context/marked.tsx +28 -0
  332. package/src/context/worker-pool.tsx +20 -0
  333. package/src/custom-elements.d.ts +17 -0
  334. package/src/data-display/accordion/accordion.css +121 -0
  335. package/src/data-display/accordion/accordion.tsx +92 -0
  336. package/src/data-display/avatar/avatar.css +70 -0
  337. package/src/data-display/avatar/avatar.tsx +59 -0
  338. package/src/data-display/badge/badge.css +52 -0
  339. package/src/data-display/badge/badge.tsx +25 -0
  340. package/src/data-display/diff-changes/diff-changes.css +47 -0
  341. package/src/data-display/diff-changes/diff-changes.tsx +33 -0
  342. package/src/data-display/keybind/keybind.css +76 -0
  343. package/src/data-display/keybind/keybind.tsx +30 -0
  344. package/src/data-display/line-comment/line-comment.css +258 -0
  345. package/src/data-display/line-comment/line-comment.tsx +308 -0
  346. package/src/data-display/project-avatar/project-avatar.css +132 -0
  347. package/src/data-display/project-avatar/project-avatar.tsx +66 -0
  348. package/src/feedback/loader/loader.css +32 -0
  349. package/src/feedback/loader/loader.tsx +31 -0
  350. package/src/feedback/progress-circle/progress-circle.css +28 -0
  351. package/src/feedback/progress-circle/progress-circle.tsx +64 -0
  352. package/src/feedback/toast/toast.css +225 -0
  353. package/src/feedback/toast/toast.tsx +283 -0
  354. package/src/forms/checkbox/checkbox.css +125 -0
  355. package/src/forms/checkbox/checkbox.tsx +43 -0
  356. package/src/forms/field/field.css +94 -0
  357. package/src/forms/field/field.tsx +263 -0
  358. package/src/forms/inline-input/inline-input.css +17 -0
  359. package/src/forms/inline-input/inline-input.tsx +22 -0
  360. package/src/forms/radio/radio.css +202 -0
  361. package/src/forms/radio/radio.tsx +82 -0
  362. package/src/forms/select/select.css +290 -0
  363. package/src/forms/select/select.tsx +219 -0
  364. package/src/forms/switch/switch.css +272 -0
  365. package/src/forms/switch/switch.tsx +34 -0
  366. package/src/forms/text-input/text-input.css +181 -0
  367. package/src/forms/text-input/text-input.tsx +99 -0
  368. package/src/forms/textarea/textarea.css +78 -0
  369. package/src/forms/textarea/textarea.tsx +31 -0
  370. package/src/hooks/create-auto-scroll.tsx +257 -0
  371. package/src/hooks/index.ts +2 -0
  372. package/src/hooks/use-filtered-list.tsx +134 -0
  373. package/src/i18n/am.ts +194 -0
  374. package/src/i18n/ar.ts +231 -0
  375. package/src/i18n/az.ts +195 -0
  376. package/src/i18n/bg.ts +195 -0
  377. package/src/i18n/bn.ts +197 -0
  378. package/src/i18n/br.ts +219 -0
  379. package/src/i18n/bs.ts +223 -0
  380. package/src/i18n/ca.ts +199 -0
  381. package/src/i18n/cs.ts +203 -0
  382. package/src/i18n/da.ts +214 -0
  383. package/src/i18n/de.ts +219 -0
  384. package/src/i18n/dv.ts +196 -0
  385. package/src/i18n/dz.ts +197 -0
  386. package/src/i18n/el.ts +195 -0
  387. package/src/i18n/en.ts +276 -0
  388. package/src/i18n/es.ts +219 -0
  389. package/src/i18n/et.ts +195 -0
  390. package/src/i18n/fa.ts +195 -0
  391. package/src/i18n/fi.ts +195 -0
  392. package/src/i18n/fo.ts +195 -0
  393. package/src/i18n/fr.ts +221 -0
  394. package/src/i18n/he.ts +199 -0
  395. package/src/i18n/hi.ts +197 -0
  396. package/src/i18n/hr.ts +200 -0
  397. package/src/i18n/hu.ts +197 -0
  398. package/src/i18n/hy.ts +195 -0
  399. package/src/i18n/id.ts +217 -0
  400. package/src/i18n/is.ts +195 -0
  401. package/src/i18n/it.ts +200 -0
  402. package/src/i18n/ja.ts +214 -0
  403. package/src/i18n/ka.ts +195 -0
  404. package/src/i18n/km.ts +196 -0
  405. package/src/i18n/ko.ts +216 -0
  406. package/src/i18n/lo.ts +195 -0
  407. package/src/i18n/lt.ts +203 -0
  408. package/src/i18n/lv.ts +199 -0
  409. package/src/i18n/mk.ts +195 -0
  410. package/src/i18n/mn.ts +195 -0
  411. package/src/i18n/ms.ts +195 -0
  412. package/src/i18n/my.ts +196 -0
  413. package/src/i18n/ne.ts +197 -0
  414. package/src/i18n/nl.ts +195 -0
  415. package/src/i18n/no.ts +219 -0
  416. package/src/i18n/pa.ts +196 -0
  417. package/src/i18n/pl.ts +223 -0
  418. package/src/i18n/ro.ts +199 -0
  419. package/src/i18n/ru.ts +222 -0
  420. package/src/i18n/si.ts +195 -0
  421. package/src/i18n/sk.ts +203 -0
  422. package/src/i18n/sl.ts +204 -0
  423. package/src/i18n/sq.ts +195 -0
  424. package/src/i18n/sr.ts +200 -0
  425. package/src/i18n/sv.ts +195 -0
  426. package/src/i18n/tg.ts +195 -0
  427. package/src/i18n/th.ts +215 -0
  428. package/src/i18n/tk.ts +195 -0
  429. package/src/i18n/tr.ts +221 -0
  430. package/src/i18n/uk.ts +226 -0
  431. package/src/i18n/ur.ts +196 -0
  432. package/src/i18n/uz.ts +198 -0
  433. package/src/i18n/vi.ts +195 -0
  434. package/src/i18n/zh.ts +217 -0
  435. package/src/i18n/zht.ts +217 -0
  436. package/src/icons/icon/additional-icons.ts +115 -0
  437. package/src/icons/icon/icon.css +3 -0
  438. package/src/icons/icon/icon.tsx +305 -0
  439. package/src/layout/divider/divider.css +11 -0
  440. package/src/layout/divider/divider.tsx +20 -0
  441. package/src/navigation/menu/menu.css +311 -0
  442. package/src/navigation/menu/menu.tsx +289 -0
  443. package/src/navigation/segmented-control/segmented-control.css +80 -0
  444. package/src/navigation/segmented-control/segmented-control.tsx +209 -0
  445. package/src/navigation/tab-state-indicator.tsx +37 -0
  446. package/src/navigation/tabs/tabs-current.css +239 -0
  447. package/src/navigation/tabs/tabs.css +710 -0
  448. package/src/navigation/tabs/tabs.tsx +194 -0
  449. package/src/overlays/dialog/dialog.css +180 -0
  450. package/src/overlays/dialog/dialog.tsx +115 -0
  451. package/src/overlays/tooltip/tooltip.css +102 -0
  452. package/src/overlays/tooltip/tooltip.tsx +154 -0
  453. package/src/storybook/fixtures.ts +51 -0
  454. package/src/storybook/scaffold.tsx +62 -0
  455. package/src/styles/animations.css +141 -0
  456. package/src/styles/base.css +409 -0
  457. package/src/styles/colors.css +772 -0
  458. package/src/styles/file-tree.css +202 -0
  459. package/src/styles/index.css +37 -0
  460. package/src/styles/tailwind/colors.css +288 -0
  461. package/src/styles/tailwind/index.css +95 -0
  462. package/src/styles/tailwind/utilities.css +131 -0
  463. package/src/styles/theme.css +631 -0
  464. package/src/styles/tokens/colors.css +172 -0
  465. package/src/styles/tokens/index.css +2 -0
  466. package/src/styles/tokens/theme.css +510 -0
  467. package/src/styles/utilities.css +118 -0
  468. package/src/theme/color.ts +299 -0
  469. package/src/theme/context.tsx +381 -0
  470. package/src/theme/default-themes.ts +116 -0
  471. package/src/theme/index.ts +78 -0
  472. package/src/theme/loader.ts +112 -0
  473. package/src/theme/resolve.ts +540 -0
  474. package/src/theme/themes/amoled.json +49 -0
  475. package/src/theme/themes/aura.json +51 -0
  476. package/src/theme/themes/ayu.json +51 -0
  477. package/src/theme/themes/carbonfox.json +53 -0
  478. package/src/theme/themes/catppuccin-frappe.json +85 -0
  479. package/src/theme/themes/catppuccin-macchiato.json +85 -0
  480. package/src/theme/themes/catppuccin.json +45 -0
  481. package/src/theme/themes/cobalt2.json +87 -0
  482. package/src/theme/themes/cursor.json +91 -0
  483. package/src/theme/themes/dracula.json +49 -0
  484. package/src/theme/themes/everforest.json +89 -0
  485. package/src/theme/themes/flexoki.json +86 -0
  486. package/src/theme/themes/github.json +85 -0
  487. package/src/theme/themes/gruvbox.json +45 -0
  488. package/src/theme/themes/kanagawa.json +89 -0
  489. package/src/theme/themes/lucent-orng.json +87 -0
  490. package/src/theme/themes/material.json +87 -0
  491. package/src/theme/themes/matrix.json +113 -0
  492. package/src/theme/themes/mercury.json +86 -0
  493. package/src/theme/themes/monokai.json +49 -0
  494. package/src/theme/themes/nightowl.json +46 -0
  495. package/src/theme/themes/nord.json +46 -0
  496. package/src/theme/themes/oc-2.json +507 -0
  497. package/src/theme/themes/one-dark.json +89 -0
  498. package/src/theme/themes/onedarkpro.json +45 -0
  499. package/src/theme/themes/opencode.json +89 -0
  500. package/src/theme/themes/orng.json +87 -0
  501. package/src/theme/themes/osaka-jade.json +88 -0
  502. package/src/theme/themes/palenight.json +85 -0
  503. package/src/theme/themes/rosepine.json +85 -0
  504. package/src/theme/themes/shadesofpurple.json +51 -0
  505. package/src/theme/themes/solarized.json +49 -0
  506. package/src/theme/themes/synthwave84.json +87 -0
  507. package/src/theme/themes/tokyonight.json +47 -0
  508. package/src/theme/themes/vercel.json +90 -0
  509. package/src/theme/themes/vesper.json +51 -0
  510. package/src/theme/themes/zenburn.json +87 -0
  511. package/src/theme/types.ts +75 -0
  512. package/src/theme/v2/avatar.ts +48 -0
  513. package/src/theme/v2/default-primitives.ts +114 -0
  514. package/src/theme/v2/foreground.ts +61 -0
  515. package/src/theme/v2/mapping.ts +176 -0
  516. package/src/theme/v2/resolve.ts +153 -0
  517. package/src/typography/text-shimmer/text-shimmer.css +120 -0
  518. package/src/typography/text-shimmer/text-shimmer.tsx +63 -0
  519. package/src/typography/wordmark/wordmark.tsx +39 -0
  520. package/README.md +0 -5
@@ -0,0 +1,2 @@
1
+ export { OpenCodeTheme } from "./marked-theme";
2
+ export declare const useMarked: () => import("marked").Marked<string, string>, MarkedProvider: (props: import("solid-js").ParentProps<Record<string, any>>) => import("solid-js").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import type { WorkerPoolManager } from "@pierre/diffs/worker";
2
+ export type WorkerPools = {
3
+ unified: WorkerPoolManager | undefined;
4
+ split: WorkerPoolManager | undefined;
5
+ };
6
+ export declare const WorkerPoolProvider: (props: import("solid-js").ParentProps<{
7
+ pools: WorkerPools;
8
+ }>) => import("solid-js").JSX.Element;
9
+ export declare function useWorkerPool(diffStyle: "unified" | "split" | undefined): WorkerPoolManager | undefined;
@@ -0,0 +1,24 @@
1
+ import { Content, Header, Item, Root, Trigger } from "@kobalte/core/accordion";
2
+ import type { ComponentProps, ParentProps } from "solid-js";
3
+ export interface AccordionProps extends ComponentProps<typeof Root> {
4
+ }
5
+ export interface AccordionItemProps extends ComponentProps<typeof Item> {
6
+ }
7
+ export interface AccordionHeaderProps extends ComponentProps<typeof Header> {
8
+ }
9
+ export interface AccordionTriggerProps extends ComponentProps<typeof Trigger> {
10
+ }
11
+ export interface AccordionContentProps extends ComponentProps<typeof Content> {
12
+ }
13
+ declare function AccordionRoot(props: AccordionProps): import("solid-js").JSX.Element;
14
+ declare function AccordionItem(props: AccordionItemProps): import("solid-js").JSX.Element;
15
+ declare function AccordionHeader(props: ParentProps<AccordionHeaderProps>): import("solid-js").JSX.Element;
16
+ declare function AccordionTrigger(props: ParentProps<AccordionTriggerProps>): import("solid-js").JSX.Element;
17
+ declare function AccordionContent(props: ParentProps<AccordionContentProps>): import("solid-js").JSX.Element;
18
+ export declare const Accordion: typeof AccordionRoot & {
19
+ Item: typeof AccordionItem;
20
+ Header: typeof AccordionHeader;
21
+ Trigger: typeof AccordionTrigger;
22
+ Content: typeof AccordionContent;
23
+ };
24
+ export {};
@@ -0,0 +1,11 @@
1
+ import { type ComponentProps } from "solid-js";
2
+ import "./avatar.css";
3
+ export interface AvatarProps extends ComponentProps<"div"> {
4
+ fallback: string;
5
+ src?: string;
6
+ background?: string;
7
+ foreground?: string;
8
+ size?: "small" | "normal" | "large";
9
+ kind?: "user" | "org";
10
+ }
11
+ export declare function Avatar(props: AvatarProps): import("solid-js").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps } from "solid-js";
2
+ import "./badge.css";
3
+ export interface BadgeProps extends ComponentProps<"span"> {
4
+ appearance?: "standard" | "compact";
5
+ variant?: "neutral" | "accent";
6
+ }
7
+ export declare function Badge(props: BadgeProps): import("solid-js").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import "./diff-changes.css";
2
+ export declare function DiffChanges(props: {
3
+ class?: string;
4
+ appearance?: "standard" | "compact";
5
+ changes: {
6
+ additions: number;
7
+ deletions: number;
8
+ } | {
9
+ additions: number;
10
+ deletions: number;
11
+ }[];
12
+ }): import("solid-js").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps } from "solid-js";
2
+ import "./keybind.css";
3
+ export interface KeybindProps extends ComponentProps<"div"> {
4
+ keys: string[];
5
+ variant?: "neutral" | "ghost";
6
+ }
7
+ export declare function Keybind(props: KeybindProps): import("solid-js").JSX.Element;
@@ -0,0 +1,32 @@
1
+ import { type ComponentProps, type JSX } from "solid-js";
2
+ import "./line-comment.css";
3
+ /** Horizontal “more” glyph for the display-card overflow control (Figma outline-dots). */
4
+ export declare function LineCommentOverflowIcon(props: ComponentProps<"svg">): JSX.Element;
5
+ export interface LineCommentProps extends ComponentProps<"div"> {
6
+ /** Main comment body (text or rich content). */
7
+ comment: JSX.Element;
8
+ /** Line / selection context (e.g. “Comment on line 40”). */
9
+ selection: JSX.Element;
10
+ /** Typically an overflow menu trigger; use `LineCommentOverflowIcon` inside `line-comment-v2-overflow`. */
11
+ actions?: JSX.Element;
12
+ }
13
+ export declare function LineComment(props: LineCommentProps): JSX.Element;
14
+ export type LineCommentEditorMention = {
15
+ items: (query: string) => string[] | Promise<string[]>;
16
+ };
17
+ export interface LineCommentEditorProps extends Omit<ComponentProps<"div">, "children" | "onInput" | "onSubmit"> {
18
+ /** Visible field label above the textarea (default: “Comment”). */
19
+ heading?: JSX.Element | string;
20
+ value: string;
21
+ onInput: (value: string) => void;
22
+ onCancel: () => void;
23
+ onSubmit: (value: string) => void;
24
+ selection: JSX.Element;
25
+ placeholder?: string;
26
+ rows?: number;
27
+ cancelLabel?: string;
28
+ submitLabel?: string;
29
+ autofocus?: boolean;
30
+ mention?: LineCommentEditorMention;
31
+ }
32
+ export declare function LineCommentEditor(props: LineCommentEditorProps): JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { type ComponentProps } from "solid-js";
2
+ import "./project-avatar.css";
3
+ export declare const PROJECT_AVATAR_VARIANTS: readonly ["orange", "yellow", "cyan", "green", "red", "pink", "blue", "purple", "gray"];
4
+ export type ProjectAvatarVariant = (typeof PROJECT_AVATAR_VARIANTS)[number];
5
+ export type ProjectAvatarStyle = ProjectAvatarVariant | "outline";
6
+ export interface ProjectAvatarProps extends ComponentProps<"div"> {
7
+ fallback: string;
8
+ src?: string;
9
+ variant?: ProjectAvatarStyle;
10
+ unread?: boolean;
11
+ }
12
+ export declare function ProjectAvatar(props: ProjectAvatarProps): import("solid-js").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type ComponentProps } from "solid-js";
2
+ import "./loader.css";
3
+ export declare function Loader(props: ComponentProps<"svg">): import("solid-js").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { type ComponentProps } from "solid-js";
2
+ import "./progress-circle.css";
3
+ export interface ProgressCircleProps extends Pick<ComponentProps<"svg">, "class" | "classList" | "style"> {
4
+ percentage: number;
5
+ appearance?: "compact" | "indicator";
6
+ size?: number;
7
+ strokeWidth?: number;
8
+ }
9
+ export declare function ProgressCircle(props: ProgressCircleProps): import("solid-js").JSX.Element;
@@ -0,0 +1,57 @@
1
+ import { type ToasterProps } from "solid-sonner";
2
+ import type { ComponentProps, JSX } from "solid-js";
3
+ import "../../actions/button/button.css";
4
+ import "./toast.css";
5
+ export interface ToastRegionProps extends ToasterProps {
6
+ }
7
+ declare function ToastRegion(props: ToastRegionProps): JSX.Element;
8
+ export interface ToastRootComponentProps {
9
+ toastId: number;
10
+ children?: JSX.Element;
11
+ }
12
+ declare function ToastRoot(props: ToastRootComponentProps): JSX.Element;
13
+ declare function ToastIcon(props: ComponentProps<"div">): JSX.Element;
14
+ declare function ToastContent(props: ComponentProps<"div">): JSX.Element;
15
+ declare function ToastTitle(props: ComponentProps<"div">): JSX.Element;
16
+ declare function ToastDescription(props: ComponentProps<"div">): JSX.Element;
17
+ declare function ToastActions(props: ComponentProps<"div">): JSX.Element;
18
+ declare function ToastCloseButton(props: ComponentProps<"button">): JSX.Element;
19
+ export declare const Toast: typeof ToastRoot & {
20
+ Region: typeof ToastRegion;
21
+ Icon: typeof ToastIcon;
22
+ Content: typeof ToastContent;
23
+ Title: typeof ToastTitle;
24
+ Description: typeof ToastDescription;
25
+ Actions: typeof ToastActions;
26
+ CloseButton: typeof ToastCloseButton;
27
+ };
28
+ export declare const toaster: {
29
+ show(render: (props: {
30
+ toastId: number;
31
+ }) => JSX.Element, options?: {
32
+ duration?: number;
33
+ persistent?: boolean;
34
+ }): number;
35
+ dismiss(toastId?: number): string | number | undefined;
36
+ };
37
+ export interface ToastAction {
38
+ label: string;
39
+ variant?: "primary" | "secondary";
40
+ onClick: "dismiss" | (() => void);
41
+ }
42
+ export interface ToastOptions {
43
+ title?: string;
44
+ description?: string;
45
+ icon?: JSX.Element;
46
+ variant?: "default" | "success" | "error" | "loading";
47
+ duration?: number;
48
+ persistent?: boolean;
49
+ actions?: ToastAction[];
50
+ }
51
+ export declare function showToast(options: ToastOptions | string): number;
52
+ export interface ToastPromiseOptions<T, U = unknown> {
53
+ loading?: JSX.Element;
54
+ success?: (data: T) => JSX.Element;
55
+ error?: (error: U) => JSX.Element;
56
+ }
57
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Root } from "@kobalte/core/checkbox";
2
+ import type { ComponentProps, JSX, ParentProps } from "solid-js";
3
+ export interface CheckboxProps extends ParentProps<ComponentProps<typeof Root>> {
4
+ hideLabel?: boolean;
5
+ description?: string;
6
+ icon?: JSX.Element;
7
+ }
8
+ export declare function Checkbox(props: CheckboxProps): JSX.Element;
@@ -0,0 +1,22 @@
1
+ import { type ComponentProps, type ParentProps } from "solid-js";
2
+ import "./field.css";
3
+ export interface FieldProps extends ComponentProps<"div"> {
4
+ invalid?: boolean;
5
+ }
6
+ declare function FieldRoot(props: ParentProps<FieldProps>): import("solid-js").JSX.Element;
7
+ export interface FieldLabelProps extends ComponentProps<"label"> {
8
+ /** When set, shows the info icon with a tooltip containing this text. */
9
+ tooltip?: string;
10
+ }
11
+ declare function FieldLabel(props: ParentProps<FieldLabelProps>): import("solid-js").JSX.Element;
12
+ declare function FieldPrefix(props: ParentProps<ComponentProps<"div">>): import("solid-js").JSX.Element;
13
+ declare function FieldSuffix(props: ParentProps<ComponentProps<"div">>): import("solid-js").JSX.Element;
14
+ /** Optional layout wrapper around the control. */
15
+ declare function FieldControl(props: ParentProps<ComponentProps<"div">>): import("solid-js").JSX.Element;
16
+ export declare const Field: typeof FieldRoot & {
17
+ Label: typeof FieldLabel;
18
+ Prefix: typeof FieldPrefix;
19
+ Suffix: typeof FieldSuffix;
20
+ Control: typeof FieldControl;
21
+ };
22
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { ComponentProps } from "solid-js";
2
+ export type InlineInputProps = ComponentProps<"input"> & {
3
+ width?: string;
4
+ };
5
+ export declare function InlineInput(props: InlineInputProps): import("solid-js").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { Item, Root } from "@kobalte/core/radio-group";
2
+ import { type JSX } from "solid-js";
3
+ import type { ComponentProps, ParentProps } from "solid-js";
4
+ import "./radio.css";
5
+ export interface RadioGroupProps extends ParentProps<ComponentProps<typeof Root>> {
6
+ label?: JSX.Element;
7
+ description?: JSX.Element;
8
+ hideLabel?: boolean;
9
+ }
10
+ export declare function RadioGroup(props: RadioGroupProps): JSX.Element;
11
+ export interface RadioItemProps extends ComponentProps<typeof Item> {
12
+ label: JSX.Element;
13
+ description?: JSX.Element;
14
+ hideLabel?: boolean;
15
+ }
16
+ export declare function RadioItem(props: RadioItemProps): JSX.Element;
@@ -0,0 +1,23 @@
1
+ import { Root } from "@kobalte/core/select";
2
+ import { type ComponentProps, type JSX } from "solid-js";
3
+ import "./select.css";
4
+ export type SelectProps<T> = Omit<ComponentProps<typeof Root<T, {
5
+ category: string;
6
+ options: T[];
7
+ }>>, "value" | "onSelect" | "children" | "options" | "itemComponent" | "sectionComponent" | "defaultValue" | "multiple"> & {
8
+ placeholder?: string;
9
+ options: T[];
10
+ /** Selected option (single selection). */
11
+ current?: T;
12
+ value?: (x: T) => string;
13
+ label?: (x: T) => string;
14
+ groupBy?: (x: T) => string;
15
+ onSelect?: (value: T | null) => void;
16
+ onHighlight?: (value: T | undefined) => void | (() => void);
17
+ invalid?: boolean;
18
+ numeric?: boolean;
19
+ children?: (item: T) => JSX.Element;
20
+ valueClass?: string;
21
+ contentClass?: string;
22
+ };
23
+ export declare function Select<T>(props: SelectProps<T>): JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Root } from "@kobalte/core/switch";
2
+ import type { ComponentProps, ParentProps } from "solid-js";
3
+ import "./switch.css";
4
+ export interface SwitchProps extends ParentProps<ComponentProps<typeof Root>> {
5
+ appearance?: "standard" | "compact";
6
+ hideLabel?: boolean;
7
+ description?: string;
8
+ }
9
+ export declare function Switch(props: SwitchProps): import("solid-js").JSX.Element;
@@ -0,0 +1,24 @@
1
+ import { type ComponentProps, type JSX } from "solid-js";
2
+ import "./text-input.css";
3
+ export interface TextInputProps extends Omit<ComponentProps<"input">, "type"> {
4
+ /** Icon or adornment shown before the field value. */
5
+ leadingIcon?: JSX.Element;
6
+ /** Show the trailing copy action. */
7
+ showCopyButton?: boolean;
8
+ /** Show the trailing clear action. */
9
+ showClearButton?: boolean;
10
+ /** Accessible label for the copy button. */
11
+ copyLabel?: string;
12
+ /** Accessible label for the clear button. */
13
+ clearLabel?: string;
14
+ onCopyClick?: (event: MouseEvent) => void;
15
+ onClearClick?: (event: MouseEvent) => void;
16
+ /** Apply tabular numerals to the field value. */
17
+ numeric?: boolean;
18
+ /** Error styling for the field and value text. */
19
+ invalid?: boolean;
20
+ /** `base` is 28px tall; `large` is 32px tall. */
21
+ appearance?: "base" | "large";
22
+ type?: ComponentProps<"input">["type"];
23
+ }
24
+ export declare function TextInput(props: TextInputProps): JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { type ComponentProps } from "solid-js";
2
+ import "./textarea.css";
3
+ export interface TextareaProps extends ComponentProps<"textarea"> {
4
+ /** Error styling for the field and value text. */
5
+ invalid?: boolean;
6
+ }
7
+ export declare function Textarea(props: TextareaProps): import("solid-js").JSX.Element;
@@ -0,0 +1,17 @@
1
+ export interface AutoScrollOptions {
2
+ working: () => boolean;
3
+ onUserInteracted?: () => void;
4
+ overflowAnchor?: "none" | "auto" | "dynamic";
5
+ bottomThreshold?: number;
6
+ }
7
+ export declare function createAutoScroll(options: AutoScrollOptions): {
8
+ scrollRef: (el: HTMLElement | undefined) => void;
9
+ contentRef: (el: HTMLElement | undefined) => void;
10
+ handleScroll: () => void;
11
+ handleInteraction: () => void;
12
+ pause: () => void;
13
+ resume: () => void;
14
+ scrollToBottom: () => void;
15
+ forceScrollToBottom: () => void;
16
+ userScrolled: () => boolean;
17
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./use-filtered-list";
2
+ export * from "./create-auto-scroll";
@@ -0,0 +1,48 @@
1
+ export interface FilteredListProps<T> {
2
+ items: T[] | ((filter: string) => T[] | Promise<T[]>);
3
+ key: (item: T) => string;
4
+ filterKeys?: string[];
5
+ current?: T;
6
+ groupBy?: (x: T) => string;
7
+ sortBy?: (a: T, b: T) => number;
8
+ sortGroupsBy?: (a: {
9
+ category: string;
10
+ items: T[];
11
+ }, b: {
12
+ category: string;
13
+ items: T[];
14
+ }) => number;
15
+ skipFilter?: (item: T) => boolean;
16
+ onSelect?: (value: T | undefined, index: number) => void;
17
+ noInitialSelection?: boolean;
18
+ }
19
+ export declare function useFilteredList<T>(props: FilteredListProps<T>): {
20
+ grouped: import("solid-js").InitializedResource<{
21
+ category: string;
22
+ items: [T, ...T[]];
23
+ }[] | {
24
+ category: string;
25
+ items: [T, ...T[]];
26
+ }[]>;
27
+ filter: () => string;
28
+ flat: import("solid-js").Accessor<T[]>;
29
+ reset: () => void;
30
+ refetch: (info?: unknown) => {
31
+ category: string;
32
+ items: [T, ...T[]];
33
+ }[] | {
34
+ category: string;
35
+ items: [T, ...T[]];
36
+ }[] | Promise<{
37
+ category: string;
38
+ items: [T, ...T[]];
39
+ }[] | {
40
+ category: string;
41
+ items: [T, ...T[]];
42
+ }[]> | null | undefined;
43
+ clear: () => void;
44
+ onKeyDown: (event: KeyboardEvent) => void;
45
+ onInput: (value: string) => void;
46
+ active: import("solid-js").Accessor<string | null>;
47
+ setActive: import("solid-js").Setter<string | null>;
48
+ };
@@ -0,0 +1 @@
1
+ export declare const dict: Record<string, string>;
@@ -0,0 +1,209 @@
1
+ export declare const dict: {
2
+ "ui.sessionReview.title": string;
3
+ "ui.sessionReview.title.git": string;
4
+ "ui.sessionReview.title.branch": string;
5
+ "ui.sessionReview.title.lastTurn": string;
6
+ "ui.sessionReview.diffStyle.unified": string;
7
+ "ui.sessionReview.diffStyle.split": string;
8
+ "ui.sessionReview.openFile": string;
9
+ "ui.sessionReview.selection.line": string;
10
+ "ui.sessionReview.selection.lines": string;
11
+ "ui.sessionReview.expandAll": string;
12
+ "ui.sessionReview.collapseAll": string;
13
+ "ui.sessionReview.change.added": string;
14
+ "ui.sessionReview.change.removed": string;
15
+ "ui.sessionReview.change.modified": string;
16
+ "ui.sessionReview.image.loading": string;
17
+ "ui.sessionReview.image.placeholder": string;
18
+ "ui.sessionReview.largeDiff.title": string;
19
+ "ui.sessionReview.largeDiff.meta": string;
20
+ "ui.sessionReview.largeDiff.renderAnyway": string;
21
+ "ui.sessionReviewV2.expandMode": string;
22
+ "ui.sessionReviewV2.filterFiles": string;
23
+ "ui.sessionReviewV2.toggleSidebar": string;
24
+ "ui.sessionReviewV2.showAllLines": string;
25
+ "ui.sessionReviewV2.hideNonDiffLines": string;
26
+ "ui.sessionReviewV2.unifiedDiff": string;
27
+ "ui.sessionReviewV2.splitDiff": string;
28
+ "ui.sessionReviewV2.previousFile": string;
29
+ "ui.sessionReviewV2.nextFile": string;
30
+ "ui.sessionReviewV2.diffView": string;
31
+ "ui.sessionReviewV2.empty.noGit.title": string;
32
+ "ui.sessionReviewV2.empty.noGit.description": string;
33
+ "ui.sessionReviewV2.empty.noGit.action": string;
34
+ "ui.sessionReviewV2.empty.noGit.actionLoading": string;
35
+ "ui.sessionReviewV2.empty.changes.title": string;
36
+ "ui.sessionReviewV2.empty.changes.description": string;
37
+ "ui.fileMedia.kind.image": string;
38
+ "ui.fileMedia.kind.audio": string;
39
+ "ui.fileMedia.state.removed": string;
40
+ "ui.fileMedia.state.loading": string;
41
+ "ui.fileMedia.state.error": string;
42
+ "ui.fileMedia.state.unavailable": string;
43
+ "ui.fileMedia.binary.title": string;
44
+ "ui.fileMedia.binary.description.path": string;
45
+ "ui.fileMedia.binary.description.default": string;
46
+ "ui.lineComment.label.prefix": string;
47
+ "ui.lineComment.label.suffix": string;
48
+ "ui.lineComment.editorLabel.prefix": string;
49
+ "ui.lineComment.editorLabel.suffix": string;
50
+ "ui.lineComment.placeholder": string;
51
+ "ui.lineComment.contextPlaceholder": string;
52
+ "ui.lineComment.submit": string;
53
+ "ui.lineComment.cancel": string;
54
+ "ui.sessionTurn.steps.show": string;
55
+ "ui.sessionTurn.steps.hide": string;
56
+ "ui.sessionTurn.summary.response": string;
57
+ "ui.sessionTurn.diff.showMore": string;
58
+ "ui.sessionTurn.diffs.changed.one": string;
59
+ "ui.sessionTurn.diffs.changed.zero": string;
60
+ "ui.sessionTurn.diffs.changed.two": string;
61
+ "ui.sessionTurn.diffs.changed.few": string;
62
+ "ui.sessionTurn.diffs.changed.many": string;
63
+ "ui.sessionTurn.diffs.changed.other": string;
64
+ "ui.sessionTurn.diffs.showAll": string;
65
+ "ui.sessionTurn.diffs.showLess": string;
66
+ "ui.sessionTurn.diffs.more": string;
67
+ "ui.sessionTurn.retry.retrying": string;
68
+ "ui.sessionTurn.retry.inSeconds": string;
69
+ "ui.sessionTurn.retry.attempt": string;
70
+ "ui.sessionTurn.retry.attemptLine": string;
71
+ "ui.sessionTurn.retry.geminiHot": string;
72
+ "ui.sessionTurn.error.freeUsageExceeded": string;
73
+ "ui.sessionTurn.error.addCredits": string;
74
+ "dialog.usageExceeded.freeTier.title": string;
75
+ "dialog.usageExceeded.freeTier.description": string;
76
+ "dialog.usageExceeded.freeTier.actionLabel": string;
77
+ "dialog.usageExceeded.accountRateLimit.title": string;
78
+ "dialog.usageExceeded.accountRateLimit.description": string;
79
+ "dialog.usageExceeded.accountRateLimit.actionLabel": string;
80
+ "ui.sessionTurn.status.delegating": string;
81
+ "ui.sessionTurn.status.planning": string;
82
+ "ui.sessionTurn.status.gatheringContext": string;
83
+ "ui.sessionTurn.status.gatheredContext": string;
84
+ "ui.sessionTurn.status.searchingCodebase": string;
85
+ "ui.sessionTurn.status.searchingWeb": string;
86
+ "ui.sessionTurn.status.makingEdits": string;
87
+ "ui.sessionTurn.status.runningCommands": string;
88
+ "ui.sessionTurn.status.thinking": string;
89
+ "ui.sessionTurn.status.thinkingWithTopic": string;
90
+ "ui.sessionTurn.status.gatheringThoughts": string;
91
+ "ui.sessionTurn.status.consideringNextSteps": string;
92
+ "ui.messagePart.questions.dismissed": string;
93
+ "ui.messagePart.compaction": string;
94
+ "ui.messagePart.context.read.one": string;
95
+ "ui.messagePart.context.read.zero": string;
96
+ "ui.messagePart.context.read.two": string;
97
+ "ui.messagePart.context.read.few": string;
98
+ "ui.messagePart.context.read.many": string;
99
+ "ui.messagePart.context.read.other": string;
100
+ "ui.messagePart.context.search.one": string;
101
+ "ui.messagePart.context.search.zero": string;
102
+ "ui.messagePart.context.search.two": string;
103
+ "ui.messagePart.context.search.few": string;
104
+ "ui.messagePart.context.search.many": string;
105
+ "ui.messagePart.context.search.other": string;
106
+ "ui.messagePart.context.list.one": string;
107
+ "ui.messagePart.context.list.zero": string;
108
+ "ui.messagePart.context.list.two": string;
109
+ "ui.messagePart.context.list.few": string;
110
+ "ui.messagePart.context.list.many": string;
111
+ "ui.messagePart.context.list.other": string;
112
+ "ui.messagePart.diagnostic.error": string;
113
+ "ui.messagePart.title.edit": string;
114
+ "ui.messagePart.title.write": string;
115
+ "ui.messagePart.option.typeOwnAnswer": string;
116
+ "ui.messagePart.review.title": string;
117
+ "ui.list.loading": string;
118
+ "ui.list.empty": string;
119
+ "ui.list.clearFilter": string;
120
+ "ui.list.emptyWithFilter.prefix": string;
121
+ "ui.list.emptyWithFilter.suffix": string;
122
+ "ui.messageNav.newMessage": string;
123
+ "ui.promptInput.noMatchingItems": string;
124
+ "ui.promptInput.commands": string;
125
+ "ui.promptInput.dropFiles": string;
126
+ "ui.promptInput.removeAttachment": string;
127
+ "ui.promptInput.label": string;
128
+ "ui.promptInput.placeholder.shell": string;
129
+ "ui.promptInput.placeholder.normal": string;
130
+ "ui.promptInput.add": string;
131
+ "ui.promptInput.attachments": string;
132
+ "ui.promptInput.context": string;
133
+ "ui.promptInput.shell": string;
134
+ "ui.promptInput.chooseAgent": string;
135
+ "ui.promptInput.chooseModel": string;
136
+ "ui.promptInput.chooseVariant": string;
137
+ "ui.promptInput.send": string;
138
+ "ui.promptInput.stop": string;
139
+ "ui.tabs.close": string;
140
+ "ui.textField.copyToClipboard": string;
141
+ "ui.textField.copyLink": string;
142
+ "ui.textField.copied": string;
143
+ "ui.imagePreview.alt": string;
144
+ "ui.scrollView.ariaLabel": string;
145
+ "ui.tool.read": string;
146
+ "ui.tool.loaded": string;
147
+ "ui.tool.list": string;
148
+ "ui.tool.glob": string;
149
+ "ui.tool.grep": string;
150
+ "ui.tool.webfetch": string;
151
+ "ui.tool.websearch": string;
152
+ "ui.tool.websearch.provider": string;
153
+ "ui.tool.shell": string;
154
+ "ui.tool.patch": string;
155
+ "ui.tool.questions": string;
156
+ "ui.tool.questions.numbered": string;
157
+ "ui.tool.agent": string;
158
+ "ui.tool.agent.default": string;
159
+ "ui.common.file.one": string;
160
+ "ui.common.file.other": string;
161
+ "ui.common.question.one": string;
162
+ "ui.common.question.other": string;
163
+ "ui.common.add": string;
164
+ "ui.common.clear": string;
165
+ "ui.common.file": string;
166
+ "ui.common.back": string;
167
+ "ui.common.cancel": string;
168
+ "ui.common.confirm": string;
169
+ "ui.common.dismiss": string;
170
+ "ui.common.close": string;
171
+ "ui.common.next": string;
172
+ "ui.common.submit": string;
173
+ "ui.common.showMore": string;
174
+ "ui.permission.deny": string;
175
+ "ui.permission.allowAlways": string;
176
+ "ui.permission.allowOnce": string;
177
+ "ui.message.expand": string;
178
+ "ui.message.collapse": string;
179
+ "ui.message.copy": string;
180
+ "ui.message.copyMessage": string;
181
+ "ui.message.forkMessage": string;
182
+ "ui.message.revertMessage": string;
183
+ "ui.message.copyResponse": string;
184
+ "ui.message.copied": string;
185
+ "ui.message.interrupted": string;
186
+ "ui.message.queued": string;
187
+ "ui.message.attachment.alt": string;
188
+ "ui.patch.action.deleted": string;
189
+ "ui.patch.action.created": string;
190
+ "ui.patch.action.moved": string;
191
+ "ui.patch.action.patched": string;
192
+ "ui.question.subtitle.answered": string;
193
+ "ui.question.answer.none": string;
194
+ "ui.question.review.notAnswered": string;
195
+ "ui.question.multiHint": string;
196
+ "ui.question.singleHint": string;
197
+ "ui.question.custom.placeholder": string;
198
+ "ui.fileSearch.placeholder": string;
199
+ "ui.fileSearch.previousMatch": string;
200
+ "ui.fileSearch.nextMatch": string;
201
+ "ui.fileSearch.close": string;
202
+ "ui.tool.task": string;
203
+ "ui.tool.skill": string;
204
+ "ui.basicTool.called": string;
205
+ "ui.toolErrorCard.failed": string;
206
+ "ui.toolErrorCard.copyError": string;
207
+ "ui.message.duration.seconds": string;
208
+ "ui.message.duration.minutesSeconds": string;
209
+ };
@@ -0,0 +1 @@
1
+ export declare const dict: Record<string, string>;