@brett_lamy/ui 1.0.0 → 1.1.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 (260) hide show
  1. package/dist/components/adaptive-pane.d.ts +2 -2
  2. package/dist/components/adaptive-pane.stories.d.ts +1 -1
  3. package/dist/components/animated-height.d.ts +2 -2
  4. package/dist/components/avatar.d.ts +1 -1
  5. package/dist/components/avatar.stories.d.ts +1 -1
  6. package/dist/components/badge.d.ts +3 -3
  7. package/dist/components/badge.stories.d.ts +1 -1
  8. package/dist/components/button.d.ts +3 -3
  9. package/dist/components/button.stories.d.ts +1 -1
  10. package/dist/components/card.d.ts +3 -3
  11. package/dist/components/card.stories.d.ts +1 -1
  12. package/dist/components/celebrate.d.ts +1 -1
  13. package/dist/components/chat/channel-list.d.ts +1 -1
  14. package/dist/components/chat/channel-list.stories.d.ts +1 -2
  15. package/dist/components/chat/chat-avatar.d.ts +2 -2
  16. package/dist/components/chat/chat-avatar.stories.d.ts +1 -2
  17. package/dist/components/chat/chat-column.d.ts +1 -1
  18. package/dist/components/chat/chat-column.stories.d.ts +1 -2
  19. package/dist/components/chat/chat-composer.d.ts +1 -1
  20. package/dist/components/chat/chat-composer.stories.d.ts +1 -2
  21. package/dist/components/chat/chat.fixtures.d.ts +2 -2
  22. package/dist/components/chat/floating-chat.d.ts +2 -2
  23. package/dist/components/chat/floating-chat.stories.d.ts +2 -3
  24. package/dist/components/chat/floating-sheet.d.ts +1 -1
  25. package/dist/components/chat/floating-sheet.stories.d.ts +2 -3
  26. package/dist/components/chat/member-list.d.ts +3 -3
  27. package/dist/components/chat/message-list.d.ts +3 -3
  28. package/dist/components/chat/message.d.ts +4 -4
  29. package/dist/components/chat/message.stories.d.ts +1 -2
  30. package/dist/components/chat/progress-stepper.d.ts +2 -2
  31. package/dist/components/chat/rich-text.d.ts +1 -1
  32. package/dist/components/chat/rich-text.stories.d.ts +1 -2
  33. package/dist/components/chat/server-header.d.ts +1 -1
  34. package/dist/components/chat/thread-preview.d.ts +2 -2
  35. package/dist/components/chat/thread-preview.stories.d.ts +1 -2
  36. package/dist/components/chat/user-panel.d.ts +1 -1
  37. package/dist/components/chat/workspace-rail.d.ts +1 -1
  38. package/dist/components/chat/workspace-rail.stories.d.ts +1 -2
  39. package/dist/components/checkbox.d.ts +3 -3
  40. package/dist/components/checkbox.stories.d.ts +1 -1
  41. package/dist/components/combobox.d.ts +3 -3
  42. package/dist/components/combobox.stories.d.ts +1 -1
  43. package/dist/components/credenza.d.ts +1 -1
  44. package/dist/components/credenza.d.ts.map +1 -1
  45. package/dist/components/credenza.stories.d.ts +1 -1
  46. package/dist/components/dialog.d.ts +5 -5
  47. package/dist/components/dialog.stories.d.ts +1 -1
  48. package/dist/components/disclosure.d.ts +4 -4
  49. package/dist/components/disclosure.stories.d.ts +1 -1
  50. package/dist/components/dropdown-menu.d.ts +5 -5
  51. package/dist/components/dropdown-menu.stories.d.ts +1 -1
  52. package/dist/components/edge-drawer.d.ts +1 -1
  53. package/dist/components/edge-drawer.stories.d.ts +1 -1
  54. package/dist/components/edit-bar.d.ts +1 -1
  55. package/dist/components/edit-bar.stories.d.ts +1 -1
  56. package/dist/components/form.d.ts +2 -2
  57. package/dist/components/form.stories.d.ts +1 -1
  58. package/dist/components/haptic-indicator.d.ts +1 -1
  59. package/dist/components/haptic-indicator.stories.d.ts +1 -1
  60. package/dist/components/icon-swap.d.ts +1 -1
  61. package/dist/components/index-bar.d.ts +6 -3
  62. package/dist/components/index-bar.d.ts.map +1 -1
  63. package/dist/components/index-bar.stories.d.ts +1 -1
  64. package/dist/components/input.d.ts +3 -3
  65. package/dist/components/input.stories.d.ts +1 -1
  66. package/dist/components/kbd.d.ts +1 -1
  67. package/dist/components/kbd.stories.d.ts +1 -1
  68. package/dist/components/label.d.ts +3 -3
  69. package/dist/components/label.stories.d.ts +1 -1
  70. package/dist/components/list-box.d.ts +5 -5
  71. package/dist/components/list-box.stories.d.ts +1 -1
  72. package/dist/components/list-row.stories.d.ts +10 -1
  73. package/dist/components/list-row.stories.d.ts.map +1 -1
  74. package/dist/components/list.d.ts +34 -3
  75. package/dist/components/list.d.ts.map +1 -1
  76. package/dist/components/list.stories.d.ts +6 -2
  77. package/dist/components/list.stories.d.ts.map +1 -1
  78. package/dist/components/markdown-editor.d.ts +39 -5
  79. package/dist/components/markdown-editor.d.ts.map +1 -1
  80. package/dist/components/markdown-editor.stories.d.ts +4 -1
  81. package/dist/components/markdown-editor.stories.d.ts.map +1 -1
  82. package/dist/components/measure-h.d.ts +1 -1
  83. package/dist/components/morph.d.ts +61 -0
  84. package/dist/components/morph.d.ts.map +1 -0
  85. package/dist/components/morph.stories.d.ts +14 -0
  86. package/dist/components/morph.stories.d.ts.map +1 -0
  87. package/dist/components/motion.stories.d.ts +1 -1
  88. package/dist/components/navigation-stack.d.ts +9 -3
  89. package/dist/components/navigation-stack.d.ts.map +1 -1
  90. package/dist/components/navigation-stack.stories.d.ts +12 -1
  91. package/dist/components/navigation-stack.stories.d.ts.map +1 -1
  92. package/dist/components/now-playing-bars.d.ts +21 -0
  93. package/dist/components/now-playing-bars.d.ts.map +1 -0
  94. package/dist/components/now-playing-bars.stories.d.ts +12 -0
  95. package/dist/components/now-playing-bars.stories.d.ts.map +1 -0
  96. package/dist/components/number-morph.d.ts +1 -1
  97. package/dist/components/pencilkit/pencil-canvas.d.ts +1 -1
  98. package/dist/components/pencilkit/pencil-canvas.stories.d.ts +1 -1
  99. package/dist/components/pencilkit/pencil-toolbar.d.ts +7 -4
  100. package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -1
  101. package/dist/components/pencilkit/pencil-toolbar.stories.d.ts +1 -1
  102. package/dist/components/pencilkit/pencilkit-annotator.d.ts +2 -2
  103. package/dist/components/pencilkit/pk-icon.d.ts +1 -1
  104. package/dist/components/pencilkit/stroke-path.d.ts +1 -1
  105. package/dist/components/pencilkit/use-pencil-history.d.ts +2 -2
  106. package/dist/components/pill-button.d.ts +1 -1
  107. package/dist/components/pill-button.stories.d.ts +1 -1
  108. package/dist/components/popover.d.ts +1 -1
  109. package/dist/components/popover.stories.d.ts +1 -1
  110. package/dist/components/progress-ring.d.ts +66 -0
  111. package/dist/components/progress-ring.d.ts.map +1 -0
  112. package/dist/components/progress-ring.stories.d.ts +15 -0
  113. package/dist/components/progress-ring.stories.d.ts.map +1 -0
  114. package/dist/components/progress.d.ts +5 -5
  115. package/dist/components/progress.stories.d.ts +1 -1
  116. package/dist/components/qr-svg.d.ts +31 -4
  117. package/dist/components/qr-svg.d.ts.map +1 -1
  118. package/dist/components/qr-svg.stories.d.ts +9 -2
  119. package/dist/components/qr-svg.stories.d.ts.map +1 -1
  120. package/dist/components/radio-group.d.ts +4 -4
  121. package/dist/components/radio-group.stories.d.ts +1 -1
  122. package/dist/components/scroll-area.d.ts +3 -3
  123. package/dist/components/scroll-area.stories.d.ts +1 -1
  124. package/dist/components/search-field.d.ts +13 -5
  125. package/dist/components/search-field.d.ts.map +1 -1
  126. package/dist/components/search-field.stories.d.ts +3 -1
  127. package/dist/components/search-field.stories.d.ts.map +1 -1
  128. package/dist/components/segmented.d.ts +1 -1
  129. package/dist/components/segmented.stories.d.ts +1 -1
  130. package/dist/components/select.d.ts +5 -5
  131. package/dist/components/select.stories.d.ts +1 -1
  132. package/dist/components/separator.d.ts +3 -3
  133. package/dist/components/separator.stories.d.ts +1 -1
  134. package/dist/components/sheet.d.ts +4 -4
  135. package/dist/components/sheet.stories.d.ts +1 -1
  136. package/dist/components/side-drawer.d.ts +1 -1
  137. package/dist/components/side-drawer.stories.d.ts +1 -1
  138. package/dist/components/sidebar.d.ts +1 -1
  139. package/dist/components/sidebar.stories.d.ts +1 -1
  140. package/dist/components/skeleton.d.ts +23 -5
  141. package/dist/components/skeleton.d.ts.map +1 -1
  142. package/dist/components/skeleton.stories.d.ts +3 -1
  143. package/dist/components/skeleton.stories.d.ts.map +1 -1
  144. package/dist/components/slider.d.ts +16 -3
  145. package/dist/components/slider.d.ts.map +1 -1
  146. package/dist/components/slider.stories.d.ts +4 -1
  147. package/dist/components/slider.stories.d.ts.map +1 -1
  148. package/dist/components/spinner.d.ts +1 -1
  149. package/dist/components/spinner.stories.d.ts +1 -1
  150. package/dist/components/split-view.d.ts +81 -10
  151. package/dist/components/split-view.d.ts.map +1 -1
  152. package/dist/components/split-view.stories.d.ts +28 -1
  153. package/dist/components/split-view.stories.d.ts.map +1 -1
  154. package/dist/components/switch.d.ts +3 -1
  155. package/dist/components/switch.d.ts.map +1 -1
  156. package/dist/components/switch.stories.d.ts +1 -1
  157. package/dist/components/syntax-highlighting.d.ts +14 -11
  158. package/dist/components/syntax-highlighting.d.ts.map +1 -1
  159. package/dist/components/syntax-highlighting.stories.d.ts +1 -1
  160. package/dist/components/tab-bar.d.ts +1 -1
  161. package/dist/components/tab-bar.stories.d.ts +1 -1
  162. package/dist/components/tab-view.d.ts +8 -8
  163. package/dist/components/tab-view.d.ts.map +1 -1
  164. package/dist/components/tab-view.stories.d.ts +9 -2
  165. package/dist/components/tab-view.stories.d.ts.map +1 -1
  166. package/dist/components/tabs.d.ts +5 -5
  167. package/dist/components/tabs.stories.d.ts +1 -1
  168. package/dist/components/text-field.d.ts +1 -1
  169. package/dist/components/text-field.stories.d.ts +1 -1
  170. package/dist/components/text-morph.d.ts +1 -1
  171. package/dist/components/textarea.d.ts +3 -3
  172. package/dist/components/toast.d.ts +104 -0
  173. package/dist/components/toast.d.ts.map +1 -0
  174. package/dist/components/toast.stories.d.ts +13 -0
  175. package/dist/components/toast.stories.d.ts.map +1 -0
  176. package/dist/components/toggle-group.d.ts +3 -3
  177. package/dist/components/toggle-group.stories.d.ts +1 -1
  178. package/dist/components/toggle.d.ts +3 -3
  179. package/dist/components/toggle.stories.d.ts +1 -1
  180. package/dist/components/tooltip.d.ts +2 -2
  181. package/dist/components/tooltip.stories.d.ts +1 -1
  182. package/dist/components/workbench/chat.d.ts +1 -1
  183. package/dist/components/workbench/chat.stories.d.ts +1 -2
  184. package/dist/components/workbench/composer-files.d.ts +36 -0
  185. package/dist/components/workbench/composer-files.d.ts.map +1 -0
  186. package/dist/components/workbench/composer.d.ts +111 -28
  187. package/dist/components/workbench/composer.d.ts.map +1 -1
  188. package/dist/components/workbench/composer.stories.d.ts +8 -2
  189. package/dist/components/workbench/composer.stories.d.ts.map +1 -1
  190. package/dist/components/workbench/fixtures.d.ts +2 -2
  191. package/dist/components/workbench/markdown.d.ts +2 -3
  192. package/dist/components/workbench/message-scroller.stories.d.ts +1 -2
  193. package/dist/components/workbench/model-picker.d.ts +3 -3
  194. package/dist/components/workbench/snap-sheet.stories.d.ts +1 -2
  195. package/dist/components/workbench/surfaces.d.ts +1 -1
  196. package/dist/components/workbench/surfaces.stories.d.ts +1 -2
  197. package/dist/components/workbench/terminal.d.ts +1 -1
  198. package/dist/components/workbench/terminal.stories.d.ts +1 -2
  199. package/dist/components/workbench/thread-sidebar.d.ts +1 -1
  200. package/dist/components/workbench/thread-sidebar.stories.d.ts +1 -2
  201. package/dist/components/workbench/wb-popover.d.ts +1 -1
  202. package/dist/components/workbench/workbench-composer.d.ts +1 -1
  203. package/dist/demos/delivery/delivery-tracking-demo.d.ts +4 -3
  204. package/dist/demos/delivery/delivery-tracking-demo.d.ts.map +1 -1
  205. package/dist/demos/delivery/delivery-tracking-demo.stories.d.ts +2 -3
  206. package/dist/demos/haptics-playground.d.ts +4 -1
  207. package/dist/demos/haptics-playground.d.ts.map +1 -1
  208. package/dist/demos/haptics-playground.stories.d.ts +1 -1
  209. package/dist/demos/map-chat/map-agent.d.ts +2 -2
  210. package/dist/demos/map-chat/map-chat-demo.d.ts +3 -3
  211. package/dist/demos/map-chat/map-chat-demo.d.ts.map +1 -1
  212. package/dist/demos/map-chat/map-chat-demo.stories.d.ts +2 -3
  213. package/dist/demos/map-chat/places.d.ts +2 -2
  214. package/dist/demos/map-chat/tile-map.d.ts +3 -3
  215. package/dist/demos/pencilkit/demo-strokes.d.ts +1 -1
  216. package/dist/demos/pencilkit/pencilkit-demo.d.ts +2 -2
  217. package/dist/demos/pencilkit/pencilkit-demo.stories.d.ts +1 -1
  218. package/dist/demos/sidebar-demo.d.ts +2 -2
  219. package/dist/demos/split-view-demos.d.ts +15 -2
  220. package/dist/demos/split-view-demos.d.ts.map +1 -1
  221. package/dist/index.css +1 -1
  222. package/dist/index.d.ts +26 -17
  223. package/dist/index.d.ts.map +1 -1
  224. package/dist/index.js +9348 -5277
  225. package/dist/lib/chat/chat-icon.d.ts +1 -1
  226. package/dist/lib/chat/chat-shell-context.d.ts +1 -1
  227. package/dist/lib/chat/chat-tokens.d.ts +2 -2
  228. package/dist/lib/chat/chat-users.d.ts +1 -1
  229. package/dist/lib/chat/persistent-host.d.ts +4 -4
  230. package/dist/lib/container.d.ts +8 -1
  231. package/dist/lib/container.d.ts.map +1 -1
  232. package/dist/lib/haptics.d.ts +7 -5
  233. package/dist/lib/haptics.d.ts.map +1 -1
  234. package/dist/lib/icon.d.ts +1298 -7
  235. package/dist/lib/icon.d.ts.map +1 -1
  236. package/dist/lib/icon.stories.d.ts +8 -1
  237. package/dist/lib/icon.stories.d.ts.map +1 -1
  238. package/dist/lib/pencilkit/constants.d.ts +1 -1
  239. package/dist/lib/qr.d.ts +28 -0
  240. package/dist/lib/qr.d.ts.map +1 -0
  241. package/dist/lib/sheet-drag.d.ts +1 -1
  242. package/dist/lib/syntax.d.ts +27 -10
  243. package/dist/lib/syntax.d.ts.map +1 -1
  244. package/dist/lib/theme.d.ts +4 -4
  245. package/dist/lib/utils.d.ts +1 -1
  246. package/dist/lib/workbench/icons.d.ts +1 -1
  247. package/dist/lib/workbench/motion.d.ts +2 -2
  248. package/dist/lib/workbench/press.d.ts +1 -1
  249. package/dist/lib/workbench/press.d.ts.map +1 -1
  250. package/dist/lib/workbench/theme.d.ts +1 -1
  251. package/dist/stories/frame.d.ts +1 -1
  252. package/dist/stories/primitive-frame.d.ts +1 -1
  253. package/dist/templates/artifact-chat-container.d.ts +2 -2
  254. package/dist/templates/artifact-chat-container.stories.d.ts +2 -3
  255. package/dist/templates/chat-shell.d.ts +5 -5
  256. package/dist/templates/chat-shell.stories.d.ts +1 -2
  257. package/dist/templates/workbench-shell.d.ts +2 -2
  258. package/dist/templates/workbench-shell.stories.d.ts +1 -2
  259. package/package.json +3 -4
  260. package/dist/tsconfig.lib.tsbuildinfo +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/lib/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,KAAK,SAAS,GAAG;IAAE,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAGpF,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAuC1C,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,EAAE,CAAC;AAEvC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,QAAQ,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,SAAS,2CAWnE"}
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/lib/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAGlD;;;;;;;;;;GAUG;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
3
3
  declare const meta: Meta<typeof Icon>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Icon>;
