@uipath/apollo-wind 0.9.1 → 0.10.0-pr219.300c118

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 (283) hide show
  1. package/dist/components/custom/canvas-studio.cjs +133 -0
  2. package/dist/components/custom/canvas-studio.d.ts +99 -0
  3. package/dist/components/custom/canvas-studio.js +93 -0
  4. package/dist/components/custom/canvas.cjs +44 -0
  5. package/dist/components/custom/canvas.d.ts +14 -0
  6. package/dist/components/custom/canvas.js +10 -0
  7. package/dist/components/custom/canvas.stories.d.ts +12 -0
  8. package/dist/components/custom/chat-composer.cjs +105 -0
  9. package/dist/components/custom/chat-composer.d.ts +15 -0
  10. package/dist/components/custom/chat-composer.js +71 -0
  11. package/dist/components/custom/chat-composer.stories.d.ts +12 -0
  12. package/dist/components/custom/chat-first-experience.cjs +87 -0
  13. package/dist/components/custom/chat-first-experience.d.ts +24 -0
  14. package/dist/components/custom/chat-first-experience.js +53 -0
  15. package/dist/components/custom/chat-first-experience.stories.d.ts +12 -0
  16. package/dist/components/custom/chat-prompt-suggestions.cjs +49 -0
  17. package/dist/components/custom/chat-prompt-suggestions.d.ts +18 -0
  18. package/dist/components/custom/chat-prompt-suggestions.js +15 -0
  19. package/dist/components/custom/chat-prompt-suggestions.stories.d.ts +12 -0
  20. package/dist/components/custom/chat-steps-view.cjs +308 -0
  21. package/dist/components/custom/chat-steps-view.d.ts +38 -0
  22. package/dist/components/custom/chat-steps-view.js +274 -0
  23. package/dist/components/custom/chat-steps-view.stories.d.ts +12 -0
  24. package/dist/components/custom/flow-node.cjs +76 -0
  25. package/dist/components/custom/flow-node.d.ts +20 -0
  26. package/dist/components/custom/flow-node.js +42 -0
  27. package/dist/components/custom/flow-node.stories.d.ts +14 -0
  28. package/dist/components/custom/flow-properties-bar.cjs +103 -0
  29. package/dist/components/custom/flow-properties-bar.d.ts +21 -0
  30. package/dist/components/custom/flow-properties-bar.js +69 -0
  31. package/dist/components/custom/flow-properties-expanded.cjs +328 -0
  32. package/dist/components/custom/flow-properties-expanded.d.ts +21 -0
  33. package/dist/components/custom/flow-properties-expanded.js +294 -0
  34. package/dist/components/custom/flow-properties-simple.cjs +364 -0
  35. package/dist/components/custom/flow-properties-simple.d.ts +62 -0
  36. package/dist/components/custom/flow-properties-simple.js +330 -0
  37. package/dist/components/custom/flow-properties.cjs +56 -0
  38. package/dist/components/custom/flow-properties.d.ts +28 -0
  39. package/dist/components/custom/flow-properties.js +22 -0
  40. package/dist/components/custom/flow-properties.stories.d.ts +15 -0
  41. package/dist/components/custom/global-header.cjs +422 -0
  42. package/dist/components/custom/global-header.d.ts +38 -0
  43. package/dist/components/custom/global-header.js +388 -0
  44. package/dist/components/custom/global-header.stories.d.ts +13 -0
  45. package/dist/components/custom/grid-maestro.cjs +62 -0
  46. package/dist/components/custom/grid-maestro.d.ts +19 -0
  47. package/dist/components/custom/grid-maestro.js +22 -0
  48. package/dist/components/custom/grid-maestro.stories.d.ts +10 -0
  49. package/dist/components/custom/page-header.cjs +92 -0
  50. package/dist/components/custom/page-header.d.ts +43 -0
  51. package/dist/components/custom/page-header.js +58 -0
  52. package/dist/components/custom/page-header.stories.d.ts +15 -0
  53. package/dist/components/custom/panel-delegate.cjs +285 -0
  54. package/dist/components/custom/panel-delegate.d.ts +34 -0
  55. package/dist/components/custom/panel-delegate.js +251 -0
  56. package/dist/components/custom/panel-delegate.stories.d.ts +13 -0
  57. package/dist/components/custom/panel-flow.cjs +262 -0
  58. package/dist/components/custom/panel-flow.d.ts +38 -0
  59. package/dist/components/custom/panel-flow.js +225 -0
  60. package/dist/components/custom/panel-flow.stories.d.ts +13 -0
  61. package/dist/components/custom/panel-maestro.cjs +74 -0
  62. package/dist/components/custom/panel-maestro.d.ts +30 -0
  63. package/dist/components/custom/panel-maestro.js +40 -0
  64. package/dist/components/custom/panel-maestro.stories.d.ts +13 -0
  65. package/dist/components/custom/panel-studio.cjs +122 -0
  66. package/dist/components/custom/panel-studio.d.ts +48 -0
  67. package/dist/components/custom/panel-studio.js +85 -0
  68. package/dist/components/custom/panel-studio.stories.d.ts +13 -0
  69. package/dist/components/custom/toolbar-canvas.cjs +124 -0
  70. package/dist/components/custom/toolbar-canvas.d.ts +15 -0
  71. package/dist/components/custom/toolbar-canvas.js +90 -0
  72. package/dist/components/custom/toolbar-canvas.stories.d.ts +12 -0
  73. package/dist/components/custom/toolbar-view.cjs +121 -0
  74. package/dist/components/custom/toolbar-view.d.ts +14 -0
  75. package/dist/components/custom/toolbar-view.js +87 -0
  76. package/dist/components/custom/toolbar-view.stories.d.ts +12 -0
  77. package/dist/components/custom/viewport-guard.cjs +91 -0
  78. package/dist/components/custom/viewport-guard.d.ts +23 -0
  79. package/dist/components/custom/viewport-guard.js +54 -0
  80. package/dist/components/forms/custom-controls.stories.d.ts +61 -0
  81. package/dist/components/forms/form-designer.cjs +13 -2
  82. package/dist/components/forms/form-designer.js +13 -2
  83. package/dist/components/forms/form-designer.stories.d.ts +6 -0
  84. package/dist/components/forms/metadata-form.stories.d.ts +143 -0
  85. package/dist/components/ui/accordion.stories.d.ts +28 -0
  86. package/dist/components/ui/alert-dialog.stories.d.ts +24 -0
  87. package/dist/components/ui/alert.stories.d.ts +40 -0
  88. package/dist/components/ui/aspect-ratio.stories.d.ts +12 -0
  89. package/dist/components/ui/badge.stories.d.ts +24 -0
  90. package/dist/components/ui/breadcrumb.cjs +0 -2
  91. package/dist/components/ui/breadcrumb.js +0 -2
  92. package/dist/components/ui/breadcrumb.stories.d.ts +24 -0
  93. package/dist/components/ui/button-group.cjs +5 -3
  94. package/dist/components/ui/button-group.d.ts +2 -2
  95. package/dist/components/ui/button-group.js +5 -3
  96. package/dist/components/ui/button-group.stories.d.ts +67 -0
  97. package/dist/components/ui/button.cjs +3 -3
  98. package/dist/components/ui/button.js +3 -3
  99. package/dist/components/ui/button.stories.d.ts +31 -0
  100. package/dist/components/ui/calendar.stories.d.ts +8 -0
  101. package/dist/components/ui/card.stories.d.ts +21 -0
  102. package/dist/components/ui/chart.cjs +222 -0
  103. package/dist/components/ui/chart.d.ts +40 -0
  104. package/dist/components/ui/chart.js +173 -0
  105. package/dist/components/ui/checkbox.stories.d.ts +28 -0
  106. package/dist/components/ui/code-block.cjs +227 -0
  107. package/dist/components/ui/code-block.d.ts +48 -0
  108. package/dist/components/ui/code-block.js +193 -0
  109. package/dist/components/ui/code-block.stories.d.ts +54 -0
  110. package/dist/components/ui/combobox.stories.d.ts +28 -0
  111. package/dist/components/ui/command.stories.d.ts +50 -0
  112. package/dist/components/ui/component-gallery.stories.d.ts +11 -0
  113. package/dist/components/ui/context-menu.stories.d.ts +28 -0
  114. package/dist/components/ui/data-table.cjs +22 -4
  115. package/dist/components/ui/data-table.d.ts +4 -1
  116. package/dist/components/ui/data-table.js +23 -5
  117. package/dist/components/ui/data-table.stories.d.ts +62 -0
  118. package/dist/components/ui/date-picker.stories.d.ts +34 -0
  119. package/dist/components/ui/datetime-picker.stories.d.ts +34 -0
  120. package/dist/components/ui/dialog.stories.d.ts +28 -0
  121. package/dist/components/ui/dropdown-menu.stories.d.ts +32 -0
  122. package/dist/components/ui/editable-cell.cjs +3 -10
  123. package/dist/components/ui/editable-cell.js +3 -10
  124. package/dist/components/ui/empty-state.cjs +17 -6
  125. package/dist/components/ui/empty-state.d.ts +7 -0
  126. package/dist/components/ui/empty-state.js +17 -6
  127. package/dist/components/ui/empty-state.stories.d.ts +25 -0
  128. package/dist/components/ui/file-upload.cjs +90 -42
  129. package/dist/components/ui/file-upload.d.ts +3 -1
  130. package/dist/components/ui/file-upload.js +90 -42
  131. package/dist/components/ui/file-upload.stories.d.ts +42 -0
  132. package/dist/components/ui/hover-card.stories.d.ts +24 -0
  133. package/dist/components/ui/index.cjs +292 -152
  134. package/dist/components/ui/index.d.ts +2 -3
  135. package/dist/components/ui/index.js +2 -3
  136. package/dist/components/ui/input.stories.d.ts +19 -0
  137. package/dist/components/ui/label.stories.d.ts +21 -0
  138. package/dist/components/ui/layout/column.stories.d.ts +53 -0
  139. package/dist/components/ui/layout/grid.stories.d.ts +65 -0
  140. package/dist/components/ui/layout/row.stories.d.ts +53 -0
  141. package/dist/components/ui/multi-select.cjs +3 -10
  142. package/dist/components/ui/multi-select.js +3 -10
  143. package/dist/components/ui/multi-select.stories.d.ts +42 -0
  144. package/dist/components/ui/pagination.cjs +0 -1
  145. package/dist/components/ui/pagination.js +0 -1
  146. package/dist/components/ui/pagination.stories.d.ts +20 -0
  147. package/dist/components/ui/popover.stories.d.ts +20 -0
  148. package/dist/components/ui/progress.stories.d.ts +40 -0
  149. package/dist/components/ui/radio-group.stories.d.ts +8 -0
  150. package/dist/components/ui/resizable.d.ts +1 -1
  151. package/dist/components/ui/resizable.stories.d.ts +29 -0
  152. package/dist/components/ui/scroll-area.stories.d.ts +8 -0
  153. package/dist/components/ui/search.stories.d.ts +38 -0
  154. package/dist/components/ui/select.stories.d.ts +33 -0
  155. package/dist/components/ui/separator.stories.d.ts +12 -0
  156. package/dist/components/ui/sheet.stories.d.ts +24 -0
  157. package/dist/components/ui/skeleton.stories.d.ts +46 -0
  158. package/dist/components/ui/slider.stories.d.ts +20 -0
  159. package/dist/components/ui/sonner.stories.d.ts +44 -0
  160. package/dist/components/ui/spinner.stories.d.ts +22 -0
  161. package/dist/components/ui/stats-card.stories.d.ts +27 -0
  162. package/dist/components/ui/stepper.stories.d.ts +38 -0
  163. package/dist/components/ui/switch.stories.d.ts +16 -0
  164. package/dist/components/ui/tabs.stories.d.ts +20 -0
  165. package/dist/components/ui/textarea.stories.d.ts +21 -0
  166. package/dist/components/ui/toggle-group.stories.d.ts +44 -0
  167. package/dist/components/ui/toggle.stories.d.ts +20 -0
  168. package/dist/components/ui/tooltip.stories.d.ts +36 -0
  169. package/dist/components/ui/tree-view.cjs +1117 -0
  170. package/dist/components/ui/tree-view.d.ts +95 -0
  171. package/dist/components/ui/tree-view.js +1083 -0
  172. package/dist/components/ui/tree-view.stories.d.ts +70 -0
  173. package/dist/foundation/Future/colors.cjs +92 -0
  174. package/dist/foundation/Future/colors.d.ts +132 -0
  175. package/dist/foundation/Future/colors.js +43 -0
  176. package/dist/foundation/Future/colors.stories.d.ts +10 -0
  177. package/dist/foundation/Future/icons.stories.d.ts +10 -0
  178. package/dist/foundation/Future/radius.cjs +46 -0
  179. package/dist/foundation/Future/radius.d.ts +33 -0
  180. package/dist/foundation/Future/radius.js +12 -0
  181. package/dist/foundation/Future/radius.stories.d.ts +10 -0
  182. package/dist/foundation/Future/responsive.cjs +49 -0
  183. package/dist/foundation/Future/responsive.d.ts +40 -0
  184. package/dist/foundation/Future/responsive.js +12 -0
  185. package/dist/foundation/Future/responsive.stories.d.ts +10 -0
  186. package/dist/foundation/Future/shadows.cjs +48 -0
  187. package/dist/foundation/Future/shadows.d.ts +29 -0
  188. package/dist/foundation/Future/shadows.js +11 -0
  189. package/dist/foundation/Future/shadows.stories.d.ts +10 -0
  190. package/dist/foundation/Future/spacing.cjs +71 -0
  191. package/dist/foundation/Future/spacing.d.ts +80 -0
  192. package/dist/foundation/Future/spacing.js +31 -0
  193. package/dist/foundation/Future/spacing.stories.d.ts +10 -0
  194. package/dist/foundation/Future/strokes.cjs +59 -0
  195. package/dist/foundation/Future/strokes.d.ts +49 -0
  196. package/dist/foundation/Future/strokes.js +19 -0
  197. package/dist/foundation/Future/strokes.stories.d.ts +10 -0
  198. package/dist/foundation/Future/theme.stories.d.ts +10 -0
  199. package/dist/foundation/Future/types.cjs +18 -0
  200. package/dist/foundation/Future/types.d.ts +25 -0
  201. package/dist/foundation/Future/types.js +0 -0
  202. package/dist/foundation/Future/typography.cjs +79 -0
  203. package/dist/foundation/Future/typography.d.ts +86 -0
  204. package/dist/foundation/Future/typography.js +33 -0
  205. package/dist/foundation/Future/typography.stories.d.ts +10 -0
  206. package/dist/foundation/colors.stories.d.ts +10 -0
  207. package/dist/foundation/icons.stories.d.ts +10 -0
  208. package/dist/foundation/spacing.stories.d.ts +10 -0
  209. package/dist/foundation/typography.stories.d.ts +10 -0
  210. package/dist/getting-started/getting-started.stories.d.ts +10 -0
  211. package/dist/getting-started/prototyping.stories.d.ts +10 -0
  212. package/dist/index.cjs +131 -221
  213. package/dist/index.d.ts +4 -3
  214. package/dist/index.js +3 -4
  215. package/dist/src/foundation/Future/themes.css +279 -0
  216. package/dist/styles.css +1944 -606
  217. package/dist/tailwind.css +388 -97
  218. package/dist/templates/Admin/admin.stories.d.ts +13 -0
  219. package/dist/templates/Admin/settings-admin.d.ts +5 -0
  220. package/dist/templates/Admin/template-admin.d.ts +86 -0
  221. package/dist/templates/Delegate/delegate.stories.d.ts +17 -0
  222. package/dist/templates/Delegate/template-delegate.d.ts +26 -0
  223. package/dist/templates/EmptyErrors/empty-errors.stories.d.ts +33 -0
  224. package/dist/templates/EmptyErrors/error-components.d.ts +3 -0
  225. package/dist/templates/Experiments/brand-motion.stories.d.ts +10 -0
  226. package/dist/templates/Experiments/ideas-AnimatedGradientText.d.ts +23 -0
  227. package/dist/templates/Experiments/ideas.stories.d.ts +11 -0
  228. package/dist/templates/Flow/flow.stories.d.ts +14 -0
  229. package/dist/templates/Flow/template-flow.d.ts +57 -0
  230. package/dist/templates/Forms/form-builder-example.stories.d.ts +12 -0
  231. package/dist/templates/Maestro/maestro.stories.d.ts +12 -0
  232. package/dist/templates/Maestro/template-maestro.d.ts +52 -0
  233. package/dist/templates/Maestro/visualization.stories.d.ts +10 -0
  234. package/dist/templates/Studio/studio.stories.d.ts +13 -0
  235. package/dist/templates/Studio/template-studio.d.ts +102 -0
  236. package/dist/templates/{vscode-example.d.ts → VisualStudio/shell.d.ts} +1 -1
  237. package/dist/templates/VisualStudio/visual-studio.stories.d.ts +12 -0
  238. package/package.json +12 -1
  239. package/dist/components/ui/menubar.cjs +0 -210
  240. package/dist/components/ui/menubar.d.ts +0 -28
  241. package/dist/components/ui/menubar.js +0 -131
  242. package/dist/components/ui/navigation-menu.cjs +0 -122
  243. package/dist/components/ui/navigation-menu.d.ts +0 -12
  244. package/dist/components/ui/navigation-menu.js +0 -64
  245. package/dist/examples/admin-layout-example.cjs +0 -490
  246. package/dist/examples/admin-layout-example.d.ts +0 -92
  247. package/dist/examples/admin-layout-example.js +0 -411
  248. package/dist/examples/app-shell-example.cjs +0 -452
  249. package/dist/examples/app-shell-example.d.ts +0 -52
  250. package/dist/examples/app-shell-example.js +0 -418
  251. package/dist/examples/dashboard-example.cjs +0 -590
  252. package/dist/examples/dashboard-example.d.ts +0 -11
  253. package/dist/examples/dashboard-example.js +0 -556
  254. package/dist/examples/data-management-example.cjs +0 -584
  255. package/dist/examples/data-management-example.d.ts +0 -1
  256. package/dist/examples/data-management-example.js +0 -550
  257. package/dist/examples/flow-editor-layout-example.cjs +0 -309
  258. package/dist/examples/flow-editor-layout-example.d.ts +0 -22
  259. package/dist/examples/flow-editor-layout-example.js +0 -269
  260. package/dist/examples/flow-start-example.cjs +0 -467
  261. package/dist/examples/flow-start-example.d.ts +0 -30
  262. package/dist/examples/flow-start-example.js +0 -433
  263. package/dist/examples/form-builder-example.cjs +0 -674
  264. package/dist/examples/form-builder-example.js +0 -640
  265. package/dist/examples/new-project-example.cjs +0 -550
  266. package/dist/examples/new-project-example.d.ts +0 -30
  267. package/dist/examples/new-project-example.js +0 -516
  268. package/dist/examples/settings-example.cjs +0 -864
  269. package/dist/examples/settings-example.d.ts +0 -1
  270. package/dist/examples/settings-example.js +0 -830
  271. package/dist/examples/vscode-example.cjs +0 -340
  272. package/dist/examples/vscode-example.d.ts +0 -80
  273. package/dist/examples/vscode-example.js +0 -270
  274. package/dist/templates/admin-layout-example.d.ts +0 -92
  275. package/dist/templates/app-shell-example.d.ts +0 -52
  276. package/dist/templates/dashboard-example.d.ts +0 -11
  277. package/dist/templates/data-management-example.d.ts +0 -1
  278. package/dist/templates/flow-editor-layout-example.d.ts +0 -22
  279. package/dist/templates/flow-start-example.d.ts +0 -30
  280. package/dist/templates/form-builder-example.d.ts +0 -1
  281. package/dist/templates/new-project-example.d.ts +0 -30
  282. package/dist/templates/settings-example.d.ts +0 -1
  283. /package/dist/{examples → templates/Forms}/form-builder-example.d.ts +0 -0
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ ChatFirstExperience: ()=>ChatFirstExperience
28
+ });
29
+ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ const index_cjs_namespaceObject = require("../../lib/index.cjs");
31
+ const external_chat_composer_cjs_namespaceObject = require("./chat-composer.cjs");
32
+ const external_chat_prompt_suggestions_cjs_namespaceObject = require("./chat-prompt-suggestions.cjs");
33
+ function ChatFirstExperience({ className, userName = 'David', subtitle = 'What should we work on today?', composerPlaceholder = 'I would like you to automate my', suggestions = [
34
+ {
35
+ id: '1',
36
+ label: 'Make a list of affordable apartments in NYC'
37
+ },
38
+ {
39
+ id: '2',
40
+ label: 'Find the highest CD rates'
41
+ },
42
+ {
43
+ id: '3',
44
+ label: 'Lorem ipsum dolor sit amet'
45
+ }
46
+ ], onSuggestionClick, onSubmit }) {
47
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
48
+ className: (0, index_cjs_namespaceObject.cn)('flex flex-1 flex-col items-center justify-center', className),
49
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
50
+ className: "flex w-full max-w-[800px] flex-col items-center gap-[37px]",
51
+ children: [
52
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
53
+ className: "flex flex-col items-center text-center",
54
+ children: [
55
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("h1", {
56
+ className: "text-[40px] font-bold leading-9 tracking-[-0.8px] text-foreground",
57
+ children: [
58
+ "Hello ",
59
+ userName
60
+ ]
61
+ }),
62
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
63
+ className: "mt-1 text-base font-normal leading-9 text-foreground-secondary",
64
+ children: subtitle
65
+ })
66
+ ]
67
+ }),
68
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_chat_composer_cjs_namespaceObject.ChatComposer, {
69
+ placeholder: composerPlaceholder,
70
+ onSubmit: onSubmit
71
+ }),
72
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_chat_prompt_suggestions_cjs_namespaceObject.PromptSuggestions, {
73
+ className: "w-full",
74
+ suggestions: suggestions,
75
+ onSelect: onSuggestionClick
76
+ })
77
+ ]
78
+ })
79
+ });
80
+ }
81
+ exports.ChatFirstExperience = __webpack_exports__.ChatFirstExperience;
82
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
83
+ "ChatFirstExperience"
84
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
85
+ Object.defineProperty(exports, '__esModule', {
86
+ value: true
87
+ });
@@ -0,0 +1,24 @@
1
+ import { type PromptSuggestion } from './chat-prompt-suggestions';
2
+ export interface ChatFirstExperienceProps {
3
+ className?: string;
4
+ /** Greeting name displayed in the heading */
5
+ userName?: string;
6
+ /** Subtitle below the greeting */
7
+ subtitle?: string;
8
+ /** Placeholder text inside the composer */
9
+ composerPlaceholder?: string;
10
+ /** Prompt suggestions shown below the composer */
11
+ suggestions?: PromptSuggestion[];
12
+ /** Callback when a suggestion is clicked */
13
+ onSuggestionClick?: (suggestion: PromptSuggestion) => void;
14
+ /** Callback when the composer submit button is clicked */
15
+ onSubmit?: (value: string) => void;
16
+ }
17
+ /**
18
+ * The initial "first run" experience shown in the Canvas when
19
+ * a user opens the Delegate Chat page with no active conversation.
20
+ *
21
+ * Displays a greeting, a composer input, and prompt suggestions,
22
+ * all constrained to 800px max-width and centered in the canvas.
23
+ */
24
+ export declare function ChatFirstExperience({ className, userName, subtitle, composerPlaceholder, suggestions, onSuggestionClick, onSubmit, }: ChatFirstExperienceProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,53 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { cn } from "../../lib/index.js";
3
+ import { ChatComposer } from "./chat-composer.js";
4
+ import { PromptSuggestions } from "./chat-prompt-suggestions.js";
5
+ function ChatFirstExperience({ className, userName = 'David', subtitle = 'What should we work on today?', composerPlaceholder = 'I would like you to automate my', suggestions = [
6
+ {
7
+ id: '1',
8
+ label: 'Make a list of affordable apartments in NYC'
9
+ },
10
+ {
11
+ id: '2',
12
+ label: 'Find the highest CD rates'
13
+ },
14
+ {
15
+ id: '3',
16
+ label: 'Lorem ipsum dolor sit amet'
17
+ }
18
+ ], onSuggestionClick, onSubmit }) {
19
+ return /*#__PURE__*/ jsx("div", {
20
+ className: cn('flex flex-1 flex-col items-center justify-center', className),
21
+ children: /*#__PURE__*/ jsxs("div", {
22
+ className: "flex w-full max-w-[800px] flex-col items-center gap-[37px]",
23
+ children: [
24
+ /*#__PURE__*/ jsxs("div", {
25
+ className: "flex flex-col items-center text-center",
26
+ children: [
27
+ /*#__PURE__*/ jsxs("h1", {
28
+ className: "text-[40px] font-bold leading-9 tracking-[-0.8px] text-foreground",
29
+ children: [
30
+ "Hello ",
31
+ userName
32
+ ]
33
+ }),
34
+ /*#__PURE__*/ jsx("p", {
35
+ className: "mt-1 text-base font-normal leading-9 text-foreground-secondary",
36
+ children: subtitle
37
+ })
38
+ ]
39
+ }),
40
+ /*#__PURE__*/ jsx(ChatComposer, {
41
+ placeholder: composerPlaceholder,
42
+ onSubmit: onSubmit
43
+ }),
44
+ /*#__PURE__*/ jsx(PromptSuggestions, {
45
+ className: "w-full",
46
+ suggestions: suggestions,
47
+ onSelect: onSuggestionClick
48
+ })
49
+ ]
50
+ })
51
+ });
52
+ }
53
+ export { ChatFirstExperience };
@@ -0,0 +1,12 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { ChatFirstExperience } from './chat-first-experience';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof ChatFirstExperience;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ PromptSuggestions: ()=>PromptSuggestions
28
+ });
29
+ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ const index_cjs_namespaceObject = require("../../lib/index.cjs");
31
+ function PromptSuggestions({ className, suggestions = [], onSelect }) {
32
+ if (0 === suggestions.length) return null;
33
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
34
+ className: (0, index_cjs_namespaceObject.cn)('flex flex-col items-start gap-2', className),
35
+ children: suggestions.map((suggestion)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
36
+ type: "button",
37
+ className: "flex h-10 items-center rounded-xl border border-border bg-surface-overlay px-4 py-2.5 text-sm font-medium leading-5 text-foreground transition-colors hover:bg-surface-hover",
38
+ onClick: ()=>onSelect?.(suggestion),
39
+ children: suggestion.label
40
+ }, suggestion.id))
41
+ });
42
+ }
43
+ exports.PromptSuggestions = __webpack_exports__.PromptSuggestions;
44
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
45
+ "PromptSuggestions"
46
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
47
+ Object.defineProperty(exports, '__esModule', {
48
+ value: true
49
+ });
@@ -0,0 +1,18 @@
1
+ export interface PromptSuggestion {
2
+ id: string;
3
+ label: string;
4
+ }
5
+ export interface PromptSuggestionsProps {
6
+ className?: string;
7
+ /** List of suggestions to display */
8
+ suggestions?: PromptSuggestion[];
9
+ /** Callback when a suggestion is clicked */
10
+ onSelect?: (suggestion: PromptSuggestion) => void;
11
+ }
12
+ /**
13
+ * A vertical list of clickable prompt suggestion pills.
14
+ *
15
+ * Styled per the Delegate Figma spec: zinc-800 background with
16
+ * zinc-700 border and zinc-50 text.
17
+ */
18
+ export declare function PromptSuggestions({ className, suggestions, onSelect, }: PromptSuggestionsProps): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,15 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { cn } from "../../lib/index.js";
3
+ function PromptSuggestions({ className, suggestions = [], onSelect }) {
4
+ if (0 === suggestions.length) return null;
5
+ return /*#__PURE__*/ jsx("div", {
6
+ className: cn('flex flex-col items-start gap-2', className),
7
+ children: suggestions.map((suggestion)=>/*#__PURE__*/ jsx("button", {
8
+ type: "button",
9
+ className: "flex h-10 items-center rounded-xl border border-border bg-surface-overlay px-4 py-2.5 text-sm font-medium leading-5 text-foreground transition-colors hover:bg-surface-hover",
10
+ onClick: ()=>onSelect?.(suggestion),
11
+ children: suggestion.label
12
+ }, suggestion.id))
13
+ });
14
+ }
15
+ export { PromptSuggestions };
@@ -0,0 +1,12 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ import { PromptSuggestions } from './chat-prompt-suggestions';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof PromptSuggestions;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Default: Story;
@@ -0,0 +1,308 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ StepsView: ()=>StepsView
28
+ });
29
+ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
+ const external_lucide_react_namespaceObject = require("lucide-react");
31
+ const index_cjs_namespaceObject = require("../../lib/index.cjs");
32
+ function HeaderDivider() {
33
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
34
+ className: "h-9 w-px bg-border-subtle"
35
+ });
36
+ }
37
+ function StatusBadge({ label }) {
38
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
39
+ className: "flex h-10 items-center rounded-xl bg-brand-subtle px-4 py-2",
40
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
41
+ className: "text-sm font-bold leading-5 text-foreground-accent-muted",
42
+ children: label
43
+ })
44
+ });
45
+ }
46
+ function StatItem({ value, label }) {
47
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
48
+ className: "flex flex-col gap-0.5",
49
+ children: [
50
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
51
+ className: "text-[15px] font-semibold leading-5 text-foreground",
52
+ children: value
53
+ }),
54
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
55
+ className: "text-sm font-medium leading-5 text-foreground-subtle",
56
+ children: label
57
+ })
58
+ ]
59
+ });
60
+ }
61
+ function ActionButton({ icon, label, onClick }) {
62
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("button", {
63
+ type: "button",
64
+ className: "flex h-10 items-center gap-2 rounded-xl border border-border px-4 py-2 text-sm font-medium leading-5 text-foreground-subtle transition-colors hover:border-border-hover hover:text-foreground-hover",
65
+ onClick: onClick,
66
+ children: [
67
+ icon,
68
+ label
69
+ ]
70
+ });
71
+ }
72
+ function TabBar({ activeTab }) {
73
+ const tabs = [
74
+ {
75
+ id: 'steps',
76
+ label: 'Steps',
77
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.List, {
78
+ className: "h-4 w-4"
79
+ })
80
+ },
81
+ {
82
+ id: 'history',
83
+ label: 'History',
84
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Calendar, {
85
+ className: "h-4 w-4"
86
+ })
87
+ },
88
+ {
89
+ id: 'resources',
90
+ label: 'Resources',
91
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Folder, {
92
+ className: "h-4 w-4"
93
+ })
94
+ }
95
+ ];
96
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
97
+ className: "flex h-10 items-center rounded-xl bg-surface-overlay p-1",
98
+ children: tabs.map((tab)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
99
+ className: (0, index_cjs_namespaceObject.cn)('flex h-8 items-center gap-2 rounded-[10px] px-4 py-2 text-sm font-medium leading-5 transition-colors', activeTab === tab.id ? 'border border-border-subtle bg-surface text-foreground' : 'text-foreground-subtle hover:text-foreground-hover'),
100
+ children: [
101
+ tab.icon,
102
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
103
+ children: tab.label
104
+ })
105
+ ]
106
+ }, tab.id))
107
+ });
108
+ }
109
+ function StepCard({ step, isHovered }) {
110
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
111
+ className: (0, index_cjs_namespaceObject.cn)('flex h-16 items-center justify-between rounded-2xl border px-4', isHovered ? 'border-border-subtle bg-surface-overlay shadow-[0px_4px_24px_0px_rgba(0,0,0,0.25)]' : 'border-border-subtle'),
112
+ children: [
113
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
114
+ className: "flex items-center gap-4",
115
+ children: [
116
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
117
+ className: "flex h-8 w-8 items-center justify-center rounded-lg bg-surface-hover",
118
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Bot, {
119
+ className: "h-5 w-5 text-foreground"
120
+ })
121
+ }),
122
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
123
+ className: "flex flex-col",
124
+ children: [
125
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
126
+ className: "flex items-start gap-0.5",
127
+ children: [
128
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
129
+ className: "text-sm font-semibold leading-5 tracking-[-0.35px] text-foreground",
130
+ children: step.title
131
+ }),
132
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
133
+ className: "ms-1 text-xs leading-5 tracking-[-0.3px] text-foreground-subtle",
134
+ children: [
135
+ "• ",
136
+ step.stepRange
137
+ ]
138
+ })
139
+ ]
140
+ }),
141
+ step.loop ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
142
+ className: "flex items-center gap-2",
143
+ children: [
144
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
145
+ className: "flex h-5 w-5 items-center justify-center rounded-[10px] bg-surface-muted",
146
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Repeat2, {
147
+ className: "h-3.5 w-3.5 text-foreground-on-accent"
148
+ })
149
+ }),
150
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
151
+ className: "text-sm leading-5 text-foreground-subtle",
152
+ children: [
153
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
154
+ className: "font-semibold",
155
+ children: "Loop"
156
+ }),
157
+ ": ",
158
+ step.loop
159
+ ]
160
+ })
161
+ ]
162
+ }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
163
+ className: "text-sm leading-5 tracking-[-0.35px] text-foreground-subtle",
164
+ children: step.description
165
+ })
166
+ ]
167
+ })
168
+ ]
169
+ }),
170
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronDown, {
171
+ className: "h-4 w-4 shrink-0 text-foreground-subtle"
172
+ })
173
+ ]
174
+ });
175
+ }
176
+ function StepsView({ className, flowName = 'Flow name', flowDescription = 'Lorem ipsum dolor sit amet lorem ipsum.', status = 'ACTIVE', lastRun = '25/11/2025 12:15PM', totalRuns = 32, steps = [
177
+ {
178
+ id: '1',
179
+ title: 'Gmail',
180
+ stepRange: 'Steps 1 - 2',
181
+ description: 'Evaluate temperature conditions and proceed'
182
+ },
183
+ {
184
+ id: '2',
185
+ title: 'Salesforce',
186
+ stepRange: 'Steps 3 - 5',
187
+ description: 'Evaluate temperature conditions and proceed'
188
+ },
189
+ {
190
+ id: '3',
191
+ title: 'Excel - Process vendor from each file',
192
+ stepRange: 'Steps 6 - 12',
193
+ description: 'Evaluate temperature conditions and proceed',
194
+ loop: 'For each row in the "vendor list", starting from the second row.'
195
+ },
196
+ {
197
+ id: '4',
198
+ title: 'Gmail',
199
+ stepRange: 'Steps 1 - 2',
200
+ description: 'Evaluate temperature conditions and proceed'
201
+ }
202
+ ], activeTab = 'steps', onBack, onEdit, onPause }) {
203
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
204
+ className: (0, index_cjs_namespaceObject.cn)('flex flex-1 flex-col p-0', className),
205
+ children: [
206
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
207
+ className: "flex min-h-[78px] shrink-0 items-center gap-8 overflow-x-auto px-10 py-5",
208
+ children: [
209
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
210
+ className: "flex shrink-0 items-center gap-4",
211
+ children: [
212
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
213
+ type: "button",
214
+ className: "shrink-0 text-foreground transition-colors hover:text-foreground",
215
+ onClick: onBack,
216
+ "aria-label": "Go back",
217
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ArrowLeft, {
218
+ className: "h-6 w-6"
219
+ })
220
+ }),
221
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
222
+ className: "flex flex-col gap-1",
223
+ children: [
224
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
225
+ className: "whitespace-nowrap text-xl font-semibold leading-5 text-foreground",
226
+ children: flowName
227
+ }),
228
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
229
+ className: "whitespace-nowrap text-sm font-medium leading-5 text-foreground-subtle",
230
+ children: flowDescription
231
+ })
232
+ ]
233
+ })
234
+ ]
235
+ }),
236
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(HeaderDivider, {}),
237
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(StatusBadge, {
238
+ label: status
239
+ }),
240
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
241
+ className: "flex shrink-0 items-center gap-4",
242
+ children: [
243
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(HeaderDivider, {}),
244
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(StatItem, {
245
+ value: lastRun,
246
+ label: "Last run"
247
+ })
248
+ ]
249
+ }),
250
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
251
+ className: "flex shrink-0 items-center gap-4",
252
+ children: [
253
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(HeaderDivider, {}),
254
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(StatItem, {
255
+ value: String(totalRuns),
256
+ label: "Total runs"
257
+ })
258
+ ]
259
+ }),
260
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
261
+ className: "flex-1"
262
+ }),
263
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
264
+ className: "flex shrink-0 items-center gap-2",
265
+ children: [
266
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ActionButton, {
267
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Pencil, {
268
+ className: "h-4 w-4"
269
+ }),
270
+ label: "Edit",
271
+ onClick: onEdit
272
+ }),
273
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ActionButton, {
274
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Pause, {
275
+ className: "h-4 w-4"
276
+ }),
277
+ label: "Pause",
278
+ onClick: onPause
279
+ })
280
+ ]
281
+ })
282
+ ]
283
+ }),
284
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
285
+ className: "flex flex-1 flex-col rounded-t-2xl border border-border-muted bg-surface p-4",
286
+ children: [
287
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(TabBar, {
288
+ activeTab: activeTab
289
+ }),
290
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
291
+ className: "mx-auto mt-20 flex w-full max-w-[680px] flex-col gap-6",
292
+ children: steps.map((step, index)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(StepCard, {
293
+ step: step,
294
+ isHovered: index === steps.length - 1
295
+ }, step.id))
296
+ })
297
+ ]
298
+ })
299
+ ]
300
+ });
301
+ }
302
+ exports.StepsView = __webpack_exports__.StepsView;
303
+ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
304
+ "StepsView"
305
+ ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
306
+ Object.defineProperty(exports, '__esModule', {
307
+ value: true
308
+ });
@@ -0,0 +1,38 @@
1
+ export interface FlowStep {
2
+ id: string;
3
+ title: string;
4
+ stepRange: string;
5
+ description: string;
6
+ /** Optional loop annotation */
7
+ loop?: string;
8
+ }
9
+ export interface StepsViewProps {
10
+ className?: string;
11
+ /** Flow name displayed in the header */
12
+ flowName?: string;
13
+ /** Flow description */
14
+ flowDescription?: string;
15
+ /** Status badge label */
16
+ status?: string;
17
+ /** Last run date/time */
18
+ lastRun?: string;
19
+ /** Total runs count */
20
+ totalRuns?: number;
21
+ /** Steps to display */
22
+ steps?: FlowStep[];
23
+ /** Currently active tab */
24
+ activeTab?: 'steps' | 'history' | 'resources';
25
+ /** Callback when back button is clicked */
26
+ onBack?: () => void;
27
+ /** Callback when Edit is clicked */
28
+ onEdit?: () => void;
29
+ /** Callback when Pause is clicked */
30
+ onPause?: () => void;
31
+ }
32
+ /**
33
+ * Canvas content for the Delegate Steps page.
34
+ *
35
+ * Shows a flow header with metadata, a tabbed content area,
36
+ * and a vertical list of step cards.
37
+ */
38
+ export declare function StepsView({ className, flowName, flowDescription, status, lastRun, totalRuns, steps, activeTab, onBack, onEdit, onPause, }: StepsViewProps): import("react/jsx-runtime").JSX.Element;