@restio/ui 0.2.0 → 0.2.1-20260901160735

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 (506) hide show
  1. package/README.md +78 -8
  2. package/dist/core.cjs +1 -0
  3. package/dist/core.d.ts +803 -0
  4. package/dist/core.js +30 -0
  5. package/dist/data.cjs +1 -0
  6. package/dist/data.d.ts +1423 -0
  7. package/dist/data.js +24 -0
  8. package/dist/experimental.cjs +1 -0
  9. package/dist/experimental.d.ts +486 -0
  10. package/dist/experimental.js +1027 -0
  11. package/dist/framework.cjs +1 -0
  12. package/dist/framework.d.ts +788 -0
  13. package/dist/framework.js +31 -0
  14. package/dist/index.cjs +1 -0
  15. package/dist/index.d.ts +3124 -143
  16. package/dist/index.js +90 -0
  17. package/dist/{restio-ui.es.js → src-DaTjVaGd.js} +24815 -25017
  18. package/dist/src-gB-fpYMb.cjs +156 -0
  19. package/dist/ui.css +1 -1
  20. package/package.json +46 -25
  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/pencil.svg +0 -1
  70. package/dist/assets/svg/pie-chart.svg +0 -1
  71. package/dist/assets/svg/plus.svg +0 -1
  72. package/dist/assets/svg/restio.svg +0 -5
  73. package/dist/assets/svg/search.svg +0 -1
  74. package/dist/assets/svg/send.svg +0 -1
  75. package/dist/assets/svg/shrink-right.svg +0 -1
  76. package/dist/assets/svg/sidebar.svg +0 -1
  77. package/dist/assets/svg/square-half.svg +0 -1
  78. package/dist/assets/svg/table.svg +0 -1
  79. package/dist/assets/svg/terminal.svg +0 -1
  80. package/dist/assets/svg/timer.svg +0 -1
  81. package/dist/assets/svg/transaction.svg +0 -1
  82. package/dist/assets/svg/vertical-expand.svg +0 -1
  83. package/dist/assets/svg/wallet.svg +0 -1
  84. package/dist/assets/svg/warning.svg +0 -1
  85. package/dist/assets/svg/zoom-minus.svg +0 -1
  86. package/dist/assets/svg/zoom-plus.svg +0 -1
  87. package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +0 -22
  88. package/dist/components/anchored-overlay/anchored-overlay.d.ts +0 -4
  89. package/dist/components/anchored-overlay/anchored-overlay.test.d.ts +0 -0
  90. package/dist/components/anchored-overlay/stories/anchored-overlay-example.stories.d.ts +0 -6
  91. package/dist/components/banner/banner-types.d.ts +0 -12
  92. package/dist/components/banner/banner.d.ts +0 -4
  93. package/dist/components/banner/banner.stories.d.ts +0 -11
  94. package/dist/components/button/button-types.d.ts +0 -11
  95. package/dist/components/button/button.d.ts +0 -3
  96. package/dist/components/button/stories/button-example.stories.d.ts +0 -8
  97. package/dist/components/button/stories/button.stories.d.ts +0 -8
  98. package/dist/components/button-dropdown/button-dropdown-types.d.ts +0 -19
  99. package/dist/components/button-dropdown/button-dropdown.d.ts +0 -7
  100. package/dist/components/button-dropdown/button-dropdown.test.d.ts +0 -0
  101. package/dist/components/button-dropdown/stories/button-dropdown.stories.d.ts +0 -10
  102. package/dist/components/button-group/button-group-types.d.ts +0 -15
  103. package/dist/components/button-group/button-group.d.ts +0 -3
  104. package/dist/components/button-group/button-group.stories.d.ts +0 -7
  105. package/dist/components/button-group/button-group.test.d.ts +0 -1
  106. package/dist/components/checkbox/checkbox-types.d.ts +0 -15
  107. package/dist/components/checkbox/checkbox.d.ts +0 -3
  108. package/dist/components/checkbox/checkbox.test.d.ts +0 -0
  109. package/dist/components/checkbox/stories/checkbox-example.stories.d.ts +0 -7
  110. package/dist/components/checkbox/stories/checkbox.stories.d.ts +0 -6
  111. package/dist/components/checkbox-group/checkbox-group-types.d.ts +0 -27
  112. package/dist/components/checkbox-group/checkbox-group.d.ts +0 -7
  113. package/dist/components/checkbox-group/checkbox-group.test.d.ts +0 -0
  114. package/dist/components/checkbox-group/stories/checkbox-group-example.stories.d.ts +0 -6
  115. package/dist/components/checkbox-group/stories/checkbox-group.stories.d.ts +0 -10
  116. package/dist/components/code-block/code-block.d.ts +0 -7
  117. package/dist/components/file-upload/file-upload-types.d.ts +0 -36
  118. package/dist/components/file-upload/file-upload-utils.d.ts +0 -1
  119. package/dist/components/file-upload/file-upload.d.ts +0 -3
  120. package/dist/components/file-upload/file-upload.test.d.ts +0 -1
  121. package/dist/components/file-upload/stories/file-upload.stories.d.ts +0 -8
  122. package/dist/components/input/date/date-calendar.d.ts +0 -3
  123. package/dist/components/input/date/date-input-field.d.ts +0 -8
  124. package/dist/components/input/date/date-picker.d.ts +0 -7
  125. package/dist/components/input/date/date-range-input-field.d.ts +0 -8
  126. package/dist/components/input/date/date-range-picker.d.ts +0 -8
  127. package/dist/components/input/date/date-shortcuts.d.ts +0 -3
  128. package/dist/components/input/date/date-types.d.ts +0 -52
  129. package/dist/components/input/date/date-utils.d.ts +0 -50
  130. package/dist/components/input/date/stories/date.stories.d.ts +0 -5
  131. package/dist/components/input/input-types.d.ts +0 -27
  132. package/dist/components/input/input.d.ts +0 -3
  133. package/dist/components/input/number/input-number-types.d.ts +0 -7
  134. package/dist/components/input/number/input-number.d.ts +0 -3
  135. package/dist/components/input/number/input-number.stories.d.ts +0 -6
  136. package/dist/components/input/text/input-text-types.d.ts +0 -6
  137. package/dist/components/input/text/input-text.d.ts +0 -3
  138. package/dist/components/input/text/stories/input-text.stories.d.ts +0 -9
  139. package/dist/components/kbd/kbd-types.d.ts +0 -6
  140. package/dist/components/kbd/kbd.d.ts +0 -4
  141. package/dist/components/kbd/kbd.stories.d.ts +0 -9
  142. package/dist/components/kbd-group/kbd-group-types.d.ts +0 -14
  143. package/dist/components/kbd-group/kbd-group.d.ts +0 -4
  144. package/dist/components/kbd-group/kbd-group.stories.d.ts +0 -10
  145. package/dist/components/list/list-types.d.ts +0 -37
  146. package/dist/components/list/list-utils.d.ts +0 -46
  147. package/dist/components/list/list.d.ts +0 -2
  148. package/dist/components/list/list.stories.d.ts +0 -12
  149. package/dist/components/list/list.test.d.ts +0 -0
  150. package/dist/components/menu/anchored-navigation-menu.d.ts +0 -18
  151. package/dist/components/menu/menu-assets.d.ts +0 -2
  152. package/dist/components/menu/menu-types.d.ts +0 -21
  153. package/dist/components/menu/menu.d.ts +0 -8
  154. package/dist/components/menu/stories/anchored-navigation-menu.stories.d.ts +0 -7
  155. package/dist/components/otp/otp-types.d.ts +0 -29
  156. package/dist/components/otp/otp-utils.d.ts +0 -14
  157. package/dist/components/otp/otp.d.ts +0 -3
  158. package/dist/components/otp/otp.stories.d.ts +0 -145
  159. package/dist/components/progress-bar/progress-bar-types.d.ts +0 -19
  160. package/dist/components/progress-bar/progress-bar.d.ts +0 -6
  161. package/dist/components/progress-bar/progress-bar.test.d.ts +0 -1
  162. package/dist/components/progress-bar/stories/progress-bar-example.stories.d.ts +0 -8
  163. package/dist/components/progress-bar/stories/progress-bar.stories.d.ts +0 -9
  164. package/dist/components/radio/radio-types.d.ts +0 -13
  165. package/dist/components/radio/radio.d.ts +0 -7
  166. package/dist/components/radio/radio.test.d.ts +0 -0
  167. package/dist/components/radio/stories/radio-example.stories.d.ts +0 -7
  168. package/dist/components/radio/stories/radio.stories.d.ts +0 -6
  169. package/dist/components/radio-group/radio-group-types.d.ts +0 -29
  170. package/dist/components/radio-group/radio-group.d.ts +0 -7
  171. package/dist/components/radio-group/radio-group.test.d.ts +0 -0
  172. package/dist/components/radio-group/stories/radio-group-example.stories.d.ts +0 -6
  173. package/dist/components/radio-group/stories/radio-group.stories.d.ts +0 -10
  174. package/dist/components/select/select-switch.d.ts +0 -26
  175. package/dist/components/select/select-types.d.ts +0 -35
  176. package/dist/components/select/select.d.ts +0 -4
  177. package/dist/components/select/select.stories.d.ts +0 -20
  178. package/dist/components/select/select.test.d.ts +0 -0
  179. package/dist/components/select/templates/grid-template.d.ts +0 -7
  180. package/dist/components/select/templates/list-template.d.ts +0 -7
  181. package/dist/components/select/templates/preview-dialog-template.d.ts +0 -9
  182. package/dist/components/select/templates/select-template-types.d.ts +0 -12
  183. package/dist/components/selection-grid/selection-grid-types.d.ts +0 -19
  184. package/dist/components/selection-grid/selection-grid.d.ts +0 -7
  185. package/dist/components/selection-grid/stories/selection-grid-example.stories.d.ts +0 -7
  186. package/dist/components/selection-grid/stories/selection-grid.stories.d.ts +0 -10
  187. package/dist/components/tag/tag-types.d.ts +0 -9
  188. package/dist/components/tag/tag.d.ts +0 -3
  189. package/dist/components/tag/tag.stories.d.ts +0 -12
  190. package/dist/components/textarea/textarea-types.d.ts +0 -54
  191. package/dist/components/textarea/textarea.d.ts +0 -3
  192. package/dist/components/textarea/textarea.stories.d.ts +0 -25
  193. package/dist/components/toast-group/toast-group-types.d.ts +0 -5
  194. package/dist/components/toast-group/toast-group.d.ts +0 -4
  195. package/dist/components/toast-group/toast-group.stories.d.ts +0 -6
  196. package/dist/components/typography/typography-types.d.ts +0 -58
  197. package/dist/components/typography/typography.d.ts +0 -3
  198. package/dist/components/typography/typography.stories.d.ts +0 -10
  199. package/dist/custom-components/chat/chat-types.d.ts +0 -18
  200. package/dist/custom-components/chat/chat.d.ts +0 -2
  201. package/dist/custom-components/chat/chat.stories.d.ts +0 -7
  202. package/dist/custom-components/layout/layout-renderers.d.ts +0 -8
  203. package/dist/custom-components/layout/layout-types.d.ts +0 -43
  204. package/dist/custom-components/layout/layout.d.ts +0 -12
  205. package/dist/custom-components/layout/layout.stories.d.ts +0 -7
  206. package/dist/custom-components/markdown/components/img/zoomable-image.d.ts +0 -4
  207. package/dist/custom-components/markdown/markdown-types.d.ts +0 -28
  208. package/dist/custom-components/markdown/markdown-utils.d.ts +0 -1
  209. package/dist/custom-components/markdown/markdown.d.ts +0 -3
  210. package/dist/custom-components/markdown/markdown.stories.d.ts +0 -6
  211. package/dist/custom-components/mindmap/index.d.ts +0 -2
  212. package/dist/custom-components/mindmap/mind-tree-types.d.ts +0 -93
  213. package/dist/custom-components/mindmap/mind-tree.d.ts +0 -3
  214. package/dist/custom-components/mindmap/reingold-tilford-algorithm.d.ts +0 -64
  215. package/dist/custom-components/mindmap/stories/mind-tree.stories.d.ts +0 -11
  216. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.d.ts +0 -59
  217. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.d.ts +0 -17
  218. package/dist/custom-components/shortcut-tooltip/stories/shortcut-tooltip.stories.d.ts +0 -10
  219. package/dist/custom-components/timeline/skeleton/timeline-skeleton.d.ts +0 -6
  220. package/dist/custom-components/timeline/timeline-types.d.ts +0 -45
  221. package/dist/custom-components/timeline/timeline.d.ts +0 -19
  222. package/dist/custom-components/timeline/timeline.stories.d.ts +0 -8
  223. package/dist/custom-components/workflow/layout/workflow-edge.d.ts +0 -3
  224. package/dist/custom-components/workflow/layout/workflow-layout-types.d.ts +0 -73
  225. package/dist/custom-components/workflow/layout/workflow-layout.d.ts +0 -37
  226. package/dist/custom-components/workflow/node/workflow-node.d.ts +0 -3
  227. package/dist/custom-components/workflow/panel/workflow-panel-types.d.ts +0 -17
  228. package/dist/custom-components/workflow/panel/workflow-panel.d.ts +0 -3
  229. package/dist/custom-components/workflow/stories/workflow-overlay.stories.d.ts +0 -7
  230. package/dist/custom-components/workflow/stories/workflow-toolbar.stories.d.ts +0 -6
  231. package/dist/custom-components/workflow/stories/workflow.stories.d.ts +0 -7
  232. package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.d.ts +0 -23
  233. package/dist/custom-components/workflow/toolbar/workflow-toolbar.d.ts +0 -3
  234. package/dist/custom-components/workflow/utils/workflow-validation.d.ts +0 -47
  235. package/dist/custom-components/workflow/workflow-types.d.ts +0 -203
  236. package/dist/custom-components/workflow/workflow.d.ts +0 -6
  237. package/dist/data-components/assets/cell-types-asset.d.ts +0 -38
  238. package/dist/data-components/assets/data-components-asset.d.ts +0 -13
  239. package/dist/data-components/calendar/calendar-types.d.ts +0 -30
  240. package/dist/data-components/calendar/calendar-utils.d.ts +0 -5
  241. package/dist/data-components/calendar/calendar.d.ts +0 -4
  242. package/dist/data-components/calendar/stories/calendar.stories.d.ts +0 -22
  243. package/dist/data-components/card/card-types.d.ts +0 -20
  244. package/dist/data-components/card/card.d.ts +0 -10
  245. package/dist/data-components/card/stories/card.stories.d.ts +0 -13
  246. package/dist/data-components/card-list/card-list-types.d.ts +0 -21
  247. package/dist/data-components/card-list/card-list.d.ts +0 -12
  248. package/dist/data-components/card-list/models/ecommerce.d.ts +0 -12
  249. package/dist/data-components/card-list/stories/card-list.stories.d.ts +0 -29
  250. package/dist/data-components/cell/cell-registry.d.ts +0 -28
  251. package/dist/data-components/cell/cell-types.d.ts +0 -39
  252. package/dist/data-components/cell/cell-utils.d.ts +0 -21
  253. package/dist/data-components/cell/cell.d.ts +0 -2
  254. package/dist/data-components/cell/colors-editor/colors-editor-types.d.ts +0 -15
  255. package/dist/data-components/cell/colors-editor/colors-editor.d.ts +0 -7
  256. package/dist/data-components/cell/stories/cell-all-examples.stories.d.ts +0 -13
  257. package/dist/data-components/cell/test/cell-utils.test.d.ts +0 -1
  258. package/dist/data-components/cell/test/cell.test.d.ts +0 -0
  259. package/dist/data-components/chart/chart-series-edit/chart-series-edit-types.d.ts +0 -22
  260. package/dist/data-components/chart/chart-series-edit/chart-series-edit.d.ts +0 -9
  261. package/dist/data-components/chart/chart-tooltip/chart-tooltip-types.d.ts +0 -13
  262. package/dist/data-components/chart/chart-tooltip/chart-tooltip.d.ts +0 -7
  263. package/dist/data-components/chart/chart-types.d.ts +0 -106
  264. package/dist/data-components/chart/chart-utils.d.ts +0 -27
  265. package/dist/data-components/chart/chart.d.ts +0 -4
  266. package/dist/data-components/chart/chart.stories.d.ts +0 -15
  267. package/dist/data-components/chart/geo/geoChart.d.ts +0 -10
  268. package/dist/data-components/chart/sankey/sankeyChart.d.ts +0 -37
  269. package/dist/data-components/data-component-configurator/data-component-configurator-types.d.ts +0 -35
  270. package/dist/data-components/data-component-configurator/data-component-configurator.d.ts +0 -17
  271. package/dist/data-components/data-component-types.d.ts +0 -10
  272. package/dist/data-components/data-component-utils.d.ts +0 -3
  273. package/dist/data-components/data-structure/data-structure-utils.d.ts +0 -15
  274. package/dist/data-components/data-structure/data-structure.d.ts +0 -43
  275. package/dist/data-components/data-structure/stories-assets.d.ts +0 -86
  276. package/dist/data-components/filter/filter-engine.d.ts +0 -14
  277. package/dist/data-components/filter/filter-types.d.ts +0 -40
  278. package/dist/data-components/filter/filter-utils.d.ts +0 -43
  279. package/dist/data-components/form/form-types.d.ts +0 -70
  280. package/dist/data-components/form/form.d.ts +0 -3
  281. package/dist/data-components/form/form.test.d.ts +0 -0
  282. package/dist/data-components/form/stories/form-advanced-cells.stories.d.ts +0 -15
  283. package/dist/data-components/form/stories/form-complex.stories.d.ts +0 -7
  284. package/dist/data-components/form/stories/form-dynamic.stories.d.ts +0 -20
  285. package/dist/data-components/form/stories/form-validation-examples.stories.d.ts +0 -7
  286. package/dist/data-components/form/stories/form.stories.d.ts +0 -17
  287. package/dist/data-components/gantt/ai-assistant/gantt-ai-executor.d.ts +0 -8
  288. package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts +0 -11
  289. package/dist/data-components/gantt/ai-assistant/gantt-ai-schema.d.ts +0 -6
  290. package/dist/data-components/gantt/ai-assistant/gantt-ai-tools.d.ts +0 -2
  291. package/dist/data-components/gantt/arrows/gantt-arrows.d.ts +0 -20
  292. package/dist/data-components/gantt/gantt-context.d.ts +0 -12
  293. package/dist/data-components/gantt/gantt-types.d.ts +0 -101
  294. package/dist/data-components/gantt/gantt-utils.d.ts +0 -60
  295. package/dist/data-components/gantt/gantt.d.ts +0 -3
  296. package/dist/data-components/gantt/hooks/useGanttDrag.d.ts +0 -14
  297. package/dist/data-components/gantt/hooks/useGanttTimeline.d.ts +0 -17
  298. package/dist/data-components/gantt/sidebar/gantt-sidebar-types.d.ts +0 -9
  299. package/dist/data-components/gantt/sidebar/gantt-sidebar.d.ts +0 -2
  300. package/dist/data-components/gantt/stories/gantt-stories-utils.d.ts +0 -12
  301. package/dist/data-components/gantt/stories/gantt.stories.d.ts +0 -20
  302. package/dist/data-components/switcher/prop-form/prop-form-adapter.d.ts +0 -9
  303. package/dist/data-components/switcher/prop-form/prop-form-types.d.ts +0 -16
  304. package/dist/data-components/switcher/prop-form/prop-form.d.ts +0 -6
  305. package/dist/data-components/switcher/prop-schema/prop-schema-types.d.ts +0 -52
  306. package/dist/data-components/switcher/prop-schema/prop-schema-utils.d.ts +0 -14
  307. package/dist/data-components/switcher/prop-schema/prop-schema.d.ts +0 -37
  308. package/dist/data-components/switcher/switcher-types.d.ts +0 -57
  309. package/dist/data-components/switcher/switcher.d.ts +0 -12
  310. package/dist/data-components/switcher/switcher.stories.d.ts +0 -7
  311. package/dist/data-components/table-grid/aggregation/aggregation-utils.d.ts +0 -8
  312. package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts +0 -8
  313. package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.d.ts +0 -12
  314. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts +0 -13
  315. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts +0 -2
  316. package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.d.ts +0 -3
  317. package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts +0 -5
  318. package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts +0 -93
  319. package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts +0 -4
  320. package/dist/data-components/table-grid/ai-assistant/table-grid-ai.stories.d.ts +0 -9
  321. package/dist/data-components/table-grid/editability/table-grid-editability.stories.d.ts +0 -7
  322. package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.d.ts +0 -6
  323. package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.d.ts +0 -8
  324. package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.d.ts +0 -5
  325. package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.d.ts +0 -5
  326. package/dist/data-components/table-grid/external-functionalities/import/csv/index.d.ts +0 -6
  327. package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts +0 -5
  328. package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.d.ts +0 -6
  329. package/dist/data-components/table-grid/external-functionalities/import/table-grid-import.stories.d.ts +0 -6
  330. package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts +0 -4
  331. package/dist/data-components/table-grid/footer/table-grid-footer.d.ts +0 -2
  332. package/dist/data-components/table-grid/formula/evaluator.d.ts +0 -10
  333. package/dist/data-components/table-grid/formula/formula-builder-types.d.ts +0 -7
  334. package/dist/data-components/table-grid/formula/formula-builder.d.ts +0 -2
  335. package/dist/data-components/table-grid/formula/formula.test.d.ts +0 -1
  336. package/dist/data-components/table-grid/formula/index.d.ts +0 -11
  337. package/dist/data-components/table-grid/formula/parser.d.ts +0 -23
  338. package/dist/data-components/table-grid/formula/table-grid-formula.stories.d.ts +0 -9
  339. package/dist/data-components/table-grid/formula/tokenizer.d.ts +0 -15
  340. package/dist/data-components/table-grid/formula/types.d.ts +0 -38
  341. package/dist/data-components/table-grid/grouping/grouping.d.ts +0 -14
  342. package/dist/data-components/table-grid/grouping/table-grid-grouping.stories.d.ts +0 -7
  343. package/dist/data-components/table-grid/header/grouping/group-panel-types.d.ts +0 -6
  344. package/dist/data-components/table-grid/header/grouping/group-panel.d.ts +0 -3
  345. package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts +0 -9
  346. package/dist/data-components/table-grid/header/table-grid-header-types.d.ts +0 -5
  347. package/dist/data-components/table-grid/header/table-grid-header.d.ts +0 -3
  348. package/dist/data-components/table-grid/hooks/use-table.d.ts +0 -2
  349. package/dist/data-components/table-grid/pinning/pinning-utils.d.ts +0 -20
  350. package/dist/data-components/table-grid/pinning/table-grid-pinning.stories.d.ts +0 -17
  351. package/dist/data-components/table-grid/pivot/pivot-config-panel-types.d.ts +0 -16
  352. package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts +0 -3
  353. package/dist/data-components/table-grid/pivot/pivot-table.d.ts +0 -7
  354. package/dist/data-components/table-grid/pivot/pivot-types.d.ts +0 -52
  355. package/dist/data-components/table-grid/pivot/pivot-utils.d.ts +0 -13
  356. package/dist/data-components/table-grid/pivot/table-grid-pivot.stories.d.ts +0 -15
  357. package/dist/data-components/table-grid/row/table-grid-row-types.d.ts +0 -10
  358. package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts +0 -16
  359. package/dist/data-components/table-grid/row/table-grid-row.d.ts +0 -2
  360. package/dist/data-components/table-grid/selection/selection-types.d.ts +0 -2
  361. package/dist/data-components/table-grid/selection/selection-utils.d.ts +0 -48
  362. package/dist/data-components/table-grid/selection/table-grid-selection.stories.d.ts +0 -9
  363. package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts +0 -27
  364. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts +0 -2
  365. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.stories.d.ts +0 -10
  366. package/dist/data-components/table-grid/sorting/sorting.d.ts +0 -7
  367. package/dist/data-components/table-grid/sorting/table-grid-sorting-groups.stories.d.ts +0 -5
  368. package/dist/data-components/table-grid/sorting/table-grid-sorting.stories.d.ts +0 -6
  369. package/dist/data-components/table-grid/stories/table-grid-columns.stories.d.ts +0 -8
  370. package/dist/data-components/table-grid/stories/table-grid-states.stories.d.ts +0 -8
  371. package/dist/data-components/table-grid/table-context/table-context-types.d.ts +0 -16
  372. package/dist/data-components/table-grid/table-context/table-context.d.ts +0 -2
  373. package/dist/data-components/table-grid/table-grid-context.d.ts +0 -3
  374. package/dist/data-components/table-grid/table-grid-features.stories.d.ts +0 -11
  375. package/dist/data-components/table-grid/table-grid-panels.d.ts +0 -21
  376. package/dist/data-components/table-grid/table-grid-types.d.ts +0 -246
  377. package/dist/data-components/table-grid/table-grid.d.ts +0 -10
  378. package/dist/data-components/table-grid/table-grid.stories.d.ts +0 -14
  379. package/dist/data-components/table-grid/table-utils.d.ts +0 -17
  380. package/dist/data-components/ui-layer/ui-layer-types.d.ts +0 -81
  381. package/dist/data-components/ui-layer/ui-layer-utils.d.ts +0 -12
  382. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.d.ts +0 -14
  383. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.d.ts +0 -11
  384. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.d.ts +0 -3
  385. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.stories.d.ts +0 -9
  386. package/dist/experimental-components/dashboard-builder/builder-canvas-hooks.d.ts +0 -46
  387. package/dist/experimental-components/dashboard-builder/builder-canvas.d.ts +0 -33
  388. package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts +0 -23
  389. package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts +0 -173
  390. package/dist/experimental-components/dashboard-builder/dashboard-builder-utils.d.ts +0 -37
  391. package/dist/experimental-components/dashboard-builder/dashboard-builder.d.ts +0 -13
  392. package/dist/experimental-components/dashboard-builder/dashboard-builder.stories.d.ts +0 -8
  393. package/dist/experimental-components/dashboard-builder/widget-configurator.d.ts +0 -25
  394. package/dist/experimental-components/dashboard-builder/widget-palette.d.ts +0 -19
  395. package/dist/experimental-components/filter-builder/filter-builder-types.d.ts +0 -11
  396. package/dist/experimental-components/filter-builder/filter-builder.d.ts +0 -11
  397. package/dist/experimental-components/filter-builder/filter-builder.stories.d.ts +0 -15
  398. package/dist/framework-components/appbar/appbar-assets.d.ts +0 -1
  399. package/dist/framework-components/appbar/appbar-types.d.ts +0 -18
  400. package/dist/framework-components/appbar/appbar.d.ts +0 -8
  401. package/dist/framework-components/appbar/appbar.stories.d.ts +0 -6
  402. package/dist/framework-components/blank-slate/blank-slate-types.d.ts +0 -31
  403. package/dist/framework-components/blank-slate/blank-slate.d.ts +0 -10
  404. package/dist/framework-components/blank-slate/blank-slate.stories.d.ts +0 -9
  405. package/dist/framework-components/breadcrumbs/breadcrumbs-types.d.ts +0 -13
  406. package/dist/framework-components/breadcrumbs/breadcrumbs.d.ts +0 -3
  407. package/dist/framework-components/breadcrumbs/breadcrumbs.stories.d.ts +0 -7
  408. package/dist/framework-components/dashboard/dashboard-context.d.ts +0 -11
  409. package/dist/framework-components/dashboard/dashboard-real-world.stories.d.ts +0 -6
  410. package/dist/framework-components/dashboard/dashboard-types.d.ts +0 -47
  411. package/dist/framework-components/dashboard/dashboard-widget-actions.d.ts +0 -0
  412. package/dist/framework-components/dashboard/dashboard-widget-types.d.ts +0 -85
  413. package/dist/framework-components/dashboard/dashboard-widget.d.ts +0 -17
  414. package/dist/framework-components/dashboard/dashboard.d.ts +0 -15
  415. package/dist/framework-components/dashboard/dashboard.stories.d.ts +0 -7
  416. package/dist/framework-components/dashboard/data-engine/aggregation-engine.d.ts +0 -10
  417. package/dist/framework-components/dashboard/data-engine/data-engine-client.d.ts +0 -46
  418. package/dist/framework-components/dashboard/data-engine/data-engine-types.d.ts +0 -118
  419. package/dist/framework-components/dashboard/data-engine/data-engine.d.ts +0 -86
  420. package/dist/framework-components/dashboard/data-engine/data-engine.test.d.ts +0 -1
  421. package/dist/framework-components/dashboard/data-engine/data-engine.worker.d.ts +0 -1
  422. package/dist/framework-components/dashboard/data-engine/field-inference.d.ts +0 -9
  423. package/dist/framework-components/dashboard/data-engine/filter-adapter.d.ts +0 -11
  424. package/dist/framework-components/dashboard/data-engine/index.d.ts +0 -7
  425. package/dist/framework-components/dashboard/data-engine/join-engine.d.ts +0 -16
  426. package/dist/framework-components/drawer/drawer-types.d.ts +0 -6
  427. package/dist/framework-components/drawer/drawer.d.ts +0 -4
  428. package/dist/framework-components/scaffold/scaffold-context.d.ts +0 -3
  429. package/dist/framework-components/scaffold/scaffold-types.d.ts +0 -17
  430. package/dist/framework-components/scaffold/scaffold.d.ts +0 -6
  431. package/dist/framework-components/scaffold/scaffold.stories.d.ts +0 -7
  432. package/dist/framework-components/scaffold/scaffold.test.d.ts +0 -0
  433. package/dist/framework-components/section/section-types.d.ts +0 -15
  434. package/dist/framework-components/section/section.d.ts +0 -8
  435. package/dist/framework-components/section/section.stories.d.ts +0 -6
  436. package/dist/framework-components/sidebar/sidebar-assets.d.ts +0 -1
  437. package/dist/framework-components/sidebar/sidebar-context.d.ts +0 -3
  438. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.d.ts +0 -5
  439. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.d.ts +0 -2
  440. package/dist/framework-components/sidebar/sidebar-types.d.ts +0 -12
  441. package/dist/framework-components/sidebar/sidebar.d.ts +0 -16
  442. package/dist/framework-components/sidebar/sidebar.stories.d.ts +0 -6
  443. package/dist/framework-components/stepper/stepper-types.d.ts +0 -13
  444. package/dist/framework-components/stepper/stepper.d.ts +0 -8
  445. package/dist/framework-components/stepper/stepper.stories.d.ts +0 -7
  446. package/dist/hooks/useDynamicVirtualList.d.ts +0 -75
  447. package/dist/hooks/useEscapeClose.d.ts +0 -2
  448. package/dist/hooks/useFixedVirtualList.d.ts +0 -34
  449. package/dist/hooks/useOverlayAnimation.d.ts +0 -17
  450. package/dist/hooks/useShortcut.d.ts +0 -19
  451. package/dist/hooks/useTour/stories/useTour.stories.d.ts +0 -24
  452. package/dist/hooks/useTour/useTour-context-internal.d.ts +0 -6
  453. package/dist/hooks/useTour/useTour-context.d.ts +0 -9
  454. package/dist/hooks/useTour/useTour-types.d.ts +0 -191
  455. package/dist/hooks/useTour/useTour.d.ts +0 -2
  456. package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts +0 -7
  457. package/dist/providers/ai-assistant/ai-assistant-types.d.ts +0 -77
  458. package/dist/providers/ai-assistant/ai-assistant-validator.d.ts +0 -22
  459. package/dist/providers/ai-assistant/ai-chat-panel-types.d.ts +0 -24
  460. package/dist/providers/ai-assistant/ai-chat-panel.d.ts +0 -2
  461. package/dist/providers/shortcut/shortcut-context.d.ts +0 -6
  462. package/dist/providers/shortcut/shortcut-provider.d.ts +0 -34
  463. package/dist/providers/stories/theme-provider.stories.d.ts +0 -6
  464. package/dist/providers/theme/index.d.ts +0 -3
  465. package/dist/providers/theme/theme-provider-types.d.ts +0 -5
  466. package/dist/providers/theme/themeProvider.d.ts +0 -9
  467. package/dist/restio-ui.cjs.js +0 -173
  468. package/dist/types/global-types.d.ts +0 -46
  469. package/dist/types/storybook-types.d.ts +0 -1
  470. package/dist/utility-components/avatar/avatar-types.d.ts +0 -15
  471. package/dist/utility-components/avatar/avatar.d.ts +0 -4
  472. package/dist/utility-components/avatar/avatar.stories.d.ts +0 -8
  473. package/dist/utility-components/chip/chip-types.d.ts +0 -16
  474. package/dist/utility-components/chip/chip.d.ts +0 -3
  475. package/dist/utility-components/chip/chip.stories.d.ts +0 -10
  476. package/dist/utility-components/helper-text/helper-text-types.d.ts +0 -19
  477. package/dist/utility-components/helper-text/helper-text.d.ts +0 -2
  478. package/dist/utility-components/helper-text/helper-text.stories.d.ts +0 -10
  479. package/dist/utility-components/helper-text/helper-text.test.d.ts +0 -1
  480. package/dist/utility-components/icon/icon-assets.d.ts +0 -1
  481. package/dist/utility-components/icon/icon-types.d.ts +0 -23
  482. package/dist/utility-components/icon/icon.d.ts +0 -3
  483. package/dist/utility-components/icon/stories/icon.stories.d.ts +0 -10
  484. package/dist/utility-components/label/label-types.d.ts +0 -18
  485. package/dist/utility-components/label/label.d.ts +0 -2
  486. package/dist/utility-components/label/label.test.d.ts +0 -1
  487. package/dist/utility-components/overlay-panel/overlay-panel-footer/overlay-panel-footer-types.d.ts +0 -6
  488. package/dist/utility-components/overlay-panel/overlay-panel-footer/overlay-panel-footer.d.ts +0 -4
  489. package/dist/utility-components/overlay-panel/overlay-panel-header/overlay-panel-header-types.d.ts +0 -12
  490. package/dist/utility-components/overlay-panel/overlay-panel-header/overlay-panel-header.d.ts +0 -4
  491. package/dist/utility-components/overlay-panel/overlay-panel-types.d.ts +0 -65
  492. package/dist/utility-components/overlay-panel/overlay-panel.d.ts +0 -3
  493. package/dist/utility-components/overlay-panel/overlay-panel.stories.d.ts +0 -13
  494. package/dist/utility-components/overlay-panel/use-focus-trap.d.ts +0 -7
  495. package/dist/utility-components/skeleton/skeleton-types.d.ts +0 -6
  496. package/dist/utility-components/skeleton/skeleton.d.ts +0 -3
  497. package/dist/utility-components/skeleton/stories/skeleton.stories.d.ts +0 -9
  498. package/dist/utility-components/stack/stack-types.d.ts +0 -10
  499. package/dist/utility-components/stack/stack.d.ts +0 -7
  500. package/dist/utility-components/stack/stack.stories.d.ts +0 -4
  501. package/dist/utility-components/toast/toast-types.d.ts +0 -8
  502. package/dist/utility-components/toast/toast.d.ts +0 -4
  503. package/dist/utility-components/toast/toast.stories.d.ts +0 -8
  504. package/dist/utils/general.d.ts +0 -8
  505. package/dist/utils/shortcut-utils.d.ts +0 -43
  506. package/dist/vitest.setup.d.ts +0 -0