6
+ /** Every canonical icon, alphabetical. */
6
7
  export declare const Gallery: Story;
7
8
  export declare const Sizes: Story;
9
+ /** Filter by name or keyword (try "mute", "search", "lyrics"); click an icon to copy its JSX. */
10
+ export declare const Search: Story;
11
+ /** Each weight maps to a stroke width; filled shapes stay the same. */
12
+ export declare const Weights: Story;
13
+ /** The set grouped by use. Hover an icon for its name. */
14
+ export declare const Categories: Story;
8
15
  //# sourceMappingURL=icon.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon.stories.d.ts","sourceRoot":"","sources":["../../src/lib/icon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAM,IAAI,EAAE,MAAM,QAAQ,CAAC;AAGlC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAI3B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC"}
1
+ {"version":3,"file":"icon.stories.d.ts","sourceRoot":"","sources":["../../src/lib/icon.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAA4D,IAAI,EAAsC,MAAM,QAAQ,CAAC;AAG5H,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAI3B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAMnC,0CAA0C;AAC1C,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAkCF,iGAAiG;AACjG,eAAO,MAAM,MAAM,EAAE,KAA2C,CAAC;AAIjE,uEAAuE;AACvE,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC;AAOF,0DAA0D;AAC1D,eAAO,MAAM,UAAU,EAAE,KAkBxB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { StrokeOptions } from 'perfect-freehand';
1
+ import { StrokeOptions } from 'perfect-freehand';
2
2
  export declare const PFONT = "-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,'Helvetica Neue',sans-serif";
3
3
  export declare const PMONO = "ui-monospace,'SF Mono',Menlo,Consolas,monospace";
4
4
  export type PencilDrawTool = 'pen' | 'marker' | 'pencil';
@@ -0,0 +1,28 @@
1
+ export type QRLevel = 'L' | 'M' | 'Q' | 'H';
2
+ export interface QROptions {
3
+ /** Error-correction level (default 'M'). L ~7%, M ~15%, Q ~25%, H ~30% recoverable. */
4
+ level?: QRLevel;
5
+ /** Smallest version (1–40) to consider (default 1). */
6
+ minVersion?: number;
7
+ /** Largest version (1–40) to consider (default 40). */
8
+ maxVersion?: number;
9
+ /** Force a mask pattern 0–7 instead of choosing the lowest penalty (default: auto). */
10
+ mask?: number;
11
+ }
12
+ export interface QRCode {
13
+ /** Modules per side (17 + 4 * version). */
14
+ size: number;
15
+ version: number;
16
+ level: QRLevel;
17
+ mask: number;
18
+ /** `modules[y][x]` is true for a dark module. */
19
+ modules: boolean[][];
20
+ }
21
+ /** Number of 8-bit data codewords (excluding ECC) for this version and level. */
22
+ export declare function numDataCodewords(ver: number, level: QRLevel): number;
23
+ /**
24
+ * Encode `text` (UTF-8, byte mode) as a QR Code, picking the smallest version that fits at the
25
+ * requested error-correction level and the mask with the lowest penalty score.
26
+ */
27
+ export declare function encodeQR(text: string, opts?: QROptions): QRCode;
28
+ //# sourceMappingURL=qr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qr.d.ts","sourceRoot":"","sources":["../../src/lib/qr.ts"],"names":[],"mappings":"AAuBA,MAAM,MAAM,OAAO,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE5C,MAAM,WAAW,SAAS;IACxB,uFAAuF;IACvF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uFAAuF;IACvF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,MAAM;IACrB,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC;CACtB;AAwCD,iFAAiF;AACjF,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,CAGpE;AA4PD;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,GAAE,SAAc,GAAG,MAAM,CAwDnE"}
@@ -1,4 +1,4 @@
1
- import { type PointerEvent as ReactPointerEvent } from 'react';
1
+ import { PointerEvent as ReactPointerEvent } from 'react';
2
2
  /** Pointer travel below which a handle drag counts as a tap. */
3
3
  export declare const SHEET_TAP_SLOP = 4;
4
4
  /** Extra downward travel (past the peek) that folds the surface into its FAB. */
@@ -10,21 +10,38 @@ export interface SyntaxToken {
10
10
  type: SyntaxTokenType;
11
11
  text: string;
12
12
  }
13
- /** What produced the tokens: `gpu` (gpu-lexer on WebGPU), `fallback` (no WebGPU), `pending` (plain text shown while
14
- the GPU works), `none` (plain-text language or highlighting disabled). */
13
+ /** What produced the tokens: `gpu` (gpu-lexer on WebGPU), `fallback` (no hardware WebGPU, or forced), `pending`
14
+ (plain text shown while the adapter probe or the GPU works), `none` (plain-text language or highlighting
15
+ disabled). */
15
16
  export type SyntaxHighlighter = 'gpu' | 'fallback' | 'pending' | 'none';
16
17
  export interface SyntaxResult {
17
18
  spans: SyntaxSpan[];
18
19
  highlighter: 'gpu' | 'fallback';
19
20
  }
20
- /** False when WebGPU can't run here: no `navigator.gpu` (Firefox/Safari without it, insecure contexts, SSR) or
21
- a previous attempt found no adapter. `true` means "worth trying" until the first parse settles it. */
22
- export declare function webgpuSupported(): boolean;
23
- /** A finished result for this source, if one is cached: the GPU's, or the fallback's once WebGPU is known to be
24
- unavailable. */
25
- export declare function peekSyntax(code: string): SyntaxResult | undefined;
26
- /** Lex `code`: gpu-lexer when WebGPU is available, else the small fallback. Cached and de-duplicated. */
27
- export declare function lexSyntax(code: string): Promise<SyntaxResult>;
21
+ /** Which lexer to use. `auto` (default): gpu-lexer on a hardware WebGPU adapter, the fallback at once when the
22
+ only adapter is a software one (SwiftShader, llvmpipe, …), there is none, or the probe times out. `gpu`:
23
+ gpu-lexer whenever WebGPU has any adapter, software included. `fallback`: always the fallback. */
24
+ export type SyntaxEngine = 'auto' | 'gpu' | 'fallback';
25
+ /** What the one-time adapter probe found: a `hardware` adapter, only a `software`/fallback one (or the probe timed
26
+ out), or `none` (no `navigator.gpu`, no adapter, insecure context, SSR). */
27
+ export type WebGPUProbe = 'hardware' | 'software' | 'none';
28
+ /** Probe WebGPU once per page (cached): is there an adapter, and is it real hardware? Settles within ~2.5 s; a probe
29
+ that takes longer counts as `software` (so `auto` falls back), and a late answer still updates later lexes. */
30
+ export declare function probeWebGPU(): Promise<WebGPUProbe>;
31
+ /** Whether `engine` (default `auto`) should use gpu-lexer here. `false` when there is no `navigator.gpu`
32
+ (Firefox/Safari without it, insecure contexts, SSR), the probe found no adapter, or a lex found WebGPU
33
+ unavailable — and, for `auto`, when the probe found only a software adapter. `true` means "worth trying" while
34
+ the probe is still pending. */
35
+ export declare function webgpuSupported(engine?: SyntaxEngine): boolean;
36
+ /** A finished result for this source, if one is cached: the GPU's, or the fallback's once `engine` is known not to
37
+ use the GPU here. */
38
+ export declare function peekSyntax(code: string, engine?: SyntaxEngine): SyntaxResult | undefined;
39
+ /** Re-cut keyword/type/function/constant spans so operators read as `operator` and punctuation and whitespace as
40
+ plain (dropped); comment, string, number and operator spans pass through. Output is sorted and non-overlapping. */
41
+ export declare function normalizeSpans(code: string, spans: readonly SyntaxSpan[]): SyntaxSpan[];
42
+ /** Lex `code` with `engine` (default `auto`): gpu-lexer when the engine and the one-time adapter probe allow it,
43
+ else the small fallback. Cached and de-duplicated. */
44
+ export declare function lexSyntax(code: string, engine?: SyntaxEngine): Promise<SyntaxResult>;
28
45
  /** The fallback result, synchronously (cached). */
29
46
  export declare function fallbackResult(code: string): SyntaxResult;
30
47
  export declare function fallbackSpans(code: string): SyntaxSpan[];
@@ -1 +1 @@
1
- {"version":3,"file":"syntax.d.ts","sourceRoot":"","sources":["../../src/lib/syntax.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,eAAe,GACvB,OAAO,GACP,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,UAAU,GACV,UAAU,GACV,UAAU,CAAC;AAEf,2FAA2F;AAC3F,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,oCAAoC;AACpC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;6EAC6E;AAC7E,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AAExE,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,WAAW,EAAE,KAAK,GAAG,UAAU,CAAC;CACjC;AAOD;yGACyG;AACzG,wBAAgB,e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are const chromeStore: {
3
3
  hidden: boolean;
4
4
  subs: Set<(v: boolean) => void>;
5
5
  set(v: boolean): void;
6
6
  };
7
7
  export declare function useChromeHidden(): boolean;
8
- export declare const BLSafeCtx: import("react").Context<number>;
9
- export declare const BLStickyCtx: import("react").Context<number>;
8
+ export declare const BLSafeCtx: import('react').Context<number>;
9
+ export declare const BLStickyCtx: import('react').Context<number>;
10
10
  export declare const chromeOffset: (top: number, hidden: boolean) => number;
11
11
  export type Appearance = 'light' | 'dark';
12
- export declare const AppearanceContext: import("react").Context<Appearance | undefined>;
12
+ export declare const AppearanceContext: import('react').Context<Appearance | undefined>;
13
13
  export declare function AppearanceProvider({ value, children }: {
14
14
  value: Appearance | undefined;
15
15
  children?: ReactNode;
@@ -1,4 +1,4 @@
1
- import { type ClassValue } from 'clsx';
1
+ import { ClassValue } from 'clsx';
2
2
  export declare function cn(...inputs: ClassValue[]): string;
3
3
  export declare const FONT = "-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',Roboto,'Helvetica Neue',sans-serif";
4
4
  /** @deprecated Legacy iOS curve. New motion uses the spring tokens (lib/motion.ts `springs`, CSS `--ease-spring-*`). */
@@ -14,7 +14,7 @@ export declare function WIcon({ name, size, sw, className, style }: WIconProps):
14
14
  /** Square icon button: transparent until hovered (`wb-hl`), filled while `active`. */
15
15
  export declare const iconBtnVariants: (props?: ({
16
16
  active?: boolean | null | undefined;
17
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
18
18
  export interface IconBtnProps {
19
19
  name: WIconName;
20
20
  label: string;
@@ -1,6 +1,6 @@
1
+ import { PointerEvent as ReactPointerEvent } from 'react';
2
+ import { springs, SpringName } from '../motion';
1
3
  import * as React from 'react';
2
- import { type PointerEvent as ReactPointerEvent } from 'react';
3
- import { springs, type SpringName } from '../motion';
4
4
  export { springs, type SpringName };
5
5
  /** Whether the user asked for reduced motion (checked when an animation starts, so it follows the setting live). */
6
6
  export declare function prefersReducedMotion(): boolean;
@@ -1,4 +1,4 @@
1
- import { type ButtonProps as AriaButtonProps, type ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
1
+ import { ButtonProps as AriaButtonProps, ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
2
2
  export interface ButtonProps extends Omit<AriaButtonProps, 'render'> {
3
3
  title?: string;
4
4
  }
@@ -1 +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"}
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;AAO/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"}
@@ -1,5 +1,5 @@
1
+ import { Appearance } from '../theme';
1
2
  import * as React from 'react';
2
- import { type Appearance } from '../theme';
3
3
  export declare function workbenchVars(tint?: string, appearance?: Appearance): React.CSSProperties;
4
4
  /** Root classes for an appearance: `wb-dark`/`wb-light` key the package CSS, plus the matching color-scheme. */
5
5
  export declare const workbenchAppearanceClass: (appearance: Appearance) => "wb-light scheme-light" | "wb-dark scheme-dark";
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  export declare function Phone({ children, w, h, dark, tint, safeTop }: {
3
3
  children?: ReactNode;
4
4
  w?: number;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  /** Story-only: the shadcn primitives shown on an iOS grouped screen (Phone) or a padded card (Pad). */
3
3
  export declare function Screen({ children, dark, h, className, title }: {
4
4
  children?: ReactNode;
@@ -1,5 +1,5 @@
1
- import { type CSSProperties, type ReactNode } from 'react';
2
- import { type FloatingChatFabPosition, type FloatingChatProps } from '../components/chat/floating-chat';
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { FloatingChatFabPosition, FloatingChatProps } from '../components/chat/floating-chat';
3
3
  export type ArtifactChatLayout = 'split' | 'floating';
4
4
  export interface ArtifactChatContainerContextValue {
5
5
  width: number;
@@ -1,6 +1,5 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import '../styles.css';
3
- import { type ArtifactChatFabPosition } from './artifact-chat-container';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { ArtifactChatFabPosition } from './artifact-chat-container';
4
3
  interface DemoProps {
5
4
  width: number;
6
5
  height: number;
@@ -1,8 +1,8 @@
1
- import { type ComponentProps, type CSSProperties, type ReactNode } from 'react';
1
+ import { ComponentProps, CSSProperties, ReactNode } from 'react';
2
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';
3
+ import { VariantProps } from 'class-variance-authority';
4
+ import { Appearance } from '../lib/theme';
5
+ import { useChatShell, ChatShellContextValue } from '../lib/chat/chat-shell-context';
6
6
  export { useChatShell, type ChatShellContextValue };
7
7
  export interface ChatShellProps extends Omit<ComponentProps<'div'>, 'ref'> {
8
8
  /** container width below which the navigation moves into a drawer */
@@ -46,7 +46,7 @@ export declare function ChatShellDescription({ className, ...props }: ComponentP
46
46
  export declare function ChatShellHeaderActions({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
47
47
  export declare const chatShellHeaderActionVariants: (props?: ({
48
48
  variant?: "outline" | "icon" | null | undefined;
49
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
49
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
50
50
  export interface ChatShellHeaderActionProps extends ComponentProps<typeof Button>, VariantProps<typeof chatShellHeaderActionVariants> {
51
51
  /** marks a toggle as on (tints the icon variant) */
52
52
  isActive?: boolean;
@@ -1,5 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import '../styles.css';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
3
2
  interface FrameArgs {
4
3
  width: number;
5
4
  height: number;
@@ -1,6 +1,6 @@
1
+ import { WIconName } from '../lib/workbench/icons';
2
+ import { Appearance } from '../lib/theme';
1
3
  import * as React from 'react';
2
- import { type WIconName } from '../lib/workbench/icons';
3
- import type { Appearance } from '../lib/theme';
4
4
  /** Width class thresholds, measured on the shell's own box. */
5
5
  export declare function workbenchWidthClass(w: number): WorkbenchWidthClass;
6
6
  export type WorkbenchWidthClass = 'regular' | 'medium' | 'compact';
@@ -1,5 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react-vite';
2
- import '../styles.css';
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
3
2
  declare const meta: Meta;
4
3
  export default meta;
5
4
  type Story = StoryObj;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brett_lamy/ui",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -19,8 +19,8 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@brett_lamy/docstream": "1.0.0",
23
- "@brett_lamy/docstream-editor": "1.0.1",
22
+ "@brett_lamy/docstream": "1.5.0",
23
+ "@brett_lamy/docstream-editor": "1.5.0",
24
24
  "@pierre/diffs": "^1.3.6",
25
25
  "@pierre/trees": "1.0.0-beta.6",
26
26
  "@tiptap/core": "3.30.5",
@@ -37,7 +37,6 @@
37
37
  "clsx": "^2",
38
38
  "framer-motion": "^12 || ^13",
39
39
  "gpu-lexer": "0.0.3",
40
- "ios-vibrator-pro-max": "3.0.3",
41
40
  "perfect-freehand": "^1.2.2",
42
41
  "react-aria": "^3.51.0",
43
42
  "react-aria-components": "^1",