@restio/ui 0.2.1 → 0.2.2-20261120112131

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 (517) hide show
  1. package/README.md +51 -7
  2. package/dist/core.cjs +1 -0
  3. package/dist/core.d.ts +992 -0
  4. package/dist/core.js +36 -0
  5. package/dist/data.cjs +1 -0
  6. package/dist/data.d.ts +1465 -0
  7. package/dist/data.js +24 -0
  8. package/dist/experimental.cjs +2 -0
  9. package/dist/experimental.d.ts +660 -0
  10. package/dist/experimental.js +1365 -0
  11. package/dist/framework.cjs +1 -0
  12. package/dist/framework.d.ts +761 -0
  13. package/dist/framework.js +34 -0
  14. package/dist/index.cjs +1 -0
  15. package/dist/index.d.ts +3282 -151
  16. package/dist/index.js +99 -0
  17. package/dist/src-C-0-H5TG.cjs +159 -0
  18. package/dist/{restio-ui.es.js → src-DzNRRdGD.js} +37175 -36673
  19. package/dist/ui.css +1 -1
  20. package/package.json +65 -43
  21. package/dist/assets/svg/alert.svg +0 -1
  22. package/dist/assets/svg/arrow-down-up.svg +0 -1
  23. package/dist/assets/svg/arrow-down.svg +0 -1
  24. package/dist/assets/svg/arrow-left.svg +0 -1
  25. package/dist/assets/svg/arrow-right.svg +0 -1
  26. package/dist/assets/svg/arrow-up.svg +0 -1
  27. package/dist/assets/svg/arrow_drop_down.svg +0 -1
  28. package/dist/assets/svg/calendar.svg +0 -1
  29. package/dist/assets/svg/chart-area.svg +0 -1
  30. package/dist/assets/svg/chart-bar-stacked.svg +0 -1
  31. package/dist/assets/svg/chart-bar.svg +0 -1
  32. package/dist/assets/svg/chart-candlestick.svg +0 -1
  33. package/dist/assets/svg/chart-gantt.svg +0 -1
  34. package/dist/assets/svg/chart-line.svg +0 -1
  35. package/dist/assets/svg/chart-pie.svg +0 -1
  36. package/dist/assets/svg/chart-sankey.svg +0 -1
  37. package/dist/assets/svg/check.svg +0 -1
  38. package/dist/assets/svg/chevron-down.svg +0 -1
  39. package/dist/assets/svg/chevron-right.svg +0 -1
  40. package/dist/assets/svg/clipboard.svg +0 -1
  41. package/dist/assets/svg/close.svg +0 -1
  42. package/dist/assets/svg/copy.svg +0 -1
  43. package/dist/assets/svg/cursor.svg +0 -1
  44. package/dist/assets/svg/cut.svg +0 -1
  45. package/dist/assets/svg/delete.svg +0 -1
  46. package/dist/assets/svg/discussion.svg +0 -1
  47. package/dist/assets/svg/dock-left-arrow.svg +0 -1
  48. package/dist/assets/svg/dock-right-arrow.svg +0 -1
  49. package/dist/assets/svg/document-outline.svg +0 -1
  50. package/dist/assets/svg/download.svg +0 -1
  51. package/dist/assets/svg/drag.svg +0 -1
  52. package/dist/assets/svg/error.svg +0 -1
  53. package/dist/assets/svg/expand-right.svg +0 -1
  54. package/dist/assets/svg/expand.svg +0 -1
  55. package/dist/assets/svg/eye.svg +0 -1
  56. package/dist/assets/svg/file-plus.svg +0 -1
  57. package/dist/assets/svg/filter.svg +0 -1
  58. package/dist/assets/svg/form.svg +0 -1
  59. package/dist/assets/svg/fullscreen.svg +0 -1
  60. package/dist/assets/svg/gear.svg +0 -1
  61. package/dist/assets/svg/groups.svg +0 -1
  62. package/dist/assets/svg/help.svg +0 -1
  63. package/dist/assets/svg/info.svg +0 -1
  64. package/dist/assets/svg/list.svg +0 -1
  65. package/dist/assets/svg/logo.svg +0 -9
  66. package/dist/assets/svg/menu.svg +0 -1
  67. package/dist/assets/svg/message-bubble-question-mark.svg +0 -1
  68. package/dist/assets/svg/open-center.svg +0 -1
  69. package/dist/assets/svg/open-dialog.svg +0 -29
  70. package/dist/assets/svg/pencil.svg +0 -1
  71. package/dist/assets/svg/pie-chart.svg +0 -1
  72. package/dist/assets/svg/plus.svg +0 -1
  73. package/dist/assets/svg/restio.svg +0 -5
  74. package/dist/assets/svg/search.svg +0 -1
  75. package/dist/assets/svg/send.svg +0 -1
  76. package/dist/assets/svg/shrink-right.svg +0 -1
  77. package/dist/assets/svg/sidebar.svg +0 -1
  78. package/dist/assets/svg/square-half.svg +0 -1
  79. package/dist/assets/svg/table.svg +0 -1
  80. package/dist/assets/svg/terminal.svg +0 -1
  81. package/dist/assets/svg/timer.svg +0 -1
  82. package/dist/assets/svg/transaction.svg +0 -1
  83. package/dist/assets/svg/vertical-expand.svg +0 -1
  84. package/dist/assets/svg/wallet.svg +0 -1
  85. package/dist/assets/svg/warning.svg +0 -1
  86. package/dist/assets/svg/zoom-minus.svg +0 -1
  87. package/dist/assets/svg/zoom-plus.svg +0 -1
  88. package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +0 -22
  89. package/dist/components/anchored-overlay/anchored-overlay.d.ts +0 -4
  90. package/dist/components/anchored-overlay/anchored-overlay.test.d.ts +0 -0
  91. package/dist/components/anchored-overlay/stories/anchored-overlay-example.stories.d.ts +0 -6
  92. package/dist/components/banner/banner-types.d.ts +0 -12
  93. package/dist/components/banner/banner.d.ts +0 -4
  94. package/dist/components/banner/banner.stories.d.ts +0 -11
  95. package/dist/components/button/button-types.d.ts +0 -12
  96. package/dist/components/button/button.d.ts +0 -3
  97. package/dist/components/button/stories/button-example.stories.d.ts +0 -8
  98. package/dist/components/button/stories/button.stories.d.ts +0 -8
  99. package/dist/components/button-dropdown/button-dropdown-types.d.ts +0 -19
  100. package/dist/components/button-dropdown/button-dropdown.d.ts +0 -7
  101. package/dist/components/button-dropdown/button-dropdown.test.d.ts +0 -0
  102. package/dist/components/button-dropdown/stories/button-dropdown.stories.d.ts +0 -10
  103. package/dist/components/button-group/button-group-types.d.ts +0 -15
  104. package/dist/components/button-group/button-group.d.ts +0 -3
  105. package/dist/components/button-group/button-group.stories.d.ts +0 -7
  106. package/dist/components/button-group/button-group.test.d.ts +0 -1
  107. package/dist/components/checkbox/checkbox-types.d.ts +0 -15
  108. package/dist/components/checkbox/checkbox.d.ts +0 -3
  109. package/dist/components/checkbox/checkbox.test.d.ts +0 -0
  110. package/dist/components/checkbox/stories/checkbox-example.stories.d.ts +0 -7
  111. package/dist/components/checkbox/stories/checkbox.stories.d.ts +0 -6
  112. package/dist/components/checkbox-group/checkbox-group-types.d.ts +0 -27
  113. package/dist/components/checkbox-group/checkbox-group.d.ts +0 -7
  114. package/dist/components/checkbox-group/checkbox-group.test.d.ts +0 -0
  115. package/dist/components/checkbox-group/stories/checkbox-group-example.stories.d.ts +0 -6
  116. package/dist/components/checkbox-group/stories/checkbox-group.stories.d.ts +0 -10
  117. package/dist/components/code-block/code-block.d.ts +0 -7
  118. package/dist/components/file-upload/file-upload-types.d.ts +0 -36
  119. package/dist/components/file-upload/file-upload-utils.d.ts +0 -1
  120. package/dist/components/file-upload/file-upload.d.ts +0 -3
  121. package/dist/components/file-upload/file-upload.test.d.ts +0 -1
  122. package/dist/components/file-upload/stories/file-upload.stories.d.ts +0 -8
  123. package/dist/components/input/date/date-calendar.d.ts +0 -3
  124. package/dist/components/input/date/date-input-field.d.ts +0 -8
  125. package/dist/components/input/date/date-picker.d.ts +0 -7
  126. package/dist/components/input/date/date-range-input-field.d.ts +0 -8
  127. package/dist/components/input/date/date-range-picker.d.ts +0 -8
  128. package/dist/components/input/date/date-shortcuts.d.ts +0 -3
  129. package/dist/components/input/date/date-types.d.ts +0 -52
  130. package/dist/components/input/date/date-utils.d.ts +0 -34
  131. package/dist/components/input/date/stories/date.stories.d.ts +0 -5
  132. package/dist/components/input/date/use-digit-input.d.ts +0 -18
  133. package/dist/components/input/input-types.d.ts +0 -27
  134. package/dist/components/input/input.d.ts +0 -3
  135. package/dist/components/input/number/input-number-types.d.ts +0 -7
  136. package/dist/components/input/number/input-number.d.ts +0 -3
  137. package/dist/components/input/number/input-number.stories.d.ts +0 -6
  138. package/dist/components/input/text/input-text-types.d.ts +0 -6
  139. package/dist/components/input/text/input-text.d.ts +0 -3
  140. package/dist/components/input/text/stories/input-text.stories.d.ts +0 -9
  141. package/dist/components/kbd/kbd-types.d.ts +0 -6
  142. package/dist/components/kbd/kbd.d.ts +0 -4
  143. package/dist/components/kbd/kbd.stories.d.ts +0 -9
  144. package/dist/components/kbd-group/kbd-group-types.d.ts +0 -14
  145. package/dist/components/kbd-group/kbd-group.d.ts +0 -4
  146. package/dist/components/kbd-group/kbd-group.stories.d.ts +0 -10
  147. package/dist/components/list/list-types.d.ts +0 -37
  148. package/dist/components/list/list-utils.d.ts +0 -46
  149. package/dist/components/list/list.d.ts +0 -2
  150. package/dist/components/list/list.stories.d.ts +0 -12
  151. package/dist/components/list/list.test.d.ts +0 -0
  152. package/dist/components/menu/anchored-navigation-menu.d.ts +0 -18
  153. package/dist/components/menu/menu-assets.d.ts +0 -2
  154. package/dist/components/menu/menu-types.d.ts +0 -21
  155. package/dist/components/menu/menu.d.ts +0 -8
  156. package/dist/components/menu/stories/anchored-navigation-menu.stories.d.ts +0 -7
  157. package/dist/components/otp/otp-types.d.ts +0 -29
  158. package/dist/components/otp/otp-utils.d.ts +0 -14
  159. package/dist/components/otp/otp.d.ts +0 -3
  160. package/dist/components/otp/otp.stories.d.ts +0 -145
  161. package/dist/components/progress-bar/progress-bar-types.d.ts +0 -25
  162. package/dist/components/progress-bar/progress-bar.d.ts +0 -6
  163. package/dist/components/progress-bar/progress-bar.test.d.ts +0 -1
  164. package/dist/components/progress-bar/stories/progress-bar-example.stories.d.ts +0 -8
  165. package/dist/components/progress-bar/stories/progress-bar.stories.d.ts +0 -10
  166. package/dist/components/radio/radio-types.d.ts +0 -13
  167. package/dist/components/radio/radio.d.ts +0 -7
  168. package/dist/components/radio/radio.test.d.ts +0 -0
  169. package/dist/components/radio/stories/radio-example.stories.d.ts +0 -7
  170. package/dist/components/radio/stories/radio.stories.d.ts +0 -6
  171. package/dist/components/radio-group/radio-group-types.d.ts +0 -29
  172. package/dist/components/radio-group/radio-group.d.ts +0 -7
  173. package/dist/components/radio-group/radio-group.test.d.ts +0 -0
  174. package/dist/components/radio-group/stories/radio-group-example.stories.d.ts +0 -6
  175. package/dist/components/radio-group/stories/radio-group.stories.d.ts +0 -10
  176. package/dist/components/select/select-switch.d.ts +0 -26
  177. package/dist/components/select/select-types.d.ts +0 -35
  178. package/dist/components/select/select.d.ts +0 -4
  179. package/dist/components/select/select.stories.d.ts +0 -20
  180. package/dist/components/select/select.test.d.ts +0 -0
  181. package/dist/components/select/templates/grid-template.d.ts +0 -7
  182. package/dist/components/select/templates/list-template.d.ts +0 -7
  183. package/dist/components/select/templates/preview-dialog-template.d.ts +0 -9
  184. package/dist/components/select/templates/select-template-types.d.ts +0 -12
  185. package/dist/components/selection-grid/selection-grid-types.d.ts +0 -19
  186. package/dist/components/selection-grid/selection-grid.d.ts +0 -7
  187. package/dist/components/selection-grid/stories/selection-grid-example.stories.d.ts +0 -7
  188. package/dist/components/selection-grid/stories/selection-grid.stories.d.ts +0 -10
  189. package/dist/components/tag/tag-types.d.ts +0 -9
  190. package/dist/components/tag/tag.d.ts +0 -3
  191. package/dist/components/tag/tag.stories.d.ts +0 -12
  192. package/dist/components/textarea/textarea-types.d.ts +0 -54
  193. package/dist/components/textarea/textarea.d.ts +0 -3
  194. package/dist/components/textarea/textarea.stories.d.ts +0 -25
  195. package/dist/components/toast-group/toast-group-types.d.ts +0 -5
  196. package/dist/components/toast-group/toast-group.d.ts +0 -4
  197. package/dist/components/toast-group/toast-group.stories.d.ts +0 -6
  198. package/dist/components/typography/typography-types.d.ts +0 -58
  199. package/dist/components/typography/typography.d.ts +0 -3
  200. package/dist/components/typography/typography.stories.d.ts +0 -10
  201. package/dist/custom-components/chat/chat-types.d.ts +0 -18
  202. package/dist/custom-components/chat/chat.d.ts +0 -2
  203. package/dist/custom-components/chat/chat.stories.d.ts +0 -7
  204. package/dist/custom-components/layout/layout-renderers.d.ts +0 -8
  205. package/dist/custom-components/layout/layout-types.d.ts +0 -53
  206. package/dist/custom-components/layout/layout-utils.d.ts +0 -3
  207. package/dist/custom-components/layout/layout-utils.test.d.ts +0 -1
  208. package/dist/custom-components/layout/layout.d.ts +0 -7
  209. package/dist/custom-components/layout/layout.stories.d.ts +0 -7
  210. package/dist/custom-components/layout/layout.test.d.ts +0 -1
  211. package/dist/custom-components/markdown/components/img/zoomable-image.d.ts +0 -4
  212. package/dist/custom-components/markdown/markdown-types.d.ts +0 -28
  213. package/dist/custom-components/markdown/markdown-utils.d.ts +0 -1
  214. package/dist/custom-components/markdown/markdown.d.ts +0 -3
  215. package/dist/custom-components/markdown/markdown.stories.d.ts +0 -6
  216. package/dist/custom-components/mindmap/index.d.ts +0 -2
  217. package/dist/custom-components/mindmap/mind-tree-types.d.ts +0 -93
  218. package/dist/custom-components/mindmap/mind-tree.d.ts +0 -3
  219. package/dist/custom-components/mindmap/reingold-tilford-algorithm.d.ts +0 -64
  220. package/dist/custom-components/mindmap/stories/mind-tree.stories.d.ts +0 -11
  221. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.d.ts +0 -59
  222. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.d.ts +0 -17
  223. package/dist/custom-components/shortcut-tooltip/stories/shortcut-tooltip.stories.d.ts +0 -10
  224. package/dist/custom-components/timeline/skeleton/timeline-skeleton.d.ts +0 -6
  225. package/dist/custom-components/timeline/timeline-types.d.ts +0 -45
  226. package/dist/custom-components/timeline/timeline.d.ts +0 -19
  227. package/dist/custom-components/timeline/timeline.stories.d.ts +0 -8
  228. package/dist/custom-components/workflow/layout/workflow-edge.d.ts +0 -3
  229. package/dist/custom-components/workflow/layout/workflow-layout-types.d.ts +0 -73
  230. package/dist/custom-components/workflow/layout/workflow-layout.d.ts +0 -37
  231. package/dist/custom-components/workflow/node/workflow-node.d.ts +0 -3
  232. package/dist/custom-components/workflow/panel/workflow-panel-types.d.ts +0 -17
  233. package/dist/custom-components/workflow/panel/workflow-panel.d.ts +0 -3
  234. package/dist/custom-components/workflow/stories/workflow-overlay.stories.d.ts +0 -7
  235. package/dist/custom-components/workflow/stories/workflow-toolbar.stories.d.ts +0 -6
  236. package/dist/custom-components/workflow/stories/workflow.stories.d.ts +0 -7
  237. package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.d.ts +0 -23
  238. package/dist/custom-components/workflow/toolbar/workflow-toolbar.d.ts +0 -3
  239. package/dist/custom-components/workflow/utils/workflow-validation.d.ts +0 -47
  240. package/dist/custom-components/workflow/workflow-types.d.ts +0 -203
  241. package/dist/custom-components/workflow/workflow.d.ts +0 -6
  242. package/dist/data-components/assets/cell-types-asset.d.ts +0 -38
  243. package/dist/data-components/assets/data-components-asset.d.ts +0 -13
  244. package/dist/data-components/assets/finance-asset.d.ts +0 -15
  245. package/dist/data-components/calendar/calendar-types.d.ts +0 -30
  246. package/dist/data-components/calendar/calendar-utils.d.ts +0 -5
  247. package/dist/data-components/calendar/calendar.d.ts +0 -4
  248. package/dist/data-components/calendar/stories/calendar.stories.d.ts +0 -22
  249. package/dist/data-components/card/card-types.d.ts +0 -20
  250. package/dist/data-components/card/card.d.ts +0 -10
  251. package/dist/data-components/card/stories/card.stories.d.ts +0 -13
  252. package/dist/data-components/card-list/card-list-types.d.ts +0 -21
  253. package/dist/data-components/card-list/card-list.d.ts +0 -9
  254. package/dist/data-components/card-list/models/ecommerce.d.ts +0 -12
  255. package/dist/data-components/card-list/stories/card-list.stories.d.ts +0 -29
  256. package/dist/data-components/cell/cell-registry.d.ts +0 -28
  257. package/dist/data-components/cell/cell-types.d.ts +0 -39
  258. package/dist/data-components/cell/cell-utils.d.ts +0 -21
  259. package/dist/data-components/cell/cell.d.ts +0 -2
  260. package/dist/data-components/cell/colors-editor/colors-editor-types.d.ts +0 -15
  261. package/dist/data-components/cell/colors-editor/colors-editor.d.ts +0 -7
  262. package/dist/data-components/cell/stories/cell-all-examples.stories.d.ts +0 -13
  263. package/dist/data-components/cell/test/cell-utils.test.d.ts +0 -1
  264. package/dist/data-components/cell/test/cell.test.d.ts +0 -0
  265. package/dist/data-components/chart/chart-series-edit/chart-series-edit-types.d.ts +0 -22
  266. package/dist/data-components/chart/chart-series-edit/chart-series-edit.d.ts +0 -9
  267. package/dist/data-components/chart/chart-tooltip/chart-tooltip-types.d.ts +0 -13
  268. package/dist/data-components/chart/chart-tooltip/chart-tooltip.d.ts +0 -6
  269. package/dist/data-components/chart/chart-types.d.ts +0 -106
  270. package/dist/data-components/chart/chart-utils.d.ts +0 -27
  271. package/dist/data-components/chart/chart.d.ts +0 -4
  272. package/dist/data-components/chart/chart.stories.d.ts +0 -15
  273. package/dist/data-components/chart/geo/geoChart.d.ts +0 -10
  274. package/dist/data-components/chart/sankey/sankeyChart.d.ts +0 -37
  275. package/dist/data-components/data-component-configurator/data-component-configurator-types.d.ts +0 -35
  276. package/dist/data-components/data-component-configurator/data-component-configurator.d.ts +0 -17
  277. package/dist/data-components/data-component-types.d.ts +0 -10
  278. package/dist/data-components/data-component-utils.d.ts +0 -27
  279. package/dist/data-components/data-structure/data-structure.d.ts +0 -50
  280. package/dist/data-components/data-structure/stories-assets.d.ts +0 -86
  281. package/dist/data-components/filter/filter-engine.d.ts +0 -14
  282. package/dist/data-components/filter/filter-types.d.ts +0 -40
  283. package/dist/data-components/filter/filter-utils.d.ts +0 -43
  284. package/dist/data-components/form/form-types.d.ts +0 -67
  285. package/dist/data-components/form/form.d.ts +0 -3
  286. package/dist/data-components/form/form.test.d.ts +0 -0
  287. package/dist/data-components/form/stories/form-advanced-cells.stories.d.ts +0 -15
  288. package/dist/data-components/form/stories/form-complex.stories.d.ts +0 -7
  289. package/dist/data-components/form/stories/form-dynamic.stories.d.ts +0 -20
  290. package/dist/data-components/form/stories/form-validation-examples.stories.d.ts +0 -7
  291. package/dist/data-components/form/stories/form.stories.d.ts +0 -17
  292. package/dist/data-components/gantt/ai-assistant/gantt-ai-executor.d.ts +0 -8
  293. package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts +0 -11
  294. package/dist/data-components/gantt/ai-assistant/gantt-ai-schema.d.ts +0 -6
  295. package/dist/data-components/gantt/ai-assistant/gantt-ai-tools.d.ts +0 -2
  296. package/dist/data-components/gantt/arrows/gantt-arrows.d.ts +0 -20
  297. package/dist/data-components/gantt/gantt-context.d.ts +0 -12
  298. package/dist/data-components/gantt/gantt-types.d.ts +0 -101
  299. package/dist/data-components/gantt/gantt-utils.d.ts +0 -60
  300. package/dist/data-components/gantt/gantt.d.ts +0 -3
  301. package/dist/data-components/gantt/hooks/useGanttDrag.d.ts +0 -14
  302. package/dist/data-components/gantt/hooks/useGanttTimeline.d.ts +0 -17
  303. package/dist/data-components/gantt/sidebar/gantt-sidebar-types.d.ts +0 -9
  304. package/dist/data-components/gantt/sidebar/gantt-sidebar.d.ts +0 -2
  305. package/dist/data-components/gantt/stories/gantt-stories-utils.d.ts +0 -12
  306. package/dist/data-components/gantt/stories/gantt.stories.d.ts +0 -20
  307. package/dist/data-components/kpi/kpi-types.d.ts +0 -17
  308. package/dist/data-components/kpi/kpi.d.ts +0 -5
  309. package/dist/data-components/layout/card-layout-presets.d.ts +0 -12
  310. package/dist/data-components/layout/finance/finance-layouts.d.ts +0 -18
  311. package/dist/data-components/layout/finance/kpi-layout-presets.d.ts +0 -35
  312. package/dist/data-components/layout/finance/stories/finance-card-list.stories.d.ts +0 -16
  313. package/dist/data-components/switcher/prop-form/prop-form-adapter.d.ts +0 -9
  314. package/dist/data-components/switcher/prop-form/prop-form-types.d.ts +0 -16
  315. package/dist/data-components/switcher/prop-form/prop-form.d.ts +0 -6
  316. package/dist/data-components/switcher/prop-schema/prop-schema-types.d.ts +0 -58
  317. package/dist/data-components/switcher/prop-schema/prop-schema-utils.d.ts +0 -14
  318. package/dist/data-components/switcher/prop-schema/prop-schema.d.ts +0 -43
  319. package/dist/data-components/switcher/switcher-types.d.ts +0 -59
  320. package/dist/data-components/switcher/switcher.d.ts +0 -12
  321. package/dist/data-components/switcher/switcher.stories.d.ts +0 -7
  322. package/dist/data-components/table-grid/aggregation/aggregation-utils.d.ts +0 -8
  323. package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts +0 -8
  324. package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.d.ts +0 -12
  325. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts +0 -13
  326. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts +0 -2
  327. package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.d.ts +0 -3
  328. package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts +0 -5
  329. package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts +0 -93
  330. package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts +0 -4
  331. package/dist/data-components/table-grid/ai-assistant/table-grid-ai.stories.d.ts +0 -9
  332. package/dist/data-components/table-grid/editability/table-grid-editability.stories.d.ts +0 -7
  333. package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.d.ts +0 -6
  334. package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.d.ts +0 -8
  335. package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.d.ts +0 -5
  336. package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.d.ts +0 -5
  337. package/dist/data-components/table-grid/external-functionalities/import/csv/index.d.ts +0 -6
  338. package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts +0 -5
  339. package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.d.ts +0 -6
  340. package/dist/data-components/table-grid/external-functionalities/import/table-grid-import.stories.d.ts +0 -6
  341. package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts +0 -4
  342. package/dist/data-components/table-grid/footer/table-grid-footer.d.ts +0 -2
  343. package/dist/data-components/table-grid/formula/evaluator.d.ts +0 -10
  344. package/dist/data-components/table-grid/formula/formula-builder-types.d.ts +0 -7
  345. package/dist/data-components/table-grid/formula/formula-builder.d.ts +0 -2
  346. package/dist/data-components/table-grid/formula/formula.test.d.ts +0 -1
  347. package/dist/data-components/table-grid/formula/index.d.ts +0 -11
  348. package/dist/data-components/table-grid/formula/parser.d.ts +0 -23
  349. package/dist/data-components/table-grid/formula/table-grid-formula.stories.d.ts +0 -9
  350. package/dist/data-components/table-grid/formula/tokenizer.d.ts +0 -15
  351. package/dist/data-components/table-grid/formula/types.d.ts +0 -38
  352. package/dist/data-components/table-grid/grouping/grouping.d.ts +0 -14
  353. package/dist/data-components/table-grid/grouping/table-grid-grouping.stories.d.ts +0 -7
  354. package/dist/data-components/table-grid/header/grouping/group-panel-types.d.ts +0 -6
  355. package/dist/data-components/table-grid/header/grouping/group-panel.d.ts +0 -3
  356. package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts +0 -9
  357. package/dist/data-components/table-grid/header/table-grid-header-types.d.ts +0 -5
  358. package/dist/data-components/table-grid/header/table-grid-header.d.ts +0 -3
  359. package/dist/data-components/table-grid/hooks/use-table.d.ts +0 -2
  360. package/dist/data-components/table-grid/pinning/pinning-utils.d.ts +0 -20
  361. package/dist/data-components/table-grid/pinning/table-grid-pinning.stories.d.ts +0 -17
  362. package/dist/data-components/table-grid/pivot/pivot-config-panel-types.d.ts +0 -16
  363. package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts +0 -3
  364. package/dist/data-components/table-grid/pivot/pivot-table.d.ts +0 -7
  365. package/dist/data-components/table-grid/pivot/pivot-types.d.ts +0 -52
  366. package/dist/data-components/table-grid/pivot/pivot-utils.d.ts +0 -13
  367. package/dist/data-components/table-grid/pivot/table-grid-pivot.stories.d.ts +0 -15
  368. package/dist/data-components/table-grid/row/table-grid-row-types.d.ts +0 -10
  369. package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts +0 -13
  370. package/dist/data-components/table-grid/row/table-grid-row.d.ts +0 -2
  371. package/dist/data-components/table-grid/selection/selection-types.d.ts +0 -2
  372. package/dist/data-components/table-grid/selection/selection-utils.d.ts +0 -48
  373. package/dist/data-components/table-grid/selection/table-grid-selection.stories.d.ts +0 -9
  374. package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts +0 -27
  375. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts +0 -2
  376. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.stories.d.ts +0 -10
  377. package/dist/data-components/table-grid/sorting/sorting.d.ts +0 -7
  378. package/dist/data-components/table-grid/sorting/table-grid-sorting-groups.stories.d.ts +0 -5
  379. package/dist/data-components/table-grid/sorting/table-grid-sorting.stories.d.ts +0 -6
  380. package/dist/data-components/table-grid/stories/table-grid-columns.stories.d.ts +0 -8
  381. package/dist/data-components/table-grid/stories/table-grid-states.stories.d.ts +0 -8
  382. package/dist/data-components/table-grid/table-context/table-context-types.d.ts +0 -16
  383. package/dist/data-components/table-grid/table-context/table-context.d.ts +0 -2
  384. package/dist/data-components/table-grid/table-grid-context.d.ts +0 -3
  385. package/dist/data-components/table-grid/table-grid-features.stories.d.ts +0 -11
  386. package/dist/data-components/table-grid/table-grid-panels.d.ts +0 -21
  387. package/dist/data-components/table-grid/table-grid-types.d.ts +0 -246
  388. package/dist/data-components/table-grid/table-grid.d.ts +0 -10
  389. package/dist/data-components/table-grid/table-grid.stories.d.ts +0 -14
  390. package/dist/data-components/table-grid/table-utils.d.ts +0 -17
  391. package/dist/data-components/ui-layer/ui-layer-types.d.ts +0 -81
  392. package/dist/data-components/ui-layer/ui-layer-utils.d.ts +0 -12
  393. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.d.ts +0 -14
  394. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.d.ts +0 -11
  395. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.d.ts +0 -3
  396. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.stories.d.ts +0 -9
  397. package/dist/experimental-components/dashboard-builder/builder-canvas-hooks.d.ts +0 -46
  398. package/dist/experimental-components/dashboard-builder/builder-canvas.d.ts +0 -33
  399. package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts +0 -23
  400. package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts +0 -173
  401. package/dist/experimental-components/dashboard-builder/dashboard-builder-utils.d.ts +0 -37
  402. package/dist/experimental-components/dashboard-builder/dashboard-builder.d.ts +0 -13
  403. package/dist/experimental-components/dashboard-builder/dashboard-builder.stories.d.ts +0 -8
  404. package/dist/experimental-components/dashboard-builder/widget-configurator.d.ts +0 -25
  405. package/dist/experimental-components/dashboard-builder/widget-palette.d.ts +0 -19
  406. package/dist/experimental-components/filter-builder/filter-builder-types.d.ts +0 -11
  407. package/dist/experimental-components/filter-builder/filter-builder.d.ts +0 -11
  408. package/dist/experimental-components/filter-builder/filter-builder.stories.d.ts +0 -15
  409. package/dist/framework-components/appbar/appbar-assets.d.ts +0 -1
  410. package/dist/framework-components/appbar/appbar-types.d.ts +0 -18
  411. package/dist/framework-components/appbar/appbar.d.ts +0 -8
  412. package/dist/framework-components/appbar/appbar.stories.d.ts +0 -6
  413. package/dist/framework-components/blank-slate/blank-slate-types.d.ts +0 -31
  414. package/dist/framework-components/blank-slate/blank-slate.d.ts +0 -10
  415. package/dist/framework-components/blank-slate/blank-slate.stories.d.ts +0 -9
  416. package/dist/framework-components/breadcrumbs/breadcrumbs-types.d.ts +0 -13
  417. package/dist/framework-components/breadcrumbs/breadcrumbs.d.ts +0 -3
  418. package/dist/framework-components/breadcrumbs/breadcrumbs.stories.d.ts +0 -7
  419. package/dist/framework-components/dashboard/dashboard-context.d.ts +0 -11
  420. package/dist/framework-components/dashboard/dashboard-real-world.stories.d.ts +0 -6
  421. package/dist/framework-components/dashboard/dashboard-types.d.ts +0 -47
  422. package/dist/framework-components/dashboard/dashboard-widget-actions.d.ts +0 -0
  423. package/dist/framework-components/dashboard/dashboard-widget-types.d.ts +0 -85
  424. package/dist/framework-components/dashboard/dashboard-widget.d.ts +0 -17
  425. package/dist/framework-components/dashboard/dashboard.d.ts +0 -15
  426. package/dist/framework-components/dashboard/dashboard.stories.d.ts +0 -7
  427. package/dist/framework-components/dashboard/data-engine/aggregation-engine.d.ts +0 -10
  428. package/dist/framework-components/dashboard/data-engine/data-engine-client.d.ts +0 -46
  429. package/dist/framework-components/dashboard/data-engine/data-engine-types.d.ts +0 -118
  430. package/dist/framework-components/dashboard/data-engine/data-engine.d.ts +0 -86
  431. package/dist/framework-components/dashboard/data-engine/data-engine.test.d.ts +0 -1
  432. package/dist/framework-components/dashboard/data-engine/data-engine.worker.d.ts +0 -1
  433. package/dist/framework-components/dashboard/data-engine/field-inference.d.ts +0 -9
  434. package/dist/framework-components/dashboard/data-engine/filter-adapter.d.ts +0 -11
  435. package/dist/framework-components/dashboard/data-engine/index.d.ts +0 -7
  436. package/dist/framework-components/dashboard/data-engine/join-engine.d.ts +0 -16
  437. package/dist/framework-components/drawer/drawer-types.d.ts +0 -6
  438. package/dist/framework-components/drawer/drawer.d.ts +0 -4
  439. package/dist/framework-components/scaffold/scaffold-context.d.ts +0 -3
  440. package/dist/framework-components/scaffold/scaffold-types.d.ts +0 -17
  441. package/dist/framework-components/scaffold/scaffold.d.ts +0 -6
  442. package/dist/framework-components/scaffold/scaffold.stories.d.ts +0 -7
  443. package/dist/framework-components/scaffold/scaffold.test.d.ts +0 -0
  444. package/dist/framework-components/section/section-types.d.ts +0 -15
  445. package/dist/framework-components/section/section.d.ts +0 -8
  446. package/dist/framework-components/section/section.stories.d.ts +0 -6
  447. package/dist/framework-components/sidebar/sidebar-assets.d.ts +0 -1
  448. package/dist/framework-components/sidebar/sidebar-context.d.ts +0 -3
  449. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.d.ts +0 -5
  450. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.d.ts +0 -2
  451. package/dist/framework-components/sidebar/sidebar-types.d.ts +0 -12
  452. package/dist/framework-components/sidebar/sidebar.d.ts +0 -16
  453. package/dist/framework-components/sidebar/sidebar.stories.d.ts +0 -6
  454. package/dist/framework-components/stepper/stepper-types.d.ts +0 -13
  455. package/dist/framework-components/stepper/stepper.d.ts +0 -8
  456. package/dist/framework-components/stepper/stepper.stories.d.ts +0 -7
  457. package/dist/hooks/useDynamicVirtualList.d.ts +0 -75
  458. package/dist/hooks/useEscapeClose.d.ts +0 -2
  459. package/dist/hooks/useFixedVirtualList.d.ts +0 -34
  460. package/dist/hooks/useOverlayAnimation.d.ts +0 -17
  461. package/dist/hooks/useShortcut.d.ts +0 -19
  462. package/dist/hooks/useTour/stories/useTour.stories.d.ts +0 -24
  463. package/dist/hooks/useTour/useTour-context-internal.d.ts +0 -6
  464. package/dist/hooks/useTour/useTour-context.d.ts +0 -9
  465. package/dist/hooks/useTour/useTour-types.d.ts +0 -191
  466. package/dist/hooks/useTour/useTour.d.ts +0 -2
  467. package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts +0 -7
  468. package/dist/providers/ai-assistant/ai-assistant-types.d.ts +0 -77
  469. package/dist/providers/ai-assistant/ai-assistant-validator.d.ts +0 -22
  470. package/dist/providers/ai-assistant/ai-chat-panel-types.d.ts +0 -24
  471. package/dist/providers/ai-assistant/ai-chat-panel.d.ts +0 -2
  472. package/dist/providers/shortcut/shortcut-context.d.ts +0 -6
  473. package/dist/providers/shortcut/shortcut-provider.d.ts +0 -34
  474. package/dist/providers/stories/theme-provider.stories.d.ts +0 -6
  475. package/dist/providers/theme/index.d.ts +0 -3
  476. package/dist/providers/theme/theme-provider-types.d.ts +0 -5
  477. package/dist/providers/theme/themeProvider.d.ts +0 -9
  478. package/dist/restio-ui.cjs.js +0 -201
  479. package/dist/types/global-types.d.ts +0 -51
  480. package/dist/types/storybook-types.d.ts +0 -1
  481. package/dist/utility-components/avatar/avatar-types.d.ts +0 -15
  482. package/dist/utility-components/avatar/avatar.d.ts +0 -4
  483. package/dist/utility-components/avatar/avatar.stories.d.ts +0 -8
  484. package/dist/utility-components/chip/chip-types.d.ts +0 -16
  485. package/dist/utility-components/chip/chip.d.ts +0 -3
  486. package/dist/utility-components/chip/chip.stories.d.ts +0 -10
  487. package/dist/utility-components/helper-text/helper-text-types.d.ts +0 -19
  488. package/dist/utility-components/helper-text/helper-text.d.ts +0 -2
  489. package/dist/utility-components/helper-text/helper-text.stories.d.ts +0 -10
  490. package/dist/utility-components/helper-text/helper-text.test.d.ts +0 -1
  491. package/dist/utility-components/icon/icon-assets.d.ts +0 -1
  492. package/dist/utility-components/icon/icon-types.d.ts +0 -23
  493. package/dist/utility-components/icon/icon.d.ts +0 -3
  494. package/dist/utility-components/icon/stories/icon.stories.d.ts +0 -10
  495. package/dist/utility-components/label/label-types.d.ts +0 -18
  496. package/dist/utility-components/label/label.d.ts +0 -2
  497. package/dist/utility-components/label/label.test.d.ts +0 -1
  498. package/dist/utility-components/overlay-panel/overlay-panel-footer/overlay-panel-footer-types.d.ts +0 -6
  499. package/dist/utility-components/overlay-panel/overlay-panel-footer/overlay-panel-footer.d.ts +0 -4
  500. package/dist/utility-components/overlay-panel/overlay-panel-header/overlay-panel-header-types.d.ts +0 -12
  501. package/dist/utility-components/overlay-panel/overlay-panel-header/overlay-panel-header.d.ts +0 -4
  502. package/dist/utility-components/overlay-panel/overlay-panel-types.d.ts +0 -65
  503. package/dist/utility-components/overlay-panel/overlay-panel.d.ts +0 -3
  504. package/dist/utility-components/overlay-panel/overlay-panel.stories.d.ts +0 -13
  505. package/dist/utility-components/overlay-panel/use-focus-trap.d.ts +0 -7
  506. package/dist/utility-components/skeleton/skeleton-types.d.ts +0 -6
  507. package/dist/utility-components/skeleton/skeleton.d.ts +0 -3
  508. package/dist/utility-components/skeleton/stories/skeleton.stories.d.ts +0 -9
  509. package/dist/utility-components/stack/stack-types.d.ts +0 -10
  510. package/dist/utility-components/stack/stack.d.ts +0 -7
  511. package/dist/utility-components/stack/stack.stories.d.ts +0 -4
  512. package/dist/utility-components/toast/toast-types.d.ts +0 -8
  513. package/dist/utility-components/toast/toast.d.ts +0 -4
  514. package/dist/utility-components/toast/toast.stories.d.ts +0 -8
  515. package/dist/utils/general.d.ts +0 -8
  516. package/dist/utils/shortcut-utils.d.ts +0 -43
  517. package/dist/vitest.setup.d.ts +0 -0
