@pstdio/ui 0.0.3 → 0.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 (755) hide show
  1. package/dist/EquationComponent-DeDYHvqY.js +62 -0
  2. package/dist/EquationComponent-DeDYHvqY.js.map +1 -0
  3. package/dist/chat-ui.js +1366 -0
  4. package/dist/chat-ui.js.map +1 -0
  5. package/dist/components/button.stories.d.ts +18 -0
  6. package/dist/components/chat-ui/components/ai-conversation.d.ts +1161 -0
  7. package/dist/components/chat-ui/index.d.ts +13 -0
  8. package/{storybook-static → dist}/components/chat-ui/tool-rendering/build-timeline.d.ts +2 -2
  9. package/dist/components/chat-ui/utils/get-icon.d.ts +34 -0
  10. package/{storybook-static → dist}/components/column-file-browser.d.ts +1 -2
  11. package/dist/components/column-file-browser.stories.d.ts +15 -0
  12. package/dist/components/data-table/build-columns.d.ts +3 -0
  13. package/dist/components/data-table/data-table.d.ts +2 -0
  14. package/{storybook-static/components → dist/components/data-table}/data-table.stories.d.ts +1 -1
  15. package/dist/components/data-table/helpers.d.ts +10 -0
  16. package/dist/components/data-table/index.d.ts +3 -0
  17. package/dist/components/data-table/pagination-footer.d.ts +5 -0
  18. package/dist/components/data-table/selection-toolbar.d.ts +9 -0
  19. package/{storybook-static/components/data-table.d.ts → dist/components/data-table/types.d.ts} +6 -4
  20. package/dist/components/documentation/docs-changelog.d.ts +20 -0
  21. package/dist/components/documentation/docs-changelog.stories.d.ts +15 -0
  22. package/dist/components/documentation/docs-outline.d.ts +13 -0
  23. package/dist/components/documentation/docs-outline.stories.d.ts +16 -0
  24. package/dist/components/documentation/docs-pagination.d.ts +10 -0
  25. package/dist/components/documentation/docs-pagination.stories.d.ts +14 -0
  26. package/dist/components/documentation/docs-sidebar.d.ts +14 -0
  27. package/dist/components/documentation/docs-sidebar.stories.d.ts +7 -0
  28. package/{storybook-static → dist}/components/file-selector.d.ts +1 -2
  29. package/dist/components/file-selector.stories.d.ts +17 -0
  30. package/dist/components/folder-picker-dialog.d.ts +25 -0
  31. package/{storybook-static/components/style-guide.stories.d.ts → dist/components/folder-picker-dialog.stories.d.ts} +2 -5
  32. package/{storybook-static → dist}/components/info-card.d.ts +1 -2
  33. package/dist/components/info-card.stories.d.ts +41 -0
  34. package/{storybook-static → dist}/components/menu-item.d.ts +1 -1
  35. package/dist/components/menu-item.stories.d.ts +72 -0
  36. package/dist/components/number-input.d.ts +8 -0
  37. package/{storybook-static → dist}/components/panel-menu.d.ts +2 -0
  38. package/{storybook-static → dist}/components/panel-menu.stories.d.ts +1 -0
  39. package/{storybook-static → dist}/components/param-editor.stories.d.ts +1 -0
  40. package/{storybook-static → dist}/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.d.ts +1 -0
  41. package/{storybook-static → dist}/components/rich-text/markdown-editor/markdown-editor.d.ts +1 -0
  42. package/{storybook-static → dist}/components/rich-text/markdown-editor/markdown-editor.stories.d.ts +1 -0
  43. package/dist/components/rich-text/utils/inferResourceType.d.ts +1 -0
  44. package/dist/components/session-indicator.d.ts +14 -0
  45. package/dist/components/session-indicator.stories.d.ts +11 -0
  46. package/dist/components/slider.stories.d.ts +15 -0
  47. package/dist/components/style-guide.stories.d.ts +28 -0
  48. package/dist/components/switch.d.ts +15 -0
  49. package/dist/components/switch.stories.d.ts +16 -0
  50. package/dist/components/tickets/ticket-board.d.ts +33 -0
  51. package/dist/components/tickets/ticket-board.stories.d.ts +5 -0
  52. package/dist/components/tickets/ticket-card.d.ts +25 -0
  53. package/dist/components/tickets/ticket-card.stories.d.ts +17 -0
  54. package/dist/components/tickets/ticket-list.d.ts +23 -0
  55. package/dist/components/tickets/ticket-list.stories.d.ts +10 -0
  56. package/dist/components/toaster.d.ts +3 -0
  57. package/dist/empty-state-Bu1ocnPz.js +70 -0
  58. package/dist/empty-state-Bu1ocnPz.js.map +1 -0
  59. package/dist/index.d.ts +43 -0
  60. package/dist/index.js +1278 -0
  61. package/dist/index.js.map +1 -0
  62. package/dist/rich-message-CNDoACE7.js +1402 -0
  63. package/dist/rich-message-CNDoACE7.js.map +1 -0
  64. package/dist/rich-text.js +490 -0
  65. package/dist/rich-text.js.map +1 -0
  66. package/dist/style.css +1 -0
  67. package/{storybook-static → dist}/theme/primitives/colors.d.ts +12 -22
  68. package/dist/theme/recipes/menu.d.ts +1 -0
  69. package/{storybook-static → dist}/theme/tokens/borders.d.ts +6 -6
  70. package/{storybook-static → dist}/theme/tokens/colors.d.ts +180 -0
  71. package/dist/theme-C7CIuIPZ.js +2067 -0
  72. package/dist/theme-C7CIuIPZ.js.map +1 -0
  73. package/{src/theme/index.ts → dist/theme.js} +5 -2
  74. package/dist/theme.js.map +1 -0
  75. package/dist/tooltip-Gm7PLwZG.js +51 -0
  76. package/dist/tooltip-Gm7PLwZG.js.map +1 -0
  77. package/{storybook-static/theme/applyThemePreference.d.ts → dist/utils/apply-theme-preference.d.ts} +1 -1
  78. package/{storybook-static/theme → dist/utils}/theme-preference.d.ts +3 -3
  79. package/package.json +9 -8
  80. package/.storybook/main.ts +0 -28
  81. package/.storybook/preview.tsx +0 -28
  82. package/.storybook/vitest.setup.ts +0 -6
  83. package/src/components/alert.tsx +0 -27
  84. package/src/components/breadcrumb.stories.tsx +0 -40
  85. package/src/components/breadcrumb.tsx +0 -67
  86. package/src/components/button.stories.tsx +0 -151
  87. package/src/components/chat-ui/agent-types.ts +0 -231
  88. package/src/components/chat-ui/components/ai-conversation.stories.tsx +0 -49
  89. package/src/components/chat-ui/components/ai-conversation.tsx +0 -68
  90. package/src/components/chat-ui/components/ai-message.stories.tsx +0 -60
  91. package/src/components/chat-ui/components/ai-message.tsx +0 -103
  92. package/src/components/chat-ui/components/ai-response.stories.tsx +0 -48
  93. package/src/components/chat-ui/components/ai-response.tsx +0 -19
  94. package/src/components/chat-ui/components/approval-prompt.tsx +0 -51
  95. package/src/components/chat-ui/components/attachment-list.stories.tsx +0 -24
  96. package/src/components/chat-ui/components/attachment-list.tsx +0 -76
  97. package/src/components/chat-ui/components/auto-scroll.tsx +0 -42
  98. package/src/components/chat-ui/components/chat-input.stories.tsx +0 -114
  99. package/src/components/chat-ui/components/chat-input.tsx +0 -142
  100. package/src/components/chat-ui/components/chat-panel.stories.tsx +0 -396
  101. package/src/components/chat-ui/components/chat-panel.tsx +0 -97
  102. package/src/components/chat-ui/components/message-parts-renderer.stories.tsx +0 -59
  103. package/src/components/chat-ui/components/message-parts-renderer.tsx +0 -133
  104. package/src/components/chat-ui/components/message-types.ts +0 -40
  105. package/src/components/chat-ui/components/model-swap-separator.stories.tsx +0 -27
  106. package/src/components/chat-ui/components/model-swap-separator.tsx +0 -20
  107. package/src/components/chat-ui/components/send-button.tsx +0 -56
  108. package/src/components/chat-ui/components/timeline.tsx +0 -414
  109. package/src/components/chat-ui/components/tool-invocation-timeline.stories.tsx +0 -32
  110. package/src/components/chat-ui/components/tool-invocation-timeline.tsx +0 -16
  111. package/src/components/chat-ui/index.ts +0 -15
  112. package/src/components/chat-ui/mocks/full-conversation-normalized.json +0 -3557
  113. package/src/components/chat-ui/tool-rendering/build-timeline.ts +0 -127
  114. package/src/components/chat-ui/tool-rendering/default-renderers.ts +0 -420
  115. package/src/components/chat-ui/tool-rendering/index.ts +0 -3
  116. package/src/components/chat-ui/tool-rendering/types.ts +0 -19
  117. package/src/components/chat-ui/utils/diff.ts +0 -228
  118. package/src/components/chat-ui/utils/editor-state.ts +0 -5
  119. package/src/components/chat-ui/utils/get-icon.ts +0 -81
  120. package/src/components/code-editor.tsx +0 -147
  121. package/src/components/column-file-browser.stories.tsx +0 -217
  122. package/src/components/column-file-browser.tsx +0 -380
  123. package/src/components/content-placeholder.tsx +0 -21
  124. package/src/components/data-table/build-columns.tsx +0 -78
  125. package/src/components/data-table/data-table.css +0 -51
  126. package/src/components/data-table/data-table.stories.tsx +0 -209
  127. package/src/components/data-table/data-table.tsx +0 -232
  128. package/src/components/data-table/helpers.tsx +0 -69
  129. package/src/components/data-table/index.ts +0 -3
  130. package/src/components/data-table/pagination-footer.tsx +0 -58
  131. package/src/components/data-table/selection-toolbar.tsx +0 -26
  132. package/src/components/data-table/types.ts +0 -21
  133. package/src/components/delete-confirmation-modal.stories.tsx +0 -46
  134. package/src/components/delete-confirmation-modal.tsx +0 -56
  135. package/src/components/diff-bubble.stories.tsx +0 -70
  136. package/src/components/diff-bubble.tsx +0 -70
  137. package/src/components/diff-card.tsx +0 -139
  138. package/src/components/diff-drawer.stories.tsx +0 -106
  139. package/src/components/diff-drawer.tsx +0 -59
  140. package/src/components/diff-editor.tsx +0 -55
  141. package/src/components/drawer-inline.stories.tsx +0 -124
  142. package/src/components/drawer-inline.tsx +0 -90
  143. package/src/components/empty-state.stories.tsx +0 -65
  144. package/src/components/empty-state.tsx +0 -28
  145. package/src/components/error-boundary.tsx +0 -80
  146. package/src/components/file-selector.stories.tsx +0 -166
  147. package/src/components/file-selector.tsx +0 -192
  148. package/src/components/file-tree-helpers.ts +0 -28
  149. package/src/components/horizontal-menu-stack.tsx +0 -15
  150. package/src/components/info-card.stories.tsx +0 -120
  151. package/src/components/info-card.tsx +0 -60
  152. package/src/components/item-section.stories.tsx +0 -57
  153. package/src/components/item-section.tsx +0 -57
  154. package/src/components/layout.stories.tsx +0 -341
  155. package/src/components/layout.tsx +0 -67
  156. package/src/components/menu-item.stories.tsx +0 -162
  157. package/src/components/menu-item.tsx +0 -207
  158. package/src/components/number-input.tsx +0 -21
  159. package/src/components/open-source-notices-screen.stories.tsx +0 -69
  160. package/src/components/open-source-notices-screen.tsx +0 -154
  161. package/src/components/panel-menu.stories.tsx +0 -44
  162. package/src/components/panel-menu.tsx +0 -27
  163. package/src/components/param-editor-color-input.tsx +0 -98
  164. package/src/components/param-editor-date-input.tsx +0 -106
  165. package/src/components/param-editor-horizontal-text-input.tsx +0 -130
  166. package/src/components/param-editor-horizontal.stories.tsx +0 -545
  167. package/src/components/param-editor-horizontal.tsx +0 -137
  168. package/src/components/param-editor-input-group.tsx +0 -145
  169. package/src/components/param-editor-number-input.tsx +0 -145
  170. package/src/components/param-editor-selection-input.tsx +0 -181
  171. package/src/components/param-editor-text-input.tsx +0 -113
  172. package/src/components/param-editor.stories.tsx +0 -986
  173. package/src/components/param-editor.tsx +0 -142
  174. package/src/components/param-editor.types.ts +0 -95
  175. package/src/components/properties.stories.tsx +0 -108
  176. package/src/components/properties.tsx +0 -73
  177. package/src/components/pstdio-logo.tsx +0 -26
  178. package/src/components/resource-badge.stories.tsx +0 -26
  179. package/src/components/resource-badge.tsx +0 -173
  180. package/src/components/rich-text/collaborative-markdown-editor/awareness-cursors.tsx +0 -45
  181. package/src/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.tsx +0 -230
  182. package/src/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.tsx +0 -131
  183. package/src/components/rich-text/index.ts +0 -14
  184. package/src/components/rich-text/markdown-editor/markdown-editor.stories.tsx +0 -147
  185. package/src/components/rich-text/markdown-editor/markdown-editor.tsx +0 -112
  186. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.tsx +0 -100
  187. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.ts +0 -32
  188. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.ts +0 -2
  189. package/src/components/rich-text/prompt-input/commands.ts +0 -44
  190. package/src/components/rich-text/prompt-input/events.ts +0 -21
  191. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.tsx +0 -8
  192. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.ts +0 -49
  193. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.ts +0 -30
  194. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.tsx +0 -127
  195. package/src/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.tsx +0 -32
  196. package/src/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.tsx +0 -30
  197. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.ts +0 -15
  198. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.tsx +0 -88
  199. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.tsx +0 -90
  200. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.tsx +0 -50
  201. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.ts +0 -3
  202. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.tsx +0 -50
  203. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.ts +0 -45
  204. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.ts +0 -20
  205. package/src/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.tsx +0 -50
  206. package/src/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.tsx +0 -107
  207. package/src/components/rich-text/prompt-input/plugins/keyboard-shortcuts.ts +0 -13
  208. package/src/components/rich-text/prompt-input/prompt-input.stories.tsx +0 -87
  209. package/src/components/rich-text/prompt-input/prompt-input.tsx +0 -106
  210. package/src/components/rich-text/prompt-input/theme/prompt-input-theme.css +0 -3
  211. package/src/components/rich-text/prompt-input/theme/prompt-input-theme.ts +0 -11
  212. package/src/components/rich-text/prompt-input/utils.ts +0 -158
  213. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.tsx +0 -100
  214. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.ts +0 -32
  215. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.ts +0 -2
  216. package/src/components/rich-text/rich-message/rich-message.stories.tsx +0 -146
  217. package/src/components/rich-text/rich-message/rich-message.tsx +0 -118
  218. package/src/components/rich-text/shared/components/content-editable.tsx +0 -28
  219. package/src/components/rich-text/shared/components/default-rich-text-components.tsx +0 -99
  220. package/src/components/rich-text/shared/editor-config.ts +0 -38
  221. package/src/components/rich-text/shared/nodes/DataTableNode.stories.tsx +0 -52
  222. package/src/components/rich-text/shared/nodes/DataTableNode.tsx +0 -73
  223. package/src/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.tsx +0 -22
  224. package/src/components/rich-text/shared/plugins/CodePlugin/CodeNode.tsx +0 -57
  225. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.tsx +0 -46
  226. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationNode.tsx +0 -161
  227. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.css +0 -16
  228. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.tsx +0 -45
  229. package/src/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.tsx +0 -40
  230. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.css +0 -26
  231. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.tsx +0 -414
  232. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.ts +0 -1
  233. package/src/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.ts +0 -52
  234. package/src/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.ts +0 -16
  235. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.css +0 -163
  236. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.tsx +0 -355
  237. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.tsx +0 -6
  238. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.ts +0 -17
  239. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.ts +0 -39
  240. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.ts +0 -23
  241. package/src/components/rich-text/shared/plugins/StateUpdatePlugin.tsx +0 -21
  242. package/src/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.tsx +0 -224
  243. package/src/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.css +0 -3
  244. package/src/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.tsx +0 -315
  245. package/src/components/rich-text/shared/plugins/ToggleEditablePlugin.tsx +0 -12
  246. package/src/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.tsx +0 -20
  247. package/src/components/rich-text/shared/transformers/markdown-transformers.ts +0 -123
  248. package/src/components/rich-text/shared/types/rich-text-components.ts +0 -17
  249. package/src/components/rich-text/theme/report-theme.tsx +0 -81
  250. package/src/components/rich-text/theme/rich-text-theme.css +0 -773
  251. package/src/components/rich-text/theme/rich-text-theme.tsx +0 -81
  252. package/src/components/rich-text/types.ts +0 -9
  253. package/src/components/rich-text/utils/inferResourceType.ts +0 -17
  254. package/src/components/rich-text/utils/markdown.ts +0 -12
  255. package/src/components/rich-text/utils/mediaType.ts +0 -31
  256. package/src/components/session-indicator.stories.tsx +0 -46
  257. package/src/components/session-indicator.tsx +0 -40
  258. package/src/components/slider.stories.tsx +0 -38
  259. package/src/components/slider.tsx +0 -20
  260. package/src/components/style-guide-data.ts +0 -374
  261. package/src/components/style-guide.stories.tsx +0 -212
  262. package/src/components/style-guide.tsx +0 -305
  263. package/src/components/ticket-board.stories.tsx +0 -109
  264. package/src/components/ticket-board.tsx +0 -167
  265. package/src/components/ticket-card.stories.tsx +0 -133
  266. package/src/components/ticket-card.tsx +0 -126
  267. package/src/components/toaster.stories.tsx +0 -79
  268. package/src/components/toaster.tsx +0 -26
  269. package/src/components/tooltip.tsx +0 -43
  270. package/src/index.ts +0 -16
  271. package/src/theme/global.ts +0 -49
  272. package/src/theme/primitives/colors.ts +0 -209
  273. package/src/theme/primitives/fonts.ts +0 -33
  274. package/src/theme/primitives/sizes.ts +0 -49
  275. package/src/theme/recipes/alert.ts +0 -12
  276. package/src/theme/recipes/button.ts +0 -124
  277. package/src/theme/recipes/dialog.ts +0 -11
  278. package/src/theme/recipes/divider.ts +0 -7
  279. package/src/theme/recipes/drawer.ts +0 -16
  280. package/src/theme/recipes/editable.ts +0 -42
  281. package/src/theme/recipes/form.ts +0 -11
  282. package/src/theme/recipes/input.ts +0 -25
  283. package/src/theme/recipes/menu.ts +0 -40
  284. package/src/theme/recipes/popover.ts +0 -46
  285. package/src/theme/recipes/progress-circle.ts +0 -22
  286. package/src/theme/recipes/skeleton.ts +0 -8
  287. package/src/theme/recipes/textarea.ts +0 -29
  288. package/src/theme/recipes/tooltip.ts +0 -15
  289. package/src/theme/theme.ts +0 -70
  290. package/src/theme/tokens/borders.ts +0 -38
  291. package/src/theme/tokens/colors.ts +0 -488
  292. package/src/theme/tokens/layer-styles.ts +0 -15
  293. package/src/theme/tokens/shadows.ts +0 -47
  294. package/src/theme/tokens/text.ts +0 -236
  295. package/src/utils/apply-theme-preference.ts +0 -17
  296. package/src/utils/formats.ts +0 -27
  297. package/src/utils/get-file-type-icon.ts +0 -52
  298. package/src/utils/theme-preference.tsx +0 -60
  299. package/src/vite-env.d.ts +0 -6
  300. package/storybook-static/assets/CodeBlockPlugin-C3OWpvP8.js +0 -281
  301. package/storybook-static/assets/CodeBlockPlugin-e2vWgtYm.css +0 -1
  302. package/storybook-static/assets/DataTableNode.stories-DLgTftOI.js +0 -33
  303. package/storybook-static/assets/EquationComponent-CUFxwyNf.js +0 -1
  304. package/storybook-static/assets/EquationComponent-DWZwfaVI.css +0 -1
  305. package/storybook-static/assets/FloatingTextFormatToolbarPlugin-B6jc8xvg.js +0 -1
  306. package/storybook-static/assets/FloatingTextFormatToolbarPlugin-D2l3--Te.css +0 -1
  307. package/storybook-static/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  308. package/storybook-static/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  309. package/storybook-static/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  310. package/storybook-static/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  311. package/storybook-static/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  312. package/storybook-static/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  313. package/storybook-static/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  314. package/storybook-static/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  315. package/storybook-static/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  316. package/storybook-static/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  317. package/storybook-static/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  318. package/storybook-static/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  319. package/storybook-static/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  320. package/storybook-static/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  321. package/storybook-static/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  322. package/storybook-static/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  323. package/storybook-static/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  324. package/storybook-static/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  325. package/storybook-static/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  326. package/storybook-static/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  327. package/storybook-static/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  328. package/storybook-static/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  329. package/storybook-static/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  330. package/storybook-static/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  331. package/storybook-static/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  332. package/storybook-static/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  333. package/storybook-static/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  334. package/storybook-static/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  335. package/storybook-static/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  336. package/storybook-static/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  337. package/storybook-static/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  338. package/storybook-static/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  339. package/storybook-static/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  340. package/storybook-static/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  341. package/storybook-static/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  342. package/storybook-static/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  343. package/storybook-static/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  344. package/storybook-static/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  345. package/storybook-static/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  346. package/storybook-static/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  347. package/storybook-static/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  348. package/storybook-static/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  349. package/storybook-static/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  350. package/storybook-static/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  351. package/storybook-static/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  352. package/storybook-static/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  353. package/storybook-static/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  354. package/storybook-static/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  355. package/storybook-static/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  356. package/storybook-static/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  357. package/storybook-static/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  358. package/storybook-static/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  359. package/storybook-static/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  360. package/storybook-static/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  361. package/storybook-static/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  362. package/storybook-static/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  363. package/storybook-static/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  364. package/storybook-static/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  365. package/storybook-static/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  366. package/storybook-static/assets/LexicalHistoryPlugin.prod-BQAibkDj.js +0 -1
  367. package/storybook-static/assets/TreeViewPlugin-CyVKCrKJ.js +0 -24
  368. package/storybook-static/assets/ai-conversation-DcjS--ee.js +0 -1
  369. package/storybook-static/assets/ai-conversation.stories-COjWuS8V.js +0 -3
  370. package/storybook-static/assets/ai-message-DLdAGhWH.js +0 -1
  371. package/storybook-static/assets/ai-message.stories-CRTyreKL.js +0 -3
  372. package/storybook-static/assets/ai-response-ySM6s0iN.js +0 -1
  373. package/storybook-static/assets/ai-response.stories-DVBYlrGf.js +0 -11
  374. package/storybook-static/assets/attachment-list-1p1601I5.js +0 -1
  375. package/storybook-static/assets/attachment-list.stories-Cydlsnio.js +0 -7
  376. package/storybook-static/assets/badge-CtgJasjB.js +0 -1
  377. package/storybook-static/assets/breadcrumb.stories-SAjB-iqH.js +0 -5
  378. package/storybook-static/assets/button-C7it2n8t.js +0 -1
  379. package/storybook-static/assets/button.stories-BMVbbb4y.js +0 -72
  380. package/storybook-static/assets/chat-input-B-915nCM.js +0 -1
  381. package/storybook-static/assets/chat-input.stories-DrxvpT9p.js +0 -32
  382. package/storybook-static/assets/chat-panel.stories-D0L6eIte.js +0 -96
  383. package/storybook-static/assets/chevron-down-BYCAGyCV.js +0 -1
  384. package/storybook-static/assets/chevron-right-owK1wZnx.js +0 -1
  385. package/storybook-static/assets/collaborative-markdown-editor-Bj0GvTvv.js +0 -41
  386. package/storybook-static/assets/collaborative-markdown-editor.stories-B_MUIC5s.js +0 -11
  387. package/storybook-static/assets/collapsible-DBDG7h1r.js +0 -1
  388. package/storybook-static/assets/collapsible-content-B1Uq3jUM.js +0 -1
  389. package/storybook-static/assets/column-file-browser.stories-DPMQnHCw.js +0 -54
  390. package/storybook-static/assets/compiler-runtime-BXE7OOXE.js +0 -1
  391. package/storybook-static/assets/computed-style-C0hzrq9-.js +0 -1
  392. package/storybook-static/assets/create-recipe-context-BU56IzEo.js +0 -1
  393. package/storybook-static/assets/create-slot-recipe-context-DAhDE6G_.js +0 -1
  394. package/storybook-static/assets/create-split-props-u5h9OPvL.js +0 -1
  395. package/storybook-static/assets/createLucideIcon-CcBBUKX8.js +0 -1
  396. package/storybook-static/assets/data-table-vuIeWXui.css +0 -1
  397. package/storybook-static/assets/data-table.stories-Cs-q7dpj.js +0 -19
  398. package/storybook-static/assets/delete-confirmation-modal.stories-C8vDKFRD.js +0 -14
  399. package/storybook-static/assets/diff-bubble-_zZypMRt.js +0 -1
  400. package/storybook-static/assets/diff-bubble.stories-DfonanIk.js +0 -39
  401. package/storybook-static/assets/diff-drawer.stories-CGDWiKD8.js +0 -38
  402. package/storybook-static/assets/diff-editor-DV9BXqbn.js +0 -11
  403. package/storybook-static/assets/dismissable-layer-Cc5dFRd8.js +0 -1
  404. package/storybook-static/assets/drawer-inline.stories-B3Tp7vjL.js +0 -88
  405. package/storybook-static/assets/empty-state-BXkyq69k.js +0 -1
  406. package/storybook-static/assets/empty-state.stories-6eYYBOWR.js +0 -29
  407. package/storybook-static/assets/factory-BR3bc_RM.js +0 -1
  408. package/storybook-static/assets/factory-DAJZwK4o.js +0 -1
  409. package/storybook-static/assets/file-selector.stories-PKIGBUd5.js +0 -31
  410. package/storybook-static/assets/file-text-D5m8MJlG.js +0 -1
  411. package/storybook-static/assets/flex-DAJL4AFZ.js +0 -1
  412. package/storybook-static/assets/folder-C5dba_Co.js +0 -1
  413. package/storybook-static/assets/form-D_Xln9tK.js +0 -1
  414. package/storybook-static/assets/full-conversation-normalized-LUbl1coD.js +0 -1
  415. package/storybook-static/assets/grid-7OIKBlfh.js +0 -1
  416. package/storybook-static/assets/h-stack-DWHd8f97.js +0 -1
  417. package/storybook-static/assets/horizontal-menu-stack-Cph6x7ui.js +0 -1
  418. package/storybook-static/assets/icon-C8FN9JqD.js +0 -1
  419. package/storybook-static/assets/icon-button-DHiUe7rR.js +0 -1
  420. package/storybook-static/assets/icons-WRA1cA-W.js +0 -1
  421. package/storybook-static/assets/iframe-2XPD_vrQ.css +0 -1
  422. package/storybook-static/assets/iframe-B8FSoBNY.js +0 -1075
  423. package/storybook-static/assets/index-B0y2_lLF.js +0 -1
  424. package/storybook-static/assets/index-CXwl6T4k.js +0 -1
  425. package/storybook-static/assets/index-DaXC_qY_.js +0 -1
  426. package/storybook-static/assets/index-DpB4ozcR.js +0 -1
  427. package/storybook-static/assets/index-cFwdnc0b.js +0 -1
  428. package/storybook-static/assets/info-DlgY5-DW.js +0 -1
  429. package/storybook-static/assets/info-card.stories-Cry0Qfrn.js +0 -55
  430. package/storybook-static/assets/input-ZSs5cSFQ.js +0 -1
  431. package/storybook-static/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
  432. package/storybook-static/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
  433. package/storybook-static/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
  434. package/storybook-static/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
  435. package/storybook-static/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
  436. package/storybook-static/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
  437. package/storybook-static/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
  438. package/storybook-static/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
  439. package/storybook-static/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
  440. package/storybook-static/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
  441. package/storybook-static/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
  442. package/storybook-static/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
  443. package/storybook-static/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
  444. package/storybook-static/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
  445. package/storybook-static/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
  446. package/storybook-static/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
  447. package/storybook-static/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
  448. package/storybook-static/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
  449. package/storybook-static/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
  450. package/storybook-static/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
  451. package/storybook-static/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
  452. package/storybook-static/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
  453. package/storybook-static/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
  454. package/storybook-static/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
  455. package/storybook-static/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
  456. package/storybook-static/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
  457. package/storybook-static/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
  458. package/storybook-static/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
  459. package/storybook-static/assets/item-section-AoQrVPNJ.js +0 -1
  460. package/storybook-static/assets/item-section.stories-kYTPHRsx.js +0 -24
  461. package/storybook-static/assets/layout.stories-DhSjwzU1.js +0 -3
  462. package/storybook-static/assets/link-DE5grRtm.js +0 -1
  463. package/storybook-static/assets/markdown-BLUemkxK.js +0 -1
  464. package/storybook-static/assets/markdown-editor-Y4eMsgVb.js +0 -1
  465. package/storybook-static/assets/markdown-editor.stories-DIWw-hRP.js +0 -115
  466. package/storybook-static/assets/menu-item-CrqDaj9K.js +0 -1
  467. package/storybook-static/assets/menu-item.stories-D9Isjjrf.js +0 -68
  468. package/storybook-static/assets/message-parts-renderer.stories-CewRvbm7.js +0 -5
  469. package/storybook-static/assets/message-types-CEyA7Qm7.js +0 -60
  470. package/storybook-static/assets/model-swap-separator.stories-DrQW2NWQ.js +0 -9
  471. package/storybook-static/assets/mutation-observer-CAfGweIM.js +0 -1
  472. package/storybook-static/assets/normalize-props-D7NI5JRu.js +0 -1
  473. package/storybook-static/assets/number-C92MPsRM.js +0 -1
  474. package/storybook-static/assets/number-input-D1aC-9ls.js +0 -7
  475. package/storybook-static/assets/onest-cyrillic-400-normal-BxvCLB5P.woff +0 -0
  476. package/storybook-static/assets/onest-cyrillic-400-normal-DH8vlB-A.woff2 +0 -0
  477. package/storybook-static/assets/onest-cyrillic-500-normal-CyY1vN0Q.woff +0 -0
  478. package/storybook-static/assets/onest-cyrillic-500-normal-DHyr8B2c.woff2 +0 -0
  479. package/storybook-static/assets/onest-cyrillic-700-normal-CwpXuTGk.woff2 +0 -0
  480. package/storybook-static/assets/onest-cyrillic-700-normal-DOtXtm0s.woff +0 -0
  481. package/storybook-static/assets/onest-latin-400-normal-BAzPRZHg.woff +0 -0
  482. package/storybook-static/assets/onest-latin-400-normal-bladozIj.woff2 +0 -0
  483. package/storybook-static/assets/onest-latin-500-normal-oFTiz6Nq.woff +0 -0
  484. package/storybook-static/assets/onest-latin-500-normal-qHiQtL66.woff2 +0 -0
  485. package/storybook-static/assets/onest-latin-700-normal-Bd6qVL4Q.woff2 +0 -0
  486. package/storybook-static/assets/onest-latin-700-normal-XTvQgpoh.woff +0 -0
  487. package/storybook-static/assets/onest-latin-ext-400-normal--mQR5RlC.woff2 +0 -0
  488. package/storybook-static/assets/onest-latin-ext-400-normal-BbXTNVXw.woff +0 -0
  489. package/storybook-static/assets/onest-latin-ext-500-normal-BlXa29q8.woff2 +0 -0
  490. package/storybook-static/assets/onest-latin-ext-500-normal-CoujUMv_.woff +0 -0
  491. package/storybook-static/assets/onest-latin-ext-700-normal-C-Tcltod.woff2 +0 -0
  492. package/storybook-static/assets/onest-latin-ext-700-normal-CSGWRWNE.woff +0 -0
  493. package/storybook-static/assets/open-source-notices-screen.stories-BpdJxDZC.js +0 -21
  494. package/storybook-static/assets/overflow-CkG1DOya.js +0 -1
  495. package/storybook-static/assets/panel-menu-CqLSrdTB.js +0 -1
  496. package/storybook-static/assets/panel-menu.stories-CxdWaWjq.js +0 -14
  497. package/storybook-static/assets/param-editor-horizontal.stories-C1o-VOjG.js +0 -561
  498. package/storybook-static/assets/param-editor-selection-input-2pJE1_W1.js +0 -1
  499. package/storybook-static/assets/param-editor.stories-0ae3y4Vu.js +0 -921
  500. package/storybook-static/assets/playfair-display-cyrillic-400-normal-CjW2EstV.woff2 +0 -0
  501. package/storybook-static/assets/playfair-display-cyrillic-400-normal-ZiRag6zj.woff +0 -0
  502. package/storybook-static/assets/playfair-display-cyrillic-600-normal-DbWAkkgN.woff +0 -0
  503. package/storybook-static/assets/playfair-display-cyrillic-600-normal-oLY6jnZ7.woff2 +0 -0
  504. package/storybook-static/assets/playfair-display-cyrillic-700-normal-Dk1mTcxf.woff +0 -0
  505. package/storybook-static/assets/playfair-display-cyrillic-700-normal-Dw3uKy19.woff2 +0 -0
  506. package/storybook-static/assets/playfair-display-latin-400-normal-CFtfchNt.woff2 +0 -0
  507. package/storybook-static/assets/playfair-display-latin-400-normal-DHYHbkg3.woff +0 -0
  508. package/storybook-static/assets/playfair-display-latin-600-normal-CZLGqjJe.woff2 +0 -0
  509. package/storybook-static/assets/playfair-display-latin-600-normal-CxxueQ0Z.woff +0 -0
  510. package/storybook-static/assets/playfair-display-latin-700-normal-Bc_1Q1cG.woff +0 -0
  511. package/storybook-static/assets/playfair-display-latin-700-normal-CuDiGg7c.woff2 +0 -0
  512. package/storybook-static/assets/playfair-display-latin-ext-400-normal-BxlSGspa.woff2 +0 -0
  513. package/storybook-static/assets/playfair-display-latin-ext-400-normal-qdZwdvNS.woff +0 -0
  514. package/storybook-static/assets/playfair-display-latin-ext-600-normal-BumBfC1v.woff +0 -0
  515. package/storybook-static/assets/playfair-display-latin-ext-600-normal-CEjQclLc.woff2 +0 -0
  516. package/storybook-static/assets/playfair-display-latin-ext-700-normal-C58ejOkc.woff2 +0 -0
  517. package/storybook-static/assets/playfair-display-latin-ext-700-normal-D5HUU8GT.woff +0 -0
  518. package/storybook-static/assets/playfair-display-vietnamese-400-normal-BV2APVTb.woff2 +0 -0
  519. package/storybook-static/assets/playfair-display-vietnamese-400-normal-BbvUAu4N.woff +0 -0
  520. package/storybook-static/assets/playfair-display-vietnamese-600-normal-BPJkAZPN.woff +0 -0
  521. package/storybook-static/assets/playfair-display-vietnamese-600-normal-ICsRR-qJ.woff2 +0 -0
  522. package/storybook-static/assets/playfair-display-vietnamese-700-normal-CaKJSIny.woff2 +0 -0
  523. package/storybook-static/assets/playfair-display-vietnamese-700-normal-Cr1rw0mr.woff +0 -0
  524. package/storybook-static/assets/portal-CZHfPTRw.js +0 -1
  525. package/storybook-static/assets/preload-helper-PPVm8Dsz.js +0 -1
  526. package/storybook-static/assets/prompt-input-BLCttowi.js +0 -14
  527. package/storybook-static/assets/prompt-input-BVbz9joI.css +0 -1
  528. package/storybook-static/assets/prompt-input.stories-J8-AMVXy.js +0 -9
  529. package/storybook-static/assets/properties.stories-Bs7ivKgb.js +0 -59
  530. package/storybook-static/assets/react-18-KY0R7ltw.js +0 -9
  531. package/storybook-static/assets/render-strategy-BebqUNCa.js +0 -1
  532. package/storybook-static/assets/resource-badge-Bw5UoU4J.js +0 -1
  533. package/storybook-static/assets/resource-badge.stories-DtSh-RX9.js +0 -9
  534. package/storybook-static/assets/rich-message-BIkzo1SM.js +0 -1
  535. package/storybook-static/assets/rich-message.stories-C9Wc4d3O.js +0 -115
  536. package/storybook-static/assets/rich-text-theme-Bkhh9rAZ.js +0 -14
  537. package/storybook-static/assets/rich-text-theme-K2MBoCbx.css +0 -1
  538. package/storybook-static/assets/separator-CQkMOHNm.js +0 -1
  539. package/storybook-static/assets/settings-DUgg22A7.js +0 -1
  540. package/storybook-static/assets/simple-grid-DIKjhnVI.js +0 -1
  541. package/storybook-static/assets/spinner-ZYH_gvW-.js +0 -1
  542. package/storybook-static/assets/stack-CN4X31TA.js +0 -1
  543. package/storybook-static/assets/star-CvcHIXRa.js +0 -1
  544. package/storybook-static/assets/style-guide.stories-BUvEhZov.js +0 -6
  545. package/storybook-static/assets/tabbable-DHAf8oAu.js +0 -1
  546. package/storybook-static/assets/table-BKNSzs2r.js +0 -1
  547. package/storybook-static/assets/textarea-rqmaWSc5.js +0 -1
  548. package/storybook-static/assets/toaster-d9nN0H7K.js +0 -1
  549. package/storybook-static/assets/toaster.stories-BRVCYyaM.js +0 -52
  550. package/storybook-static/assets/tool-invocation-timeline-B-cS0W6M.js +0 -59
  551. package/storybook-static/assets/tool-invocation-timeline.stories-DXO59O73.js +0 -5
  552. package/storybook-static/assets/tooltip-C_a-XGZ8.js +0 -1
  553. package/storybook-static/assets/tooltip-DZxUoouw.js +0 -1
  554. package/storybook-static/assets/trash-2-BO05slEk.js +0 -1
  555. package/storybook-static/assets/typeahead-CuY9WxfQ.js +0 -1
  556. package/storybook-static/assets/use-field-context-DoxKQlMm.js +0 -1
  557. package/storybook-static/assets/use-presence-context-DK2PGZth.js +0 -1
  558. package/storybook-static/assets/v-stack-Btoq6OB_.js +0 -1
  559. package/storybook-static/assets/x-D42ziktz.js +0 -1
  560. package/storybook-static/components/chat-ui/mocks/full-conversation-normalized.json.d.ts +0 -3560
  561. package/storybook-static/components/rich-text/utils/inferResourceType.d.ts +0 -1
  562. package/storybook-static/favicon-wrapper.svg +0 -46
  563. package/storybook-static/favicon.svg +0 -1
  564. package/storybook-static/iframe.html +0 -705
  565. package/storybook-static/index.d.ts +0 -14
  566. package/storybook-static/index.html +0 -150
  567. package/storybook-static/index.json +0 -1
  568. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  569. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  570. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  571. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  572. package/storybook-static/project.json +0 -1
  573. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -628
  574. package/storybook-static/sb-addons/themes-1/manager-bundle.js +0 -3
  575. package/storybook-static/sb-addons/vitest-2/manager-bundle.js +0 -3
  576. package/storybook-static/sb-common-assets/favicon-wrapper.svg +0 -46
  577. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  578. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  579. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  580. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  581. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  582. package/storybook-static/sb-manager/globals-runtime.js +0 -77956
  583. package/storybook-static/sb-manager/globals.js +0 -24
  584. package/storybook-static/sb-manager/manager-stores.js +0 -23
  585. package/storybook-static/sb-manager/runtime.js +0 -20422
  586. package/storybook-static/theme/recipes/menu.d.ts +0 -1
  587. package/storybook-static/theme/types.d.ts +0 -1
  588. package/storybook-static/vite-inject-mocker-entry.js +0 -2
  589. package/tsconfig.json +0 -29
  590. package/vite.config.ts +0 -85
  591. package/vitest.shims.d.ts +0 -1
  592. /package/{storybook-static → dist}/components/alert.d.ts +0 -0
  593. /package/{storybook-static → dist}/components/breadcrumb.d.ts +0 -0
  594. /package/{storybook-static → dist}/components/breadcrumb.stories.d.ts +0 -0
  595. /package/{storybook-static → dist}/components/chat-ui/agent-types.d.ts +0 -0
  596. /package/{storybook-static → dist}/components/chat-ui/components/ai-conversation.stories.d.ts +0 -0
  597. /package/{storybook-static → dist}/components/chat-ui/components/ai-message.d.ts +0 -0
  598. /package/{storybook-static → dist}/components/chat-ui/components/ai-message.stories.d.ts +0 -0
  599. /package/{storybook-static → dist}/components/chat-ui/components/ai-response.d.ts +0 -0
  600. /package/{storybook-static → dist}/components/chat-ui/components/ai-response.stories.d.ts +0 -0
  601. /package/{storybook-static → dist}/components/chat-ui/components/approval-prompt.d.ts +0 -0
  602. /package/{storybook-static → dist}/components/chat-ui/components/attachment-list.d.ts +0 -0
  603. /package/{storybook-static → dist}/components/chat-ui/components/attachment-list.stories.d.ts +0 -0
  604. /package/{storybook-static → dist}/components/chat-ui/components/auto-scroll.d.ts +0 -0
  605. /package/{storybook-static → dist}/components/chat-ui/components/chat-input.d.ts +0 -0
  606. /package/{storybook-static → dist}/components/chat-ui/components/chat-input.stories.d.ts +0 -0
  607. /package/{storybook-static → dist}/components/chat-ui/components/chat-panel.d.ts +0 -0
  608. /package/{storybook-static → dist}/components/chat-ui/components/chat-panel.stories.d.ts +0 -0
  609. /package/{storybook-static → dist}/components/chat-ui/components/message-parts-renderer.d.ts +0 -0
  610. /package/{storybook-static → dist}/components/chat-ui/components/message-parts-renderer.stories.d.ts +0 -0
  611. /package/{storybook-static → dist}/components/chat-ui/components/message-types.d.ts +0 -0
  612. /package/{storybook-static → dist}/components/chat-ui/components/model-swap-separator.d.ts +0 -0
  613. /package/{storybook-static → dist}/components/chat-ui/components/model-swap-separator.stories.d.ts +0 -0
  614. /package/{storybook-static → dist}/components/chat-ui/components/send-button.d.ts +0 -0
  615. /package/{storybook-static → dist}/components/chat-ui/components/timeline.d.ts +0 -0
  616. /package/{storybook-static → dist}/components/chat-ui/components/tool-invocation-timeline.d.ts +0 -0
  617. /package/{storybook-static → dist}/components/chat-ui/components/tool-invocation-timeline.stories.d.ts +0 -0
  618. /package/{storybook-static → dist}/components/chat-ui/tool-rendering/default-renderers.d.ts +0 -0
  619. /package/{storybook-static → dist}/components/chat-ui/tool-rendering/index.d.ts +0 -0
  620. /package/{storybook-static → dist}/components/chat-ui/tool-rendering/types.d.ts +0 -0
  621. /package/{storybook-static → dist}/components/chat-ui/utils/diff.d.ts +0 -0
  622. /package/{storybook-static → dist}/components/chat-ui/utils/editor-state.d.ts +0 -0
  623. /package/{storybook-static → dist}/components/code-editor.d.ts +0 -0
  624. /package/{storybook-static → dist}/components/content-placeholder.d.ts +0 -0
  625. /package/{storybook-static → dist}/components/delete-confirmation-modal.d.ts +0 -0
  626. /package/{storybook-static → dist}/components/delete-confirmation-modal.stories.d.ts +0 -0
  627. /package/{storybook-static → dist}/components/diff-bubble.d.ts +0 -0
  628. /package/{storybook-static → dist}/components/diff-bubble.stories.d.ts +0 -0
  629. /package/{storybook-static → dist}/components/diff-card.d.ts +0 -0
  630. /package/{storybook-static → dist}/components/diff-drawer.d.ts +0 -0
  631. /package/{storybook-static → dist}/components/diff-drawer.stories.d.ts +0 -0
  632. /package/{storybook-static → dist}/components/diff-editor.d.ts +0 -0
  633. /package/{storybook-static → dist}/components/drawer-inline.d.ts +0 -0
  634. /package/{storybook-static → dist}/components/drawer-inline.stories.d.ts +0 -0
  635. /package/{storybook-static → dist}/components/empty-state.d.ts +0 -0
  636. /package/{storybook-static → dist}/components/empty-state.stories.d.ts +0 -0
  637. /package/{storybook-static → dist}/components/error-boundary.d.ts +0 -0
  638. /package/{storybook-static → dist}/components/file-tree-helpers.d.ts +0 -0
  639. /package/{storybook-static → dist}/components/horizontal-menu-stack.d.ts +0 -0
  640. /package/{storybook-static → dist}/components/item-section.d.ts +0 -0
  641. /package/{storybook-static → dist}/components/item-section.stories.d.ts +0 -0
  642. /package/{storybook-static → dist}/components/layout.d.ts +0 -0
  643. /package/{storybook-static → dist}/components/layout.stories.d.ts +0 -0
  644. /package/{storybook-static → dist}/components/open-source-notices-screen.d.ts +0 -0
  645. /package/{storybook-static → dist}/components/open-source-notices-screen.stories.d.ts +0 -0
  646. /package/{storybook-static → dist}/components/param-editor-color-input.d.ts +0 -0
  647. /package/{storybook-static → dist}/components/param-editor-date-input.d.ts +0 -0
  648. /package/{storybook-static → dist}/components/param-editor-horizontal-text-input.d.ts +0 -0
  649. /package/{storybook-static → dist}/components/param-editor-horizontal.d.ts +0 -0
  650. /package/{storybook-static → dist}/components/param-editor-horizontal.stories.d.ts +0 -0
  651. /package/{storybook-static → dist}/components/param-editor-input-group.d.ts +0 -0
  652. /package/{storybook-static → dist}/components/param-editor-number-input.d.ts +0 -0
  653. /package/{storybook-static → dist}/components/param-editor-selection-input.d.ts +0 -0
  654. /package/{storybook-static → dist}/components/param-editor-text-input.d.ts +0 -0
  655. /package/{storybook-static → dist}/components/param-editor.d.ts +0 -0
  656. /package/{storybook-static → dist}/components/param-editor.types.d.ts +0 -0
  657. /package/{storybook-static → dist}/components/properties.d.ts +0 -0
  658. /package/{storybook-static → dist}/components/properties.stories.d.ts +0 -0
  659. /package/{storybook-static/components/schub-logo.d.ts → dist/components/pstdio-logo.d.ts} +0 -0
  660. /package/{storybook-static → dist}/components/resource-badge.d.ts +0 -0
  661. /package/{storybook-static → dist}/components/resource-badge.stories.d.ts +0 -0
  662. /package/{storybook-static → dist}/components/rich-text/collaborative-markdown-editor/awareness-cursors.d.ts +0 -0
  663. /package/{storybook-static → dist}/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.d.ts +0 -0
  664. /package/{storybook-static → dist}/components/rich-text/index.d.ts +0 -0
  665. /package/{storybook-static → dist}/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -0
  666. /package/{storybook-static → dist}/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -0
  667. /package/{storybook-static → dist}/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.d.ts +0 -0
  668. /package/{storybook-static → dist}/components/rich-text/prompt-input/commands.d.ts +0 -0
  669. /package/{storybook-static → dist}/components/rich-text/prompt-input/events.d.ts +0 -0
  670. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.d.ts +0 -0
  671. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.d.ts +0 -0
  672. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.d.ts +0 -0
  673. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +0 -0
  674. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.d.ts +0 -0
  675. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +0 -0
  676. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.d.ts +0 -0
  677. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.d.ts +0 -0
  678. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.d.ts +0 -0
  679. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.d.ts +0 -0
  680. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.d.ts +0 -0
  681. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.d.ts +0 -0
  682. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.d.ts +0 -0
  683. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.d.ts +0 -0
  684. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.d.ts +0 -0
  685. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +0 -0
  686. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +0 -0
  687. /package/{storybook-static → dist}/components/rich-text/prompt-input/prompt-input.d.ts +0 -0
  688. /package/{storybook-static → dist}/components/rich-text/prompt-input/prompt-input.stories.d.ts +0 -0
  689. /package/{storybook-static → dist}/components/rich-text/prompt-input/theme/prompt-input-theme.d.ts +0 -0
  690. /package/{storybook-static → dist}/components/rich-text/prompt-input/utils.d.ts +0 -0
  691. /package/{storybook-static → dist}/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -0
  692. /package/{storybook-static → dist}/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -0
  693. /package/{storybook-static → dist}/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.d.ts +0 -0
  694. /package/{storybook-static → dist}/components/rich-text/rich-message/rich-message.d.ts +0 -0
  695. /package/{storybook-static → dist}/components/rich-text/rich-message/rich-message.stories.d.ts +0 -0
  696. /package/{storybook-static → dist}/components/rich-text/shared/components/content-editable.d.ts +0 -0
  697. /package/{storybook-static → dist}/components/rich-text/shared/components/default-rich-text-components.d.ts +0 -0
  698. /package/{storybook-static → dist}/components/rich-text/shared/editor-config.d.ts +0 -0
  699. /package/{storybook-static → dist}/components/rich-text/shared/nodes/DataTableNode.d.ts +0 -0
  700. /package/{storybook-static → dist}/components/rich-text/shared/nodes/DataTableNode.stories.d.ts +0 -0
  701. /package/{storybook-static → dist}/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +0 -0
  702. /package/{storybook-static → dist}/components/rich-text/shared/plugins/CodePlugin/CodeNode.d.ts +0 -0
  703. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.d.ts +0 -0
  704. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/EquationNode.d.ts +0 -0
  705. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.d.ts +0 -0
  706. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.d.ts +0 -0
  707. /package/{storybook-static → dist}/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.d.ts +0 -0
  708. /package/{storybook-static → dist}/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +0 -0
  709. /package/{storybook-static → dist}/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.d.ts +0 -0
  710. /package/{storybook-static → dist}/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.d.ts +0 -0
  711. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.d.ts +0 -0
  712. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.d.ts +0 -0
  713. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.d.ts +0 -0
  714. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +0 -0
  715. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.d.ts +0 -0
  716. /package/{storybook-static → dist}/components/rich-text/shared/plugins/StateUpdatePlugin.d.ts +0 -0
  717. /package/{storybook-static → dist}/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.d.ts +0 -0
  718. /package/{storybook-static → dist}/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.d.ts +0 -0
  719. /package/{storybook-static → dist}/components/rich-text/shared/plugins/ToggleEditablePlugin.d.ts +0 -0
  720. /package/{storybook-static → dist}/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +0 -0
  721. /package/{storybook-static → dist}/components/rich-text/shared/transformers/markdown-transformers.d.ts +0 -0
  722. /package/{storybook-static → dist}/components/rich-text/shared/types/rich-text-components.d.ts +0 -0
  723. /package/{storybook-static → dist}/components/rich-text/theme/report-theme.d.ts +0 -0
  724. /package/{storybook-static → dist}/components/rich-text/theme/rich-text-theme.d.ts +0 -0
  725. /package/{storybook-static → dist}/components/rich-text/types.d.ts +0 -0
  726. /package/{storybook-static → dist}/components/rich-text/utils/markdown.d.ts +0 -0
  727. /package/{storybook-static → dist}/components/rich-text/utils/mediaType.d.ts +0 -0
  728. /package/{storybook-static → dist}/components/slider.d.ts +0 -0
  729. /package/{storybook-static → dist}/components/style-guide-data.d.ts +0 -0
  730. /package/{storybook-static → dist}/components/style-guide.d.ts +0 -0
  731. /package/{storybook-static → dist}/components/toaster.stories.d.ts +0 -0
  732. /package/{storybook-static → dist}/components/tooltip.d.ts +0 -0
  733. /package/{storybook-static → dist}/theme/global.d.ts +0 -0
  734. /package/{storybook-static → dist}/theme/index.d.ts +0 -0
  735. /package/{storybook-static → dist}/theme/primitives/fonts.d.ts +0 -0
  736. /package/{storybook-static → dist}/theme/primitives/sizes.d.ts +0 -0
  737. /package/{storybook-static → dist}/theme/recipes/alert.d.ts +0 -0
  738. /package/{storybook-static → dist}/theme/recipes/button.d.ts +0 -0
  739. /package/{storybook-static → dist}/theme/recipes/dialog.d.ts +0 -0
  740. /package/{storybook-static → dist}/theme/recipes/divider.d.ts +0 -0
  741. /package/{storybook-static → dist}/theme/recipes/drawer.d.ts +0 -0
  742. /package/{storybook-static → dist}/theme/recipes/editable.d.ts +0 -0
  743. /package/{storybook-static → dist}/theme/recipes/form.d.ts +0 -0
  744. /package/{storybook-static → dist}/theme/recipes/input.d.ts +0 -0
  745. /package/{storybook-static → dist}/theme/recipes/popover.d.ts +0 -0
  746. /package/{storybook-static → dist}/theme/recipes/progress-circle.d.ts +0 -0
  747. /package/{storybook-static → dist}/theme/recipes/skeleton.d.ts +0 -0
  748. /package/{storybook-static → dist}/theme/recipes/textarea.d.ts +0 -0
  749. /package/{storybook-static → dist}/theme/recipes/tooltip.d.ts +0 -0
  750. /package/{storybook-static → dist}/theme/theme.d.ts +0 -0
  751. /package/{storybook-static → dist}/theme/tokens/layer-styles.d.ts +0 -0
  752. /package/{storybook-static → dist}/theme/tokens/shadows.d.ts +0 -0
  753. /package/{storybook-static → dist}/theme/tokens/text.d.ts +0 -0
  754. /package/{storybook-static → dist}/utils/formats.d.ts +0 -0
  755. /package/{storybook-static → dist}/utils/get-file-type-icon.d.ts +0 -0
