@brett_lamy/ui 1.0.0 → 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 (349) hide show
  1. package/README.md +36 -22
  2. package/dist/components/adaptive-pane.d.ts +2 -2
  3. package/dist/components/adaptive-pane.stories.d.ts +1 -1
  4. package/dist/components/animated-height.d.ts +2 -2
  5. package/dist/components/avatar.d.ts +1 -1
  6. package/dist/components/avatar.stories.d.ts +1 -1
  7. package/dist/components/badge.d.ts +3 -3
  8. package/dist/components/badge.stories.d.ts +1 -1
  9. package/dist/components/button.d.ts +3 -3
  10. package/dist/components/button.stories.d.ts +3 -1
  11. package/dist/components/button.stories.d.ts.map +1 -1
  12. package/dist/components/card.d.ts +3 -3
  13. package/dist/components/card.stories.d.ts +1 -1
  14. package/dist/components/celebrate.d.ts +1 -1
  15. package/dist/components/chat/chat-column.d.ts +1 -1
  16. package/dist/components/chat/chat-column.stories.d.ts +3 -2
  17. package/dist/components/chat/chat-column.stories.d.ts.map +1 -1
  18. package/dist/components/chat/floating-chat.d.ts +21 -2
  19. package/dist/components/chat/floating-chat.d.ts.map +1 -1
  20. package/dist/components/chat/floating-chat.stories.d.ts +2 -3
  21. package/dist/components/chat/floating-chat.stories.d.ts.map +1 -1
  22. package/dist/components/chat/floating-sheet.d.ts +22 -2
  23. package/dist/components/chat/floating-sheet.d.ts.map +1 -1
  24. package/dist/components/chat/floating-sheet.stories.d.ts +2 -3
  25. package/dist/components/chat/floating-sheet.stories.d.ts.map +1 -1
  26. package/dist/components/chat/progress-stepper.d.ts +2 -2
  27. package/dist/components/checkbox.d.ts +3 -3
  28. package/dist/components/checkbox.stories.d.ts +1 -1
  29. package/dist/components/combobox.d.ts +3 -3
  30. package/dist/components/combobox.stories.d.ts +1 -1
  31. package/dist/components/command-menu.d.ts +210 -0
  32. package/dist/components/command-menu.d.ts.map +1 -0
  33. package/dist/components/command-menu.stories.d.ts +17 -0
  34. package/dist/components/command-menu.stories.d.ts.map +1 -0
  35. package/dist/components/credenza.d.ts +8 -3
  36. package/dist/components/credenza.d.ts.map +1 -1
  37. package/dist/components/credenza.stories.d.ts +1 -1
  38. package/dist/components/dialog.d.ts +5 -5
  39. package/dist/components/dialog.stories.d.ts +1 -1
  40. package/dist/components/disclosure.d.ts +4 -4
  41. package/dist/components/disclosure.stories.d.ts +1 -1
  42. package/dist/components/dropdown-menu.d.ts +5 -5
  43. package/dist/components/dropdown-menu.stories.d.ts +1 -1
  44. package/dist/components/edge-drawer.d.ts +15 -3
  45. package/dist/components/edge-drawer.d.ts.map +1 -1
  46. package/dist/components/edge-drawer.stories.d.ts +1 -1
  47. package/dist/components/edit-bar.d.ts +1 -1
  48. package/dist/components/edit-bar.stories.d.ts +1 -1
  49. package/dist/components/form.d.ts +2 -2
  50. package/dist/components/form.stories.d.ts +1 -1
  51. package/dist/components/haptic-indicator.d.ts +1 -1
  52. package/dist/components/haptic-indicator.stories.d.ts +1 -1
  53. package/dist/components/icon-swap.d.ts +1 -1
  54. package/dist/components/index-bar.d.ts +6 -3
  55. package/dist/components/index-bar.d.ts.map +1 -1
  56. package/dist/components/index-bar.stories.d.ts +1 -1
  57. package/dist/components/input.d.ts +3 -3
  58. package/dist/components/input.stories.d.ts +1 -1
  59. package/dist/components/kbd.d.ts +1 -1
  60. package/dist/components/kbd.stories.d.ts +1 -1
  61. package/dist/components/label.d.ts +3 -3
  62. package/dist/components/label.stories.d.ts +1 -1
  63. package/dist/components/list-box.d.ts +5 -5
  64. package/dist/components/list-box.stories.d.ts +1 -1
  65. package/dist/components/list-row.stories.d.ts +13 -1
  66. package/dist/components/list-row.stories.d.ts.map +1 -1
  67. package/dist/components/list.d.ts +49 -4
  68. package/dist/components/list.d.ts.map +1 -1
  69. package/dist/components/list.stories.d.ts +6 -2
  70. package/dist/components/list.stories.d.ts.map +1 -1
  71. package/dist/components/markdown-editor.d.ts +39 -5
  72. package/dist/components/markdown-editor.d.ts.map +1 -1
  73. package/dist/components/markdown-editor.stories.d.ts +4 -1
  74. package/dist/components/markdown-editor.stories.d.ts.map +1 -1
  75. package/dist/components/measure-h.d.ts +1 -1
  76. package/dist/components/morph.d.ts +64 -0
  77. package/dist/components/morph.d.ts.map +1 -0
  78. package/dist/components/morph.stories.d.ts +14 -0
  79. package/dist/components/morph.stories.d.ts.map +1 -0
  80. package/dist/components/motion.stories.d.ts +1 -1
  81. package/dist/components/navigation-stack.d.ts +22 -5
  82. package/dist/components/navigation-stack.d.ts.map +1 -1
  83. package/dist/components/navigation-stack.stories.d.ts +12 -1
  84. package/dist/components/navigation-stack.stories.d.ts.map +1 -1
  85. package/dist/components/now-playing-bars.d.ts +21 -0
  86. package/dist/components/now-playing-bars.d.ts.map +1 -0
  87. package/dist/components/now-playing-bars.stories.d.ts +12 -0
  88. package/dist/components/now-playing-bars.stories.d.ts.map +1 -0
  89. package/dist/components/number-morph.d.ts +1 -1
  90. package/dist/components/pencilkit/pencil-canvas.d.ts +1 -1
  91. package/dist/components/pencilkit/pencil-canvas.stories.d.ts +1 -1
  92. package/dist/components/pencilkit/pencil-canvas.stories.d.ts.map +1 -1
  93. package/dist/components/pencilkit/pencil-toolbar.d.ts +13 -8
  94. package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -1
  95. package/dist/components/pencilkit/pencil-toolbar.stories.d.ts +1 -1
  96. package/dist/components/pencilkit/pencil-toolbar.stories.d.ts.map +1 -1
  97. package/dist/components/pencilkit/pencilkit-annotator.d.ts +2 -2
  98. package/dist/components/pencilkit/stroke-path.d.ts +1 -1
  99. package/dist/components/pencilkit/use-pencil-history.d.ts +2 -2
  100. package/dist/components/popover.d.ts +1 -1
  101. package/dist/components/popover.stories.d.ts +1 -1
  102. package/dist/components/progress-ring.d.ts +85 -0
  103. package/dist/components/progress-ring.d.ts.map +1 -0
  104. package/dist/components/progress-ring.stories.d.ts +15 -0
  105. package/dist/components/progress-ring.stories.d.ts.map +1 -0
  106. package/dist/components/progress.d.ts +5 -5
  107. package/dist/components/progress.stories.d.ts +1 -1
  108. package/dist/components/qr-svg.d.ts +31 -4
  109. package/dist/components/qr-svg.d.ts.map +1 -1
  110. package/dist/components/qr-svg.stories.d.ts +9 -2
  111. package/dist/components/qr-svg.stories.d.ts.map +1 -1
  112. package/dist/components/radio-group.d.ts +4 -4
  113. package/dist/components/radio-group.stories.d.ts +1 -1
  114. package/dist/components/scroll-area.d.ts +3 -3
  115. package/dist/components/scroll-area.stories.d.ts +1 -1
  116. package/dist/components/search-field.d.ts +13 -5
  117. package/dist/components/search-field.d.ts.map +1 -1
  118. package/dist/components/search-field.stories.d.ts +3 -1
  119. package/dist/components/search-field.stories.d.ts.map +1 -1
  120. package/dist/components/segmented.d.ts +2 -2
  121. package/dist/components/segmented.d.ts.map +1 -1
  122. package/dist/components/segmented.stories.d.ts +1 -1
  123. package/dist/components/select.d.ts +5 -5
  124. package/dist/components/select.stories.d.ts +1 -1
  125. package/dist/components/separator.d.ts +3 -3
  126. package/dist/components/separator.stories.d.ts +1 -1
  127. package/dist/components/sheet.d.ts +4 -4
  128. package/dist/components/sheet.stories.d.ts +1 -1
  129. package/dist/components/side-drawer.d.ts +7 -2
  130. package/dist/components/side-drawer.d.ts.map +1 -1
  131. package/dist/components/side-drawer.stories.d.ts +1 -1
  132. package/dist/components/sidebar.d.ts +1 -1
  133. package/dist/components/sidebar.d.ts.map +1 -1
  134. package/dist/components/sidebar.stories.d.ts +1 -1
  135. package/dist/components/skeleton.d.ts +23 -5
  136. package/dist/components/skeleton.d.ts.map +1 -1
  137. package/dist/components/skeleton.stories.d.ts +3 -1
  138. package/dist/components/skeleton.stories.d.ts.map +1 -1
  139. package/dist/components/slider.d.ts +23 -4
  140. package/dist/components/slider.d.ts.map +1 -1
  141. package/dist/components/slider.stories.d.ts +4 -1
  142. package/dist/components/slider.stories.d.ts.map +1 -1
  143. package/dist/components/spinner.d.ts +1 -1
  144. package/dist/components/spinner.stories.d.ts +1 -1
  145. package/dist/components/split-view.d.ts +112 -12
  146. package/dist/components/split-view.d.ts.map +1 -1
  147. package/dist/components/split-view.stories.d.ts +35 -1
  148. package/dist/components/split-view.stories.d.ts.map +1 -1
  149. package/dist/components/switch.d.ts +3 -1
  150. package/dist/components/switch.d.ts.map +1 -1
  151. package/dist/components/switch.stories.d.ts +1 -1
  152. package/dist/components/syntax-highlighting.d.ts +14 -11
  153. package/dist/components/syntax-highlighting.d.ts.map +1 -1
  154. package/dist/components/syntax-highlighting.stories.d.ts +1 -1
  155. package/dist/components/tab-bar.d.ts +1 -1
  156. package/dist/components/tab-bar.stories.d.ts +1 -1
  157. package/dist/components/tab-view.d.ts +15 -14
  158. package/dist/components/tab-view.d.ts.map +1 -1
  159. package/dist/components/tab-view.stories.d.ts +18 -2
  160. package/dist/components/tab-view.stories.d.ts.map +1 -1
  161. package/dist/components/tabs.d.ts +5 -5
  162. package/dist/components/tabs.stories.d.ts +1 -1
  163. package/dist/components/text-field.d.ts +1 -1
  164. package/dist/components/text-field.stories.d.ts +1 -1
  165. package/dist/components/text-morph.d.ts +1 -1
  166. package/dist/components/textarea.d.ts +3 -3
  167. package/dist/components/toast.d.ts +112 -0
  168. package/dist/components/toast.d.ts.map +1 -0
  169. package/dist/components/toast.stories.d.ts +13 -0
  170. package/dist/components/toast.stories.d.ts.map +1 -0
  171. package/dist/components/toggle-group.d.ts +3 -3
  172. package/dist/components/toggle-group.stories.d.ts +1 -1
  173. package/dist/components/toggle.d.ts +3 -3
  174. package/dist/components/toggle.stories.d.ts +1 -1
  175. package/dist/components/tooltip.d.ts +2 -2
  176. package/dist/components/tooltip.stories.d.ts +1 -1
  177. package/dist/components/workbench/chat.d.ts +2 -2
  178. package/dist/components/workbench/chat.d.ts.map +1 -1
  179. package/dist/components/workbench/chat.stories.d.ts +1 -2
  180. package/dist/components/workbench/composer-files.d.ts +36 -0
  181. package/dist/components/workbench/composer-files.d.ts.map +1 -0
  182. package/dist/components/workbench/composer.d.ts +115 -32
  183. package/dist/components/workbench/composer.d.ts.map +1 -1
  184. package/dist/components/workbench/composer.stories.d.ts +8 -2
  185. package/dist/components/workbench/composer.stories.d.ts.map +1 -1
  186. package/dist/components/workbench/fixtures.d.ts +2 -2
  187. package/dist/components/workbench/fixtures.d.ts.map +1 -1
  188. package/dist/components/workbench/markdown.d.ts +2 -3
  189. package/dist/components/workbench/markdown.d.ts.map +1 -1
  190. package/dist/components/workbench/message-scroller.stories.d.ts +1 -2
  191. package/dist/components/workbench/message-scroller.stories.d.ts.map +1 -1
  192. package/dist/components/workbench/model-picker.d.ts +3 -3
  193. package/dist/components/workbench/model-picker.d.ts.map +1 -1
  194. package/dist/components/workbench/snap-sheet.d.ts +3 -2
  195. package/dist/components/workbench/snap-sheet.d.ts.map +1 -1
  196. package/dist/components/workbench/snap-sheet.stories.d.ts +1 -2
  197. package/dist/components/workbench/snap-sheet.stories.d.ts.map +1 -1
  198. package/dist/components/workbench/surfaces.d.ts +2 -2
  199. package/dist/components/workbench/surfaces.d.ts.map +1 -1
  200. package/dist/components/workbench/surfaces.stories.d.ts +1 -2
  201. package/dist/components/workbench/terminal.d.ts +10 -2
  202. package/dist/components/workbench/terminal.d.ts.map +1 -1
  203. package/dist/components/workbench/terminal.stories.d.ts +1 -2
  204. package/dist/components/workbench/terminal.stories.d.ts.map +1 -1
  205. package/dist/components/workbench/wb-popover.d.ts +3 -5
  206. package/dist/components/workbench/wb-popover.d.ts.map +1 -1
  207. package/dist/components/workbench/workbench-composer.d.ts +1 -1
  208. package/dist/demos/delivery/delivery-tracking-demo.d.ts +4 -3
  209. package/dist/demos/delivery/delivery-tracking-demo.d.ts.map +1 -1
  210. package/dist/demos/delivery/delivery-tracking-demo.stories.d.ts +2 -3
  211. package/dist/demos/haptics-playground.d.ts +4 -1
  212. package/dist/demos/haptics-playground.d.ts.map +1 -1
  213. package/dist/demos/haptics-playground.stories.d.ts +1 -1
  214. package/dist/demos/map-chat/map-agent.d.ts +2 -2
  215. package/dist/demos/map-chat/map-chat-demo.d.ts +3 -3
  216. package/dist/demos/map-chat/map-chat-demo.d.ts.map +1 -1
  217. package/dist/demos/map-chat/map-chat-demo.stories.d.ts +2 -3
  218. package/dist/demos/map-chat/places.d.ts +2 -2
  219. package/dist/demos/map-chat/tile-map.d.ts +39 -3
  220. package/dist/demos/map-chat/tile-map.d.ts.map +1 -1
  221. package/dist/demos/pencilkit/demo-strokes.d.ts +1 -1
  222. package/dist/demos/pencilkit/pencilkit-demo.d.ts +4 -2
  223. package/dist/demos/pencilkit/pencilkit-demo.d.ts.map +1 -1
  224. package/dist/demos/pencilkit/pencilkit-demo.stories.d.ts +1 -1
  225. package/dist/demos/sidebar-demo.d.ts +1 -4
  226. package/dist/demos/sidebar-demo.d.ts.map +1 -1
  227. package/dist/demos/split-view-demos.d.ts +15 -2
  228. package/dist/demos/split-view-demos.d.ts.map +1 -1
  229. package/dist/index.css +1 -1
  230. package/dist/index.d.ts +46 -57
  231. package/dist/index.d.ts.map +1 -1
  232. package/dist/index.js +15267 -11038
  233. package/dist/lib/chat/chat-shell-context.d.ts +3 -2
  234. package/dist/lib/chat/chat-shell-context.d.ts.map +1 -1
  235. package/dist/lib/chat/persistent-host.d.ts +4 -4
  236. package/dist/lib/container.d.ts +8 -1
  237. package/dist/lib/container.d.ts.map +1 -1
  238. package/dist/lib/haptics.d.ts +7 -5
  239. package/dist/lib/haptics.d.ts.map +1 -1
  240. package/dist/lib/icon-shapes/chat.d.ts +32 -0
  241. package/dist/lib/icon-shapes/chat.d.ts.map +1 -0
  242. package/dist/lib/icon-shapes/pencilkit.d.ts +49 -0
  243. package/dist/lib/icon-shapes/pencilkit.d.ts.map +1 -0
  244. package/dist/lib/icon-shapes/workbench.d.ts +199 -0
  245. package/dist/lib/icon-shapes/workbench.d.ts.map +1 -0
  246. package/dist/lib/icon.d.ts +1649 -7
  247. package/dist/lib/icon.d.ts.map +1 -1
  248. package/dist/lib/icon.stories.d.ts +8 -1
  249. package/dist/lib/icon.stories.d.ts.map +1 -1
  250. package/dist/lib/pencilkit/constants.d.ts +9 -9
  251. package/dist/lib/pencilkit/constants.d.ts.map +1 -1
  252. package/dist/lib/primitives.d.ts +1 -1
  253. package/dist/lib/primitives.d.ts.map +1 -1
  254. package/dist/lib/qr.d.ts +28 -0
  255. package/dist/lib/qr.d.ts.map +1 -0
  256. package/dist/lib/row-label.d.ts +9 -0
  257. package/dist/lib/row-label.d.ts.map +1 -0
  258. package/dist/lib/sheet-drag.d.ts +23 -8
  259. package/dist/lib/sheet-drag.d.ts.map +1 -1
  260. package/dist/lib/syntax.d.ts +27 -10
  261. package/dist/lib/syntax.d.ts.map +1 -1
  262. package/dist/lib/theme.d.ts +39 -8
  263. package/dist/lib/theme.d.ts.map +1 -1
  264. package/dist/lib/utils.d.ts +1 -1
  265. package/dist/lib/workbench/icons.d.ts +6 -16
  266. package/dist/lib/workbench/icons.d.ts.map +1 -1
  267. package/dist/lib/workbench/motion.d.ts +1 -65
  268. package/dist/lib/workbench/motion.d.ts.map +1 -1
  269. package/dist/lib/workbench/press.d.ts +1 -1
  270. package/dist/lib/workbench/press.d.ts.map +1 -1
  271. package/dist/lib/workbench/theme.d.ts +3 -4
  272. package/dist/lib/workbench/theme.d.ts.map +1 -1
  273. package/dist/lib/workbench/util.d.ts +5 -3
  274. package/dist/lib/workbench/util.d.ts.map +1 -1
  275. package/dist/stories/frame.d.ts +1 -1
  276. package/dist/stories/primitive-frame.d.ts +1 -1
  277. package/dist/templates/artifact-chat-container.d.ts +8 -3
  278. package/dist/templates/artifact-chat-container.d.ts.map +1 -1
  279. package/dist/templates/artifact-chat-container.stories.d.ts +2 -3
  280. package/dist/templates/artifact-chat-container.stories.d.ts.map +1 -1
  281. package/dist/templates/chat-shell.d.ts +10 -9
  282. package/dist/templates/chat-shell.d.ts.map +1 -1
  283. package/dist/templates/workbench-shell.d.ts +8 -8
  284. package/dist/templates/workbench-shell.d.ts.map +1 -1
  285. package/dist/templates/workbench-shell.stories.d.ts +1 -2
  286. package/dist/templates/workbench-shell.stories.d.ts.map +1 -1
  287. package/dist/theme.css +325 -0
  288. package/package.json +7 -4
  289. package/dist/components/chat/channel-list.d.ts +0 -35
  290. package/dist/components/chat/channel-list.d.ts.map +0 -1
  291. package/dist/components/chat/channel-list.stories.d.ts +0 -14
  292. package/dist/components/chat/channel-list.stories.d.ts.map +0 -1
  293. package/dist/components/chat/chat-avatar.d.ts +0 -13
  294. package/dist/components/chat/chat-avatar.d.ts.map +0 -1
  295. package/dist/components/chat/chat-avatar.stories.d.ts +0 -10
  296. package/dist/components/chat/chat-avatar.stories.d.ts.map +0 -1
  297. package/dist/components/chat/chat-composer.d.ts +0 -22
  298. package/dist/components/chat/chat-composer.d.ts.map +0 -1
  299. package/dist/components/chat/chat-composer.stories.d.ts +0 -17
  300. package/dist/components/chat/chat-composer.stories.d.ts.map +0 -1
  301. package/dist/components/chat/chat.fixtures.d.ts +0 -29
  302. package/dist/components/chat/chat.fixtures.d.ts.map +0 -1
  303. package/dist/components/chat/member-list.d.ts +0 -21
  304. package/dist/components/chat/member-list.d.ts.map +0 -1
  305. package/dist/components/chat/message-list.d.ts +0 -34
  306. package/dist/components/chat/message-list.d.ts.map +0 -1
  307. package/dist/components/chat/message.d.ts +0 -47
  308. package/dist/components/chat/message.d.ts.map +0 -1
  309. package/dist/components/chat/message.stories.d.ts +0 -31
  310. package/dist/components/chat/message.stories.d.ts.map +0 -1
  311. package/dist/components/chat/rich-text.d.ts +0 -8
  312. package/dist/components/chat/rich-text.d.ts.map +0 -1
  313. package/dist/components/chat/rich-text.stories.d.ts +0 -10
  314. package/dist/components/chat/rich-text.stories.d.ts.map +0 -1
  315. package/dist/components/chat/server-header.d.ts +0 -10
  316. package/dist/components/chat/server-header.d.ts.map +0 -1
  317. package/dist/components/chat/thread-preview.d.ts +0 -25
  318. package/dist/components/chat/thread-preview.d.ts.map +0 -1
  319. package/dist/components/chat/thread-preview.stories.d.ts +0 -19
  320. package/dist/components/chat/thread-preview.stories.d.ts.map +0 -1
  321. package/dist/components/chat/user-panel.d.ts +0 -16
  322. package/dist/components/chat/user-panel.d.ts.map +0 -1
  323. package/dist/components/chat/workspace-rail.d.ts +0 -56
  324. package/dist/components/chat/workspace-rail.d.ts.map +0 -1
  325. package/dist/components/chat/workspace-rail.stories.d.ts +0 -13
  326. package/dist/components/chat/workspace-rail.stories.d.ts.map +0 -1
  327. package/dist/components/pencilkit/pk-icon.d.ts +0 -8
  328. package/dist/components/pencilkit/pk-icon.d.ts.map +0 -1
  329. package/dist/components/pill-button.d.ts +0 -11
  330. package/dist/components/pill-button.d.ts.map +0 -1
  331. package/dist/components/pill-button.stories.d.ts +0 -9
  332. package/dist/components/pill-button.stories.d.ts.map +0 -1
  333. package/dist/components/workbench/thread-sidebar.d.ts +0 -100
  334. package/dist/components/workbench/thread-sidebar.d.ts.map +0 -1
  335. package/dist/components/workbench/thread-sidebar.stories.d.ts +0 -10
  336. package/dist/components/workbench/thread-sidebar.stories.d.ts.map +0 -1
  337. package/dist/lib/chat/chat-icon.d.ts +0 -24
  338. package/dist/lib/chat/chat-icon.d.ts.map +0 -1
  339. package/dist/lib/chat/chat-tokens.d.ts +0 -72
  340. package/dist/lib/chat/chat-tokens.d.ts.map +0 -1
  341. package/dist/lib/chat/chat-users.d.ts +0 -18
  342. package/dist/lib/chat/chat-users.d.ts.map +0 -1
  343. package/dist/lib/chat/kvib.d.ts +0 -3
  344. package/dist/lib/chat/kvib.d.ts.map +0 -1
  345. package/dist/lib/chat/title-ref.d.ts +0 -3
  346. package/dist/lib/chat/title-ref.d.ts.map +0 -1
  347. package/dist/templates/chat-shell.stories.d.ts +0 -23
  348. package/dist/templates/chat-shell.stories.d.ts.map +0 -1
  349. package/dist/tsconfig.lib.tsbuildinfo +0 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @brett_lamy/ui
