@brett_lamy/ui 0.0.1 → 1.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 (405) hide show
  1. package/README.md +131 -13
  2. package/dist/components/adaptive-pane.d.ts +15 -0
  3. package/dist/components/adaptive-pane.d.ts.map +1 -0
  4. package/dist/components/adaptive-pane.stories.d.ts +7 -0
  5. package/dist/components/adaptive-pane.stories.d.ts.map +1 -0
  6. package/dist/components/animated-height.d.ts +23 -0
  7. package/dist/components/animated-height.d.ts.map +1 -0
  8. package/dist/components/avatar.d.ts +1 -1
  9. package/dist/components/avatar.stories.d.ts +1 -1
  10. package/dist/components/badge.d.ts +9 -0
  11. package/dist/components/badge.d.ts.map +1 -0
  12. package/dist/components/badge.stories.d.ts +9 -0
  13. package/dist/components/badge.stories.d.ts.map +1 -0
  14. package/dist/components/button.d.ts +12 -0
  15. package/dist/components/button.d.ts.map +1 -0
  16. package/dist/components/button.stories.d.ts +9 -0
  17. package/dist/components/button.stories.d.ts.map +1 -0
  18. package/dist/components/card.d.ts +14 -0
  19. package/dist/components/card.d.ts.map +1 -0
  20. package/dist/components/card.stories.d.ts +9 -0
  21. package/dist/components/card.stories.d.ts.map +1 -0
  22. package/dist/components/celebrate.d.ts +14 -0
  23. package/dist/components/celebrate.d.ts.map +1 -0
  24. package/dist/components/chat/channel-list.d.ts +35 -0
  25. package/dist/components/chat/channel-list.d.ts.map +1 -0
  26. package/dist/components/chat/channel-list.stories.d.ts +14 -0
  27. package/dist/components/chat/channel-list.stories.d.ts.map +1 -0
  28. package/dist/components/chat/chat-avatar.d.ts +13 -0
  29. package/dist/components/chat/chat-avatar.d.ts.map +1 -0
  30. package/dist/components/chat/chat-avatar.stories.d.ts +10 -0
  31. package/dist/components/chat/chat-avatar.stories.d.ts.map +1 -0
  32. package/dist/components/chat/chat-column.d.ts +8 -0
  33. package/dist/components/chat/chat-column.d.ts.map +1 -0
  34. package/dist/components/chat/chat-column.stories.d.ts +8 -0
  35. package/dist/components/chat/chat-column.stories.d.ts.map +1 -0
  36. package/dist/components/chat/chat-composer.d.ts +22 -0
  37. package/dist/components/chat/chat-composer.d.ts.map +1 -0
  38. package/dist/components/chat/chat-composer.stories.d.ts +17 -0
  39. package/dist/components/chat/chat-composer.stories.d.ts.map +1 -0
  40. package/dist/components/chat/chat.fixtures.d.ts +29 -0
  41. package/dist/components/chat/chat.fixtures.d.ts.map +1 -0
  42. package/dist/components/chat/floating-chat.d.ts +71 -0
  43. package/dist/components/chat/floating-chat.d.ts.map +1 -0
  44. package/dist/components/chat/floating-chat.stories.d.ts +18 -0
  45. package/dist/components/chat/floating-chat.stories.d.ts.map +1 -0
  46. package/dist/components/chat/floating-sheet.d.ts +83 -0
  47. package/dist/components/chat/floating-sheet.d.ts.map +1 -0
  48. package/dist/components/chat/floating-sheet.stories.d.ts +23 -0
  49. package/dist/components/chat/floating-sheet.stories.d.ts.map +1 -0
  50. package/dist/components/chat/member-list.d.ts +21 -0
  51. package/dist/components/chat/member-list.d.ts.map +1 -0
  52. package/dist/components/chat/message-list.d.ts +34 -0
  53. package/dist/components/chat/message-list.d.ts.map +1 -0
  54. package/dist/components/chat/message.d.ts +47 -0
  55. package/dist/components/chat/message.d.ts.map +1 -0
  56. package/dist/components/chat/message.stories.d.ts +31 -0
  57. package/dist/components/chat/message.stories.d.ts.map +1 -0
  58. package/dist/components/chat/progress-stepper.d.ts +30 -0
  59. package/dist/components/chat/progress-stepper.d.ts.map +1 -0
  60. package/dist/components/chat/rich-text.d.ts +8 -0
  61. package/dist/components/chat/rich-text.d.ts.map +1 -0
  62. package/dist/components/chat/rich-text.stories.d.ts +10 -0
  63. package/dist/components/chat/rich-text.stories.d.ts.map +1 -0
  64. package/dist/components/chat/server-header.d.ts +10 -0
  65. package/dist/components/chat/server-header.d.ts.map +1 -0
  66. package/dist/components/chat/thread-preview.d.ts +25 -0
  67. package/dist/components/chat/thread-preview.d.ts.map +1 -0
  68. package/dist/components/chat/thread-preview.stories.d.ts +19 -0
  69. package/dist/components/chat/thread-preview.stories.d.ts.map +1 -0
  70. package/dist/components/chat/user-panel.d.ts +16 -0
  71. package/dist/components/chat/user-panel.d.ts.map +1 -0
  72. package/dist/components/chat/workspace-rail.d.ts +56 -0
  73. package/dist/components/chat/workspace-rail.d.ts.map +1 -0
  74. package/dist/components/chat/workspace-rail.stories.d.ts +13 -0
  75. package/dist/components/chat/workspace-rail.stories.d.ts.map +1 -0
  76. package/dist/components/checkbox.d.ts +13 -0
  77. package/dist/components/checkbox.d.ts.map +1 -0
  78. package/dist/components/checkbox.stories.d.ts +11 -0
  79. package/dist/components/checkbox.stories.d.ts.map +1 -0
  80. package/dist/components/combobox.d.ts +20 -0
  81. package/dist/components/combobox.d.ts.map +1 -0
  82. package/dist/components/combobox.stories.d.ts +10 -0
  83. package/dist/components/combobox.stories.d.ts.map +1 -0
  84. package/dist/components/credenza.d.ts +1 -1
  85. package/dist/components/credenza.d.ts.map +1 -1
  86. package/dist/components/credenza.stories.d.ts +1 -1
  87. package/dist/components/dialog.d.ts +40 -0
  88. package/dist/components/dialog.d.ts.map +1 -0
  89. package/dist/components/dialog.stories.d.ts +12 -0
  90. package/dist/components/dialog.stories.d.ts.map +1 -0
  91. package/dist/components/disclosure.d.ts +23 -0
  92. package/dist/components/disclosure.d.ts.map +1 -0
  93. package/dist/components/disclosure.stories.d.ts +10 -0
  94. package/dist/components/disclosure.stories.d.ts.map +1 -0
  95. package/dist/components/dropdown-menu.d.ts +33 -0
  96. package/dist/components/dropdown-menu.d.ts.map +1 -0
  97. package/dist/components/dropdown-menu.stories.d.ts +11 -0
  98. package/dist/components/dropdown-menu.stories.d.ts.map +1 -0
  99. package/dist/components/edge-drawer.d.ts +17 -0
  100. package/dist/components/edge-drawer.d.ts.map +1 -0
  101. package/dist/components/edge-drawer.stories.d.ts +8 -0
  102. package/dist/components/edge-drawer.stories.d.ts.map +1 -0
  103. package/dist/components/edit-bar.d.ts +1 -1
  104. package/dist/components/edit-bar.d.ts.map +1 -1
  105. package/dist/components/edit-bar.stories.d.ts +1 -1
  106. package/dist/components/form.d.ts +9 -0
  107. package/dist/components/form.d.ts.map +1 -0
  108. package/dist/components/form.stories.d.ts +9 -0
  109. package/dist/components/form.stories.d.ts.map +1 -0
  110. package/dist/components/haptic-indicator.d.ts +4 -2
  111. package/dist/components/haptic-indicator.d.ts.map +1 -1
  112. package/dist/components/haptic-indicator.stories.d.ts +1 -1
  113. package/dist/components/icon-swap.d.ts +27 -0
  114. package/dist/components/icon-swap.d.ts.map +1 -0
  115. package/dist/components/index-bar.d.ts +12 -2
  116. package/dist/components/index-bar.d.ts.map +1 -1
  117. package/dist/components/index-bar.stories.d.ts +5 -1
  118. package/dist/components/index-bar.stories.d.ts.map +1 -1
  119. package/dist/components/input.d.ts +9 -0
  120. package/dist/components/input.d.ts.map +1 -0
  121. package/dist/components/input.stories.d.ts +10 -0
  122. package/dist/components/input.stories.d.ts.map +1 -0
  123. package/dist/components/kbd.d.ts +5 -0
  124. package/dist/components/kbd.d.ts.map +1 -0
  125. package/dist/components/kbd.stories.d.ts +9 -0
  126. package/dist/components/kbd.stories.d.ts.map +1 -0
  127. package/dist/components/label.d.ts +9 -0
  128. package/dist/components/label.d.ts.map +1 -0
  129. package/dist/components/label.stories.d.ts +8 -0
  130. package/dist/components/label.stories.d.ts.map +1 -0
  131. package/dist/components/list-box.d.ts +30 -0
  132. package/dist/components/list-box.d.ts.map +1 -0
  133. package/dist/components/list-box.stories.d.ts +9 -0
  134. package/dist/components/list-box.stories.d.ts.map +1 -0
  135. package/dist/components/list-row.stories.d.ts +1 -1
  136. package/dist/components/list.d.ts +1 -1
  137. package/dist/components/list.d.ts.map +1 -1
  138. package/dist/components/list.stories.d.ts +1 -1
  139. package/dist/components/markdown-editor.d.ts +97 -0
  140. package/dist/components/markdown-editor.d.ts.map +1 -0
  141. package/dist/components/markdown-editor.stories.d.ts +14 -0
  142. package/dist/components/markdown-editor.stories.d.ts.map +1 -0
  143. package/dist/components/measure-h.d.ts +1 -1
  144. package/dist/components/motion.stories.d.ts +15 -0
  145. package/dist/components/motion.stories.d.ts.map +1 -0
  146. package/dist/components/navigation-stack.d.ts +2 -2
  147. package/dist/components/navigation-stack.d.ts.map +1 -1
  148. package/dist/components/navigation-stack.stories.d.ts +1 -1
  149. package/dist/components/number-morph.d.ts +11 -0
  150. package/dist/components/number-morph.d.ts.map +1 -0
  151. package/dist/components/pencilkit/pencil-canvas.d.ts +24 -0
  152. package/dist/components/pencilkit/pencil-canvas.d.ts.map +1 -0
  153. package/dist/components/pencilkit/pencil-canvas.stories.d.ts +18 -0
  154. package/dist/components/pencilkit/pencil-canvas.stories.d.ts.map +1 -0
  155. package/dist/components/pencilkit/pencil-toolbar.d.ts +57 -0
  156. package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -0
  157. package/dist/components/pencilkit/pencil-toolbar.stories.d.ts +10 -0
  158. package/dist/components/pencilkit/pencil-toolbar.stories.d.ts.map +1 -0
  159. package/dist/components/pencilkit/pencilkit-annotator.d.ts +8 -0
  160. package/dist/components/pencilkit/pencilkit-annotator.d.ts.map +1 -0
  161. package/dist/components/pencilkit/pk-icon.d.ts +8 -0
  162. package/dist/components/pencilkit/pk-icon.d.ts.map +1 -0
  163. package/dist/components/pencilkit/stroke-path.d.ts +11 -0
  164. package/dist/components/pencilkit/stroke-path.d.ts.map +1 -0
  165. package/dist/components/pencilkit/use-pencil-history.d.ts +15 -0
  166. package/dist/components/pencilkit/use-pencil-history.d.ts.map +1 -0
  167. package/dist/components/pill-button.d.ts +2 -2
  168. package/dist/components/pill-button.d.ts.map +1 -1
  169. package/dist/components/pill-button.stories.d.ts +1 -1
  170. package/dist/components/popover.d.ts +15 -0
  171. package/dist/components/popover.d.ts.map +1 -0
  172. package/dist/components/popover.stories.d.ts +9 -0
  173. package/dist/components/popover.stories.d.ts.map +1 -0
  174. package/dist/components/progress.d.ts +16 -0
  175. package/dist/components/progress.d.ts.map +1 -0
  176. package/dist/components/progress.stories.d.ts +10 -0
  177. package/dist/components/progress.stories.d.ts.map +1 -0
  178. package/dist/components/qr-svg.d.ts +1 -1
  179. package/dist/components/qr-svg.stories.d.ts +1 -1
  180. package/dist/components/radio-group.d.ts +13 -0
  181. package/dist/components/radio-group.d.ts.map +1 -0
  182. package/dist/components/radio-group.stories.d.ts +10 -0
  183. package/dist/components/radio-group.stories.d.ts.map +1 -0
  184. package/dist/components/scroll-area.d.ts +9 -0
  185. package/dist/components/scroll-area.d.ts.map +1 -0
  186. package/dist/components/scroll-area.stories.d.ts +8 -0
  187. package/dist/components/scroll-area.stories.d.ts.map +1 -0
  188. package/dist/components/search-field.d.ts +2 -1
  189. package/dist/components/search-field.d.ts.map +1 -1
  190. package/dist/components/search-field.stories.d.ts +1 -1
  191. package/dist/components/segmented.d.ts +6 -2
  192. package/dist/components/segmented.d.ts.map +1 -1
  193. package/dist/components/segmented.stories.d.ts +1 -1
  194. package/dist/components/select.d.ts +26 -0
  195. package/dist/components/select.d.ts.map +1 -0
  196. package/dist/components/select.stories.d.ts +12 -0
  197. package/dist/components/select.stories.d.ts.map +1 -0
  198. package/dist/components/separator.d.ts +10 -0
  199. package/dist/components/separator.d.ts.map +1 -0
  200. package/dist/components/separator.stories.d.ts +9 -0
  201. package/dist/components/separator.stories.d.ts.map +1 -0
  202. package/dist/components/sheet.d.ts +29 -0
  203. package/dist/components/sheet.d.ts.map +1 -0
  204. package/dist/components/sheet.stories.d.ts +12 -0
  205. package/dist/components/sheet.stories.d.ts.map +1 -0
  206. package/dist/components/side-drawer.d.ts +1 -1
  207. package/dist/components/side-drawer.d.ts.map +1 -1
  208. package/dist/components/side-drawer.stories.d.ts +1 -1
  209. package/dist/components/sidebar.d.ts +86 -0
  210. package/dist/components/sidebar.d.ts.map +1 -0
  211. package/dist/components/sidebar.stories.d.ts +10 -0
  212. package/dist/components/sidebar.stories.d.ts.map +1 -0
  213. package/dist/components/skeleton.d.ts +9 -0
  214. package/dist/components/skeleton.d.ts.map +1 -0
  215. package/dist/components/skeleton.stories.d.ts +9 -0
  216. package/dist/components/skeleton.stories.d.ts.map +1 -0
  217. package/dist/components/slider.d.ts +13 -0
  218. package/dist/components/slider.d.ts.map +1 -0
  219. package/dist/components/slider.stories.d.ts +9 -0
  220. package/dist/components/slider.stories.d.ts.map +1 -0
  221. package/dist/components/spinner.d.ts +3 -1
  222. package/dist/components/spinner.d.ts.map +1 -1
  223. package/dist/components/spinner.stories.d.ts +1 -1
  224. package/dist/components/split-view.d.ts +129 -9
  225. package/dist/components/split-view.d.ts.map +1 -1
  226. package/dist/components/split-view.stories.d.ts +19 -3
  227. package/dist/components/split-view.stories.d.ts.map +1 -1
  228. package/dist/components/switch.d.ts +3 -2
  229. package/dist/components/switch.d.ts.map +1 -1
  230. package/dist/components/switch.stories.d.ts +1 -1
  231. package/dist/components/syntax-highlighting.d.ts +99 -0
  232. package/dist/components/syntax-highlighting.d.ts.map +1 -0
  233. package/dist/components/syntax-highlighting.stories.d.ts +18 -0
  234. package/dist/components/syntax-highlighting.stories.d.ts.map +1 -0
  235. package/dist/components/tab-bar.d.ts +3 -1
  236. package/dist/components/tab-bar.d.ts.map +1 -1
  237. package/dist/components/tab-bar.stories.d.ts +1 -1
  238. package/dist/components/tab-view.d.ts +93 -0
  239. package/dist/components/tab-view.d.ts.map +1 -0
  240. package/dist/components/tab-view.stories.d.ts +21 -0
  241. package/dist/components/tab-view.stories.d.ts.map +1 -0
  242. package/dist/components/tabs.d.ts +26 -0
  243. package/dist/components/tabs.d.ts.map +1 -0
  244. package/dist/components/tabs.stories.d.ts +9 -0
  245. package/dist/components/tabs.stories.d.ts.map +1 -0
  246. package/dist/components/text-field.d.ts +9 -0
  247. package/dist/components/text-field.d.ts.map +1 -0
  248. package/dist/components/text-field.stories.d.ts +9 -0
  249. package/dist/components/text-field.stories.d.ts.map +1 -0
  250. package/dist/components/text-morph.d.ts +8 -0
  251. package/dist/components/text-morph.d.ts.map +1 -0
  252. package/dist/components/textarea.d.ts +9 -0
  253. package/dist/components/textarea.d.ts.map +1 -0
  254. package/dist/components/toggle-group.d.ts +15 -0
  255. package/dist/components/toggle-group.d.ts.map +1 -0
  256. package/dist/components/toggle-group.stories.d.ts +10 -0
  257. package/dist/components/toggle-group.stories.d.ts.map +1 -0
  258. package/dist/components/toggle.d.ts +10 -0
  259. package/dist/components/toggle.d.ts.map +1 -0
  260. package/dist/components/toggle.stories.d.ts +9 -0
  261. package/dist/components/toggle.stories.d.ts.map +1 -0
  262. package/dist/components/tooltip.d.ts +10 -0
  263. package/dist/components/tooltip.d.ts.map +1 -0
  264. package/dist/components/tooltip.stories.d.ts +11 -0
  265. package/dist/components/tooltip.stories.d.ts.map +1 -0
  266. package/dist/components/workbench/annotator.d.ts +22 -0
  267. package/dist/components/workbench/annotator.d.ts.map +1 -0
  268. package/dist/components/workbench/chat.d.ts +99 -0
  269. package/dist/components/workbench/chat.d.ts.map +1 -0
  270. package/dist/components/workbench/chat.stories.d.ts +14 -0
  271. package/dist/components/workbench/chat.stories.d.ts.map +1 -0
  272. package/dist/components/workbench/composer.d.ts +358 -0
  273. package/dist/components/workbench/composer.d.ts.map +1 -0
  274. package/dist/components/workbench/composer.stories.d.ts +29 -0
  275. package/dist/components/workbench/composer.stories.d.ts.map +1 -0
  276. package/dist/components/workbench/fixtures.d.ts +38 -0
  277. package/dist/components/workbench/fixtures.d.ts.map +1 -0
  278. package/dist/components/workbench/markdown.d.ts +27 -0
  279. package/dist/components/workbench/markdown.d.ts.map +1 -0
  280. package/dist/components/workbench/message-scroller.d.ts +16 -0
  281. package/dist/components/workbench/message-scroller.d.ts.map +1 -0
  282. package/dist/components/workbench/message-scroller.stories.d.ts +10 -0
  283. package/dist/components/workbench/message-scroller.stories.d.ts.map +1 -0
  284. package/dist/components/workbench/model-picker.d.ts +29 -0
  285. package/dist/components/workbench/model-picker.d.ts.map +1 -0
  286. package/dist/components/workbench/models.d.ts +32 -0
  287. package/dist/components/workbench/models.d.ts.map +1 -0
  288. package/dist/components/workbench/snap-sheet.d.ts +12 -0
  289. package/dist/components/workbench/snap-sheet.d.ts.map +1 -0
  290. package/dist/components/workbench/snap-sheet.stories.d.ts +9 -0
  291. package/dist/components/workbench/snap-sheet.stories.d.ts.map +1 -0
  292. package/dist/components/workbench/surfaces.d.ts +67 -0
  293. package/dist/components/workbench/surfaces.d.ts.map +1 -0
  294. package/dist/components/workbench/surfaces.stories.d.ts +16 -0
  295. package/dist/components/workbench/surfaces.stories.d.ts.map +1 -0
  296. package/dist/components/workbench/terminal.d.ts +43 -0
  297. package/dist/components/workbench/terminal.d.ts.map +1 -0
  298. package/dist/components/workbench/terminal.stories.d.ts +9 -0
  299. package/dist/components/workbench/terminal.stories.d.ts.map +1 -0
  300. package/dist/components/workbench/thread-sidebar.d.ts +100 -0
  301. package/dist/components/workbench/thread-sidebar.d.ts.map +1 -0
  302. package/dist/components/workbench/thread-sidebar.stories.d.ts +10 -0
  303. package/dist/components/workbench/thread-sidebar.stories.d.ts.map +1 -0
  304. package/dist/components/workbench/wb-popover.d.ts +11 -0
  305. package/dist/components/workbench/wb-popover.d.ts.map +1 -0
  306. package/dist/components/workbench/workbench-composer.d.ts +26 -0
  307. package/dist/components/workbench/workbench-composer.d.ts.map +1 -0
  308. package/dist/demos/delivery/delivery-tracking-demo.d.ts +40 -0
  309. package/dist/demos/delivery/delivery-tracking-demo.d.ts.map +1 -0
  310. package/dist/demos/delivery/delivery-tracking-demo.stories.d.ts +14 -0
  311. package/dist/demos/delivery/delivery-tracking-demo.stories.d.ts.map +1 -0
  312. package/dist/demos/haptics-playground.d.ts.map +1 -1
  313. package/dist/demos/haptics-playground.stories.d.ts +1 -1
  314. package/dist/demos/map-chat/geo.d.ts +46 -0
  315. package/dist/demos/map-chat/geo.d.ts.map +1 -0
  316. package/dist/demos/map-chat/map-agent.d.ts +48 -0
  317. package/dist/demos/map-chat/map-agent.d.ts.map +1 -0
  318. package/dist/demos/map-chat/map-chat-demo.d.ts +19 -0
  319. package/dist/demos/map-chat/map-chat-demo.d.ts.map +1 -0
  320. package/dist/demos/map-chat/map-chat-demo.stories.d.ts +17 -0
  321. package/dist/demos/map-chat/map-chat-demo.stories.d.ts.map +1 -0
  322. package/dist/demos/map-chat/map-icons.d.ts +44 -0
  323. package/dist/demos/map-chat/map-icons.d.ts.map +1 -0
  324. package/dist/demos/map-chat/places.d.ts +29 -0
  325. package/dist/demos/map-chat/places.d.ts.map +1 -0
  326. package/dist/demos/map-chat/tile-map.d.ts +72 -0
  327. package/dist/demos/map-chat/tile-map.d.ts.map +1 -0
  328. package/dist/demos/pencilkit/demo-strokes.d.ts +4 -0
  329. package/dist/demos/pencilkit/demo-strokes.d.ts.map +1 -0
  330. package/dist/demos/pencilkit/pencilkit-demo.d.ts +15 -0
  331. package/dist/demos/pencilkit/pencilkit-demo.d.ts.map +1 -0
  332. package/dist/demos/pencilkit/pencilkit-demo.stories.d.ts +11 -0
  333. package/dist/demos/pencilkit/pencilkit-demo.stories.d.ts.map +1 -0
  334. package/dist/demos/sidebar-demo.d.ts +9 -0
  335. package/dist/demos/sidebar-demo.d.ts.map +1 -0
  336. package/dist/demos/split-view-demos.d.ts +37 -0
  337. package/dist/demos/split-view-demos.d.ts.map +1 -0
  338. package/dist/index.css +2 -1
  339. package/dist/index.d.ts +156 -6
  340. package/dist/index.d.ts.map +1 -1
  341. package/dist/index.js +15390 -14736
  342. package/dist/lib/chat/chat-icon.d.ts +24 -0
  343. package/dist/lib/chat/chat-icon.d.ts.map +1 -0
  344. package/dist/lib/chat/chat-shell-context.d.ts +19 -0
  345. package/dist/lib/chat/chat-shell-context.d.ts.map +1 -0
  346. package/dist/lib/chat/chat-tokens.d.ts +72 -0
  347. package/dist/lib/chat/chat-tokens.d.ts.map +1 -0
  348. package/dist/lib/chat/chat-users.d.ts +18 -0
  349. package/dist/lib/chat/chat-users.d.ts.map +1 -0
  350. package/dist/lib/chat/kvib.d.ts +3 -0
  351. package/dist/lib/chat/kvib.d.ts.map +1 -0
  352. package/dist/lib/chat/persistent-host.d.ts +29 -0
  353. package/dist/lib/chat/persistent-host.d.ts.map +1 -0
  354. package/dist/lib/chat/title-ref.d.ts +3 -0
  355. package/dist/lib/chat/title-ref.d.ts.map +1 -0
  356. package/dist/lib/container.d.ts +14 -0
  357. package/dist/lib/container.d.ts.map +1 -0
  358. package/dist/lib/haptics.d.ts +0 -2
  359. package/dist/lib/haptics.d.ts.map +1 -1
  360. package/dist/lib/icon.d.ts +1 -1
  361. package/dist/lib/icon.d.ts.map +1 -1
  362. package/dist/lib/icon.stories.d.ts +1 -1
  363. package/dist/lib/motion.d.ts +74 -0
  364. package/dist/lib/motion.d.ts.map +1 -1
  365. package/dist/lib/pencilkit/constants.d.ts +33 -0
  366. package/dist/lib/pencilkit/constants.d.ts.map +1 -0
  367. package/dist/lib/primitives.d.ts +12 -0
  368. package/dist/lib/primitives.d.ts.map +1 -0
  369. package/dist/lib/sheet-drag.d.ts +38 -0
  370. package/dist/lib/sheet-drag.d.ts.map +1 -0
  371. package/dist/lib/syntax.d.ts +38 -0
  372. package/dist/lib/syntax.d.ts.map +1 -0
  373. package/dist/lib/theme.d.ts +15 -5
  374. package/dist/lib/theme.d.ts.map +1 -1
  375. package/dist/lib/utils.d.ts +2 -1
  376. package/dist/lib/utils.d.ts.map +1 -1
  377. package/dist/lib/workbench/haptics.d.ts +3 -0
  378. package/dist/lib/workbench/haptics.d.ts.map +1 -0
  379. package/dist/lib/workbench/icons.d.ts +29 -0
  380. package/dist/lib/workbench/icons.d.ts.map +1 -0
  381. package/dist/lib/workbench/motion.d.ts +83 -0
  382. package/dist/lib/workbench/motion.d.ts.map +1 -0
  383. package/dist/lib/workbench/press.d.ts +10 -0
  384. package/dist/lib/workbench/press.d.ts.map +1 -0
  385. package/dist/lib/workbench/theme.d.ts +16 -0
  386. package/dist/lib/workbench/theme.d.ts.map +1 -0
  387. package/dist/lib/workbench/util.d.ts +6 -0
  388. package/dist/lib/workbench/util.d.ts.map +1 -0
  389. package/dist/stories/frame.d.ts +1 -1
  390. package/dist/stories/primitive-frame.d.ts +20 -0
  391. package/dist/stories/primitive-frame.d.ts.map +1 -0
  392. package/dist/templates/artifact-chat-container.d.ts +63 -0
  393. package/dist/templates/artifact-chat-container.d.ts.map +1 -0
  394. package/dist/templates/artifact-chat-container.stories.d.ts +25 -0
  395. package/dist/templates/artifact-chat-container.stories.d.ts.map +1 -0
  396. package/dist/templates/chat-shell.d.ts +86 -0
  397. package/dist/templates/chat-shell.d.ts.map +1 -0
  398. package/dist/templates/chat-shell.stories.d.ts +23 -0
  399. package/dist/templates/chat-shell.stories.d.ts.map +1 -0
  400. package/dist/templates/workbench-shell.d.ts +177 -0
  401. package/dist/templates/workbench-shell.d.ts.map +1 -0
  402. package/dist/templates/workbench-shell.stories.d.ts +18 -0
  403. package/dist/templates/workbench-shell.stories.d.ts.map +1 -0
  404. package/dist/tsconfig.lib.tsbuildinfo +1 -0
  405. package/package.json +29 -8
