@pstdio/ui 0.0.3 → 0.0.4

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 (737) hide show
  1. package/dist/EquationComponent-DeDYHvqY.js +62 -0
  2. package/dist/EquationComponent-DeDYHvqY.js.map +1 -0
  3. package/dist/chat-ui.js +347 -0
  4. package/dist/chat-ui.js.map +1 -0
  5. package/dist/components/button.stories.d.ts +18 -0
  6. package/dist/components/chat-ui/components/ai-conversation.d.ts +1161 -0
  7. package/dist/components/chat-ui/index.d.ts +10 -0
  8. package/dist/components/chat-ui/utils/get-icon.d.ts +34 -0
  9. package/{storybook-static → dist}/components/column-file-browser.d.ts +1 -2
  10. package/dist/components/column-file-browser.stories.d.ts +15 -0
  11. package/dist/components/data-table/build-columns.d.ts +3 -0
  12. package/dist/components/data-table/data-table.d.ts +2 -0
  13. package/{storybook-static/components → dist/components/data-table}/data-table.stories.d.ts +1 -1
  14. package/dist/components/data-table/helpers.d.ts +10 -0
  15. package/dist/components/data-table/index.d.ts +3 -0
  16. package/dist/components/data-table/pagination-footer.d.ts +5 -0
  17. package/dist/components/data-table/selection-toolbar.d.ts +9 -0
  18. package/{storybook-static/components/data-table.d.ts → dist/components/data-table/types.d.ts} +6 -4
  19. package/{storybook-static → dist}/components/file-selector.d.ts +1 -2
  20. package/{storybook-static/components/style-guide.stories.d.ts → dist/components/file-selector.stories.d.ts} +6 -3
  21. package/{storybook-static → dist}/components/info-card.d.ts +1 -2
  22. package/dist/components/info-card.stories.d.ts +41 -0
  23. package/{storybook-static → dist}/components/menu-item.d.ts +1 -1
  24. package/dist/components/menu-item.stories.d.ts +72 -0
  25. package/dist/components/number-input.d.ts +8 -0
  26. package/{storybook-static → dist}/components/param-editor.stories.d.ts +1 -0
  27. package/{storybook-static → dist}/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.d.ts +1 -0
  28. package/dist/components/rich-text/utils/inferResourceType.d.ts +1 -0
  29. package/dist/components/session-indicator.d.ts +14 -0
  30. package/dist/components/session-indicator.stories.d.ts +11 -0
  31. package/dist/components/slider.stories.d.ts +15 -0
  32. package/dist/components/style-guide.stories.d.ts +28 -0
  33. package/dist/components/ticket-board.d.ts +33 -0
  34. package/dist/components/ticket-board.stories.d.ts +5 -0
  35. package/dist/components/ticket-card.d.ts +24 -0
  36. package/dist/components/ticket-card.stories.d.ts +17 -0
  37. package/dist/components/toaster.d.ts +3 -0
  38. package/{storybook-static → dist}/index.d.ts +5 -3
  39. package/dist/index.js +435 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/rich-message-CiA3ripk.js +1401 -0
  42. package/dist/rich-message-CiA3ripk.js.map +1 -0
  43. package/dist/rich-text.js +485 -0
  44. package/dist/rich-text.js.map +1 -0
  45. package/dist/style.css +1 -0
  46. package/{storybook-static → dist}/theme/primitives/colors.d.ts +6 -0
  47. package/dist/theme-9E0MRtZk.js +1985 -0
  48. package/dist/theme-9E0MRtZk.js.map +1 -0
  49. package/{src/theme/index.ts → dist/theme.js} +5 -2
  50. package/dist/theme.js.map +1 -0
  51. package/dist/tooltip-Gm7PLwZG.js +51 -0
  52. package/dist/tooltip-Gm7PLwZG.js.map +1 -0
  53. package/{storybook-static/theme/applyThemePreference.d.ts → dist/utils/apply-theme-preference.d.ts} +1 -1
  54. package/{storybook-static/theme → dist/utils}/theme-preference.d.ts +3 -3
  55. package/package.json +4 -1
  56. package/.storybook/main.ts +0 -28
  57. package/.storybook/preview.tsx +0 -28
  58. package/.storybook/vitest.setup.ts +0 -6
  59. package/src/components/alert.tsx +0 -27
  60. package/src/components/breadcrumb.stories.tsx +0 -40
  61. package/src/components/breadcrumb.tsx +0 -67
  62. package/src/components/button.stories.tsx +0 -151
  63. package/src/components/chat-ui/agent-types.ts +0 -231
  64. package/src/components/chat-ui/components/ai-conversation.stories.tsx +0 -49
  65. package/src/components/chat-ui/components/ai-conversation.tsx +0 -68
  66. package/src/components/chat-ui/components/ai-message.stories.tsx +0 -60
  67. package/src/components/chat-ui/components/ai-message.tsx +0 -103
  68. package/src/components/chat-ui/components/ai-response.stories.tsx +0 -48
  69. package/src/components/chat-ui/components/ai-response.tsx +0 -19
  70. package/src/components/chat-ui/components/approval-prompt.tsx +0 -51
  71. package/src/components/chat-ui/components/attachment-list.stories.tsx +0 -24
  72. package/src/components/chat-ui/components/attachment-list.tsx +0 -76
  73. package/src/components/chat-ui/components/auto-scroll.tsx +0 -42
  74. package/src/components/chat-ui/components/chat-input.stories.tsx +0 -114
  75. package/src/components/chat-ui/components/chat-input.tsx +0 -142
  76. package/src/components/chat-ui/components/chat-panel.stories.tsx +0 -396
  77. package/src/components/chat-ui/components/chat-panel.tsx +0 -97
  78. package/src/components/chat-ui/components/message-parts-renderer.stories.tsx +0 -59
  79. package/src/components/chat-ui/components/message-parts-renderer.tsx +0 -133
  80. package/src/components/chat-ui/components/message-types.ts +0 -40
  81. package/src/components/chat-ui/components/model-swap-separator.stories.tsx +0 -27
  82. package/src/components/chat-ui/components/model-swap-separator.tsx +0 -20
  83. package/src/components/chat-ui/components/send-button.tsx +0 -56
  84. package/src/components/chat-ui/components/timeline.tsx +0 -414
  85. package/src/components/chat-ui/components/tool-invocation-timeline.stories.tsx +0 -32
  86. package/src/components/chat-ui/components/tool-invocation-timeline.tsx +0 -16
  87. package/src/components/chat-ui/index.ts +0 -15
  88. package/src/components/chat-ui/mocks/full-conversation-normalized.json +0 -3557
  89. package/src/components/chat-ui/tool-rendering/build-timeline.ts +0 -127
  90. package/src/components/chat-ui/tool-rendering/default-renderers.ts +0 -420
  91. package/src/components/chat-ui/tool-rendering/index.ts +0 -3
  92. package/src/components/chat-ui/tool-rendering/types.ts +0 -19
  93. package/src/components/chat-ui/utils/diff.ts +0 -228
  94. package/src/components/chat-ui/utils/editor-state.ts +0 -5
  95. package/src/components/chat-ui/utils/get-icon.ts +0 -81
  96. package/src/components/code-editor.tsx +0 -147
  97. package/src/components/column-file-browser.stories.tsx +0 -217
  98. package/src/components/column-file-browser.tsx +0 -380
  99. package/src/components/content-placeholder.tsx +0 -21
  100. package/src/components/data-table/build-columns.tsx +0 -78
  101. package/src/components/data-table/data-table.css +0 -51
  102. package/src/components/data-table/data-table.stories.tsx +0 -209
  103. package/src/components/data-table/data-table.tsx +0 -232
  104. package/src/components/data-table/helpers.tsx +0 -69
  105. package/src/components/data-table/index.ts +0 -3
  106. package/src/components/data-table/pagination-footer.tsx +0 -58
  107. package/src/components/data-table/selection-toolbar.tsx +0 -26
  108. package/src/components/data-table/types.ts +0 -21
  109. package/src/components/delete-confirmation-modal.stories.tsx +0 -46
  110. package/src/components/delete-confirmation-modal.tsx +0 -56
  111. package/src/components/diff-bubble.stories.tsx +0 -70
  112. package/src/components/diff-bubble.tsx +0 -70
  113. package/src/components/diff-card.tsx +0 -139
  114. package/src/components/diff-drawer.stories.tsx +0 -106
  115. package/src/components/diff-drawer.tsx +0 -59
  116. package/src/components/diff-editor.tsx +0 -55
  117. package/src/components/drawer-inline.stories.tsx +0 -124
  118. package/src/components/drawer-inline.tsx +0 -90
  119. package/src/components/empty-state.stories.tsx +0 -65
  120. package/src/components/empty-state.tsx +0 -28
  121. package/src/components/error-boundary.tsx +0 -80
  122. package/src/components/file-selector.stories.tsx +0 -166
  123. package/src/components/file-selector.tsx +0 -192
  124. package/src/components/file-tree-helpers.ts +0 -28
  125. package/src/components/horizontal-menu-stack.tsx +0 -15
  126. package/src/components/info-card.stories.tsx +0 -120
  127. package/src/components/info-card.tsx +0 -60
  128. package/src/components/item-section.stories.tsx +0 -57
  129. package/src/components/item-section.tsx +0 -57
  130. package/src/components/layout.stories.tsx +0 -341
  131. package/src/components/layout.tsx +0 -67
  132. package/src/components/menu-item.stories.tsx +0 -162
  133. package/src/components/menu-item.tsx +0 -207
  134. package/src/components/number-input.tsx +0 -21
  135. package/src/components/open-source-notices-screen.stories.tsx +0 -69
  136. package/src/components/open-source-notices-screen.tsx +0 -154
  137. package/src/components/panel-menu.stories.tsx +0 -44
  138. package/src/components/panel-menu.tsx +0 -27
  139. package/src/components/param-editor-color-input.tsx +0 -98
  140. package/src/components/param-editor-date-input.tsx +0 -106
  141. package/src/components/param-editor-horizontal-text-input.tsx +0 -130
  142. package/src/components/param-editor-horizontal.stories.tsx +0 -545
  143. package/src/components/param-editor-horizontal.tsx +0 -137
  144. package/src/components/param-editor-input-group.tsx +0 -145
  145. package/src/components/param-editor-number-input.tsx +0 -145
  146. package/src/components/param-editor-selection-input.tsx +0 -181
  147. package/src/components/param-editor-text-input.tsx +0 -113
  148. package/src/components/param-editor.stories.tsx +0 -986
  149. package/src/components/param-editor.tsx +0 -142
  150. package/src/components/param-editor.types.ts +0 -95
  151. package/src/components/properties.stories.tsx +0 -108
  152. package/src/components/properties.tsx +0 -73
  153. package/src/components/pstdio-logo.tsx +0 -26
  154. package/src/components/resource-badge.stories.tsx +0 -26
  155. package/src/components/resource-badge.tsx +0 -173
  156. package/src/components/rich-text/collaborative-markdown-editor/awareness-cursors.tsx +0 -45
  157. package/src/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.tsx +0 -230
  158. package/src/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.tsx +0 -131
  159. package/src/components/rich-text/index.ts +0 -14
  160. package/src/components/rich-text/markdown-editor/markdown-editor.stories.tsx +0 -147
  161. package/src/components/rich-text/markdown-editor/markdown-editor.tsx +0 -112
  162. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.tsx +0 -100
  163. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.ts +0 -32
  164. package/src/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.ts +0 -2
  165. package/src/components/rich-text/prompt-input/commands.ts +0 -44
  166. package/src/components/rich-text/prompt-input/events.ts +0 -21
  167. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.tsx +0 -8
  168. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.ts +0 -49
  169. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.ts +0 -30
  170. package/src/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.tsx +0 -127
  171. package/src/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.tsx +0 -32
  172. package/src/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.tsx +0 -30
  173. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.ts +0 -15
  174. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.tsx +0 -88
  175. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.tsx +0 -90
  176. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.tsx +0 -50
  177. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.ts +0 -3
  178. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.tsx +0 -50
  179. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.ts +0 -45
  180. package/src/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.ts +0 -20
  181. package/src/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.tsx +0 -50
  182. package/src/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.tsx +0 -107
  183. package/src/components/rich-text/prompt-input/plugins/keyboard-shortcuts.ts +0 -13
  184. package/src/components/rich-text/prompt-input/prompt-input.stories.tsx +0 -87
  185. package/src/components/rich-text/prompt-input/prompt-input.tsx +0 -106
  186. package/src/components/rich-text/prompt-input/theme/prompt-input-theme.css +0 -3
  187. package/src/components/rich-text/prompt-input/theme/prompt-input-theme.ts +0 -11
  188. package/src/components/rich-text/prompt-input/utils.ts +0 -158
  189. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.tsx +0 -100
  190. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.ts +0 -32
  191. package/src/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.ts +0 -2
  192. package/src/components/rich-text/rich-message/rich-message.stories.tsx +0 -146
  193. package/src/components/rich-text/rich-message/rich-message.tsx +0 -118
  194. package/src/components/rich-text/shared/components/content-editable.tsx +0 -28
  195. package/src/components/rich-text/shared/components/default-rich-text-components.tsx +0 -99
  196. package/src/components/rich-text/shared/editor-config.ts +0 -38
  197. package/src/components/rich-text/shared/nodes/DataTableNode.stories.tsx +0 -52
  198. package/src/components/rich-text/shared/nodes/DataTableNode.tsx +0 -73
  199. package/src/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.tsx +0 -22
  200. package/src/components/rich-text/shared/plugins/CodePlugin/CodeNode.tsx +0 -57
  201. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.tsx +0 -46
  202. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationNode.tsx +0 -161
  203. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.css +0 -16
  204. package/src/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.tsx +0 -45
  205. package/src/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.tsx +0 -40
  206. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.css +0 -26
  207. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.tsx +0 -414
  208. package/src/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.ts +0 -1
  209. package/src/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.ts +0 -52
  210. package/src/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.ts +0 -16
  211. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.css +0 -163
  212. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.tsx +0 -355
  213. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.tsx +0 -6
  214. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.ts +0 -17
  215. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.ts +0 -39
  216. package/src/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.ts +0 -23
  217. package/src/components/rich-text/shared/plugins/StateUpdatePlugin.tsx +0 -21
  218. package/src/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.tsx +0 -224
  219. package/src/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.css +0 -3
  220. package/src/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.tsx +0 -315
  221. package/src/components/rich-text/shared/plugins/ToggleEditablePlugin.tsx +0 -12
  222. package/src/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.tsx +0 -20
  223. package/src/components/rich-text/shared/transformers/markdown-transformers.ts +0 -123
  224. package/src/components/rich-text/shared/types/rich-text-components.ts +0 -17
  225. package/src/components/rich-text/theme/report-theme.tsx +0 -81
  226. package/src/components/rich-text/theme/rich-text-theme.css +0 -773
  227. package/src/components/rich-text/theme/rich-text-theme.tsx +0 -81
  228. package/src/components/rich-text/types.ts +0 -9
  229. package/src/components/rich-text/utils/inferResourceType.ts +0 -17
  230. package/src/components/rich-text/utils/markdown.ts +0 -12
  231. package/src/components/rich-text/utils/mediaType.ts +0 -31
  232. package/src/components/session-indicator.stories.tsx +0 -46
  233. package/src/components/session-indicator.tsx +0 -40
  234. package/src/components/slider.stories.tsx +0 -38
  235. package/src/components/slider.tsx +0 -20
  236. package/src/components/style-guide-data.ts +0 -374
  237. package/src/components/style-guide.stories.tsx +0 -212
  238. package/src/components/style-guide.tsx +0 -305
  239. package/src/components/ticket-board.stories.tsx +0 -109
  240. package/src/components/ticket-board.tsx +0 -167
  241. package/src/components/ticket-card.stories.tsx +0 -133
  242. package/src/components/ticket-card.tsx +0 -126
  243. package/src/components/toaster.stories.tsx +0 -79
  244. package/src/components/toaster.tsx +0 -26
  245. package/src/components/tooltip.tsx +0 -43
  246. package/src/index.ts +0 -16
  247. package/src/theme/global.ts +0 -49
  248. package/src/theme/primitives/colors.ts +0 -209
  249. package/src/theme/primitives/fonts.ts +0 -33
  250. package/src/theme/primitives/sizes.ts +0 -49
  251. package/src/theme/recipes/alert.ts +0 -12
  252. package/src/theme/recipes/button.ts +0 -124
  253. package/src/theme/recipes/dialog.ts +0 -11
  254. package/src/theme/recipes/divider.ts +0 -7
  255. package/src/theme/recipes/drawer.ts +0 -16
  256. package/src/theme/recipes/editable.ts +0 -42
  257. package/src/theme/recipes/form.ts +0 -11
  258. package/src/theme/recipes/input.ts +0 -25
  259. package/src/theme/recipes/menu.ts +0 -40
  260. package/src/theme/recipes/popover.ts +0 -46
  261. package/src/theme/recipes/progress-circle.ts +0 -22
  262. package/src/theme/recipes/skeleton.ts +0 -8
  263. package/src/theme/recipes/textarea.ts +0 -29
  264. package/src/theme/recipes/tooltip.ts +0 -15
  265. package/src/theme/theme.ts +0 -70
  266. package/src/theme/tokens/borders.ts +0 -38
  267. package/src/theme/tokens/colors.ts +0 -488
  268. package/src/theme/tokens/layer-styles.ts +0 -15
  269. package/src/theme/tokens/shadows.ts +0 -47
  270. package/src/theme/tokens/text.ts +0 -236
  271. package/src/utils/apply-theme-preference.ts +0 -17
  272. package/src/utils/formats.ts +0 -27
  273. package/src/utils/get-file-type-icon.ts +0 -52
  274. package/src/utils/theme-preference.tsx +0 -60
  275. package/src/vite-env.d.ts +0 -6
  276. package/storybook-static/assets/CodeBlockPlugin-C3OWpvP8.js +0 -281
  277. package/storybook-static/assets/CodeBlockPlugin-e2vWgtYm.css +0 -1
  278. package/storybook-static/assets/DataTableNode.stories-DLgTftOI.js +0 -33
  279. package/storybook-static/assets/EquationComponent-CUFxwyNf.js +0 -1
  280. package/storybook-static/assets/EquationComponent-DWZwfaVI.css +0 -1
  281. package/storybook-static/assets/FloatingTextFormatToolbarPlugin-B6jc8xvg.js +0 -1
  282. package/storybook-static/assets/FloatingTextFormatToolbarPlugin-D2l3--Te.css +0 -1
  283. package/storybook-static/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  284. package/storybook-static/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  285. package/storybook-static/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  286. package/storybook-static/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  287. package/storybook-static/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  288. package/storybook-static/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  289. package/storybook-static/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  290. package/storybook-static/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  291. package/storybook-static/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  292. package/storybook-static/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  293. package/storybook-static/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  294. package/storybook-static/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  295. package/storybook-static/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  296. package/storybook-static/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  297. package/storybook-static/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  298. package/storybook-static/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  299. package/storybook-static/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  300. package/storybook-static/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  301. package/storybook-static/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  302. package/storybook-static/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  303. package/storybook-static/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  304. package/storybook-static/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  305. package/storybook-static/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  306. package/storybook-static/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  307. package/storybook-static/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  308. package/storybook-static/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  309. package/storybook-static/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  310. package/storybook-static/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  311. package/storybook-static/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  312. package/storybook-static/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  313. package/storybook-static/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  314. package/storybook-static/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  315. package/storybook-static/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  316. package/storybook-static/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  317. package/storybook-static/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  318. package/storybook-static/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  319. package/storybook-static/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  320. package/storybook-static/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  321. package/storybook-static/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  322. package/storybook-static/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  323. package/storybook-static/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  324. package/storybook-static/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  325. package/storybook-static/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  326. package/storybook-static/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  327. package/storybook-static/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  328. package/storybook-static/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  329. package/storybook-static/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  330. package/storybook-static/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  331. package/storybook-static/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  332. package/storybook-static/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  333. package/storybook-static/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  334. package/storybook-static/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  335. package/storybook-static/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  336. package/storybook-static/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  337. package/storybook-static/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  338. package/storybook-static/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  339. package/storybook-static/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  340. package/storybook-static/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  341. package/storybook-static/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  342. package/storybook-static/assets/LexicalHistoryPlugin.prod-BQAibkDj.js +0 -1
  343. package/storybook-static/assets/TreeViewPlugin-CyVKCrKJ.js +0 -24
  344. package/storybook-static/assets/ai-conversation-DcjS--ee.js +0 -1
  345. package/storybook-static/assets/ai-conversation.stories-COjWuS8V.js +0 -3
  346. package/storybook-static/assets/ai-message-DLdAGhWH.js +0 -1
  347. package/storybook-static/assets/ai-message.stories-CRTyreKL.js +0 -3
  348. package/storybook-static/assets/ai-response-ySM6s0iN.js +0 -1
  349. package/storybook-static/assets/ai-response.stories-DVBYlrGf.js +0 -11
  350. package/storybook-static/assets/attachment-list-1p1601I5.js +0 -1
  351. package/storybook-static/assets/attachment-list.stories-Cydlsnio.js +0 -7
  352. package/storybook-static/assets/badge-CtgJasjB.js +0 -1
  353. package/storybook-static/assets/breadcrumb.stories-SAjB-iqH.js +0 -5
  354. package/storybook-static/assets/button-C7it2n8t.js +0 -1
  355. package/storybook-static/assets/button.stories-BMVbbb4y.js +0 -72
  356. package/storybook-static/assets/chat-input-B-915nCM.js +0 -1
  357. package/storybook-static/assets/chat-input.stories-DrxvpT9p.js +0 -32
  358. package/storybook-static/assets/chat-panel.stories-D0L6eIte.js +0 -96
  359. package/storybook-static/assets/chevron-down-BYCAGyCV.js +0 -1
  360. package/storybook-static/assets/chevron-right-owK1wZnx.js +0 -1
  361. package/storybook-static/assets/collaborative-markdown-editor-Bj0GvTvv.js +0 -41
  362. package/storybook-static/assets/collaborative-markdown-editor.stories-B_MUIC5s.js +0 -11
  363. package/storybook-static/assets/collapsible-DBDG7h1r.js +0 -1
  364. package/storybook-static/assets/collapsible-content-B1Uq3jUM.js +0 -1
  365. package/storybook-static/assets/column-file-browser.stories-DPMQnHCw.js +0 -54
  366. package/storybook-static/assets/compiler-runtime-BXE7OOXE.js +0 -1
  367. package/storybook-static/assets/computed-style-C0hzrq9-.js +0 -1
  368. package/storybook-static/assets/create-recipe-context-BU56IzEo.js +0 -1
  369. package/storybook-static/assets/create-slot-recipe-context-DAhDE6G_.js +0 -1
  370. package/storybook-static/assets/create-split-props-u5h9OPvL.js +0 -1
  371. package/storybook-static/assets/createLucideIcon-CcBBUKX8.js +0 -1
  372. package/storybook-static/assets/data-table-vuIeWXui.css +0 -1
  373. package/storybook-static/assets/data-table.stories-Cs-q7dpj.js +0 -19
  374. package/storybook-static/assets/delete-confirmation-modal.stories-C8vDKFRD.js +0 -14
  375. package/storybook-static/assets/diff-bubble-_zZypMRt.js +0 -1
  376. package/storybook-static/assets/diff-bubble.stories-DfonanIk.js +0 -39
  377. package/storybook-static/assets/diff-drawer.stories-CGDWiKD8.js +0 -38
  378. package/storybook-static/assets/diff-editor-DV9BXqbn.js +0 -11
  379. package/storybook-static/assets/dismissable-layer-Cc5dFRd8.js +0 -1
  380. package/storybook-static/assets/drawer-inline.stories-B3Tp7vjL.js +0 -88
  381. package/storybook-static/assets/empty-state-BXkyq69k.js +0 -1
  382. package/storybook-static/assets/empty-state.stories-6eYYBOWR.js +0 -29
  383. package/storybook-static/assets/factory-BR3bc_RM.js +0 -1
  384. package/storybook-static/assets/factory-DAJZwK4o.js +0 -1
  385. package/storybook-static/assets/file-selector.stories-PKIGBUd5.js +0 -31
  386. package/storybook-static/assets/file-text-D5m8MJlG.js +0 -1
  387. package/storybook-static/assets/flex-DAJL4AFZ.js +0 -1
  388. package/storybook-static/assets/folder-C5dba_Co.js +0 -1
  389. package/storybook-static/assets/form-D_Xln9tK.js +0 -1
  390. package/storybook-static/assets/full-conversation-normalized-LUbl1coD.js +0 -1
  391. package/storybook-static/assets/grid-7OIKBlfh.js +0 -1
  392. package/storybook-static/assets/h-stack-DWHd8f97.js +0 -1
  393. package/storybook-static/assets/horizontal-menu-stack-Cph6x7ui.js +0 -1
  394. package/storybook-static/assets/icon-C8FN9JqD.js +0 -1
  395. package/storybook-static/assets/icon-button-DHiUe7rR.js +0 -1
  396. package/storybook-static/assets/icons-WRA1cA-W.js +0 -1
  397. package/storybook-static/assets/iframe-2XPD_vrQ.css +0 -1
  398. package/storybook-static/assets/iframe-B8FSoBNY.js +0 -1075
  399. package/storybook-static/assets/index-B0y2_lLF.js +0 -1
  400. package/storybook-static/assets/index-CXwl6T4k.js +0 -1
  401. package/storybook-static/assets/index-DaXC_qY_.js +0 -1
  402. package/storybook-static/assets/index-DpB4ozcR.js +0 -1
  403. package/storybook-static/assets/index-cFwdnc0b.js +0 -1
  404. package/storybook-static/assets/info-DlgY5-DW.js +0 -1
  405. package/storybook-static/assets/info-card.stories-Cry0Qfrn.js +0 -55
  406. package/storybook-static/assets/input-ZSs5cSFQ.js +0 -1
  407. package/storybook-static/assets/inter-cyrillic-400-normal-HOLc17fK.woff +0 -0
  408. package/storybook-static/assets/inter-cyrillic-400-normal-obahsSVq.woff2 +0 -0
  409. package/storybook-static/assets/inter-cyrillic-500-normal-BasfLYem.woff2 +0 -0
  410. package/storybook-static/assets/inter-cyrillic-500-normal-CxZf_p3X.woff +0 -0
  411. package/storybook-static/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2 +0 -0
  412. package/storybook-static/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff +0 -0
  413. package/storybook-static/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2 +0 -0
  414. package/storybook-static/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff +0 -0
  415. package/storybook-static/assets/inter-greek-400-normal-B4URO6DV.woff2 +0 -0
  416. package/storybook-static/assets/inter-greek-400-normal-q2sYcFCs.woff +0 -0
  417. package/storybook-static/assets/inter-greek-500-normal-BIZE56-Y.woff2 +0 -0
  418. package/storybook-static/assets/inter-greek-500-normal-Xzm54t5V.woff +0 -0
  419. package/storybook-static/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2 +0 -0
  420. package/storybook-static/assets/inter-greek-ext-400-normal-KugGGMne.woff +0 -0
  421. package/storybook-static/assets/inter-greek-ext-500-normal-2j5mBUwD.woff +0 -0
  422. package/storybook-static/assets/inter-greek-ext-500-normal-C4iEst2y.woff2 +0 -0
  423. package/storybook-static/assets/inter-latin-400-normal-C38fXH4l.woff2 +0 -0
  424. package/storybook-static/assets/inter-latin-400-normal-CyCys3Eg.woff +0 -0
  425. package/storybook-static/assets/inter-latin-500-normal-BL9OpVg8.woff +0 -0
  426. package/storybook-static/assets/inter-latin-500-normal-Cerq10X2.woff2 +0 -0
  427. package/storybook-static/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +0 -0
  428. package/storybook-static/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +0 -0
  429. package/storybook-static/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +0 -0
  430. package/storybook-static/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +0 -0
  431. package/storybook-static/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff +0 -0
  432. package/storybook-static/assets/inter-vietnamese-400-normal-DMkecbls.woff2 +0 -0
  433. package/storybook-static/assets/inter-vietnamese-500-normal-DOriooB6.woff2 +0 -0
  434. package/storybook-static/assets/inter-vietnamese-500-normal-mJboJaSs.woff +0 -0
  435. package/storybook-static/assets/item-section-AoQrVPNJ.js +0 -1
  436. package/storybook-static/assets/item-section.stories-kYTPHRsx.js +0 -24
  437. package/storybook-static/assets/layout.stories-DhSjwzU1.js +0 -3
  438. package/storybook-static/assets/link-DE5grRtm.js +0 -1
  439. package/storybook-static/assets/markdown-BLUemkxK.js +0 -1
  440. package/storybook-static/assets/markdown-editor-Y4eMsgVb.js +0 -1
  441. package/storybook-static/assets/markdown-editor.stories-DIWw-hRP.js +0 -115
  442. package/storybook-static/assets/menu-item-CrqDaj9K.js +0 -1
  443. package/storybook-static/assets/menu-item.stories-D9Isjjrf.js +0 -68
  444. package/storybook-static/assets/message-parts-renderer.stories-CewRvbm7.js +0 -5
  445. package/storybook-static/assets/message-types-CEyA7Qm7.js +0 -60
  446. package/storybook-static/assets/model-swap-separator.stories-DrQW2NWQ.js +0 -9
  447. package/storybook-static/assets/mutation-observer-CAfGweIM.js +0 -1
  448. package/storybook-static/assets/normalize-props-D7NI5JRu.js +0 -1
  449. package/storybook-static/assets/number-C92MPsRM.js +0 -1
  450. package/storybook-static/assets/number-input-D1aC-9ls.js +0 -7
  451. package/storybook-static/assets/onest-cyrillic-400-normal-BxvCLB5P.woff +0 -0
  452. package/storybook-static/assets/onest-cyrillic-400-normal-DH8vlB-A.woff2 +0 -0
  453. package/storybook-static/assets/onest-cyrillic-500-normal-CyY1vN0Q.woff +0 -0
  454. package/storybook-static/assets/onest-cyrillic-500-normal-DHyr8B2c.woff2 +0 -0
  455. package/storybook-static/assets/onest-cyrillic-700-normal-CwpXuTGk.woff2 +0 -0
  456. package/storybook-static/assets/onest-cyrillic-700-normal-DOtXtm0s.woff +0 -0
  457. package/storybook-static/assets/onest-latin-400-normal-BAzPRZHg.woff +0 -0
  458. package/storybook-static/assets/onest-latin-400-normal-bladozIj.woff2 +0 -0
  459. package/storybook-static/assets/onest-latin-500-normal-oFTiz6Nq.woff +0 -0
  460. package/storybook-static/assets/onest-latin-500-normal-qHiQtL66.woff2 +0 -0
  461. package/storybook-static/assets/onest-latin-700-normal-Bd6qVL4Q.woff2 +0 -0
  462. package/storybook-static/assets/onest-latin-700-normal-XTvQgpoh.woff +0 -0
  463. package/storybook-static/assets/onest-latin-ext-400-normal--mQR5RlC.woff2 +0 -0
  464. package/storybook-static/assets/onest-latin-ext-400-normal-BbXTNVXw.woff +0 -0
  465. package/storybook-static/assets/onest-latin-ext-500-normal-BlXa29q8.woff2 +0 -0
  466. package/storybook-static/assets/onest-latin-ext-500-normal-CoujUMv_.woff +0 -0
  467. package/storybook-static/assets/onest-latin-ext-700-normal-C-Tcltod.woff2 +0 -0
  468. package/storybook-static/assets/onest-latin-ext-700-normal-CSGWRWNE.woff +0 -0
  469. package/storybook-static/assets/open-source-notices-screen.stories-BpdJxDZC.js +0 -21
  470. package/storybook-static/assets/overflow-CkG1DOya.js +0 -1
  471. package/storybook-static/assets/panel-menu-CqLSrdTB.js +0 -1
  472. package/storybook-static/assets/panel-menu.stories-CxdWaWjq.js +0 -14
  473. package/storybook-static/assets/param-editor-horizontal.stories-C1o-VOjG.js +0 -561
  474. package/storybook-static/assets/param-editor-selection-input-2pJE1_W1.js +0 -1
  475. package/storybook-static/assets/param-editor.stories-0ae3y4Vu.js +0 -921
  476. package/storybook-static/assets/playfair-display-cyrillic-400-normal-CjW2EstV.woff2 +0 -0
  477. package/storybook-static/assets/playfair-display-cyrillic-400-normal-ZiRag6zj.woff +0 -0
  478. package/storybook-static/assets/playfair-display-cyrillic-600-normal-DbWAkkgN.woff +0 -0
  479. package/storybook-static/assets/playfair-display-cyrillic-600-normal-oLY6jnZ7.woff2 +0 -0
  480. package/storybook-static/assets/playfair-display-cyrillic-700-normal-Dk1mTcxf.woff +0 -0
  481. package/storybook-static/assets/playfair-display-cyrillic-700-normal-Dw3uKy19.woff2 +0 -0
  482. package/storybook-static/assets/playfair-display-latin-400-normal-CFtfchNt.woff2 +0 -0
  483. package/storybook-static/assets/playfair-display-latin-400-normal-DHYHbkg3.woff +0 -0
  484. package/storybook-static/assets/playfair-display-latin-600-normal-CZLGqjJe.woff2 +0 -0
  485. package/storybook-static/assets/playfair-display-latin-600-normal-CxxueQ0Z.woff +0 -0
  486. package/storybook-static/assets/playfair-display-latin-700-normal-Bc_1Q1cG.woff +0 -0
  487. package/storybook-static/assets/playfair-display-latin-700-normal-CuDiGg7c.woff2 +0 -0
  488. package/storybook-static/assets/playfair-display-latin-ext-400-normal-BxlSGspa.woff2 +0 -0
  489. package/storybook-static/assets/playfair-display-latin-ext-400-normal-qdZwdvNS.woff +0 -0
  490. package/storybook-static/assets/playfair-display-latin-ext-600-normal-BumBfC1v.woff +0 -0
  491. package/storybook-static/assets/playfair-display-latin-ext-600-normal-CEjQclLc.woff2 +0 -0
  492. package/storybook-static/assets/playfair-display-latin-ext-700-normal-C58ejOkc.woff2 +0 -0
  493. package/storybook-static/assets/playfair-display-latin-ext-700-normal-D5HUU8GT.woff +0 -0
  494. package/storybook-static/assets/playfair-display-vietnamese-400-normal-BV2APVTb.woff2 +0 -0
  495. package/storybook-static/assets/playfair-display-vietnamese-400-normal-BbvUAu4N.woff +0 -0
  496. package/storybook-static/assets/playfair-display-vietnamese-600-normal-BPJkAZPN.woff +0 -0
  497. package/storybook-static/assets/playfair-display-vietnamese-600-normal-ICsRR-qJ.woff2 +0 -0
  498. package/storybook-static/assets/playfair-display-vietnamese-700-normal-CaKJSIny.woff2 +0 -0
  499. package/storybook-static/assets/playfair-display-vietnamese-700-normal-Cr1rw0mr.woff +0 -0
  500. package/storybook-static/assets/portal-CZHfPTRw.js +0 -1
  501. package/storybook-static/assets/preload-helper-PPVm8Dsz.js +0 -1
  502. package/storybook-static/assets/prompt-input-BLCttowi.js +0 -14
  503. package/storybook-static/assets/prompt-input-BVbz9joI.css +0 -1
  504. package/storybook-static/assets/prompt-input.stories-J8-AMVXy.js +0 -9
  505. package/storybook-static/assets/properties.stories-Bs7ivKgb.js +0 -59
  506. package/storybook-static/assets/react-18-KY0R7ltw.js +0 -9
  507. package/storybook-static/assets/render-strategy-BebqUNCa.js +0 -1
  508. package/storybook-static/assets/resource-badge-Bw5UoU4J.js +0 -1
  509. package/storybook-static/assets/resource-badge.stories-DtSh-RX9.js +0 -9
  510. package/storybook-static/assets/rich-message-BIkzo1SM.js +0 -1
  511. package/storybook-static/assets/rich-message.stories-C9Wc4d3O.js +0 -115
  512. package/storybook-static/assets/rich-text-theme-Bkhh9rAZ.js +0 -14
  513. package/storybook-static/assets/rich-text-theme-K2MBoCbx.css +0 -1
  514. package/storybook-static/assets/separator-CQkMOHNm.js +0 -1
  515. package/storybook-static/assets/settings-DUgg22A7.js +0 -1
  516. package/storybook-static/assets/simple-grid-DIKjhnVI.js +0 -1
  517. package/storybook-static/assets/spinner-ZYH_gvW-.js +0 -1
  518. package/storybook-static/assets/stack-CN4X31TA.js +0 -1
  519. package/storybook-static/assets/star-CvcHIXRa.js +0 -1
  520. package/storybook-static/assets/style-guide.stories-BUvEhZov.js +0 -6
  521. package/storybook-static/assets/tabbable-DHAf8oAu.js +0 -1
  522. package/storybook-static/assets/table-BKNSzs2r.js +0 -1
  523. package/storybook-static/assets/textarea-rqmaWSc5.js +0 -1
  524. package/storybook-static/assets/toaster-d9nN0H7K.js +0 -1
  525. package/storybook-static/assets/toaster.stories-BRVCYyaM.js +0 -52
  526. package/storybook-static/assets/tool-invocation-timeline-B-cS0W6M.js +0 -59
  527. package/storybook-static/assets/tool-invocation-timeline.stories-DXO59O73.js +0 -5
  528. package/storybook-static/assets/tooltip-C_a-XGZ8.js +0 -1
  529. package/storybook-static/assets/tooltip-DZxUoouw.js +0 -1
  530. package/storybook-static/assets/trash-2-BO05slEk.js +0 -1
  531. package/storybook-static/assets/typeahead-CuY9WxfQ.js +0 -1
  532. package/storybook-static/assets/use-field-context-DoxKQlMm.js +0 -1
  533. package/storybook-static/assets/use-presence-context-DK2PGZth.js +0 -1
  534. package/storybook-static/assets/v-stack-Btoq6OB_.js +0 -1
  535. package/storybook-static/assets/x-D42ziktz.js +0 -1
  536. package/storybook-static/components/chat-ui/mocks/full-conversation-normalized.json.d.ts +0 -3560
  537. package/storybook-static/components/rich-text/utils/inferResourceType.d.ts +0 -1
  538. package/storybook-static/favicon-wrapper.svg +0 -46
  539. package/storybook-static/favicon.svg +0 -1
  540. package/storybook-static/iframe.html +0 -705
  541. package/storybook-static/index.html +0 -150
  542. package/storybook-static/index.json +0 -1
  543. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  544. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  545. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  546. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  547. package/storybook-static/project.json +0 -1
  548. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -628
  549. package/storybook-static/sb-addons/themes-1/manager-bundle.js +0 -3
  550. package/storybook-static/sb-addons/vitest-2/manager-bundle.js +0 -3
  551. package/storybook-static/sb-common-assets/favicon-wrapper.svg +0 -46
  552. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  553. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  554. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  555. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  556. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  557. package/storybook-static/sb-manager/globals-runtime.js +0 -77956
  558. package/storybook-static/sb-manager/globals.js +0 -24
  559. package/storybook-static/sb-manager/manager-stores.js +0 -23
  560. package/storybook-static/sb-manager/runtime.js +0 -20422
  561. package/storybook-static/theme/types.d.ts +0 -1
  562. package/storybook-static/vite-inject-mocker-entry.js +0 -2
  563. package/tsconfig.json +0 -29
  564. package/vite.config.ts +0 -85
  565. package/vitest.shims.d.ts +0 -1
  566. /package/{storybook-static → dist}/components/alert.d.ts +0 -0
  567. /package/{storybook-static → dist}/components/breadcrumb.d.ts +0 -0
  568. /package/{storybook-static → dist}/components/breadcrumb.stories.d.ts +0 -0
  569. /package/{storybook-static → dist}/components/chat-ui/agent-types.d.ts +0 -0
  570. /package/{storybook-static → dist}/components/chat-ui/components/ai-conversation.stories.d.ts +0 -0
  571. /package/{storybook-static → dist}/components/chat-ui/components/ai-message.d.ts +0 -0
  572. /package/{storybook-static → dist}/components/chat-ui/components/ai-message.stories.d.ts +0 -0
  573. /package/{storybook-static → dist}/components/chat-ui/components/ai-response.d.ts +0 -0
  574. /package/{storybook-static → dist}/components/chat-ui/components/ai-response.stories.d.ts +0 -0
  575. /package/{storybook-static → dist}/components/chat-ui/components/approval-prompt.d.ts +0 -0
  576. /package/{storybook-static → dist}/components/chat-ui/components/attachment-list.d.ts +0 -0
  577. /package/{storybook-static → dist}/components/chat-ui/components/attachment-list.stories.d.ts +0 -0
  578. /package/{storybook-static → dist}/components/chat-ui/components/auto-scroll.d.ts +0 -0
  579. /package/{storybook-static → dist}/components/chat-ui/components/chat-input.d.ts +0 -0
  580. /package/{storybook-static → dist}/components/chat-ui/components/chat-input.stories.d.ts +0 -0
  581. /package/{storybook-static → dist}/components/chat-ui/components/chat-panel.d.ts +0 -0
  582. /package/{storybook-static → dist}/components/chat-ui/components/chat-panel.stories.d.ts +0 -0
  583. /package/{storybook-static → dist}/components/chat-ui/components/message-parts-renderer.d.ts +0 -0
  584. /package/{storybook-static → dist}/components/chat-ui/components/message-parts-renderer.stories.d.ts +0 -0
  585. /package/{storybook-static → dist}/components/chat-ui/components/message-types.d.ts +0 -0
  586. /package/{storybook-static → dist}/components/chat-ui/components/model-swap-separator.d.ts +0 -0
  587. /package/{storybook-static → dist}/components/chat-ui/components/model-swap-separator.stories.d.ts +0 -0
  588. /package/{storybook-static → dist}/components/chat-ui/components/send-button.d.ts +0 -0
  589. /package/{storybook-static → dist}/components/chat-ui/components/timeline.d.ts +0 -0
  590. /package/{storybook-static → dist}/components/chat-ui/components/tool-invocation-timeline.d.ts +0 -0
  591. /package/{storybook-static → dist}/components/chat-ui/components/tool-invocation-timeline.stories.d.ts +0 -0
  592. /package/{storybook-static → dist}/components/chat-ui/tool-rendering/build-timeline.d.ts +0 -0
  593. /package/{storybook-static → dist}/components/chat-ui/tool-rendering/default-renderers.d.ts +0 -0
  594. /package/{storybook-static → dist}/components/chat-ui/tool-rendering/index.d.ts +0 -0
  595. /package/{storybook-static → dist}/components/chat-ui/tool-rendering/types.d.ts +0 -0
  596. /package/{storybook-static → dist}/components/chat-ui/utils/diff.d.ts +0 -0
  597. /package/{storybook-static → dist}/components/chat-ui/utils/editor-state.d.ts +0 -0
  598. /package/{storybook-static → dist}/components/code-editor.d.ts +0 -0
  599. /package/{storybook-static → dist}/components/content-placeholder.d.ts +0 -0
  600. /package/{storybook-static → dist}/components/delete-confirmation-modal.d.ts +0 -0
  601. /package/{storybook-static → dist}/components/delete-confirmation-modal.stories.d.ts +0 -0
  602. /package/{storybook-static → dist}/components/diff-bubble.d.ts +0 -0
  603. /package/{storybook-static → dist}/components/diff-bubble.stories.d.ts +0 -0
  604. /package/{storybook-static → dist}/components/diff-card.d.ts +0 -0
  605. /package/{storybook-static → dist}/components/diff-drawer.d.ts +0 -0
  606. /package/{storybook-static → dist}/components/diff-drawer.stories.d.ts +0 -0
  607. /package/{storybook-static → dist}/components/diff-editor.d.ts +0 -0
  608. /package/{storybook-static → dist}/components/drawer-inline.d.ts +0 -0
  609. /package/{storybook-static → dist}/components/drawer-inline.stories.d.ts +0 -0
  610. /package/{storybook-static → dist}/components/empty-state.d.ts +0 -0
  611. /package/{storybook-static → dist}/components/empty-state.stories.d.ts +0 -0
  612. /package/{storybook-static → dist}/components/error-boundary.d.ts +0 -0
  613. /package/{storybook-static → dist}/components/file-tree-helpers.d.ts +0 -0
  614. /package/{storybook-static → dist}/components/horizontal-menu-stack.d.ts +0 -0
  615. /package/{storybook-static → dist}/components/item-section.d.ts +0 -0
  616. /package/{storybook-static → dist}/components/item-section.stories.d.ts +0 -0
  617. /package/{storybook-static → dist}/components/layout.d.ts +0 -0
  618. /package/{storybook-static → dist}/components/layout.stories.d.ts +0 -0
  619. /package/{storybook-static → dist}/components/open-source-notices-screen.d.ts +0 -0
  620. /package/{storybook-static → dist}/components/open-source-notices-screen.stories.d.ts +0 -0
  621. /package/{storybook-static → dist}/components/panel-menu.d.ts +0 -0
  622. /package/{storybook-static → dist}/components/panel-menu.stories.d.ts +0 -0
  623. /package/{storybook-static → dist}/components/param-editor-color-input.d.ts +0 -0
  624. /package/{storybook-static → dist}/components/param-editor-date-input.d.ts +0 -0
  625. /package/{storybook-static → dist}/components/param-editor-horizontal-text-input.d.ts +0 -0
  626. /package/{storybook-static → dist}/components/param-editor-horizontal.d.ts +0 -0
  627. /package/{storybook-static → dist}/components/param-editor-horizontal.stories.d.ts +0 -0
  628. /package/{storybook-static → dist}/components/param-editor-input-group.d.ts +0 -0
  629. /package/{storybook-static → dist}/components/param-editor-number-input.d.ts +0 -0
  630. /package/{storybook-static → dist}/components/param-editor-selection-input.d.ts +0 -0
  631. /package/{storybook-static → dist}/components/param-editor-text-input.d.ts +0 -0
  632. /package/{storybook-static → dist}/components/param-editor.d.ts +0 -0
  633. /package/{storybook-static → dist}/components/param-editor.types.d.ts +0 -0
  634. /package/{storybook-static → dist}/components/properties.d.ts +0 -0
  635. /package/{storybook-static → dist}/components/properties.stories.d.ts +0 -0
  636. /package/{storybook-static/components/schub-logo.d.ts → dist/components/pstdio-logo.d.ts} +0 -0
  637. /package/{storybook-static → dist}/components/resource-badge.d.ts +0 -0
  638. /package/{storybook-static → dist}/components/resource-badge.stories.d.ts +0 -0
  639. /package/{storybook-static → dist}/components/rich-text/collaborative-markdown-editor/awareness-cursors.d.ts +0 -0
  640. /package/{storybook-static → dist}/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.d.ts +0 -0
  641. /package/{storybook-static → dist}/components/rich-text/index.d.ts +0 -0
  642. /package/{storybook-static → dist}/components/rich-text/markdown-editor/markdown-editor.d.ts +0 -0
  643. /package/{storybook-static → dist}/components/rich-text/markdown-editor/markdown-editor.stories.d.ts +0 -0
  644. /package/{storybook-static → dist}/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -0
  645. /package/{storybook-static → dist}/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -0
  646. /package/{storybook-static → dist}/components/rich-text/markdown-editor/plugins/ReferenceLinkPlugin/index.d.ts +0 -0
  647. /package/{storybook-static → dist}/components/rich-text/prompt-input/commands.d.ts +0 -0
  648. /package/{storybook-static → dist}/components/rich-text/prompt-input/events.d.ts +0 -0
  649. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/CommentPlugin.d.ts +0 -0
  650. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentCommands.d.ts +0 -0
  651. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/hooks/useCommentSchema.d.ts +0 -0
  652. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +0 -0
  653. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ImperativeAPIPlugin.d.ts +0 -0
  654. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/KeyboardShortcutPlugin.d.ts +0 -0
  655. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuOption.d.ts +0 -0
  656. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/ReferenceMenuPlugin.d.ts +0 -0
  657. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenu.d.ts +0 -0
  658. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/components/ReferenceMenu/ReferenceMenuItem.d.ts +0 -0
  659. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/constants.d.ts +0 -0
  660. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/hooks/useContextLookup.d.ts +0 -0
  661. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/checkForTriggers.d.ts +0 -0
  662. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferenceMenuPlugin/utils/getSortedMenuOptions.d.ts +0 -0
  663. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferencePlugin/ReferencePlugin.d.ts +0 -0
  664. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +0 -0
  665. /package/{storybook-static → dist}/components/rich-text/prompt-input/plugins/keyboard-shortcuts.d.ts +0 -0
  666. /package/{storybook-static → dist}/components/rich-text/prompt-input/prompt-input.d.ts +0 -0
  667. /package/{storybook-static → dist}/components/rich-text/prompt-input/prompt-input.stories.d.ts +0 -0
  668. /package/{storybook-static → dist}/components/rich-text/prompt-input/theme/prompt-input-theme.d.ts +0 -0
  669. /package/{storybook-static → dist}/components/rich-text/prompt-input/utils.d.ts +0 -0
  670. /package/{storybook-static → dist}/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkNode.d.ts +0 -0
  671. /package/{storybook-static → dist}/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/ReferenceLinkTransformer.d.ts +0 -0
  672. /package/{storybook-static → dist}/components/rich-text/rich-message/plugins/ReferenceLinkPlugin/index.d.ts +0 -0
  673. /package/{storybook-static → dist}/components/rich-text/rich-message/rich-message.d.ts +0 -0
  674. /package/{storybook-static → dist}/components/rich-text/rich-message/rich-message.stories.d.ts +0 -0
  675. /package/{storybook-static → dist}/components/rich-text/shared/components/content-editable.d.ts +0 -0
  676. /package/{storybook-static → dist}/components/rich-text/shared/components/default-rich-text-components.d.ts +0 -0
  677. /package/{storybook-static → dist}/components/rich-text/shared/editor-config.d.ts +0 -0
  678. /package/{storybook-static → dist}/components/rich-text/shared/nodes/DataTableNode.d.ts +0 -0
  679. /package/{storybook-static → dist}/components/rich-text/shared/nodes/DataTableNode.stories.d.ts +0 -0
  680. /package/{storybook-static → dist}/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +0 -0
  681. /package/{storybook-static → dist}/components/rich-text/shared/plugins/CodePlugin/CodeNode.d.ts +0 -0
  682. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/EquationComponent.d.ts +0 -0
  683. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/EquationNode.d.ts +0 -0
  684. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/EquationPlugin.d.ts +0 -0
  685. /package/{storybook-static → dist}/components/rich-text/shared/plugins/EquationPlugin/KatexRenderer.d.ts +0 -0
  686. /package/{storybook-static → dist}/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/FloatingTextFormatToolbarPlugin.d.ts +0 -0
  687. /package/{storybook-static → dist}/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +0 -0
  688. /package/{storybook-static → dist}/components/rich-text/shared/plugins/HorizontalRulePlugin/HorizontalRuleNode.d.ts +0 -0
  689. /package/{storybook-static → dist}/components/rich-text/shared/plugins/HorizontalRulePlugin/horizontalRule.d.ts +0 -0
  690. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/LinkEditorPlugin.d.ts +0 -0
  691. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/LinkPlugin.d.ts +0 -0
  692. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/utils/getSelectedNode.d.ts +0 -0
  693. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +0 -0
  694. /package/{storybook-static → dist}/components/rich-text/shared/plugins/LinkEditorPlugin/utils/url.d.ts +0 -0
  695. /package/{storybook-static → dist}/components/rich-text/shared/plugins/StateUpdatePlugin.d.ts +0 -0
  696. /package/{storybook-static → dist}/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.d.ts +0 -0
  697. /package/{storybook-static → dist}/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.d.ts +0 -0
  698. /package/{storybook-static → dist}/components/rich-text/shared/plugins/ToggleEditablePlugin.d.ts +0 -0
  699. /package/{storybook-static → dist}/components/rich-text/shared/plugins/TreeViewPlugin/TreeViewPlugin.d.ts +0 -0
  700. /package/{storybook-static → dist}/components/rich-text/shared/transformers/markdown-transformers.d.ts +0 -0
  701. /package/{storybook-static → dist}/components/rich-text/shared/types/rich-text-components.d.ts +0 -0
  702. /package/{storybook-static → dist}/components/rich-text/theme/report-theme.d.ts +0 -0
  703. /package/{storybook-static → dist}/components/rich-text/theme/rich-text-theme.d.ts +0 -0
  704. /package/{storybook-static → dist}/components/rich-text/types.d.ts +0 -0
  705. /package/{storybook-static → dist}/components/rich-text/utils/markdown.d.ts +0 -0
  706. /package/{storybook-static → dist}/components/rich-text/utils/mediaType.d.ts +0 -0
  707. /package/{storybook-static → dist}/components/slider.d.ts +0 -0
  708. /package/{storybook-static → dist}/components/style-guide-data.d.ts +0 -0
  709. /package/{storybook-static → dist}/components/style-guide.d.ts +0 -0
  710. /package/{storybook-static → dist}/components/toaster.stories.d.ts +0 -0
  711. /package/{storybook-static → dist}/components/tooltip.d.ts +0 -0
  712. /package/{storybook-static → dist}/theme/global.d.ts +0 -0
  713. /package/{storybook-static → dist}/theme/index.d.ts +0 -0
  714. /package/{storybook-static → dist}/theme/primitives/fonts.d.ts +0 -0
  715. /package/{storybook-static → dist}/theme/primitives/sizes.d.ts +0 -0
  716. /package/{storybook-static → dist}/theme/recipes/alert.d.ts +0 -0
  717. /package/{storybook-static → dist}/theme/recipes/button.d.ts +0 -0
  718. /package/{storybook-static → dist}/theme/recipes/dialog.d.ts +0 -0
  719. /package/{storybook-static → dist}/theme/recipes/divider.d.ts +0 -0
  720. /package/{storybook-static → dist}/theme/recipes/drawer.d.ts +0 -0
  721. /package/{storybook-static → dist}/theme/recipes/editable.d.ts +0 -0
  722. /package/{storybook-static → dist}/theme/recipes/form.d.ts +0 -0
  723. /package/{storybook-static → dist}/theme/recipes/input.d.ts +0 -0
  724. /package/{storybook-static → dist}/theme/recipes/menu.d.ts +0 -0
  725. /package/{storybook-static → dist}/theme/recipes/popover.d.ts +0 -0
  726. /package/{storybook-static → dist}/theme/recipes/progress-circle.d.ts +0 -0
  727. /package/{storybook-static → dist}/theme/recipes/skeleton.d.ts +0 -0
  728. /package/{storybook-static → dist}/theme/recipes/textarea.d.ts +0 -0
  729. /package/{storybook-static → dist}/theme/recipes/tooltip.d.ts +0 -0
  730. /package/{storybook-static → dist}/theme/theme.d.ts +0 -0
  731. /package/{storybook-static → dist}/theme/tokens/borders.d.ts +0 -0
  732. /package/{storybook-static → dist}/theme/tokens/colors.d.ts +0 -0
  733. /package/{storybook-static → dist}/theme/tokens/layer-styles.d.ts +0 -0
  734. /package/{storybook-static → dist}/theme/tokens/shadows.d.ts +0 -0
  735. /package/{storybook-static → dist}/theme/tokens/text.d.ts +0 -0
  736. /package/{storybook-static → dist}/utils/formats.d.ts +0 -0
  737. /package/{storybook-static → dist}/utils/get-file-type-icon.d.ts +0 -0