2
2
 
3
- Touch-first React components inspired by UIKit container patterns. The package includes theme tokens, haptics, lists, navigation, adaptive split views, drawers, sheets, and a reusable jump rail — plus a team-chat scaffold (`ChatShell`, `ArtifactChatContainer`, `FloatingSheet`), an IDE workbench (`WorkbenchShell`, `Composer`, `MessageScroller`, terminal dock, surfaces, `MarkdownView`) and PencilKit drawing (`PencilCanvas`, pickers, `usePencilHistory`, on perfect-freehand).
3
+ Touch-first React components inspired by UIKit container patterns. Colors come from your shadcn theme (CSS variables); the iOS look ships as an optional theme. The package includes haptics, lists, navigation, adaptive split views, drawers, sheets, and a reusable jump rail — plus a team-chat scaffold (`ChatShell`, `ArtifactChatContainer`, `FloatingSheet`), an IDE workbench (`WorkbenchShell`, `Composer`, `MessageScroller`, terminal dock, surfaces, `MarkdownView`) and PencilKit drawing (`PencilCanvas`, pickers, `usePencilHistory`, on perfect-freehand).
4
4
 
5
5
  ## Install
6
6
 
@@ -8,10 +8,14 @@ Touch-first React components inspired by UIKit container patterns. The package i
8
8
  npm i @brett_lamy/ui