@@ -1,54 +0,0 @@
1
- import { RefObject } from 'react';
2
- import { Size } from '../../types/global-types';
3
- export interface TextareaProps {
4
- /**
5
- * Value of the textarea field
6
- */
7
- value: string;
8
- /**
9
- * Leading icon to display before the textarea
10
- */
11
- leadingIcon?: string;
12
- /**
13
- * Trailing icon to display after the textarea
14
- */
15
- trailingIcon?: string;
16
- /**
17
- * Placeholder text for the textarea
18
- */
19
- placeholder?: string;
20
- /**
21
- * ARIA label for the textarea
22
- */
23
- ariaLabel?: string;
24
- /**
25
- * Callback triggered when the textarea value changes
26
- * @param value - The current value of the textarea
27
- */
28
- onChange?: (value: string) => void;
29
- onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
30
- /**
31
- * Label for the field
32
- */
33
- label?: string;
34
- /**
35
- * Helper text displayed below the field
36
- */
37
- helperText?: string;
38
- /**
39
- * Ref for the textarea element
40
- */
41
- ref?: RefObject<HTMLTextAreaElement | null>;
42
- /**
43
- * Disabled state
44
- */
45
- disabled?: boolean;
46
- /**
47
- * Size of the textarea
48
- */
49
- size?: Size;
50
- /**
51
- * Number of rows (default 3)
52
- */
53
- rows?: number;
54
- }
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { TextareaProps } from './textarea-types';
3
- export declare const Textarea: React.FC<TextareaProps>;
@@ -1,25 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Textarea } from './textarea';
3
- declare const meta: Meta<typeof Textarea>;
4
- export default meta;
5
- type Story = StoryObj<typeof Textarea>;
6
- /**
7
- * Default textarea
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * With label and helper text
12
- */
13
- export declare const WithLabelAndHelper: Story;
14
- /**
15
- * With leading and trailing icons
16
- */
17
- export declare const WithIcons: Story;
18
- /**
19
- * Different sizes
20
- */
21
- export declare const Sizes: Story;
22
- /**
23
- * Disabled state
24
- */
25
- export declare const Disabled: Story;
@@ -1,5 +0,0 @@
1
- import { ToastProps } from '../../utility-components/toast/toast-types';
2
- export interface ToastGroupProps {
3
- toasts: ToastProps[];
4
- onRemove: (id: string) => void;
5
- }
@@ -1,4 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ToastGroupProps } from './toast-group-types';
3
- declare const ToastGroup: React.FC<ToastGroupProps>;
4
- export default ToastGroup;
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { default as ToastGroup } from './toast-group';
3
- declare const meta: Meta<typeof ToastGroup>;
4
- export default meta;
5
- type Story = StoryObj<typeof ToastGroup>;
6
- export declare const Default: Story;
@@ -1,58 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface BaseTypographyProps {
3
- /**
4
- * Prefer children when rendering rich/nested content
5
- */
6
- children?: React.ReactNode;
7
- variant: TypographyVariant;
8
- /**
9
- * Flag to indicate if the component is disabled.
10
- * @optional
11
- */
12
- disabled?: boolean;
13
- /**
14
- * Optional color string i can pass to the text
15
- * @optional
16
- */
17
- color?: string;
18
- /**
19
- * Font weight applied to the text.
20
- * @optional
21
- */
22
- fontWeight?: string | number;
23
- /**
24
- * Font style applied to the text.
25
- * @optional
26
- */
27
- fontStyle?: string;
28
- /**
29
- * Text decoration applied to the text.
30
- * @optional
31
- */
32
- textDecoration?: string;
33
- }
34
- export type TypographyProps<T extends TypographyVariant> = BaseTypographyProps & {
35
- variant: T;
36
- } & React.ComponentPropsWithoutRef<VariantToElement<T>>;
37
- export type TypographyVariant = "display" | "heading" | "body" | "label" | "code" | "subtitle" | "title" | "caption" | "article-h1" | "article-h2" | "article-h3" | "article-h4" | "article-body" | "article-code" | "article-quote" | "article-caption" | "article-list";
38
- export declare const variantToComponent: {
39
- readonly display: "h1";
40
- readonly heading: "h2";
41
- readonly title: "h3";
42
- readonly subtitle: "h4";
43
- readonly body: "p";
44
- readonly label: "label";
45
- readonly code: "code";
46
- readonly caption: "span";
47
- readonly "article-h1": "h1";
48
- readonly "article-h2": "h2";
49
- readonly "article-h3": "h3";
50
- readonly "article-h4": "h4";
51
- readonly "article-body": "p";
52
- readonly "article-code": "code";
53
- readonly "article-quote": "blockquote";
54
- readonly "article-caption": "figcaption";
55
- readonly "article-list": "li";
56
- };
57
- type VariantToElement<T extends TypographyVariant> = (typeof variantToComponent)[T];
58
- export {};
@@ -1,3 +0,0 @@
1
- import { TypographyProps } from './typography-types';
2
- export declare const Typography: <T extends import('./typography-types').TypographyVariant>({ variant, children, color, disabled, className, fontWeight, fontStyle, textDecoration, ...htmlProps }: TypographyProps<T>) => import("react").JSX.Element;
3
- export default Typography;
@@ -1,10 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { default as Typography } from './typography';
3
- declare const meta: Meta<typeof Typography>;
4
- export default meta;
5
- type Story = StoryObj<typeof Typography>;
6
- export declare const AllVariants: () => import("react").JSX.Element;
7
- export declare const Display: Story;
8
- export declare const BodyText: Story;
9
- export declare const DisabledLabel: Story;
10
- export declare const WithClasses: () => import("react").JSX.Element;
@@ -1,18 +0,0 @@
1
- import { ChatMessage, AIQuickAction } from '../../providers/ai-assistant/ai-assistant-types';
2
- export interface ChatProps {
3
- messages: ChatMessage[];
4
- isProcessing: boolean;
5
- emptyStateText?: string;
6
- inputValue: string;
7
- onInputChange: (value: string) => void;
8
- onKeyDown: (e: React.KeyboardEvent) => void;
9
- onSubmit: (e?: React.FormEvent) => void;
10
- /** Called when the user confirms a pending set of tool calls */
11
- onConfirm?: () => void;
12
- /** Called when the user discards a pending set of tool calls */
13
- onReject?: () => void;
14
- /** Pre-configured action buttons for one-click AI commands */
15
- quickActions?: AIQuickAction[];
16
- /** Called when the user clicks a quick action button */
17
- onQuickAction?: (prompt: string) => void;
18
- }
@@ -1,2 +0,0 @@
1
- import { ChatProps } from './chat-types';
2
- export declare function Chat({ messages, isProcessing, emptyStateText, inputValue, onInputChange, onKeyDown, onSubmit, onConfirm, onReject, quickActions, onQuickAction, }: ChatProps): import("react").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Chat } from './chat';
3
- declare const meta: Meta<typeof Chat>;
4
- export default meta;
5
- type Story = StoryObj<typeof Chat>;
6
- export declare const Empty: Story;
7
- export declare const WithConversation: Story;
@@ -1,8 +0,0 @@
1
- import { ContainerRenderer, ContainerRendererRegistry } from './layout-types';
2
- export declare const containerRenderers: ContainerRendererRegistry;
3
- /**
4
- * Register a renderer for a container type.
5
- * Call this to add support for new containers (Tabs, Accordion, Stepper, etc.)
6
- * without modifying existing code.
7
- */
8
- export declare function registerContainerRenderer(type: string, renderer: ContainerRenderer): void;
@@ -1,43 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export type Breakpoint = 'mobile' | 'tablet' | 'desktop';
3
- export type BlockNode = {
4
- type: 'block';
5
- /** The field/column identifier that the consumer maps to a Cell */
6
- fieldId: string;
7
- };
8
- export type GridChild = {
9
- node: LayoutNode;
10
- col: number;
11
- row: number;
12
- w: number;
13
- h: number;
14
- /** Horizontal alignment of content within the grid cell */
15
- alignX?: 'start' | 'center' | 'end';
16
- /** Vertical alignment of content within the grid cell */
17
- alignY?: 'start' | 'center' | 'end';
18
- };
19
- export type GridContainer = {
20
- type: 'grid';
21
- columns: number;
22
- rows?: number;
23
- gap?: number;
24
- children: GridChild[];
25
- };
26
- export type LayoutNode = BlockNode | GridContainer;
27
- export type ResponsiveLayout = {
28
- [K in Breakpoint]: LayoutNode;
29
- };
30
- export type LayoutProps = {
31
- /** Responsive layout tree */
32
- layout: ResponsiveLayout;
33
- /** Callback that renders a Block node given its fieldId */
34
- renderBlock: (fieldId: string) => ReactNode;
35
- /** Optional CSS class for the layout container */
36
- className?: string;
37
- };
38
- /** Any node that is not a Block (i.e. a container) */
39
- export type ContainerNode = Exclude<LayoutNode, BlockNode>;
40
- /** A renderer function for a specific container type */
41
- export type ContainerRenderer = (node: ContainerNode, renderChild: (n: LayoutNode) => ReactNode) => ReactNode;
42
- /** Registry mapping container type strings to their renderers */
43
- export type ContainerRendererRegistry = Map<string, ContainerRenderer>;
@@ -1,12 +0,0 @@
1
- import { default as React } from 'react';
2
- import { LayoutProps } from './layout-types';
3
- /**
4
- * Responsive layout component that renders a tree of nodes.
5
- *
6
- * Detects the current breakpoint (mobile / tablet / desktop) and renders
7
- * the corresponding tree using a recursive `renderNode` function.
8
- *
9
- * The consumer provides a `renderBlock` callback that maps a `fieldId`
10
- * to a React node (typically a Cell component).
11
- */
12
- export declare const Layout: React.FC<LayoutProps>;
@@ -1,7 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Layout } from './layout';
3
- declare const meta: Meta<typeof Layout>;
4
- export default meta;
5
- type Story = StoryObj<typeof Layout>;
6
- export declare const Responsive: Story;
7
- export declare const TwoFormsResponsive: Story;
@@ -1,4 +0,0 @@
1
- export declare const ZoomableImage: ({ src, alt }: {
2
- readonly src?: string;
3
- readonly alt?: string;
4
- }) => import("react").JSX.Element;
@@ -1,28 +0,0 @@
1
- import { default as Banner } from '../../components/banner/banner';
2
- import { Tag } from '../../components/tag/tag';
3
- export type MDXElementProps = {
4
- children?: React.ReactNode;
5
- className?: string;
6
- };
7
- export type MDXComponents = {
8
- h1: React.FC<MDXElementProps>;
9
- h2: React.FC<MDXElementProps>;
10
- h3: React.FC<MDXElementProps>;
11
- h4: React.FC<MDXElementProps>;
12
- p: React.FC<MDXElementProps>;
13
- code: React.FC<MDXElementProps>;
14
- ol: React.FC<MDXElementProps>;
15
- li: React.FC<MDXElementProps>;
16
- pre: React.FC<MDXElementProps>;
17
- img?: React.FC<React.ImgHTMLAttributes<HTMLImageElement>>;
18
- hr?: React.FC<MDXElementProps>;
19
- blockquote?: React.FC<MDXElementProps>;
20
- ul?: React.FC<MDXElementProps>;
21
- Tag: typeof Tag;
22
- Banner?: typeof Banner;
23
- };
24
- export type MarkdownProps = {
25
- readonly content?: React.ComponentType<{
26
- components?: Partial<MDXComponents>;
27
- }>;
28
- };
@@ -1 +0,0 @@
1
- export declare function slugify(text: string): string;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { MarkdownProps } from './markdown-types';
3
- export declare const Markdown: React.FC<MarkdownProps>;
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Markdown } from './markdown';
3
- declare const meta: Meta<typeof Markdown>;
4
- export default meta;
5
- type Story = StoryObj<typeof Markdown>;
6
- export declare const Default: Story;
@@ -1,2 +0,0 @@
1
- export { MindTree } from './mind-tree';
2
- export type { TreeNode, LayoutNode, MindTreeProps, TreeLayout, ReingoldTilfordConfig, } from './mind-tree-types';
@@ -1,93 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface TreeNode<TData> {
3
- /** Unique identifier for the node */
4
- id: string;
5
- /** Display label for the node */
6
- label: string;
7
- /** Optional data payload */
8
- data?: TData;
9
- /** Child nodes */
10
- children?: TreeNode<TData>[];
11
- /** Whether node is collapsed (children hidden) */
12
- collapsed?: boolean;
13
- }
14
- export interface LayoutNode<TData> extends TreeNode<TData> {
15
- /** X coordinate after layout calculation */
16
- x: number;
17
- /** Y coordinate after layout calculation */
18
- y: number;
19
- /** Layout depth in tree */
20
- depth: number;
21
- /** Parent node reference */
22
- parent?: LayoutNode<TData>;
23
- /** Laid out children */
24
- children?: LayoutNode<TData>[];
25
- /** Preliminary x position during algorithm */
26
- prelim?: number;
27
- /** Modifier value for subtree positioning */
28
- mod?: number;
29
- /** Thread node for contour tracing */
30
- thread?: LayoutNode<TData>;
31
- /** Change value for shifting */
32
- change?: number;
33
- /** Shift value for positioning */
34
- shift?: number;
35
- /** Ancestor node for conflict resolution */
36
- ancestor?: LayoutNode<TData>;
37
- }
38
- export interface MindTreeProps<TData> {
39
- /** Root node of the tree */
40
- data: TreeNode<TData>;
41
- /** Width of the SVG container */
42
- width?: number;
43
- /** Height of the SVG container */
44
- height?: number;
45
- /** Horizontal spacing between nodes */
46
- nodeSpacing?: number;
47
- /** Vertical spacing between levels */
48
- levelSpacing?: number;
49
- /** Node width for layout calculations */
50
- nodeWidth?: number;
51
- /** Node height for layout calculations */
52
- nodeHeight?: number;
53
- /** Enable zoom and pan interactions */
54
- interactive?: boolean;
55
- /** Custom node renderer */
56
- renderNode?: (node: LayoutNode<TData>, isRoot: boolean) => ReactNode;
57
- /** Custom link renderer */
58
- renderLink?: (source: LayoutNode<TData>, target: LayoutNode<TData>) => ReactNode;
59
- /** Callback when node is clicked */
60
- onNodeClick?: (node: LayoutNode<TData>) => void;
61
- /** Callback when node is collapsed/expanded */
62
- onNodeToggle?: (node: LayoutNode<TData>) => void;
63
- /** Animation duration in milliseconds */
64
- animationDuration?: number;
65
- /** Tree orientation */
66
- orientation?: "vertical" | "horizontal";
67
- /** Layout type */
68
- layoutType?: "hierarchical" | "radial";
69
- /** Custom CSS classes */
70
- className?: string;
71
- }
72
- export interface TreeLayout<TData> {
73
- /** All laid out nodes */
74
- nodes: LayoutNode<TData>[];
75
- /** Root node */
76
- root: LayoutNode<TData>;
77
- /** Total width needed */
78
- width: number;
79
- /** Total height needed */
80
- height: number;
81
- }
82
- export interface ReingoldTilfordConfig {
83
- /** Horizontal spacing between sibling nodes */
84
- siblingSpacing: number;
85
- /** Vertical spacing between tree levels */
86
- levelSpacing: number;
87
- /** Width of each node for spacing calculations */
88
- nodeWidth: number;
89
- /** Height of each node for spacing calculations */
90
- nodeHeight: number;
91
- /** Layout type */
92
- layoutType?: "hierarchical" | "radial";
93
- }
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { MindTreeProps } from './mind-tree-types';
3
- export declare function MindTree<TData = unknown>({ data, width, height, nodeSpacing, levelSpacing, nodeWidth, nodeHeight, interactive, renderNode, renderLink, onNodeClick, onNodeToggle, layoutType, className, }: MindTreeProps<TData>): React.JSX.Element | null;
@@ -1,64 +0,0 @@
1
- import { TreeNode, ReingoldTilfordConfig, TreeLayout } from './mind-tree-types';
2
- /**
3
- * Implementation of the Reingold-Tilford "tidy" tree layout algorithm
4
- * Produces aesthetically pleasing tree layouts with minimal edge crossings
5
- */
6
- export declare class ReingoldTilfordLayout<TData> {
7
- private config;
8
- constructor(config: ReingoldTilfordConfig);
9
- /**
10
- * Main entry point - calculates layout for entire tree
11
- */
12
- layout(root: TreeNode<TData>): TreeLayout<TData>;
13
- /**
14
- * Convert TreeNode to LayoutNode with initial values
15
- */
16
- private convertToLayoutNode;
17
- /**
18
- * First walk of the algorithm - calculate preliminary positions
19
- */
20
- private firstWalk;
21
- /**
22
- * Second walk - finalize positions by adding modifiers
23
- */
24
- private secondWalk;
25
- /**
26
- * Apportion - resolve conflicts between subtrees (simplified version)
27
- */
28
- private apportion;
29
- /**
30
- * Get the rightmost descendant at the same level as the given node
31
- */
32
- private getRightmostDescendant;
33
- private isLeftmost;
34
- private getLeftSibling;
35
- private getRightmost;
36
- private getLeftmost;
37
- /**
38
- * Improved positioning algorithm that maintains global layout
39
- */
40
- private calculatePositions;
41
- private collectNodes;
42
- private calculateBounds;
43
- private normalizePositions;
44
- /**
45
- * Calculate positions for radial layout
46
- */
47
- private calculateRadialPositions;
48
- /**
49
- * Position nodes in a radial pattern level by level
50
- */
51
- private positionRadialLevel;
52
- /**
53
- * Get total number of descendants for angle calculations
54
- */
55
- private getTotalDescendants;
56
- /**
57
- * Get size of subtree (number of leaf nodes)
58
- */
59
- private getSubtreeSize;
60
- /**
61
- * Get starting angle based on parent's position
62
- */
63
- private getStartAngle;
64
- }
@@ -1,11 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { MindTree } from '../mind-tree';
3
- declare const meta: Meta<typeof MindTree>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- export declare const ComplexHierarchy: Story;
8
- export declare const ProcessFlow: Story;
9
- export declare const NonInteractive: Story;
10
- export declare const WithCallbacks: Story;
11
- export declare const RadialLayout: Story;
@@ -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;