@restio/ui 0.2.1 → 0.2.2-20261120112131

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (517) hide show
  1. package/README.md +51 -7
  2. package/dist/core.cjs +1 -0
  3. package/dist/core.d.ts +992 -0
  4. package/dist/core.js +36 -0
  5. package/dist/data.cjs +1 -0
  6. package/dist/data.d.ts +1465 -0
  7. package/dist/data.js +24 -0
  8. package/dist/experimental.cjs +2 -0
  9. package/dist/experimental.d.ts +660 -0
  10. package/dist/experimental.js +1365 -0
  11. package/dist/framework.cjs +1 -0
  12. package/dist/framework.d.ts +761 -0
  13. package/dist/framework.js +34 -0
  14. package/dist/index.cjs +1 -0
  15. package/dist/index.d.ts +3282 -151
  16. package/dist/index.js +99 -0
  17. package/dist/src-C-0-H5TG.cjs +159 -0
  18. package/dist/{restio-ui.es.js → src-DzNRRdGD.js} +37175 -36673
  19. package/dist/ui.css +1 -1
  20. package/package.json +65 -43
  21. package/dist/assets/svg/alert.svg +0 -1
  22. package/dist/assets/svg/arrow-down-up.svg +0 -1
  23. package/dist/assets/svg/arrow-down.svg +0 -1
  24. package/dist/assets/svg/arrow-left.svg +0 -1
  25. package/dist/assets/svg/arrow-right.svg +0 -1
  26. package/dist/assets/svg/arrow-up.svg +0 -1
  27. package/dist/assets/svg/arrow_drop_down.svg +0 -1
  28. package/dist/assets/svg/calendar.svg +0 -1
  29. package/dist/assets/svg/chart-area.svg +0 -1
  30. package/dist/assets/svg/chart-bar-stacked.svg +0 -1
  31. package/dist/assets/svg/chart-bar.svg +0 -1
  32. package/dist/assets/svg/chart-candlestick.svg +0 -1
  33. package/dist/assets/svg/chart-gantt.svg +0 -1
  34. package/dist/assets/svg/chart-line.svg +0 -1
  35. package/dist/assets/svg/chart-pie.svg +0 -1
  36. package/dist/assets/svg/chart-sankey.svg +0 -1
  37. package/dist/assets/svg/check.svg +0 -1
  38. package/dist/assets/svg/chevron-down.svg +0 -1
  39. package/dist/assets/svg/chevron-right.svg +0 -1
  40. package/dist/assets/svg/clipboard.svg +0 -1
  41. package/dist/assets/svg/close.svg +0 -1
  42. package/dist/assets/svg/copy.svg +0 -1
  43. package/dist/assets/svg/cursor.svg +0 -1
  44. package/dist/assets/svg/cut.svg +0 -1
  45. package/dist/assets/svg/delete.svg +0 -1
  46. package/dist/assets/svg/discussion.svg +0 -1
  47. package/dist/assets/svg/dock-left-arrow.svg +0 -1
  48. package/dist/assets/svg/dock-right-arrow.svg +0 -1
  49. package/dist/assets/svg/document-outline.svg +0 -1
  50. package/dist/assets/svg/download.svg +0 -1
  51. package/dist/assets/svg/drag.svg +0 -1
  52. package/dist/assets/svg/error.svg +0 -1
  53. package/dist/assets/svg/expand-right.svg +0 -1
  54. package/dist/assets/svg/expand.svg +0 -1
  55. package/dist/assets/svg/eye.svg +0 -1
  56. package/dist/assets/svg/file-plus.svg +0 -1
  57. package/dist/assets/svg/filter.svg +0 -1
  58. package/dist/assets/svg/form.svg +0 -1
  59. package/dist/assets/svg/fullscreen.svg +0 -1
  60. package/dist/assets/svg/gear.svg +0 -1
  61. package/dist/assets/svg/groups.svg +0 -1
  62. package/dist/assets/svg/help.svg +0 -1
  63. package/dist/assets/svg/info.svg +0 -1
  64. package/dist/assets/svg/list.svg +0 -1
  65. package/dist/assets/svg/logo.svg +0 -9
  66. package/dist/assets/svg/menu.svg +0 -1
  67. package/dist/assets/svg/message-bubble-question-mark.svg +0 -1
  68. package/dist/assets/svg/open-center.svg +0 -1
  69. package/dist/assets/svg/open-dialog.svg +0 -29
  70. package/dist/assets/svg/pencil.svg +0 -1
  71. package/dist/assets/svg/pie-chart.svg +0 -1
  72. package/dist/assets/svg/plus.svg +0 -1
  73. package/dist/assets/svg/restio.svg +0 -5
  74. package/dist/assets/svg/search.svg +0 -1
  75. package/dist/assets/svg/send.svg +0 -1
  76. package/dist/assets/svg/shrink-right.svg +0 -1
  77. package/dist/assets/svg/sidebar.svg +0 -1
  78. package/dist/assets/svg/square-half.svg +0 -1
  79. package/dist/assets/svg/table.svg +0 -1
  80. package/dist/assets/svg/terminal.svg +0 -1
  81. package/dist/assets/svg/timer.svg +0 -1
  82. package/dist/assets/svg/transaction.svg +0 -1
  83. package/dist/assets/svg/vertical-expand.svg +0 -1
  84. package/dist/assets/svg/wallet.svg +0 -1
  85. package/dist/assets/svg/warning.svg +0 -1
  86. package/dist/assets/svg/zoom-minus.svg +0 -1
  87. package/dist/assets/svg/zoom-plus.svg +0 -1
  88. package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +0 -22
  89. package/dist/components/anchored-overlay/anchored-overlay.d.ts +0 -4
  90. package/dist/components/anchored-overlay/anchored-overlay.test.d.ts +0 -0
  91. package/dist/components/anchored-overlay/stories/anchored-overlay-example.stories.d.ts +0 -6
  92. package/dist/components/banner/banner-types.d.ts +0 -12
  93. package/dist/components/banner/banner.d.ts +0 -4
  94. package/dist/components/banner/banner.stories.d.ts +0 -11
  95. package/dist/components/button/button-types.d.ts +0 -12
  96. package/dist/components/button/button.d.ts +0 -3
  97. package/dist/components/button/stories/button-example.stories.d.ts +0 -8
  98. package/dist/components/button/stories/button.stories.d.ts +0 -8
  99. package/dist/components/button-dropdown/button-dropdown-types.d.ts +0 -19
  100. package/dist/components/button-dropdown/button-dropdown.d.ts +0 -7
  101. package/dist/components/button-dropdown/button-dropdown.test.d.ts +0 -0
  102. package/dist/components/button-dropdown/stories/button-dropdown.stories.d.ts +0 -10
  103. package/dist/components/button-group/button-group-types.d.ts +0 -15
  104. package/dist/components/button-group/button-group.d.ts +0 -3
  105. package/dist/components/button-group/button-group.stories.d.ts +0 -7
  106. package/dist/components/button-group/button-group.test.d.ts +0 -1
  107. package/dist/components/checkbox/checkbox-types.d.ts +0 -15
  108. package/dist/components/checkbox/checkbox.d.ts +0 -3
  109. package/dist/components/checkbox/checkbox.test.d.ts +0 -0
  110. package/dist/components/checkbox/stories/checkbox-example.stories.d.ts +0 -7
  111. package/dist/components/checkbox/stories/checkbox.stories.d.ts +0 -6
  112. package/dist/components/checkbox-group/checkbox-group-types.d.ts +0 -27
  113. package/dist/components/checkbox-group/checkbox-group.d.ts +0 -7
  114. package/dist/components/checkbox-group/checkbox-group.test.d.ts +0 -0
  115. package/dist/components/checkbox-group/stories/checkbox-group-example.stories.d.ts +0 -6
  116. package/dist/components/checkbox-group/stories/checkbox-group.stories.d.ts +0 -10
  117. package/dist/components/code-block/code-block.d.ts +0 -7
  118. package/dist/components/file-upload/file-upload-types.d.ts +0 -36
  119. package/dist/components/file-upload/file-upload-utils.d.ts +0 -1
  120. package/dist/components/file-upload/file-upload.d.ts +0 -3
  121. package/dist/components/file-upload/file-upload.test.d.ts +0 -1
  122. package/dist/components/file-upload/stories/file-upload.stories.d.ts +0 -8
  123. package/dist/components/input/date/date-calendar.d.ts +0 -3
  124. package/dist/components/input/date/date-input-field.d.ts +0 -8
  125. package/dist/components/input/date/date-picker.d.ts +0 -7
  126. package/dist/components/input/date/date-range-input-field.d.ts +0 -8
  127. package/dist/components/input/date/date-range-picker.d.ts +0 -8
  128. package/dist/components/input/date/date-shortcuts.d.ts +0 -3
  129. package/dist/components/input/date/date-types.d.ts +0 -52
  130. package/dist/components/input/date/date-utils.d.ts +0 -34
  131. package/dist/components/input/date/stories/date.stories.d.ts +0 -5
  132. package/dist/components/input/date/use-digit-input.d.ts +0 -18
  133. package/dist/components/input/input-types.d.ts +0 -27
  134. package/dist/components/input/input.d.ts +0 -3
  135. package/dist/components/input/number/input-number-types.d.ts +0 -7
  136. package/dist/components/input/number/input-number.d.ts +0 -3
  137. package/dist/components/input/number/input-number.stories.d.ts +0 -6
  138. package/dist/components/input/text/input-text-types.d.ts +0 -6
  139. package/dist/components/input/text/input-text.d.ts +0 -3
  140. package/dist/components/input/text/stories/input-text.stories.d.ts +0 -9
  141. package/dist/components/kbd/kbd-types.d.ts +0 -6
  142. package/dist/components/kbd/kbd.d.ts +0 -4
  143. package/dist/components/kbd/kbd.stories.d.ts +0 -9
  144. package/dist/components/kbd-group/kbd-group-types.d.ts +0 -14
  145. package/dist/components/kbd-group/kbd-group.d.ts +0 -4
  146. package/dist/components/kbd-group/kbd-group.stories.d.ts +0 -10
  147. package/dist/components/list/list-types.d.ts +0 -37
  148. package/dist/components/list/list-utils.d.ts +0 -46
  149. package/dist/components/list/list.d.ts +0 -2
  150. package/dist/components/list/list.stories.d.ts +0 -12
  151. package/dist/components/list/list.test.d.ts +0 -0
  152. package/dist/components/menu/anchored-navigation-menu.d.ts +0 -18
  153. package/dist/components/menu/menu-assets.d.ts +0 -2
  154. package/dist/components/menu/menu-types.d.ts +0 -21
  155. package/dist/components/menu/menu.d.ts +0 -8
  156. package/dist/components/menu/stories/anchored-navigation-menu.stories.d.ts +0 -7
  157. package/dist/components/otp/otp-types.d.ts +0 -29
  158. package/dist/components/otp/otp-utils.d.ts +0 -14
  159. package/dist/components/otp/otp.d.ts +0 -3
  160. package/dist/components/otp/otp.stories.d.ts +0 -145
  161. package/dist/components/progress-bar/progress-bar-types.d.ts +0 -25
  162. package/dist/components/progress-bar/progress-bar.d.ts +0 -6
  163. package/dist/components/progress-bar/progress-bar.test.d.ts +0 -1
  164. package/dist/components/progress-bar/stories/progress-bar-example.stories.d.ts +0 -8
  165. package/dist/components/progress-bar/stories/progress-bar.stories.d.ts +0 -10
  166. package/dist/components/radio/radio-types.d.ts +0 -13
  167. package/dist/components/radio/radio.d.ts +0 -7
  168. package/dist/components/radio/radio.test.d.ts +0 -0
  169. package/dist/components/radio/stories/radio-example.stories.d.ts +0 -7
  170. package/dist/components/radio/stories/radio.stories.d.ts +0 -6
  171. package/dist/components/radio-group/radio-group-types.d.ts +0 -29
  172. package/dist/components/radio-group/radio-group.d.ts +0 -7
  173. package/dist/components/radio-group/radio-group.test.d.ts +0 -0
  174. package/dist/components/radio-group/stories/radio-group-example.stories.d.ts +0 -6
  175. package/dist/components/radio-group/stories/radio-group.stories.d.ts +0 -10
  176. package/dist/components/select/select-switch.d.ts +0 -26
  177. package/dist/components/select/select-types.d.ts +0 -35
  178. package/dist/components/select/select.d.ts +0 -4
  179. package/dist/components/select/select.stories.d.ts +0 -20
  180. package/dist/components/select/select.test.d.ts +0 -0
  181. package/dist/components/select/templates/grid-template.d.ts +0 -7
  182. package/dist/components/select/templates/list-template.d.ts +0 -7
  183. package/dist/components/select/templates/preview-dialog-template.d.ts +0 -9
  184. package/dist/components/select/templates/select-template-types.d.ts +0 -12
  185. package/dist/components/selection-grid/selection-grid-types.d.ts +0 -19
  186. package/dist/components/selection-grid/selection-grid.d.ts +0 -7
  187. package/dist/components/selection-grid/stories/selection-grid-example.stories.d.ts +0 -7
  188. package/dist/components/selection-grid/stories/selection-grid.stories.d.ts +0 -10
  189. package/dist/components/tag/tag-types.d.ts +0 -9
  190. package/dist/components/tag/tag.d.ts +0 -3
  191. package/dist/components/tag/tag.stories.d.ts +0 -12
  192. package/dist/components/textarea/textarea-types.d.ts +0 -54
  193. package/dist/components/textarea/textarea.d.ts +0 -3
  194. package/dist/components/textarea/textarea.stories.d.ts +0 -25
  195. package/dist/components/toast-group/toast-group-types.d.ts +0 -5
  196. package/dist/components/toast-group/toast-group.d.ts +0 -4
  197. package/dist/components/toast-group/toast-group.stories.d.ts +0 -6
  198. package/dist/components/typography/typography-types.d.ts +0 -58
  199. package/dist/components/typography/typography.d.ts +0 -3
  200. package/dist/components/typography/typography.stories.d.ts +0 -10
  201. package/dist/custom-components/chat/chat-types.d.ts +0 -18
  202. package/dist/custom-components/chat/chat.d.ts +0 -2
  203. package/dist/custom-components/chat/chat.stories.d.ts +0 -7
  204. package/dist/custom-components/layout/layout-renderers.d.ts +0 -8
  205. package/dist/custom-components/layout/layout-types.d.ts +0 -53
  206. package/dist/custom-components/layout/layout-utils.d.ts +0 -3
  207. package/dist/custom-components/layout/layout-utils.test.d.ts +0 -1
  208. package/dist/custom-components/layout/layout.d.ts +0 -7
  209. package/dist/custom-components/layout/layout.stories.d.ts +0 -7
  210. package/dist/custom-components/layout/layout.test.d.ts +0 -1
  211. package/dist/custom-components/markdown/components/img/zoomable-image.d.ts +0 -4
  212. package/dist/custom-components/markdown/markdown-types.d.ts +0 -28
  213. package/dist/custom-components/markdown/markdown-utils.d.ts +0 -1
  214. package/dist/custom-components/markdown/markdown.d.ts +0 -3
  215. package/dist/custom-components/markdown/markdown.stories.d.ts +0 -6
  216. package/dist/custom-components/mindmap/index.d.ts +0 -2
  217. package/dist/custom-components/mindmap/mind-tree-types.d.ts +0 -93
  218. package/dist/custom-components/mindmap/mind-tree.d.ts +0 -3
  219. package/dist/custom-components/mindmap/reingold-tilford-algorithm.d.ts +0 -64
  220. package/dist/custom-components/mindmap/stories/mind-tree.stories.d.ts +0 -11
  221. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.d.ts +0 -59
  222. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.d.ts +0 -17
  223. package/dist/custom-components/shortcut-tooltip/stories/shortcut-tooltip.stories.d.ts +0 -10
  224. package/dist/custom-components/timeline/skeleton/timeline-skeleton.d.ts +0 -6
  225. package/dist/custom-components/timeline/timeline-types.d.ts +0 -45
  226. package/dist/custom-components/timeline/timeline.d.ts +0 -19
  227. package/dist/custom-components/timeline/timeline.stories.d.ts +0 -8
  228. package/dist/custom-components/workflow/layout/workflow-edge.d.ts +0 -3
  229. package/dist/custom-components/workflow/layout/workflow-layout-types.d.ts +0 -73
  230. package/dist/custom-components/workflow/layout/workflow-layout.d.ts +0 -37
  231. package/dist/custom-components/workflow/node/workflow-node.d.ts +0 -3
  232. package/dist/custom-components/workflow/panel/workflow-panel-types.d.ts +0 -17
  233. package/dist/custom-components/workflow/panel/workflow-panel.d.ts +0 -3
  234. package/dist/custom-components/workflow/stories/workflow-overlay.stories.d.ts +0 -7
  235. package/dist/custom-components/workflow/stories/workflow-toolbar.stories.d.ts +0 -6
  236. package/dist/custom-components/workflow/stories/workflow.stories.d.ts +0 -7
  237. package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.d.ts +0 -23
  238. package/dist/custom-components/workflow/toolbar/workflow-toolbar.d.ts +0 -3
  239. package/dist/custom-components/workflow/utils/workflow-validation.d.ts +0 -47
  240. package/dist/custom-components/workflow/workflow-types.d.ts +0 -203
  241. package/dist/custom-components/workflow/workflow.d.ts +0 -6
  242. package/dist/data-components/assets/cell-types-asset.d.ts +0 -38
  243. package/dist/data-components/assets/data-components-asset.d.ts +0 -13
  244. package/dist/data-components/assets/finance-asset.d.ts +0 -15
  245. package/dist/data-components/calendar/calendar-types.d.ts +0 -30
  246. package/dist/data-components/calendar/calendar-utils.d.ts +0 -5
  247. package/dist/data-components/calendar/calendar.d.ts +0 -4
  248. package/dist/data-components/calendar/stories/calendar.stories.d.ts +0 -22
  249. package/dist/data-components/card/card-types.d.ts +0 -20
  250. package/dist/data-components/card/card.d.ts +0 -10
  251. package/dist/data-components/card/stories/card.stories.d.ts +0 -13
  252. package/dist/data-components/card-list/card-list-types.d.ts +0 -21
  253. package/dist/data-components/card-list/card-list.d.ts +0 -9
  254. package/dist/data-components/card-list/models/ecommerce.d.ts +0 -12
  255. package/dist/data-components/card-list/stories/card-list.stories.d.ts +0 -29
  256. package/dist/data-components/cell/cell-registry.d.ts +0 -28
  257. package/dist/data-components/cell/cell-types.d.ts +0 -39
  258. package/dist/data-components/cell/cell-utils.d.ts +0 -21
  259. package/dist/data-components/cell/cell.d.ts +0 -2
  260. package/dist/data-components/cell/colors-editor/colors-editor-types.d.ts +0 -15
  261. package/dist/data-components/cell/colors-editor/colors-editor.d.ts +0 -7
  262. package/dist/data-components/cell/stories/cell-all-examples.stories.d.ts +0 -13
  263. package/dist/data-components/cell/test/cell-utils.test.d.ts +0 -1
  264. package/dist/data-components/cell/test/cell.test.d.ts +0 -0
  265. package/dist/data-components/chart/chart-series-edit/chart-series-edit-types.d.ts +0 -22
  266. package/dist/data-components/chart/chart-series-edit/chart-series-edit.d.ts +0 -9
  267. package/dist/data-components/chart/chart-tooltip/chart-tooltip-types.d.ts +0 -13
  268. package/dist/data-components/chart/chart-tooltip/chart-tooltip.d.ts +0 -6
  269. package/dist/data-components/chart/chart-types.d.ts +0 -106
  270. package/dist/data-components/chart/chart-utils.d.ts +0 -27
  271. package/dist/data-components/chart/chart.d.ts +0 -4
  272. package/dist/data-components/chart/chart.stories.d.ts +0 -15
  273. package/dist/data-components/chart/geo/geoChart.d.ts +0 -10
  274. package/dist/data-components/chart/sankey/sankeyChart.d.ts +0 -37
  275. package/dist/data-components/data-component-configurator/data-component-configurator-types.d.ts +0 -35
  276. package/dist/data-components/data-component-configurator/data-component-configurator.d.ts +0 -17
  277. package/dist/data-components/data-component-types.d.ts +0 -10
  278. package/dist/data-components/data-component-utils.d.ts +0 -27
  279. package/dist/data-components/data-structure/data-structure.d.ts +0 -50
  280. package/dist/data-components/data-structure/stories-assets.d.ts +0 -86
  281. package/dist/data-components/filter/filter-engine.d.ts +0 -14
  282. package/dist/data-components/filter/filter-types.d.ts +0 -40
  283. package/dist/data-components/filter/filter-utils.d.ts +0 -43
  284. package/dist/data-components/form/form-types.d.ts +0 -67
  285. package/dist/data-components/form/form.d.ts +0 -3
  286. package/dist/data-components/form/form.test.d.ts +0 -0
  287. package/dist/data-components/form/stories/form-advanced-cells.stories.d.ts +0 -15
  288. package/dist/data-components/form/stories/form-complex.stories.d.ts +0 -7
  289. package/dist/data-components/form/stories/form-dynamic.stories.d.ts +0 -20
  290. package/dist/data-components/form/stories/form-validation-examples.stories.d.ts +0 -7
  291. package/dist/data-components/form/stories/form.stories.d.ts +0 -17
  292. package/dist/data-components/gantt/ai-assistant/gantt-ai-executor.d.ts +0 -8
  293. package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts +0 -11
  294. package/dist/data-components/gantt/ai-assistant/gantt-ai-schema.d.ts +0 -6
  295. package/dist/data-components/gantt/ai-assistant/gantt-ai-tools.d.ts +0 -2
  296. package/dist/data-components/gantt/arrows/gantt-arrows.d.ts +0 -20
  297. package/dist/data-components/gantt/gantt-context.d.ts +0 -12
  298. package/dist/data-components/gantt/gantt-types.d.ts +0 -101
  299. package/dist/data-components/gantt/gantt-utils.d.ts +0 -60
  300. package/dist/data-components/gantt/gantt.d.ts +0 -3
  301. package/dist/data-components/gantt/hooks/useGanttDrag.d.ts +0 -14
  302. package/dist/data-components/gantt/hooks/useGanttTimeline.d.ts +0 -17
  303. package/dist/data-components/gantt/sidebar/gantt-sidebar-types.d.ts +0 -9
  304. package/dist/data-components/gantt/sidebar/gantt-sidebar.d.ts +0 -2
  305. package/dist/data-components/gantt/stories/gantt-stories-utils.d.ts +0 -12
  306. package/dist/data-components/gantt/stories/gantt.stories.d.ts +0 -20
  307. package/dist/data-components/kpi/kpi-types.d.ts +0 -17
  308. package/dist/data-components/kpi/kpi.d.ts +0 -5
  309. package/dist/data-components/layout/card-layout-presets.d.ts +0 -12
  310. package/dist/data-components/layout/finance/finance-layouts.d.ts +0 -18
  311. package/dist/data-components/layout/finance/kpi-layout-presets.d.ts +0 -35
  312. package/dist/data-components/layout/finance/stories/finance-card-list.stories.d.ts +0 -16
  313. package/dist/data-components/switcher/prop-form/prop-form-adapter.d.ts +0 -9
  314. package/dist/data-components/switcher/prop-form/prop-form-types.d.ts +0 -16
  315. package/dist/data-components/switcher/prop-form/prop-form.d.ts +0 -6
  316. package/dist/data-components/switcher/prop-schema/prop-schema-types.d.ts +0 -58
  317. package/dist/data-components/switcher/prop-schema/prop-schema-utils.d.ts +0 -14
  318. package/dist/data-components/switcher/prop-schema/prop-schema.d.ts +0 -43
  319. package/dist/data-components/switcher/switcher-types.d.ts +0 -59
  320. package/dist/data-components/switcher/switcher.d.ts +0 -12
  321. package/dist/data-components/switcher/switcher.stories.d.ts +0 -7
  322. package/dist/data-components/table-grid/aggregation/aggregation-utils.d.ts +0 -8
  323. package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts +0 -8
  324. package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.d.ts +0 -12
  325. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts +0 -13
  326. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts +0 -2
  327. package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.d.ts +0 -3
  328. package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts +0 -5
  329. package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts +0 -93
  330. package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts +0 -4
  331. package/dist/data-components/table-grid/ai-assistant/table-grid-ai.stories.d.ts +0 -9
  332. package/dist/data-components/table-grid/editability/table-grid-editability.stories.d.ts +0 -7
  333. package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.d.ts +0 -6
  334. package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.d.ts +0 -8
  335. package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.d.ts +0 -5
  336. package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.d.ts +0 -5
  337. package/dist/data-components/table-grid/external-functionalities/import/csv/index.d.ts +0 -6
  338. package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts +0 -5
  339. package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.d.ts +0 -6
  340. package/dist/data-components/table-grid/external-functionalities/import/table-grid-import.stories.d.ts +0 -6
  341. package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts +0 -4
  342. package/dist/data-components/table-grid/footer/table-grid-footer.d.ts +0 -2
  343. package/dist/data-components/table-grid/formula/evaluator.d.ts +0 -10
  344. package/dist/data-components/table-grid/formula/formula-builder-types.d.ts +0 -7
  345. package/dist/data-components/table-grid/formula/formula-builder.d.ts +0 -2
  346. package/dist/data-components/table-grid/formula/formula.test.d.ts +0 -1
  347. package/dist/data-components/table-grid/formula/index.d.ts +0 -11
  348. package/dist/data-components/table-grid/formula/parser.d.ts +0 -23
  349. package/dist/data-components/table-grid/formula/table-grid-formula.stories.d.ts +0 -9
  350. package/dist/data-components/table-grid/formula/tokenizer.d.ts +0 -15
  351. package/dist/data-components/table-grid/formula/types.d.ts +0 -38
  352. package/dist/data-components/table-grid/grouping/grouping.d.ts +0 -14
  353. package/dist/data-components/table-grid/grouping/table-grid-grouping.stories.d.ts +0 -7
  354. package/dist/data-components/table-grid/header/grouping/group-panel-types.d.ts +0 -6
  355. package/dist/data-components/table-grid/header/grouping/group-panel.d.ts +0 -3
  356. package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts +0 -9
  357. package/dist/data-components/table-grid/header/table-grid-header-types.d.ts +0 -5
  358. package/dist/data-components/table-grid/header/table-grid-header.d.ts +0 -3
  359. package/dist/data-components/table-grid/hooks/use-table.d.ts +0 -2
  360. package/dist/data-components/table-grid/pinning/pinning-utils.d.ts +0 -20
  361. package/dist/data-components/table-grid/pinning/table-grid-pinning.stories.d.ts +0 -17
  362. package/dist/data-components/table-grid/pivot/pivot-config-panel-types.d.ts +0 -16
  363. package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts +0 -3
  364. package/dist/data-components/table-grid/pivot/pivot-table.d.ts +0 -7
  365. package/dist/data-components/table-grid/pivot/pivot-types.d.ts +0 -52
  366. package/dist/data-components/table-grid/pivot/pivot-utils.d.ts +0 -13
  367. package/dist/data-components/table-grid/pivot/table-grid-pivot.stories.d.ts +0 -15
  368. package/dist/data-components/table-grid/row/table-grid-row-types.d.ts +0 -10
  369. package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts +0 -13
  370. package/dist/data-components/table-grid/row/table-grid-row.d.ts +0 -2
  371. package/dist/data-components/table-grid/selection/selection-types.d.ts +0 -2
  372. package/dist/data-components/table-grid/selection/selection-utils.d.ts +0 -48
  373. package/dist/data-components/table-grid/selection/table-grid-selection.stories.d.ts +0 -9
  374. package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts +0 -27
  375. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts +0 -2
  376. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.stories.d.ts +0 -10
  377. package/dist/data-components/table-grid/sorting/sorting.d.ts +0 -7
  378. package/dist/data-components/table-grid/sorting/table-grid-sorting-groups.stories.d.ts +0 -5
  379. package/dist/data-components/table-grid/sorting/table-grid-sorting.stories.d.ts +0 -6
  380. package/dist/data-components/table-grid/stories/table-grid-columns.stories.d.ts +0 -8
  381. package/dist/data-components/table-grid/stories/table-grid-states.stories.d.ts +0 -8
  382. package/dist/data-components/table-grid/table-context/table-context-types.d.ts +0 -16
  383. package/dist/data-components/table-grid/table-context/table-context.d.ts +0 -2
  384. package/dist/data-components/table-grid/table-grid-context.d.ts +0 -3
  385. package/dist/data-components/table-grid/table-grid-features.stories.d.ts +0 -11
  386. package/dist/data-components/table-grid/table-grid-panels.d.ts +0 -21
  387. package/dist/data-components/table-grid/table-grid-types.d.ts +0 -246
  388. package/dist/data-components/table-grid/table-grid.d.ts +0 -10
  389. package/dist/data-components/table-grid/table-grid.stories.d.ts +0 -14
  390. package/dist/data-components/table-grid/table-utils.d.ts +0 -17
  391. package/dist/data-components/ui-layer/ui-layer-types.d.ts +0 -81
  392. package/dist/data-components/ui-layer/ui-layer-utils.d.ts +0 -12
  393. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.d.ts +0 -14
  394. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.d.ts +0 -11
  395. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.d.ts +0 -3
  396. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.stories.d.ts +0 -9
  397. package/dist/experimental-components/dashboard-builder/builder-canvas-hooks.d.ts +0 -46
  398. package/dist/experimental-components/dashboard-builder/builder-canvas.d.ts +0 -33
  399. package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts +0 -23
  400. package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts +0 -173
  401. package/dist/experimental-components/dashboard-builder/dashboard-builder-utils.d.ts +0 -37
  402. package/dist/experimental-components/dashboard-builder/dashboard-builder.d.ts +0 -13
  403. package/dist/experimental-components/dashboard-builder/dashboard-builder.stories.d.ts +0 -8
  404. package/dist/experimental-components/dashboard-builder/widget-configurator.d.ts +0 -25
  405. package/dist/experimental-components/dashboard-builder/widget-palette.d.ts +0 -19
  406. package/dist/experimental-components/filter-builder/filter-builder-types.d.ts +0 -11
  407. package/dist/experimental-components/filter-builder/filter-builder.d.ts +0 -11
  408. package/dist/experimental-components/filter-builder/filter-builder.stories.d.ts +0 -15
  409. package/dist/framework-components/appbar/appbar-assets.d.ts +0 -1
  410. package/dist/framework-components/appbar/appbar-types.d.ts +0 -18
  411. package/dist/framework-components/appbar/appbar.d.ts +0 -8
  412. package/dist/framework-components/appbar/appbar.stories.d.ts +0 -6
  413. package/dist/framework-components/blank-slate/blank-slate-types.d.ts +0 -31
  414. package/dist/framework-components/blank-slate/blank-slate.d.ts +0 -10
  415. package/dist/framework-components/blank-slate/blank-slate.stories.d.ts +0 -9
  416. package/dist/framework-components/breadcrumbs/breadcrumbs-types.d.ts +0 -13
  417. package/dist/framework-components/breadcrumbs/breadcrumbs.d.ts +0 -3
  418. package/dist/framework-components/breadcrumbs/breadcrumbs.stories.d.ts +0 -7
  419. package/dist/framework-components/dashboard/dashboard-context.d.ts +0 -11
  420. package/dist/framework-components/dashboard/dashboard-real-world.stories.d.ts +0 -6
  421. package/dist/framework-components/dashboard/dashboard-types.d.ts +0 -47
  422. package/dist/framework-components/dashboard/dashboard-widget-actions.d.ts +0 -0
  423. package/dist/framework-components/dashboard/dashboard-widget-types.d.ts +0 -85
  424. package/dist/framework-components/dashboard/dashboard-widget.d.ts +0 -17
  425. package/dist/framework-components/dashboard/dashboard.d.ts +0 -15
  426. package/dist/framework-components/dashboard/dashboard.stories.d.ts +0 -7
  427. package/dist/framework-components/dashboard/data-engine/aggregation-engine.d.ts +0 -10
  428. package/dist/framework-components/dashboard/data-engine/data-engine-client.d.ts +0 -46
  429. package/dist/framework-components/dashboard/data-engine/data-engine-types.d.ts +0 -118
  430. package/dist/framework-components/dashboard/data-engine/data-engine.d.ts +0 -86
  431. package/dist/framework-components/dashboard/data-engine/data-engine.test.d.ts +0 -1
  432. package/dist/framework-components/dashboard/data-engine/data-engine.worker.d.ts +0 -1
  433. package/dist/framework-components/dashboard/data-engine/field-inference.d.ts +0 -9
  434. package/dist/framework-components/dashboard/data-engine/filter-adapter.d.ts +0 -11
  435. package/dist/framework-components/dashboard/data-engine/index.d.ts +0 -7
  436. package/dist/framework-components/dashboard/data-engine/join-engine.d.ts +0 -16
  437. package/dist/framework-components/drawer/drawer-types.d.ts +0 -6
  438. package/dist/framework-components/drawer/drawer.d.ts +0 -4
  439. package/dist/framework-components/scaffold/scaffold-context.d.ts +0 -3
  440. package/dist/framework-components/scaffold/scaffold-types.d.ts +0 -17
  441. package/dist/framework-components/scaffold/scaffold.d.ts +0 -6
  442. package/dist/framework-components/scaffold/scaffold.stories.d.ts +0 -7
  443. package/dist/framework-components/scaffold/scaffold.test.d.ts +0 -0
  444. package/dist/framework-components/section/section-types.d.ts +0 -15
  445. package/dist/framework-components/section/section.d.ts +0 -8
  446. package/dist/framework-components/section/section.stories.d.ts +0 -6
  447. package/dist/framework-components/sidebar/sidebar-assets.d.ts +0 -1
  448. package/dist/framework-components/sidebar/sidebar-context.d.ts +0 -3
  449. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.d.ts +0 -5
  450. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.d.ts +0 -2
  451. package/dist/framework-components/sidebar/sidebar-types.d.ts +0 -12
  452. package/dist/framework-components/sidebar/sidebar.d.ts +0 -16
  453. package/dist/framework-components/sidebar/sidebar.stories.d.ts +0 -6
  454. package/dist/framework-components/stepper/stepper-types.d.ts +0 -13
  455. package/dist/framework-components/stepper/stepper.d.ts +0 -8
  456. package/dist/framework-components/stepper/stepper.stories.d.ts +0 -7
  457. package/dist/hooks/useDynamicVirtualList.d.ts +0 -75
  458. package/dist/hooks/useEscapeClose.d.ts +0 -2
  459. package/dist/hooks/useFixedVirtualList.d.ts +0 -34
  460. package/dist/hooks/useOverlayAnimation.d.ts +0 -17
  461. package/dist/hooks/useShortcut.d.ts +0 -19
  462. package/dist/hooks/useTour/stories/useTour.stories.d.ts +0 -24
  463. package/dist/hooks/useTour/useTour-context-internal.d.ts +0 -6
  464. package/dist/hooks/useTour/useTour-context.d.ts +0 -9
  465. package/dist/hooks/useTour/useTour-types.d.ts +0 -191
  466. package/dist/hooks/useTour/useTour.d.ts +0 -2
  467. package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts +0 -7
  468. package/dist/providers/ai-assistant/ai-assistant-types.d.ts +0 -77
  469. package/dist/providers/ai-assistant/ai-assistant-validator.d.ts +0 -22
  470. package/dist/providers/ai-assistant/ai-chat-panel-types.d.ts +0 -24
  471. package/dist/providers/ai-assistant/ai-chat-panel.d.ts +0 -2
  472. package/dist/providers/shortcut/shortcut-context.d.ts +0 -6
  473. package/dist/providers/shortcut/shortcut-provider.d.ts +0 -34
  474. package/dist/providers/stories/theme-provider.stories.d.ts +0 -6
  475. package/dist/providers/theme/index.d.ts +0 -3
  476. package/dist/providers/theme/theme-provider-types.d.ts +0 -5
  477. package/dist/providers/theme/themeProvider.d.ts +0 -9
  478. package/dist/restio-ui.cjs.js +0 -201
  479. package/dist/types/global-types.d.ts +0 -51
  480. package/dist/types/storybook-types.d.ts +0 -1
  481. package/dist/utility-components/avatar/avatar-types.d.ts +0 -15
  482. package/dist/utility-components/avatar/avatar.d.ts +0 -4
  483. package/dist/utility-components/avatar/avatar.stories.d.ts +0 -8
  484. package/dist/utility-components/chip/chip-types.d.ts +0 -16
  485. package/dist/utility-components/chip/chip.d.ts +0 -3
  486. package/dist/utility-components/chip/chip.stories.d.ts +0 -10
  487. package/dist/utility-components/helper-text/helper-text-types.d.ts +0 -19
  488. package/dist/utility-components/helper-text/helper-text.d.ts +0 -2
  489. package/dist/utility-components/helper-text/helper-text.stories.d.ts +0 -10
  490. package/dist/utility-components/helper-text/helper-text.test.d.ts +0 -1
  491. package/dist/utility-components/icon/icon-assets.d.ts +0 -1
  492. package/dist/utility-components/icon/icon-types.d.ts +0 -23
  493. package/dist/utility-components/icon/icon.d.ts +0 -3
  494. package/dist/utility-components/icon/stories/icon.stories.d.ts +0 -10
  495. package/dist/utility-components/label/label-types.d.ts +0 -18
  496. package/dist/utility-components/label/label.d.ts +0 -2
  497. package/dist/utility-components/label/label.test.d.ts +0 -1
  498. package/dist/utility-components/overlay-panel/overlay-panel-footer/overlay-panel-footer-types.d.ts +0 -6
  499. package/dist/utility-components/overlay-panel/overlay-panel-footer/overlay-panel-footer.d.ts +0 -4
  500. package/dist/utility-components/overlay-panel/overlay-panel-header/overlay-panel-header-types.d.ts +0 -12
  501. package/dist/utility-components/overlay-panel/overlay-panel-header/overlay-panel-header.d.ts +0 -4
  502. package/dist/utility-components/overlay-panel/overlay-panel-types.d.ts +0 -65
  503. package/dist/utility-components/overlay-panel/overlay-panel.d.ts +0 -3
  504. package/dist/utility-components/overlay-panel/overlay-panel.stories.d.ts +0 -13
  505. package/dist/utility-components/overlay-panel/use-focus-trap.d.ts +0 -7
  506. package/dist/utility-components/skeleton/skeleton-types.d.ts +0 -6
  507. package/dist/utility-components/skeleton/skeleton.d.ts +0 -3
  508. package/dist/utility-components/skeleton/stories/skeleton.stories.d.ts +0 -9
  509. package/dist/utility-components/stack/stack-types.d.ts +0 -10
  510. package/dist/utility-components/stack/stack.d.ts +0 -7
  511. package/dist/utility-components/stack/stack.stories.d.ts +0 -4
  512. package/dist/utility-components/toast/toast-types.d.ts +0 -8
  513. package/dist/utility-components/toast/toast.d.ts +0 -4
  514. package/dist/utility-components/toast/toast.stories.d.ts +0 -8
  515. package/dist/utils/general.d.ts +0 -8
  516. package/dist/utils/shortcut-utils.d.ts +0 -43
  517. package/dist/vitest.setup.d.ts +0 -0
