@pstdio/ui 0.0.1

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 (697) hide show
  1. package/.storybook/main.ts +28 -0
  2. package/.storybook/preview.tsx +28 -0
  3. package/.storybook/vitest.setup.ts +6 -0
  4. package/README.md +72 -0
  5. package/package.json +91 -0
  6. package/src/components/alert.tsx +27 -0
  7. package/src/components/breadcrumb.stories.tsx +40 -0
  8. package/src/components/breadcrumb.tsx +67 -0
  9. package/src/components/button.stories.tsx +151 -0
  10. package/src/components/chat-ui/agent-types.ts +231 -0
  11. package/src/components/chat-ui/components/ai-conversation.stories.tsx +49 -0
  12. package/src/components/chat-ui/components/ai-conversation.tsx +68 -0
  13. package/src/components/chat-ui/components/ai-message.stories.tsx +60 -0
  14. package/src/components/chat-ui/components/ai-message.tsx +103 -0
  15. package/src/components/chat-ui/components/ai-response.stories.tsx +48 -0
  16. package/src/components/chat-ui/components/ai-response.tsx +19 -0
  17. package/src/components/chat-ui/components/approval-prompt.tsx +51 -0
  18. package/src/components/chat-ui/components/attachment-list.stories.tsx +24 -0
  19. package/src/components/chat-ui/components/attachment-list.tsx +76 -0
  20. package/src/components/chat-ui/components/auto-scroll.tsx +42 -0
  21. package/src/components/chat-ui/components/chat-input.stories.tsx +114 -0
  22. package/src/components/chat-ui/components/chat-input.tsx +142 -0
  23. package/src/components/chat-ui/components/chat-panel.stories.tsx +396 -0
  24. package/src/components/chat-ui/components/chat-panel.tsx +97 -0
  25. package/src/components/chat-ui/components/message-parts-renderer.stories.tsx +59 -0
  26. package/src/components/chat-ui/components/message-parts-renderer.tsx +133 -0
  27. package/src/components/chat-ui/components/message-types.ts +40 -0
  28. package/src/components/chat-ui/components/model-swap-separator.stories.tsx +27 -0
  29. package/src/components/chat-ui/components/model-swap-separator.tsx +20 -0
  30. package/src/components/chat-ui/components/send-button.tsx +56 -0
  31. package/src/components/chat-ui/components/timeline.tsx +414 -0
  32. package/src/components/chat-ui/components/tool-invocation-timeline.stories.tsx +32 -0
  33. package/src/components/chat-ui/components/tool-invocation-timeline.tsx +16 -0
  34. package/src/components/chat-ui/mocks/full-conversation-normalized.json +3557 -0
  35. package/src/components/chat-ui/tool-rendering/build-timeline.ts +127 -0
  36. package/src/components/chat-ui/tool-rendering/default-renderers.ts +420 -0
  37. package/src/components/chat-ui/tool-rendering/index.ts +3 -0
  38. package/src/components/chat-ui/tool-rendering/types.ts +19 -0
  39. package/src/components/chat-ui/utils/diff.ts +228 -0
  40. package/src/components/chat-ui/utils/editor-state.ts +5 -0
  41. package/src/components/chat-ui/utils/get-icon.ts +81 -0
  42. package/src/components/code-editor.tsx +147 -0
  43. package/src/components/column-file-browser.stories.tsx +217 -0
  44. package/src/components/column-file-browser.tsx +380 -0
  45. package/src/components/content-placeholder.tsx +21 -0
  46. package/src/components/data-table/build-columns.tsx +78 -0
  47. package/src/components/data-table/data-table.css +51 -0
  48. package/src/components/data-table/data-table.stories.tsx +209 -0
  49. package/src/components/data-table/data-table.tsx +232 -0
  50. package/src/components/data-table/helpers.tsx +69 -0
  51. package/src/components/data-table/index.ts +3 -0
  52. package/src/components/data-table/pagination-footer.tsx +58 -0
  53. package/src/components/data-table/selection-toolbar.tsx +26 -0
  54. package/src/components/data-table/types.ts +21 -0
  55. package/src/components/delete-confirmation-modal.stories.tsx +46 -0
  56. package/src/components/delete-confirmation-modal.tsx +56 -0
  57. package/src/components/diff-bubble.stories.tsx +70 -0
  58. package/src/components/diff-bubble.tsx +70 -0
  59. package/src/components/diff-card.tsx +139 -0
  60. package/src/components/diff-drawer.stories.tsx +106 -0
  61. package/src/components/diff-drawer.tsx +59 -0
  62. package/src/components/diff-editor.tsx +55 -0
  63. package/src/components/drawer-inline.stories.tsx +124 -0
  64. package/src/components/drawer-inline.tsx +90 -0
  65. package/src/components/empty-state.stories.tsx +65 -0
  66. package/src/components/empty-state.tsx +28 -0
  67. package/src/components/error-boundary.tsx +80 -0
  68. package/src/components/file-selector.stories.tsx +166 -0
  69. package/src/components/file-selector.tsx +192 -0
  70. package/src/components/file-tree-helpers.ts +28 -0
  71. package/src/components/horizontal-menu-stack.tsx +15 -0
  72. package/src/components/info-card.stories.tsx +120 -0
  73. package/src/components/info-card.tsx +60 -0
  74. package/src/components/item-section.stories.tsx +57 -0
  75. package/src/components/item-section.tsx +57 -0
  76. package/src/components/layout.stories.tsx +341 -0
  77. package/src/components/layout.tsx +67 -0
  78. package/src/components/menu-item.stories.tsx +162 -0
  79. package/src/components/menu-item.tsx +207 -0
  80. package/src/components/number-input.tsx +21 -0
  81. package/src/components/open-source-notices-screen.stories.tsx +69 -0
  82. package/src/components/open-source-notices-screen.tsx +154 -0
  83. package/src/components/panel-menu.stories.tsx +44 -0
  84. package/src/components/panel-menu.tsx +27 -0
  85. package/src/components/param-editor-color-input.tsx +98 -0
  86. package/src/components/param-editor-date-input.tsx +106 -0
  87. package/src/components/param-editor-horizontal-text-input.tsx +130 -0
  88. package/src/components/param-editor-horizontal.stories.tsx +545 -0
  89. package/src/components/param-editor-horizontal.tsx +137 -0
  90. package/src/components/param-editor-input-group.tsx +145 -0
  91. package/src/components/param-editor-number-input.tsx +145 -0
  92. package/src/components/param-editor-selection-input.tsx +181 -0
  93. package/src/components/param-editor-text-input.tsx +113 -0
  94. package/src/components/param-editor.stories.tsx +986 -0
  95. package/src/components/param-editor.tsx +142 -0
  96. package/src/components/param-editor.types.ts +95 -0
  97. package/src/components/properties.stories.tsx +108 -0
  98. package/src/components/properties.tsx +73 -0
  99. package/src/components/pstdio-logo.tsx +26 -0
  100. package/src/components/resource-badge.stories.tsx +26 -0
  101. package/src/components/resource-badge.tsx +173 -0
  102. package/src/components/rich-text/collaborative-markdown-editor/awareness-cursors.tsx +45 -0
  103. package/src/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.tsx +230 -0
  104. package/src/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.tsx +131 -0
  105. package/src/components/rich-text/index.ts +14 -0
  106. package/src/components/rich-text/markdown-editor/markdown-editor.stories.tsx +147 -0
  107. package/src/components/rich-text/markdown-editor/markdown-editor.tsx +112 -0
  108. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.tsx +100 -0
  109. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.ts +32 -0
  110. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.ts +2 -0
  111. package/src/components/rich-text/prompt-input/commands.ts +44 -0
  112. package/src/components/rich-text/prompt-input/events.ts +21 -0
  113. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.tsx +8 -0
  114. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.ts +49 -0
  115. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.ts +30 -0
  116. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.tsx +127 -0
  117. package/src/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.tsx +32 -0
  118. package/src/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.tsx +30 -0
  119. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.ts +15 -0
  120. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.tsx +88 -0
  121. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.tsx +90 -0
  122. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.tsx +50 -0
  123. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.ts +3 -0
  124. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.tsx +50 -0
  125. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.ts +45 -0
  126. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.ts +20 -0
  127. package/src/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.tsx +50 -0
  128. package/src/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.tsx +107 -0
  129. package/src/components/rich-text/prompt-input/plugins/keyboard-shortcuts.ts +13 -0
  130. package/src/components/rich-text/prompt-input/prompt-input.stories.tsx +87 -0
  131. package/src/components/rich-text/prompt-input/prompt-input.tsx +106 -0
  132. package/src/components/rich-text/prompt-input/theme/prompt-input-theme.css +3 -0
  133. package/src/components/rich-text/prompt-input/theme/prompt-input-theme.ts +11 -0
  134. package/src/components/rich-text/prompt-input/utils.ts +158 -0
  135. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.tsx +100 -0
  136. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.ts +32 -0
  137. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.ts +2 -0
  138. package/src/components/rich-text/rich-message/rich-message.stories.tsx +146 -0
  139. package/src/components/rich-text/rich-message/rich-message.tsx +118 -0
  140. package/src/components/rich-text/shared/components/content-editable.tsx +28 -0
  141. package/src/components/rich-text/shared/components/default-rich-text-components.tsx +99 -0
  142. package/src/components/rich-text/shared/editor-config.ts +38 -0
  143. package/src/components/rich-text/shared/nodes/DataTableNode.stories.tsx +52 -0
  144. package/src/components/rich-text/shared/nodes/DataTableNode.tsx +73 -0
  145. package/src/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.tsx +22 -0
  146. package/src/components/rich-text/shared/plugins/CodePlugin/CodeNode.tsx +57 -0
  147. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.tsx +46 -0
  148. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationNode.tsx +161 -0
  149. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.css +16 -0
  150. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.tsx +45 -0
  151. package/src/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.tsx +40 -0
  152. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.css +26 -0
  153. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.tsx +414 -0
  154. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.ts +1 -0
  155. package/src/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.ts +52 -0
  156. package/src/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.ts +16 -0
  157. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.css +163 -0
  158. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.tsx +355 -0
  159. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.tsx +6 -0
  160. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.ts +17 -0
  161. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.ts +39 -0
  162. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.ts +23 -0
  163. package/src/components/rich-text/shared/plugins/StateUpdatePlugin.tsx +21 -0
  164. package/src/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.tsx +224 -0
  165. package/src/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.css +3 -0
  166. package/src/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.tsx +315 -0
  167. package/src/components/rich-text/shared/plugins/ToggleEditablePlugin.tsx +12 -0
  168. package/src/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.tsx +20 -0
  169. package/src/components/rich-text/shared/transformers/markdown-transformers.ts +123 -0
  170. package/src/components/rich-text/shared/types/rich-text-components.ts +17 -0
  171. package/src/components/rich-text/theme/report-theme.tsx +81 -0
  172. package/src/components/rich-text/theme/rich-text-theme.css +773 -0
  173. package/src/components/rich-text/theme/rich-text-theme.tsx +81 -0
  174. package/src/components/rich-text/types.ts +9 -0
  175. package/src/components/rich-text/utils/inferResourceType.ts +17 -0
  176. package/src/components/rich-text/utils/markdown.ts +12 -0
  177. package/src/components/rich-text/utils/mediaType.ts +31 -0
  178. package/src/components/session-indicator.stories.tsx +46 -0
  179. package/src/components/session-indicator.tsx +40 -0
  180. package/src/components/slider.stories.tsx +38 -0
  181. package/src/components/slider.tsx +20 -0
  182. package/src/components/style-guide-data.ts +374 -0
  183. package/src/components/style-guide.stories.tsx +212 -0
  184. package/src/components/style-guide.tsx +305 -0
  185. package/src/components/ticket-board.stories.tsx +109 -0
  186. package/src/components/ticket-board.tsx +167 -0
  187. package/src/components/ticket-card.stories.tsx +133 -0
  188. package/src/components/ticket-card.tsx +126 -0
  189. package/src/components/toaster.stories.tsx +79 -0
  190. package/src/components/toaster.tsx +26 -0
  191. package/src/components/tooltip.tsx +43 -0
  192. package/src/index.ts +16 -0
  193. package/src/theme/global.ts +49 -0
  194. package/src/theme/index.ts +10 -0
  195. package/src/theme/primitives/colors.ts +209 -0
  196. package/src/theme/primitives/fonts.ts +33 -0
  197. package/src/theme/primitives/sizes.ts +49 -0
  198. package/src/theme/recipes/alert.ts +12 -0
  199. package/src/theme/recipes/button.ts +124 -0
  200. package/src/theme/recipes/dialog.ts +11 -0
  201. package/src/theme/recipes/divider.ts +7 -0
  202. package/src/theme/recipes/drawer.ts +16 -0
  203. package/src/theme/recipes/editable.ts +42 -0
  204. package/src/theme/recipes/form.ts +11 -0
  205. package/src/theme/recipes/input.ts +25 -0
  206. package/src/theme/recipes/menu.ts +40 -0
  207. package/src/theme/recipes/popover.ts +46 -0
  208. package/src/theme/recipes/progress-circle.ts +22 -0
  209. package/src/theme/recipes/skeleton.ts +8 -0
  210. package/src/theme/recipes/textarea.ts +29 -0
  211. package/src/theme/recipes/tooltip.ts +15 -0
  212. package/src/theme/theme.ts +70 -0
  213. package/src/theme/tokens/borders.ts +38 -0
  214. package/src/theme/tokens/colors.ts +488 -0
  215. package/src/theme/tokens/layer-styles.ts +15 -0
  216. package/src/theme/tokens/shadows.ts +47 -0
  217. package/src/theme/tokens/text.ts +236 -0
  218. package/src/utils/apply-theme-preference.ts +17 -0
  219. package/src/utils/formats.ts +27 -0
  220. package/src/utils/get-file-type-icon.ts +52 -0
  221. package/src/utils/theme-preference.tsx +60 -0
  222. package/src/vite-env.d.ts +6 -0
  223. package/storybook-static/assets/CodeBlockPlugin-C3OWpvP8.js +281 -0
  224. package/storybook-static/assets/CodeBlockPlugin-e2vWgtYm.css +1 -0
  225. package/storybook-static/assets/DataTableNode.stories-DLgTftOI.js +33 -0
  226. package/storybook-static/assets/EquationComponent-CUFxwyNf.js +1 -0
  227. package/storybook-static/assets/EquationComponent-DWZwfaVI.css +1 -0
  228. package/storybook-static/assets/FloatingTextFormatToolbarPlugin-B6jc8xvg.js +1 -0
  229. package/storybook-static/assets/FloatingTextFormatToolbarPlugin-D2l3--Te.css +1 -0
  230. package/storybook-static/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  231. package/storybook-static/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  232. package/storybook-static/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  233. package/storybook-static/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  234. package/storybook-static/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  235. package/storybook-static/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  236. package/storybook-static/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  237. package/storybook-static/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  238. package/storybook-static/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  239. package/storybook-static/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  240. package/storybook-static/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  241. package/storybook-static/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  242. package/storybook-static/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  243. package/storybook-static/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  244. package/storybook-static/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  245. package/storybook-static/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  246. package/storybook-static/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  247. package/storybook-static/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  248. package/storybook-static/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  249. package/storybook-static/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  250. package/storybook-static/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  251. package/storybook-static/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  252. package/storybook-static/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  253. package/storybook-static/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  254. package/storybook-static/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  255. package/storybook-static/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  256. package/storybook-static/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  257. package/storybook-static/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  258. package/storybook-static/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  259. package/storybook-static/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  260. package/storybook-static/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  261. package/storybook-static/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  262. package/storybook-static/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  263. package/storybook-static/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  264. package/storybook-static/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  265. package/storybook-static/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  266. package/storybook-static/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  267. package/storybook-static/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  268. package/storybook-static/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  269. package/storybook-static/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  270. package/storybook-static/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  271. package/storybook-static/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  272. package/storybook-static/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  273. package/storybook-static/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  274. package/storybook-static/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  275. package/storybook-static/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  276. package/storybook-static/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  277. package/storybook-static/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  278. package/storybook-static/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  279. package/storybook-static/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  280. package/storybook-static/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  281. package/storybook-static/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  282. package/storybook-static/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  283. package/storybook-static/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  284. package/storybook-static/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  285. package/storybook-static/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  286. package/storybook-static/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  287. package/storybook-static/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  288. package/storybook-static/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  289. package/storybook-static/assets/LexicalHistoryPlugin.prod-BQAibkDj.js +1 -0
  290. package/storybook-static/assets/TreeViewPlugin-CyVKCrKJ.js +24 -0
  291. package/storybook-static/assets/ai-conversation-DcjS--ee.js +1 -0
  292. package/storybook-static/assets/ai-conversation.stories-COjWuS8V.js +3 -0
  293. package/storybook-static/assets/ai-message-DLdAGhWH.js +1 -0
  294. package/storybook-static/assets/ai-message.stories-CRTyreKL.js +3 -0
  295. package/storybook-static/assets/ai-response-ySM6s0iN.js +1 -0
  296. package/storybook-static/assets/ai-response.stories-DVBYlrGf.js +11 -0
  297. package/storybook-static/assets/attachment-list-1p1601I5.js +1 -0
  298. package/storybook-static/assets/attachment-list.stories-Cydlsnio.js +7 -0
  299. package/storybook-static/assets/badge-CtgJasjB.js +1 -0
  300. package/storybook-static/assets/breadcrumb.stories-SAjB-iqH.js +5 -0
  301. package/storybook-static/assets/button-C7it2n8t.js +1 -0
  302. package/storybook-static/assets/button.stories-BMVbbb4y.js +72 -0
  303. package/storybook-static/assets/chat-input-B-915nCM.js +1 -0
  304. package/storybook-static/assets/chat-input.stories-DrxvpT9p.js +32 -0
  305. package/storybook-static/assets/chat-panel.stories-D0L6eIte.js +96 -0
  306. package/storybook-static/assets/chevron-down-BYCAGyCV.js +1 -0
  307. package/storybook-static/assets/chevron-right-owK1wZnx.js +1 -0
  308. package/storybook-static/assets/collaborative-markdown-editor-Bj0GvTvv.js +41 -0
  309. package/storybook-static/assets/collaborative-markdown-editor.stories-B_MUIC5s.js +11 -0
  310. package/storybook-static/assets/collapsible-DBDG7h1r.js +1 -0
  311. package/storybook-static/assets/collapsible-content-B1Uq3jUM.js +1 -0
  312. package/storybook-static/assets/column-file-browser.stories-DPMQnHCw.js +54 -0
  313. package/storybook-static/assets/compiler-runtime-BXE7OOXE.js +1 -0
  314. package/storybook-static/assets/computed-style-C0hzrq9-.js +1 -0
  315. package/storybook-static/assets/create-recipe-context-BU56IzEo.js +1 -0
  316. package/storybook-static/assets/create-slot-recipe-context-DAhDE6G_.js +1 -0
  317. package/storybook-static/assets/create-split-props-u5h9OPvL.js +1 -0
  318. package/storybook-static/assets/createLucideIcon-CcBBUKX8.js +1 -0
  319. package/storybook-static/assets/data-table-vuIeWXui.css +1 -0
  320. package/storybook-static/assets/data-table.stories-Cs-q7dpj.js +19 -0
  321. package/storybook-static/assets/delete-confirmation-modal.stories-C8vDKFRD.js +14 -0
  322. package/storybook-static/assets/diff-bubble-_zZypMRt.js +1 -0
  323. package/storybook-static/assets/diff-bubble.stories-DfonanIk.js +39 -0
  324. package/storybook-static/assets/diff-drawer.stories-CGDWiKD8.js +38 -0
  325. package/storybook-static/assets/diff-editor-DV9BXqbn.js +11 -0
  326. package/storybook-static/assets/dismissable-layer-Cc5dFRd8.js +1 -0
  327. package/storybook-static/assets/drawer-inline.stories-B3Tp7vjL.js +88 -0
  328. package/storybook-static/assets/empty-state-BXkyq69k.js +1 -0
  329. package/storybook-static/assets/empty-state.stories-6eYYBOWR.js +29 -0
  330. package/storybook-static/assets/factory-BR3bc_RM.js +1 -0
  331. package/storybook-static/assets/factory-DAJZwK4o.js +1 -0
  332. package/storybook-static/assets/file-selector.stories-PKIGBUd5.js +31 -0
  333. package/storybook-static/assets/file-text-D5m8MJlG.js +1 -0
  334. package/storybook-static/assets/flex-DAJL4AFZ.js +1 -0
  335. package/storybook-static/assets/folder-C5dba_Co.js +1 -0
  336. package/storybook-static/assets/form-D_Xln9tK.js +1 -0
  337. package/storybook-static/assets/full-conversation-normalized-LUbl1coD.js +1 -0
  338. package/storybook-static/assets/grid-7OIKBlfh.js +1 -0
  339. package/storybook-static/assets/h-stack-DWHd8f97.js +1 -0
  340. package/storybook-static/assets/horizontal-menu-stack-Cph6x7ui.js +1 -0
  341. package/storybook-static/assets/icon-C8FN9JqD.js +1 -0
  342. package/storybook-static/assets/icon-button-DHiUe7rR.js +1 -0
  343. package/storybook-static/assets/icons-WRA1cA-W.js +1 -0
  344. package/storybook-static/assets/iframe-2XPD_vrQ.css +1 -0
  345. package/storybook-static/assets/iframe-B8FSoBNY.js +1075 -0
  346. package/storybook-static/assets/index-B0y2_lLF.js +1 -0
  347. package/storybook-static/assets/index-CXwl6T4k.js +1 -0
  348. package/storybook-static/assets/index-DaXC_qY_.js +1 -0
  349. package/storybook-static/assets/index-DpB4ozcR.js +1 -0
  350. package/storybook-static/assets/index-cFwdnc0b.js +1 -0
  351. package/storybook-static/assets/info-DlgY5-DW.js +1 -0
  352. package/storybook-static/assets/info-card.stories-Cry0Qfrn.js +55 -0
  353. package/storybook-static/assets/input-ZSs5cSFQ.js +1 -0
  354. package/storybook-static/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
  355. package/storybook-static/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
  356. package/storybook-static/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
  357. package/storybook-static/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
  358. package/storybook-static/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
  359. package/storybook-static/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
  360. package/storybook-static/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
  361. package/storybook-static/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
  362. package/storybook-static/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
  363. package/storybook-static/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
  364. package/storybook-static/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
  365. package/storybook-static/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
  366. package/storybook-static/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
  367. package/storybook-static/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
  368. package/storybook-static/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
  369. package/storybook-static/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
  370. package/storybook-static/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
  371. package/storybook-static/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
  372. package/storybook-static/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
  373. package/storybook-static/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
  374. package/storybook-static/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
  375. package/storybook-static/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
  376. package/storybook-static/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
  377. package/storybook-static/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
  378. package/storybook-static/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
  379. package/storybook-static/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
  380. package/storybook-static/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
  381. package/storybook-static/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
  382. package/storybook-static/assets/item-section-AoQrVPNJ.js +1 -0
  383. package/storybook-static/assets/item-section.stories-kYTPHRsx.js +24 -0
  384. package/storybook-static/assets/layout.stories-DhSjwzU1.js +3 -0
  385. package/storybook-static/assets/link-DE5grRtm.js +1 -0
  386. package/storybook-static/assets/markdown-BLUemkxK.js +1 -0
  387. package/storybook-static/assets/markdown-editor-Y4eMsgVb.js +1 -0
  388. package/storybook-static/assets/markdown-editor.stories-DIWw-hRP.js +115 -0
  389. package/storybook-static/assets/menu-item-CrqDaj9K.js +1 -0
  390. package/storybook-static/assets/menu-item.stories-D9Isjjrf.js +68 -0
  391. package/storybook-static/assets/message-parts-renderer.stories-CewRvbm7.js +5 -0
  392. package/storybook-static/assets/message-types-CEyA7Qm7.js +60 -0
  393. package/storybook-static/assets/model-swap-separator.stories-DrQW2NWQ.js +9 -0
  394. package/storybook-static/assets/mutation-observer-CAfGweIM.js +1 -0
  395. package/storybook-static/assets/normalize-props-D7NI5JRu.js +1 -0
  396. package/storybook-static/assets/number-C92MPsRM.js +1 -0
  397. package/storybook-static/assets/number-input-D1aC-9ls.js +7 -0
  398. package/storybook-static/assets/onest-cyrillic-400-normal-BxvCLB5P.woff +0 -0
  399. package/storybook-static/assets/onest-cyrillic-400-normal-DH8vlB-A.woff2 +0 -0
  400. package/storybook-static/assets/onest-cyrillic-500-normal-CyY1vN0Q.woff +0 -0
  401. package/storybook-static/assets/onest-cyrillic-500-normal-DHyr8B2c.woff2 +0 -0
  402. package/storybook-static/assets/onest-cyrillic-700-normal-CwpXuTGk.woff2 +0 -0
  403. package/storybook-static/assets/onest-cyrillic-700-normal-DOtXtm0s.woff +0 -0
  404. package/storybook-static/assets/onest-latin-400-normal-BAzPRZHg.woff +0 -0
  405. package/storybook-static/assets/onest-latin-400-normal-bladozIj.woff2 +0 -0
  406. package/storybook-static/assets/onest-latin-500-normal-oFTiz6Nq.woff +0 -0
  407. package/storybook-static/assets/onest-latin-500-normal-qHiQtL66.woff2 +0 -0
  408. package/storybook-static/assets/onest-latin-700-normal-Bd6qVL4Q.woff2 +0 -0
  409. package/storybook-static/assets/onest-latin-700-normal-XTvQgpoh.woff +0 -0
  410. package/storybook-static/assets/onest-latin-ext-400-normal--mQR5RlC.woff2 +0 -0
  411. package/storybook-static/assets/onest-latin-ext-400-normal-BbXTNVXw.woff +0 -0
  412. package/storybook-static/assets/onest-latin-ext-500-normal-BlXa29q8.woff2 +0 -0
  413. package/storybook-static/assets/onest-latin-ext-500-normal-CoujUMv_.woff +0 -0
  414. package/storybook-static/assets/onest-latin-ext-700-normal-C-Tcltod.woff2 +0 -0
  415. package/storybook-static/assets/onest-latin-ext-700-normal-CSGWRWNE.woff +0 -0
  416. package/storybook-static/assets/open-source-notices-screen.stories-BpdJxDZC.js +21 -0
  417. package/storybook-static/assets/overflow-CkG1DOya.js +1 -0
  418. package/storybook-static/assets/panel-menu-CqLSrdTB.js +1 -0
  419. package/storybook-static/assets/panel-menu.stories-CxdWaWjq.js +14 -0
  420. package/storybook-static/assets/param-editor-horizontal.stories-C1o-VOjG.js +561 -0
  421. package/storybook-static/assets/param-editor-selection-input-2pJE1_W1.js +1 -0
  422. package/storybook-static/assets/param-editor.stories-0ae3y4Vu.js +921 -0
  423. package/storybook-static/assets/playfair-display-cyrillic-400-normal-CjW2EstV.woff2 +0 -0
  424. package/storybook-static/assets/playfair-display-cyrillic-400-normal-ZiRag6zj.woff +0 -0
  425. package/storybook-static/assets/playfair-display-cyrillic-600-normal-DbWAkkgN.woff +0 -0
  426. package/storybook-static/assets/playfair-display-cyrillic-600-normal-oLY6jnZ7.woff2 +0 -0
  427. package/storybook-static/assets/playfair-display-cyrillic-700-normal-Dk1mTcxf.woff +0 -0
  428. package/storybook-static/assets/playfair-display-cyrillic-700-normal-Dw3uKy19.woff2 +0 -0
  429. package/storybook-static/assets/playfair-display-latin-400-normal-CFtfchNt.woff2 +0 -0
  430. package/storybook-static/assets/playfair-display-latin-400-normal-DHYHbkg3.woff +0 -0
  431. package/storybook-static/assets/playfair-display-latin-600-normal-CZLGqjJe.woff2 +0 -0
  432. package/storybook-static/assets/playfair-display-latin-600-normal-CxxueQ0Z.woff +0 -0
  433. package/storybook-static/assets/playfair-display-latin-700-normal-Bc_1Q1cG.woff +0 -0
  434. package/storybook-static/assets/playfair-display-latin-700-normal-CuDiGg7c.woff2 +0 -0
  435. package/storybook-static/assets/playfair-display-latin-ext-400-normal-BxlSGspa.woff2 +0 -0
  436. package/storybook-static/assets/playfair-display-latin-ext-400-normal-qdZwdvNS.woff +0 -0
  437. package/storybook-static/assets/playfair-display-latin-ext-600-normal-BumBfC1v.woff +0 -0
  438. package/storybook-static/assets/playfair-display-latin-ext-600-normal-CEjQclLc.woff2 +0 -0
  439. package/storybook-static/assets/playfair-display-latin-ext-700-normal-C58ejOkc.woff2 +0 -0
  440. package/storybook-static/assets/playfair-display-latin-ext-700-normal-D5HUU8GT.woff +0 -0
  441. package/storybook-static/assets/playfair-display-vietnamese-400-normal-BV2APVTb.woff2 +0 -0
  442. package/storybook-static/assets/playfair-display-vietnamese-400-normal-BbvUAu4N.woff +0 -0
  443. package/storybook-static/assets/playfair-display-vietnamese-600-normal-BPJkAZPN.woff +0 -0
  444. package/storybook-static/assets/playfair-display-vietnamese-600-normal-ICsRR-qJ.woff2 +0 -0
  445. package/storybook-static/assets/playfair-display-vietnamese-700-normal-CaKJSIny.woff2 +0 -0
  446. package/storybook-static/assets/playfair-display-vietnamese-700-normal-Cr1rw0mr.woff +0 -0
  447. package/storybook-static/assets/portal-CZHfPTRw.js +1 -0
  448. package/storybook-static/assets/preload-helper-PPVm8Dsz.js +1 -0
  449. package/storybook-static/assets/prompt-input-BLCttowi.js +14 -0
  450. package/storybook-static/assets/prompt-input-BVbz9joI.css +1 -0
  451. package/storybook-static/assets/prompt-input.stories-J8-AMVXy.js +9 -0
  452. package/storybook-static/assets/properties.stories-Bs7ivKgb.js +59 -0
  453. package/storybook-static/assets/react-18-KY0R7ltw.js +9 -0
  454. package/storybook-static/assets/render-strategy-BebqUNCa.js +1 -0
  455. package/storybook-static/assets/resource-badge-Bw5UoU4J.js +1 -0
  456. package/storybook-static/assets/resource-badge.stories-DtSh-RX9.js +9 -0
  457. package/storybook-static/assets/rich-message-BIkzo1SM.js +1 -0
  458. package/storybook-static/assets/rich-message.stories-C9Wc4d3O.js +115 -0
  459. package/storybook-static/assets/rich-text-theme-Bkhh9rAZ.js +14 -0
  460. package/storybook-static/assets/rich-text-theme-K2MBoCbx.css +1 -0
  461. package/storybook-static/assets/separator-CQkMOHNm.js +1 -0
  462. package/storybook-static/assets/settings-DUgg22A7.js +1 -0
  463. package/storybook-static/assets/simple-grid-DIKjhnVI.js +1 -0
  464. package/storybook-static/assets/spinner-ZYH_gvW-.js +1 -0
  465. package/storybook-static/assets/stack-CN4X31TA.js +1 -0
  466. package/storybook-static/assets/star-CvcHIXRa.js +1 -0
  467. package/storybook-static/assets/style-guide.stories-BUvEhZov.js +6 -0
  468. package/storybook-static/assets/tabbable-DHAf8oAu.js +1 -0
  469. package/storybook-static/assets/table-BKNSzs2r.js +1 -0
  470. package/storybook-static/assets/textarea-rqmaWSc5.js +1 -0
  471. package/storybook-static/assets/toaster-d9nN0H7K.js +1 -0
  472. package/storybook-static/assets/toaster.stories-BRVCYyaM.js +52 -0
  473. package/storybook-static/assets/tool-invocation-timeline-B-cS0W6M.js +59 -0
  474. package/storybook-static/assets/tool-invocation-timeline.stories-DXO59O73.js +5 -0
  475. package/storybook-static/assets/tooltip-C_a-XGZ8.js +1 -0
  476. package/storybook-static/assets/tooltip-DZxUoouw.js +1 -0
  477. package/storybook-static/assets/trash-2-BO05slEk.js +1 -0
  478. package/storybook-static/assets/typeahead-CuY9WxfQ.js +1 -0
  479. package/storybook-static/assets/use-field-context-DoxKQlMm.js +1 -0
  480. package/storybook-static/assets/use-presence-context-DK2PGZth.js +1 -0
  481. package/storybook-static/assets/v-stack-Btoq6OB_.js +1 -0
  482. package/storybook-static/assets/x-D42ziktz.js +1 -0
  483. package/storybook-static/components/alert.d.ts +9 -0
  484. package/storybook-static/components/breadcrumb.d.ts +18 -0
  485. package/storybook-static/components/breadcrumb.stories.d.ts +25 -0
  486. package/storybook-static/components/chat-ui/agent-types.d.ts +205 -0
  487. package/storybook-static/components/chat-ui/components/ai-conversation.stories.d.ts +6 -0
  488. package/storybook-static/components/chat-ui/components/ai-message.d.ts +94 -0
  489. package/storybook-static/components/chat-ui/components/ai-message.stories.d.ts +6 -0
  490. package/storybook-static/components/chat-ui/components/ai-response.d.ts +6 -0
  491. package/storybook-static/components/chat-ui/components/ai-response.stories.d.ts +7 -0
  492. package/storybook-static/components/chat-ui/components/approval-prompt.d.ts +8 -0
  493. package/storybook-static/components/chat-ui/components/attachment-list.d.ts +23 -0
  494. package/storybook-static/components/chat-ui/components/attachment-list.stories.d.ts +6 -0
  495. package/storybook-static/components/chat-ui/components/auto-scroll.d.ts +10 -0
  496. package/storybook-static/components/chat-ui/components/chat-input.d.ts +16 -0
  497. package/storybook-static/components/chat-ui/components/chat-input.stories.d.ts +7 -0
  498. package/storybook-static/components/chat-ui/components/chat-panel.d.ts +18 -0
  499. package/storybook-static/components/chat-ui/components/chat-panel.stories.d.ts +8 -0
  500. package/storybook-static/components/chat-ui/components/message-parts-renderer.d.ts +12 -0
  501. package/storybook-static/components/chat-ui/components/message-parts-renderer.stories.d.ts +7 -0
  502. package/storybook-static/components/chat-ui/components/message-types.d.ts +6 -0
  503. package/storybook-static/components/chat-ui/components/model-swap-separator.d.ts +5 -0
  504. package/storybook-static/components/chat-ui/components/model-swap-separator.stories.d.ts +6 -0
  505. package/storybook-static/components/chat-ui/components/send-button.d.ts +7 -0
  506. package/storybook-static/components/chat-ui/components/timeline.d.ts +86 -0
  507. package/storybook-static/components/chat-ui/components/tool-invocation-timeline.d.ts +7 -0
  508. package/storybook-static/components/chat-ui/components/tool-invocation-timeline.stories.d.ts +6 -0
  509. package/storybook-static/components/chat-ui/mocks/full-conversation-normalized.json.d.ts +3560 -0
  510. package/storybook-static/components/chat-ui/tool-rendering/build-timeline.d.ts +23 -0
  511. package/storybook-static/components/chat-ui/tool-rendering/default-renderers.d.ts +9 -0
  512. package/storybook-static/components/chat-ui/tool-rendering/index.d.ts +3 -0
  513. package/storybook-static/components/chat-ui/tool-rendering/types.d.ts +13 -0
  514. package/storybook-static/components/chat-ui/utils/diff.d.ts +21 -0
  515. package/storybook-static/components/chat-ui/utils/editor-state.d.ts +1 -0
  516. package/storybook-static/components/code-editor.d.ts +33 -0
  517. package/storybook-static/components/column-file-browser.d.ts +21 -0
  518. package/storybook-static/components/content-placeholder.d.ts +5 -0
  519. package/storybook-static/components/data-table.d.ts +18 -0
  520. package/storybook-static/components/data-table.stories.d.ts +33 -0
  521. package/storybook-static/components/delete-confirmation-modal.d.ts +10 -0
  522. package/storybook-static/components/delete-confirmation-modal.stories.d.ts +11 -0
  523. package/storybook-static/components/diff-bubble.d.ts +14 -0
  524. package/storybook-static/components/diff-bubble.stories.d.ts +13 -0
  525. package/storybook-static/components/diff-card.d.ts +14 -0
  526. package/storybook-static/components/diff-drawer.d.ts +6 -0
  527. package/storybook-static/components/diff-drawer.stories.d.ts +8 -0
  528. package/storybook-static/components/diff-editor.d.ts +9 -0
  529. package/storybook-static/components/drawer-inline.d.ts +24 -0
  530. package/storybook-static/components/drawer-inline.stories.d.ts +8 -0
  531. package/storybook-static/components/empty-state.d.ts +8 -0
  532. package/storybook-static/components/empty-state.stories.d.ts +34 -0
  533. package/storybook-static/components/error-boundary.d.ts +26 -0
  534. package/storybook-static/components/file-selector.d.ts +13 -0
  535. package/storybook-static/components/file-tree-helpers.d.ts +8 -0
  536. package/storybook-static/components/horizontal-menu-stack.d.ts +6 -0
  537. package/storybook-static/components/info-card.d.ts +13 -0
  538. package/storybook-static/components/item-section.d.ts +11 -0
  539. package/storybook-static/components/item-section.stories.d.ts +17 -0
  540. package/storybook-static/components/layout.d.ts +14 -0
  541. package/storybook-static/components/layout.stories.d.ts +11 -0
  542. package/storybook-static/components/menu-item.d.ts +40 -0
  543. package/storybook-static/components/open-source-notices-screen.d.ts +20 -0
  544. package/storybook-static/components/open-source-notices-screen.stories.d.ts +12 -0
  545. package/storybook-static/components/panel-menu.d.ts +7 -0
  546. package/storybook-static/components/panel-menu.stories.d.ts +7 -0
  547. package/storybook-static/components/param-editor-color-input.d.ts +13 -0
  548. package/storybook-static/components/param-editor-date-input.d.ts +15 -0
  549. package/storybook-static/components/param-editor-horizontal-text-input.d.ts +12 -0
  550. package/storybook-static/components/param-editor-horizontal.d.ts +10 -0
  551. package/storybook-static/components/param-editor-horizontal.stories.d.ts +19 -0
  552. package/storybook-static/components/param-editor-input-group.d.ts +10 -0
  553. package/storybook-static/components/param-editor-number-input.d.ts +17 -0
  554. package/storybook-static/components/param-editor-selection-input.d.ts +21 -0
  555. package/storybook-static/components/param-editor-text-input.d.ts +13 -0
  556. package/storybook-static/components/param-editor.d.ts +10 -0
  557. package/storybook-static/components/param-editor.stories.d.ts +23 -0
  558. package/storybook-static/components/param-editor.types.d.ts +71 -0
  559. package/storybook-static/components/properties.d.ts +18 -0
  560. package/storybook-static/components/properties.stories.d.ts +17 -0
  561. package/storybook-static/components/resource-badge.d.ts +62 -0
  562. package/storybook-static/components/resource-badge.stories.d.ts +7 -0
  563. package/storybook-static/components/rich-text/collaborative-markdown-editor/awareness-cursors.d.ts +5 -0
  564. package/storybook-static/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.d.ts +8 -0
  565. package/storybook-static/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.d.ts +9 -0
  566. package/storybook-static/components/rich-text/index.d.ts +14 -0
  567. package/storybook-static/components/rich-text/markdown-editor/markdown-editor.d.ts +8 -0
  568. package/storybook-static/components/rich-text/markdown-editor/markdown-editor.stories.d.ts +6 -0
  569. package/storybook-static/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +21 -0
  570. package/storybook-static/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +2 -0
  571. package/storybook-static/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.d.ts +2 -0
  572. package/storybook-static/components/rich-text/prompt-input/commands.d.ts +19 -0
  573. package/storybook-static/components/rich-text/prompt-input/events.d.ts +15 -0
  574. package/storybook-static/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.d.ts +1 -0
  575. package/storybook-static/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.d.ts +3 -0
  576. package/storybook-static/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.d.ts +1 -0
  577. package/storybook-static/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +17 -0
  578. package/storybook-static/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.d.ts +7 -0
  579. package/storybook-static/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +4 -0
  580. package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.d.ts +12 -0
  581. package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.d.ts +10 -0
  582. package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.d.ts +9 -0
  583. package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.d.ts +12 -0
  584. package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.d.ts +2 -0
  585. package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.d.ts +13 -0
  586. package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.d.ts +9 -0
  587. package/storybook-static/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.d.ts +2 -0
  588. package/storybook-static/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.d.ts +6 -0
  589. package/storybook-static/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +25 -0
  590. package/storybook-static/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +9 -0
  591. package/storybook-static/components/rich-text/prompt-input/prompt-input.d.ts +24 -0
  592. package/storybook-static/components/rich-text/prompt-input/prompt-input.stories.d.ts +8 -0
  593. package/storybook-static/components/rich-text/prompt-input/theme/prompt-input-theme.d.ts +3 -0
  594. package/storybook-static/components/rich-text/prompt-input/utils.d.ts +23 -0
  595. package/storybook-static/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +21 -0
  596. package/storybook-static/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +2 -0
  597. package/storybook-static/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.d.ts +2 -0
  598. package/storybook-static/components/rich-text/rich-message/rich-message.d.ts +7 -0
  599. package/storybook-static/components/rich-text/rich-message/rich-message.stories.d.ts +6 -0
  600. package/storybook-static/components/rich-text/shared/components/content-editable.d.ts +7 -0
  601. package/storybook-static/components/rich-text/shared/components/default-rich-text-components.d.ts +3 -0
  602. package/storybook-static/components/rich-text/shared/editor-config.d.ts +4 -0
  603. package/storybook-static/components/rich-text/shared/nodes/DataTableNode.d.ts +22 -0
  604. package/storybook-static/components/rich-text/shared/nodes/DataTableNode.stories.d.ts +7 -0
  605. package/storybook-static/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +1 -0
  606. package/storybook-static/components/rich-text/shared/plugins/CodePlugin/CodeNode.d.ts +19 -0
  607. package/storybook-static/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.d.ts +6 -0
  608. package/storybook-static/components/rich-text/shared/plugins/EquationPlugin/EquationNode.d.ts +26 -0
  609. package/storybook-static/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.d.ts +4 -0
  610. package/storybook-static/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.d.ts +4 -0
  611. package/storybook-static/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.d.ts +4 -0
  612. package/storybook-static/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +1 -0
  613. package/storybook-static/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.d.ts +13 -0
  614. package/storybook-static/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.d.ts +2 -0
  615. package/storybook-static/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.d.ts +4 -0
  616. package/storybook-static/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.d.ts +1 -0
  617. package/storybook-static/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.d.ts +2 -0
  618. package/storybook-static/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +1 -0
  619. package/storybook-static/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.d.ts +2 -0
  620. package/storybook-static/components/rich-text/shared/plugins/StateUpdatePlugin.d.ts +6 -0
  621. package/storybook-static/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.d.ts +5 -0
  622. package/storybook-static/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.d.ts +2 -0
  623. package/storybook-static/components/rich-text/shared/plugins/ToggleEditablePlugin.d.ts +3 -0
  624. package/storybook-static/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +1 -0
  625. package/storybook-static/components/rich-text/shared/transformers/markdown-transformers.d.ts +15 -0
  626. package/storybook-static/components/rich-text/shared/types/rich-text-components.d.ts +15 -0
  627. package/storybook-static/components/rich-text/theme/report-theme.d.ts +3 -0
  628. package/storybook-static/components/rich-text/theme/rich-text-theme.d.ts +3 -0
  629. package/storybook-static/components/rich-text/types.d.ts +8 -0
  630. package/storybook-static/components/rich-text/utils/inferResourceType.d.ts +1 -0
  631. package/storybook-static/components/rich-text/utils/markdown.d.ts +4 -0
  632. package/storybook-static/components/rich-text/utils/mediaType.d.ts +1 -0
  633. package/storybook-static/components/schub-logo.d.ts +2 -0
  634. package/storybook-static/components/slider.d.ts +5 -0
  635. package/storybook-static/components/style-guide-data.d.ts +46 -0
  636. package/storybook-static/components/style-guide.d.ts +1 -0
  637. package/storybook-static/components/style-guide.stories.d.ts +14 -0
  638. package/storybook-static/components/toaster.stories.d.ts +11 -0
  639. package/storybook-static/components/tooltip.d.ts +12 -0
  640. package/storybook-static/favicon-wrapper.svg +46 -0
  641. package/storybook-static/favicon.svg +1 -0
  642. package/storybook-static/iframe.html +705 -0
  643. package/storybook-static/index.d.ts +14 -0
  644. package/storybook-static/index.html +150 -0
  645. package/storybook-static/index.json +1 -0
  646. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  647. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  648. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  649. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  650. package/storybook-static/project.json +1 -0
  651. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +628 -0
  652. package/storybook-static/sb-addons/themes-1/manager-bundle.js +3 -0
  653. package/storybook-static/sb-addons/vitest-2/manager-bundle.js +3 -0
  654. package/storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
  655. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  656. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  657. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  658. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  659. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  660. package/storybook-static/sb-manager/globals-runtime.js +77956 -0
  661. package/storybook-static/sb-manager/globals.js +24 -0
  662. package/storybook-static/sb-manager/manager-stores.js +23 -0
  663. package/storybook-static/sb-manager/runtime.js +20422 -0
  664. package/storybook-static/theme/applyThemePreference.d.ts +2 -0
  665. package/storybook-static/theme/global.d.ts +46 -0
  666. package/storybook-static/theme/index.d.ts +1 -0
  667. package/storybook-static/theme/primitives/colors.d.ts +958 -0
  668. package/storybook-static/theme/primitives/fonts.d.ts +81 -0
  669. package/storybook-static/theme/primitives/sizes.d.ts +89 -0
  670. package/storybook-static/theme/recipes/alert.d.ts +1 -0
  671. package/storybook-static/theme/recipes/button.d.ts +129 -0
  672. package/storybook-static/theme/recipes/dialog.d.ts +1 -0
  673. package/storybook-static/theme/recipes/divider.d.ts +1 -0
  674. package/storybook-static/theme/recipes/drawer.d.ts +1 -0
  675. package/storybook-static/theme/recipes/editable.d.ts +1 -0
  676. package/storybook-static/theme/recipes/form.d.ts +1 -0
  677. package/storybook-static/theme/recipes/input.d.ts +7 -0
  678. package/storybook-static/theme/recipes/menu.d.ts +1 -0
  679. package/storybook-static/theme/recipes/popover.d.ts +16 -0
  680. package/storybook-static/theme/recipes/progress-circle.d.ts +28 -0
  681. package/storybook-static/theme/recipes/skeleton.d.ts +1 -0
  682. package/storybook-static/theme/recipes/textarea.d.ts +1 -0
  683. package/storybook-static/theme/recipes/tooltip.d.ts +1 -0
  684. package/storybook-static/theme/theme-preference.d.ts +15 -0
  685. package/storybook-static/theme/theme.d.ts +2 -0
  686. package/storybook-static/theme/tokens/borders.d.ts +38 -0
  687. package/storybook-static/theme/tokens/colors.d.ts +898 -0
  688. package/storybook-static/theme/tokens/layer-styles.d.ts +1 -0
  689. package/storybook-static/theme/tokens/shadows.d.ts +64 -0
  690. package/storybook-static/theme/tokens/text.d.ts +1 -0
  691. package/storybook-static/theme/types.d.ts +1 -0
  692. package/storybook-static/utils/formats.d.ts +7 -0
  693. package/storybook-static/utils/get-file-type-icon.d.ts +2 -0
  694. package/storybook-static/vite-inject-mocker-entry.js +2 -0
  695. package/tsconfig.json +29 -0
  696. package/vite.config.ts +82 -0
  697. package/vitest.shims.d.ts +1 -0