@@ -1,59 +0,0 @@
1
- /**
2
- * Configuration for a keyboard shortcut
3
- */
4
- export interface ShortcutConfig {
5
- /** Display name for the shortcut action */
6
- readonly name: string;
7
- /** Function to execute when shortcut is triggered */
8
- readonly action: () => void | Promise<void>;
9
- /** Optional hold duration in milliseconds - if provided, user must hold keys for this duration */
10
- readonly holdDuration?: number;
11
- }
12
- /**
13
- * Props for the ShortcutTooltip component
14
- */
15
- export interface ShortcutTooltipProps {
16
- /** Whether the tooltip is currently visible */
17
- readonly isVisible: boolean;
18
- /** Array of keyboard keys to display (e.g., ["ctrl", "enter"]) */
19
- readonly shortcut: string[];
20
- /** Name/description of the function being executed */
21
- readonly functionName: string;
22
- /** Optional duration in milliseconds for hold-to-execute shortcuts */
23
- readonly holdDuration?: number;
24
- /** Current progress for hold shortcuts (0 to holdDuration) */
25
- readonly holdProgress?: number;
26
- /** Cursor position where tooltip should appear */
27
- readonly position: {
28
- x: number;
29
- y: number;
30
- };
31
- }
32
- /**
33
- * Context value provided by ShortcutProvider for managing shortcuts
34
- */
35
- export interface ShortcutContextValue {
36
- /** Register a new keyboard shortcut with optional component scoping */
37
- readonly registerShortcut: (keys: string, config: ShortcutConfig, componentId?: string) => void;
38
- /** Unregister an existing keyboard shortcut */
39
- readonly unregisterShortcut: (keys: string) => void;
40
- /** Programmatically trigger a shortcut by key combination */
41
- readonly triggerShortcut: (keys: string) => void;
42
- /** Register a component as active (enables its scoped shortcuts) */
43
- readonly registerComponent: (componentId: string) => void;
44
- /** Unregister a component (disables its scoped shortcuts) */
45
- readonly unregisterComponent: (componentId: string) => void;
46
- }
47
- /**
48
- * Options for configuring shortcut behavior in useShortcut hook
49
- */
50
- export interface UseShortcutOptions {
51
- /**
52
- * Scope of the shortcuts:
53
- * - 'component': Shortcuts only work when this component is focused or hovered
54
- * - 'global': Shortcuts work globally across the application
55
- */
56
- scope?: 'global' | 'component';
57
- /** Whether shortcuts are enabled */
58
- enabled?: boolean;
59
- }
@@ -1,17 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ShortcutTooltipProps } from './shortcut-tooltip-types';
3
- /**
4
- * ShortcutTooltip displays visual feedback for keyboard shortcuts near the cursor
5
- *
6
- * Features:
7
- * - Shows keyboard combination using KbdGroup component
8
- * - Displays function/action name
9
- * - Progress bar for hold-to-execute shortcuts
10
- * - Positioned relative to cursor with automatic offset
11
- * - Smooth animations and transitions
12
- *
13
- * Used internally by ShortcutProvider - typically not used directly
14
- *
15
- * @param props - Tooltip configuration including visibility, shortcut keys, and position
16
- */
17
- export declare const ShortcutTooltip: React.FC<ShortcutTooltipProps>;
@@ -1,10 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { ShortcutTooltip } from '../shortcut-tooltip';
3
- declare const meta: Meta<typeof ShortcutTooltip>;
4
- export default meta;
5
- type Story = StoryObj<typeof ShortcutTooltip>;
6
- export declare const Default: Story;
7
- export declare const WithHoldDuration: Story;
8
- export declare const GlobalShortcuts: Story;
9
- export declare const ComponentScoped: Story;
10
- export declare const MultipleComponents: Story;
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- interface TimelineSkeletonProps {
3
- readonly items?: number;
4
- }
5
- export declare const TimelineSkeleton: React.FC<TimelineSkeletonProps>;
6
- export default TimelineSkeleton;
@@ -1,45 +0,0 @@
1
- export interface TimelineProps {
2
- /**
3
- * Whether the timeline is in loading state
4
- */
5
- loading?: boolean;
6
- /**
7
- * Children for compound component usage
8
- */
9
- children: React.ReactNode;
10
- }
11
- export interface TimelineItemProps {
12
- children: React.ReactElement<TimelineItemIconProps> | React.ReactElement<TimelineItemContentProps> | Array<React.ReactElement<TimelineItemIconProps> | React.ReactElement<TimelineItemContentProps>>;
13
- className?: string;
14
- }
15
- export interface TimelineItemIconProps {
16
- children?: React.ReactNode;
17
- visual?: string;
18
- }
19
- export interface TimelineItemContentProps {
20
- children: React.ReactElement<TimelineItemTitleProps> | React.ReactElement<TimelineItemDateProps> | React.ReactElement<TimelineItemDescriptionProps> | React.ReactElement<TimelineItemImageProps> | Array<React.ReactElement<TimelineItemTitleProps> | React.ReactElement<TimelineItemDateProps> | React.ReactElement<TimelineItemDescriptionProps> | React.ReactElement<TimelineItemImageProps>>;
21
- }
22
- export interface TimelineItemTitleProps {
23
- children: React.ReactNode;
24
- href?: string;
25
- }
26
- export interface TimelineItemDateProps {
27
- children: React.ReactNode;
28
- }
29
- export interface TimelineItemDescriptionProps {
30
- children: React.ReactNode;
31
- }
32
- export interface TimelineItemImageProps {
33
- src: string;
34
- alt?: string;
35
- }
36
- export interface TimelineComponent extends React.FC<TimelineProps> {
37
- Item: React.FC<TimelineItemProps> & {
38
- Icon: React.FC<TimelineItemIconProps>;
39
- Content: React.FC<TimelineItemContentProps>;
40
- Title: React.FC<TimelineItemTitleProps>;
41
- Date: React.FC<TimelineItemDateProps>;
42
- Description: React.FC<TimelineItemDescriptionProps>;
43
- Image: React.FC<TimelineItemImageProps>;
44
- };
45
- }
@@ -1,19 +0,0 @@
1
- import { default as React } from 'react';
2
- import { TimelineProps, TimelineItemProps, TimelineItemIconProps, TimelineItemContentProps, TimelineItemTitleProps, TimelineItemDateProps, TimelineItemDescriptionProps, TimelineItemImageProps } from './timeline-types';
3
- declare const TimelineItemIcon: React.FC<TimelineItemIconProps>;
4
- declare const TimelineItemTitle: React.FC<TimelineItemTitleProps>;
5
- declare const TimelineItemDate: React.FC<TimelineItemDateProps>;
6
- declare const TimelineItemDescription: React.FC<TimelineItemDescriptionProps>;
7
- declare const TimelineItemImage: React.FC<TimelineItemImageProps>;
8
- declare const TimelineItemContent: React.FC<TimelineItemContentProps>;
9
- export declare const Timeline: React.FC<TimelineProps> & {
10
- Item: React.FC<TimelineItemProps> & {
11
- Icon: typeof TimelineItemIcon;
12
- Content: typeof TimelineItemContent;
13
- Title: typeof TimelineItemTitle;
14
- Date: typeof TimelineItemDate;
15
- Description: typeof TimelineItemDescription;
16
- Image: typeof TimelineItemImage;
17
- };
18
- };
19
- export {};
@@ -1,8 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Timeline } from './timeline';
3
- declare const meta: Meta<typeof Timeline>;
4
- export default meta;
5
- type Story = StoryObj<typeof Timeline>;
6
- export declare const Default: Story;
7
- export declare const WithImages: Story;
8
- export declare const Skeleton: Story;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { WorkflowEdgeProps } from './workflow-layout-types';
3
- export declare function WorkflowEdge({ edge, sourceNode, targetNode, layout, onClick, className }: WorkflowEdgeProps): React.JSX.Element;
@@ -1,73 +0,0 @@
1
- import { PositionedNode } from '../workflow-types';
2
- /**
3
- * Layout configuration for the workflow
4
- */
5
- export interface WorkflowLayout {
6
- /** Direction of the flow: 'TB' (top-bottom) or 'LR' (left-right) */
7
- direction?: 'TB' | 'LR';
8
- /** Horizontal spacing between nodes (px) */
9
- nodeSpacingX?: number;
10
- /** Vertical spacing between nodes (px) */
11
- nodeSpacingY?: number;
12
- /** Node width (px) */
13
- nodeWidth?: number;
14
- /** Node height (px) */
15
- nodeHeight?: number;
16
- /** Padding around the entire workflow (px) */
17
- padding?: number;
18
- }
19
- /**
20
- * WorkflowEdge component props
21
- */
22
- export interface WorkflowEdgeProps {
23
- /** The edge to render */
24
- edge: WorkflowEdge;
25
- /** Source node position */
26
- sourceNode: PositionedNode;
27
- /** Target node position */
28
- targetNode: PositionedNode;
29
- /** Layout configuration */
30
- layout: Required<WorkflowLayout>;
31
- /** Callback when edge is clicked */
32
- onClick?: (edge: WorkflowEdge) => void;
33
- /** Custom class name */
34
- className?: string;
35
- }
36
- /**
37
- * Type of connection between nodes
38
- */
39
- export type WorkflowEdgeType = 'default' | 'conditional' | 'error' | 'timeout' | 'success';
40
- /**
41
- * Condition function or expression for conditional edges
42
- */
43
- export type WorkflowCondition = string | ((context: WorkflowContext) => boolean);
44
- /**
45
- * Workflow execution context
46
- */
47
- export interface WorkflowContext {
48
- /** Global workflow variables */
49
- variables: Record<string, unknown>;
50
- /** Output from previous nodes */
51
- nodeOutputs: Record<string, unknown>;
52
- /** Current execution state */
53
- state: 'idle' | 'running' | 'completed' | 'failed';
54
- }
55
- /**
56
- * Represents an edge connecting two nodes
57
- */
58
- export interface WorkflowEdge {
59
- /** Unique identifier for the edge */
60
- id: string;
61
- /** Source node ID */
62
- source: string;
63
- /** Target node ID */
64
- target: string;
65
- /** Type of connection (default, conditional, error, etc.) */
66
- type?: WorkflowEdgeType;
67
- /** Optional condition for conditional edges */
68
- condition?: WorkflowCondition;
69
- /** Optional label for the edge */
70
- label?: string;
71
- /** Optional custom styling */
72
- className?: string;
73
- }
@@ -1,37 +0,0 @@
1
- import { WorkflowEdge, WorkflowLayout } from './workflow-layout-types';
2
- import { WorkflowNode, PositionedNode, ConnectionPoint } from '../workflow-types';
3
- /**
4
- * Default layout configuration
5
- */
6
- export declare const DEFAULT_LAYOUT: Required<WorkflowLayout>;
7
- /**
8
- * Calculate hierarchical levels for nodes in a DAG
9
- */
10
- export declare function calculateNodeLevels<TData>(nodes: WorkflowNode<TData>[], edges: WorkflowEdge[]): Map<string, number>;
11
- /**
12
- * Position nodes in a hierarchical layout
13
- */
14
- export declare function positionNodes<TData>(nodes: WorkflowNode<TData>[], edges: WorkflowEdge[], layout: WorkflowLayout): PositionedNode<TData>[];
15
- /**
16
- * Get the center connection point on a node's edge
17
- */
18
- export declare function getConnectionPoint(node: PositionedNode, side: "top" | "right" | "bottom" | "left", layout: Required<WorkflowLayout>): ConnectionPoint;
19
- /**
20
- * Determine which sides to connect based on layout direction and node positions
21
- */
22
- export declare function getConnectionSides(sourceNode: PositionedNode, targetNode: PositionedNode, layout: Required<WorkflowLayout>): {
23
- sourceSide: "top" | "right" | "bottom" | "left";
24
- targetSide: "top" | "right" | "bottom" | "left";
25
- };
26
- /**
27
- * Generate smooth bezier curve path (XY Flow style)
28
- * Uses cubic bezier curves with control points offset from connection points
29
- */
30
- export declare function getBezierPath(start: ConnectionPoint, end: ConnectionPoint): string;
31
- /**
32
- * Calculate total workflow dimensions
33
- */
34
- export declare function calculateWorkflowDimensions<TData>(nodes: PositionedNode<TData>[], layout: Required<WorkflowLayout>): {
35
- width: number;
36
- height: number;
37
- };
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { WorkflowNodeProps } from '../workflow-types';
3
- export declare function WorkflowNode<TData = unknown>({ node, onClick, className }: WorkflowNodeProps<TData>): React.JSX.Element;
@@ -1,17 +0,0 @@
1
- import { WorkflowNode } from '../workflow-types';
2
- export interface WorkflowPanelProps<TData = unknown> {
3
- /** The currently selected node */
4
- selectedNode: WorkflowNode<TData> | null;
5
- /** All available nodes in the workflow */
6
- allNodes: WorkflowNode<TData>[];
7
- /** Whether the selected node has output connections */
8
- hasOutputs: boolean;
9
- /** Callback when creating a new node from the selected node */
10
- onCreateNode: (sourceNodeId: string) => void;
11
- /** Callback when connecting to an existing node */
12
- onConnectNode: (sourceNodeId: string, targetNodeId: string) => void;
13
- /** Callback when closing the panel */
14
- onClose: () => void;
15
- /** Custom class name */
16
- className?: string;
17
- }
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { WorkflowPanelProps } from './workflow-panel-types';
3
- export declare function WorkflowPanel<TData>({ selectedNode, allNodes, hasOutputs, onCreateNode, onConnectNode, onClose, className }: WorkflowPanelProps<TData>): React.JSX.Element | null;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Workflow } from '../workflow';
3
- declare const meta: Meta<typeof Workflow>;
4
- export default meta;
5
- type Story = StoryObj<typeof Workflow>;
6
- export declare const WithOverlayPanel: Story;
7
- export declare const CompleteExample: Story;
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Workflow } from '../workflow';
3
- declare const meta: Meta<typeof Workflow>;
4
- export default meta;
5
- type Story = StoryObj<typeof Workflow>;
6
- export declare const WithToolbar: Story;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Workflow } from '../workflow';
3
- declare const meta: Meta<typeof Workflow>;
4
- export default meta;
5
- type Story = StoryObj<typeof Workflow>;
6
- export declare const Default: Story;
7
- export declare const LeftToRight: Story;
@@ -1,23 +0,0 @@
1
- /**
2
- * Interaction mode for the workflow
3
- */
4
- export type WorkflowMode = 'pointer' | 'drag';
5
- /**
6
- * Workflow toolbar props
7
- */
8
- export interface WorkflowToolbarProps {
9
- /** Current interaction mode */
10
- mode: WorkflowMode;
11
- /** Callback when mode changes */
12
- onModeChange: (mode: WorkflowMode) => void;
13
- /** Current zoom level (1 = 100%) */
14
- zoom: number;
15
- /** Callback when zoom changes */
16
- onZoomChange: (zoom: number) => void;
17
- /** Minimum zoom level */
18
- minZoom?: number;
19
- /** Maximum zoom level */
20
- maxZoom?: number;
21
- /** Custom class name */
22
- className?: string;
23
- }
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { WorkflowToolbarProps } from './workflow-toolbar-types';
3
- export declare function WorkflowToolbar({ mode, onModeChange, zoom, onZoomChange, minZoom, maxZoom, className }: WorkflowToolbarProps): React.JSX.Element;
@@ -1,47 +0,0 @@
1
- import { WorkflowNode } from '../workflow-types';
2
- import { WorkflowEdge } from '../layout/workflow-layout-types';
3
- /**
4
- * Validation result
5
- */
6
- export interface ValidationResult {
7
- /** Whether the workflow is valid */
8
- valid: boolean;
9
- /** Array of validation errors */
10
- errors: ValidationError[];
11
- /** Array of validation warnings */
12
- warnings: ValidationWarning[];
13
- }
14
- /**
15
- * Validation error
16
- */
17
- export interface ValidationError {
18
- /** Error type */
19
- type: 'missing-start' | 'missing-end' | 'orphaned-node' | 'invalid-edge' | 'circular-dependency' | 'multiple-starts';
20
- /** Error message */
21
- message: string;
22
- /** Related node or edge IDs */
23
- relatedIds: string[];
24
- }
25
- /**
26
- * Validation warning
27
- */
28
- export interface ValidationWarning {
29
- /** Warning type */
30
- type: 'unreachable-node' | 'dead-end' | 'missing-condition' | 'duplicate-edge' | 'orphaned-node';
31
- /** Warning message */
32
- message: string;
33
- /** Related node or edge IDs */
34
- relatedIds: string[];
35
- }
36
- /**
37
- * Validates the structure of a workflow
38
- */
39
- export declare function validateWorkflow<TData = unknown>(nodes: WorkflowNode<TData>[], edges: WorkflowEdge[]): ValidationResult;
40
- /**
41
- * Gets all reachable nodes from a start node
42
- */
43
- export declare function getReachableNodes(startNodeId: string, edges: WorkflowEdge[]): Set<string>;
44
- /**
45
- * Gets topological order of nodes (for execution planning)
46
- */
47
- export declare function getTopologicalOrder<TData = unknown>(nodes: WorkflowNode<TData>[], edges: WorkflowEdge[]): string[] | null;
@@ -1,203 +0,0 @@
1
- import { DataStructureColumn } from '../../data-components/data-structure/data-structure';
2
- import { FormColumn } from '../../data-components/form/form-types';
3
- import { WorkflowEdge, WorkflowLayout } from './layout/workflow-layout-types';
4
- /**
5
- * Type of workflow node
6
- */
7
- export type WorkflowNodeType = 'start' | 'task' | 'decision' | 'end';
8
- /**
9
- * Type of action that can be performed by a node
10
- */
11
- export type WorkflowActionType = 'api' | 'transform' | 'wait' | 'notification' | 'condition';
12
- /**
13
- * Base interface for workflow actions
14
- */
15
- export interface WorkflowAction {
16
- /** Unique identifier for the action */
17
- id: string;
18
- /** Type of action */
19
- type: WorkflowActionType;
20
- /** Display name for the action */
21
- name: string;
22
- /** Action configuration */
23
- config: unknown;
24
- }
25
- /**
26
- * API call action configuration
27
- */
28
- export interface ApiActionConfig {
29
- /** HTTP method */
30
- method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
31
- /** API endpoint URL */
32
- url: string;
33
- /** Request headers */
34
- headers?: Record<string, string>;
35
- /** Request body */
36
- body?: unknown;
37
- /** Timeout in milliseconds */
38
- timeout?: number;
39
- }
40
- /**
41
- * API call action
42
- */
43
- export interface ApiAction extends WorkflowAction {
44
- type: 'api';
45
- config: ApiActionConfig;
46
- }
47
- /**
48
- * Data transformation action configuration
49
- */
50
- export interface TransformActionConfig {
51
- /** Transformation function as string or actual function */
52
- transform: string | ((input: unknown) => unknown);
53
- /** Input variable name from context */
54
- inputKey?: string;
55
- /** Output variable name to context */
56
- outputKey?: string;
57
- }
58
- /**
59
- * Data transformation action
60
- */
61
- export interface TransformAction extends WorkflowAction {
62
- type: 'transform';
63
- config: TransformActionConfig;
64
- }
65
- /**
66
- * Wait/delay action configuration
67
- */
68
- export interface WaitActionConfig {
69
- /** Duration in milliseconds */
70
- duration: number;
71
- /** Optional message to display during wait */
72
- message?: string;
73
- }
74
- /**
75
- * Wait action
76
- */
77
- export interface WaitAction extends WorkflowAction {
78
- type: 'wait';
79
- config: WaitActionConfig;
80
- }
81
- /**
82
- * Notification action configuration
83
- */
84
- export interface NotificationActionConfig {
85
- /** Notification title */
86
- title: string;
87
- /** Notification message */
88
- message: string;
89
- /** Notification type */
90
- variant?: 'info' | 'success' | 'warning' | 'error';
91
- }
92
- /**
93
- * Notification action
94
- */
95
- export interface NotificationAction extends WorkflowAction {
96
- type: 'notification';
97
- config: NotificationActionConfig;
98
- }
99
- /**
100
- * Condition evaluation action configuration
101
- */
102
- export interface ConditionActionConfig {
103
- /** Condition expression or function */
104
- condition: string | ((context: unknown) => boolean);
105
- /** Variable to store result */
106
- resultKey?: string;
107
- }
108
- /**
109
- * Condition action
110
- */
111
- export interface ConditionAction extends WorkflowAction {
112
- type: 'condition';
113
- config: ConditionActionConfig;
114
- }
115
- /**
116
- * Represents a node in the workflow DAG
117
- */
118
- export interface WorkflowNode<TData = unknown> {
119
- /** Unique identifier for the node */
120
- id: string;
121
- /** Display label for the node */
122
- label: string;
123
- /** Optional icon for the node */
124
- icon?: string;
125
- /** Optional description for the node */
126
- description?: string;
127
- /** Type of node (start, task, decision, end) */
128
- nodeType?: WorkflowNodeType;
129
- /** Actions to be executed when the node is activated */
130
- actions?: WorkflowAction[];
131
- /** Data to be displayed/edited in the panel */
132
- data: TData[];
133
- /** Column definitions for the table structure */
134
- columns: DataStructureColumn<TData>[];
135
- /** Optional form columns for editing in the panel */
136
- formColumns?: FormColumn<TData>[];
137
- /** Parent node IDs (for DAG structure) */
138
- parents?: string[];
139
- /** Optional custom styling */
140
- className?: string;
141
- /** Optional metadata */
142
- metadata?: Record<string, unknown>;
143
- }
144
- /**
145
- * Positioned node with calculated coordinates
146
- */
147
- export interface PositionedNode<TData = unknown> extends WorkflowNode<TData> {
148
- x: number;
149
- y: number;
150
- level: number;
151
- }
152
- /**
153
- * Connection point on a node edge
154
- */
155
- export interface ConnectionPoint {
156
- x: number;
157
- y: number;
158
- side: 'top' | 'right' | 'bottom' | 'left';
159
- }
160
- /**
161
- * Main Workflow component props
162
- */
163
- export interface WorkflowProps {
164
- /** Array of workflow nodes - each node can have different data type */
165
- nodes: WorkflowNode<any>[];
166
- /** Array of edges connecting nodes */
167
- edges: WorkflowEdge[];
168
- /** Layout configuration */
169
- layout?: WorkflowLayout;
170
- /** Show toolbar with zoom and pan controls */
171
- showToolbar?: boolean;
172
- /** Default zoom level (1 = 100%) */
173
- defaultZoom?: number;
174
- /** Minimum zoom level */
175
- minZoom?: number;
176
- /** Maximum zoom level */
177
- maxZoom?: number;
178
- /** Callback when a node is clicked */
179
- onNodeClick?: (node: WorkflowNode<any>) => void;
180
- /** Callback when an edge is clicked */
181
- onEdgeClick?: (edge: WorkflowEdge) => void;
182
- /** Callback when creating a new node from an existing node */
183
- onNodeCreate?: (sourceNodeId: string) => void;
184
- /** Callback when connecting an existing node to another existing node */
185
- onNodeConnect?: (sourceNodeId: string, targetNodeId: string) => void;
186
- /** Show panel for node actions */
187
- showPanel?: boolean;
188
- /** Custom class name */
189
- className?: string;
190
- /** Additional HTML attributes */
191
- [key: string]: unknown;
192
- }
193
- /**
194
- * WorkflowNode component props
195
- */
196
- export interface WorkflowNodeProps<TData = unknown> {
197
- /** The node to render */
198
- node: PositionedNode<TData>;
199
- /** Callback when node is clicked */
200
- onClick?: (node: WorkflowNode<TData>) => void;
201
- /** Custom class name */
202
- className?: string;
203
- }
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- import { WorkflowProps } from './workflow-types';
3
- /**
4
- * Workflow component for rendering Directed Acyclic Graphs (DAGs)
5
- */
6
- export declare function Workflow({ nodes, edges, layout: layoutConfig, showToolbar, showPanel, defaultZoom, minZoom, maxZoom, onNodeClick, onEdgeClick, onNodeCreate, onNodeConnect, className, ...props }: WorkflowProps): React.JSX.Element;
@@ -1,38 +0,0 @@
1
- import { Option } from '../../types/global-types';
2
- import { DataStructureColumn } from '../data-structure/data-structure';
3
- import { DateRange } from '../../components/input/date/date-types';
4
- export declare const statusOptions: Option[];
5
- export declare const priorityOptions: Option[];
6
- export declare const categoryOptions: Option[];
7
- export declare const featureOptions: Option[];
8
- export declare const radioOptions: Option[];
9
- export interface SubTask {
10
- task: string;
11
- assignee: string;
12
- status: string;
13
- }
14
- export interface MonthlyPoint {
15
- month: string;
16
- value: number;
17
- }
18
- export interface CellTypesDemoRow {
19
- text: string;
20
- number: number;
21
- select: string;
22
- multiSelect: string[];
23
- buttonGroup: string;
24
- date: Date;
25
- dateRange: DateRange;
26
- image: string;
27
- progress: number;
28
- checkbox: boolean;
29
- checkboxGroup: string[];
30
- radioGroup: string;
31
- colors: string[];
32
- sparkline: number[];
33
- tableGrid: SubTask[];
34
- chart: MonthlyPoint[];
35
- }
36
- export declare const cellTypesDemoData: CellTypesDemoRow[];
37
- export declare const subTaskColumns: DataStructureColumn<SubTask>[];
38
- export declare const cellTypesDemoColumns: DataStructureColumn<CellTypesDemoRow>[];