package/dist/core.d.ts ADDED
@@ -0,0 +1,992 @@
1
+ import * as React$1 from 'react';
2
+ import React__default, { RefObject } from 'react';
3
+
4
+ /**
5
+ * OTP Component Props
6
+ */
7
+ interface OTPProps {
8
+ /**
9
+ * Length of the OTP code (number of input fields)
10
+ * @default 6
11
+ */
12
+ length?: number;
13
+ /**
14
+ * Callback triggered when OTP value changes
15
+ * @param value - The current OTP value
16
+ */
17
+ onChange?: (value: string) => void;
18
+ /**
19
+ * Callback triggered when OTP is completely filled
20
+ * @param value - The complete OTP value
21
+ */
22
+ onComplete?: (value: string) => void;
23
+ /**
24
+ * ARIA label for the OTP container
25
+ * @default 'One-time password input'
26
+ */
27
+ ariaLabel?: string;
28
+ /**
29
+ * Class name for the container
30
+ */
31
+ className?: string;
32
+ }
33
+
34
+ declare const OTPComponent: React__default.FC<OTPProps>;
35
+
36
+ /** Interface for an option in a component */
37
+ interface Option {
38
+ value: string;
39
+ /** Human-readable label shown in the UI; falls back to `value` when omitted. */
40
+ label?: string;
41
+ id?: string;
42
+ leadingVisual?: string;
43
+ imageSrc?: string;
44
+ imageAlt?: string;
45
+ description?: string;
46
+ disabled?: boolean;
47
+ children?: Option[];
48
+ onClick?: (option: Option) => void;
49
+ }
50
+ type ListItemVariant = "default" | "with-image" | "with-description";
51
+ /** Sizing values */
52
+ type Size = "extraSmall" | "small" | "default" | "large" | "extraLarge";
53
+ /** State for component */
54
+ type State = "base" | "success" | "warning" | "danger" | "info" | "idle";
55
+ declare const CellType: {
56
+ readonly SELECT: "SELECT";
57
+ readonly MULTI_SELECT: "MULTI_SELECT";
58
+ readonly BUTTON_GROUP: "BUTTON_GROUP";
59
+ readonly TEXT: "TEXT";
60
+ readonly TEXTAREA: "TEXTAREA";
61
+ readonly PASSWORD: "PASSWORD";
62
+ readonly NUMBER: "NUMBER";
63
+ readonly DATE: "DATE";
64
+ readonly DATE_RANGE: "DATE_RANGE";
65
+ readonly IMAGE: "IMAGE";
66
+ readonly TABLE_GRID: "TABLE_GRID";
67
+ readonly CHART: "CHART";
68
+ readonly CHART_SERIES: "CHART_SERIES";
69
+ readonly PROGRESS: "PROGRESS";
70
+ readonly CHECKBOX_GROUP: "CHECKBOX_GROUP";
71
+ readonly CHECKBOX: "CHECKBOX";
72
+ readonly RADIO_GROUP: "RADIO_GROUP";
73
+ readonly COLORS: "COLORS";
74
+ readonly SPARKLINE: "SPARKLINE";
75
+ readonly BUTTON_DROPDOWN: "BUTTON_DROPDOWN";
76
+ readonly BUTTON: "BUTTON";
77
+ readonly TAG: "TAG";
78
+ };
79
+ type CellType = typeof CellType[keyof typeof CellType];
80
+ /**
81
+ * Alignment options for anchoring elements
82
+ */
83
+ type anchorAlign = 'top' | 'center' | 'bottom';
84
+ type AnchorPosition = 'left' | 'center' | 'right';
85
+ /** Responsive layout breakpoint */
86
+ type Breakpoint = 'mobile' | 'tablet' | 'desktop';
87
+
88
+ interface BannerProps {
89
+ variant?: State | "info";
90
+ action?: string;
91
+ title?: string;
92
+ description?: React.ReactNode;
93
+ dismissable?: boolean;
94
+ /** Optional callback fired when the banner is dismissed */
95
+ onDismiss?: () => void;
96
+ /** Optional label for the link; defaults to "Learn more" */
97
+ linkLabel?: string;
98
+ }
99
+
100
+ declare const Banner: React__default.FC<BannerProps>;
101
+
102
+ type ButtonVariant = "base" | "primary" | "danger" | "invisible" | "link";
103
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
104
+ alignContent?: 'start' | 'center';
105
+ leadingVisual?: string;
106
+ trailingVisual?: string;
107
+ loading?: boolean;
108
+ size?: Size;
109
+ variant?: ButtonVariant;
110
+ disabled?: boolean;
111
+ /** State where interaction and animation are disabled */
112
+ readOnly?: boolean;
113
+ count?: number;
114
+ }
115
+
116
+ declare const Button: React__default.FC<ButtonProps>;
117
+
118
+ interface ButtonGroupProps {
119
+ options: Option[];
120
+ value?: string;
121
+ defaultValue?: string;
122
+ onChange?: (value: string) => void;
123
+ variant?: "base" | "primary" | "secondary";
124
+ size?: Size;
125
+ alignContent?: "center" | "left" | "right";
126
+ disabled?: boolean;
127
+ /**
128
+ * If true, only icons will be displayed in the button group
129
+ */
130
+ readonly iconOnly?: boolean;
131
+ }
132
+
133
+ declare const ButtonGroup: React__default.FC<ButtonGroupProps>;
134
+
135
+ interface ButtonDropdownProps {
136
+ /** Currently selected value */
137
+ value?: string;
138
+ /** Available options */
139
+ options: Option[];
140
+ /** Callback when selection changes */
141
+ onChange?: (value: string) => void;
142
+ /** Button variant */
143
+ variant?: "base" | "primary" | "danger" | "invisible" | "link";
144
+ /** Button size */
145
+ size?: Size;
146
+ /** Placeholder text when no value is selected */
147
+ placeholder?: string;
148
+ /** Whether the dropdown is disabled */
149
+ disabled?: boolean;
150
+ /** Additional CSS class */
151
+ className?: string;
152
+ }
153
+
154
+ /**
155
+ * A button that opens a dropdown menu to select a single value.
156
+ * Flat component — not a form field. Use Select for form contexts.
157
+ */
158
+ declare const ButtonDropdown: React__default.FC<ButtonDropdownProps>;
159
+
160
+ interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange"> {
161
+ /** Whether the checkbox is checked */
162
+ checked?: boolean;
163
+ /** Whether the checkbox is in indeterminate state */
164
+ indeterminate?: boolean;
165
+ /** Size of the checkbox */
166
+ size?: Size;
167
+ /** Whether the checkbox is disabled */
168
+ disabled?: boolean;
169
+ /** Error state for the checkbox */
170
+ error?: boolean;
171
+ /** Callback when the checkbox value changes */
172
+ onChange?: (checked: boolean) => void;
173
+ }
174
+
175
+ declare const Checkbox: React__default.FC<CheckboxProps>;
176
+
177
+ interface CheckboxOption {
178
+ /** Value of the checkbox option */
179
+ value: string;
180
+ /** Label to display next to the checkbox */
181
+ label: string;
182
+ /** Whether this option is disabled */
183
+ disabled?: boolean;
184
+ }
185
+ interface CheckboxGroupProps {
186
+ /** Array of checkbox options */
187
+ options: CheckboxOption[];
188
+ /** Currently selected values */
189
+ value?: string[];
190
+ /** Size of each checkbox */
191
+ size?: Size;
192
+ /** Whether all checkboxes are disabled */
193
+ disabled?: boolean;
194
+ /** Error state for all checkboxes */
195
+ error?: boolean;
196
+ /** Whether the group is read-only (visual only, no interaction) */
197
+ readOnly?: boolean;
198
+ /** Callback when selection changes */
199
+ onChange?: (selectedValues: string[]) => void;
200
+ /** Additional class name */
201
+ className?: string;
202
+ }
203
+
204
+ /**
205
+ * A group of checkboxes that allows multiple selection.
206
+ * Manages the selection state and renders a list of Checkbox components.
207
+ */
208
+ declare const CheckboxGroup: React__default.FC<CheckboxGroupProps>;
209
+
210
+ interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "type"> {
211
+ /** Whether the radio is checked */
212
+ checked?: boolean;
213
+ /** Size of the radio */
214
+ size?: Size;
215
+ /** Whether the radio is disabled */
216
+ disabled?: boolean;
217
+ /** Error state for the radio */
218
+ error?: boolean;
219
+ /** Callback when the radio value changes */
220
+ onChange?: (checked: boolean) => void;
221
+ }
222
+
223
+ /**
224
+ * A styled radio input component.
225
+ * Supports size variants, disabled, and error states.
226
+ */
227
+ declare const Radio: React__default.FC<RadioProps>;
228
+
229
+ interface RadioOption {
230
+ /** Value of the radio option */
231
+ value: string;
232
+ /** Label to display next to the radio */
233
+ label: string;
234
+ /** Whether this option is disabled */
235
+ disabled?: boolean;
236
+ }
237
+ interface RadioGroupProps {
238
+ /** Array of radio options */
239
+ options: RadioOption[];
240
+ /** Currently selected value */
241
+ value?: string;
242
+ /** Name attribute for the radio group (used for HTML radio behavior) */
243
+ name?: string;
244
+ /** Size of each radio */
245
+ size?: Size;
246
+ /** Whether all radios are disabled */
247
+ disabled?: boolean;
248
+ /** Error state for all radios */
249
+ error?: boolean;
250
+ /** Whether the group is read-only (visual only, no interaction) */
251
+ readOnly?: boolean;
252
+ /** Callback when selection changes */
253
+ onChange?: (value: string) => void;
254
+ /** Additional class name */
255
+ className?: string;
256
+ }
257
+
258
+ /**
259
+ * A group of radios that allows single selection.
260
+ * Manages the selection state and renders a list of Radio components.
261
+ */
262
+ declare const RadioGroup: React__default.FC<RadioGroupProps>;
263
+
264
+ interface AnchoredOverlayProps {
265
+ /** The anchor element that triggers the overlay */
266
+ anchor: React__default.ReactNode;
267
+ /** The target element to display as the overlay */
268
+ target: React__default.ReactNode;
269
+ /** Whether the overlay is open/visible */
270
+ isOpen?: boolean;
271
+ /** Callback when the overlay should be closed */
272
+ onClose?: () => void;
273
+ /** The positioning side of the target relative to anchor */
274
+ position?: AnchorPosition;
275
+ /** The alignment of the target relative to anchor */
276
+ align?: anchorAlign;
277
+ /** Additional CSS class for the container */
278
+ className?: string;
279
+ /** Custom anchor name for CSS anchoring (optional, generated if not provided) */
280
+ anchorName?: string;
281
+ /** Duration of open/close animation in ms. */
282
+ animationDuration?: number;
283
+ }
284
+
285
+ declare const AnchoredOverlay: React__default.FC<AnchoredOverlayProps>;
286
+
287
+ /** Props for the OverlayPanel.Footer sub-component. */
288
+ interface OverlayPanelFooterProps {
289
+ /** Footer content — typically action buttons (primary, secondary, etc.). */
290
+ children: React__default.ReactNode;
291
+ }
292
+
293
+ /** Standard footer for OverlayPanel. Compose as a child of OverlayPanel */
294
+ declare const OverlayPanelFooter: React__default.FC<OverlayPanelFooterProps>;
295
+
296
+ /** Props for the OverlayPanel.Header sub-component.*/
297
+ interface OverlayPanelHeaderProps {
298
+ /** Panel title shown on the left. Accepts string or custom node. */
299
+ title: React__default.ReactNode;
300
+ /** Called when the close button is clicked. If omitted, no close button is rendered. */
301
+ onClose?: () => void;
302
+ /** Optional actions (buttons, etc.) rendered before the close button. */
303
+ actions?: React__default.ReactNode;
304
+ /** Whether to show the close button. Defaults to true when onClose is provided. */
305
+ showClose?: boolean;
306
+ }
307
+
308
+ /** Standard header for OverlayPanel. Compose as a child of OverlayPanel */
309
+ declare const OverlayPanelHeader: React__default.FC<OverlayPanelHeaderProps>;
310
+
311
+ /** OverlayPanelPosition defines the possible positions for the OverlayPanel. */
312
+ type OverlayPanelPosition = "center" | "left" | "right" | "top" | "bottom";
313
+ /**
314
+ * Visual and behavioral variant: "modal", "dialog", "sidepanel", "drawer", or
315
+ * "popover" (light, anchored, minimal backdrop).
316
+ */
317
+ type OverlayPanelVariant = "modal" | "dialog" | "sidepanel" | "drawer" | "popover";
318
+ /** Props for the OverlayPanel component.*/
319
+ interface OverlayPanelProps {
320
+ /** Whether the panel is open (visible). */
321
+ open: boolean;
322
+ /** Position of the panel in the viewport. */
323
+ position?: OverlayPanelPosition;
324
+ /** Visual and behavioral variant of the panel. */
325
+ variant?: OverlayPanelVariant;
326
+ /** Custom width for the panel (CSS value or number in px). */
327
+ width?: string | number;
328
+ /** Custom height for the panel (CSS value or number in px). */
329
+ height?: string | number;
330
+ /** Maximum width for the panel. */
331
+ maxWidth?: string | number;
332
+ /** Maximum height for the panel. */
333
+ maxHeight?: string | number;
334
+ /** If true, clicking outside the panel closes it. */
335
+ closeOnClickOutside?: boolean;
336
+ /** If true, pressing Escape closes the panel. */
337
+ closeOnEscape?: boolean;
338
+ /** If true, shows a backdrop behind the panel. When false, users can interact with the background. Defaults to true for modal/dialog/sidepanel/drawer, false for popover. */
339
+ hasBackdrop?: boolean;
340
+ /** If true, prevents body scroll when panel is open. */
341
+ preventBodyScroll?: boolean;
342
+ /** If true, traps focus within the panel when open. */
343
+ trapFocus?: boolean;
344
+ /** If true, restores focus to the trigger element on close. */
345
+ restoreFocus?: boolean;
346
+ /** Duration of open/close animation in ms. */
347
+ animationDuration?: number;
348
+ /** Called when the panel is closed. */
349
+ onClose?: () => void;
350
+ /** Called when the panel is opened. */
351
+ onOpen?: () => void;
352
+ /** Called when the open/close animation completes. */
353
+ onAnimationComplete?: () => void;
354
+ /** Panel content. */
355
+ children: React.ReactNode;
356
+ /** Additional className for the panel container. */
357
+ className?: string;
358
+ /** Accessible label for the panel. */
359
+ "aria-label"?: string;
360
+ /** Accessible labelledby for the panel. */
361
+ "aria-labelledby"?: string;
362
+ /** Accessible describedby for the panel. */
363
+ "aria-describedby"?: string;
364
+ }
365
+ /** OverlayPanelComponent defines the main OverlayPanel component with Header and Footer sub-components. */
366
+ type OverlayPanelComponent = React.FC<OverlayPanelProps> & {
367
+ Header: typeof OverlayPanelHeader;
368
+ Footer: typeof OverlayPanelFooter;
369
+ };
370
+
371
+ declare const OverlayPanel: OverlayPanelComponent;
372
+
373
+ interface KbdProps extends React.HTMLAttributes<HTMLElement> {
374
+ /**
375
+ * The keyboard key or combination to display
376
+ */
377
+ children: string;
378
+ }
379
+
380
+ declare const Kbd: React__default.FC<KbdProps>;
381
+
382
+ interface IconProps {
383
+ /**
384
+ * Icon name for SVG file or URL for image
385
+ */
386
+ src: string;
387
+ /**
388
+ * Manage disabled state
389
+ */
390
+ disabled?: boolean;
391
+ /**
392
+ * Manage disabled state
393
+ */
394
+ state?: State;
395
+ /**
396
+ * Width of the icon
397
+ */
398
+ width?: string;
399
+ /**
400
+ * Height of the icon
401
+ */
402
+ height?: string;
403
+ }
404
+
405
+ declare const Icon: React__default.FC<IconProps>;
406
+
407
+ interface InputProps {
408
+ /** Id of the native input; defaults to the surrounding field id or a generated one. */
409
+ id?: string;
410
+ error?: string;
411
+ disabled?: boolean;
412
+ size?: Size;
413
+ leadingIcon?: string;
414
+ trailingIcon?: string;
415
+ autoFocus?: boolean;
416
+ className?: string;
417
+ children: (props: InputChildProps) => React.ReactNode;
418
+ }
419
+ interface InputChildProps {
420
+ id: string;
421
+ disabled?: boolean;
422
+ /** Accessibility attributes to spread on the native input. */
423
+ a11y: {
424
+ "aria-invalid"?: boolean;
425
+ "aria-describedby"?: string;
426
+ "aria-label"?: string;
427
+ "aria-labelledby"?: string;
428
+ };
429
+ }
430
+ interface sharedInputProps {
431
+ /** Id of the native input, used to pair it with an external `<label htmlFor>`. */
432
+ id?: string;
433
+ /** Accessible name when no visible label is rendered. */
434
+ "aria-label"?: string;
435
+ /** Id of the element that labels the input. */
436
+ "aria-labelledby"?: string;
437
+ autoFocus?: boolean;
438
+ placeholder?: string;
439
+ className?: string;
440
+ error?: string;
441
+ leadingIcon?: string;
442
+ trailingIcon?: string;
443
+ size?: Size;
444
+ disabled?: boolean;
445
+ /** Whether the input is read-only. */
446
+ readOnly?: boolean;
447
+ onBlur?: () => void;
448
+ onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
449
+ }
450
+
451
+ interface NumberInputProps extends sharedInputProps {
452
+ value: number | undefined;
453
+ onChange: (value: number | undefined) => void;
454
+ min?: number;
455
+ max?: number;
456
+ }
457
+
458
+ declare const NumberInput: React__default.FC<NumberInputProps>;
459
+
460
+ declare const Input: React__default.FC<InputProps>;
461
+
462
+ interface TextInputProps extends sharedInputProps {
463
+ value: string | undefined;
464
+ onChange: (value: string | undefined) => void;
465
+ }
466
+
467
+ declare const TextInput: React__default.FC<TextInputProps>;
468
+
469
+ /** Props for `PasswordInput`: a text field that masks its value. */
470
+ interface PasswordInputProps extends sharedInputProps {
471
+ value: string | undefined;
472
+ onChange: (value: string | undefined) => void;
473
+ /** Shows a button that reveals the value while pressed. @default true */
474
+ revealable?: boolean;
475
+ /** Browser autofill hint, e.g. `current-password`, `new-password` or `off`. @default "off" */
476
+ autoComplete?: string;
477
+ }
478
+
479
+ /** Single-line input that masks its value, with an optional button to reveal it. */
480
+ declare const PasswordInput: React__default.FC<PasswordInputProps>;
481
+
482
+ interface SelectTemplateProps {
483
+ options: Option[];
484
+ value: string | string[];
485
+ multiple: boolean;
486
+ onChange: (value: string | string[]) => void;
487
+ onClose: () => void;
488
+ }
489
+
490
+ /** Select template types supported out of the box. */
491
+ type SelectType = "list" | "grid" | "preview-dialog";
492
+ interface SelectBaseProps {
493
+ /** Active value of the select: `string` for single, `string[]` for multiple. */
494
+ value: string | string[];
495
+ /** List of possible options. */
496
+ options: Option[];
497
+ /** Label shown above the field. */
498
+ label?: string;
499
+ /** Helper text shown below the field. */
500
+ helperText?: string;
501
+ /** Disables the select trigger. */
502
+ disabled?: boolean;
503
+ /** Whether the select is read-only. */
504
+ readOnly?: boolean;
505
+ /** Size of the select trigger button. */
506
+ size?: Size;
507
+ /** Enables multiselection. */
508
+ multiple?: boolean;
509
+ /** Called when the selection changes. Receives `string` (single) or `string[]` (multiple). */
510
+ onChange?: (value: string | string[]) => void;
511
+ /** Controlled open state. When provided, the dropdown is controlled externally. */
512
+ open?: boolean;
513
+ /** Notifies open/close changes. Only meaningful when `open` is provided. */
514
+ onOpenChange?: (open: boolean) => void;
515
+ }
516
+ interface SelectProps extends SelectBaseProps {
517
+ /** Accessible name when no visible label is rendered. */
518
+ "aria-label"?: string;
519
+ /** Built-in template kind. Defaults to `"list"` when omitted. */
520
+ type?: SelectType;
521
+ /** Dialog title (`type="preview-dialog"`). */
522
+ title?: string;
523
+ /** Renders the live preview of drafted selections (`type="preview-dialog"`). */
524
+ renderPreview?: (selected: Option[]) => React.ReactNode;
525
+ /** Custom inline dropdown content (replaces built-in templates). */
526
+ renderList?: (props: SelectTemplateProps) => React.ReactNode;
527
+ /** Custom dialog content (opens an OverlayPanel instead of a dropdown). */
528
+ renderDialog?: (props: SelectTemplateProps) => React.ReactNode;
529
+ }
530
+
531
+ declare const Select: React__default.FC<SelectProps>;
532
+
533
+ interface TextareaProps {
534
+ /**
535
+ * Value of the textarea field
536
+ */
537
+ value: string;
538
+ /**
539
+ * Leading icon to display before the textarea
540
+ */
541
+ leadingIcon?: string;
542
+ /**
543
+ * Trailing icon to display after the textarea
544
+ */
545
+ trailingIcon?: string;
546
+ /**
547
+ * Placeholder text for the textarea
548
+ */
549
+ placeholder?: string;
550
+ /**
551
+ * ARIA label for the textarea
552
+ */
553
+ ariaLabel?: string;
554
+ /**
555
+ * Callback triggered when the textarea value changes
556
+ * @param value - The current value of the textarea
557
+ */
558
+ onChange?: (value: string) => void;
559
+ onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
560
+ onBlur?: () => void;
561
+ /**
562
+ * Label for the field
563
+ */
564
+ label?: string;
565
+ /**
566
+ * Helper text displayed below the field
567
+ */
568
+ helperText?: string;
569
+ /**
570
+ * Ref for the textarea element
571
+ */
572
+ ref?: RefObject<HTMLTextAreaElement | null>;
573
+ /**
574
+ * Disabled state
575
+ */
576
+ disabled?: boolean;
577
+ /**
578
+ * Autofocus the textarea on mount
579
+ */
580
+ autoFocus?: boolean;
581
+ /**
582
+ * Error message shown below the field (danger state)
583
+ */
584
+ error?: string;
585
+ /** Size of the textarea */
586
+ size?: Size;
587
+ /** Number of rows (default 3) */
588
+ rows?: number;
589
+ /** Number of cols ( default 1 ) */
590
+ cols?: number;
591
+ }
592
+
593
+ declare const Textarea: React__default.FC<TextareaProps>;
594
+
595
+ interface BaseTypographyProps {
596
+ /**
597
+ * Prefer children when rendering rich/nested content
598
+ */
599
+ children?: React__default.ReactNode;
600
+ variant: TypographyVariant;
601
+ /**
602
+ * Flag to indicate if the component is disabled.
603
+ * @optional
604
+ */
605
+ disabled?: boolean;
606
+ /**
607
+ * Optional color string i can pass to the text
608
+ * @optional
609
+ */
610
+ color?: string;
611
+ /**
612
+ * Font weight applied to the text.
613
+ * @optional
614
+ */
615
+ fontWeight?: string | number;
616
+ /**
617
+ * Font style applied to the text.
618
+ * @optional
619
+ */
620
+ fontStyle?: string;
621
+ /**
622
+ * Text decoration applied to the text.
623
+ * @optional
624
+ */
625
+ textDecoration?: string;
626
+ }
627
+ type TypographyProps<T extends TypographyVariant> = BaseTypographyProps & {
628
+ variant: T;
629
+ } & React__default.ComponentPropsWithoutRef<VariantToElement<T>>;
630
+ 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";
631
+ declare const variantToComponent: {
632
+ readonly display: "h1";
633
+ readonly heading: "h2";
634
+ readonly title: "h3";
635
+ readonly subtitle: "h4";
636
+ readonly body: "p";
637
+ readonly label: "label";
638
+ readonly code: "code";
639
+ readonly caption: "span";
640
+ readonly "article-h1": "h1";
641
+ readonly "article-h2": "h2";
642
+ readonly "article-h3": "h3";
643
+ readonly "article-h4": "h4";
644
+ readonly "article-body": "p";
645
+ readonly "article-code": "code";
646
+ readonly "article-quote": "blockquote";
647
+ readonly "article-caption": "figcaption";
648
+ readonly "article-list": "li";
649
+ };
650
+ type VariantToElement<T extends TypographyVariant> = (typeof variantToComponent)[T];
651
+
652
+ declare const Typography: <T extends TypographyVariant>({ variant, children, color, disabled, className, fontWeight, fontStyle, textDecoration, ...htmlProps }: TypographyProps<T>) => React$1.JSX.Element;
653
+
654
+ type DatePickerMode = "day" | "month" | "quarter" | "year";
655
+ interface DateRange {
656
+ from: Date | undefined;
657
+ to: Date | undefined;
658
+ }
659
+ interface DatePickerProps extends sharedInputProps {
660
+ value: Date | undefined;
661
+ onChange: (value: Date | undefined) => void;
662
+ mode?: DatePickerMode;
663
+ shortcuts?: boolean;
664
+ readOnly?: boolean;
665
+ /** Controlled open state. When provided, the calendar overlay is controlled externally. */
666
+ open?: boolean;
667
+ /** Initial open state for the uncontrolled calendar overlay. */
668
+ defaultOpen?: boolean;
669
+ /** Notifies open/close changes. Only meaningful when `open` is provided. */
670
+ onOpenChange?: (open: boolean) => void;
671
+ }
672
+ interface DateRangePickerProps extends Omit<sharedInputProps, "onKeyDown"> {
673
+ value: DateRange;
674
+ onChange: (value: DateRange) => void;
675
+ mode?: DatePickerMode;
676
+ shortcuts?: boolean;
677
+ readOnly?: boolean;
678
+ /** Controlled open state. When provided, the calendar overlay is controlled externally. */
679
+ open?: boolean;
680
+ /** Initial open state for the uncontrolled calendar overlay. */
681
+ defaultOpen?: boolean;
682
+ /** Notifies open/close changes. Only meaningful when `open` is provided. */
683
+ onOpenChange?: (open: boolean) => void;
684
+ }
685
+
686
+ /**
687
+ * Single-date picker supporting day, month, quarter, and year modes.
688
+ * Renders a styled text input and opens a calendar overlay on focus/click.
689
+ */
690
+ declare const DatePicker: React__default.FC<DatePickerProps>;
691
+
692
+ /**
693
+ * Date range picker supporting day, month, quarter, and year modes.
694
+ * Two calendars select the range: the first click sets the start, the second the end.
695
+ */
696
+ declare const DateRangePicker: React__default.FC<DateRangePickerProps>;
697
+
698
+ interface LabelProps {
699
+ /**
700
+ * The value of the label field
701
+ */
702
+ label: string;
703
+ /**
704
+ * The id for the htmlFor field
705
+ */
706
+ id: string;
707
+ /**
708
+ * Manage disabled state
709
+ */
710
+ disabled?: boolean;
711
+ /**
712
+ * Indicate if the field is required
713
+ */
714
+ required?: boolean;
715
+ }
716
+
717
+ declare const Label: React.FC<LabelProps>;
718
+
719
+ interface StackProps {
720
+ children: React.ReactNode;
721
+ direction?: "row" | "column";
722
+ gap?: Size | "zero";
723
+ align?: React.CSSProperties["alignItems"];
724
+ justify?: React.CSSProperties["justifyContent"];
725
+ wrap?: boolean;
726
+ className?: string;
727
+ }
728
+
729
+ /**
730
+ * Arranges children in a flex row or column with consistent spacing.
731
+ * Uses design-system gap tokens (`--rst-space-*`) instead of inline rem values.
732
+ */
733
+ declare const Stack: React__default.FC<StackProps>;
734
+
735
+ interface MenuItem {
736
+ id?: string;
737
+ label?: string;
738
+ leadingVisual?: string;
739
+ disabled?: boolean;
740
+ children?: MenuItem[];
741
+ onClick?: (item: MenuItem) => void;
742
+ type?: "item" | "separator";
743
+ shortcut?: string[];
744
+ content?: React__default.ReactNode;
745
+ }
746
+ interface MenuProps extends React__default.HTMLAttributes<HTMLDivElement> {
747
+ onItemClick?: (item: MenuItem) => void;
748
+ }
749
+ interface MenuSubmenuProps extends React__default.HTMLAttributes<HTMLDivElement> {
750
+ trigger: React__default.ReactNode;
751
+ position?: AnchorPosition;
752
+ align?: anchorAlign;
753
+ }
754
+
755
+ declare const Menu: React__default.FC<MenuProps> & {
756
+ Item: React__default.FC<MenuItem>;
757
+ Separator: React__default.FC<React__default.HTMLAttributes<HTMLHRElement>>;
758
+ Submenu: React__default.FC<MenuSubmenuProps>;
759
+ };
760
+
761
+ interface SelectionGridProps {
762
+ /** Array of selectable options */
763
+ options: Option[];
764
+ /** Currently selected value(s). Single string for single-select, string[] for multi-select. */
765
+ value?: string | string[];
766
+ /** Callback when selection changes */
767
+ onChange?: (value: string | string[]) => void;
768
+ /** Allow multiple selection */
769
+ multiple?: boolean;
770
+ /** Number of grid columns */
771
+ columns?: number;
772
+ /** Size of each item */
773
+ size?: Size;
774
+ /** Disable all interactions */
775
+ disabled?: boolean;
776
+ /** Additional class name */
777
+ className?: string;
778
+ }
779
+
780
+ /**
781
+ * A grid of selectable items supporting single and multiple selection.
782
+ * Behaves like a selection list but laid out in a grid.
783
+ */
784
+ declare const SelectionGrid: React__default.FC<SelectionGridProps>;
785
+
786
+ interface FileUploadProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
787
+ /**
788
+ * Title of the upload area
789
+ */
790
+ title?: string;
791
+ /**
792
+ * List of accepted file extensions (e.g. ['.csv', '.txt'])
793
+ */
794
+ acceptedFileTypes?: string[];
795
+ /**
796
+ * Max file size in bytes
797
+ */
798
+ maxFileSize?: number;
799
+ /**
800
+ * Max number of files allowed
801
+ */
802
+ maxFiles?: number;
803
+ /**
804
+ * Callback when files are changed
805
+ */
806
+ onFilesChange?: (files: File[]) => void;
807
+ /**
808
+ * Custom trigger component to open file dialog.
809
+ * If provided, it renders this element which triggers the file input on click.
810
+ */
811
+ trigger?: React.ReactNode;
812
+ /**
813
+ * State of the component
814
+ */
815
+ state?: State;
816
+ /**
817
+ * Icon name to display
818
+ */
819
+ icon?: string;
820
+ }
821
+
822
+ declare const FileUpload: React__default.FC<FileUploadProps>;
823
+
824
+ interface ProgressBarProps {
825
+ /** Current progress value */
826
+ value: number;
827
+ /** Minimum value of the range. Defaults to 0. */
828
+ min?: number;
829
+ /** Maximum value of the range. Defaults to 100. */
830
+ max?: number;
831
+ /** Visual variant for color theming */
832
+ variant?: State;
833
+ /** Whether the progress bar is in an indeterminate loading state */
834
+ indeterminate?: boolean;
835
+ /** Whether to show the header with percentage (left) and value (right) above the bar */
836
+ showLabel?: boolean;
837
+ /** Custom label text (overrides the percentage on the left) */
838
+ label?: string;
839
+ /** Custom formatter for the value shown on the right */
840
+ formatValue?: (value: number) => string;
841
+ /** Height of the progress bar */
842
+ height?: number;
843
+ /** Whether the component is disabled */
844
+ disabled?: boolean;
845
+ /** Additional CSS class name */
846
+ className?: string;
847
+ }
848
+
849
+ /**
850
+ * ProgressBar component for displaying progress visually.
851
+ */
852
+ declare const ProgressBar: React__default.FC<ProgressBarProps>;
853
+
854
+ interface TagProps {
855
+ value: string | number;
856
+ src?: string;
857
+ state: State;
858
+ size?: Size;
859
+ clearable?: boolean;
860
+ onClear?: () => void;
861
+ }
862
+
863
+ declare const Tag: React__default.FC<TagProps>;
864
+
865
+ /**
866
+ * Props for the ShortcutProvider component
867
+ */
868
+ interface ShortcutProviderProps {
869
+ readonly children: React__default.ReactNode;
870
+ }
871
+ /**
872
+ * Manages global and per-component keyboard shortcuts and shows the cursor-anchored
873
+ * feedback tooltip, including progress for hold-to-execute shortcuts (3s default).
874
+ */
875
+ declare const ShortcutProvider: React__default.FC<ShortcutProviderProps>;
876
+
877
+ /**
878
+ * Configuration for a keyboard shortcut
879
+ */
880
+ interface ShortcutConfig {
881
+ /** Display name for the shortcut action */
882
+ readonly name: string;
883
+ /** Function to execute when shortcut is triggered */
884
+ readonly action: () => void | Promise<void>;
885
+ /** Optional hold duration in milliseconds - if provided, user must hold keys for this duration */
886
+ readonly holdDuration?: number;
887
+ }
888
+ /**
889
+ * Options for configuring shortcut behavior in useShortcut hook
890
+ */
891
+ interface UseShortcutOptions {
892
+ /**
893
+ * Scope of the shortcuts: 'global' works app-wide, 'component' only when focused or hovered.
894
+ */
895
+ scope?: 'global' | 'component';
896
+ /** Whether shortcuts are enabled */
897
+ enabled?: boolean;
898
+ }
899
+
900
+ /**
901
+ * Hook for registering keyboard shortcuts with automatic lifecycle management
902
+ *
903
+ * @param options - Configuration options for shortcut behavior
904
+ * @returns Object with register, unregister, activate, deactivate, and trigger functions
905
+ */
906
+ declare const useShortcut: (options?: UseShortcutOptions) => {
907
+ /** Register a new keyboard shortcut */
908
+ register: (keys: string, config: ShortcutConfig) => void;
909
+ /** Unregister an existing keyboard shortcut */
910
+ unregister: (keys: string) => void;
911
+ /** Programmatically trigger a shortcut (for testing or manual execution) */
912
+ trigger: (keys: string) => void;
913
+ /** Activate component-scoped shortcuts (attach to onFocus/onMouseEnter) */
914
+ activate: () => void;
915
+ /** Deactivate component-scoped shortcuts (attach to onBlur/onMouseLeave) */
916
+ deactivate: () => void;
917
+ };
918
+
919
+ interface DynamicVirtualItem {
920
+ /** Original item index in the full list */
921
+ index: number;
922
+ /** Top offset from the top of the total scrollable area, in pixels */
923
+ start: number;
924
+ /** Measured (or estimated) height in pixels */
925
+ size: number;
926
+ }
927
+ interface UseDynamicVirtualListOptions {
928
+ /** Total number of items in the list */
929
+ count: number;
930
+ /** Fallback height used for items that have not been measured yet */
931
+ estimatedItemHeight?: number;
932
+ /**
933
+ * Extra items rendered above and below the viewport. Higher values scroll more
934
+ * smoothly at the cost of more DOM nodes. Defaults to 10.
935
+ */
936
+ overscan?: number;
937
+ }
938
+ interface UseDynamicVirtualListResult {
939
+ /** Items that should be rendered right now */
940
+ virtualItems: DynamicVirtualItem[];
941
+ /** Total scrollable height in pixels (for the spacer element) */
942
+ totalSize: number;
943
+ /** Attach this ref to the scrollable container div */
944
+ containerRef: React.RefObject<HTMLDivElement | null>;
945
+ /** Attach this handler to the scrollable container's onScroll */
946
+ onScroll: (e: React.UIEvent<HTMLDivElement>) => void;
947
+ /**
948
+ * Callback ref to attach to each rendered item element.
949
+ * Call with `(el, index)` — el will be null when the item unmounts.
950
+ */
951
+ measureElement: (el: Element | null, index: number) => void;
952
+ /** Scroll the container so the given index is in view */
953
+ scrollToIndex: (index: number) => void;
954
+ /** First rendered index (including overscan) */
955
+ startIndex: number;
956
+ /** Last rendered index (including overscan) */
957
+ endIndex: number;
958
+ /** Cumulative top offsets for every item. offsets[i] = top of item i, offsets[count] = totalSize */
959
+ offsets: Float64Array;
960
+ /** Current scrollTop of the container (pixels) */
961
+ scrollTop: number;
962
+ }
963
+ /**
964
+ * Dynamic-height virtual list hook: measures every rendered item with a ResizeObserver
965
+ * and falls back to `estimatedItemHeight`, so variable-height rows scroll correctly.
966
+ *
967
+ * @example
968
+ * ```tsx
969
+ * const { virtualItems, totalSize, containerRef, onScroll, measureElement } =
970
+ * useDynamicVirtualList({ count: rows.length, estimatedItemHeight: 40, overscan: 10 });
971
+ *
972
+ * return (
973
+ * <div ref={containerRef} onScroll={onScroll} style={{ height: 400, overflowY: "auto" }}>
974
+ * <div style={{ height: totalSize, position: "relative" }}>
975
+ * {virtualItems.map(({ index, start }) => (
976
+ * <div
977
+ * key={index}
978
+ * ref={(el) => measureElement(el, index)}
979
+ * style={{ position: "absolute", top: start, width: "100%" }}
980
+ * >
981
+ * {rows[index]}
982
+ * </div>
983
+ * ))}
984
+ * </div>
985
+ * </div>
986
+ * );
987
+ * ```
988
+ */
989
+ declare function useDynamicVirtualList({ count, estimatedItemHeight, overscan, }: UseDynamicVirtualListOptions): UseDynamicVirtualListResult;
990
+
991
+ export { AnchoredOverlay, Banner, Button, ButtonDropdown, ButtonGroup, CellType, Checkbox, CheckboxGroup, DatePicker, DateRangePicker, FileUpload, Icon, Input, Kbd, Label, Menu, NumberInput, OTPComponent as OTP, OverlayPanel, PasswordInput, ProgressBar, Radio, RadioGroup, Select, SelectionGrid, ShortcutProvider, Stack, Tag, TextInput, Textarea, Typography, useDynamicVirtualList, useShortcut };
992
+ export type { AnchoredOverlayProps, BannerProps, Breakpoint, ButtonDropdownProps, ButtonGroupProps, ButtonProps, CheckboxGroupProps, CheckboxOption, CheckboxProps, DatePickerMode, DatePickerProps, DateRange, DateRangePickerProps, DynamicVirtualItem, IconProps, InputProps, KbdProps, LabelProps, ListItemVariant, MenuItem, MenuProps, MenuSubmenuProps, NumberInputProps, OTPProps, Option, OverlayPanelFooterProps, OverlayPanelHeaderProps, OverlayPanelPosition, OverlayPanelProps, OverlayPanelVariant, PasswordInputProps, ProgressBarProps, RadioGroupProps, RadioOption, RadioProps, SelectProps, SelectionGridProps, ShortcutConfig, Size, StackProps, State, TagProps, TextInputProps, TextareaProps, TypographyProps, TypographyVariant, UseDynamicVirtualListOptions, UseDynamicVirtualListResult, UseShortcutOptions };