@@ -1,162 +0,0 @@
1
- import { Box, Button, Menu, Stack } from "@chakra-ui/react";
2
- import { ChevronDown, ChevronRight, FileText, Folder, Settings, Star } from "lucide-react";
3
- import type { ComponentProps, ReactNode } from "react";
4
-
5
- import { MenuItem } from "./menu-item";
6
-
7
- type StoryFn = () => ReactNode;
8
- type MenuItemStoryArgs = ComponentProps<typeof MenuItem>;
9
-
10
- const meta = {
11
- title: "Components/MenuItem",
12
- component: MenuItem,
13
- decorators: [
14
- (Story: StoryFn) => (
15
- <Box padding="sm" background="bg">
16
- <Story />
17
- </Box>
18
- ),
19
- ],
20
- args: {
21
- id: "reports",
22
- primaryLabel: "Reports",
23
- secondaryLabel: "Financial and tax summaries",
24
- tooltipLabel: "Open reports",
25
- leftIcon: FileText,
26
- rightIcon: ChevronRight,
27
- },
28
- };
29
-
30
- export default meta;
31
-
32
- const renderMenuList = (children: ReactNode) => (
33
- <Menu.Root>
34
- <Stack
35
- width="20rem"
36
- gap="2px"
37
- padding="sm"
38
- borderRadius="md"
39
- borderWidth="1px"
40
- borderColor="border.muted"
41
- background="bg"
42
- >
43
- {children}
44
- </Stack>
45
- </Menu.Root>
46
- );
47
-
48
- const renderMenuItem = (args: MenuItemStoryArgs) => renderMenuList(<MenuItem {...args} />);
49
-
50
- export const Default = {
51
- render: renderMenuItem,
52
- };
53
-
54
- export const WithTag = {
55
- args: {
56
- tagLabel: "WIP",
57
- tagColorPalette: "yellow",
58
- },
59
- render: renderMenuItem,
60
- };
61
-
62
- export const Selected = {
63
- args: {
64
- isSelected: true,
65
- rightIcon: Star,
66
- },
67
- render: renderMenuItem,
68
- };
69
-
70
- export const NoIcon = {
71
- args: {
72
- primaryLabel: "Activity log",
73
- secondaryLabel: "Latest updates",
74
- leftIcon: null,
75
- rightIcon: null,
76
- },
77
- render: renderMenuItem,
78
- };
79
-
80
- export const NoDescription = {
81
- args: {
82
- primaryLabel: "Invoices",
83
- secondaryLabel: undefined,
84
- tooltipLabel: undefined,
85
- },
86
- render: renderMenuItem,
87
- };
88
-
89
- export const Compact = {
90
- args: {
91
- variant: "compact",
92
- secondaryLabel: "Financial and tax summaries",
93
- },
94
- render: renderMenuItem,
95
- };
96
-
97
- export const Disabled = {
98
- args: {
99
- isDisabled: true,
100
- secondaryLabel: "Requires admin access",
101
- },
102
- render: renderMenuItem,
103
- };
104
-
105
- export const MenuList = {
106
- render: () =>
107
- renderMenuList(
108
- <>
109
- <MenuItem id="files" primaryLabel="Files" secondaryLabel="Recent uploads" leftIcon={Folder} />
110
- <MenuItem
111
- id="reports"
112
- primaryLabel="Reports"
113
- secondaryLabel="Financial and tax summaries"
114
- leftIcon={FileText}
115
- rightIcon={ChevronRight}
116
- />
117
- <MenuItem
118
- id="activity"
119
- primaryLabel="Activity log"
120
- secondaryLabel="Latest updates"
121
- leftIcon={null}
122
- rightIcon={null}
123
- />
124
- <MenuItem id="settings" primaryLabel="Settings" secondaryLabel="Workspace preferences" isSelected />
125
- <MenuItem id="locked" primaryLabel="Billing" secondaryLabel="Requires admin access" isDisabled />
126
- </>,
127
- ),
128
- };
129
-
130
- export const DropdownMenu = {
131
- render: () => (
132
- <Menu.Root defaultOpen>
133
- <Menu.Trigger asChild>
134
- <Button size="sm" variant="outline">
135
- Actions
136
- </Button>
137
- </Menu.Trigger>
138
- <Menu.Positioner>
139
- <Menu.Content minW="240px" bg="bg">
140
- <MenuItem
141
- id="sort"
142
- primaryLabel="Sort by"
143
- secondaryLabel="Newest first"
144
- tooltipLabel="Change sort order"
145
- leftIcon={ChevronDown}
146
- />
147
- <MenuItem id="duplicate" primaryLabel="Duplicate" secondaryLabel="Create a copy" leftIcon={FileText} />
148
- <MenuItem
149
- id="move"
150
- primaryLabel="Move to folder"
151
- secondaryLabel="Organize this item"
152
- leftIcon={Folder}
153
- rightIcon={ChevronRight}
154
- />
155
- <Menu.Separator />
156
- <MenuItem id="settings" primaryLabel="Settings" secondaryLabel={undefined} leftIcon={Settings} />
157
- <MenuItem id="archive" primaryLabel="Archive" secondaryLabel="Requires admin access" isDisabled />
158
- </Menu.Content>
159
- </Menu.Positioner>
160
- </Menu.Root>
161
- ),
162
- };
@@ -1,207 +0,0 @@
1
- import type { IconProps } from "@chakra-ui/react";
2
- import { Badge, MenuItem as ChakraMenuItem, Flex, Icon, Stack, Text } from "@chakra-ui/react";
3
- import type { ComponentProps, MouseEvent as ReactMouseEvent, ReactNode } from "react";
4
- import { Tooltip } from "./tooltip";
5
-
6
- type ChakraMenuItemProps = ComponentProps<typeof ChakraMenuItem>;
7
- type MenuItemIcon = ComponentProps<typeof Icon>["as"];
8
- type MenuItemIconColor = IconProps["color"];
9
- type MenuItemTagColor = ComponentProps<typeof Badge>["colorPalette"];
10
- type MenuItemTagVariant = ComponentProps<typeof Badge>["variant"];
11
- type MenuItemVariant = "default" | "compact";
12
-
13
- const menuItemVariantStyles = {
14
- default: {
15
- paddingX: "sm",
16
- paddingY: "xs",
17
- minHeight: "2rem",
18
- iconSize: "19px",
19
- primaryTextStyle: "label/M/regular",
20
- secondaryMarginLeft: "2px",
21
- secondaryTextStyle: "label/XS/regular",
22
- },
23
- compact: {
24
- paddingX: "xs",
25
- paddingY: "2xs",
26
- minHeight: "1.75rem",
27
- iconSize: "16px",
28
- primaryTextStyle: "label/S/regular",
29
- secondaryMarginLeft: "0",
30
- secondaryTextStyle: "label/XS/regular",
31
- },
32
- } as const;
33
-
34
- interface MenuItemProps {
35
- id?: string;
36
- children?: ReactNode;
37
- isDisabled?: boolean;
38
- isSelected?: boolean;
39
- primaryLabel: string;
40
- secondaryLabel?: string;
41
- tooltipLabel?: ReactNode;
42
- leftIcon?: MenuItemIcon | null;
43
- leftSlot?: ReactNode;
44
- rightIcon?: MenuItemIcon | null;
45
- leftIconColor?: MenuItemIconColor;
46
- rightIconColor?: MenuItemIconColor;
47
- leftIconSize?: string;
48
- rightIconSize?: string;
49
- rightIconAriaLabel?: string;
50
- rightTooltipLabel?: ReactNode;
51
- onRightIconClick?: () => void;
52
- tagLabel?: ReactNode;
53
- tagColorPalette?: MenuItemTagColor;
54
- tagVariant?: MenuItemTagVariant;
55
- variant?: MenuItemVariant;
56
- tabIndex?: number;
57
- width?: ChakraMenuItemProps["width"];
58
- maxWidth?: ChakraMenuItemProps["maxWidth"];
59
- setRefElement?: ChakraMenuItemProps["ref"];
60
- onClick?: ChakraMenuItemProps["onClick"];
61
- onMouseDown?: ChakraMenuItemProps["onMouseDown"];
62
- onMouseEnter?: ChakraMenuItemProps["onMouseEnter"];
63
- }
64
-
65
- export const MenuItem = (props: MenuItemProps) => {
66
- const {
67
- id,
68
- primaryLabel,
69
- tooltipLabel,
70
- secondaryLabel,
71
- leftIcon = null,
72
- leftSlot,
73
- rightIcon,
74
- leftIconColor = "fg",
75
- rightIconColor = "fg",
76
- leftIconSize,
77
- rightIconSize,
78
- rightIconAriaLabel,
79
- rightTooltipLabel,
80
- onRightIconClick,
81
- isDisabled,
82
- isSelected,
83
- tagLabel,
84
- tagColorPalette = "yellow",
85
- tagVariant = "subtle",
86
- variant = "default",
87
- tabIndex,
88
- width,
89
- maxWidth,
90
- setRefElement,
91
- } = props;
92
- const { onClick, onMouseDown, onMouseEnter } = props;
93
- const variantStyles = menuItemVariantStyles[variant];
94
- const backgroundColor = isSelected ? "bg.emphasized" : undefined;
95
- const resolvedLeftIconSize = leftIconSize ?? variantStyles.iconSize;
96
- const resolvedRightIconSize = rightIconSize ?? variantStyles.iconSize;
97
- const isRightIconInteractive = Boolean(onRightIconClick && rightIcon);
98
-
99
- const handleRightIconMouseDown = (event: ReactMouseEvent<HTMLElement>) => {
100
- if (!isRightIconInteractive) {
101
- return;
102
- }
103
-
104
- event.preventDefault();
105
- event.stopPropagation();
106
- };
107
-
108
- const handleRightIconClick = (event: ReactMouseEvent<HTMLElement>) => {
109
- if (!isRightIconInteractive || !onRightIconClick) {
110
- return;
111
- }
112
-
113
- event.preventDefault();
114
- event.stopPropagation();
115
- onRightIconClick();
116
- };
117
-
118
- return (
119
- <ChakraMenuItem
120
- id={id}
121
- ref={setRefElement}
122
- tabIndex={tabIndex}
123
- disabled={isDisabled}
124
- aria-selected={isSelected}
125
- paddingX={variantStyles.paddingX}
126
- paddingY={variantStyles.paddingY}
127
- onClick={onClick}
128
- onMouseDown={onMouseDown}
129
- onMouseEnter={onMouseEnter}
130
- height="auto"
131
- minHeight={variantStyles.minHeight}
132
- role="option"
133
- width={width}
134
- maxWidth={maxWidth ?? "20rem"}
135
- overflow={"hidden"}
136
- position="relative"
137
- cursor={isDisabled ? "default" : "pointer"}
138
- value={id ?? primaryLabel}
139
- bg={backgroundColor}
140
- _hover={{ bg: "bg.muted" }}
141
- _focus={{ bg: "bg.muted" }}
142
- >
143
- <Flex justifyContent="space-between" alignItems="center" gap="xs" flex="1">
144
- <Tooltip positioning={{ placement: "right" }} content={tooltipLabel} disabled={!tooltipLabel}>
145
- <Stack gap="2xs">
146
- <Flex alignItems="flex-start" gap="xs" flex="1">
147
- {leftSlot ? (
148
- leftSlot
149
- ) : leftIcon ? (
150
- <Icon as={leftIcon} boxSize={resolvedLeftIconSize} color={leftIconColor} />
151
- ) : null}
152
- <Text lineClamp={1} textOverflow="ellipsis" textStyle={variantStyles.primaryTextStyle}>
153
- {primaryLabel}
154
- </Text>
155
- </Flex>
156
- {secondaryLabel && (
157
- <Text
158
- ml={variantStyles.secondaryMarginLeft}
159
- lineClamp={1}
160
- textOverflow="ellipsis"
161
- textStyle={variantStyles.secondaryTextStyle}
162
- color="fg.muted"
163
- >
164
- {secondaryLabel}
165
- </Text>
166
- )}
167
- </Stack>
168
- </Tooltip>
169
- <Flex justifyContent="flex-end" color="fg">
170
- {rightIcon ? (
171
- <Tooltip positioning={{ placement: "right" }} content={rightTooltipLabel} disabled={!rightTooltipLabel}>
172
- <Flex
173
- as={isRightIconInteractive ? "button" : "div"}
174
- alignItems="center"
175
- aria-label={rightIconAriaLabel}
176
- cursor={isRightIconInteractive ? "pointer" : "default"}
177
- bg="transparent"
178
- borderWidth="0"
179
- padding="0"
180
- onMouseDown={handleRightIconMouseDown}
181
- onClick={handleRightIconClick}
182
- >
183
- <Icon as={rightIcon} boxSize={resolvedRightIconSize} color={rightIconColor} />
184
- </Flex>
185
- </Tooltip>
186
- ) : null}
187
- </Flex>
188
- </Flex>
189
- {tagLabel ? (
190
- <Badge
191
- position="absolute"
192
- top="xs"
193
- right="sm"
194
- textStyle="label/XS/medium"
195
- px="xs"
196
- py="2px"
197
- borderRadius="md"
198
- colorPalette={tagColorPalette}
199
- variant={tagVariant}
200
- pointerEvents="none"
201
- >
202
- {tagLabel}
203
- </Badge>
204
- ) : null}
205
- </ChakraMenuItem>
206
- );
207
- };
@@ -1,21 +0,0 @@
1
- import { NumberInput as ChakraNumberInput } from "@chakra-ui/react";
2
- import * as React from "react";
3
-
4
- export interface NumberInputProps extends ChakraNumberInput.RootProps {}
5
-
6
- export const NumberInputRoot = React.forwardRef<HTMLDivElement, NumberInputProps>(function NumberInput(props, ref) {
7
- const { children, ...rest } = props;
8
- return (
9
- <ChakraNumberInput.Root ref={ref} variant="outline" {...rest}>
10
- {children}
11
- <ChakraNumberInput.Control>
12
- <ChakraNumberInput.IncrementTrigger />
13
- <ChakraNumberInput.DecrementTrigger />
14
- </ChakraNumberInput.Control>
15
- </ChakraNumberInput.Root>
16
- );
17
- });
18
-
19
- export const NumberInputField = ChakraNumberInput.Input;
20
- export const NumberInputScrubber = ChakraNumberInput.Scrubber;
21
- export const NumberInputLabel = ChakraNumberInput.Label;
@@ -1,69 +0,0 @@
1
- import { Box } from "@chakra-ui/react";
2
- import type { Meta, StoryObj } from "@storybook/react";
3
- import { OpenSourceNoticesScreen } from "./open-source-notices-screen";
4
-
5
- const meta = {
6
- title: "Components/OpenSourceNoticesScreen",
7
- component: OpenSourceNoticesScreen,
8
- parameters: {
9
- layout: "fullscreen",
10
- },
11
- } satisfies Meta<typeof OpenSourceNoticesScreen>;
12
-
13
- export default meta;
14
- type Story = StoryObj<typeof meta>;
15
-
16
- const notices = [
17
- {
18
- name: "react",
19
- version: "19.0.0",
20
- license: "MIT",
21
- copyright: "Copyright (c) Meta Platforms, Inc.",
22
- homepageUrl: "https://react.dev",
23
- sourceUrl: "https://github.com/facebook/react",
24
- },
25
- {
26
- name: "chakra-ui",
27
- version: "3.28.0",
28
- license: "MIT",
29
- copyright: "Copyright (c) Chakra UI Team",
30
- homepageUrl: "https://chakra-ui.com",
31
- sourceUrl: "https://github.com/chakra-ui/chakra-ui",
32
- attribution:
33
- "Portions of this software include work distributed under the MIT License. See project repository for full text.",
34
- },
35
- {
36
- name: "lucide-react",
37
- version: "0.469.0",
38
- license: "ISC",
39
- sourceUrl: "https://github.com/lucide-icons/lucide",
40
- },
41
- ];
42
-
43
- export const Populated: Story = {
44
- render: (props) => (
45
- <Box minHeight="100vh" bg="bg">
46
- <OpenSourceNoticesScreen {...props} />
47
- </Box>
48
- ),
49
- args: {
50
- notices,
51
- productName: "Prompt Studio Desktop",
52
- productVersion: "1.8.3",
53
- generatedAt: "2026-02-27",
54
- },
55
- };
56
-
57
- export const Empty: Story = {
58
- render: (props) => (
59
- <Box minHeight="100vh" bg="bg">
60
- <OpenSourceNoticesScreen {...props} />
61
- </Box>
62
- ),
63
- args: {
64
- notices: [],
65
- productName: "Prompt Studio Desktop",
66
- productVersion: "1.8.3",
67
- generatedAt: "2026-02-27",
68
- },
69
- };
@@ -1,154 +0,0 @@
1
- import { Box, HStack, Link, Separator, Stack, Text } from "@chakra-ui/react";
2
-
3
- export interface OpenSourceNotice {
4
- name: string;
5
- version?: string;
6
- license?: string;
7
- copyright?: string;
8
- homepageUrl?: string;
9
- sourceUrl?: string;
10
- attribution?: string;
11
- }
12
-
13
- export interface OpenSourceNoticesScreenProps {
14
- notices: OpenSourceNotice[];
15
- title?: string;
16
- description?: string;
17
- productName?: string;
18
- productVersion?: string;
19
- generatedAt?: string;
20
- emptyTitle?: string;
21
- emptyDescription?: string;
22
- }
23
-
24
- const getNoticeKey = (notice: OpenSourceNotice, index: number) => {
25
- return `${notice.name}-${notice.version ?? "unknown"}-${index}`;
26
- };
27
-
28
- const getNoticeTitle = (notice: OpenSourceNotice) => {
29
- if (!notice.version) return notice.name;
30
-
31
- return `${notice.name} v${notice.version}`;
32
- };
33
-
34
- export const OpenSourceNoticesScreen = (props: OpenSourceNoticesScreenProps) => {
35
- const {
36
- notices,
37
- title = "Open Source and Third-Party Notices",
38
- description = "This product includes software developed by the open source community.",
39
- productName,
40
- productVersion,
41
- generatedAt,
42
- emptyTitle = "No third-party notices available",
43
- emptyDescription = "No third-party packages were included in this build.",
44
- } = props;
45
-
46
- return (
47
- <Stack width="full" minHeight="100%" background="bg" color="fg" padding={{ base: "md", md: "xl" }} gap="lg">
48
- <Stack gap="xs">
49
- <Text textStyle="heading/L">{title}</Text>
50
- <Text textStyle="paragraph/S/regular" color="fg.muted">
51
- {description}
52
- </Text>
53
-
54
- <HStack gap="md" flexWrap="wrap">
55
- {productName ? (
56
- <Text textStyle="label/XS" color="fg.muted">
57
- Product: {productName}
58
- </Text>
59
- ) : null}
60
-
61
- {productVersion ? (
62
- <Text textStyle="label/XS" color="fg.muted">
63
- Version: {productVersion}
64
- </Text>
65
- ) : null}
66
-
67
- <Text textStyle="label/XS" color="fg.muted">
68
- Packages: {notices.length}
69
- </Text>
70
-
71
- {generatedAt ? (
72
- <Text textStyle="label/XS" color="fg.muted">
73
- Generated: {generatedAt}
74
- </Text>
75
- ) : null}
76
- </HStack>
77
- </Stack>
78
-
79
- <Separator borderColor="border.secondary" />
80
-
81
- {notices.length === 0 ? (
82
- <Stack borderWidth="1px" borderColor="border.muted" borderRadius="md" padding="lg" gap="xs">
83
- <Text textStyle="label/L/medium">{emptyTitle}</Text>
84
- <Text textStyle="paragraph/S/regular" color="fg.muted">
85
- {emptyDescription}
86
- </Text>
87
- </Stack>
88
- ) : (
89
- <Stack gap="md">
90
- {notices.map((notice, index) => (
91
- <Box
92
- key={getNoticeKey(notice, index)}
93
- borderWidth="1px"
94
- borderColor="border.muted"
95
- borderRadius="md"
96
- padding="md"
97
- >
98
- <Stack gap="sm">
99
- <Stack gap="2xs">
100
- <Text textStyle="label/L/medium">{getNoticeTitle(notice)}</Text>
101
- <Text textStyle="label/S/regular" color="fg.muted">
102
- License: {notice.license ?? "Unknown"}
103
- </Text>
104
- </Stack>
105
-
106
- {notice.copyright ? (
107
- <Text textStyle="label/S/regular" color="fg.muted">
108
- {notice.copyright}
109
- </Text>
110
- ) : null}
111
-
112
- {(notice.homepageUrl || notice.sourceUrl) && (
113
- <Stack gap="2xs">
114
- {notice.homepageUrl ? (
115
- <Link
116
- href={notice.homepageUrl}
117
- target="_blank"
118
- rel="noreferrer"
119
- textStyle="label/S/medium"
120
- width="fit-content"
121
- >
122
- Homepage
123
- </Link>
124
- ) : null}
125
-
126
- {notice.sourceUrl ? (
127
- <Link
128
- href={notice.sourceUrl}
129
- target="_blank"
130
- rel="noreferrer"
131
- textStyle="label/S/medium"
132
- width="fit-content"
133
- >
134
- Source code
135
- </Link>
136
- ) : null}
137
- </Stack>
138
- )}
139
-
140
- {notice.attribution ? (
141
- <Box background="bg.muted" borderRadius="sm" padding="sm">
142
- <Text textStyle="label/S/regular" whiteSpace="pre-wrap">
143
- {notice.attribution}
144
- </Text>
145
- </Box>
146
- ) : null}
147
- </Stack>
148
- </Box>
149
- ))}
150
- </Stack>
151
- )}
152
- </Stack>
153
- );
154
- };
@@ -1,44 +0,0 @@
1
- import { Box, Stack } from "@chakra-ui/react";
2
- import type { Meta, StoryObj } from "@storybook/react";
3
- import { FileText, Folder, Settings } from "lucide-react";
4
- import { ItemSection } from "./item-section";
5
- import { MenuItem } from "./menu-item";
6
- import { PanelMenu } from "./panel-menu";
7
-
8
- const meta: Meta<typeof PanelMenu> = {
9
- title: "Components/PanelMenu",
10
- component: PanelMenu,
11
- decorators: [
12
- (Story) => (
13
- <Box height="560px" bg="bg">
14
- <Story />
15
- </Box>
16
- ),
17
- ],
18
- args: {
19
- title: "Project",
20
- },
21
- };
22
-
23
- export default meta;
24
-
25
- type Story = StoryObj<typeof PanelMenu>;
26
-
27
- export const Default: Story = {};
28
-
29
- export const WithSections: Story = {
30
- args: {
31
- title: "Resources",
32
- children: (
33
- <Stack gap="sm">
34
- <ItemSection title="Workspace">
35
- <MenuItem primaryLabel="Overview" leftIcon={FileText} />
36
- <MenuItem primaryLabel="Files" leftIcon={Folder} />
37
- </ItemSection>
38
- <ItemSection title="Settings">
39
- <MenuItem primaryLabel="Preferences" leftIcon={Settings} />
40
- </ItemSection>
41
- </Stack>
42
- ),
43
- },
44
- };
@@ -1,27 +0,0 @@
1
- import { Flex, Stack, Text } from "@chakra-ui/react";
2
- import type { ReactNode } from "react";
3
-
4
- interface PanelMenuProps {
5
- title: string;
6
- children?: ReactNode;
7
- }
8
-
9
- export function PanelMenu(props: PanelMenuProps) {
10
- const { title, children } = props;
11
-
12
- return (
13
- <Stack borderRightWidth="1px" width="64" gap="0" minH="0">
14
- <Flex height="49px" p="xs" borderBottomWidth="1px" alignItems="center">
15
- <Text pb="0" textStyle="label/L/medium" color="fg.muted">
16
- {title}
17
- </Text>
18
- </Flex>
19
-
20
- {children && (
21
- <Stack p="xs" gap="xs" flex="1" minH="0" overflowY="auto">
22
- {children}
23
- </Stack>
24
- )}
25
- </Stack>
26
- );
27
- }