@@ -1,921 +0,0 @@
1
- import{r as T,j as t}from"./iframe-B8FSoBNY.js";import{c as F}from"./compiler-runtime-BXE7OOXE.js";import{N as K,S as $,D as X,C as Z,a as j}from"./param-editor-selection-input-2pJE1_W1.js";import{T as ae}from"./tooltip-DZxUoouw.js";import{F as ee}from"./flex-DAJL4AFZ.js";import{T as D}from"./index-cFwdnc0b.js";import{I as z}from"./input-ZSs5cSFQ.js";import{B as N}from"./index-B0y2_lLF.js";import{T as ie}from"./textarea-rqmaWSc5.js";import{B as se}from"./button-C7it2n8t.js";import{C as re}from"./chevron-down-BYCAGyCV.js";import{c as oe}from"./createLucideIcon-CcBBUKX8.js";import{S as ne}from"./stack-CN4X31TA.js";import{b as le,c as de}from"./collapsible-DBDG7h1r.js";import{S as H}from"./separator-CQkMOHNm.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"./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"./portal-CZHfPTRw.js";import"./spinner-ZYH_gvW-.js";import"./index-CXwl6T4k.js";import"./collapsible-content-B1Uq3jUM.js";function Q(i,e=[]){const r=T.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return T.useInsertionEffect(()=>{r.current=i}),T.useCallback((...l)=>r.current?.(...l),e)}function me(i={}){const e=Q(i.onOpen),r=Q(i.onClose),[l,s]=T.useState(i.defaultOpen||!1),o=i.open!==void 0?i.open:l,m=i.open!==void 0,p=T.useCallback(()=>{m||s(!1),r?.()},[m,r]),x=T.useCallback(()=>{m||s(!0),e?.()},[m,e]),f=T.useCallback(()=>{o?p():x()},[o,x,p]);return{open:o,onOpen:x,onClose:p,onToggle:f,setOpen:s}}const ue=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],pe=oe("chevron-left",ue),J=i=>{const e=F.c(21),{id:r,defaultValue:l,name:s,onChange:o,description:m,readOnly:p,singleLine:x,hideLabel:f,fullWidth:b}=i,c=x===void 0?!0:x,d=f===void 0?!1:f,v=b===void 0?!1:b,[y,h]=T.useState(l),C=T.useRef(null);let g;e[0]!==r||e[1]!==o?(g=A=>{C.current&&clearTimeout(C.current),C.current=setTimeout(()=>o(r,A),540)},e[0]=r,e[1]=o,e[2]=g):g=e[2];const V=g;let n,u;e[3]!==l?(n=()=>{h(l)},u=[l],e[3]=l,e[4]=n,e[5]=u):(n=e[4],u=e[5]),T.useEffect(n,u);let a;e[6]!==V?(a=A=>{h(A),V(A)},e[6]=V,e[7]=a):a=e[7];const S=a;let L;e[8]===Symbol.for("react.memo_cache_sentinel")?(L={placement:"right"},e[8]=L):L=e[8];let I;e[9]===Symbol.for("react.memo_cache_sentinel")?(I={padding:"xxs"},e[9]=I):I=e[9];let w;e[10]!==v||e[11]!==S||e[12]!==d||e[13]!==s||e[14]!==p||e[15]!==c||e[16]!==y?(w=c&&!v?t.jsxs(ee,{alignItems:"center",justifyContent:"space-between",minHeight:"2rem",mb:"sm",children:[!d&&t.jsx(D,{mr:"xs",textStyle:"label/S/medium",color:"foreground.secondary",children:s}),t.jsx(z,{className:"nodrag",readOnly:p,flex:"1",maxW:"12.5rem",size:"sm",type:"text",placeholder:d?s:void 0,value:y,onChange:A=>S(A.target.value),onKeyUp:ce})]}):t.jsxs(N,{children:[!d&&t.jsx(D,{textStyle:"label/S/medium",color:"foreground.secondary",mb:"xs",children:s}),c?t.jsx(z,{className:"nodrag",readOnly:p,width:"100%",size:"sm",type:"text",placeholder:d?s:void 0,value:y,onChange:A=>S(A.target.value),onKeyUp:ge}):t.jsx(ie,{className:"nodrag",readOnly:p,width:"100%",size:"sm",placeholder:d?s:void 0,value:y,onChange:A=>S(A.target.value),rows:3,resize:"vertical"})]}),e[10]=v,e[11]=S,e[12]=d,e[13]=s,e[14]=p,e[15]=c,e[16]=y,e[17]=w):w=e[17];let M;return e[18]!==m||e[19]!==w?(M=t.jsx(N,{children:t.jsx(ae,{positioning:L,content:m,contentProps:I,children:w})}),e[18]=m,e[19]=w,e[20]=M):M=e[20],M};J.__docgenInfo={description:"",methods:[],displayName:"TextInput",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:""},singleLine:{required:!1,tsType:{name:"boolean"},description:""},hideLabel:{required:!1,tsType:{name:"boolean"},description:""},fullWidth:{required:!1,tsType:{name:"boolean"},description:""}}};function ce(i){i.key==="Enter"&&i.currentTarget.blur()}function ge(i){i.key==="Enter"&&i.currentTarget.blur()}const te=i=>{const e=F.c(26),{group:r,defaultValues:l,onChange:s,readOnly:o,fullWidth:m}=i,p=m===void 0?!1:m,x=!r.defaultCollapsed;let f;e[0]!==x?(f={defaultOpen:x},e[0]=x,e[1]=f):f=e[1];const{open:b,onToggle:c}=me(f);let d;e[2]!==l||e[3]!==p||e[4]!==s||e[5]!==o?(d=a=>{if(a.type==="number"){const S=l[a.id]===void 0?a.defaultValue:l[a.id];return t.jsx(K,{readOnly:o,id:a.id,name:a.name,description:a.description||"",defaultValue:S,min:a.min,max:a.max,step:a.step,onChange:s,fullWidth:p},a.id)}if(a.type==="text"){const S=l[a.id]===void 0?a.defaultValue:l[a.id];return t.jsx(J,{readOnly:o,id:a.id,name:a.name,description:a.description||"",defaultValue:S,singleLine:a.singleLine,onChange:s,fullWidth:p},a.id)}if(a.type==="selection"){const S=l[a.id]===void 0?a.defaultValue:l[a.id];return t.jsx($,{readOnly:o,id:a.id,name:a.name,description:a.description||"",defaultValue:S,options:a.options,onChange:s,multiSelect:a.multiSelect,placeholder:a.placeholder,fullWidth:p},a.id)}if(a.type==="date"){const S=l[a.id]===void 0?a.defaultValue:l[a.id];return t.jsx(X,{readOnly:o,id:a.id,name:a.name,description:a.description||"",defaultValue:S,min:a.min,max:a.max,onChange:s,fullWidth:p},a.id)}if(a.type==="color"){const S=l[a.id]===void 0?a.defaultValue:l[a.id];return t.jsx(Z,{readOnly:o,id:a.id,name:a.name,description:a.description||"",defaultValue:S,onChange:s,fullWidth:p},a.id)}return null},e[2]=l,e[3]=p,e[4]=s,e[5]=o,e[6]=d):d=e[6];const v=d;let y;e[7]!==r.collapsible||e[8]!==r.title||e[9]!==c||e[10]!==b?(y=r.collapsible?t.jsx(se,{variant:"ghost",size:"xs",onClick:c,pl:0,_hover:{bg:"transparent"},children:t.jsxs(ee,{alignItems:"center",gap:"xs",children:[t.jsx(D,{textStyle:"label/M/medium",children:r.title}),b?t.jsx(re,{size:14}):t.jsx(pe,{size:14})]})}):t.jsx(D,{textStyle:"label/M/medium",children:r.title}),e[7]=r.collapsible,e[8]=r.title,e[9]=c,e[10]=b,e[11]=y):y=e[11];let h;e[12]!==r.description?(h=r.description&&t.jsx(D,{textStyle:"label/S/regular",color:"foreground.secondary",mb:"sm",children:r.description}),e[12]=r.description,e[13]=h):h=e[13];const C=r.collapsible?b:!0;let g;e[14]!==r.params||e[15]!==v?(g=r.params.map(v),e[14]=r.params,e[15]=v,e[16]=g):g=e[16];let V;e[17]!==g?(V=t.jsx(le,{children:t.jsx(ne,{gap:"md",children:g})}),e[17]=g,e[18]=V):V=e[18];let n;e[19]!==C||e[20]!==V?(n=t.jsx(de,{open:C,children:V}),e[19]=C,e[20]=V,e[21]=n):n=e[21];let u;return e[22]!==y||e[23]!==h||e[24]!==n?(u=t.jsxs(N,{children:[y,h,n]}),e[22]=y,e[23]=h,e[24]=n,e[25]=u):u=e[25],u};te.__docgenInfo={description:"",methods:[],displayName:"InputGroupComponent",props:{group:{required:!0,tsType:{name:"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 P=i=>{const e=F.c(31),{params:r,groups:l,defaultValues:s,onChange:o,readOnly:m,fullWidth:p}=i;let x;e[0]!==r?(x=r===void 0?[]:r,e[0]=r,e[1]=x):x=e[1];const f=x;let b;e[2]!==l?(b=l===void 0?[]:l,e[2]=l,e[3]=b):b=e[3];const c=b,d=p===void 0?!1:p;let v;e[4]!==s||e[5]!==d||e[6]!==o||e[7]!==m?(v=n=>{if(n.type==="number"){const u=s[n.id]===void 0?n.defaultValue??n.min:s[n.id];return t.jsx(K,{readOnly:m,id:n.id,name:n.name,description:n.description||"",defaultValue:u,min:n.min,max:n.max,step:n.step,onChange:o,fullWidth:d},n.id)}if(n.type==="text"){const u=s[n.id]===void 0?n.defaultValue:s[n.id];return t.jsx(J,{readOnly:m,id:n.id,name:n.name,description:n.description||"",defaultValue:u,singleLine:n.singleLine,onChange:o,fullWidth:d},n.id)}if(n.type==="selection"){const u=s[n.id]===void 0?n.defaultValue:s[n.id];return t.jsx($,{readOnly:m,id:n.id,name:n.name,description:n.description||"",defaultValue:u,options:n.options,onChange:o,multiSelect:n.multiSelect,placeholder:n.placeholder,fullWidth:d},n.id)}if(n.type==="date"){const u=s[n.id]===void 0?n.defaultValue??n.min:s[n.id];return t.jsx(X,{readOnly:m,id:n.id,name:n.name,description:n.description||"",defaultValue:u,min:n.min,max:n.max,onChange:o,fullWidth:d},n.id)}if(n.type==="color"){const u=s[n.id]===void 0?n.defaultValue:s[n.id];return t.jsx(Z,{readOnly:m,id:n.id,name:n.name,description:n.description||"",defaultValue:u,onChange:o,fullWidth:d},n.id)}return null},e[4]=s,e[5]=d,e[6]=o,e[7]=m,e[8]=v):v=e[8];const y=v;let h;e[9]!==f||e[10]!==y?(h=f.map(y),e[9]=f,e[10]=y,e[11]=h):h=e[11];let C;e[12]!==c.length||e[13]!==f.length?(C=f.length>0&&c.length>0&&t.jsx(H,{borderColor:"border.secondary"}),e[12]=c.length,e[13]=f.length,e[14]=C):C=e[14];let g;if(e[15]!==s||e[16]!==d||e[17]!==c||e[18]!==o||e[19]!==m){let n;e[21]!==s||e[22]!==d||e[23]!==c.length||e[24]!==o||e[25]!==m?(n=(u,a)=>t.jsxs(T.Fragment,{children:[t.jsx(te,{group:u,defaultValues:s,onChange:o,readOnly:m,fullWidth:d}),a<c.length-1&&t.jsx(H,{borderColor:"border.secondary"})]},u.id),e[21]=s,e[22]=d,e[23]=c.length,e[24]=o,e[25]=m,e[26]=n):n=e[26],g=c.map(n),e[15]=s,e[16]=d,e[17]=c,e[18]=o,e[19]=m,e[20]=g}else g=e[20];let V;return e[27]!==h||e[28]!==C||e[29]!==g?(V=t.jsxs(ne,{flex:"1",maxW:"full",gap:"md",children:[h,C,g]}),e[27]=h,e[28]=C,e[29]=g,e[30]=V):V=e[30],V};P.__docgenInfo={description:"",methods:[],displayName:"ParamEditor",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 on={title:"Components/ParamEditor",component:P,parameters:{layout:"fullscreen"},tags:[],argTypes:{}},k={render:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),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:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),args:{defaultValues:{1:"Short instruction",2:`This is a longer text input
11
- that spans multiple lines
12
- and demonstrates multiline capability`,3:"API_KEY_12345"},onChange:()=>{},params:[{id:"1",name:"Quick Command",type:"text",description:"Single line command or instruction",defaultValue:"help",singleLine:!0},{id:"2",name:"Description",type:"text",description:"Detailed description or documentation",defaultValue:"Enter your description here...",singleLine:!1},{id:"3",name:"API Key",type:"text",description:"Your API key (read-only in this example)",defaultValue:"sk-...",singleLine:!0}],readOnly:!1}},O={render:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),args:{defaultValues:{1:.7,2:"You are a helpful AI assistant",3:`Please analyze the following text:
13
- {input}
14
-
15
- Provide a summary and key insights.`,4:"assistant",5:"2024-07-30"},onChange:()=>{},params:[{id:"1",name:"Temperature",type:"number",description:"Model temperature setting",defaultValue:.5,min:0,max:1,step:.1},{id:"2",name:"System Prompt",type:"text",description:"System-level instructions",defaultValue:"You are a helpful assistant",singleLine:!0},{id:"3",name:"User Prompt Template",type:"text",description:"Template for user prompts",defaultValue:"Please help with: {request}",singleLine:!1},{id:"4",name:"Role",type:"selection",description:"Select a role",defaultValue:"assistant",options:[{id:"user",name:"User"},{id:"assistant",name:"Assistant"},{id:"system",name:"System"}]},{id:"5",name:"Deadline",type:"date",description:"Project deadline (read-only)",defaultValue:"2024-12-31",min:"2024-01-01",max:"2025-12-31"}],readOnly:!0}},R={render:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),args:{defaultValues:{1:"2024-07-30",2:"2024-01-01",3:"2025-12-31",4:"2024-06-15"},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:"Event Date",type:"date",description:"Event date with both min/max constraints",defaultValue:"2024-06-15",min:"2024-01-01",max:"2024-12-31"}],readOnly:!1}},U={render:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),args:{defaultValues:{1:["user","assistant"],2:["javascript","typescript","python"],3:[],4:["high"]},onChange:()=>{},params:[{id:"1",name:"Allowed Roles",type:"selection",description:"Select multiple roles that are allowed",defaultValue:["user","assistant"],multiSelect:!0,options:[{id:"user",name:"User"},{id:"assistant",name:"Assistant"},{id:"system",name:"System"},{id:"admin",name:"Administrator"}]},{id:"2",name:"Programming Languages",type:"selection",description:"Choose your preferred programming languages",defaultValue:["javascript","typescript"],multiSelect:!0,options:[{id:"javascript",name:"JavaScript"},{id:"typescript",name:"TypeScript"},{id:"python",name:"Python"},{id:"java",name:"Java"},{id:"csharp",name:"C#"},{id:"go",name:"Go"},{id:"rust",name:"Rust"}]},{id:"3",name:"Categories",type:"selection",description:"Select categories (none selected by default)",defaultValue:[],multiSelect:!0,placeholder:"Category",options:[{id:"web",name:"Web Development"},{id:"mobile",name:"Mobile Development"},{id:"ai",name:"Artificial Intelligence"},{id:"data",name:"Data Science"},{id:"devops",name:"DevOps"}]},{id:"4",name:"Priority Levels",type:"selection",description:"Select priority levels for tasks",defaultValue:["high"],multiSelect:!0,options:[{id:"low",name:"Low Priority"},{id:"medium",name:"Medium Priority"},{id:"high",name:"High Priority"},{id:"urgent",name:"Urgent"}]}],readOnly:!1}},_={render:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),args:{defaultValues:{1:"assistant",2:["javascript","python"],3:"production",4:["feature","bugfix"]},onChange:()=>{},params:[{id:"1",name:"Default Role (Single)",type:"selection",description:"Choose one default role",defaultValue:"assistant",options:[{id:"user",name:"User"},{id:"assistant",name:"Assistant"},{id:"system",name:"System"}]},{id:"2",name:"Languages (Multi)",type:"selection",description:"Select multiple programming languages",defaultValue:["javascript"],multiSelect:!0,options:[{id:"javascript",name:"JavaScript"},{id:"python",name:"Python"},{id:"java",name:"Java"},{id:"csharp",name:"C#"}]},{id:"3",name:"Environment (Single)",type:"selection",description:"Choose deployment environment",defaultValue:"staging",options:[{id:"development",name:"Development"},{id:"staging",name:"Staging"},{id:"production",name:"Production"}]},{id:"4",name:"Branch Types (Multi)",type:"selection",description:"Select allowed branch types",defaultValue:["feature"],multiSelect:!0,options:[{id:"feature",name:"Feature Branch"},{id:"bugfix",name:"Bug Fix"},{id:"hotfix",name:"Hot Fix"},{id:"release",name:"Release Branch"}]}],readOnly:!1}},q={render:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),args:{defaultValues:{temp:.7,maxTokens:150,systemMsg:"You are a helpful assistant",promptTemplate:`Please help me with:
16
- {user_input}`,role:"assistant",startDate:"2024-01-01",endDate:"2024-12-31",apiUrl:"https://api.example.com",timeout:30},onChange:()=>{},groups:[{id:"llm-settings",title:"LLM Configuration",description:"Settings that control the language model behavior",collapsible:!0,defaultCollapsed:!1,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",description:"Configure your prompts and system messages",collapsible:!0,defaultCollapsed:!1,params:[{id:"systemMsg",name:"System Message",type:"text",description:"System-level instructions",defaultValue:"You are a helpful assistant",singleLine:!0},{id:"promptTemplate",name:"Prompt Template",type:"text",description:"Template for user prompts",defaultValue:"Please help with: {request}",singleLine:!1},{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:"scheduling",title:"Scheduling",description:"Date and time configuration",collapsible:!0,defaultCollapsed:!0,params:[{id:"startDate",name:"Start Date",type:"date",description:"Project start date",defaultValue:"2024-01-01",min:"2024-01-01"},{id:"endDate",name:"End Date",type:"date",description:"Project end date",defaultValue:"2024-12-31",max:"2025-12-31"}]},{id:"api-settings",title:"API Configuration",description:"External API settings and timeouts",collapsible:!0,defaultCollapsed:!0,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}},W={render:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),args:{defaultValues:{standalone:"Quick setting",temp:.8,model:"gpt-4",env:"production"},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",collapsible:!1,description:"Settings related to AI 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"}]}]},{id:"deployment",title:"Deployment",collapsible:!0,defaultCollapsed:!1,description:"Settings related to deployment environment",params:[{id:"env",name:"Environment",type:"selection",description:"Deployment environment",defaultValue:"staging",options:[{id:"development",name:"Development"},{id:"staging",name:"Staging"},{id:"production",name:"Production"}]}]}],readOnly:!1}},Y={render:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),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}},B={render:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),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}},G={render:i=>t.jsx(j,{padding:"md",children:t.jsx(P,{...i})}),args:{defaultValues:{temp:.7,maxTokens:150,systemMsg:"You are a helpful assistant",role:"assistant",startDate:"2024-01-01",apiUrl:"https://api.example.com"},onChange:()=>{},groups:[{id:"model-settings",title:"Model Configuration",description:"Configure model parameters and behavior",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",description:"Customize prompt behavior and context",params:[{id:"systemMsg",name:"System Message",type:"text",description:"System-level instructions",defaultValue:"You are a helpful assistant",singleLine:!0},{id:"role",name:"Assistant Role",type:"selection",description:"Choose the assistant's role",defaultValue:"assistant",options:[{id:"assistant",name:"Assistant",icon:"code"},{id:"teacher",name:"Teacher",icon:"teacher"},{id:"consultant",name:"Consultant",icon:"user"}]}]},{id:"api-settings",title:"API Configuration",description:"Configure API endpoints and timing",params:[{id:"apiUrl",name:"API Endpoint",type:"text",description:"Base URL for API requests",defaultValue:"https://api.example.com",singleLine:!0},{id:"startDate",name:"Start Date",type:"date",description:"Project start date",defaultValue:"2024-01-01"}]}],fullWidth:!0,readOnly:!1}};k.parameters={...k.parameters,docs:{...k.parameters?.docs,source:{originalSource:`{
17
- render: props => {
18
- return <Container padding="md">
19
- <ParamEditor {...props} />
20
- </Container>;
21
- },
22
- args: {
23
- defaultValues: {
24
- "1": 5,
25
- "2": 5,
26
- "3": "Hello World",
27
- "4": "This is a multiline text example\\nwith multiple lines",
28
- "5": "user",
29
- "6": "2024-07-30",
30
- "7": "#ff0000"
31
- },
32
- onChange: () => {},
33
- params: [{
34
- id: "1",
35
- name: "Temperature",
36
- type: "number",
37
- description: "Controls randomness in the output",
38
- defaultValue: 1,
39
- min: 0,
40
- max: 2,
41
- step: 0.1
42
- }, {
43
- id: "2",
44
- name: "Max Tokens",
45
- type: "number",
46
- description: "Maximum number of tokens to generate",
47
- defaultValue: 100,
48
- min: 1,
49
- max: 1000,
50
- step: 1
51
- }, {
52
- id: "3",
53
- name: "System Message",
54
- type: "text",
55
- description: "Single line system instruction",
56
- defaultValue: "You are a helpful assistant",
57
- singleLine: true
58
- }, {
59
- id: "4",
60
- name: "Prompt Template",
61
- type: "text",
62
- description: "Multi-line prompt template",
63
- defaultValue: "Please help me with:\\n{user_input}",
64
- singleLine: false
65
- }, {
66
- id: "5",
67
- name: "Role",
68
- type: "selection",
69
- description: "Select a role",
70
- defaultValue: "user",
71
- options: [{
72
- id: "user",
73
- name: "User"
74
- }, {
75
- id: "assistant",
76
- name: "Assistant"
77
- }, {
78
- id: "system",
79
- name: "System"
80
- }]
81
- }, {
82
- id: "6",
83
- name: "Start Date",
84
- type: "date",
85
- description: "Select the start date for the process",
86
- defaultValue: "2024-01-01",
87
- min: "2024-01-01",
88
- max: "2024-12-31"
89
- }, {
90
- id: "7",
91
- name: "Theme Color",
92
- type: "color",
93
- description: "Pick a theme color",
94
- defaultValue: "#ff0000"
95
- }],
96
- readOnly: false
97
- }
98
- }`,...k.parameters?.docs?.source}}};E.parameters={...E.parameters,docs:{...E.parameters?.docs,source:{originalSource:`{
99
- render: props => {
100
- return <Container padding="md">
101
- <ParamEditor {...props} />
102
- </Container>;
103
- },
104
- args: {
105
- defaultValues: {
106
- "1": "Short instruction",
107
- "2": "This is a longer text input\\nthat spans multiple lines\\nand demonstrates multiline capability",
108
- "3": "API_KEY_12345"
109
- },
110
- onChange: () => {},
111
- params: [{
112
- id: "1",
113
- name: "Quick Command",
114
- type: "text",
115
- description: "Single line command or instruction",
116
- defaultValue: "help",
117
- singleLine: true
118
- }, {
119
- id: "2",
120
- name: "Description",
121
- type: "text",
122
- description: "Detailed description or documentation",
123
- defaultValue: "Enter your description here...",
124
- singleLine: false
125
- }, {
126
- id: "3",
127
- name: "API Key",
128
- type: "text",
129
- description: "Your API key (read-only in this example)",
130
- defaultValue: "sk-...",
131
- singleLine: true
132
- }],
133
- readOnly: false
134
- }
135
- }`,...E.parameters?.docs?.source}}};O.parameters={...O.parameters,docs:{...O.parameters?.docs,source:{originalSource:`{
136
- render: props => {
137
- return <Container padding="md">
138
- <ParamEditor {...props} />
139
- </Container>;
140
- },
141
- args: {
142
- defaultValues: {
143
- "1": 0.7,
144
- "2": "You are a helpful AI assistant",
145
- "3": "Please analyze the following text:\\n{input}\\n\\nProvide a summary and key insights.",
146
- "4": "assistant",
147
- "5": "2024-07-30"
148
- },
149
- onChange: () => {},
150
- params: [{
151
- id: "1",
152
- name: "Temperature",
153
- type: "number",
154
- description: "Model temperature setting",
155
- defaultValue: 0.5,
156
- min: 0,
157
- max: 1,
158
- step: 0.1
159
- }, {
160
- id: "2",
161
- name: "System Prompt",
162
- type: "text",
163
- description: "System-level instructions",
164
- defaultValue: "You are a helpful assistant",
165
- singleLine: true
166
- }, {
167
- id: "3",
168
- name: "User Prompt Template",
169
- type: "text",
170
- description: "Template for user prompts",
171
- defaultValue: "Please help with: {request}",
172
- singleLine: false
173
- }, {
174
- id: "4",
175
- name: "Role",
176
- type: "selection",
177
- description: "Select a role",
178
- defaultValue: "assistant",
179
- options: [{
180
- id: "user",
181
- name: "User"
182
- }, {
183
- id: "assistant",
184
- name: "Assistant"
185
- }, {
186
- id: "system",
187
- name: "System"
188
- }]
189
- }, {
190
- id: "5",
191
- name: "Deadline",
192
- type: "date",
193
- description: "Project deadline (read-only)",
194
- defaultValue: "2024-12-31",
195
- min: "2024-01-01",
196
- max: "2025-12-31"
197
- }],
198
- readOnly: true
199
- }
200
- }`,...O.parameters?.docs?.source}}};R.parameters={...R.parameters,docs:{...R.parameters?.docs,source:{originalSource:`{
201
- render: props => {
202
- return <Container padding="md">
203
- <ParamEditor {...props} />
204
- </Container>;
205
- },
206
- args: {
207
- defaultValues: {
208
- "1": "2024-07-30",
209
- "2": "2024-01-01",
210
- "3": "2025-12-31",
211
- "4": "2024-06-15"
212
- },
213
- onChange: () => {},
214
- params: [{
215
- id: "1",
216
- name: "Current Date",
217
- type: "date",
218
- description: "Today's date with no restrictions",
219
- defaultValue: "2024-07-30"
220
- }, {
221
- id: "2",
222
- name: "Start Date",
223
- type: "date",
224
- description: "Project start date (minimum: 2024-01-01)",
225
- defaultValue: "2024-01-01",
226
- min: "2024-01-01"
227
- }, {
228
- id: "3",
229
- name: "End Date",
230
- type: "date",
231
- description: "Project end date (maximum: 2025-12-31)",
232
- defaultValue: "2025-12-31",
233
- max: "2025-12-31"
234
- }, {
235
- id: "4",
236
- name: "Event Date",
237
- type: "date",
238
- description: "Event date with both min/max constraints",
239
- defaultValue: "2024-06-15",
240
- min: "2024-01-01",
241
- max: "2024-12-31"
242
- }],
243
- readOnly: false
244
- }
245
- }`,...R.parameters?.docs?.source}}};U.parameters={...U.parameters,docs:{...U.parameters?.docs,source:{originalSource:`{
246
- render: props => {
247
- return <Container padding="md">
248
- <ParamEditor {...props} />
249
- </Container>;
250
- },
251
- args: {
252
- defaultValues: {
253
- "1": ["user", "assistant"],
254
- "2": ["javascript", "typescript", "python"],
255
- "3": [],
256
- "4": ["high"]
257
- },
258
- onChange: () => {},
259
- params: [{
260
- id: "1",
261
- name: "Allowed Roles",
262
- type: "selection",
263
- description: "Select multiple roles that are allowed",
264
- defaultValue: ["user", "assistant"],
265
- multiSelect: true,
266
- options: [{
267
- id: "user",
268
- name: "User"
269
- }, {
270
- id: "assistant",
271
- name: "Assistant"
272
- }, {
273
- id: "system",
274
- name: "System"
275
- }, {
276
- id: "admin",
277
- name: "Administrator"
278
- }]
279
- }, {
280
- id: "2",
281
- name: "Programming Languages",
282
- type: "selection",
283
- description: "Choose your preferred programming languages",
284
- defaultValue: ["javascript", "typescript"],
285
- multiSelect: true,
286
- options: [{
287
- id: "javascript",
288
- name: "JavaScript"
289
- }, {
290
- id: "typescript",
291
- name: "TypeScript"
292
- }, {
293
- id: "python",
294
- name: "Python"
295
- }, {
296
- id: "java",
297
- name: "Java"
298
- }, {
299
- id: "csharp",
300
- name: "C#"
301
- }, {
302
- id: "go",
303
- name: "Go"
304
- }, {
305
- id: "rust",
306
- name: "Rust"
307
- }]
308
- }, {
309
- id: "3",
310
- name: "Categories",
311
- type: "selection",
312
- description: "Select categories (none selected by default)",
313
- defaultValue: [],
314
- multiSelect: true,
315
- placeholder: "Category",
316
- options: [{
317
- id: "web",
318
- name: "Web Development"
319
- }, {
320
- id: "mobile",
321
- name: "Mobile Development"
322
- }, {
323
- id: "ai",
324
- name: "Artificial Intelligence"
325
- }, {
326
- id: "data",
327
- name: "Data Science"
328
- }, {
329
- id: "devops",
330
- name: "DevOps"
331
- }]
332
- }, {
333
- id: "4",
334
- name: "Priority Levels",
335
- type: "selection",
336
- description: "Select priority levels for tasks",
337
- defaultValue: ["high"],
338
- multiSelect: true,
339
- options: [{
340
- id: "low",
341
- name: "Low Priority"
342
- }, {
343
- id: "medium",
344
- name: "Medium Priority"
345
- }, {
346
- id: "high",
347
- name: "High Priority"
348
- }, {
349
- id: "urgent",
350
- name: "Urgent"
351
- }]
352
- }],
353
- readOnly: false
354
- }
355
- }`,...U.parameters?.docs?.source}}};_.parameters={..._.parameters,docs:{..._.parameters?.docs,source:{originalSource:`{
356
- render: props => {
357
- return <Container padding="md">
358
- <ParamEditor {...props} />
359
- </Container>;
360
- },
361
- args: {
362
- defaultValues: {
363
- "1": "assistant",
364
- "2": ["javascript", "python"],
365
- "3": "production",
366
- "4": ["feature", "bugfix"]
367
- },
368
- onChange: () => {},
369
- params: [{
370
- id: "1",
371
- name: "Default Role (Single)",
372
- type: "selection",
373
- description: "Choose one default role",
374
- defaultValue: "assistant",
375
- options: [{
376
- id: "user",
377
- name: "User"
378
- }, {
379
- id: "assistant",
380
- name: "Assistant"
381
- }, {
382
- id: "system",
383
- name: "System"
384
- }]
385
- }, {
386
- id: "2",
387
- name: "Languages (Multi)",
388
- type: "selection",
389
- description: "Select multiple programming languages",
390
- defaultValue: ["javascript"],
391
- multiSelect: true,
392
- options: [{
393
- id: "javascript",
394
- name: "JavaScript"
395
- }, {
396
- id: "python",
397
- name: "Python"
398
- }, {
399
- id: "java",
400
- name: "Java"
401
- }, {
402
- id: "csharp",
403
- name: "C#"
404
- }]
405
- }, {
406
- id: "3",
407
- name: "Environment (Single)",
408
- type: "selection",
409
- description: "Choose deployment environment",
410
- defaultValue: "staging",
411
- options: [{
412
- id: "development",
413
- name: "Development"
414
- }, {
415
- id: "staging",
416
- name: "Staging"
417
- }, {
418
- id: "production",
419
- name: "Production"
420
- }]
421
- }, {
422
- id: "4",
423
- name: "Branch Types (Multi)",
424
- type: "selection",
425
- description: "Select allowed branch types",
426
- defaultValue: ["feature"],
427
- multiSelect: true,
428
- options: [{
429
- id: "feature",
430
- name: "Feature Branch"
431
- }, {
432
- id: "bugfix",
433
- name: "Bug Fix"
434
- }, {
435
- id: "hotfix",
436
- name: "Hot Fix"
437
- }, {
438
- id: "release",
439
- name: "Release Branch"
440
- }]
441
- }],
442
- readOnly: false
443
- }
444
- }`,..._.parameters?.docs?.source}}};q.parameters={...q.parameters,docs:{...q.parameters?.docs,source:{originalSource:`{
445
- render: props => {
446
- return <Container padding="md">
447
- <ParamEditor {...props} />
448
- </Container>;
449
- },
450
- args: {
451
- defaultValues: {
452
- temp: 0.7,
453
- maxTokens: 150,
454
- systemMsg: "You are a helpful assistant",
455
- promptTemplate: "Please help me with:\\n{user_input}",
456
- role: "assistant",
457
- startDate: "2024-01-01",
458
- endDate: "2024-12-31",
459
- apiUrl: "https://api.example.com",
460
- timeout: 30
461
- },
462
- onChange: () => {},
463
- groups: [{
464
- id: "llm-settings",
465
- title: "LLM Configuration",
466
- description: "Settings that control the language model behavior",
467
- collapsible: true,
468
- defaultCollapsed: false,
469
- params: [{
470
- id: "temp",
471
- name: "Temperature",
472
- type: "number",
473
- description: "Controls randomness in the output",
474
- defaultValue: 0.7,
475
- min: 0,
476
- max: 2,
477
- step: 0.1
478
- }, {
479
- id: "maxTokens",
480
- name: "Max Tokens",
481
- type: "number",
482
- description: "Maximum number of tokens to generate",
483
- defaultValue: 150,
484
- min: 1,
485
- max: 1000,
486
- step: 1
487
- }]
488
- }, {
489
- id: "prompt-settings",
490
- title: "Prompt Configuration",
491
- description: "Configure your prompts and system messages",
492
- collapsible: true,
493
- defaultCollapsed: false,
494
- params: [{
495
- id: "systemMsg",
496
- name: "System Message",
497
- type: "text",
498
- description: "System-level instructions",
499
- defaultValue: "You are a helpful assistant",
500
- singleLine: true
501
- }, {
502
- id: "promptTemplate",
503
- name: "Prompt Template",
504
- type: "text",
505
- description: "Template for user prompts",
506
- defaultValue: "Please help with: {request}",
507
- singleLine: false
508
- }, {
509
- id: "role",
510
- name: "Default Role",
511
- type: "selection",
512
- description: "Select the default role",
513
- defaultValue: "assistant",
514
- options: [{
515
- id: "user",
516
- name: "User"
517
- }, {
518
- id: "assistant",
519
- name: "Assistant"
520
- }, {
521
- id: "system",
522
- name: "System"
523
- }]
524
- }]
525
- }, {
526
- id: "scheduling",
527
- title: "Scheduling",
528
- description: "Date and time configuration",
529
- collapsible: true,
530
- defaultCollapsed: true,
531
- params: [{
532
- id: "startDate",
533
- name: "Start Date",
534
- type: "date",
535
- description: "Project start date",
536
- defaultValue: "2024-01-01",
537
- min: "2024-01-01"
538
- }, {
539
- id: "endDate",
540
- name: "End Date",
541
- type: "date",
542
- description: "Project end date",
543
- defaultValue: "2024-12-31",
544
- max: "2025-12-31"
545
- }]
546
- }, {
547
- id: "api-settings",
548
- title: "API Configuration",
549
- description: "External API settings and timeouts",
550
- collapsible: true,
551
- defaultCollapsed: true,
552
- params: [{
553
- id: "apiUrl",
554
- name: "API URL",
555
- type: "text",
556
- description: "Base URL for API calls",
557
- defaultValue: "https://api.example.com",
558
- singleLine: true
559
- }, {
560
- id: "timeout",
561
- name: "Timeout (seconds)",
562
- type: "number",
563
- description: "Request timeout in seconds",
564
- defaultValue: 30,
565
- min: 5,
566
- max: 300,
567
- step: 5
568
- }]
569
- }],
570
- readOnly: false
571
- }
572
- }`,...q.parameters?.docs?.source}}};W.parameters={...W.parameters,docs:{...W.parameters?.docs,source:{originalSource:`{
573
- render: props => {
574
- return <Container padding="md">
575
- <ParamEditor {...props} />
576
- </Container>;
577
- },
578
- args: {
579
- defaultValues: {
580
- standalone: "Quick setting",
581
- temp: 0.8,
582
- model: "gpt-4",
583
- env: "production"
584
- },
585
- onChange: () => {},
586
- params: [{
587
- id: "standalone",
588
- name: "Quick Setting",
589
- type: "text",
590
- description: "A standalone parameter outside of groups",
591
- defaultValue: "Quick setting",
592
- singleLine: true
593
- }],
594
- groups: [{
595
- id: "model-config",
596
- title: "Model Configuration",
597
- collapsible: false,
598
- description: "Settings related to AI model configuration",
599
- params: [{
600
- id: "temp",
601
- name: "Temperature",
602
- type: "number",
603
- description: "Model temperature",
604
- defaultValue: 0.8,
605
- min: 0,
606
- max: 1,
607
- step: 0.1
608
- }, {
609
- id: "model",
610
- name: "Model",
611
- type: "selection",
612
- description: "Choose the AI model",
613
- defaultValue: "gpt-4",
614
- options: [{
615
- id: "gpt-3.5-turbo",
616
- name: "GPT-3.5 Turbo"
617
- }, {
618
- id: "gpt-4",
619
- name: "GPT-4"
620
- }, {
621
- id: "claude-3",
622
- name: "Claude 3"
623
- }]
624
- }]
625
- }, {
626
- id: "deployment",
627
- title: "Deployment",
628
- collapsible: true,
629
- defaultCollapsed: false,
630
- description: "Settings related to deployment environment",
631
- params: [{
632
- id: "env",
633
- name: "Environment",
634
- type: "selection",
635
- description: "Deployment environment",
636
- defaultValue: "staging",
637
- options: [{
638
- id: "development",
639
- name: "Development"
640
- }, {
641
- id: "staging",
642
- name: "Staging"
643
- }, {
644
- id: "production",
645
- name: "Production"
646
- }]
647
- }]
648
- }],
649
- readOnly: false
650
- }
651
- }`,...W.parameters?.docs?.source}}};Y.parameters={...Y.parameters,docs:{...Y.parameters?.docs,source:{originalSource:`{
652
- render: props => {
653
- return <Container padding="md">
654
- <ParamEditor {...props} />
655
- </Container>;
656
- },
657
- args: {
658
- defaultValues: {
659
- "1": "user",
660
- "2": ["javascript", "typescript"],
661
- "3": "home-2",
662
- "4": ["high", "medium"]
663
- },
664
- onChange: () => {},
665
- params: [{
666
- id: "1",
667
- name: "User Role",
668
- type: "selection",
669
- description: "Select a user role with icons",
670
- defaultValue: "user",
671
- options: [{
672
- id: "user",
673
- name: "User",
674
- icon: "user"
675
- }, {
676
- id: "assistant",
677
- name: "Assistant",
678
- icon: "code"
679
- }, {
680
- id: "system",
681
- name: "System",
682
- icon: "component"
683
- }, {
684
- id: "admin",
685
- name: "Administrator",
686
- icon: "teacher"
687
- }]
688
- }, {
689
- id: "2",
690
- name: "Programming Languages",
691
- type: "selection",
692
- description: "Choose programming languages with icons",
693
- defaultValue: ["javascript", "typescript"],
694
- multiSelect: true,
695
- options: [{
696
- id: "javascript",
697
- name: "JavaScript",
698
- icon: "code"
699
- }, {
700
- id: "typescript",
701
- name: "TypeScript",
702
- icon: "code-1"
703
- }, {
704
- id: "python",
705
- name: "Python",
706
- icon: "code-circle"
707
- }, {
708
- id: "java",
709
- name: "Java",
710
- icon: "document-code"
711
- }, {
712
- id: "csharp",
713
- name: "C#",
714
- icon: "component"
715
- }]
716
- }, {
717
- id: "3",
718
- name: "Navigation Section",
719
- type: "selection",
720
- description: "Choose a navigation section with icons",
721
- defaultValue: "home-2",
722
- options: [{
723
- id: "home-2",
724
- name: "Home",
725
- icon: "home-2"
726
- }, {
727
- id: "folder-2",
728
- name: "Projects",
729
- icon: "folder-2"
730
- }, {
731
- id: "user",
732
- name: "Profile",
733
- icon: "user"
734
- }, {
735
- id: "wallet-2",
736
- name: "Billing",
737
- icon: "wallet-2"
738
- }, {
739
- id: "component",
740
- name: "Settings",
741
- icon: "component"
742
- }]
743
- }, {
744
- id: "4",
745
- name: "Priority Levels",
746
- type: "selection",
747
- description: "Select priority levels with status icons",
748
- defaultValue: ["high"],
749
- multiSelect: true,
750
- options: [{
751
- id: "low",
752
- name: "Low Priority",
753
- icon: "arrow-down"
754
- }, {
755
- id: "medium",
756
- name: "Medium Priority",
757
- icon: "minus"
758
- }, {
759
- id: "high",
760
- name: "High Priority",
761
- icon: "arrow-up-3"
762
- }, {
763
- id: "urgent",
764
- name: "Urgent",
765
- icon: "danger"
766
- }]
767
- }],
768
- readOnly: false
769
- }
770
- }`,...Y.parameters?.docs?.source}}};B.parameters={...B.parameters,docs:{...B.parameters?.docs,source:{originalSource:`{
771
- render: props => {
772
- return <Container padding="md">
773
- <ParamEditor {...props} />
774
- </Container>;
775
- },
776
- args: {
777
- defaultValues: {
778
- "1": 0.7,
779
- "2": "You are a helpful assistant",
780
- "3": "user",
781
- "4": "2024-01-01"
782
- },
783
- onChange: () => {},
784
- params: [{
785
- id: "1",
786
- name: "Temperature",
787
- type: "number",
788
- description: "Controls randomness in the output",
789
- defaultValue: 0.7,
790
- min: 0,
791
- max: 2,
792
- step: 0.1
793
- }, {
794
- id: "2",
795
- name: "System Message",
796
- type: "text",
797
- description: "System-level instructions for the AI",
798
- defaultValue: "You are a helpful assistant",
799
- singleLine: true
800
- }, {
801
- id: "3",
802
- name: "User Role",
803
- type: "selection",
804
- description: "Select a user role",
805
- defaultValue: "user",
806
- options: [{
807
- id: "user",
808
- name: "User",
809
- icon: "user"
810
- }, {
811
- id: "assistant",
812
- name: "Assistant",
813
- icon: "code"
814
- }, {
815
- id: "system",
816
- name: "System",
817
- icon: "component"
818
- }]
819
- }, {
820
- id: "4",
821
- name: "Start Date",
822
- type: "date",
823
- description: "Project start date",
824
- defaultValue: "2024-01-01"
825
- }],
826
- fullWidth: true,
827
- readOnly: false
828
- }
829
- }`,...B.parameters?.docs?.source}}};G.parameters={...G.parameters,docs:{...G.parameters?.docs,source:{originalSource:`{
830
- render: props => {
831
- return <Container padding="md">
832
- <ParamEditor {...props} />
833
- </Container>;
834
- },
835
- args: {
836
- defaultValues: {
837
- temp: 0.7,
838
- maxTokens: 150,
839
- systemMsg: "You are a helpful assistant",
840
- role: "assistant",
841
- startDate: "2024-01-01",
842
- apiUrl: "https://api.example.com"
843
- },
844
- onChange: () => {},
845
- groups: [{
846
- id: "model-settings",
847
- title: "Model Configuration",
848
- description: "Configure model parameters and behavior",
849
- params: [{
850
- id: "temp",
851
- name: "Temperature",
852
- type: "number",
853
- description: "Controls randomness in the output",
854
- defaultValue: 0.7,
855
- min: 0,
856
- max: 2,
857
- step: 0.1
858
- }, {
859
- id: "maxTokens",
860
- name: "Max Tokens",
861
- type: "number",
862
- description: "Maximum number of tokens to generate",
863
- defaultValue: 150,
864
- min: 1,
865
- max: 1000,
866
- step: 1
867
- }]
868
- }, {
869
- id: "prompt-settings",
870
- title: "Prompt Configuration",
871
- description: "Customize prompt behavior and context",
872
- params: [{
873
- id: "systemMsg",
874
- name: "System Message",
875
- type: "text",
876
- description: "System-level instructions",
877
- defaultValue: "You are a helpful assistant",
878
- singleLine: true
879
- }, {
880
- id: "role",
881
- name: "Assistant Role",
882
- type: "selection",
883
- description: "Choose the assistant's role",
884
- defaultValue: "assistant",
885
- options: [{
886
- id: "assistant",
887
- name: "Assistant",
888
- icon: "code"
889
- }, {
890
- id: "teacher",
891
- name: "Teacher",
892
- icon: "teacher"
893
- }, {
894
- id: "consultant",
895
- name: "Consultant",
896
- icon: "user"
897
- }]
898
- }]
899
- }, {
900
- id: "api-settings",
901
- title: "API Configuration",
902
- description: "Configure API endpoints and timing",
903
- params: [{
904
- id: "apiUrl",
905
- name: "API Endpoint",
906
- type: "text",
907
- description: "Base URL for API requests",
908
- defaultValue: "https://api.example.com",
909
- singleLine: true
910
- }, {
911
- id: "startDate",
912
- name: "Start Date",
913
- type: "date",
914
- description: "Project start date",
915
- defaultValue: "2024-01-01"
916
- }]
917
- }],
918
- fullWidth: true,
919
- readOnly: false
920
- }
921
- }`,...G.parameters?.docs?.source}}};const ln=["Demo","TextInputFocus","ReadOnly","DateInputs","MultiSelectExamples","MixedSelectionTypes","WithInputGroups","MixedGroupsAndParams","SelectionsWithIcons","FullWidth","GroupsWithSeparators"];export{R as DateInputs,k as Demo,B as FullWidth,G as GroupsWithSeparators,W as MixedGroupsAndParams,_ as MixedSelectionTypes,U as MultiSelectExamples,O as ReadOnly,Y as SelectionsWithIcons,E as TextInputFocus,q as WithInputGroups,ln as __namedExportsOrder,on as default};