@@ -0,0 +1,83 @@
1
+ import * as React from 'react';
2
+ import { type PointerEvent as ReactPointerEvent } from 'react';
3
+ import { springs, type SpringName } from '../motion';
4
+ export { springs, type SpringName };
5
+ /** Whether the user asked for reduced motion (checked when an animation starts, so it follows the setting live). */
6
+ export declare function prefersReducedMotion(): boolean;
7
+ export type FlipSnapshot = Map<Element, DOMRect>;
8
+ /** Records where elements are now, before a change moves them. */
9
+ export declare function flipSnapshot(elements: Iterable<Element>): FlipSnapshot;
10
+ /**
11
+ * Plays elements from where `snapshot` saw them to where they are now, on a spring. `relativeTo` pairs a
12
+ * container's before/after rects so children move relative to it (a card that is itself resizing).
13
+ * Interrupting is safe: a snapshot taken mid-flight includes the running transform.
14
+ */
15
+ export declare function flipPlay(snapshot: FlipSnapshot, { spring, relativeTo, fade, lift, }?: {
16
+ spring?: SpringName;
17
+ relativeTo?: [DOMRect, DOMRect];
18
+ fade?: boolean;
19
+ lift?: boolean;
20
+ }): void;
21
+ export declare const SHEET_TAP_SLOP = 4;
22
+ export declare const SHEET_MINIMIZE_TRAVEL = 96;
23
+ export interface SpringSheetDragOptions {
24
+ open: boolean;
25
+ onOpenChange: (open: boolean) => void;
26
+ /** Body height visible at rest. */
27
+ peek: number;
28
+ /** Body height when fully open. */
29
+ maxReveal: number;
30
+ /** Extra resting heights between `peek` and `maxReveal` (px of body). */
31
+ detents?: number[];
32
+ /** Allow dragging below the resting height to fold into a FAB. */
33
+ minimizable?: boolean;
34
+ minimized?: boolean;
35
+ onMinimizedChange?: (minimized: boolean) => void;
36
+ /** Spring the body settles with (default `tray`). */
37
+ spring?: SpringName;
38
+ }
39
+ export interface SpringSheetDragState {
40
+ /** The body height to draw this frame (follows the finger, then springs to rest). */
41
+ reveal: number;
42
+ /** 0–1 fold towards the FAB to draw this frame. */
43
+ minimize: number;
44
+ /** A finger is on the handle. */
45
+ dragging: boolean;
46
+ /** The spring is carrying the body to rest after a release or a state change. */
47
+ settling: boolean;
48
+ /** The middle detent the sheet rests at (px), or null at peek/open. */
49
+ detent: number | null;
50
+ /** Spread on the handle element. */
51
+ handlers: {
52
+ onPointerDown: (event: ReactPointerEvent<HTMLElement>) => void;
53
+ onPointerMove: (event: ReactPointerEvent<HTMLElement>) => void;
54
+ onPointerUp: (event: ReactPointerEvent<HTMLElement>) => void;
55
+ onPointerCancel: () => void;
56
+ onLostPointerCapture: () => void;
57
+ };
58
+ /** A tap on the handle: toggles open (ignored right after a drag). */
59
+ toggle: () => void;
60
+ }
61
+ /**
62
+ * The grow / snap / fold gesture behind FloatingSheet's cap and Composer's draggable bump. The body follows
63
+ * the pointer one-to-one (rubber-banding past its ends); on release the pointer's velocity is projected
64
+ * forward to pick a stop (peek, a detent, open, or the FAB) and a spring carries the body there *from that
65
+ * velocity*, so a flick keeps its momentum. Grabbing mid-flight catches the body where it is. State changes
66
+ * from outside (a tap, Escape, `peek` changing) spring too. Snaps tick.
67
+ */
68
+ export declare function useSpringSheetDrag({ open, onOpenChange, peek, maxReveal, detents, minimizable, minimized, onMinimizedChange, spring, }: SpringSheetDragOptions): SpringSheetDragState;
69
+ export interface MorphTextProps {
70
+ children: string;
71
+ className?: string;
72
+ }
73
+ /**
74
+ * Text that morphs rather than swaps: letters both labels share slide to their new places, the rest fade
75
+ * and blur in/out (Continue → Confirm). Keep it to short labels — pills, buttons, statuses.
76
+ */
77
+ export declare function MorphText({ children, className }: MorphTextProps): import("react/jsx-runtime").JSX.Element;
78
+ export interface AutoHeightProps extends React.HTMLAttributes<HTMLDivElement> {
79
+ spring?: SpringName;
80
+ }
81
+ /** A box whose height springs to fit its content whenever the content changes size. */
82
+ export declare function AutoHeight({ spring, className, style, children, ...props }: AutoHeightProps): import("react/jsx-runtime").JSX.Element;
83
+ //# sourceMappingURL=motion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/motion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAgD,KAAK,YAAY,IAAI,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI7G,OAAO,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAQrD,OAAO,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE,CAAC;AAEpC,oHAAoH;AACpH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAKD,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAEjD,kEAAkE;AAClE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,YAAY,CAItE;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CACtB,QAAQ,EAAE,YAAY,EACtB,EACE,MAAiB,EACjB,UAAU,EACV,IAAY,EACZ,IAAY,GACb,GAAE;IAAE,MAAM,CAAC,EAAE,UAAU,CAAC;IAAC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;I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AAM,IAAI,CAAC;KAClC,CAAC;IACF,sEAAsE;IACtE,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAID;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,YAAY,EACZ,IAAI,EACJ,SAAS,EACT,OAAY,EACZ,WAAmB,EACnB,SAAiB,EACjB,iBAAiB,EACjB,MAAe,GAChB,EAAE,sBAAsB,GAAG,oBAAoB,CAyK/C;AAGD,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,cAAc,2CA6ChE;AAGD,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB;AAED,uFAAuF;AACvF,wBAAgB,UAAU,CAAC,EAAE,MAAe,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CA4BpG"}
@@ -0,0 +1,10 @@
1
+ import { type ButtonProps as AriaButtonProps, type ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
2
+ export interface ButtonProps extends Omit<AriaButtonProps, 'render'> {
3
+ title?: string;
4
+ }
5
+ export declare function Button({ title, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
6
+ export interface ToggleButtonProps extends Omit<AriaToggleButtonProps, 'render'> {
7
+ title?: string;
8
+ }
9
+ export declare function ToggleButton({ title, ...props }: ToggleButtonProps): import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=press.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"press.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/press.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,WAAW,IAAI,eAAe,EACnC,KAAK,iBAAiB,IAAI,qBAAqB,EAChD,MAAM,uBAAuB,CAAC;AAQ/B,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAEtD;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,qBAAqB,EAAE,QAAQ,CAAC;IAC9E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAElE"}
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { type Appearance } from '../theme';
3
+ export declare function workbenchVars(tint?: string, appearance?: Appearance): React.CSSProperties;
4
+ /** Root classes for an appearance: `wb-dark`/`wb-light` key the package CSS, plus the matching color-scheme. */
5
+ export declare const workbenchAppearanceClass: (appearance: Appearance) => "wb-light scheme-light" | "wb-dark scheme-dark";
6
+ export declare const WorkbenchAppearanceProvider: React.Provider<Appearance | undefined>;
7
+ /** The explicit prop, else the ambient `AppearanceProvider`, else Workbench's dark default. */
8
+ export declare function useWorkbenchAppearance(explicit?: Appearance): Appearance;
9
+ export interface WorkbenchThemeProps extends React.HTMLAttributes<HTMLDivElement> {
10
+ tint?: string;
11
+ /** Defaults to the ambient `AppearanceProvider` value, else dark. */
12
+ appearance?: Appearance;
13
+ children?: React.ReactNode;
14
+ }
15
+ export declare function WorkbenchTheme({ tint, appearance: appearanceProp, className, style, children, ...rest }: WorkbenchThemeProps): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/theme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAwD1D,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,UAAU,GAAE,UAAmB,GAAG,KAAK,CAAC,aAAa,CAGjG;AAED,gHAAgH;AAChH,eAAO,MAAM,wBAAwB,GAAI,YAAY,UAAU,oDACW,CAAC;AAK3E,eAAO,MAAM,2BAA2B,wCAAsC,CAAC;AAE/E,+FAA+F;AAC/F,wBAAgB,sBAAsB,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,UAAU,CAIxE;AAED,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC/E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,mBAAmB,2CAY5H"}
@@ -0,0 +1,6 @@
1
+ import { cn } from '../utils';
2
+ export { cn };
3
+ export declare const WFONT = "-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,'Helvetica Neue',sans-serif";
4
+ export declare const MONO = "ui-monospace,'SF Mono',Menlo,Consolas,monospace";
5
+ export declare const EASE = "cubic-bezier(.32,.72,0,1)";
6
+ //# sourceMappingURL=util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,CAAC;AAEd,eAAO,MAAM,KAAK,iGAC8E,CAAC;AACjG,eAAO,MAAM,IAAI,oDAAoD,CAAC;AACtE,eAAO,MAAM,IAAI,8BAA8B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  export declare function Phone({ children, w, h, dark, tint, safeTop }: {
3
3
  children?: ReactNode;
4
4
  w?: number;
@@ -0,0 +1,20 @@
1
+ import type { ReactNode } from 'react';
2
+ /** Story-only: the shadcn primitives shown on an iOS grouped screen (Phone) or a padded card (Pad). */
3
+ export declare function Screen({ children, dark, h, className, title }: {
4
+ children?: ReactNode;
5
+ dark?: boolean;
6
+ h?: number;
7
+ className?: string;
8
+ title?: ReactNode;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export declare function Panel({ children, dark, w, className }: {
11
+ children?: ReactNode;
12
+ dark?: boolean;
13
+ w?: number;
14
+ className?: string;
15
+ }): import("react/jsx-runtime").JSX.Element;
16
+ /** Small uppercase caption above a group, like an iOS section header. */
17
+ export declare function Caption({ children }: {
18
+ children?: ReactNode;
19
+ }): import("react/jsx-runtime").JSX.Element;
20
+ //# sourceMappingURL=primitive-frame.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"primitive-frame.d.ts","sourceRoot":"","sources":["../../src/stories/primitive-frame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,uGAAuG;AAEvG,wBAAgB,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAO,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE;IACpE,QAAQ,CAAC,EAAE,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAC;CACzF,2CASA;AAED,wBAAgB,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CAM/H;AAED,yEAAyE;AACzE,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAE7D"}
@@ -0,0 +1,63 @@
1
+ import { type CSSProperties, type ReactNode } from 'react';
2
+ import { type FloatingChatFabPosition, type FloatingChatProps } from '../components/chat/floating-chat';
3
+ export type ArtifactChatLayout = 'split' | 'floating';
4
+ export interface ArtifactChatContainerContextValue {
5
+ width: number;
6
+ /** The resolved presentation: docked chat column or the floating glass chat. */
7
+ layout: ArtifactChatLayout;
8
+ /** True when the floating layout is active. */
9
+ compact: boolean;
10
+ chatOpen: boolean;
11
+ setChatOpen: (open: boolean) => void;
12
+ composing: boolean;
13
+ setComposing: (composing: boolean) => void;
14
+ }
15
+ export declare function useArtifactChatContainer(): ArtifactChatContainerContextValue;
16
+ export type ArtifactChatContainerSlotChildren = ReactNode;
17
+ export type ArtifactChatFabPosition = FloatingChatFabPosition;
18
+ export interface ArtifactChatContainerProps {
19
+ /**
20
+ * `auto` docks the chat beside the content above `breakpoint` and floats it below.
21
+ * `floating` always floats the chat over the content (maps, canvases, full-bleed
22
+ * artifacts); `split` always docks it.
23
+ */
24
+ layout?: 'auto' | ArtifactChatLayout;
25
+ /** Switches from the side-by-side layout to the floating composer at this container width. */
26
+ breakpoint?: number;
27
+ /** Width of the docked chat column. */
28
+ chatWidth?: number | string;
29
+ /** Controlled state for the floating full-chat drawer. */
30
+ chatOpen?: boolean;
31
+ defaultChatOpen?: boolean;
32
+ onChatOpenChange?: (open: boolean) => void;
33
+ /** Collapses the floating composer into a tappable working status. */
34
+ working?: boolean;
35
+ workingLabel?: ReactNode;
36
+ /** Called when the working status is tapped before the composer is revealed. */
37
+ onAdd?: () => void;
38
+ /** Follow NavigationStack/List scroll chrome, like TabBar. */
39
+ hideOnScroll?: boolean;
40
+ /** Resting position after the floating chat is dragged down into its FAB. */
41
+ fabPosition?: ArtifactChatFabPosition;
42
+ /** Transcript height that stays visible above the floating composer while the chat is closed. */
43
+ peek?: number;
44
+ /** Floating surface style: glass over the content, or an opaque card. */
45
+ appearance?: FloatingChatProps['appearance'];
46
+ /**
47
+ * Colour scheme of the chat surfaces (docked column, floating glass, embedded Composer).
48
+ * Defaults to the ambient `AppearanceProvider` value, else `auto`: inherit the host's --bl-* tokens.
49
+ */
50
+ tone?: FloatingChatProps['tone'];
51
+ children?: ReactNode;
52
+ className?: string;
53
+ style?: CSSProperties;
54
+ }
55
+ export declare function ArtifactChatContainer({ layout: requestedLayout, breakpoint, chatWidth, chatOpen: controlledChatOpen, defaultChatOpen, onChatOpenChange, working, workingLabel, onAdd, hideOnScroll, fabPosition, peek, appearance, tone, children, className, style, }: ArtifactChatContainerProps): import("react/jsx-runtime").JSX.Element;
56
+ export declare namespace ArtifactChatContainer {
57
+ var Chat: import("..").SlotComponent;
58
+ var Composer: import("..").SlotComponent;
59
+ var Content: import("..").SlotComponent;
60
+ var Context: import("react").Context<ArtifactChatContainerContextValue | null>;
61
+ var useContainer: typeof useArtifactChatContainer;
62
+ }
63
+ //# sourceMappingURL=artifact-chat-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact-chat-container.d.ts","sourceRoot":"","sources":["../../src/templates/artifact-chat-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAQf,OAAO,EAAgB,KAAK,uBAAuB,EAAE,KAAK,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAGtH,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,UAAU,CAAC;AAEtD,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,gFAA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C,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAID,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EAAE,eAAwB,EAChC,UAAgB,EAChB,SAAe,EACf,QAAQ,EAAE,kBAAkB,EAC5B,eAAuB,EACvB,gBAAgB,EAChB,OAAe,EACf,YAAyB,EACzB,KAAK,EACL,YAAmB,EACnB,WAA6B,EAC7B,IAAQ,EACR,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE,0BAA0B,2CAiL5B;yBAnMe,qBAAqB"}
@@ -0,0 +1,25 @@
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
+ import '../styles.css';
3
+ import { type ArtifactChatFabPosition } from './artifact-chat-container';
4
+ interface DemoProps {
5
+ width: number;
6
+ height: number;
7
+ working?: boolean;
8
+ defaultChatOpen?: boolean;
9
+ fabPosition?: ArtifactChatFabPosition;
10
+ }
11
+ declare const meta: Meta<DemoProps>;
12
+ export default meta;
13
+ type Story = StoryObj<DemoProps>;
14
+ export declare const Split: Story;
15
+ export declare const FloatingComposer: Story;
16
+ export declare const FullChatDrawer: Story;
17
+ export declare const Working: Story;
18
+ export declare const SplitToFloating: Story;
19
+ /** `layout="floating"` with a `peek` keeps the newest replies visible above the composer even in a wide container. */
20
+ export declare const AlwaysFloatingWithPeek: Story;
21
+ export declare const AppearanceLight: Story;
22
+ export declare const AppearanceDark: Story;
23
+ /** The floating glass chat in both appearances, side by side. */
24
+ export declare const AppearanceFloating: Story;
25
+ //# sourceMappingURL=artifact-chat-container.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact-chat-container.stories.d.ts","sourceRoot":"","sources":["../../src/templates/artifact-chat-container.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,eAAe,CAAC;AACvB,OAAO,EAAyB,KAAK,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAqBhG,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,uBAAuB,CAAC;CACvC;AA8ED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,SAAS,CAgBzB,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAA8C,CAAC;AACnE,eAAO,MAAM,gBAAgB,EAAE,KAA6C,CAAC;AAC7E,eAAO,MAAM,cAAc,EAAE,KAAoE,CAAC;AAClG,eAAO,MAAM,OAAO,EAAE,KAA4D,CAAC;AAwBnF,eAAO,MAAM,eAAe,EAAE,KAA4C,CAAC;AAC3E,sHAAsH;AACtH,eAAO,MAAM,sBAAsB,EAAE,KAepC,CAAC;AAkEF,eAAO,MAAM,eAAe,EAAE,KAAkI,CAAC;AACjK,eAAO,MAAM,cAAc,EAAE,KAAiI,CAAC;AAC/J,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,EAAE,KAQhC,CAAC"}
@@ -0,0 +1,86 @@
1
+ import { type ComponentProps, type CSSProperties, type ReactNode } from 'react';
2
+ import { Button } from 'react-aria-components';
3
+ import { type VariantProps } from 'class-variance-authority';
4
+ import { type Appearance } from '../lib/theme';
5
+ import { useChatShell, type ChatShellContextValue } from '../lib/chat/chat-shell-context';
6
+ export { useChatShell, type ChatShellContextValue };
7
+ export interface ChatShellProps extends Omit<ComponentProps<'div'>, 'ref'> {
8
+ /** container width below which the navigation moves into a drawer */
9
+ breakpoint?: number;
10
+ /** initial state of the compact navigation drawer */
11
+ defaultNavOpen?: boolean;
12
+ /** controlled compact navigation drawer */
13
+ navOpen?: boolean;
14
+ onNavOpenChange?: (open: boolean) => void;
15
+ /** Light or dark palette. Defaults to the ambient `AppearanceProvider` value, else dark. */
16
+ appearance?: Appearance;
17
+ /** accent for unread dots, mention pills, own reactions, the send button (`--ck-tint`) */
18
+ tint?: string;
19
+ }
20
+ export declare function ChatShell({ breakpoint, defaultNavOpen, navOpen: navOpenProp, onNavOpenChange, appearance: appearanceProp, tint, children, className, style, ...props }: ChatShellProps): import("react/jsx-runtime").JSX.Element;
21
+ export interface ChatShellNavProps {
22
+ children?: ReactNode;
23
+ className?: string;
24
+ style?: CSSProperties;
25
+ }
26
+ /** Holds the rail and the sidebar. Wide: a docked column. Compact: a left EdgeDrawer over a scrim, opened by
27
+ * `ChatShellNavTrigger` and closed by the scrim, `ServerHeader`'s close button or picking a channel. */
28
+ export declare function ChatShellNav({ children, className, style }: ChatShellNavProps): import("react/jsx-runtime").JSX.Element;
29
+ export interface ChatShellNavTriggerProps extends Omit<ComponentProps<typeof Button>, 'children'> {
30
+ children?: ReactNode;
31
+ }
32
+ /** The hamburger that opens the navigation drawer. Renders nothing while the navigation is docked (or when
33
+ * the shell has no ChatShellNav). */
34
+ export declare function ChatShellNavTrigger({ className, children, onPress, ...props }: ChatShellNavTriggerProps): import("react/jsx-runtime").JSX.Element | null;
35
+ /** The channel column: a 222px surface that stacks ServerHeader, ChannelList and UserPanel. */
36
+ export declare function ChatShellSidebar({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
37
+ /** The conversation column: header, transcript, footer. Takes the remaining width. */
38
+ export declare function ChatShellMain({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
39
+ export declare function ChatShellHeader({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
40
+ /** Leading glyph of the header; a # by default. */
41
+ export declare function ChatShellHeaderIcon({ className, children, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
42
+ export declare function ChatShellTitle({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
43
+ /** The channel topic; fills the space between the title and the actions. */
44
+ export declare function ChatShellDescription({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
45
+ /** Trailing header actions, pushed to the end. */
46
+ export declare function ChatShellHeaderActions({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
47
+ export declare const chatShellHeaderActionVariants: (props?: ({
48
+ variant?: "outline" | "icon" | null | undefined;
49
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
50
+ export interface ChatShellHeaderActionProps extends ComponentProps<typeof Button>, VariantProps<typeof chatShellHeaderActionVariants> {
51
+ /** marks a toggle as on (tints the icon variant) */
52
+ isActive?: boolean;
53
+ }
54
+ export declare function ChatShellHeaderAction({ variant, isActive, className, onPress, ...props }: ChatShellHeaderActionProps): import("react/jsx-runtime").JSX.Element;
55
+ export interface ChatShellBackProps extends Omit<ComponentProps<typeof Button>, 'children'> {
56
+ children?: ReactNode;
57
+ }
58
+ /** A tinted "‹ #channel" back button, for a view (a full-width thread) that replaces the channel. */
59
+ export declare function ChatShellBack({ className, children, onPress, ...props }: ChatShellBackProps): import("react/jsx-runtime").JSX.Element;
60
+ /** Pins the composer (and anything else) under the transcript. */
61
+ export declare function ChatShellFooter({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
62
+ export interface ChatShellAsideProps extends ComponentProps<'aside'> {
63
+ /** the aside only docks when the shell is at least this wide */
64
+ minWidth?: number;
65
+ /** set false to hide it at any width (a member-list toggle, or while a thread panel is open) */
66
+ open?: boolean;
67
+ }
68
+ /** A docked trailing column (the member list). It steps aside below `minWidth` rather than squeezing the
69
+ * conversation. */
70
+ export declare function ChatShellAside({ minWidth, open, className, ...props }: ChatShellAsideProps): import("react/jsx-runtime").JSX.Element | null;
71
+ export interface ChatShellPanelProps {
72
+ open: boolean;
73
+ onOpenChange?: (open: boolean) => void;
74
+ title?: ReactNode;
75
+ /** from this shell width up the panel docks as a column; below it, it overlays the conversation */
76
+ dockWidth?: number;
77
+ /** panel width; defaults to min(360, shell width − 60) */
78
+ width?: number;
79
+ children?: ReactNode;
80
+ className?: string;
81
+ style?: CSSProperties;
82
+ }
83
+ /** A trailing panel for a thread (or details): a SideDrawer that docks beside the conversation on wide shells
84
+ * and slides over it on narrow ones. */
85
+ export declare function ChatShellPanel({ open, onOpenChange, title, dockWidth, width, children, className, style }: ChatShellPanelProps): import("react/jsx-runtime").JSX.Element;
86
+ //# sourceMappingURL=chat-shell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-shell.d.ts","sourceRoot":"","sources":["../../src/templates/chat-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxH,OAAO,EAAE,MAAM,EAAsB,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAG9D,OAAO,EAAoB,YAAY,EAAE,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAG5G,OAAO,EAAE,YAAY,EAAE,KAAK,qBAAqB,EAAE,CAAC;AAgBpD,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;IACxE,qEAAqE;IACrE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,4FAA4F;IAC5F,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,0FAA0F;IAC1F,IAAI,CAAC,EAAE,MAA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AAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,kDAUxG;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,mGAAmG;IACnG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED;yCACyC;AACzC,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAgB,EAAE,SAAgB,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,mBAAmB,2CAqBhJ"}
@@ -0,0 +1,23 @@
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
+ import '../styles.css';
3
+ interface FrameArgs {
4
+ width: number;
5
+ height: number;
6
+ defaultNavOpen?: boolean;
7
+ }
8
+ declare const meta: Meta<FrameArgs>;
9
+ export default meta;
10
+ type Story = StoryObj<FrameArgs>;
11
+ export declare const Wide: Story;
12
+ export declare const Compact: Story;
13
+ /** Compact shell with the navigation drawer OPEN — rail + sidebar slide in over the scrim. */
14
+ export declare const CompactNavOpen: Story;
15
+ /** Two columns, no rail: a DM list in ChatShellSidebar and the conversation. */
16
+ export declare const DirectMessages: Story;
17
+ /** ChatShellPanel: a thread docked beside the conversation (≥1180px), or over it below that. */
18
+ export declare const ThreadPanel: Story;
19
+ /** ChatShellAside with a MemberList: docks from `minWidth` (1320 by default). */
20
+ export declare const MemberAside: Story;
21
+ /** Just the main region — a support widget, light. */
22
+ export declare const SupportWidget: Story;
23
+ //# sourceMappingURL=chat-shell.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-shell.stories.d.ts","sourceRoot":"","sources":["../../src/templates/chat-shell.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AA+B5D,OAAO,eAAe,CAAC;AAEvB,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAgED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,SAAS,CAWzB,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAElB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,8FAA8F;AAC9F,eAAO,MAAM,cAAc,EAAE,KAS5B,CAAC;AAyCF,gFAAgF;AAChF,eAAO,MAAM,cAAc,EAAE,KA2B5B,CAAC;AAEF,gGAAgG;AAChG,eAAO,MAAM,WAAW,EAAE,KA6BzB,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,WAAW,EAAE,KAqBzB,CAAC;AAEF,sDAAsD;AACtD,eAAO,MAAM,aAAa,EAAE,KAS3B,CAAC"}
@@ -0,0 +1,177 @@
1
+ import * as React from 'react';
2
+ import { type WIconName } from '../lib/workbench/icons';
3
+ import type { Appearance } from '../lib/theme';
4
+ /** Width class thresholds, measured on the shell's own box. */
5
+ export declare function workbenchWidthClass(w: number): WorkbenchWidthClass;
6
+ export type WorkbenchWidthClass = 'regular' | 'medium' | 'compact';
7
+ export interface WorkbenchShellContextValue {
8
+ /** measured shell width */
9
+ width: number;
10
+ widthClass: WorkbenchWidthClass;
11
+ compact: boolean;
12
+ appearance: Appearance;
13
+ /** column visible (regular/medium) or drawer open (compact) */
14
+ sidebarOpen: boolean;
15
+ setSidebarOpen: (open: boolean) => void;
16
+ toggleSidebar: () => void;
17
+ dockOpen: boolean;
18
+ setDockOpen: (open: boolean) => void;
19
+ toggleDock: () => void;
20
+ dockHeight: number;
21
+ setDockHeight: (h: number) => void;
22
+ /** column/drawer open (regular/medium) or the panel page showing (compact) */
23
+ panelOpen: boolean;
24
+ setPanelOpen: (open: boolean) => void;
25
+ togglePanel: () => void;
26
+ panelFullscreen: boolean;
27
+ setPanelFullscreen: (full: boolean) => void;
28
+ }
29
+ /** Shell state for descendants. Throws outside `<WorkbenchShell>`. */
30
+ export declare function useWorkbenchShell(): WorkbenchShellContextValue;
31
+ /** Shell state, or `null` when a part is rendered on its own (docs, stories, a custom layout). */
32
+ export declare function useOptionalWorkbenchShell(): WorkbenchShellContextValue | null;
33
+ export interface WorkbenchShellProps {
34
+ tint?: string;
35
+ /** Light or dark palette. Defaults to the ambient `AppearanceProvider` value, else dark. */
36
+ appearance?: Appearance;
37
+ /** Initial sidebar column visibility (regular/medium). Default `true`. */
38
+ defaultSidebarOpen?: boolean;
39
+ /** Initial dock visibility. Unset: open at regular width only. `false` keeps it closed at every width. */
40
+ defaultDockOpen?: boolean;
41
+ /** Initial dock height in px. Default 190. */
42
+ defaultDockHeight?: number;
43
+ /** Initial panel visibility. Unset: open at regular width only. `true` also opens the compact panel page. */
44
+ defaultPanelOpen?: boolean;
45
+ defaultPanelFullscreen?: boolean;
46
+ children?: React.ReactNode;
47
+ className?: string;
48
+ style?: React.CSSProperties;
49
+ }
50
+ export declare function WorkbenchShell({ tint, appearance: appearanceProp, defaultSidebarOpen, defaultDockOpen, defaultDockHeight, defaultPanelOpen, defaultPanelFullscreen, children, className, style, }: WorkbenchShellProps): import("react/jsx-runtime").JSX.Element;
51
+ export interface WorkbenchSidebarProps {
52
+ /** docked column width. Default 242. */
53
+ width?: number | string;
54
+ /** compact drawer width. Default 280. */
55
+ drawerWidth?: number | string;
56
+ children?: React.ReactNode;
57
+ }
58
+ /** The left region: a docked column, or an EdgeDrawer over the whole shell at compact width. */
59
+ export declare function WorkbenchSidebar({ width, drawerWidth, children }: WorkbenchSidebarProps): import("react/jsx-runtime").JSX.Element;
60
+ interface TriggerProps {
61
+ /** overrides the default action */
62
+ onPress?: () => void;
63
+ className?: string;
64
+ style?: React.CSSProperties;
65
+ }
66
+ /** Sidebar toggle in the header: a hamburger that opens the drawer at compact width. */
67
+ export declare function WorkbenchSidebarTrigger({ onPress, className, style }: TriggerProps): import("react/jsx-runtime").JSX.Element;
68
+ /** Closes the compact sidebar drawer; renders nothing at wider widths. */
69
+ export declare function WorkbenchSidebarClose({ onPress, className, style }: TriggerProps): import("react/jsx-runtime").JSX.Element | null;
70
+ export declare function WorkbenchMain({ className, style, children }: {
71
+ className?: string;
72
+ style?: React.CSSProperties;
73
+ children?: React.ReactNode;
74
+ }): import("react/jsx-runtime").JSX.Element;
75
+ export declare function WorkbenchHeader({ className, style, children }: {
76
+ className?: string;
77
+ style?: React.CSSProperties;
78
+ children?: React.ReactNode;
79
+ }): import("react/jsx-runtime").JSX.Element;
80
+ export interface WorkbenchTitleProps {
81
+ /** crumb before the title, e.g. the project */
82
+ project?: React.ReactNode;
83
+ icon?: WIconName;
84
+ children?: React.ReactNode;
85
+ className?: string;
86
+ }
87
+ /** `folder project / title` — fills the header's free space so the actions sit at its end. */
88
+ export declare function WorkbenchTitle({ project, icon, children, className }: WorkbenchTitleProps): import("react/jsx-runtime").JSX.Element;
89
+ export declare function WorkbenchActions({ className, children }: {
90
+ className?: string;
91
+ children?: React.ReactNode;
92
+ }): import("react/jsx-runtime").JSX.Element;
93
+ /** A header icon button that thumps like the rest of the chrome. */
94
+ export declare function WorkbenchAction({ icon, label, onPress, active, className }: {
95
+ icon: WIconName;
96
+ label: string;
97
+ onPress?: () => void;
98
+ active?: boolean;
99
+ className?: string;
100
+ }): import("react/jsx-runtime").JSX.Element;
101
+ export interface WorkbenchDockProps {
102
+ /** compact sheet snap points, as fractions of the shell height */
103
+ snaps?: number[];
104
+ minHeight?: number;
105
+ maxHeight?: number;
106
+ className?: string;
107
+ style?: React.CSSProperties;
108
+ children?: React.ReactNode;
109
+ }
110
+ /**
111
+ * The bottom dock (a terminal, logs, a console). Inline and resizable from its top edge at regular and
112
+ * medium widths; at compact width the same children move into a SnapSheet over the whole shell.
113
+ * Place it last inside `WorkbenchMain`. Outside a shell it renders inline with its own height.
114
+ */
115
+ export declare function WorkbenchDock({ snaps, minHeight, maxHeight, className, style, children }: WorkbenchDockProps): import("react/jsx-runtime").JSX.Element | null;
116
+ /** Header toggle for the dock. */
117
+ export declare function WorkbenchDockTrigger({ onPress, className, style }: TriggerProps): import("react/jsx-runtime").JSX.Element;
118
+ /** Closes the dock (inline or sheet). */
119
+ export declare function WorkbenchDockClose({ icon, label, size, onPress, className }: TriggerProps & {
120
+ icon?: WIconName;
121
+ label?: string;
122
+ size?: number;
123
+ }): import("react/jsx-runtime").JSX.Element;
124
+ export interface WorkbenchPanelProps {
125
+ className?: string;
126
+ style?: React.CSSProperties;
127
+ children?: React.ReactNode;
128
+ }
129
+ /**
130
+ * The right region (an inspector: surfaces, a diff, a preview). A column at regular width, an EdgeDrawer at
131
+ * medium width, and a cover over everything but the tab bar when fullscreen or on the compact panel page.
132
+ * The children render in a `bg-wb-side` column either way, so their state survives every move.
133
+ */
134
+ export declare function WorkbenchPanel({ className, style, children }: WorkbenchPanelProps): import("react/jsx-runtime").JSX.Element;
135
+ /** Header toggle for the panel; hidden at compact width, where the tab bar switches views. */
136
+ export declare function WorkbenchPanelTrigger({ onPress, className, style }: TriggerProps): import("react/jsx-runtime").JSX.Element | null;
137
+ export declare function WorkbenchPanelHeader({ className, style, children }: {
138
+ className?: string;
139
+ style?: React.CSSProperties;
140
+ children?: React.ReactNode;
141
+ }): import("react/jsx-runtime").JSX.Element;
142
+ /** Icon + name; fills the header so the controls after it sit at its end. */
143
+ export declare function WorkbenchPanelTitle({ icon, className, children }: {
144
+ icon?: WIconName;
145
+ className?: string;
146
+ children?: React.ReactNode;
147
+ }): import("react/jsx-runtime").JSX.Element;
148
+ /** Promotes the panel to cover the shell; hidden at compact width. `active`/`onPress` for use outside a shell. */
149
+ export declare function WorkbenchPanelFullscreen({ active, onPress, className }: TriggerProps & {
150
+ active?: boolean;
151
+ }): import("react/jsx-runtime").JSX.Element | null;
152
+ /** Closes the panel (and leaves fullscreen); on compact width returns to the main view. */
153
+ export declare function WorkbenchPanelClose({ onPress, className }: TriggerProps): import("react/jsx-runtime").JSX.Element;
154
+ export interface WorkbenchTabBarProps {
155
+ /** the panel's current view (e.g. the open surface); selected while the panel page shows */
156
+ value?: string | null;
157
+ onValueChange?: (id: string) => void;
158
+ /** id of the tab that shows the main column. Default `'chat'`. */
159
+ mainTab?: string;
160
+ className?: string;
161
+ style?: React.CSSProperties;
162
+ children?: React.ReactNode;
163
+ }
164
+ /**
165
+ * Compact-width view switcher: a single-select ToggleButtonGroup under the shell. The `mainTab` shows the
166
+ * main column; any other tab opens the panel page and reports its id through `onValueChange`.
167
+ * Renders only at compact width inside a shell (always, on its own).
168
+ */
169
+ export declare function WorkbenchTabBar({ value, onValueChange, mainTab, className, style, children }: WorkbenchTabBarProps): import("react/jsx-runtime").JSX.Element | null;
170
+ export declare function WorkbenchTab({ id, icon, className, children }: {
171
+ id: string;
172
+ icon: WIconName;
173
+ className?: string;
174
+ children?: React.ReactNode;
175
+ }): import("react/jsx-runtime").JSX.Element;
176
+ export {};
177
+ //# sourceMappingURL=workbench-shell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workbench-shell.d.ts","sourceRoot":"","sources":["../../src/templates/workbench-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAqB/C,+DAA+D;AAC/D,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAElE;AACD,MAAM,MAAM,mBA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QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAqB9I"}
@@ -0,0 +1,18 @@
1
+ import type { Meta, StoryObj } from '@storybook/react-vite';
2
+ import '../styles.css';
3
+ declare const meta: Meta;
4
+ export default meta;
5
+ type Story = StoryObj;
6
+ export declare const Desktop: Story;
7
+ export declare const DesktopDockClosed: Story;
8
+ export declare const DesktopEmptyThread: Story;
9
+ export declare const DesktopBrowserSurface: Story;
10
+ export declare const DesktopPanelFullscreen: Story;
11
+ export declare const Medium: Story;
12
+ export declare const MediumPanelDrawer: Story;
13
+ export declare const Compact: Story;
14
+ export declare const CompactDockSheet: Story;
15
+ export declare const CompactSurfacePage: Story;
16
+ export declare const ChatOnly: Story;
17
+ export declare const ChatWithInspector: Story;
18
+ //# sourceMappingURL=workbench-shell.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workbench-shell.stories.d.ts","sourceRoot":"","sources":["../../src/templates/workbench-shell.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAqE5D,OAAO,eAAe,CAAC;AAEvB,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAwJtB,eAAO,MAAM,OAAO,EAAE,KAAiE,CAAC;AAExF,eAAO,MAAM,iBAAiB,EAAE,KAAkF,CAAC;AAEnH,eAAO,MAAM,kBAAkB,EAAE,KAAgG,CAAC;AAElI,eAAO,MAAM,qBAAqB,EAAE,KAAmF,CAAC;AAExH,eAAO,MAAM,sBAAsB,EAAE,KAA8F,CAAC;AAEpI,eAAO,MAAM,MAAM,EAAE,KAAgE,CAAC;AAEtF,eAAO,MAAM,iBAAiB,EAAE,KAAsF,CAAC;AAEvH,eAAO,MAAM,OAAO,EAAE,KAAgE,CAAC;AAEvF,eAAO,MAAM,gBAAgB,EAAE,KAAyE,CAAC;AAEzG,eAAO,MAAM,kBAAkB,EAAE,KAAuF,CAAC;AAmDzH,eAAO,MAAM,QAAQ,EAAE,KAA0C,CAAC;AAGlE,eAAO,MAAM,iBAAiB,EAAE,KAqC/B,CAAC"}