9
9
  ```
10
10
 
11
- Import the stylesheet once, then wrap the part of the app that uses BL UI tokens:
11
+ Import the stylesheet once — and, for the iOS palette, the bl-theme (it sets shadcn's CSS variables; leave it out to use your own shadcn theme). `BLProvider` picks light/dark and a tint for a subtree:
12
+
13
+ ```css
14
+ @import '@brett_lamy/ui/styles.css';
15
+ @import '@brett_lamy/ui/theme.css'; /* optional: the iOS palette */
16
+ ```
12
17
 
13
18
  ```tsx
14
- import '@brett_lamy/ui/styles.css';
15
19
  import { BLProvider, NavigationStack } from '@brett_lamy/ui';
16
20
 
17
21
  export function App() {
@@ -23,7 +27,7 @@ export function App() {
23
27
  }
24
28
  ```
25
29
 
26
- React 18 and 19 are supported peer dependencies.
30
+ React 18 and 19 are supported peer dependencies. Upgrading from 1.x: see [Migrating to 2.0](https://blamy.github.io/ui/#/migrating-to-2).
27
31
 
28
32
  ## IndexBar
29
33
 
@@ -61,22 +65,22 @@ If `items` is omitted or empty, the component retains its A-Z form:
61
65
  - Lists and navigation: `List`, `List.Section`, `List.Row`, `IndexBar`, `TabBar`, `TabView`, `EditBar`
62
66
  - Inputs and feedback: `SearchField`, `Switch`, `Segmented`, `Haptics`, `HapticIndicator`, plus shadcn-style primitives (`Button`, `Dialog`, `Sheet`, `Select`, `ComboBox`, `Tabs`, …)
63
67
  - Motion: `springs`, `springCss`, `TextMorph`, `NumberMorph`, `AnimatedHeight`, `ContentSwap`, `Celebrate`
64
- - Foundations: `BLProvider`, `Icon`, `Avatar`, `Spinner`, token helpers
65
- - Team chat: `ChatShell` and its regions (`ChatShellNav`, `ChatShellSidebar`, `ChatShellMain`, `ChatShellHeader`, `ChatShellAside`, `ChatShellPanel`…), `WorkspaceRail` parts, `ServerHeader`, `ChannelList` / `ChannelGroup` / `ChannelItem`, `UserPanel`, `MessageList`, `Message` parts, `ThreadPreview`, `MemberList`, `TypingIndicator`, `ChatComposer`, `RichText`, `ChatUsersProvider`, `FloatingSheet`, `FloatingChat`, `ChatColumn`, `ArtifactChatContainer`
66
- - Workbench: `WorkbenchShell` and its parts (`WorkbenchSidebar`, `WorkbenchMain`, `WorkbenchHeader`, `WorkbenchDock`, `WorkbenchPanel`, `WorkbenchTabBar`, …), thread sidebar parts (`ThreadSidebar`, `ThreadList`, `ThreadGroup`, `ThreadItem`, …), conversation parts (`Conversation`, `UserMessage`, `AssistantMessage`, `WorkLog`, `ToolCall`, …), `TerminalHeader` / `TerminalBody`, surfaces (`SurfacePicker`, `SurfaceBrowser`, `SurfaceFiles`, `SurfaceDiff`, `SurfaceAgents`), `Composer` and its parts, `ModelPicker`, `MessageScroller`, `SnapSheet`, `MarkdownView`
68
+ - Foundations: `BLProvider`, `ThemeScope`, `AppearanceProvider`, `Icon`, `Avatar`, `Spinner`
69
+ - Team chat: `ChatShell` and its regions (`ChatShellNav`, `ChatShellSidebar`, `ChatShellMain`, `ChatShellHeader`, `ChatShellAside`, `ChatShellPanel`…), `FloatingSheet`, `FloatingChat`, `ChatColumn`, `ArtifactChatContainer` (the Discord parts — channels, messages, threads, members — live in the `discord-clone` registry block)
70
+ - Workbench: `WorkbenchShell` and its parts (`WorkbenchSidebar`, `WorkbenchMain`, `WorkbenchHeader`, `WorkbenchDock`, `WorkbenchPanel`, `WorkbenchTabBar`, …), conversation parts (`Conversation`, `UserMessage`, `AssistantMessage`, `WorkLog`, `ToolCall`, …), `TerminalHeader` / `TerminalBody`, surfaces (`SurfacePicker`, `SurfaceBrowser`, `SurfaceFiles`, `SurfaceDiff`, `SurfaceAgents`), `Composer` and its parts, `ModelPicker`, `MessageScroller`, `SnapSheet`, `MarkdownView`
67
71
  - Demo apps: `MapChatDemo`, `DeliveryTrackingDemo`, `SidebarDemo`, `HapticsPlayground` (full apps — Discord, T3 Code, GitHub — are registry blocks)
68
72
 
69
73
  Every component exports its props type from the package root. See the Storybook catalog for interaction and responsive examples.
70
74
 
71
75
  ## Team chat
72
76
 
73
- `ChatShell` is a thin layout root: it measures its own width, owns the compact navigation drawer and applies the chat palette. Everything inside is a part you place yourself — leave out what a layout doesn't need. Parts read shell state (`width`, `compact`, `navOpen`, `setNavOpen`) through `useChatShell()`. A full Discord-style app built from these parts ships as the `discord-clone` registry block.
77
+ `ChatShell` is a thin layout root: it measures its own width, owns the compact navigation drawer and applies the chat palette. Everything inside is a part you place yourself — leave out what a layout doesn't need. Parts read shell state (`width`, `compact`, `navOpen`, `setNavOpen`) through `useChatShell()`. A full Discord-style app ships as the `discord-clone` registry block, with its channel, message, member and composer parts (install it to own and edit them).
74
78
 
75
79
  ```tsx
76
80
  import {
77
81
  ChatShell, ChatShellNav, ChatShellSidebar, ChatShellMain, ChatShellHeader, ChatShellNavTrigger, ChatShellTitle,
78
- ChatShellFooter, WorkspaceRail, WorkspaceRailList, WorkspaceRailItem, ServerHeader, ChannelList, ChannelGroup,
79
- ChannelItem, MessageList, ChatComposer,
82
+ ChatShellFooter, TabView, TabViewBar, TabViewList, TabViewTab, TabViewIndicator, SidebarContent, SidebarSection,
83
+ SidebarItem, Composer, ComposerCard, ComposerInput, ComposerFooter, ComposerSpacer, ComposerSend,
80
84
  } from '@brett_lamy/ui';
81
85
 
82
86
  export function Chat() {
@@ -84,23 +88,33 @@ export function Chat() {
84
88
  return (
85
89
  <ChatShell breakpoint={880}>
86
90
  <ChatShellNav>
87
- <WorkspaceRail defaultSelectedKey="hq">
88
- <WorkspaceRailList><WorkspaceRailItem id="hq" label="H" title="HQ" /></WorkspaceRailList>
89
- </WorkspaceRail>
91
+ <TabView orientation="vertical" defaultSelectedKey="hq" className="contents">
92
+ <TabViewBar variant="workspace">
93
+ <TabViewList aria-label="Workspaces">
94
+ <TabViewTab id="hq" textValue="HQ"><TabViewIndicator variant="pill" />{/* tile */}</TabViewTab>
95
+ </TabViewList>
96
+ </TabViewBar>
97
+ </TabView>
90
98
  <ChatShellSidebar>
91
- <ServerHeader>HQ</ServerHeader>
92
- <ChannelList selectedKey={channel} onSelectionChange={setChannel}>
93
- <ChannelGroup label="Team">
94
- <ChannelItem id="general">general</ChannelItem>
95
- <ChannelItem id="dev" unread mentions={2}>dev</ChannelItem>
96
- </ChannelGroup>
97
- </ChannelList>
99
+ <SidebarContent>
100
+ <SidebarSection title="Team">
101
+ <SidebarItem label="general" active={channel === 'general'} onPress={() => setChannel('general')} />
102
+ <SidebarItem label="dev" badge={2} active={channel === 'dev'} onPress={() => setChannel('dev')} />
103
+ </SidebarSection>
104
+ </SidebarContent>
98
105
  </ChatShellSidebar>
99
106
  </ChatShellNav>
100
107
  <ChatShellMain>
101
108
  <ChatShellHeader><ChatShellNavTrigger /><ChatShellTitle>{channel}</ChatShellTitle></ChatShellHeader>
102
- <MessageList scrollKey={channel}>{/* Message parts */}</MessageList>
103
- <ChatShellFooter><ChatComposer placeholder={'Message #' + channel} onSend={send} /></ChatShellFooter>
109
+ <div role="log" className="min-h-0 flex-1 overflow-y-auto">{/* messages */}</div>
110
+ <ChatShellFooter>
111
+ <Composer onSubmit={send}>
112
+ <ComposerCard>
113
+ <ComposerInput placeholder={'Message #' + channel} />
114
+ <ComposerFooter><ComposerSpacer /><ComposerSend /></ComposerFooter>
115
+ </ComposerCard>
116
+ </Composer>
117
+ </ChatShellFooter>
104
118
  </ChatShellMain>
105
119
  </ChatShell>
106
120
  );
@@ -1,5 +1,5 @@
1
- import type { CSSProperties, ReactNode } from 'react';
2
- import { type EdgeDrawerProps } from './edge-drawer';
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { EdgeDrawerProps } from './edge-drawer';
3
3
  export type AdaptivePaneMode = 'column' | 'drawer' | 'cover' | 'hidden';
4
4
  export interface AdaptivePaneProps extends Omit<EdgeDrawerProps, 'open' | 'width'> {
5
5
  mode: AdaptivePaneMode;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { AdaptivePane } from './adaptive-pane';
3
3
  declare const meta: Meta<typeof AdaptivePane>;
4
4
  export default meta;
@@ -1,5 +1,5 @@
1
- import { type CSSProperties, type ReactNode } from 'react';
2
- import { type SpringName } from '../lib/motion';
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { SpringName } from '../lib/motion';
3
3
  export interface AnimatedHeightProps {
4
4
  children?: ReactNode;
5
5
  /** Spring preset for the height (default `tray`). */
@@ -1,4 +1,4 @@
1
- import type { CSSProperties } from 'react';
1
+ import { CSSProperties } from 'react';
2
2
  export interface AvatarProps {
3
3
  /** Contact-like record: `f` first name, `l` last name. */
4
4
  c: {
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Avatar } from './avatar';
3
3
  declare const meta: Meta<typeof Avatar>;
4
4
  export default meta;
@@ -1,8 +1,8 @@
1
- import type { ComponentProps } from 'react';
2
- import { type VariantProps } from 'class-variance-authority';
1
+ import { ComponentProps } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
3
  export declare const badgeVariants: (props?: ({
4
4
  variant?: "secondary" | "destructive" | "success" | "outline" | "default" | "tinted" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export interface BadgeProps extends ComponentProps<'span'>, VariantProps<typeof badgeVariants> {
7
7
  }
8
8
  export declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Badge } from './badge';
3
3
  declare const meta: Meta<typeof Badge>;
4
4
  export default meta;
@@ -1,9 +1,9 @@
1
- import { type ButtonProps as AriaButtonProps } from 'react-aria-components';
2
- import { type VariantProps } from 'class-variance-authority';
1
+ import { ButtonProps as AriaButtonProps } from 'react-aria-components';
2
+ import { VariantProps } from 'class-variance-authority';
3
3
  export declare const buttonVariants: (props?: ({
4
4
  variant?: "secondary" | "destructive" | "link" | "default" | "ghost" | null | undefined;
5
5
  size?: "default" | "icon" | "sm" | "lg" | "pill" | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export interface ButtonProps extends Omit<AriaButtonProps, 'render'>, VariantProps<typeof buttonVariants> {
8
8
  /** Tooltip — react-aria's Button drops `title`, so it is rendered onto the <button> here. */
9
9
  title?: string;
@@ -1,9 +1,11 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Button } from './button';
3
3
  declare const meta: Meta<typeof Button>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Button>;
6
6
  export declare const Variants: Story;
7
+ /** `size="pill"` — the full-width iOS action pill (was `PillButton`; its soft tone is `variant="secondary"`). */
8
+ export declare const Pill: Story;
7
9
  /** Each press counts once and ticks once — the haptics check taps this in iOS-Safari mode. */
8
10
  export declare const PressCounter: Story;
9
11
  //# sourceMappingURL=button.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../src/components/button.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAI7B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAC;AAEF,8FAA8F;AAC9F,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAC"}
1
+ {"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../src/components/button.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAI7B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAC;AAEF,iHAAiH;AACjH,eAAO,MAAM,IAAI,EAAE,KAOlB,CAAC;AAEF,8FAA8F;AAC9F,eAAO,MAAM,YAAY,EAAE,KAU1B,CAAC"}
@@ -1,8 +1,8 @@
1
- import type { ComponentProps } from 'react';
2
- import { type VariantProps } from 'class-variance-authority';
1
+ import { ComponentProps } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
3
  export declare const cardVariants: (props?: ({
4
4
  variant?: "outline" | "default" | "elevated" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export interface CardProps extends ComponentProps<'div'>, VariantProps<typeof cardVariants> {
7
7
  }
8
8
  export declare function Card({ className, variant, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Card } from './card';
3
3
  declare const meta: Meta<typeof Card>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import { type CSSProperties } from 'react';
1
+ import { CSSProperties } from 'react';
2
2
  export interface CelebrateProps {
3
3
  /** Change this (e.g. a counter) to fire a burst. Falsy values never fire. */
4
4
  fire?: number | string | boolean | null;
@@ -1,4 +1,4 @@
1
- import type { ComponentProps } from 'react';
1
+ import { ComponentProps } from 'react';
2
2
  export type ChatColumnProps = ComponentProps<'aside'>;
3
3
  export declare function ChatColumn({ className, ...props }: ChatColumnProps): import("react/jsx-runtime").JSX.Element;
4
4
  /** The scrolling region; takes the column's remaining height. */
@@ -1,8 +1,9 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import '../../styles.css';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
3
2
  import { ChatColumn } from './chat-column';
4
3
  declare const meta: Meta<typeof ChatColumn>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof ChatColumn>;
6
+ /** A ChatColumn on a plain page: the transcript on the dark chat palette, the Workbench Composer in the `glass`
7
+ scope (as ArtifactChatContainer docks it). */
7
8
  export declare const Default: Story;
8
9
  //# sourceMappingURL=chat-column.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-column.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat/chat-column.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAA4C,MAAM,eAAe,CAAC;AAqBrF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAGjC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAmBrB,CAAC"}
1
+ {"version":3,"file":"chat-column.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat/chat-column.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAA4C,MAAM,eAAe,CAAC;AAqBrF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAGjC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC;iDACiD;AACjD,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { type CSSProperties, type ReactNode, type RefObject } from 'react';
2
- import type { FloatingSheetAppearance, FloatingSheetFabPosition, FloatingSheetTone } from './floating-sheet';
1
+ import { CSSProperties, ReactNode, RefObject } from 'react';
2
+ import { FloatingSheetAppearance, FloatingSheetFabPosition, FloatingSheetTone } from './floating-sheet';
3
3
  export type FloatingChatFabPosition = FloatingSheetFabPosition;
4
4
  export interface FloatingChatContextValue {
5
5
  /** Whether the full transcript is revealed. */
@@ -54,6 +54,25 @@ export interface FloatingChatProps {
54
54
  className?: string;
55
55
  style?: CSSProperties;
56
56
  }
57
+ /** The layer. --ck-sheet-surface / --ck-sheet-line are the RGB triplets the glass mixes its alphas into (dark glass
58
+ unless the tone is light). ck-floating-chat keeps the host's palette for the transcript (styles.css). */
59
+ export declare const floatingChatVariants: (props?: ({
60
+ tone?: "light" | "auto" | "dark" | null | undefined;
61
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
62
+ /** The transcript's bump on top of the composer: glass that firms up as it grows, or an opaque card. */
63
+ export declare const floatingChatBumpVariants: (props?: ({
64
+ appearance?: "sheet" | "glass" | null | undefined;
65
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
66
+ /** The FAB the chat folds into: glazed or opaque, resting at one of eight spots. */
67
+ export declare const floatingChatFabVariants: (props?: ({
68
+ appearance?: "sheet" | "glass" | null | undefined;
69
+ position?: "top-left" | "top-center" | "top-right" | "center-left" | "center-right" | "bottom-left" | "bottom-center" | "bottom-right" | null | undefined;
70
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
71
+ /** The embedded Workbench Composer's theme scope: the bl-theme's `glass` (dark unless the chat's tone is light). */
72
+ export declare function glassScopeProps(tone: FloatingSheetTone): {
73
+ 'data-theme-scope': "glass";
74
+ className: string;
75
+ };
57
76
  /**
58
77
  * The floating chat: the host's Workbench `Composer` floats over any positioned host, and the transcript
59
78
  * hangs off a draggable top bump of that composer (added through a `ComposerOutlet`, so the composer itself
@@ -1 +1 @@
1
- {"version":3,"file":"floating-chat.d.ts","sourceRoot":"","sources":["../../../src/components/chat/floating-chat.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAG7G,MAAM,MAAM,uBAAuB,GAAG,wBAAwB,CAAC;AAE/D,MAAM,WAAW,wBAAwB;IACvC,+CAA+C;IAC/C,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,+FAA+F;IAC/F,QAAQ,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,qDAAqD;IACrD,SAAS,EAAE,O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AyB,EACzB,KAAK,EACL,SAAS,EAAE,mBAAmB,EAC9B,iBAAiB,EACjB,YAAmB,EACnB,SAAS,EACT,WAA6B,EAC7B,MAAW,EACX,IAAQ,EACR,UAAoB,EACpB,IAAI,EAAE,QAAQ,EACd,KAAmB,EACnB,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE,iBAAiB,2CAgOnB;yBApPe,YAAY"}
1
+ {"version":3,"file":"floating-chat.d.ts","sourceRoot":"","sources":["../../../src/components/chat/floating-chat.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAUf,OAAO,EAAkB,KAAK,uBAAuB,EAAE,KAAK,wBAAwB,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAGvI,MAAM,MAAM,uBAAuB,GAAG,wBAAwB,CAAC;AAE/D,MAAM,WAAW,wBAAwB;IACvC,+CAA+C;IAC/C,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,+FAA+F;IAC/F,QAAQ,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,qDAAqD;IACrD,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C;AAID,wBAAgB,eAAe,IAAI,wBAAwB,CAM1D;AAED,MAAM,WAAW,iBAAiB;IAChC,mDAAmD;IACnD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,kEAAkE;IAClE,OAAO,CAAC,EAAE,OAAO,CA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,MAAW,EACX,IAAQ,EACR,UAAoB,EACpB,IAAI,EAAE,QAAQ,EACd,KAAmB,EACnB,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE,iBAAiB,2CA6OnB;yBAjQe,YAAY"}
@@ -1,6 +1,5 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import '../../styles.css';
3
- import { type FloatingChatFabPosition } from './floating-chat';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { FloatingChatFabPosition } from './floating-chat';
4
3
  interface Args {
5
4
  width: number;
6
5
  height: number;
@@ -1 +1 @@
1
- {"version":3,"file":"floating-chat.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat/floating-chat.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAgB,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAqB7E,UAAU,IAAI;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,uBAAuB,CAAC;IACrC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACjC;AA8CD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,IAAI,CAmBpB,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;AAE5B,eAAO,MAAM,iBAAiB,EAAE,KAAU,CAAC;AAC3C,eAAO,MAAM,OAAO,EAAE,KAA+B,CAAC;AACtD,eAAO,MAAM,OAAO,EAAE,KAAmC,CAAC"}
1
+ {"version":3,"file":"floating-chat.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat/floating-chat.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAgB,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAqB7E,UAAU,IAAI;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,uBAAuB,CAAC;IACrC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACjC;AAkDD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,IAAI,CAmBpB,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;AAE5B,eAAO,MAAM,iBAAiB,EAAE,KAAU,CAAC;AAC3C,eAAO,MAAM,OAAO,EAAE,KAA+B,CAAC;AACtD,eAAO,MAAM,OAAO,EAAE,KAAmC,CAAC"}
@@ -1,8 +1,9 @@
1
- import { type CSSProperties, type ReactNode, type RefObject } from 'react';
1
+ import { CSSProperties, ReactNode, RefObject } from 'react';
2
2
  export type FloatingSheetFabPosition = 'top-left' | 'top-center' | 'top-right' | 'center-left' | 'center-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
3
3
  /** Translucent glass over dark content, or an opaque card like a system sheet. */
4
4
  export type FloatingSheetAppearance = 'glass' | 'sheet';
5
- /** Colour scheme of the surface; `auto` inherits the host's `--bl-*` tokens. */
5
+ /** Colour scheme of the surface: `dark` / `light` put the bl-theme's `sheet` scope on it in that appearance (the
6
+ host's background and accent stay); `auto` inherits the host's theme. */
6
7
  export type FloatingSheetTone = 'auto' | 'dark' | 'light';
7
8
  export interface FloatingSheetContextValue {
8
9
  /** Whether the sheet has grown to its full height. */
@@ -17,6 +18,25 @@ export interface FloatingSheetContextValue {
17
18
  setMinimized: (minimized: boolean) => void;
18
19
  }
19
20
  export declare function useFloatingSheet(): FloatingSheetContextValue;
21
+ /** The surface: translucent glass (a highlight gradient over the tone's surface colour) or an opaque system sheet
22
+ (card colour, no glass highlights, a soft shadow that deepens as it grows) — resting, hidden by scrolling, or
23
+ folded into its FAB at one of eight spots (bottom-center keeps 20px from the host edge even when docked). */
24
+ export declare const floatingSheetSurfaceVariants: (props?: ({
25
+ appearance?: "sheet" | "glass" | null | undefined;
26
+ placement?: "hidden" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right" | "bottom-left" | "bottom-center" | "bottom-right" | "resting" | null | undefined;
27
+ hidden?: boolean | null | undefined;
28
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
29
+ /** The layer. --ck-sheet-surface / --ck-sheet-line are the RGB triplets the glass mixes its alphas into: dark glass
30
+ unless the tone is light. ck-floating-sheet keys the body / peek-mask rules in styles.css. */
31
+ export declare const floatingSheetVariants: (props?: ({
32
+ tone?: "light" | "auto" | "dark" | null | undefined;
33
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
34
+ /** The theme-scope props for a floating chat surface's tone: the bl-theme's `sheet` scope in that appearance, or
35
+ nothing for `auto` (the host's theme carries through). */
36
+ export declare function sheetToneProps(tone: FloatingSheetTone): {
37
+ 'data-theme-scope'?: 'sheet';
38
+ className?: string;
39
+ };
20
40
  export interface FloatingSheetProps {
21
41
  /** Controlled state for the fully grown sheet. */
22
42
  open?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"floating-sheet.d.ts","sourceRoot":"","sources":["../../../src/components/chat/floating-sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AASf,MAAM,MAAM,wBAAwB,GAChC,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,cAAc,GACd,aAAa,GACb,eAAe,GACf,cAAc,CAAC;AAEnB,kFAAkF;AAClF,MAAM,MAAM,uBAAuB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CAAC;IACvB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC1C,iDAAiD;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,2CAA2C;IAC3C,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;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EAAE,cAAc,EACpB,WAAmB,EACnB,YAAY,EACZ,IAAI,EAAE,aAAiB,EACvB,MAAW,EACX,MAAW,EACX,UAAoB,EACpB,IAAI,EAAE,QAAQ,EACd,SAAmB,EACnB,OAAO,EACP,WAAkB,EAClB,WAA6B,EAC7B,OAAO,EACP,YAAmB,EACnB,SAAS,EACT,KAAY,EACZ,KAAe,EACf,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE,kBAAkB,2CAmSpB;yBAxTe,aAAa"}
1
+ {"version":3,"file":"floating-sheet.d.ts","sourceRoot":"","sources":["../../../src/components/chat/floating-sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAUf,MAAM,MAAM,wBAAwB,GAChC,UAAU,GACV,YAAY,GACZ,WAAW,GACX,aAAa,GACb,cAAc,GACd,aAAa,GACb,eAAe,GACf,cAAc,CAAC;AAEnB,kFAAkF;AAClF,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,OAAO,CAAC;AACxD;4EAC4E;AAC5E,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE1D,MAAM,WAAW,yBAAyB;IACxC,sDAAsD;IACtD,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,O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AC;IACpB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC1C,iDAAiD;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,2CAA2C;IAC3C,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;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EAAE,cAAc,EACpB,WAAmB,EACnB,YAAY,EACZ,IAAI,EAAE,aAAiB,EACvB,MAAW,EACX,MAAW,EACX,UAAoB,EACpB,IAAI,EAAE,QAAQ,EACd,SAAmB,EACnB,OAAO,EACP,WAAkB,EAClB,WAA6B,EAC7B,OAAO,EACP,YAAmB,EACnB,SAAS,EACT,KAAY,EACZ,KAAe,EACf,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE,kBAAkB,2CAwRpB;yBA7Se,aAAa"}
@@ -1,6 +1,5 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import { type FloatingSheetAppearance, type FloatingSheetTone } from './floating-sheet';
3
- import '../../styles.css';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { FloatingSheetAppearance, FloatingSheetTone } from './floating-sheet';
4
3
  interface Args {
5
4
  width: number;
6
5
  height: number;
@@ -1 +1 @@
1
- {"version":3,"file":"floating-sheet.stories.d.ts","sourceRoot":"","sources":["../../../src/components/chat/floating-sheet.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAiB,KAAK,uBAAuB,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAGvG,OAAO,kBAA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,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;CACtB;AAqED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,IAAI,CA4BpB,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;AAE5B,eAAO,MAAM,KAAK,EAAE,KAAU,CAAC;AAC/B,eAAO,MAAM,YAAY,EAAE,KAA+B,CAAC;AAC3D,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AACF,eAAO,MAAM,IAAI,EAAE,KAAuC,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { CSSProperties, ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode } from 'react';
2
2
  export interface ProgressStep {
3
3
  id: string;
4
4
  /** Shown under the icon when `labels` is on; always used as the accessible name. */
@@ -20,7 +20,7 @@ export interface ProgressStepperProps {
20
20
  }
21
21
  export declare const progressStepperVariants: (props?: ({
22
22
  variant?: "line" | "bars" | null | undefined;
23
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
23
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
24
24
  /**
25
25
  * A row of milestones for a multi-step process (an order, a checkout, a deploy). Each step
26
26
  * exposes `data-state="done|active|todo"` so hosts can restyle any of the three, and the
@@ -1,8 +1,8 @@
1
- import { type CheckboxProps as AriaCheckboxProps, type CheckboxGroupProps as AriaCheckboxGroupProps } from 'react-aria-components';
2
- import { type VariantProps } from 'class-variance-authority';
1
+ import { CheckboxProps as AriaCheckboxProps, CheckboxGroupProps as AriaCheckboxGroupProps } from 'react-aria-components';
2
+ import { VariantProps } from 'class-variance-authority';
3
3
  export declare const checkboxVariants: (props?: ({
4
4
  shape?: "circle" | "square" | null | undefined;
5
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export interface CheckboxProps extends AriaCheckboxProps, VariantProps<typeof checkboxVariants> {
7
7
  }
8
8
  export declare function Checkbox({ className, shape, children, onChange, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Checkbox } from './checkbox';
3
3
  declare const meta: Meta<typeof Checkbox>;
4
4
  export default meta;
@@ -1,6 +1,6 @@
1
- import { type ComboBoxProps as AriaComboBoxProps, type InputProps as AriaInputProps } from 'react-aria-components';
2
- import { ListBoxSection, type ListBoxItemProps, type ListBoxProps } from './list-box';
3
- import { type PopoverProps } from './popover';
1
+ import { ComboBoxProps as AriaComboBoxProps, InputProps as AriaInputProps } from 'react-aria-components';
2
+ import { ListBoxSection, ListBoxItemProps, ListBoxProps } from './list-box';
3
+ import { PopoverProps } from './popover';
4
4
  export interface ComboBoxProps<T extends object> extends AriaComboBoxProps<T> {
5
5
  }
6
6
  export declare function ComboBox<T extends object>({ className, onSelectionChange, ...props }: ComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { ComboBox } from './combobox';
3
3
  declare const meta: Meta<typeof ComboBox>;
4
4
  export default meta;