@@ -0,0 +1,21 @@
1
+ import{j as r}from"./iframe-B8FSoBNY.js";import{c as A}from"./compiler-runtime-BXE7OOXE.js";import{T as o}from"./index-cFwdnc0b.js";import{S as i}from"./stack-CN4X31TA.js";import{B as T}from"./index-B0y2_lLF.js";import{L as H}from"./link-DE5grRtm.js";import{H as D}from"./h-stack-DWHd8f97.js";import{S as I}from"./separator-CQkMOHNm.js";import"./preload-helper-PPVm8Dsz.js";import"./create-recipe-context-BU56IzEo.js";import"./factory-DAJZwK4o.js";const L=(t,e)=>`${t.name}-${t.version??"unknown"}-${e}`,V=t=>t.version?`${t.name} v${t.version}`:t.name,N=t=>{const e=A.c(30),{notices:s,title:_,description:O,productName:h,productVersion:x,generatedAt:f,emptyTitle:q,emptyDescription:C}=t,v=_===void 0?"Open Source and Third-Party Notices":_,w=O===void 0?"This product includes software developed by the open source community.":O,U=q===void 0?"No third-party notices available":q,P=C===void 0?"No third-party packages were included in this build.":C;let S;e[0]===Symbol.for("react.memo_cache_sentinel")?(S={base:"md",md:"xl"},e[0]=S):S=e[0];let n;e[1]!==v?(n=r.jsx(o,{textStyle:"heading/L",children:v}),e[1]=v,e[2]=n):n=e[2];let l;e[3]!==w?(l=r.jsx(o,{textStyle:"paragraph/S/regular",color:"fg.muted",children:w}),e[3]=w,e[4]=l):l=e[4];let a;e[5]!==h?(a=h?r.jsxs(o,{textStyle:"label/XS",color:"fg.muted",children:["Product: ",h]}):null,e[5]=h,e[6]=a):a=e[6];let c;e[7]!==x?(c=x?r.jsxs(o,{textStyle:"label/XS",color:"fg.muted",children:["Version: ",x]}):null,e[7]=x,e[8]=c):c=e[8];let d;e[9]!==s.length?(d=r.jsxs(o,{textStyle:"label/XS",color:"fg.muted",children:["Packages: ",s.length]}),e[9]=s.length,e[10]=d):d=e[10];let p;e[11]!==f?(p=f?r.jsxs(o,{textStyle:"label/XS",color:"fg.muted",children:["Generated: ",f]}):null,e[11]=f,e[12]=p):p=e[12];let m;e[13]!==p||e[14]!==a||e[15]!==c||e[16]!==d?(m=r.jsxs(D,{gap:"md",flexWrap:"wrap",children:[a,c,d,p]}),e[13]=p,e[14]=a,e[15]=c,e[16]=d,e[17]=m):m=e[17];let u;e[18]!==m||e[19]!==n||e[20]!==l?(u=r.jsxs(i,{gap:"xs",children:[n,l,m]}),e[18]=m,e[19]=n,e[20]=l,e[21]=u):u=e[21];let b;e[22]===Symbol.for("react.memo_cache_sentinel")?(b=r.jsx(I,{borderColor:"border.secondary"}),e[22]=b):b=e[22];let g;e[23]!==P||e[24]!==U||e[25]!==s?(g=s.length===0?r.jsxs(i,{borderWidth:"1px",borderColor:"border.muted",borderRadius:"md",padding:"lg",gap:"xs",children:[r.jsx(o,{textStyle:"label/L/medium",children:U}),r.jsx(o,{textStyle:"paragraph/S/regular",color:"fg.muted",children:P})]}):r.jsx(i,{gap:"md",children:s.map(B)}),e[23]=P,e[24]=U,e[25]=s,e[26]=g):g=e[26];let y;return e[27]!==u||e[28]!==g?(y=r.jsxs(i,{width:"full",minHeight:"100%",background:"bg",color:"fg",padding:S,gap:"lg",children:[u,b,g]}),e[27]=u,e[28]=g,e[29]=y):y=e[29],y};N.__docgenInfo={description:"",methods:[],displayName:"OpenSourceNoticesScreen",props:{notices:{required:!0,tsType:{name:"Array",elements:[{name:"OpenSourceNotice"}],raw:"OpenSourceNotice[]"},description:""},title:{required:!1,tsType:{name:"string"},description:""},description:{required:!1,tsType:{name:"string"},description:""},productName:{required:!1,tsType:{name:"string"},description:""},productVersion:{required:!1,tsType:{name:"string"},description:""},generatedAt:{required:!1,tsType:{name:"string"},description:""},emptyTitle:{required:!1,tsType:{name:"string"},description:""},emptyDescription:{required:!1,tsType:{name:"string"},description:""}}};function B(t,e){return r.jsx(T,{borderWidth:"1px",borderColor:"border.muted",borderRadius:"md",padding:"md",children:r.jsxs(i,{gap:"sm",children:[r.jsxs(i,{gap:"2xs",children:[r.jsx(o,{textStyle:"label/L/medium",children:V(t)}),r.jsxs(o,{textStyle:"label/S/regular",color:"fg.muted",children:["License: ",t.license??"Unknown"]})]}),t.copyright?r.jsx(o,{textStyle:"label/S/regular",color:"fg.muted",children:t.copyright}):null,(t.homepageUrl||t.sourceUrl)&&r.jsxs(i,{gap:"2xs",children:[t.homepageUrl?r.jsx(H,{href:t.homepageUrl,target:"_blank",rel:"noreferrer",textStyle:"label/S/medium",width:"fit-content",children:"Homepage"}):null,t.sourceUrl?r.jsx(H,{href:t.sourceUrl,target:"_blank",rel:"noreferrer",textStyle:"label/S/medium",width:"fit-content",children:"Source code"}):null]}),t.attribution?r.jsx(T,{background:"bg.muted",borderRadius:"sm",padding:"sm",children:r.jsx(o,{textStyle:"label/S/regular",whiteSpace:"pre-wrap",children:t.attribution})}):null]})},L(t,e))}const Y={title:"Components/OpenSourceNoticesScreen",component:N,parameters:{layout:"fullscreen"}},$=[{name:"react",version:"19.0.0",license:"MIT",copyright:"Copyright (c) Meta Platforms, Inc.",homepageUrl:"https://react.dev",sourceUrl:"https://github.com/facebook/react"},{name:"chakra-ui",version:"3.28.0",license:"MIT",copyright:"Copyright (c) Chakra UI Team",homepageUrl:"https://chakra-ui.com",sourceUrl:"https://github.com/chakra-ui/chakra-ui",attribution:"Portions of this software include work distributed under the MIT License. See project repository for full text."},{name:"lucide-react",version:"0.469.0",license:"ISC",sourceUrl:"https://github.com/lucide-icons/lucide"}],j={render:t=>r.jsx(T,{minHeight:"100vh",bg:"bg",children:r.jsx(N,{...t})}),args:{notices:$,productName:"Prompt Studio Desktop",productVersion:"1.8.3",generatedAt:"2026-02-27"}},k={render:t=>r.jsx(T,{minHeight:"100vh",bg:"bg",children:r.jsx(N,{...t})}),args:{notices:[],productName:"Prompt Studio Desktop",productVersion:"1.8.3",generatedAt:"2026-02-27"}};j.parameters={...j.parameters,docs:{...j.parameters?.docs,source:{originalSource:`{
2
+ render: props => <Box minHeight="100vh" bg="bg">
3
+ <OpenSourceNoticesScreen {...props} />
4
+ </Box>,
5
+ args: {
6
+ notices,
7
+ productName: "Prompt Studio Desktop",
8
+ productVersion: "1.8.3",
9
+ generatedAt: "2026-02-27"
10
+ }
11
+ }`,...j.parameters?.docs?.source}}};k.parameters={...k.parameters,docs:{...k.parameters?.docs,source:{originalSource:`{
12
+ render: props => <Box minHeight="100vh" bg="bg">
13
+ <OpenSourceNoticesScreen {...props} />
14
+ </Box>,
15
+ args: {
16
+ notices: [],
17
+ productName: "Prompt Studio Desktop",
18
+ productVersion: "1.8.3",
19
+ generatedAt: "2026-02-27"
20
+ }
21
+ }`,...k.parameters?.docs?.source}}};const Z=["Populated","Empty"];export{k as Empty,j as Populated,Z as __namedExportsOrder,Y as default};
@@ -0,0 +1 @@
1
+ import{F as a,G as u,g as f,d as w,q as i}from"./factory-BR3bc_RM.js";function c(t){const o=a(t);return u(o)?f(o).body:w(o)&&s(o)?o:c(o)}function d(t,o=[]){const n=c(t),e=n===t.ownerDocument.body,r=i(n);return e?o.concat(r,r.visualViewport||[],s(n)?n:[]):o.concat(n,d(n,[]))}var v=/auto|scroll|overlay|hidden|clip/,g=new Set(["inline","contents"]);function s(t){const o=i(t),{overflow:n,overflowX:e,overflowY:r,display:l}=o.getComputedStyle(t);return v.test(n+r+e)&&!g.has(l)}function m(t){return t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth}function O(t,o){const{rootEl:n,...e}=o||{};!t||!n||!s(n)||!m(n)||t.scrollIntoView(e)}export{c as a,d as g,O as s};
@@ -0,0 +1 @@
1
+ import{j as s}from"./iframe-B8FSoBNY.js";import{c as m}from"./compiler-runtime-BXE7OOXE.js";import{F as d}from"./flex-DAJL4AFZ.js";import{T as a}from"./index-cFwdnc0b.js";import{S as l}from"./stack-CN4X31TA.js";function c(p){const e=m.c(7),{title:n,children:r}=p;let t;e[0]!==n?(t=s.jsx(d,{height:"49px",p:"xs",borderBottomWidth:"1px",alignItems:"center",children:s.jsx(a,{pb:"0",textStyle:"label/L/medium",color:"fg.muted",children:n})}),e[0]=n,e[1]=t):t=e[1];let i;e[2]!==r?(i=r&&s.jsx(l,{p:"xs",gap:"xs",flex:"1",minH:"0",overflowY:"auto",children:r}),e[2]=r,e[3]=i):i=e[3];let o;return e[4]!==t||e[5]!==i?(o=s.jsxs(l,{borderRightWidth:"1px",width:"64",gap:"0",minH:"0",children:[t,i]}),e[4]=t,e[5]=i,e[6]=o):o=e[6],o}c.__docgenInfo={description:"",methods:[],displayName:"PanelMenu",props:{title:{required:!0,tsType:{name:"string"},description:""},children:{required:!1,tsType:{name:"ReactNode"},description:""}}};export{c as P};
@@ -0,0 +1,14 @@
1
+ import{j as t}from"./iframe-B8FSoBNY.js";import{I as i}from"./item-section-AoQrVPNJ.js";import{M as o}from"./menu-item-CrqDaj9K.js";import{P as s}from"./panel-menu-CqLSrdTB.js";import{S as p}from"./stack-CN4X31TA.js";import{F as a}from"./file-text-D5m8MJlG.js";import{F as n}from"./folder-C5dba_Co.js";import{S as c}from"./settings-DUgg22A7.js";import{B as l}from"./index-B0y2_lLF.js";import"./preload-helper-PPVm8Dsz.js";import"./compiler-runtime-BXE7OOXE.js";import"./index-cFwdnc0b.js";import"./create-recipe-context-BU56IzEo.js";import"./factory-DAJZwK4o.js";import"./chevron-right-owK1wZnx.js";import"./createLucideIcon-CcBBUKX8.js";import"./flex-DAJL4AFZ.js";import"./collapsible-DBDG7h1r.js";import"./create-slot-recipe-context-DAhDE6G_.js";import"./factory-BR3bc_RM.js";import"./collapsible-content-B1Uq3jUM.js";import"./create-split-props-u5h9OPvL.js";import"./normalize-props-D7NI5JRu.js";import"./index-DaXC_qY_.js";import"./index-DpB4ozcR.js";import"./mutation-observer-CAfGweIM.js";import"./tabbable-DHAf8oAu.js";import"./computed-style-C0hzrq9-.js";import"./number-C92MPsRM.js";import"./tooltip-DZxUoouw.js";import"./portal-CZHfPTRw.js";import"./tooltip-C_a-XGZ8.js";import"./use-presence-context-DK2PGZth.js";import"./overflow-CkG1DOya.js";import"./icons-WRA1cA-W.js";import"./typeahead-CuY9WxfQ.js";import"./dismissable-layer-Cc5dFRd8.js";import"./icon-C8FN9JqD.js";import"./badge-CtgJasjB.js";const Y={title:"Components/PanelMenu",component:s,decorators:[m=>t.jsx(l,{height:"560px",bg:"bg",children:t.jsx(m,{})})],args:{title:"Project"}},e={},r={args:{title:"Resources",children:t.jsxs(p,{gap:"sm",children:[t.jsxs(i,{title:"Workspace",children:[t.jsx(o,{primaryLabel:"Overview",leftIcon:a}),t.jsx(o,{primaryLabel:"Files",leftIcon:n})]}),t.jsx(i,{title:"Settings",children:t.jsx(o,{primaryLabel:"Preferences",leftIcon:c})})]})}};e.parameters={...e.parameters,docs:{...e.parameters?.docs,source:{originalSource:"{}",...e.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
2
+ args: {
3
+ title: "Resources",
4
+ children: <Stack gap="sm">
5
+ <ItemSection title="Workspace">
6
+ <MenuItem primaryLabel="Overview" leftIcon={FileText} />
7
+ <MenuItem primaryLabel="Files" leftIcon={Folder} />
8
+ </ItemSection>
9
+ <ItemSection title="Settings">
10
+ <MenuItem primaryLabel="Preferences" leftIcon={Settings} />
11
+ </ItemSection>
12
+ </Stack>
13
+ }
14
+ }`,...r.parameters?.docs?.source}}};const Z=["Default","WithSections"];export{e as Default,r as WithSections,Z as __namedExportsOrder,Y as default};
@@ -0,0 +1,561 @@
1
+ import{r as D,j as t}from"./iframe-B8FSoBNY.js";import{c as B}from"./compiler-runtime-BXE7OOXE.js";import{N as F,S as K,D as $,C as X,a as V}from"./param-editor-selection-input-2pJE1_W1.js";import{T as Z}from"./tooltip-DZxUoouw.js";import{B as G}from"./index-B0y2_lLF.js";import{F as ee}from"./flex-DAJL4AFZ.js";import{T as Y}from"./index-cFwdnc0b.js";import{I as ne}from"./input-ZSs5cSFQ.js";import{T as te}from"./textarea-rqmaWSc5.js";import{V as ae}from"./v-stack-Btoq6OB_.js";import{H as ie}from"./h-stack-DWHd8f97.js";import{S as re}from"./stack-CN4X31TA.js";import"./preload-helper-PPVm8Dsz.js";import"./create-recipe-context-BU56IzEo.js";import"./factory-DAJZwK4o.js";import"./number-C92MPsRM.js";import"./create-slot-recipe-context-DAhDE6G_.js";import"./icons-WRA1cA-W.js";import"./icon-button-DHiUe7rR.js";import"./button-C7it2n8t.js";import"./spinner-ZYH_gvW-.js";import"./index-CXwl6T4k.js";import"./factory-BR3bc_RM.js";import"./create-split-props-u5h9OPvL.js";import"./use-presence-context-DK2PGZth.js";import"./normalize-props-D7NI5JRu.js";import"./index-DaXC_qY_.js";import"./index-DpB4ozcR.js";import"./computed-style-C0hzrq9-.js";import"./use-field-context-DoxKQlMm.js";import"./tooltip-C_a-XGZ8.js";import"./overflow-CkG1DOya.js";import"./typeahead-CuY9WxfQ.js";import"./menu-item-CrqDaj9K.js";import"./tabbable-DHAf8oAu.js";import"./mutation-observer-CAfGweIM.js";import"./dismissable-layer-Cc5dFRd8.js";import"./icon-C8FN9JqD.js";import"./badge-CtgJasjB.js";import"./form-D_Xln9tK.js";import"./number-input-D1aC-9ls.js";import"./chevron-down-BYCAGyCV.js";import"./createLucideIcon-CcBBUKX8.js";import"./portal-CZHfPTRw.js";const J=a=>{const e=B.c(29),{id:y,defaultValue:u,name:i,onChange:l,description:d,readOnly:o,hideLabel:P,tooltipPlacement:S}=a,p=P===void 0?!1:P,h=S===void 0?"right":S,[s,f]=D.useState(u),[c,x]=D.useState(!1),n=D.useRef(null);let r;e[0]!==y||e[1]!==l?(r=m=>{n.current&&clearTimeout(n.current),n.current=setTimeout(()=>l(y,m),540)},e[0]=y,e[1]=l,e[2]=r):r=e[2];const q=r;let v,T;e[3]!==u?(v=()=>{f(u)},T=[u],e[3]=u,e[4]=v,e[5]=T):(v=e[4],T=e[5]),D.useEffect(v,T);let j;e[6]!==q?(j=m=>{f(m),q(m)},e[6]=q,e[7]=j):j=e[7];const w=j;let A;e[8]!==o?(A=()=>{o||x(!0)},e[8]=o,e[9]=A):A=e[9];const _=A;let L;e[10]!==s?(L=()=>{s.trim().length===0&&x(!1)},e[10]=s,e[11]=L):L=e[11];const N=L;let M;e[12]===Symbol.for("react.memo_cache_sentinel")?(M=m=>{m.key==="Escape"&&(x(!1),m.preventDefault())},e[12]=M):M=e[12];const Q=M;let C;e[13]!==h?(C={placement:h},e[13]=h,e[14]=C):C=e[14];let I;e[15]===Symbol.for("react.memo_cache_sentinel")?(I={padding:"xxs"},e[15]=I):I=e[15];let b;e[16]!==N||e[17]!==w||e[18]!==_||e[19]!==p||e[20]!==c||e[21]!==i||e[22]!==o||e[23]!==s?(b=t.jsx(G,{position:"relative",minHeight:"2rem",children:c?t.jsxs(G,{position:"absolute",top:"0",left:"0",right:"0",zIndex:"10",bg:"background.primary",borderWidth:"1px",borderStyle:"solid",borderColor:"border.secondary",borderRadius:"lg",p:"2",boxShadow:"lg",children:[!p&&t.jsx(Y,{textStyle:"label/M/medium",mb:"sm",children:i}),t.jsx(te,{className:"nodrag",readOnly:o,width:"100%",size:"sm",placeholder:p?i:void 0,value:s,onChange:m=>w(m.target.value),onBlur:N,onKeyDown:Q,rows:3,resize:"vertical",autoFocus:!0})]}):t.jsxs(ee,{alignItems:"center",justifyContent:"space-between",height:"2rem",children:[!p&&t.jsx(Y,{textStyle:"label/M/medium",children:i}),t.jsx(ne,{className:"nodrag",readOnly:o,flex:"1",maxW:"12.5rem",size:"sm",type:"text",placeholder:p?i:void 0,value:s,onClick:_,onChange:m=>w(m.target.value),onKeyUp:se})]})}),e[16]=N,e[17]=w,e[18]=_,e[19]=p,e[20]=c,e[21]=i,e[22]=o,e[23]=s,e[24]=b):b=e[24];let k;return e[25]!==d||e[26]!==b||e[27]!==C?(k=t.jsx(G,{position:"relative",flex:"1",minW:"12.5rem",children:t.jsx(Z,{positioning:C,content:d,contentProps:I,children:b})}),e[25]=d,e[26]=b,e[27]=C,e[28]=k):k=e[28],k};J.__docgenInfo={description:"",methods:[],displayName:"HorizontalTextInput",props:{id:{required:!0,tsType:{name:"string"},description:""},defaultValue:{required:!0,tsType:{name:"string"},description:""},name:{required:!0,tsType:{name:"string"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(id: string, value: string) => void",signature:{arguments:[{type:{name:"string"},name:"id"},{type:{name:"string"},name:"value"}],return:{name:"void"}}},description:""},description:{required:!0,tsType:{name:"string"},description:""},readOnly:{required:!1,tsType:{name:"boolean"},description:""},hideLabel:{required:!1,tsType:{name:"boolean"},description:""},tooltipPlacement:{required:!1,tsType:{name:"union",raw:'"top" | "right" | "bottom" | "left"',elements:[{name:"literal",value:'"top"'},{name:"literal",value:'"right"'},{name:"literal",value:'"bottom"'},{name:"literal",value:'"left"'}]},description:""}}};function se(a){a.key==="Enter"&&a.currentTarget.blur()}const g=a=>{const e=B.c(19),{params:y,groups:u,defaultValues:i,onChange:l,readOnly:d}=a;let o;e[0]!==y?(o=y===void 0?[]:y,e[0]=y,e[1]=o):o=e[1];const P=o;let S;e[2]!==u?(S=u===void 0?[]:u,e[2]=u,e[3]=S):S=e[3];const p=S;let h;e[4]!==i||e[5]!==l||e[6]!==d?(h=n=>{if(n.type==="number"){const r=i[n.id]===void 0?n.defaultValue:i[n.id];return t.jsx(F,{hideLabel:!0,hideSlider:!0,readOnly:d,id:n.id,name:n.name,description:n.description||"",defaultValue:r,min:n.min,max:n.max,step:n.step,onChange:l,tooltipPlacement:"top"},n.id)}if(n.type==="text"){const r=i[n.id]===void 0?n.defaultValue:i[n.id];return t.jsx(J,{hideLabel:!0,readOnly:d,id:n.id,name:n.name,description:n.description||"",defaultValue:r,onChange:l,tooltipPlacement:"top"},n.id)}if(n.type==="selection"){const r=i[n.id]===void 0?n.defaultValue:i[n.id];return t.jsx(K,{hideLabel:!0,readOnly:d,id:n.id,name:n.name,description:n.description||"",defaultValue:r,options:n.options,onChange:l,multiSelect:n.multiSelect,tooltipPlacement:"top",placeholder:n.placeholder},n.id)}if(n.type==="date"){const r=i[n.id]===void 0?n.defaultValue:i[n.id];return t.jsx($,{hideLabel:!0,readOnly:d,id:n.id,name:n.name,description:n.description||"",defaultValue:r,min:n.min,max:n.max,onChange:l,tooltipPlacement:"top"},n.id)}if(n.type==="color"){const r=i[n.id]===void 0?n.defaultValue:i[n.id];return t.jsx(X,{hideLabel:!0,readOnly:d,id:n.id,name:n.name,description:n.description||"",defaultValue:r,onChange:l,tooltipPlacement:"top"},n.id)}return null},e[4]=i,e[5]=l,e[6]=d,e[7]=h):h=e[7];const s=h;let f;e[8]!==P||e[9]!==s?(f=P.map(s),e[8]=P,e[9]=s,e[10]=f):f=e[10];let c;if(e[11]!==p||e[12]!==s){let n;e[14]!==s?(n=r=>t.jsxs(ae,{gap:"xs",align:"start",children:[t.jsx(Y,{fontSize:"sm",fontWeight:"medium",color:"foreground.secondary",children:r.title}),t.jsx(ie,{gap:"xs",children:r.params.map(s)})]},r.id),e[14]=s,e[15]=n):n=e[15],c=p.map(n),e[11]=p,e[12]=s,e[13]=c}else c=e[13];let x;return e[16]!==f||e[17]!==c?(x=t.jsxs(re,{direction:"row",flex:"1",maxW:"full",gap:"sm",flexWrap:"wrap",children:[f,c]}),e[16]=f,e[17]=c,e[18]=x):x=e[18],x};g.__docgenInfo={description:"",methods:[],displayName:"ParamEditorHorizontal",props:{params:{required:!1,tsType:{name:"Array",elements:[{name:"union",raw:`| NumberParam
2
+ | TextParam
3
+ | SelectionParam
4
+ | DateParam
5
+ | ColorParam
6
+ | ObjectParam
7
+ | ListParam
8
+ | VectorParam`,elements:[{name:"NumberParam"},{name:"TextParam"},{name:"SelectionParam"},{name:"DateParam"},{name:"ColorParam"},{name:"ObjectParam"},{name:"ListParam"},{name:"VectorParam"}]}],raw:"Param[]"},description:""},groups:{required:!1,tsType:{name:"Array",elements:[{name:"InputGroup"}],raw:"InputGroup[]"},description:""},defaultValues:{required:!0,tsType:{name:"Record",elements:[{name:"string"},{name:"union",raw:"number | string | null | ObjectDefinition | Array<number> | Array<string>",elements:[{name:"number"},{name:"string"},{name:"null"},{name:"Array",elements:[{name:"unknown"}],raw:"(NumberParam | TextParam)[]"},{name:"Array",elements:[{name:"number"}],raw:"Array<number>"},{name:"Array",elements:[{name:"string"}],raw:"Array<string>"}]}],raw:"Record<string, ParamValue>"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(id: string, value: ParamValue) => void",signature:{arguments:[{type:{name:"string"},name:"id"},{type:{name:"union",raw:"number | string | null | ObjectDefinition | Array<number> | Array<string>",elements:[{name:"number"},{name:"string"},{name:"null"},{name:"Array",elements:[{name:"unknown"}],raw:"(NumberParam | TextParam)[]"},{name:"Array",elements:[{name:"number"}],raw:"Array<number>"},{name:"Array",elements:[{name:"string"}],raw:"Array<string>"}]},name:"value"}],return:{name:"void"}}},description:""},readOnly:{required:!1,tsType:{name:"boolean"},description:""},fullWidth:{required:!1,tsType:{name:"boolean"},description:""}}};const $e={title:"Components/ParamEditorHorizontal",component:g,parameters:{layout:"fullscreen"},tags:[],argTypes:{}},U={render:a=>t.jsx(V,{padding:"md",children:t.jsx(g,{...a})}),args:{defaultValues:{1:5,2:5,3:"Hello World",4:`This is a multiline text example
9
+ with multiple lines`,5:"user",6:"2024-07-30",7:"#ff0000"},onChange:()=>{},params:[{id:"1",name:"Temperature",type:"number",description:"Controls randomness in the output",defaultValue:1,min:0,max:2,step:.1},{id:"2",name:"Max Tokens",type:"number",description:"Maximum number of tokens to generate",defaultValue:100,min:1,max:1e3,step:1},{id:"3",name:"System Message",type:"text",description:"Single line system instruction",defaultValue:"You are a helpful assistant",singleLine:!0},{id:"4",name:"Prompt Template",type:"text",description:"Multi-line prompt template",defaultValue:`Please help me with:
10
+ {user_input}`,singleLine:!1},{id:"5",name:"Role",type:"selection",description:"Select a role",defaultValue:"user",options:[{id:"user",name:"User"},{id:"assistant",name:"Assistant"},{id:"system",name:"System"}]},{id:"6",name:"Start Date",type:"date",description:"Select the start date for the process",defaultValue:"2024-01-01",min:"2024-01-01",max:"2024-12-31"},{id:"7",name:"Theme Color",type:"color",description:"Pick a theme color",defaultValue:"#ff0000"}],readOnly:!1}},E={render:a=>t.jsx(V,{padding:"md",children:t.jsx(g,{...a})}),args:{defaultValues:{1:"2024-07-30",2:"2024-01-01",3:"2025-12-31",4:"user"},onChange:()=>{},params:[{id:"1",name:"Current Date",type:"date",description:"Today's date with no restrictions",defaultValue:"2024-07-30"},{id:"2",name:"Start Date",type:"date",description:"Project start date (minimum: 2024-01-01)",defaultValue:"2024-01-01",min:"2024-01-01"},{id:"3",name:"End Date",type:"date",description:"Project end date (maximum: 2025-12-31)",defaultValue:"2025-12-31",max:"2025-12-31"},{id:"4",name:"Role",type:"selection",description:"Select a role for comparison",defaultValue:"user",options:[{id:"user",name:"User"},{id:"assistant",name:"Assistant"},{id:"system",name:"System"}]}],readOnly:!1}},R={render:a=>t.jsx(V,{padding:"md",children:t.jsx(g,{...a})}),args:{defaultValues:{1:.7,2:["javascript","python"],3:"assistant",4:[],5:"2024-12-31"},onChange:()=>{},params:[{id:"1",name:"Temperature",type:"number",description:"Controls randomness in the output",defaultValue:.7,min:0,max:2,step:.1},{id:"2",name:"Languages",type:"selection",description:"Select multiple programming languages",defaultValue:["javascript","python"],multiSelect:!0,placeholder:"Languages...",options:[{id:"javascript",name:"JavaScript"},{id:"python",name:"Python"},{id:"typescript",name:"TypeScript"},{id:"java",name:"Java"},{id:"csharp",name:"C#"}]},{id:"3",name:"Role",type:"selection",description:"Select a single role",defaultValue:"assistant",options:[{id:"user",name:"User"},{id:"assistant",name:"Assistant"},{id:"system",name:"System"}]},{id:"4",name:"Priorities",type:"selection",description:"Select multiple priority levels",defaultValue:[],multiSelect:!0,placeholder:"Priorities...",options:[{id:"low",name:"Low"},{id:"medium",name:"Medium"},{id:"high",name:"High"},{id:"urgent",name:"Urgent"}]},{id:"5",name:"Deadline",type:"date",description:"Project deadline date",defaultValue:"2024-12-31",min:"2024-01-01",max:"2025-12-31"}],readOnly:!1}},H={render:a=>t.jsx(V,{padding:"md",children:t.jsx(g,{...a})}),args:{defaultValues:{temp:.7,maxTokens:150,systemMsg:"You are a helpful assistant",role:"assistant",startDate:"2024-01-01",apiUrl:"https://api.example.com",timeout:30},onChange:()=>{},groups:[{id:"llm-settings",title:"LLM Configuration",params:[{id:"temp",name:"Temperature",type:"number",description:"Controls randomness in the output",defaultValue:.7,min:0,max:2,step:.1},{id:"maxTokens",name:"Max Tokens",type:"number",description:"Maximum number of tokens to generate",defaultValue:150,min:1,max:1e3,step:1}]},{id:"prompt-settings",title:"Prompt Configuration",params:[{id:"systemMsg",name:"System Message",type:"text",description:"System-level instructions",defaultValue:"You are a helpful assistant",singleLine:!0},{id:"role",name:"Default Role",type:"selection",description:"Select the default role",defaultValue:"assistant",options:[{id:"user",name:"User"},{id:"assistant",name:"Assistant"},{id:"system",name:"System"}]}]},{id:"api-config",title:"API Settings",params:[{id:"apiUrl",name:"API URL",type:"text",description:"Base URL for API calls",defaultValue:"https://api.example.com",singleLine:!0},{id:"timeout",name:"Timeout (seconds)",type:"number",description:"Request timeout in seconds",defaultValue:30,min:5,max:300,step:5}]}],readOnly:!1}},O={render:a=>t.jsx(V,{padding:"md",children:t.jsx(g,{...a})}),args:{defaultValues:{standalone:"Quick setting",temp:.8,model:"gpt-4"},onChange:()=>{},params:[{id:"standalone",name:"Quick Setting",type:"text",description:"A standalone parameter outside of groups",defaultValue:"Quick setting",singleLine:!0}],groups:[{id:"model-config",title:"Model Configuration",params:[{id:"temp",name:"Temperature",type:"number",description:"Model temperature",defaultValue:.8,min:0,max:1,step:.1},{id:"model",name:"Model",type:"selection",description:"Choose the AI model",defaultValue:"gpt-4",options:[{id:"gpt-3.5-turbo",name:"GPT-3.5 Turbo"},{id:"gpt-4",name:"GPT-4"},{id:"claude-3",name:"Claude 3"}]}]}],readOnly:!1}},z={render:a=>t.jsx(V,{padding:"md",children:t.jsx(g,{...a})}),args:{defaultValues:{1:"user",2:["javascript","typescript"],3:"home-2",4:["high","medium"]},onChange:()=>{},params:[{id:"1",name:"User Role",type:"selection",description:"Select a user role with icons",defaultValue:"user",options:[{id:"user",name:"User",icon:"user"},{id:"assistant",name:"Assistant",icon:"code"},{id:"system",name:"System",icon:"component"},{id:"admin",name:"Administrator",icon:"teacher"}]},{id:"2",name:"Programming Languages",type:"selection",description:"Choose programming languages with icons",defaultValue:["javascript","typescript"],multiSelect:!0,options:[{id:"javascript",name:"JavaScript",icon:"code"},{id:"typescript",name:"TypeScript",icon:"code-1"},{id:"python",name:"Python",icon:"code-circle"},{id:"java",name:"Java",icon:"document-code"},{id:"csharp",name:"C#",icon:"component"}]},{id:"3",name:"Navigation Section",type:"selection",description:"Choose a navigation section with icons",defaultValue:"home-2",options:[{id:"home-2",name:"Home",icon:"home-2"},{id:"folder-2",name:"Projects",icon:"folder-2"},{id:"user",name:"Profile",icon:"user"},{id:"wallet-2",name:"Billing",icon:"wallet-2"},{id:"component",name:"Settings",icon:"component"}]},{id:"4",name:"Priority Levels",type:"selection",description:"Select priority levels with status icons",defaultValue:["high"],multiSelect:!0,options:[{id:"low",name:"Low Priority",icon:"arrow-down"},{id:"medium",name:"Medium Priority",icon:"minus"},{id:"high",name:"High Priority",icon:"arrow-up-3"},{id:"urgent",name:"Urgent",icon:"danger"}]}],readOnly:!1}},W={render:a=>t.jsx(V,{padding:"md",children:t.jsx(g,{...a})}),args:{defaultValues:{1:.7,2:"You are a helpful assistant",3:"user",4:"2024-01-01"},onChange:()=>{},params:[{id:"1",name:"Temperature",type:"number",description:"Controls randomness in the output",defaultValue:.7,min:0,max:2,step:.1},{id:"2",name:"System Message",type:"text",description:"System-level instructions for the AI",defaultValue:"You are a helpful assistant",singleLine:!0},{id:"3",name:"User Role",type:"selection",description:"Select a user role",defaultValue:"user",options:[{id:"user",name:"User",icon:"user"},{id:"assistant",name:"Assistant",icon:"code"},{id:"system",name:"System",icon:"component"}]},{id:"4",name:"Start Date",type:"date",description:"Project start date",defaultValue:"2024-01-01"}],fullWidth:!0,readOnly:!1}};U.parameters={...U.parameters,docs:{...U.parameters?.docs,source:{originalSource:`{
11
+ render: props => {
12
+ return <Container padding="md">
13
+ <ParamEditorHorizontal {...props} />
14
+ </Container>;
15
+ },
16
+ args: {
17
+ defaultValues: {
18
+ "1": 5,
19
+ "2": 5,
20
+ "3": "Hello World",
21
+ "4": "This is a multiline text example\\nwith multiple lines",
22
+ "5": "user",
23
+ "6": "2024-07-30",
24
+ "7": "#ff0000"
25
+ },
26
+ onChange: () => {},
27
+ params: [{
28
+ id: "1",
29
+ name: "Temperature",
30
+ type: "number",
31
+ description: "Controls randomness in the output",
32
+ defaultValue: 1,
33
+ min: 0,
34
+ max: 2,
35
+ step: 0.1
36
+ }, {
37
+ id: "2",
38
+ name: "Max Tokens",
39
+ type: "number",
40
+ description: "Maximum number of tokens to generate",
41
+ defaultValue: 100,
42
+ min: 1,
43
+ max: 1000,
44
+ step: 1
45
+ }, {
46
+ id: "3",
47
+ name: "System Message",
48
+ type: "text",
49
+ description: "Single line system instruction",
50
+ defaultValue: "You are a helpful assistant",
51
+ singleLine: true
52
+ }, {
53
+ id: "4",
54
+ name: "Prompt Template",
55
+ type: "text",
56
+ description: "Multi-line prompt template",
57
+ defaultValue: "Please help me with:\\n{user_input}",
58
+ singleLine: false
59
+ }, {
60
+ id: "5",
61
+ name: "Role",
62
+ type: "selection",
63
+ description: "Select a role",
64
+ defaultValue: "user",
65
+ options: [{
66
+ id: "user",
67
+ name: "User"
68
+ }, {
69
+ id: "assistant",
70
+ name: "Assistant"
71
+ }, {
72
+ id: "system",
73
+ name: "System"
74
+ }]
75
+ }, {
76
+ id: "6",
77
+ name: "Start Date",
78
+ type: "date",
79
+ description: "Select the start date for the process",
80
+ defaultValue: "2024-01-01",
81
+ min: "2024-01-01",
82
+ max: "2024-12-31"
83
+ }, {
84
+ id: "7",
85
+ name: "Theme Color",
86
+ type: "color",
87
+ description: "Pick a theme color",
88
+ defaultValue: "#ff0000"
89
+ }],
90
+ readOnly: false
91
+ }
92
+ }`,...U.parameters?.docs?.source}}};E.parameters={...E.parameters,docs:{...E.parameters?.docs,source:{originalSource:`{
93
+ render: props => {
94
+ return <Container padding="md">
95
+ <ParamEditorHorizontal {...props} />
96
+ </Container>;
97
+ },
98
+ args: {
99
+ defaultValues: {
100
+ "1": "2024-07-30",
101
+ "2": "2024-01-01",
102
+ "3": "2025-12-31",
103
+ "4": "user"
104
+ },
105
+ onChange: () => {},
106
+ params: [{
107
+ id: "1",
108
+ name: "Current Date",
109
+ type: "date",
110
+ description: "Today's date with no restrictions",
111
+ defaultValue: "2024-07-30"
112
+ }, {
113
+ id: "2",
114
+ name: "Start Date",
115
+ type: "date",
116
+ description: "Project start date (minimum: 2024-01-01)",
117
+ defaultValue: "2024-01-01",
118
+ min: "2024-01-01"
119
+ }, {
120
+ id: "3",
121
+ name: "End Date",
122
+ type: "date",
123
+ description: "Project end date (maximum: 2025-12-31)",
124
+ defaultValue: "2025-12-31",
125
+ max: "2025-12-31"
126
+ }, {
127
+ id: "4",
128
+ name: "Role",
129
+ type: "selection",
130
+ description: "Select a role for comparison",
131
+ defaultValue: "user",
132
+ options: [{
133
+ id: "user",
134
+ name: "User"
135
+ }, {
136
+ id: "assistant",
137
+ name: "Assistant"
138
+ }, {
139
+ id: "system",
140
+ name: "System"
141
+ }]
142
+ }],
143
+ readOnly: false
144
+ }
145
+ }`,...E.parameters?.docs?.source}}};R.parameters={...R.parameters,docs:{...R.parameters?.docs,source:{originalSource:`{
146
+ render: props => {
147
+ return <Container padding="md">
148
+ <ParamEditorHorizontal {...props} />
149
+ </Container>;
150
+ },
151
+ args: {
152
+ defaultValues: {
153
+ "1": 0.7,
154
+ "2": ["javascript", "python"],
155
+ "3": "assistant",
156
+ "4": [],
157
+ "5": "2024-12-31"
158
+ },
159
+ onChange: () => {},
160
+ params: [{
161
+ id: "1",
162
+ name: "Temperature",
163
+ type: "number",
164
+ description: "Controls randomness in the output",
165
+ defaultValue: 0.7,
166
+ min: 0,
167
+ max: 2,
168
+ step: 0.1
169
+ }, {
170
+ id: "2",
171
+ name: "Languages",
172
+ type: "selection",
173
+ description: "Select multiple programming languages",
174
+ defaultValue: ["javascript", "python"],
175
+ multiSelect: true,
176
+ placeholder: "Languages...",
177
+ options: [{
178
+ id: "javascript",
179
+ name: "JavaScript"
180
+ }, {
181
+ id: "python",
182
+ name: "Python"
183
+ }, {
184
+ id: "typescript",
185
+ name: "TypeScript"
186
+ }, {
187
+ id: "java",
188
+ name: "Java"
189
+ }, {
190
+ id: "csharp",
191
+ name: "C#"
192
+ }]
193
+ }, {
194
+ id: "3",
195
+ name: "Role",
196
+ type: "selection",
197
+ description: "Select a single role",
198
+ defaultValue: "assistant",
199
+ options: [{
200
+ id: "user",
201
+ name: "User"
202
+ }, {
203
+ id: "assistant",
204
+ name: "Assistant"
205
+ }, {
206
+ id: "system",
207
+ name: "System"
208
+ }]
209
+ }, {
210
+ id: "4",
211
+ name: "Priorities",
212
+ type: "selection",
213
+ description: "Select multiple priority levels",
214
+ defaultValue: [],
215
+ multiSelect: true,
216
+ placeholder: "Priorities...",
217
+ options: [{
218
+ id: "low",
219
+ name: "Low"
220
+ }, {
221
+ id: "medium",
222
+ name: "Medium"
223
+ }, {
224
+ id: "high",
225
+ name: "High"
226
+ }, {
227
+ id: "urgent",
228
+ name: "Urgent"
229
+ }]
230
+ }, {
231
+ id: "5",
232
+ name: "Deadline",
233
+ type: "date",
234
+ description: "Project deadline date",
235
+ defaultValue: "2024-12-31",
236
+ min: "2024-01-01",
237
+ max: "2025-12-31"
238
+ }],
239
+ readOnly: false
240
+ }
241
+ }`,...R.parameters?.docs?.source}}};H.parameters={...H.parameters,docs:{...H.parameters?.docs,source:{originalSource:`{
242
+ render: props => {
243
+ return <Container padding="md">
244
+ <ParamEditorHorizontal {...props} />
245
+ </Container>;
246
+ },
247
+ args: {
248
+ defaultValues: {
249
+ temp: 0.7,
250
+ maxTokens: 150,
251
+ systemMsg: "You are a helpful assistant",
252
+ role: "assistant",
253
+ startDate: "2024-01-01",
254
+ apiUrl: "https://api.example.com",
255
+ timeout: 30
256
+ },
257
+ onChange: () => {},
258
+ groups: [{
259
+ id: "llm-settings",
260
+ title: "LLM Configuration",
261
+ params: [{
262
+ id: "temp",
263
+ name: "Temperature",
264
+ type: "number",
265
+ description: "Controls randomness in the output",
266
+ defaultValue: 0.7,
267
+ min: 0,
268
+ max: 2,
269
+ step: 0.1
270
+ }, {
271
+ id: "maxTokens",
272
+ name: "Max Tokens",
273
+ type: "number",
274
+ description: "Maximum number of tokens to generate",
275
+ defaultValue: 150,
276
+ min: 1,
277
+ max: 1000,
278
+ step: 1
279
+ }]
280
+ }, {
281
+ id: "prompt-settings",
282
+ title: "Prompt Configuration",
283
+ params: [{
284
+ id: "systemMsg",
285
+ name: "System Message",
286
+ type: "text",
287
+ description: "System-level instructions",
288
+ defaultValue: "You are a helpful assistant",
289
+ singleLine: true
290
+ }, {
291
+ id: "role",
292
+ name: "Default Role",
293
+ type: "selection",
294
+ description: "Select the default role",
295
+ defaultValue: "assistant",
296
+ options: [{
297
+ id: "user",
298
+ name: "User"
299
+ }, {
300
+ id: "assistant",
301
+ name: "Assistant"
302
+ }, {
303
+ id: "system",
304
+ name: "System"
305
+ }]
306
+ }]
307
+ }, {
308
+ id: "api-config",
309
+ title: "API Settings",
310
+ params: [{
311
+ id: "apiUrl",
312
+ name: "API URL",
313
+ type: "text",
314
+ description: "Base URL for API calls",
315
+ defaultValue: "https://api.example.com",
316
+ singleLine: true
317
+ }, {
318
+ id: "timeout",
319
+ name: "Timeout (seconds)",
320
+ type: "number",
321
+ description: "Request timeout in seconds",
322
+ defaultValue: 30,
323
+ min: 5,
324
+ max: 300,
325
+ step: 5
326
+ }]
327
+ }],
328
+ readOnly: false
329
+ }
330
+ }`,...H.parameters?.docs?.source}}};O.parameters={...O.parameters,docs:{...O.parameters?.docs,source:{originalSource:`{
331
+ render: props => {
332
+ return <Container padding="md">
333
+ <ParamEditorHorizontal {...props} />
334
+ </Container>;
335
+ },
336
+ args: {
337
+ defaultValues: {
338
+ standalone: "Quick setting",
339
+ temp: 0.8,
340
+ model: "gpt-4"
341
+ },
342
+ onChange: () => {},
343
+ params: [{
344
+ id: "standalone",
345
+ name: "Quick Setting",
346
+ type: "text",
347
+ description: "A standalone parameter outside of groups",
348
+ defaultValue: "Quick setting",
349
+ singleLine: true
350
+ }],
351
+ groups: [{
352
+ id: "model-config",
353
+ title: "Model Configuration",
354
+ params: [{
355
+ id: "temp",
356
+ name: "Temperature",
357
+ type: "number",
358
+ description: "Model temperature",
359
+ defaultValue: 0.8,
360
+ min: 0,
361
+ max: 1,
362
+ step: 0.1
363
+ }, {
364
+ id: "model",
365
+ name: "Model",
366
+ type: "selection",
367
+ description: "Choose the AI model",
368
+ defaultValue: "gpt-4",
369
+ options: [{
370
+ id: "gpt-3.5-turbo",
371
+ name: "GPT-3.5 Turbo"
372
+ }, {
373
+ id: "gpt-4",
374
+ name: "GPT-4"
375
+ }, {
376
+ id: "claude-3",
377
+ name: "Claude 3"
378
+ }]
379
+ }]
380
+ }],
381
+ readOnly: false
382
+ }
383
+ }`,...O.parameters?.docs?.source}}};z.parameters={...z.parameters,docs:{...z.parameters?.docs,source:{originalSource:`{
384
+ render: props => {
385
+ return <Container padding="md">
386
+ <ParamEditorHorizontal {...props} />
387
+ </Container>;
388
+ },
389
+ args: {
390
+ defaultValues: {
391
+ "1": "user",
392
+ "2": ["javascript", "typescript"],
393
+ "3": "home-2",
394
+ "4": ["high", "medium"]
395
+ },
396
+ onChange: () => {},
397
+ params: [{
398
+ id: "1",
399
+ name: "User Role",
400
+ type: "selection",
401
+ description: "Select a user role with icons",
402
+ defaultValue: "user",
403
+ options: [{
404
+ id: "user",
405
+ name: "User",
406
+ icon: "user"
407
+ }, {
408
+ id: "assistant",
409
+ name: "Assistant",
410
+ icon: "code"
411
+ }, {
412
+ id: "system",
413
+ name: "System",
414
+ icon: "component"
415
+ }, {
416
+ id: "admin",
417
+ name: "Administrator",
418
+ icon: "teacher"
419
+ }]
420
+ }, {
421
+ id: "2",
422
+ name: "Programming Languages",
423
+ type: "selection",
424
+ description: "Choose programming languages with icons",
425
+ defaultValue: ["javascript", "typescript"],
426
+ multiSelect: true,
427
+ options: [{
428
+ id: "javascript",
429
+ name: "JavaScript",
430
+ icon: "code"
431
+ }, {
432
+ id: "typescript",
433
+ name: "TypeScript",
434
+ icon: "code-1"
435
+ }, {
436
+ id: "python",
437
+ name: "Python",
438
+ icon: "code-circle"
439
+ }, {
440
+ id: "java",
441
+ name: "Java",
442
+ icon: "document-code"
443
+ }, {
444
+ id: "csharp",
445
+ name: "C#",
446
+ icon: "component"
447
+ }]
448
+ }, {
449
+ id: "3",
450
+ name: "Navigation Section",
451
+ type: "selection",
452
+ description: "Choose a navigation section with icons",
453
+ defaultValue: "home-2",
454
+ options: [{
455
+ id: "home-2",
456
+ name: "Home",
457
+ icon: "home-2"
458
+ }, {
459
+ id: "folder-2",
460
+ name: "Projects",
461
+ icon: "folder-2"
462
+ }, {
463
+ id: "user",
464
+ name: "Profile",
465
+ icon: "user"
466
+ }, {
467
+ id: "wallet-2",
468
+ name: "Billing",
469
+ icon: "wallet-2"
470
+ }, {
471
+ id: "component",
472
+ name: "Settings",
473
+ icon: "component"
474
+ }]
475
+ }, {
476
+ id: "4",
477
+ name: "Priority Levels",
478
+ type: "selection",
479
+ description: "Select priority levels with status icons",
480
+ defaultValue: ["high"],
481
+ multiSelect: true,
482
+ options: [{
483
+ id: "low",
484
+ name: "Low Priority",
485
+ icon: "arrow-down"
486
+ }, {
487
+ id: "medium",
488
+ name: "Medium Priority",
489
+ icon: "minus"
490
+ }, {
491
+ id: "high",
492
+ name: "High Priority",
493
+ icon: "arrow-up-3"
494
+ }, {
495
+ id: "urgent",
496
+ name: "Urgent",
497
+ icon: "danger"
498
+ }]
499
+ }],
500
+ readOnly: false
501
+ }
502
+ }`,...z.parameters?.docs?.source}}};W.parameters={...W.parameters,docs:{...W.parameters?.docs,source:{originalSource:`{
503
+ render: props => {
504
+ return <Container padding="md">
505
+ <ParamEditorHorizontal {...props} />
506
+ </Container>;
507
+ },
508
+ args: {
509
+ defaultValues: {
510
+ "1": 0.7,
511
+ "2": "You are a helpful assistant",
512
+ "3": "user",
513
+ "4": "2024-01-01"
514
+ },
515
+ onChange: () => {},
516
+ params: [{
517
+ id: "1",
518
+ name: "Temperature",
519
+ type: "number",
520
+ description: "Controls randomness in the output",
521
+ defaultValue: 0.7,
522
+ min: 0,
523
+ max: 2,
524
+ step: 0.1
525
+ }, {
526
+ id: "2",
527
+ name: "System Message",
528
+ type: "text",
529
+ description: "System-level instructions for the AI",
530
+ defaultValue: "You are a helpful assistant",
531
+ singleLine: true
532
+ }, {
533
+ id: "3",
534
+ name: "User Role",
535
+ type: "selection",
536
+ description: "Select a user role",
537
+ defaultValue: "user",
538
+ options: [{
539
+ id: "user",
540
+ name: "User",
541
+ icon: "user"
542
+ }, {
543
+ id: "assistant",
544
+ name: "Assistant",
545
+ icon: "code"
546
+ }, {
547
+ id: "system",
548
+ name: "System",
549
+ icon: "component"
550
+ }]
551
+ }, {
552
+ id: "4",
553
+ name: "Start Date",
554
+ type: "date",
555
+ description: "Project start date",
556
+ defaultValue: "2024-01-01"
557
+ }],
558
+ fullWidth: true,
559
+ readOnly: false
560
+ }
561
+ }`,...W.parameters?.docs?.source}}};const Xe=["Demo","DateInputs","MultiSelectExample","WithInputGroups","MixedGroupsAndParams","SelectionsWithIcons","FullWidthNoEffect"];export{E as DateInputs,U as Demo,W as FullWidthNoEffect,O as MixedGroupsAndParams,R as MultiSelectExample,z as SelectionsWithIcons,H as WithInputGroups,Xe as __namedExportsOrder,$e as default};