@restio/ui 0.0.9-SNAPSHOT → 0.0.10-SNAPSHOT

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 (688) hide show
  1. package/dist/assets/svg/alert.svg +1 -0
  2. package/dist/assets/svg/arrow-down-up.svg +1 -0
  3. package/dist/assets/svg/arrow-down.svg +1 -0
  4. package/dist/assets/svg/arrow-left.svg +1 -0
  5. package/dist/assets/svg/arrow-right.svg +1 -0
  6. package/dist/assets/svg/arrow-up.svg +1 -0
  7. package/dist/assets/svg/arrow_drop_down.svg +1 -0
  8. package/dist/assets/svg/calendar.svg +1 -0
  9. package/dist/assets/svg/check.svg +1 -0
  10. package/dist/assets/svg/chevron-down.svg +1 -0
  11. package/dist/assets/svg/chevron-right.svg +1 -0
  12. package/dist/assets/svg/clipboard.svg +1 -0
  13. package/dist/assets/svg/close.svg +1 -0
  14. package/dist/assets/svg/copy.svg +1 -0
  15. package/dist/assets/svg/cursor.svg +1 -0
  16. package/dist/assets/svg/cut.svg +1 -0
  17. package/dist/assets/svg/delete.svg +1 -0
  18. package/dist/assets/svg/dock-left-arrow.svg +1 -0
  19. package/dist/assets/svg/dock-right-arrow.svg +1 -0
  20. package/dist/assets/svg/document-outline.svg +1 -0
  21. package/dist/assets/svg/download.svg +1 -0
  22. package/dist/assets/svg/drag.svg +1 -0
  23. package/dist/assets/svg/error.svg +1 -0
  24. package/dist/assets/svg/expand-right.svg +1 -0
  25. package/dist/assets/svg/expand.svg +1 -0
  26. package/dist/assets/svg/eye.svg +1 -0
  27. package/dist/assets/svg/fullscreen.svg +1 -0
  28. package/dist/assets/svg/gear.svg +1 -0
  29. package/dist/assets/svg/groups.svg +1 -0
  30. package/dist/assets/svg/help.svg +1 -0
  31. package/dist/assets/svg/info.svg +1 -0
  32. package/dist/assets/svg/logo.svg +9 -0
  33. package/dist/assets/svg/menu.svg +1 -0
  34. package/dist/assets/svg/message-bubble-question-mark.svg +1 -0
  35. package/dist/assets/svg/pencil.svg +1 -0
  36. package/dist/assets/svg/plus.svg +1 -0
  37. package/dist/assets/svg/restio.svg +5 -0
  38. package/dist/assets/svg/search.svg +1 -0
  39. package/dist/assets/svg/send.svg +1 -0
  40. package/dist/assets/svg/shrink-right.svg +1 -0
  41. package/dist/assets/svg/sidebar.svg +1 -0
  42. package/dist/assets/svg/terminal.svg +1 -0
  43. package/dist/assets/svg/timer.svg +1 -0
  44. package/dist/assets/svg/warning.svg +1 -0
  45. package/dist/assets/svg/zoom-minus.svg +1 -0
  46. package/dist/assets/svg/zoom-plus.svg +1 -0
  47. package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +1 -1
  48. package/dist/components/anchored-overlay/anchored-overlay.d.ts +2 -2
  49. package/dist/components/banner/banner-types.d.ts +1 -1
  50. package/dist/components/banner/banner.d.ts +2 -2
  51. package/dist/components/button/button-types.d.ts +1 -1
  52. package/dist/components/button/button.d.ts +2 -2
  53. package/dist/components/button-group/button-group.d.ts +2 -2
  54. package/dist/components/checkbox/checkbox-types.d.ts +1 -1
  55. package/dist/components/checkbox/checkbox.d.ts +2 -2
  56. package/dist/components/code-block/code-block.d.ts +1 -1
  57. package/dist/components/file-upload/file-upload-types.d.ts +1 -1
  58. package/dist/components/file-upload/file-upload.d.ts +2 -2
  59. package/dist/components/graph/graph.d.ts +1 -1
  60. package/dist/components/input/date/date-calendar.d.ts +2 -2
  61. package/dist/components/input/date/date-input-field.d.ts +2 -2
  62. package/dist/components/input/date/date-picker.d.ts +2 -2
  63. package/dist/components/input/date/date-range-input-field.d.ts +2 -2
  64. package/dist/components/input/date/date-range-picker.d.ts +2 -2
  65. package/dist/components/input/date/date-shortcuts.d.ts +2 -2
  66. package/dist/components/input/date/date-types.d.ts +1 -1
  67. package/dist/components/input/date/date-utils.d.ts +1 -1
  68. package/dist/components/input/input.d.ts +2 -2
  69. package/dist/components/input/number/input-number-types.d.ts +1 -1
  70. package/dist/components/input/number/input-number.d.ts +2 -2
  71. package/dist/components/input/text/input-text-types.d.ts +1 -1
  72. package/dist/components/input/text/input-text.d.ts +2 -2
  73. package/dist/components/kbd/kbd.d.ts +2 -2
  74. package/dist/components/kbd-group/kbd-group.d.ts +2 -2
  75. package/dist/components/list/list-types.d.ts +1 -1
  76. package/dist/components/list/list-utils.d.ts +4 -4
  77. package/dist/components/list/list.d.ts +1 -1
  78. package/dist/components/menu/anchored-navigation-menu.d.ts +3 -3
  79. package/dist/components/menu/menu-assets.d.ts +1 -1
  80. package/dist/components/menu/menu-types.d.ts +2 -2
  81. package/dist/components/menu/menu.d.ts +2 -2
  82. package/dist/components/otp/otp.d.ts +2 -3
  83. package/dist/components/select/select-types.d.ts +1 -1
  84. package/dist/components/select/select.d.ts +2 -2
  85. package/dist/components/tag/tag-types.d.ts +1 -1
  86. package/dist/components/tag/tag.d.ts +2 -2
  87. package/dist/components/textarea/textarea-types.d.ts +2 -2
  88. package/dist/components/textarea/textarea.d.ts +2 -2
  89. package/dist/components/toast-group/toast-group-types.d.ts +1 -1
  90. package/dist/components/toast-group/toast-group.d.ts +2 -2
  91. package/dist/components/typography/typography-types.d.ts +1 -1
  92. package/dist/components/typography/typography.d.ts +2 -2
  93. package/dist/custom-components/chat/chat-types.d.ts +1 -1
  94. package/dist/custom-components/chat/chat.d.ts +1 -1
  95. package/dist/custom-components/layout/layout.d.ts +2 -2
  96. package/dist/custom-components/layout-builder/layout-builder-validation.d.ts +2 -8
  97. package/dist/custom-components/layout-builder/layout-builder.d.ts +2 -2
  98. package/dist/custom-components/layout-builder/layout-json-editor-types.d.ts +1 -1
  99. package/dist/custom-components/layout-builder/layout-json-editor.d.ts +2 -2
  100. package/dist/custom-components/markdown/markdown-types.d.ts +3 -3
  101. package/dist/custom-components/markdown/markdown.d.ts +2 -2
  102. package/dist/custom-components/mindmap/index.d.ts +2 -2
  103. package/dist/custom-components/mindmap/mind-tree-types.d.ts +1 -1
  104. package/dist/custom-components/mindmap/mind-tree.d.ts +1 -1
  105. package/dist/custom-components/mindmap/reingold-tilford-algorithm.d.ts +1 -1
  106. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.d.ts +2 -2
  107. package/dist/custom-components/timeline/skeleton/timeline-skeleton.d.ts +1 -1
  108. package/dist/custom-components/timeline/timeline.d.ts +2 -2
  109. package/dist/custom-components/workflow/layout/workflow-edge.d.ts +1 -1
  110. package/dist/custom-components/workflow/layout/workflow-layout-types.d.ts +1 -1
  111. package/dist/custom-components/workflow/layout/workflow-layout.d.ts +2 -2
  112. package/dist/custom-components/workflow/node/workflow-node.d.ts +1 -1
  113. package/dist/custom-components/workflow/panel/workflow-panel-types.d.ts +1 -1
  114. package/dist/custom-components/workflow/panel/workflow-panel.d.ts +1 -1
  115. package/dist/custom-components/workflow/toolbar/workflow-toolbar.d.ts +1 -1
  116. package/dist/custom-components/workflow/utils/workflow-validation.d.ts +2 -2
  117. package/dist/custom-components/workflow/workflow-types.d.ts +3 -3
  118. package/dist/custom-components/workflow/workflow.d.ts +1 -1
  119. package/dist/data-components/calendar/calendar-types.d.ts +20 -1
  120. package/dist/data-components/calendar/calendar-types.d.ts.map +1 -1
  121. package/dist/data-components/calendar/calendar-utils.d.ts +5 -0
  122. package/dist/data-components/calendar/calendar-utils.d.ts.map +1 -1
  123. package/dist/data-components/calendar/calendar.d.ts +2 -2
  124. package/dist/data-components/calendar/calendar.d.ts.map +1 -1
  125. package/dist/data-components/cell/cell-switch.d.ts +1 -1
  126. package/dist/data-components/cell/cell-types.d.ts +2 -2
  127. package/dist/data-components/cell/cell.d.ts +1 -1
  128. package/dist/data-components/chart/chart-types.d.ts +1 -1
  129. package/dist/data-components/chart/chart.d.ts +1 -1
  130. package/dist/data-components/chart/sankey/sankeyChart.d.ts +1 -1
  131. package/dist/data-components/data-structure/data-structure-utils.d.ts +1 -1
  132. package/dist/data-components/data-structure/data-structure.d.ts +1 -1
  133. package/dist/data-components/data-structure/stories-assets.d.ts +1 -5
  134. package/dist/data-components/filter/filter-engine.d.ts +15 -0
  135. package/dist/data-components/filter/filter-engine.d.ts.map +1 -0
  136. package/dist/data-components/filter/filter-types.d.ts +41 -0
  137. package/dist/data-components/filter/filter-types.d.ts.map +1 -0
  138. package/dist/data-components/filter/filter-utils.d.ts +26 -0
  139. package/dist/data-components/filter/filter-utils.d.ts.map +1 -0
  140. package/dist/data-components/form/form-types.d.ts +2 -2
  141. package/dist/data-components/form/form.d.ts +1 -1
  142. package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts +1 -1
  143. package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.d.ts +1 -1
  144. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts +1 -1
  145. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts +1 -1
  146. package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.d.ts +2 -2
  147. package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts +1 -1
  148. package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts +1 -1
  149. package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts +2 -2
  150. package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.d.ts +1 -1
  151. package/dist/data-components/table-grid/external-functionalities/import/csv/index.d.ts +6 -6
  152. package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts +1 -1
  153. package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts +1 -1
  154. package/dist/data-components/table-grid/footer/table-grid-footer.d.ts +1 -1
  155. package/dist/data-components/table-grid/formula/formula-builder-types.d.ts +1 -1
  156. package/dist/data-components/table-grid/formula/formula-builder.d.ts +1 -1
  157. package/dist/data-components/table-grid/header/grouping/group-panel-types.d.ts +1 -1
  158. package/dist/data-components/table-grid/header/grouping/group-panel.d.ts +1 -1
  159. package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts +1 -1
  160. package/dist/data-components/table-grid/header/table-grid-header-types.d.ts +1 -1
  161. package/dist/data-components/table-grid/header/table-grid-header.d.ts +1 -1
  162. package/dist/data-components/table-grid/hooks/use-table.d.ts +1 -1
  163. package/dist/data-components/table-grid/pinning/pinning-utils.d.ts +1 -1
  164. package/dist/data-components/table-grid/pivot/pivot-config-panel-types.d.ts +2 -2
  165. package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts +1 -1
  166. package/dist/data-components/table-grid/pivot/pivot-table.d.ts +1 -1
  167. package/dist/data-components/table-grid/pivot/pivot-types.d.ts +1 -1
  168. package/dist/data-components/table-grid/pivot/pivot-utils.d.ts +2 -2
  169. package/dist/data-components/table-grid/row/table-grid-row-types.d.ts +1 -1
  170. package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts +2 -2
  171. package/dist/data-components/table-grid/row/table-grid-row.d.ts +1 -1
  172. package/dist/data-components/table-grid/selection/selection-utils.d.ts +2 -2
  173. package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts +5 -1
  174. package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts.map +1 -1
  175. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts +2 -2
  176. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts.map +1 -1
  177. package/dist/data-components/table-grid/sorting/sorting.d.ts +1 -1
  178. package/dist/data-components/table-grid/table-context/table-context-types.d.ts +2 -2
  179. package/dist/data-components/table-grid/table-context/table-context.d.ts +2 -2
  180. package/dist/data-components/table-grid/table-grid-context.d.ts +2 -2
  181. package/dist/data-components/table-grid/table-grid-context.d.ts.map +1 -1
  182. package/dist/data-components/table-grid/table-grid-types.d.ts +18 -9
  183. package/dist/data-components/table-grid/table-grid-types.d.ts.map +1 -1
  184. package/dist/data-components/table-grid/table-grid.d.ts +2 -2
  185. package/dist/data-components/table-grid/table-grid.d.ts.map +1 -1
  186. package/dist/data-components/table-grid/table-utils.d.ts +1 -1
  187. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.d.ts +1 -1
  188. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.d.ts +2 -2
  189. package/dist/experimental-components/filter-builder/filter-builder-types.d.ts +11 -23
  190. package/dist/experimental-components/filter-builder/filter-builder-types.d.ts.map +1 -1
  191. package/dist/experimental-components/filter-builder/filter-builder.d.ts +5 -7
  192. package/dist/experimental-components/filter-builder/filter-builder.d.ts.map +1 -1
  193. package/dist/framework-components/appbar/appbar-types.d.ts +1 -1
  194. package/dist/framework-components/appbar/appbar.d.ts +2 -2
  195. package/dist/framework-components/breadcrumbs/breadcrumbs.d.ts +2 -2
  196. package/dist/framework-components/drawer/drawer-types.d.ts +2 -2
  197. package/dist/framework-components/drawer/drawer.d.ts +2 -2
  198. package/dist/framework-components/scaffold/scaffold-context.d.ts +2 -2
  199. package/dist/framework-components/scaffold/scaffold-types.d.ts +1 -1
  200. package/dist/framework-components/scaffold/scaffold.d.ts +2 -2
  201. package/dist/framework-components/sidebar/sidebar-context.d.ts +2 -2
  202. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.d.ts +1 -1
  203. package/dist/framework-components/sidebar/sidebar-types.d.ts +1 -1
  204. package/dist/framework-components/sidebar/sidebar.d.ts +3 -3
  205. package/dist/hooks/useDynamicVirtualList.d.ts.map +1 -1
  206. package/dist/hooks/useFixedVirtualList.d.ts +1 -1
  207. package/dist/hooks/useShortcut.d.ts +1 -1
  208. package/dist/hooks/useTour/useTour-context-internal.d.ts +2 -2
  209. package/dist/hooks/useTour/useTour-context.d.ts +3 -3
  210. package/dist/hooks/useTour/useTour-types.d.ts +1 -1
  211. package/dist/hooks/useTour/useTour.d.ts +1 -1
  212. package/dist/hooks/useVirtualListScroll.d.ts +1 -1
  213. package/dist/index.d.ts +0 -1
  214. package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts +1 -1
  215. package/dist/providers/ai-assistant/ai-assistant-validator.d.ts +1 -1
  216. package/dist/providers/ai-assistant/ai-chat-panel-types.d.ts +1 -1
  217. package/dist/providers/ai-assistant/ai-chat-panel.d.ts +1 -1
  218. package/dist/providers/shortcut/shortcut-context.d.ts +2 -2
  219. package/dist/providers/shortcut/shortcut-provider.d.ts +1 -1
  220. package/dist/providers/theme/themeProvider.d.ts +2 -2
  221. package/dist/restio-ui.cjs.js +109 -0
  222. package/dist/restio-ui.es.js +35079 -0
  223. package/dist/ui.css +2 -0
  224. package/dist/utility-components/avatar/avatar-types.d.ts +1 -1
  225. package/dist/utility-components/avatar/avatar.d.ts +2 -2
  226. package/dist/utility-components/chip/chip-types.d.ts +2 -2
  227. package/dist/utility-components/chip/chip.d.ts +2 -2
  228. package/dist/utility-components/helper-text/helper-text-types.d.ts +1 -1
  229. package/dist/utility-components/helper-text/helper-text.d.ts +1 -1
  230. package/dist/utility-components/icon/icon-types.d.ts +1 -1
  231. package/dist/utility-components/icon/icon.d.ts +2 -2
  232. package/dist/utility-components/label/label.d.ts +1 -1
  233. package/dist/utility-components/overlay-panel/overlay-panel.d.ts +2 -2
  234. package/dist/utility-components/overlay-panel/use-focus-trap.d.ts +1 -1
  235. package/dist/utility-components/skeleton/skeleton.d.ts +2 -2
  236. package/dist/utility-components/stack/stack.d.ts +2 -2
  237. package/dist/utility-components/toast/toast-types.d.ts +1 -1
  238. package/dist/utility-components/toast/toast.d.ts +2 -2
  239. package/dist/utils/general.d.ts +1 -1
  240. package/package.json +3 -3
  241. package/dist/components/anchored-overlay/anchored-overlay-types.js +0 -2
  242. package/dist/components/anchored-overlay/anchored-overlay-types.js.map +0 -1
  243. package/dist/components/anchored-overlay/anchored-overlay.js +0 -67
  244. package/dist/components/anchored-overlay/anchored-overlay.js.map +0 -1
  245. package/dist/components/banner/banner-types.js +0 -2
  246. package/dist/components/banner/banner-types.js.map +0 -1
  247. package/dist/components/banner/banner.js +0 -29
  248. package/dist/components/banner/banner.js.map +0 -1
  249. package/dist/components/button/button-types.js +0 -2
  250. package/dist/components/button/button-types.js.map +0 -1
  251. package/dist/components/button/button.js +0 -20
  252. package/dist/components/button/button.js.map +0 -1
  253. package/dist/components/button-group/button-group-types.js +0 -2
  254. package/dist/components/button-group/button-group-types.js.map +0 -1
  255. package/dist/components/button-group/button-group.js +0 -16
  256. package/dist/components/button-group/button-group.js.map +0 -1
  257. package/dist/components/checkbox/checkbox-types.js +0 -2
  258. package/dist/components/checkbox/checkbox-types.js.map +0 -1
  259. package/dist/components/checkbox/checkbox.js +0 -19
  260. package/dist/components/checkbox/checkbox.js.map +0 -1
  261. package/dist/components/code-block/code-block.js +0 -9
  262. package/dist/components/code-block/code-block.js.map +0 -1
  263. package/dist/components/file-upload/file-upload-types.js +0 -2
  264. package/dist/components/file-upload/file-upload-types.js.map +0 -1
  265. package/dist/components/file-upload/file-upload-utils.js +0 -10
  266. package/dist/components/file-upload/file-upload-utils.js.map +0 -1
  267. package/dist/components/file-upload/file-upload.js +0 -106
  268. package/dist/components/file-upload/file-upload.js.map +0 -1
  269. package/dist/components/graph/graph-types.js +0 -2
  270. package/dist/components/graph/graph-types.js.map +0 -1
  271. package/dist/components/graph/graph.js +0 -21
  272. package/dist/components/graph/graph.js.map +0 -1
  273. package/dist/components/input/date/date-calendar.js +0 -114
  274. package/dist/components/input/date/date-calendar.js.map +0 -1
  275. package/dist/components/input/date/date-input-field.js +0 -61
  276. package/dist/components/input/date/date-input-field.js.map +0 -1
  277. package/dist/components/input/date/date-picker.js +0 -35
  278. package/dist/components/input/date/date-picker.js.map +0 -1
  279. package/dist/components/input/date/date-range-input-field.js +0 -90
  280. package/dist/components/input/date/date-range-input-field.js.map +0 -1
  281. package/dist/components/input/date/date-range-picker.js +0 -74
  282. package/dist/components/input/date/date-range-picker.js.map +0 -1
  283. package/dist/components/input/date/date-shortcuts.js +0 -47
  284. package/dist/components/input/date/date-shortcuts.js.map +0 -1
  285. package/dist/components/input/date/date-types.js +0 -2
  286. package/dist/components/input/date/date-types.js.map +0 -1
  287. package/dist/components/input/date/date-utils.js +0 -203
  288. package/dist/components/input/date/date-utils.js.map +0 -1
  289. package/dist/components/input/input-types.js +0 -2
  290. package/dist/components/input/input-types.js.map +0 -1
  291. package/dist/components/input/input.js +0 -14
  292. package/dist/components/input/input.js.map +0 -1
  293. package/dist/components/input/number/input-number-types.js +0 -2
  294. package/dist/components/input/number/input-number-types.js.map +0 -1
  295. package/dist/components/input/number/input-number.js +0 -11
  296. package/dist/components/input/number/input-number.js.map +0 -1
  297. package/dist/components/input/text/input-text-types.js +0 -2
  298. package/dist/components/input/text/input-text-types.js.map +0 -1
  299. package/dist/components/input/text/input-text.js +0 -8
  300. package/dist/components/input/text/input-text.js.map +0 -1
  301. package/dist/components/kbd/kbd-types.js +0 -2
  302. package/dist/components/kbd/kbd-types.js.map +0 -1
  303. package/dist/components/kbd/kbd.js +0 -12
  304. package/dist/components/kbd/kbd.js.map +0 -1
  305. package/dist/components/kbd-group/kbd-group-types.js +0 -2
  306. package/dist/components/kbd-group/kbd-group-types.js.map +0 -1
  307. package/dist/components/kbd-group/kbd-group.js +0 -15
  308. package/dist/components/kbd-group/kbd-group.js.map +0 -1
  309. package/dist/components/list/list-types.js +0 -2
  310. package/dist/components/list/list-types.js.map +0 -1
  311. package/dist/components/list/list-utils.js +0 -73
  312. package/dist/components/list/list-utils.js.map +0 -1
  313. package/dist/components/list/list.js +0 -68
  314. package/dist/components/list/list.js.map +0 -1
  315. package/dist/components/menu/anchored-navigation-menu.js +0 -48
  316. package/dist/components/menu/anchored-navigation-menu.js.map +0 -1
  317. package/dist/components/menu/menu-assets.js +0 -35
  318. package/dist/components/menu/menu-assets.js.map +0 -1
  319. package/dist/components/menu/menu-types.js +0 -2
  320. package/dist/components/menu/menu-types.js.map +0 -1
  321. package/dist/components/menu/menu.js +0 -86
  322. package/dist/components/menu/menu.js.map +0 -1
  323. package/dist/components/otp/otp-types.js +0 -2
  324. package/dist/components/otp/otp-types.js.map +0 -1
  325. package/dist/components/otp/otp-utils.js +0 -22
  326. package/dist/components/otp/otp-utils.js.map +0 -1
  327. package/dist/components/otp/otp.js +0 -85
  328. package/dist/components/otp/otp.js.map +0 -1
  329. package/dist/components/select/select-types.js +0 -2
  330. package/dist/components/select/select-types.js.map +0 -1
  331. package/dist/components/select/select.js +0 -52
  332. package/dist/components/select/select.js.map +0 -1
  333. package/dist/components/tag/tag-types.js +0 -2
  334. package/dist/components/tag/tag-types.js.map +0 -1
  335. package/dist/components/tag/tag.js +0 -16
  336. package/dist/components/tag/tag.js.map +0 -1
  337. package/dist/components/textarea/textarea-types.js +0 -2
  338. package/dist/components/textarea/textarea-types.js.map +0 -1
  339. package/dist/components/textarea/textarea.js +0 -19
  340. package/dist/components/textarea/textarea.js.map +0 -1
  341. package/dist/components/toast-group/toast-group-types.js +0 -2
  342. package/dist/components/toast-group/toast-group-types.js.map +0 -1
  343. package/dist/components/toast-group/toast-group.js +0 -25
  344. package/dist/components/toast-group/toast-group.js.map +0 -1
  345. package/dist/components/typography/typography-types.js +0 -11
  346. package/dist/components/typography/typography-types.js.map +0 -1
  347. package/dist/components/typography/typography.js +0 -17
  348. package/dist/components/typography/typography.js.map +0 -1
  349. package/dist/custom-components/chat/chat-types.js +0 -2
  350. package/dist/custom-components/chat/chat-types.js.map +0 -1
  351. package/dist/custom-components/chat/chat.js +0 -14
  352. package/dist/custom-components/chat/chat.js.map +0 -1
  353. package/dist/custom-components/layout/layout-types.js +0 -2
  354. package/dist/custom-components/layout/layout-types.js.map +0 -1
  355. package/dist/custom-components/layout/layout.js +0 -46
  356. package/dist/custom-components/layout/layout.js.map +0 -1
  357. package/dist/custom-components/layout-builder/layout-builder-constants.js +0 -25
  358. package/dist/custom-components/layout-builder/layout-builder-constants.js.map +0 -1
  359. package/dist/custom-components/layout-builder/layout-builder-schema.js +0 -169
  360. package/dist/custom-components/layout-builder/layout-builder-schema.js.map +0 -1
  361. package/dist/custom-components/layout-builder/layout-builder-templates.js +0 -206
  362. package/dist/custom-components/layout-builder/layout-builder-templates.js.map +0 -1
  363. package/dist/custom-components/layout-builder/layout-builder-types.js +0 -2
  364. package/dist/custom-components/layout-builder/layout-builder-types.js.map +0 -1
  365. package/dist/custom-components/layout-builder/layout-builder-utils.js +0 -251
  366. package/dist/custom-components/layout-builder/layout-builder-utils.js.map +0 -1
  367. package/dist/custom-components/layout-builder/layout-builder-validation.js +0 -445
  368. package/dist/custom-components/layout-builder/layout-builder-validation.js.map +0 -1
  369. package/dist/custom-components/layout-builder/layout-builder.js +0 -908
  370. package/dist/custom-components/layout-builder/layout-builder.js.map +0 -1
  371. package/dist/custom-components/layout-builder/layout-json-editor-types.js +0 -2
  372. package/dist/custom-components/layout-builder/layout-json-editor-types.js.map +0 -1
  373. package/dist/custom-components/layout-builder/layout-json-editor.js +0 -103
  374. package/dist/custom-components/layout-builder/layout-json-editor.js.map +0 -1
  375. package/dist/custom-components/layout-builder/stories/hooks/useHistory.js +0 -100
  376. package/dist/custom-components/layout-builder/stories/hooks/useHistory.js.map +0 -1
  377. package/dist/custom-components/markdown/markdown-types.js +0 -2
  378. package/dist/custom-components/markdown/markdown-types.js.map +0 -1
  379. package/dist/custom-components/markdown/markdown-utils.js +0 -10
  380. package/dist/custom-components/markdown/markdown-utils.js.map +0 -1
  381. package/dist/custom-components/markdown/markdown.js +0 -39
  382. package/dist/custom-components/markdown/markdown.js.map +0 -1
  383. package/dist/custom-components/mindmap/index.js +0 -2
  384. package/dist/custom-components/mindmap/index.js.map +0 -1
  385. package/dist/custom-components/mindmap/mind-tree-types.js +0 -2
  386. package/dist/custom-components/mindmap/mind-tree-types.js.map +0 -1
  387. package/dist/custom-components/mindmap/mind-tree.js +0 -201
  388. package/dist/custom-components/mindmap/mind-tree.js.map +0 -1
  389. package/dist/custom-components/mindmap/reingold-tilford-algorithm.js +0 -277
  390. package/dist/custom-components/mindmap/reingold-tilford-algorithm.js.map +0 -1
  391. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.js +0 -2
  392. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.js.map +0 -1
  393. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.js +0 -32
  394. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.js.map +0 -1
  395. package/dist/custom-components/timeline/skeleton/timeline-skeleton.js +0 -19
  396. package/dist/custom-components/timeline/skeleton/timeline-skeleton.js.map +0 -1
  397. package/dist/custom-components/timeline/timeline-types.js +0 -2
  398. package/dist/custom-components/timeline/timeline-types.js.map +0 -1
  399. package/dist/custom-components/timeline/timeline.js +0 -64
  400. package/dist/custom-components/timeline/timeline.js.map +0 -1
  401. package/dist/custom-components/workflow/layout/workflow-edge.js +0 -31
  402. package/dist/custom-components/workflow/layout/workflow-edge.js.map +0 -1
  403. package/dist/custom-components/workflow/layout/workflow-layout-types.js +0 -2
  404. package/dist/custom-components/workflow/layout/workflow-layout-types.js.map +0 -1
  405. package/dist/custom-components/workflow/layout/workflow-layout.js +0 -284
  406. package/dist/custom-components/workflow/layout/workflow-layout.js.map +0 -1
  407. package/dist/custom-components/workflow/node/workflow-node.js +0 -22
  408. package/dist/custom-components/workflow/node/workflow-node.js.map +0 -1
  409. package/dist/custom-components/workflow/panel/workflow-panel-types.js +0 -2
  410. package/dist/custom-components/workflow/panel/workflow-panel-types.js.map +0 -1
  411. package/dist/custom-components/workflow/panel/workflow-panel.js +0 -53
  412. package/dist/custom-components/workflow/panel/workflow-panel.js.map +0 -1
  413. package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.js +0 -2
  414. package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.js.map +0 -1
  415. package/dist/custom-components/workflow/toolbar/workflow-toolbar.js +0 -19
  416. package/dist/custom-components/workflow/toolbar/workflow-toolbar.js.map +0 -1
  417. package/dist/custom-components/workflow/utils/workflow-validation.js +0 -257
  418. package/dist/custom-components/workflow/utils/workflow-validation.js.map +0 -1
  419. package/dist/custom-components/workflow/workflow-types.js +0 -2
  420. package/dist/custom-components/workflow/workflow-types.js.map +0 -1
  421. package/dist/custom-components/workflow/workflow.js +0 -125
  422. package/dist/custom-components/workflow/workflow.js.map +0 -1
  423. package/dist/data-components/assets/data-components-asset.js +0 -2
  424. package/dist/data-components/assets/data-components-asset.js.map +0 -1
  425. package/dist/data-components/calendar/calendar-types.js +0 -2
  426. package/dist/data-components/calendar/calendar-types.js.map +0 -1
  427. package/dist/data-components/calendar/calendar-utils.js +0 -2
  428. package/dist/data-components/calendar/calendar-utils.js.map +0 -1
  429. package/dist/data-components/calendar/calendar.js +0 -78
  430. package/dist/data-components/calendar/calendar.js.map +0 -1
  431. package/dist/data-components/cell/cell-switch.js +0 -68
  432. package/dist/data-components/cell/cell-switch.js.map +0 -1
  433. package/dist/data-components/cell/cell-types.js +0 -2
  434. package/dist/data-components/cell/cell-types.js.map +0 -1
  435. package/dist/data-components/cell/cell-utils.js +0 -60
  436. package/dist/data-components/cell/cell-utils.js.map +0 -1
  437. package/dist/data-components/cell/cell.js +0 -63
  438. package/dist/data-components/cell/cell.js.map +0 -1
  439. package/dist/data-components/chart/chart-types.js +0 -2
  440. package/dist/data-components/chart/chart-types.js.map +0 -1
  441. package/dist/data-components/chart/chart.js +0 -121
  442. package/dist/data-components/chart/chart.js.map +0 -1
  443. package/dist/data-components/chart/sankey/sankeyChart.js +0 -111
  444. package/dist/data-components/chart/sankey/sankeyChart.js.map +0 -1
  445. package/dist/data-components/data-structure/data-structure-utils.js +0 -28
  446. package/dist/data-components/data-structure/data-structure-utils.js.map +0 -1
  447. package/dist/data-components/data-structure/data-structure.js +0 -2
  448. package/dist/data-components/data-structure/data-structure.js.map +0 -1
  449. package/dist/data-components/data-structure/stories-assets.js +0 -199
  450. package/dist/data-components/data-structure/stories-assets.js.map +0 -1
  451. package/dist/data-components/form/form-types.js +0 -2
  452. package/dist/data-components/form/form-types.js.map +0 -1
  453. package/dist/data-components/form/form.js +0 -124
  454. package/dist/data-components/form/form.js.map +0 -1
  455. package/dist/data-components/table-grid/aggregation/aggregation-utils.js +0 -31
  456. package/dist/data-components/table-grid/aggregation/aggregation-utils.js.map +0 -1
  457. package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.js +0 -264
  458. package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.js.map +0 -1
  459. package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.js +0 -306
  460. package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.js.map +0 -1
  461. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.js +0 -2
  462. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.js.map +0 -1
  463. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.js +0 -33
  464. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.js.map +0 -1
  465. package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.js +0 -59
  466. package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.js.map +0 -1
  467. package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.js +0 -167
  468. package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.js.map +0 -1
  469. package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.js +0 -2
  470. package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.js.map +0 -1
  471. package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.js +0 -157
  472. package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.js.map +0 -1
  473. package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.js +0 -27
  474. package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.js.map +0 -1
  475. package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.js +0 -21
  476. package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.js.map +0 -1
  477. package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.js +0 -21
  478. package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.js.map +0 -1
  479. package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.js +0 -12
  480. package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.js.map +0 -1
  481. package/dist/data-components/table-grid/external-functionalities/import/csv/index.js +0 -7
  482. package/dist/data-components/table-grid/external-functionalities/import/csv/index.js.map +0 -1
  483. package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.js +0 -15
  484. package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.js.map +0 -1
  485. package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.js +0 -50
  486. package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.js.map +0 -1
  487. package/dist/data-components/table-grid/footer/table-grid-footer-types.js +0 -2
  488. package/dist/data-components/table-grid/footer/table-grid-footer-types.js.map +0 -1
  489. package/dist/data-components/table-grid/footer/table-grid-footer.js +0 -47
  490. package/dist/data-components/table-grid/footer/table-grid-footer.js.map +0 -1
  491. package/dist/data-components/table-grid/formula/evaluator.js +0 -91
  492. package/dist/data-components/table-grid/formula/evaluator.js.map +0 -1
  493. package/dist/data-components/table-grid/formula/formula-builder-types.js +0 -2
  494. package/dist/data-components/table-grid/formula/formula-builder-types.js.map +0 -1
  495. package/dist/data-components/table-grid/formula/formula-builder.js +0 -47
  496. package/dist/data-components/table-grid/formula/formula-builder.js.map +0 -1
  497. package/dist/data-components/table-grid/formula/formula.test.js +0 -50
  498. package/dist/data-components/table-grid/formula/formula.test.js.map +0 -1
  499. package/dist/data-components/table-grid/formula/index.js +0 -40
  500. package/dist/data-components/table-grid/formula/index.js.map +0 -1
  501. package/dist/data-components/table-grid/formula/parser.js +0 -179
  502. package/dist/data-components/table-grid/formula/parser.js.map +0 -1
  503. package/dist/data-components/table-grid/formula/tokenizer.js +0 -140
  504. package/dist/data-components/table-grid/formula/tokenizer.js.map +0 -1
  505. package/dist/data-components/table-grid/formula/types.js +0 -2
  506. package/dist/data-components/table-grid/formula/types.js.map +0 -1
  507. package/dist/data-components/table-grid/header/grouping/group-panel-types.js +0 -2
  508. package/dist/data-components/table-grid/header/grouping/group-panel-types.js.map +0 -1
  509. package/dist/data-components/table-grid/header/grouping/group-panel.js +0 -91
  510. package/dist/data-components/table-grid/header/grouping/group-panel.js.map +0 -1
  511. package/dist/data-components/table-grid/header/table-grid-column-menu.js +0 -84
  512. package/dist/data-components/table-grid/header/table-grid-column-menu.js.map +0 -1
  513. package/dist/data-components/table-grid/header/table-grid-header-types.js +0 -2
  514. package/dist/data-components/table-grid/header/table-grid-header-types.js.map +0 -1
  515. package/dist/data-components/table-grid/header/table-grid-header.js +0 -148
  516. package/dist/data-components/table-grid/header/table-grid-header.js.map +0 -1
  517. package/dist/data-components/table-grid/hooks/use-table.js +0 -18
  518. package/dist/data-components/table-grid/hooks/use-table.js.map +0 -1
  519. package/dist/data-components/table-grid/pinning/pinning-utils.js +0 -70
  520. package/dist/data-components/table-grid/pinning/pinning-utils.js.map +0 -1
  521. package/dist/data-components/table-grid/pivot/pivot-config-panel-types.js +0 -2
  522. package/dist/data-components/table-grid/pivot/pivot-config-panel-types.js.map +0 -1
  523. package/dist/data-components/table-grid/pivot/pivot-config-panel.js +0 -89
  524. package/dist/data-components/table-grid/pivot/pivot-config-panel.js.map +0 -1
  525. package/dist/data-components/table-grid/pivot/pivot-table.js +0 -26
  526. package/dist/data-components/table-grid/pivot/pivot-table.js.map +0 -1
  527. package/dist/data-components/table-grid/pivot/pivot-types.js +0 -2
  528. package/dist/data-components/table-grid/pivot/pivot-types.js.map +0 -1
  529. package/dist/data-components/table-grid/pivot/pivot-utils.js +0 -150
  530. package/dist/data-components/table-grid/pivot/pivot-utils.js.map +0 -1
  531. package/dist/data-components/table-grid/row/table-grid-row-types.js +0 -2
  532. package/dist/data-components/table-grid/row/table-grid-row-types.js.map +0 -1
  533. package/dist/data-components/table-grid/row/table-grid-row-utils.js +0 -35
  534. package/dist/data-components/table-grid/row/table-grid-row-utils.js.map +0 -1
  535. package/dist/data-components/table-grid/row/table-grid-row.js +0 -68
  536. package/dist/data-components/table-grid/row/table-grid-row.js.map +0 -1
  537. package/dist/data-components/table-grid/selection/selection-types.js +0 -2
  538. package/dist/data-components/table-grid/selection/selection-types.js.map +0 -1
  539. package/dist/data-components/table-grid/selection/selection-utils.js +0 -136
  540. package/dist/data-components/table-grid/selection/selection-utils.js.map +0 -1
  541. package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.js +0 -2
  542. package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.js.map +0 -1
  543. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.js +0 -7
  544. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.js.map +0 -1
  545. package/dist/data-components/table-grid/sorting/sorting.js +0 -45
  546. package/dist/data-components/table-grid/sorting/sorting.js.map +0 -1
  547. package/dist/data-components/table-grid/table-context/table-context-types.js +0 -2
  548. package/dist/data-components/table-grid/table-context/table-context-types.js.map +0 -1
  549. package/dist/data-components/table-grid/table-context/table-context.js +0 -4
  550. package/dist/data-components/table-grid/table-context/table-context.js.map +0 -1
  551. package/dist/data-components/table-grid/table-grid-context.js +0 -258
  552. package/dist/data-components/table-grid/table-grid-context.js.map +0 -1
  553. package/dist/data-components/table-grid/table-grid-types.js +0 -2
  554. package/dist/data-components/table-grid/table-grid-types.js.map +0 -1
  555. package/dist/data-components/table-grid/table-grid.js +0 -144
  556. package/dist/data-components/table-grid/table-grid.js.map +0 -1
  557. package/dist/data-components/table-grid/table-utils.js +0 -116
  558. package/dist/data-components/table-grid/table-utils.js.map +0 -1
  559. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.js +0 -2
  560. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.js.map +0 -1
  561. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.js +0 -61
  562. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.js.map +0 -1
  563. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.js +0 -23
  564. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.js.map +0 -1
  565. package/dist/experimental-components/filter-builder/filter-builder-types.js +0 -2
  566. package/dist/experimental-components/filter-builder/filter-builder-types.js.map +0 -1
  567. package/dist/experimental-components/filter-builder/filter-builder.js +0 -139
  568. package/dist/experimental-components/filter-builder/filter-builder.js.map +0 -1
  569. package/dist/framework-components/appbar/appbar-assets.js +0 -5
  570. package/dist/framework-components/appbar/appbar-assets.js.map +0 -1
  571. package/dist/framework-components/appbar/appbar-types.js +0 -2
  572. package/dist/framework-components/appbar/appbar-types.js.map +0 -1
  573. package/dist/framework-components/appbar/appbar.js +0 -36
  574. package/dist/framework-components/appbar/appbar.js.map +0 -1
  575. package/dist/framework-components/breadcrumbs/breadcrumbs-types.js +0 -2
  576. package/dist/framework-components/breadcrumbs/breadcrumbs-types.js.map +0 -1
  577. package/dist/framework-components/breadcrumbs/breadcrumbs.js +0 -31
  578. package/dist/framework-components/breadcrumbs/breadcrumbs.js.map +0 -1
  579. package/dist/framework-components/drawer/drawer-types.js +0 -2
  580. package/dist/framework-components/drawer/drawer-types.js.map +0 -1
  581. package/dist/framework-components/drawer/drawer.js +0 -10
  582. package/dist/framework-components/drawer/drawer.js.map +0 -1
  583. package/dist/framework-components/scaffold/scaffold-context.js +0 -10
  584. package/dist/framework-components/scaffold/scaffold-context.js.map +0 -1
  585. package/dist/framework-components/scaffold/scaffold-types.js +0 -2
  586. package/dist/framework-components/scaffold/scaffold-types.js.map +0 -1
  587. package/dist/framework-components/scaffold/scaffold.js +0 -76
  588. package/dist/framework-components/scaffold/scaffold.js.map +0 -1
  589. package/dist/framework-components/sidebar/sidebar-assets.js +0 -4
  590. package/dist/framework-components/sidebar/sidebar-assets.js.map +0 -1
  591. package/dist/framework-components/sidebar/sidebar-context.js +0 -9
  592. package/dist/framework-components/sidebar/sidebar-context.js.map +0 -1
  593. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.js +0 -2
  594. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.js.map +0 -1
  595. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.js +0 -12
  596. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.js.map +0 -1
  597. package/dist/framework-components/sidebar/sidebar-types.js +0 -2
  598. package/dist/framework-components/sidebar/sidebar-types.js.map +0 -1
  599. package/dist/framework-components/sidebar/sidebar.js +0 -42
  600. package/dist/framework-components/sidebar/sidebar.js.map +0 -1
  601. package/dist/hooks/useDynamicVirtualList.js +0 -208
  602. package/dist/hooks/useDynamicVirtualList.js.map +0 -1
  603. package/dist/hooks/useFixedVirtualList.js +0 -64
  604. package/dist/hooks/useFixedVirtualList.js.map +0 -1
  605. package/dist/hooks/useShortcut.js +0 -86
  606. package/dist/hooks/useShortcut.js.map +0 -1
  607. package/dist/hooks/useTour/useTour-context-internal.js +0 -7
  608. package/dist/hooks/useTour/useTour-context-internal.js.map +0 -1
  609. package/dist/hooks/useTour/useTour-context.js +0 -54
  610. package/dist/hooks/useTour/useTour-context.js.map +0 -1
  611. package/dist/hooks/useTour/useTour-types.js +0 -2
  612. package/dist/hooks/useTour/useTour-types.js.map +0 -1
  613. package/dist/hooks/useTour/useTour.js +0 -408
  614. package/dist/hooks/useTour/useTour.js.map +0 -1
  615. package/dist/hooks/useVirtualListScroll.js +0 -79
  616. package/dist/hooks/useVirtualListScroll.js.map +0 -1
  617. package/dist/index.js +0 -63
  618. package/dist/index.js.map +0 -1
  619. package/dist/providers/ai-assistant/ai-assistant-prompts.js +0 -98
  620. package/dist/providers/ai-assistant/ai-assistant-prompts.js.map +0 -1
  621. package/dist/providers/ai-assistant/ai-assistant-types.js +0 -5
  622. package/dist/providers/ai-assistant/ai-assistant-types.js.map +0 -1
  623. package/dist/providers/ai-assistant/ai-assistant-validator.js +0 -74
  624. package/dist/providers/ai-assistant/ai-assistant-validator.js.map +0 -1
  625. package/dist/providers/ai-assistant/ai-chat-panel-types.js +0 -2
  626. package/dist/providers/ai-assistant/ai-chat-panel-types.js.map +0 -1
  627. package/dist/providers/ai-assistant/ai-chat-panel.js +0 -111
  628. package/dist/providers/ai-assistant/ai-chat-panel.js.map +0 -1
  629. package/dist/providers/shortcut/shortcut-context.js +0 -7
  630. package/dist/providers/shortcut/shortcut-context.js.map +0 -1
  631. package/dist/providers/shortcut/shortcut-provider.js +0 -267
  632. package/dist/providers/shortcut/shortcut-provider.js.map +0 -1
  633. package/dist/providers/theme/index.js +0 -2
  634. package/dist/providers/theme/index.js.map +0 -1
  635. package/dist/providers/theme/theme-provider-types.js +0 -2
  636. package/dist/providers/theme/theme-provider-types.js.map +0 -1
  637. package/dist/providers/theme/themeProvider.js +0 -17
  638. package/dist/providers/theme/themeProvider.js.map +0 -1
  639. package/dist/test/vitest.utils.js +0 -2
  640. package/dist/test/vitest.utils.js.map +0 -1
  641. package/dist/types/global-types.js +0 -10
  642. package/dist/types/global-types.js.map +0 -1
  643. package/dist/types/storybook-types.js +0 -2
  644. package/dist/types/storybook-types.js.map +0 -1
  645. package/dist/utility-components/avatar/avatar-types.js +0 -2
  646. package/dist/utility-components/avatar/avatar-types.js.map +0 -1
  647. package/dist/utility-components/avatar/avatar.js +0 -10
  648. package/dist/utility-components/avatar/avatar.js.map +0 -1
  649. package/dist/utility-components/chip/chip-types.js +0 -2
  650. package/dist/utility-components/chip/chip-types.js.map +0 -1
  651. package/dist/utility-components/chip/chip.js +0 -11
  652. package/dist/utility-components/chip/chip.js.map +0 -1
  653. package/dist/utility-components/helper-text/helper-text-types.js +0 -2
  654. package/dist/utility-components/helper-text/helper-text-types.js.map +0 -1
  655. package/dist/utility-components/helper-text/helper-text.js +0 -12
  656. package/dist/utility-components/helper-text/helper-text.js.map +0 -1
  657. package/dist/utility-components/icon/icon-assets.js +0 -95
  658. package/dist/utility-components/icon/icon-assets.js.map +0 -1
  659. package/dist/utility-components/icon/icon-types.js +0 -2
  660. package/dist/utility-components/icon/icon-types.js.map +0 -1
  661. package/dist/utility-components/icon/icon.js +0 -28
  662. package/dist/utility-components/icon/icon.js.map +0 -1
  663. package/dist/utility-components/label/label-types.js +0 -2
  664. package/dist/utility-components/label/label-types.js.map +0 -1
  665. package/dist/utility-components/label/label.js +0 -10
  666. package/dist/utility-components/label/label.js.map +0 -1
  667. package/dist/utility-components/overlay-panel/overlay-panel-types.js +0 -2
  668. package/dist/utility-components/overlay-panel/overlay-panel-types.js.map +0 -1
  669. package/dist/utility-components/overlay-panel/overlay-panel.js +0 -98
  670. package/dist/utility-components/overlay-panel/overlay-panel.js.map +0 -1
  671. package/dist/utility-components/overlay-panel/use-focus-trap.js +0 -61
  672. package/dist/utility-components/overlay-panel/use-focus-trap.js.map +0 -1
  673. package/dist/utility-components/skeleton/skeleton-types.js +0 -2
  674. package/dist/utility-components/skeleton/skeleton-types.js.map +0 -1
  675. package/dist/utility-components/skeleton/skeleton.js +0 -14
  676. package/dist/utility-components/skeleton/skeleton.js.map +0 -1
  677. package/dist/utility-components/stack/stack-types.js +0 -2
  678. package/dist/utility-components/stack/stack-types.js.map +0 -1
  679. package/dist/utility-components/stack/stack.js +0 -12
  680. package/dist/utility-components/stack/stack.js.map +0 -1
  681. package/dist/utility-components/toast/toast-types.js +0 -2
  682. package/dist/utility-components/toast/toast-types.js.map +0 -1
  683. package/dist/utility-components/toast/toast.js +0 -21
  684. package/dist/utility-components/toast/toast.js.map +0 -1
  685. package/dist/utils/general.js +0 -27
  686. package/dist/utils/general.js.map +0 -1
  687. package/dist/utils/shortcut-utils.js +0 -164
  688. package/dist/utils/shortcut-utils.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"mind-tree.js","sourceRoot":"","sources":["../../../src/custom-components/mindmap/mind-tree.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AACxD,OAAO,UAAU,MAAM,wCAAwC,CAAC;AAEhE,MAAM,UAAU,QAAQ,CAAkB,EACxC,IAAI,EACJ,KAAK,GAAG,GAAG,EACX,MAAM,GAA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,SAAS,CAAC,KAAK,GAAG,GAAG,CAAC,SAAe,GACxE,EACN,KAAC,MAAM,IAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAC,SAAS,EAAC,QAAQ,EAAE,gBAAgB,KAAK,UAAU,CAAC,MAAM,GAAG,CAAC,GAAW,IAChH,EACN,KAAC,MAAM,IAAC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAC,aAAa,GAAU,EACrE,KAAC,MAAM,IAAC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAC,YAAY,GAAU,IAChE,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
@@ -1,277 +0,0 @@
1
- /**
2
- * Implementation of the Reingold-Tilford "tidy" tree layout algorithm
3
- * Produces aesthetically pleasing tree layouts with minimal edge crossings
4
- */
5
- export class ReingoldTilfordLayout {
6
- config;
7
- constructor(config) {
8
- this.config = config;
9
- }
10
- /**
11
- * Main entry point - calculates layout for entire tree
12
- */
13
- layout(root) {
14
- // Convert tree structure to layout nodes
15
- const layoutRoot = this.convertToLayoutNode(root, null, 0);
16
- // Choose layout algorithm based on configuration
17
- if (this.config.layoutType === "radial") {
18
- this.calculateRadialPositions(layoutRoot);
19
- }
20
- else {
21
- this.calculatePositions(layoutRoot);
22
- }
23
- // Collect all nodes and calculate bounds
24
- const allNodes = this.collectNodes(layoutRoot);
25
- const bounds = this.calculateBounds(allNodes);
26
- // Normalize positions to start from 0,0
27
- this.normalizePositions(allNodes, bounds);
28
- return {
29
- nodes: allNodes,
30
- root: layoutRoot,
31
- width: Math.max(bounds.maxX - bounds.minX + this.config.nodeWidth, this.config.nodeWidth),
32
- height: Math.max(bounds.maxY - bounds.minY + this.config.nodeHeight, this.config.nodeHeight),
33
- };
34
- }
35
- /**
36
- * Convert TreeNode to LayoutNode with initial values
37
- */
38
- convertToLayoutNode(node, parent, depth) {
39
- const layoutNode = {
40
- id: node.id,
41
- label: node.label,
42
- data: node.data,
43
- collapsed: node.collapsed,
44
- x: 0,
45
- y: depth * this.config.levelSpacing,
46
- depth,
47
- parent: parent || undefined,
48
- prelim: 0,
49
- mod: 0,
50
- thread: undefined,
51
- change: 0,
52
- shift: 0,
53
- ancestor: undefined,
54
- };
55
- // Always convert children (collapsed state is handled at rendering level)
56
- if (node.children) {
57
- layoutNode.children = node.children.map(child => this.convertToLayoutNode(child, layoutNode, depth + 1));
58
- }
59
- return layoutNode;
60
- }
61
- /**
62
- * First walk of the algorithm - calculate preliminary positions
63
- */
64
- firstWalk(node) {
65
- if (!node.children || node.children.length === 0) {
66
- // Leaf node
67
- let prelim;
68
- if (this.isLeftmost(node)) {
69
- prelim = 0;
70
- }
71
- else {
72
- const leftSibling = this.getLeftSibling(node);
73
- if (leftSibling) {
74
- prelim = (leftSibling.prelim || 0) + this.config.siblingSpacing + this.config.nodeWidth;
75
- }
76
- else {
77
- prelim = 0;
78
- }
79
- }
80
- Object.assign(node, { prelim });
81
- }
82
- else {
83
- // Internal node
84
- const leftmostChild = node.children[0];
85
- const rightmostChild = node.children[node.children.length - 1];
86
- // Recursively process children
87
- node.children.forEach(child => this.firstWalk(child));
88
- // Calculate midpoint of children
89
- const midpoint = ((leftmostChild.prelim || 0) + (rightmostChild.prelim || 0)) / 2;
90
- let prelim;
91
- let mod = 0;
92
- if (this.isLeftmost(node)) {
93
- prelim = midpoint;
94
- }
95
- else {
96
- const leftSibling = this.getLeftSibling(node);
97
- if (leftSibling) {
98
- prelim = (leftSibling.prelim || 0) + this.config.siblingSpacing + this.config.nodeWidth;
99
- mod = prelim - midpoint;
100
- Object.assign(node, { prelim, mod });
101
- this.apportion(node);
102
- return;
103
- }
104
- else {
105
- prelim = midpoint;
106
- }
107
- }
108
- Object.assign(node, { prelim, mod });
109
- }
110
- }
111
- /**
112
- * Second walk - finalize positions by adding modifiers
113
- */
114
- secondWalk(node, m) {
115
- const x = (node.prelim || 0) + m;
116
- Object.assign(node, { x });
117
- if (node.children && node.children.length > 0) {
118
- const childModifier = m + (node.mod || 0);
119
- node.children.forEach(child => this.secondWalk(child, childModifier));
120
- }
121
- }
122
- /**
123
- * Apportion - resolve conflicts between subtrees (simplified version)
124
- */
125
- apportion(node) {
126
- if (!node.children || node.children.length === 0)
127
- return;
128
- const leftSibling = this.getLeftSibling(node);
129
- if (!leftSibling)
130
- return;
131
- // Check for conflicts between this node's leftmost child and left sibling's rightmost child
132
- const leftmostChild = node.children[0];
133
- const rightmostSiblingChild = this.getRightmostDescendant(leftSibling);
134
- if (leftmostChild && rightmostSiblingChild) {
135
- const distance = (rightmostSiblingChild.prelim || 0) + this.config.siblingSpacing + this.config.nodeWidth - (leftmostChild.prelim || 0);
136
- if (distance > 0) {
137
- // Shift this subtree to avoid conflict
138
- const shift = distance;
139
- Object.assign(node, {
140
- prelim: (node.prelim || 0) + shift,
141
- mod: (node.mod || 0) + shift
142
- });
143
- }
144
- }
145
- }
146
- /**
147
- * Get the rightmost descendant at the same level as the given node
148
- */
149
- getRightmostDescendant(node) {
150
- if (!node.children || node.children.length === 0) {
151
- return node;
152
- }
153
- return this.getRightmostDescendant(node.children[node.children.length - 1]);
154
- }
155
- // Helper methods
156
- isLeftmost(node) {
157
- return !node.parent || node.parent.children[0] === node;
158
- }
159
- getLeftSibling(node) {
160
- if (!node.parent)
161
- return undefined;
162
- const siblings = node.parent.children;
163
- const index = siblings.indexOf(node);
164
- return index > 0 ? siblings[index - 1] : undefined;
165
- }
166
- getRightmost(node) {
167
- return node.children && node.children.length > 0
168
- ? node.children[node.children.length - 1]
169
- : node;
170
- }
171
- getLeftmost(node) {
172
- return node.children && node.children.length > 0
173
- ? node.children[0]
174
- : node;
175
- }
176
- /**
177
- * Improved positioning algorithm that maintains global layout
178
- */
179
- calculatePositions(node) {
180
- // First pass: assign preliminary positions
181
- this.firstWalk(node);
182
- // Second pass: finalize positions with accumulated modifiers
183
- this.secondWalk(node, 0);
184
- }
185
- collectNodes(root) {
186
- const nodes = [];
187
- function traverse(node) {
188
- nodes.push(node);
189
- if (node.children) {
190
- node.children.forEach(traverse);
191
- }
192
- }
193
- traverse(root);
194
- return nodes;
195
- }
196
- calculateBounds(nodes) {
197
- let minX = Infinity;
198
- let maxX = -Infinity;
199
- let minY = Infinity;
200
- let maxY = -Infinity;
201
- nodes.forEach(node => {
202
- minX = Math.min(minX, node.x);
203
- maxX = Math.max(maxX, node.x);
204
- minY = Math.min(minY, node.y);
205
- maxY = Math.max(maxY, node.y);
206
- });
207
- return { minX, maxX, minY, maxY };
208
- }
209
- normalizePositions(nodes, bounds) {
210
- const offsetX = -bounds.minX;
211
- const offsetY = -bounds.minY;
212
- nodes.forEach(currentNode => {
213
- const normalizedPosition = {
214
- x: currentNode.x + offsetX,
215
- y: currentNode.y + offsetY
216
- };
217
- Object.assign(currentNode, normalizedPosition);
218
- });
219
- }
220
- /**
221
- * Calculate positions for radial layout
222
- */
223
- calculateRadialPositions(root) {
224
- // Place root at center
225
- Object.assign(root, { x: 0, y: 0 });
226
- // Calculate positions for each level
227
- this.positionRadialLevel(root, 1);
228
- }
229
- /**
230
- * Position nodes in a radial pattern level by level
231
- */
232
- positionRadialLevel(node, level) {
233
- if (!node.children || node.children.length === 0)
234
- return;
235
- const radius = level * this.config.levelSpacing;
236
- const angleStep = (2 * Math.PI) / this.getTotalDescendants(node);
237
- let currentAngle = this.getStartAngle(node);
238
- node.children.forEach(child => {
239
- // Calculate position on circle
240
- const childAngle = currentAngle + (angleStep * this.getSubtreeSize(child)) / 2;
241
- const x = node.x + radius * Math.cos(childAngle);
242
- const y = node.y + radius * Math.sin(childAngle);
243
- Object.assign(child, { x, y });
244
- // Move to next angle position
245
- currentAngle += angleStep * this.getSubtreeSize(child);
246
- // Recursively position children
247
- this.positionRadialLevel(child, level + 1);
248
- });
249
- }
250
- /**
251
- * Get total number of descendants for angle calculations
252
- */
253
- getTotalDescendants(node) {
254
- if (!node.children || node.children.length === 0)
255
- return 1;
256
- return node.children.reduce((total, child) => total + this.getSubtreeSize(child), 0);
257
- }
258
- /**
259
- * Get size of subtree (number of leaf nodes)
260
- */
261
- getSubtreeSize(node) {
262
- if (!node.children || node.children.length === 0)
263
- return 1;
264
- return node.children.reduce((total, child) => total + this.getSubtreeSize(child), 0);
265
- }
266
- /**
267
- * Get starting angle based on parent's position
268
- */
269
- getStartAngle(node) {
270
- if (!node.parent)
271
- return -Math.PI / 2; // Start from top for root children
272
- // Calculate angle from parent to current node
273
- const parentAngle = Math.atan2(node.y - node.parent.y, node.x - node.parent.x);
274
- return parentAngle - Math.PI; // Opposite direction
275
- }
276
- }
277
- //# sourceMappingURL=reingold-tilford-algorithm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reingold-tilford-algorithm.js","sourceRoot":"","sources":["../../../src/custom-components/mindmap/reingold-tilford-algorithm.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,OAAO,qBAAqB;IACxB,MAAM,CAAwB;IAEtC,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,IAAqB;QACjC,yCAAyC;QACzC,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAE3D,iDAAiD;QACjD,IAAI,IAAI,CAAC,MAAM,CAAC,UAAU,KAAK,QAAQ,EAAE,CAAC;YACxC,IAAI,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;QAC5C,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC;QACtC,CAAC;QAED,yCAAyC;QACzC,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QAC/C,MAAM,MAAM,GAAG,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;QAE9C,wCAAwC;QACxC,IAAI,CAAC,kBAAkB,CAAC,QAAQ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,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAC/E,OAAO,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC,qBAAqB;IACrD,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=shortcut-tooltip-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shortcut-tooltip-types.js","sourceRoot":"","sources":["../../../src/custom-components/shortcut-tooltip/shortcut-tooltip-types.ts"],"names":[],"mappings":""}
@@ -1,32 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { KbdGroup } from "../../components/kbd-group/kbd-group";
3
- import styles from "./shortcut-tooltip.module.css";
4
- import Typography from "../../components/typography/typography";
5
- /**
6
- * ShortcutTooltip displays visual feedback for keyboard shortcuts near the cursor
7
- *
8
- * Features:
9
- * - Shows keyboard combination using KbdGroup component
10
- * - Displays function/action name
11
- * - Progress bar for hold-to-execute shortcuts
12
- * - Positioned relative to cursor with automatic offset
13
- * - Smooth animations and transitions
14
- *
15
- * Used internally by ShortcutProvider - typically not used directly
16
- *
17
- * @param props - Tooltip configuration including visibility, shortcut keys, and position
18
- */
19
- export const ShortcutTooltip = ({ isVisible, shortcut, functionName, holdDuration, holdProgress = 0, position }) => {
20
- if (!isVisible)
21
- return null;
22
- const progressPercentage = holdDuration && holdProgress > 0 ? Math.min((holdProgress / holdDuration) * 100, 100) : 0;
23
- return (_jsxs("div", { className: styles["rst-shortcut-tooltip"], style: {
24
- left: position.x,
25
- top: position.y,
26
- transform: "translate(-50%, calc(-100% - 8px))",
27
- }, children: [_jsxs("div", { className: styles["rst-shortcut-tooltip-content"], children: [_jsx(KbdGroup, { keys: shortcut, showSeparator: true }), _jsx(Typography, { variant: "caption", children: functionName })] }), holdDuration && holdDuration > 0 && (_jsx("div", { className: styles["rst-shortcut-tooltip-progress"], children: _jsx("div", { className: styles["rst-shortcut-tooltip-progress-bar"], style: {
28
- width: `${progressPercentage}%`,
29
- minWidth: progressPercentage > 0 ? "2px" : "0px", // Ensure visibility when progress starts
30
- } }) }))] }));
31
- };
32
- //# sourceMappingURL=shortcut-tooltip.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shortcut-tooltip.js","sourceRoot":"","sources":["../../../src/custom-components/shortcut-tooltip/shortcut-tooltip.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAChE,OAAO,MAAM,MAAM,+BAA+B,CAAC;AACnD,OAAO,UAAU,MAAM,wCAAwC,CAAC;AAEhE;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,eAAe,GAAmC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,GAAG,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACjJ,IAAI,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAE5B,MAAM,kBAAkB,GAAG,YAAY,IAAI,YAAY,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,YAAY,GAAG,YAAY,CAAC,GAAG,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAErH,OAAO,CACL,eACE,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC,EACzC,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ,CAAC,CAAC;YAChB,GAAG,EAAE,QAAQ,CAAC,CAAC;YACf,SAAS,EAAE,oCAAoC;SAChD,aAED,eAAK,SAAS,EAAE,MAAM,CAAC,8BAA8B,CAAC,aACpD,KAAC,QAAQ,IAAC,IAAI,EAAE,QAAQ,EAAE,aAAa,SAAG,EAC1C,KAAC,UAAU,IAAC,OAAO,EAAC,SAAS,YAAE,YAAY,GAAc,IACrD,EAEL,YAAY,IAAI,YAAY,GAAG,CAAC,IAAI,CACnC,cAAK,SAAS,EAAE,MAAM,CAAC,+BAA+B,CAAC,YACrD,cACE,SAAS,EAAE,MAAM,CAAC,mCAAmC,CAAC,EACtD,KAAK,EAAE;wBACL,KAAK,EAAE,GAAG,kBAAkB,GAAG;wBAC/B,QAAQ,EAAE,kBAAkB,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE,yCAAyC;qBAC5F,GACD,GACE,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,19 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import style from "../timeline.module.css";
3
- import { Skeleton } from "../../../utility-components/skeleton/skeleton";
4
- export const TimelineSkeleton = ({ items = 2 }) => {
5
- const timelineClass = {
6
- timelineTl: `${style["rst-timeline-tl"]}`,
7
- timelineList: `${style["rst-timeline-list"]}`,
8
- timelineItem: `${style["rst-timeline-item"]}`,
9
- timelineRail: `${style["rst-timeline-rail"]}`,
10
- timelineLine: `${style["rst-timeline-line"]}`,
11
- timelineDot: `${style["rst-timeline-dot"]}`,
12
- timelineNode: `${style["rst-timeline-node"]}`,
13
- timelineNodeHeader: `${style["rst-timeline-node-header"]}`,
14
- timelineNodeArticle: `${style["rst-timeline-node-article"]}`,
15
- };
16
- return (_jsx("section", { className: timelineClass.timelineTl, "aria-label": "Timeline Skeleton", children: _jsx("ul", { className: timelineClass.timelineList, children: Array.from({ length: items }).map((_, idx) => (_jsxs("li", { className: timelineClass.timelineItem, children: [_jsxs("div", { className: timelineClass.timelineRail, "aria-hidden": true, children: [_jsx("span", { className: timelineClass.timelineDot }), _jsx("span", { className: timelineClass.timelineLine })] }), _jsxs("div", { className: timelineClass.timelineNode, children: [_jsxs("span", { className: timelineClass.timelineNodeHeader, children: [_jsx(Skeleton, { width: 120, height: 16 }), " ", _jsx(Skeleton, { width: 60, height: 12 }), " "] }), _jsxs("article", { className: timelineClass.timelineNodeArticle, children: [_jsx(Skeleton, { width: "100%", height: 12 }), _jsx(Skeleton, { width: "90%", height: 12 }), _jsx(Skeleton, { width: "95%", height: 12 }), _jsx(Skeleton, { width: "100%", height: 120 }), " "] })] })] }, idx))) }) }));
17
- };
18
- export default TimelineSkeleton;
19
- //# sourceMappingURL=timeline-skeleton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-skeleton.js","sourceRoot":"","sources":["../../../../src/custom-components/timeline/skeleton/timeline-skeleton.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAMzE,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE;IACjF,MAAM,aAAa,GAAG;QACpB,UAAU,EAAE,GAAG,KAAK,CAAC,iBAAiB,CAAC,EAAE;QACzC,YAAY,EAAE,GAAG,KAAK,CAAC,mBAAmB,CAAC,EAAE;QAC7C,YAAY,EAAE,GAAG,KAAK,CAAC,mBAAmB,CAAC,EAAE;QAC7C,YAAY,EAAE,GAAG,KAAK,CAAC,mBAAmB,CAAC,EAAE;QAC7C,YAAY,EAAE,GAAG,KAAK,CAAC,mBAAmB,CAAC,EAAE;QAC7C,WAAW,EAAE,GAAG,KAAK,CAAC,kBAAkB,CAAC,EAAE;QAC3C,YAAY,EAAE,GAAG,KAAK,CAAC,mBAAmB,CAAC,EAAE;QAC7C,kBAAkB,EAAE,GAAG,KAAK,CAAC,0BAA0B,CAAC,EAAE;QAC1D,mBAAmB,EAAE,GAAG,KAAK,CAAC,2BAA2B,CAAC,EAAE;KAC7D,CAAC;IAEF,OAAO,CACL,kBAAS,SAAS,EAAE,aAAa,CAAC,UAAU,gBAAa,mBAAmB,YAC1E,aAAI,SAAS,EAAE,aAAa,CAAC,YAAY,YACtC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CAC7C,cAAc,SAAS,EAAE,aAAa,CAAC,YAAY,aACjD,eAAK,SAAS,EAAE,aAAa,CAAC,YAAY,kCACxC,eAAM,SAAS,EAAE,aAAa,CAAC,WAAW,GAAI,EAC9C,eAAM,SAAS,EAAE,aAAa,CAAC,YAAY,GAAI,IAC3C,EAGN,eAAK,SAAS,EAAE,aAAa,CAAC,YAAY,aACxC,gBAAM,SAAS,EAAE,aAAa,CAAC,kBAAkB,aAC/C,KAAC,QAAQ,IAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,GAAI,OACpC,KAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,SAC9B,EAEP,mBAAS,SAAS,EAAE,aAAa,CAAC,mBAAmB,aACnD,KAAC,QAAQ,IAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAE,EAAE,GAAI,EACrC,KAAC,QAAQ,IAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAE,EAAE,GAAI,EACpC,KAAC,QAAQ,IAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAE,EAAE,GAAI,EACpC,KAAC,QAAQ,IAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAE,GAAG,GAAI,SAC9B,IACN,KAnBC,GAAG,CAoBP,CACN,CAAC,GACC,GACG,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=timeline-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-types.js","sourceRoot":"","sources":["../../../src/custom-components/timeline/timeline-types.ts"],"names":[],"mappings":""}
@@ -1,64 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import Typography from "../../components/typography/typography";
3
- import { Icon } from "../../utility-components/icon/icon";
4
- import TimelineSkeleton from "./skeleton/timeline-skeleton";
5
- import style from "./timeline.module.css";
6
- import { combineClasses, extractChildrenByDisplayName } from "../../utils/general";
7
- /* -----------------------------------------------------------
8
- // #region Item Subcomponents
9
- * ----------------------------------------------------------- */
10
- // Timeline Item Icon
11
- const TimelineItemIcon = ({ children, visual }) => visual ? _jsx(Icon, { src: visual }) : _jsx("div", { className: style["rst-timeline-dot"], children: children });
12
- TimelineItemIcon.displayName = "TimelineItem.Icon";
13
- // Timeline Item Title
14
- const TimelineItemTitle = ({ children, href }) => {
15
- const value = typeof children === "string" ? children : String(children);
16
- const typography = _jsx(Typography, { variant: "body", children: value });
17
- return href ? _jsx("a", { href: href, children: typography }) : typography;
18
- };
19
- TimelineItemTitle.displayName = "TimelineItem.Title";
20
- // Timeline Item Date
21
- const TimelineItemDate = ({ children }) => _jsx(Typography, { variant: "code", children: String(children) });
22
- TimelineItemDate.displayName = "TimelineItem.Date";
23
- // Timeline Item Description
24
- const TimelineItemDescription = ({ children }) => _jsx(Typography, { variant: "body", children: String(children) });
25
- TimelineItemDescription.displayName = "TimelineItem.Description";
26
- // Timeline Item Image
27
- const TimelineItemImage = ({ src, alt = "" }) => _jsx("img", { className: style["rst-timeline-node-image"], src: src, alt: alt });
28
- TimelineItemImage.displayName = "TimelineItem.Image";
29
- // Timeline Item Content
30
- const TimelineItemContent = ({ children }) => {
31
- const { "TimelineItem.Title": title, "TimelineItem.Date": date, "TimelineItem.Description": desc, "TimelineItem.Image": image, } = extractChildrenByDisplayName(children, ["TimelineItem.Title", "TimelineItem.Date", "TimelineItem.Description", "TimelineItem.Image"]);
32
- return (_jsxs(_Fragment, { children: [_jsxs("span", { className: style["rst-timeline-node-header"], children: [title, date] }), _jsxs("article", { children: [desc, image] })] }));
33
- };
34
- TimelineItemContent.displayName = "TimelineItem.Content";
35
- /* -----------------------------------------------------------
36
- // #region Timeline Item
37
- * ----------------------------------------------------------- */
38
- const TimelineItem = ({ children, className }) => {
39
- const { "TimelineItem.Icon": icon, "TimelineItem.Content": content } = extractChildrenByDisplayName(children, ["TimelineItem.Icon", "TimelineItem.Content"]);
40
- return (_jsxs("li", { className: combineClasses(style["rst-timeline-item"], className), children: [_jsxs("div", { className: style["rst-timeline-rail"], "aria-hidden": true, children: [icon || _jsx("span", { className: style["rst-timeline-dot"] }), _jsx("span", { className: style["rst-timeline-line"] })] }), _jsx("div", { className: style["rst-timeline-node"], children: content })] }));
41
- };
42
- TimelineItem.displayName = "TimelineItem";
43
- /* Attach subcomponents */
44
- TimelineItem.Icon = TimelineItemIcon;
45
- TimelineItem.Content = TimelineItemContent;
46
- TimelineItem.Title = TimelineItemTitle;
47
- TimelineItem.Date = TimelineItemDate;
48
- TimelineItem.Description = TimelineItemDescription;
49
- TimelineItem.Image = TimelineItemImage;
50
- /* -----------------------------------------------------------
51
- // #region Timeline Base
52
- * ----------------------------------------------------------- */
53
- const TimelineBase = ({ loading = false, children }) => {
54
- if (loading)
55
- return _jsx(TimelineSkeleton, { items: 3 });
56
- return (_jsx("section", { className: style["rst-timeline-tl"], "aria-label": "Timeline", children: _jsx("ul", { className: style["rst-timeline-list"], children: children }) }));
57
- };
58
- /* -----------------------------------------------------------
59
- // #region Export Compound Component
60
- * ----------------------------------------------------------- */
61
- export const Timeline = Object.assign(TimelineBase, {
62
- Item: TimelineItem,
63
- });
64
- //# sourceMappingURL=timeline.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline.js","sourceRoot":"","sources":["../../../src/custom-components/timeline/timeline.tsx"],"names":[],"mappings":";AACA,OAAO,UAAU,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,gBAAgB,MAAM,8BAA8B,CAAC;AAW5D,OAAO,KAAK,MAAM,uBAAuB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAEnF;;iEAEiE;AAEjE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,kBAAkB,CAAC,GAAI,EACvD,eAAM,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAI,IAC3C,EACN,cAAK,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,YAAG,OAAO,GAAO,IACxD,CACN,CAAC;AACJ,CAAC,CAAC;AACF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,0BAA0B;AAC1B,YAAY,CAAC,IAAI,GAAG,gBAAgB,CAAC;AACrC,YAAY,CAAC,OAAO,GAAG,mBAAmB,CAAC;AAC3C,YAAY,CAAC,KAAK,GAAG,iBAAiB,CAAC;AACvC,YAAY,CAAC,IAAI,GAAG,gBAAgB,CAAC;AACrC,YAAY,CAAC,WAAW,GAAG,uBAAuB,CAAC;AACnD,YAAY,CAAC,KAAK,GAAG,iBAAiB,CAAC;AAEvC;;iEAEiE;AAEjE,MAAM,YAAY,GAA4B,CAAC,EAAE,OAAO,GAAG,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9E,IAAI,OAAO;QAAE,OAAO,KAAC,gBAAgB,IAAC,KAAK,EAAE,CAAC,GAAI,CAAC;IAEnD,OAAO,CACL,kBAAS,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAa,UAAU,YACjE,aAAI,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,YAAG,QAAQ,GAAM,GAClD,CACX,CAAC;AACJ,CAAC,CAAC;AAEF;;iEAEiE;AAEjE,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE;IAClD,IAAI,EAAE,YAAY;CACnB,CAAC,CAAC"}
@@ -1,31 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { getConnectionSides, getConnectionPoint, getBezierPath } from "./workflow-layout";
3
- import styles from "./workflow-edge.module.css";
4
- export function WorkflowEdge({ edge, sourceNode, targetNode, layout, onClick, className }) {
5
- // Determine connection sides based on layout
6
- const { sourceSide, targetSide } = getConnectionSides(sourceNode, targetNode, layout);
7
- // Get connection points
8
- const startPoint = getConnectionPoint(sourceNode, sourceSide, layout);
9
- const endPoint = getConnectionPoint(targetNode, targetSide, layout);
10
- // Generate smooth bezier curve path (XY Flow style)
11
- const pathData = getBezierPath(startPoint, endPoint);
12
- // Calculate label position (midpoint of path)
13
- const labelX = (startPoint.x + endPoint.x) / 2;
14
- const labelY = (startPoint.y + endPoint.y) / 2;
15
- // Get edge type for styling
16
- const edgeType = edge.type || "default";
17
- const edgeTypeClass = styles[`rst-workflow-edge-${edgeType}`];
18
- const handleClick = () => {
19
- if (onClick) {
20
- onClick(edge);
21
- }
22
- };
23
- const handleKeyDown = (e) => {
24
- if (e.key === "Enter" || e.key === " ") {
25
- e.preventDefault();
26
- handleClick();
27
- }
28
- };
29
- return (_jsxs("g", { className: [styles["rst-workflow-edge"], edgeTypeClass, className, edge.className].filter(Boolean).join(" "), onClick: handleClick, onKeyDown: handleKeyDown, role: "button", tabIndex: 0, "aria-label": `Connection from ${sourceNode.label} to ${targetNode.label}${edge.type ? ` (${edge.type})` : ""}`, children: [_jsx("path", { d: pathData, className: styles["rst-workflow-edge-path"], fill: "none" }), _jsx("path", { d: pathData, className: styles["rst-workflow-edge-hitbox"], fill: "none", strokeWidth: "20", stroke: "transparent", pointerEvents: "stroke" }), _jsx("circle", { cx: startPoint.x, cy: startPoint.y, r: "4", className: styles["rst-workflow-edge-endpoint-start"] }), _jsx("circle", { cx: endPoint.x, cy: endPoint.y, r: "4", className: styles["rst-workflow-edge-endpoint-end"] }), edge.label && (_jsxs("g", { children: [_jsx("rect", { x: labelX - 30, y: labelY - 12, width: "60", height: "24", rx: "4", className: styles["rst-workflow-edge-label-bg"] }), _jsx("text", { x: labelX, y: labelY, textAnchor: "middle", dominantBaseline: "middle", className: styles["rst-workflow-edge-label"], children: edge.label })] }))] }));
30
- }
31
- //# sourceMappingURL=workflow-edge.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workfl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AC,KAAK,IAAI,CACb,wBACE,eAAM,CAAC,EAAE,MAAM,GAAG,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,SAAS,EAAE,MAAM,CAAC,4BAA4B,CAAC,GAAI,EACvH,eAAM,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,UAAU,EAAC,QAAQ,EAAC,gBAAgB,EAAC,QAAQ,EAAC,SAAS,EAAE,MAAM,CAAC,yBAAyB,CAAC,YACnH,IAAI,CAAC,KAAK,GACN,IACL,CACL,IACC,CACL,CAAC;AACJ,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=workflow-layout-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workflow-layout-types.js","sourceRoot":"","sources":["../../../../src/custom-components/workflow/layout/workflow-layout-types.ts"],"names":[],"mappings":""}