@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.
- package/README.md +51 -7
- package/dist/core.cjs +1 -0
- package/dist/core.d.ts +992 -0
- package/dist/core.js +36 -0
- package/dist/data.cjs +1 -0
- package/dist/data.d.ts +1465 -0
- package/dist/data.js +24 -0
- package/dist/experimental.cjs +2 -0
- package/dist/experimental.d.ts +660 -0
- package/dist/experimental.js +1365 -0
- package/dist/framework.cjs +1 -0
- package/dist/framework.d.ts +761 -0
- package/dist/framework.js +34 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +3282 -151
- package/dist/index.js +99 -0
- package/dist/src-C-0-H5TG.cjs +159 -0
- package/dist/{restio-ui.es.js → src-DzNRRdGD.js} +37175 -36673
- package/dist/ui.css +1 -1
- package/package.json +65 -43
- package/dist/assets/svg/alert.svg +0 -1
- package/dist/assets/svg/arrow-down-up.svg +0 -1
- package/dist/assets/svg/arrow-down.svg +0 -1
- package/dist/assets/svg/arrow-left.svg +0 -1
- package/dist/assets/svg/arrow-right.svg +0 -1
- package/dist/assets/svg/arrow-up.svg +0 -1
- package/dist/assets/svg/arrow_drop_down.svg +0 -1
- package/dist/assets/svg/calendar.svg +0 -1
- package/dist/assets/svg/chart-area.svg +0 -1
- package/dist/assets/svg/chart-bar-stacked.svg +0 -1
- package/dist/assets/svg/chart-bar.svg +0 -1
- package/dist/assets/svg/chart-candlestick.svg +0 -1
- package/dist/assets/svg/chart-gantt.svg +0 -1
- package/dist/assets/svg/chart-line.svg +0 -1
- package/dist/assets/svg/chart-pie.svg +0 -1
- package/dist/assets/svg/chart-sankey.svg +0 -1
- package/dist/assets/svg/check.svg +0 -1
- package/dist/assets/svg/chevron-down.svg +0 -1
- package/dist/assets/svg/chevron-right.svg +0 -1
- package/dist/assets/svg/clipboard.svg +0 -1
- package/dist/assets/svg/close.svg +0 -1
- package/dist/assets/svg/copy.svg +0 -1
- package/dist/assets/svg/cursor.svg +0 -1
- package/dist/assets/svg/cut.svg +0 -1
- package/dist/assets/svg/delete.svg +0 -1
- package/dist/assets/svg/discussion.svg +0 -1
- package/dist/assets/svg/dock-left-arrow.svg +0 -1
- package/dist/assets/svg/dock-right-arrow.svg +0 -1
- package/dist/assets/svg/document-outline.svg +0 -1
- package/dist/assets/svg/download.svg +0 -1
- package/dist/assets/svg/drag.svg +0 -1
- package/dist/assets/svg/error.svg +0 -1
- package/dist/assets/svg/expand-right.svg +0 -1
- package/dist/assets/svg/expand.svg +0 -1
- package/dist/assets/svg/eye.svg +0 -1
- package/dist/assets/svg/file-plus.svg +0 -1
- package/dist/assets/svg/filter.svg +0 -1
- package/dist/assets/svg/form.svg +0 -1
- package/dist/assets/svg/fullscreen.svg +0 -1
- package/dist/assets/svg/gear.svg +0 -1
- package/dist/assets/svg/groups.svg +0 -1
- package/dist/assets/svg/help.svg +0 -1
- package/dist/assets/svg/info.svg +0 -1
- package/dist/assets/svg/list.svg +0 -1
- package/dist/assets/svg/logo.svg +0 -9
- package/dist/assets/svg/menu.svg +0 -1
- package/dist/assets/svg/message-bubble-question-mark.svg +0 -1
- package/dist/assets/svg/open-center.svg +0 -1
- package/dist/assets/svg/open-dialog.svg +0 -29
- package/dist/assets/svg/pencil.svg +0 -1
- package/dist/assets/svg/pie-chart.svg +0 -1
- package/dist/assets/svg/plus.svg +0 -1
- package/dist/assets/svg/restio.svg +0 -5
- package/dist/assets/svg/search.svg +0 -1
- package/dist/assets/svg/send.svg +0 -1
- package/dist/assets/svg/shrink-right.svg +0 -1
- package/dist/assets/svg/sidebar.svg +0 -1
- package/dist/assets/svg/square-half.svg +0 -1
- package/dist/assets/svg/table.svg +0 -1
- package/dist/assets/svg/terminal.svg +0 -1
- package/dist/assets/svg/timer.svg +0 -1
- package/dist/assets/svg/transaction.svg +0 -1
- package/dist/assets/svg/vertical-expand.svg +0 -1
- package/dist/assets/svg/wallet.svg +0 -1
- package/dist/assets/svg/warning.svg +0 -1
- package/dist/assets/svg/zoom-minus.svg +0 -1
- package/dist/assets/svg/zoom-plus.svg +0 -1
- package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +0 -22
- package/dist/components/anchored-overlay/anchored-overlay.d.ts +0 -4
- package/dist/components/anchored-overlay/anchored-overlay.test.d.ts +0 -0
- package/dist/components/anchored-overlay/stories/anchored-overlay-example.stories.d.ts +0 -6
- package/dist/components/banner/banner-types.d.ts +0 -12
- package/dist/components/banner/banner.d.ts +0 -4
- package/dist/components/banner/banner.stories.d.ts +0 -11
- package/dist/components/button/button-types.d.ts +0 -12
- package/dist/components/button/button.d.ts +0 -3
- package/dist/components/button/stories/button-example.stories.d.ts +0 -8
- package/dist/components/button/stories/button.stories.d.ts +0 -8
- package/dist/components/button-dropdown/button-dropdown-types.d.ts +0 -19
- package/dist/components/button-dropdown/button-dropdown.d.ts +0 -7
- package/dist/components/button-dropdown/button-dropdown.test.d.ts +0 -0
- package/dist/components/button-dropdown/stories/button-dropdown.stories.d.ts +0 -10
- package/dist/components/button-group/button-group-types.d.ts +0 -15
- package/dist/components/button-group/button-group.d.ts +0 -3
- package/dist/components/button-group/button-group.stories.d.ts +0 -7
- package/dist/components/button-group/button-group.test.d.ts +0 -1
- package/dist/components/checkbox/checkbox-types.d.ts +0 -15
- package/dist/components/checkbox/checkbox.d.ts +0 -3
- package/dist/components/checkbox/checkbox.test.d.ts +0 -0
- package/dist/components/checkbox/stories/checkbox-example.stories.d.ts +0 -7
- package/dist/components/checkbox/stories/checkbox.stories.d.ts +0 -6
- package/dist/components/checkbox-group/checkbox-group-types.d.ts +0 -27
- package/dist/components/checkbox-group/checkbox-group.d.ts +0 -7
- package/dist/components/checkbox-group/checkbox-group.test.d.ts +0 -0
- package/dist/components/checkbox-group/stories/checkbox-group-example.stories.d.ts +0 -6
- package/dist/components/checkbox-group/stories/checkbox-group.stories.d.ts +0 -10
- package/dist/components/code-block/code-block.d.ts +0 -7
- package/dist/components/file-upload/file-upload-types.d.ts +0 -36
- package/dist/components/file-upload/file-upload-utils.d.ts +0 -1
- package/dist/components/file-upload/file-upload.d.ts +0 -3
- package/dist/components/file-upload/file-upload.test.d.ts +0 -1
- package/dist/components/file-upload/stories/file-upload.stories.d.ts +0 -8
- package/dist/components/input/date/date-calendar.d.ts +0 -3
- package/dist/components/input/date/date-input-field.d.ts +0 -8
- package/dist/components/input/date/date-picker.d.ts +0 -7
- package/dist/components/input/date/date-range-input-field.d.ts +0 -8
- package/dist/components/input/date/date-range-picker.d.ts +0 -8
- package/dist/components/input/date/date-shortcuts.d.ts +0 -3
- package/dist/components/input/date/date-types.d.ts +0 -52
- package/dist/components/input/date/date-utils.d.ts +0 -34
- package/dist/components/input/date/stories/date.stories.d.ts +0 -5
- package/dist/components/input/date/use-digit-input.d.ts +0 -18
- package/dist/components/input/input-types.d.ts +0 -27
- package/dist/components/input/input.d.ts +0 -3
- package/dist/components/input/number/input-number-types.d.ts +0 -7
- package/dist/components/input/number/input-number.d.ts +0 -3
- package/dist/components/input/number/input-number.stories.d.ts +0 -6
- package/dist/components/input/text/input-text-types.d.ts +0 -6
- package/dist/components/input/text/input-text.d.ts +0 -3
- package/dist/components/input/text/stories/input-text.stories.d.ts +0 -9
- package/dist/components/kbd/kbd-types.d.ts +0 -6
- package/dist/components/kbd/kbd.d.ts +0 -4
- package/dist/components/kbd/kbd.stories.d.ts +0 -9
- package/dist/components/kbd-group/kbd-group-types.d.ts +0 -14
- package/dist/components/kbd-group/kbd-group.d.ts +0 -4
- package/dist/components/kbd-group/kbd-group.stories.d.ts +0 -10
- package/dist/components/list/list-types.d.ts +0 -37
- package/dist/components/list/list-utils.d.ts +0 -46
- package/dist/components/list/list.d.ts +0 -2
- package/dist/components/list/list.stories.d.ts +0 -12
- package/dist/components/list/list.test.d.ts +0 -0
- package/dist/components/menu/anchored-navigation-menu.d.ts +0 -18
- package/dist/components/menu/menu-assets.d.ts +0 -2
- package/dist/components/menu/menu-types.d.ts +0 -21
- package/dist/components/menu/menu.d.ts +0 -8
- package/dist/components/menu/stories/anchored-navigation-menu.stories.d.ts +0 -7
- package/dist/components/otp/otp-types.d.ts +0 -29
- package/dist/components/otp/otp-utils.d.ts +0 -14
- package/dist/components/otp/otp.d.ts +0 -3
- package/dist/components/otp/otp.stories.d.ts +0 -145
- package/dist/components/progress-bar/progress-bar-types.d.ts +0 -25
- package/dist/components/progress-bar/progress-bar.d.ts +0 -6
- package/dist/components/progress-bar/progress-bar.test.d.ts +0 -1
- package/dist/components/progress-bar/stories/progress-bar-example.stories.d.ts +0 -8
- package/dist/components/progress-bar/stories/progress-bar.stories.d.ts +0 -10
- package/dist/components/radio/radio-types.d.ts +0 -13
- package/dist/components/radio/radio.d.ts +0 -7
- package/dist/components/radio/radio.test.d.ts +0 -0
- package/dist/components/radio/stories/radio-example.stories.d.ts +0 -7
- package/dist/components/radio/stories/radio.stories.d.ts +0 -6
- package/dist/components/radio-group/radio-group-types.d.ts +0 -29
- package/dist/components/radio-group/radio-group.d.ts +0 -7
- package/dist/components/radio-group/radio-group.test.d.ts +0 -0
- package/dist/components/radio-group/stories/radio-group-example.stories.d.ts +0 -6
- package/dist/components/radio-group/stories/radio-group.stories.d.ts +0 -10
- package/dist/components/select/select-switch.d.ts +0 -26
- package/dist/components/select/select-types.d.ts +0 -35
- package/dist/components/select/select.d.ts +0 -4
- package/dist/components/select/select.stories.d.ts +0 -20
- package/dist/components/select/select.test.d.ts +0 -0
- package/dist/components/select/templates/grid-template.d.ts +0 -7
- package/dist/components/select/templates/list-template.d.ts +0 -7
- package/dist/components/select/templates/preview-dialog-template.d.ts +0 -9
- package/dist/components/select/templates/select-template-types.d.ts +0 -12
- package/dist/components/selection-grid/selection-grid-types.d.ts +0 -19
- package/dist/components/selection-grid/selection-grid.d.ts +0 -7
- package/dist/components/selection-grid/stories/selection-grid-example.stories.d.ts +0 -7
- package/dist/components/selection-grid/stories/selection-grid.stories.d.ts +0 -10
- package/dist/components/tag/tag-types.d.ts +0 -9
- package/dist/components/tag/tag.d.ts +0 -3
- package/dist/components/tag/tag.stories.d.ts +0 -12
- package/dist/components/textarea/textarea-types.d.ts +0 -54
- package/dist/components/textarea/textarea.d.ts +0 -3
- package/dist/components/textarea/textarea.stories.d.ts +0 -25
- package/dist/components/toast-group/toast-group-types.d.ts +0 -5
- package/dist/components/toast-group/toast-group.d.ts +0 -4
- package/dist/components/toast-group/toast-group.stories.d.ts +0 -6
- package/dist/components/typography/typography-types.d.ts +0 -58
- package/dist/components/typography/typography.d.ts +0 -3
- package/dist/components/typography/typography.stories.d.ts +0 -10
- package/dist/custom-components/chat/chat-types.d.ts +0 -18
- package/dist/custom-components/chat/chat.d.ts +0 -2
- package/dist/custom-components/chat/chat.stories.d.ts +0 -7
- package/dist/custom-components/layout/layout-renderers.d.ts +0 -8
- package/dist/custom-components/layout/layout-types.d.ts +0 -53
- package/dist/custom-components/layout/layout-utils.d.ts +0 -3
- package/dist/custom-components/layout/layout-utils.test.d.ts +0 -1
- package/dist/custom-components/layout/layout.d.ts +0 -7
- package/dist/custom-components/layout/layout.stories.d.ts +0 -7
- package/dist/custom-components/layout/layout.test.d.ts +0 -1
- package/dist/custom-components/markdown/components/img/zoomable-image.d.ts +0 -4
- package/dist/custom-components/markdown/markdown-types.d.ts +0 -28
- package/dist/custom-components/markdown/markdown-utils.d.ts +0 -1
- package/dist/custom-components/markdown/markdown.d.ts +0 -3
- package/dist/custom-components/markdown/markdown.stories.d.ts +0 -6
- package/dist/custom-components/mindmap/index.d.ts +0 -2
- package/dist/custom-components/mindmap/mind-tree-types.d.ts +0 -93
- package/dist/custom-components/mindmap/mind-tree.d.ts +0 -3
- package/dist/custom-components/mindmap/reingold-tilford-algorithm.d.ts +0 -64
- package/dist/custom-components/mindmap/stories/mind-tree.stories.d.ts +0 -11
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.d.ts +0 -59
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.d.ts +0 -17
- package/dist/custom-components/shortcut-tooltip/stories/shortcut-tooltip.stories.d.ts +0 -10
- package/dist/custom-components/timeline/skeleton/timeline-skeleton.d.ts +0 -6
- package/dist/custom-components/timeline/timeline-types.d.ts +0 -45
- package/dist/custom-components/timeline/timeline.d.ts +0 -19
- package/dist/custom-components/timeline/timeline.stories.d.ts +0 -8
- package/dist/custom-components/workflow/layout/workflow-edge.d.ts +0 -3
- package/dist/custom-components/workflow/layout/workflow-layout-types.d.ts +0 -73
- package/dist/custom-components/workflow/layout/workflow-layout.d.ts +0 -37
- package/dist/custom-components/workflow/node/workflow-node.d.ts +0 -3
- package/dist/custom-components/workflow/panel/workflow-panel-types.d.ts +0 -17
- package/dist/custom-components/workflow/panel/workflow-panel.d.ts +0 -3
- package/dist/custom-components/workflow/stories/workflow-overlay.stories.d.ts +0 -7
- package/dist/custom-components/workflow/stories/workflow-toolbar.stories.d.ts +0 -6
- package/dist/custom-components/workflow/stories/workflow.stories.d.ts +0 -7
- package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.d.ts +0 -23
- package/dist/custom-components/workflow/toolbar/workflow-toolbar.d.ts +0 -3
- package/dist/custom-components/workflow/utils/workflow-validation.d.ts +0 -47
- package/dist/custom-components/workflow/workflow-types.d.ts +0 -203
- package/dist/custom-components/workflow/workflow.d.ts +0 -6
- package/dist/data-components/assets/cell-types-asset.d.ts +0 -38
- package/dist/data-components/assets/data-components-asset.d.ts +0 -13
- package/dist/data-components/assets/finance-asset.d.ts +0 -15
- package/dist/data-components/calendar/calendar-types.d.ts +0 -30
- package/dist/data-components/calendar/calendar-utils.d.ts +0 -5
- package/dist/data-components/calendar/calendar.d.ts +0 -4
- package/dist/data-components/calendar/stories/calendar.stories.d.ts +0 -22
- package/dist/data-components/card/card-types.d.ts +0 -20
- package/dist/data-components/card/card.d.ts +0 -10
- package/dist/data-components/card/stories/card.stories.d.ts +0 -13
- package/dist/data-components/card-list/card-list-types.d.ts +0 -21
- package/dist/data-components/card-list/card-list.d.ts +0 -9
- package/dist/data-components/card-list/models/ecommerce.d.ts +0 -12
- package/dist/data-components/card-list/stories/card-list.stories.d.ts +0 -29
- package/dist/data-components/cell/cell-registry.d.ts +0 -28
- package/dist/data-components/cell/cell-types.d.ts +0 -39
- package/dist/data-components/cell/cell-utils.d.ts +0 -21
- package/dist/data-components/cell/cell.d.ts +0 -2
- package/dist/data-components/cell/colors-editor/colors-editor-types.d.ts +0 -15
- package/dist/data-components/cell/colors-editor/colors-editor.d.ts +0 -7
- package/dist/data-components/cell/stories/cell-all-examples.stories.d.ts +0 -13
- package/dist/data-components/cell/test/cell-utils.test.d.ts +0 -1
- package/dist/data-components/cell/test/cell.test.d.ts +0 -0
- package/dist/data-components/chart/chart-series-edit/chart-series-edit-types.d.ts +0 -22
- package/dist/data-components/chart/chart-series-edit/chart-series-edit.d.ts +0 -9
- package/dist/data-components/chart/chart-tooltip/chart-tooltip-types.d.ts +0 -13
- package/dist/data-components/chart/chart-tooltip/chart-tooltip.d.ts +0 -6
- package/dist/data-components/chart/chart-types.d.ts +0 -106
- package/dist/data-components/chart/chart-utils.d.ts +0 -27
- package/dist/data-components/chart/chart.d.ts +0 -4
- package/dist/data-components/chart/chart.stories.d.ts +0 -15
- package/dist/data-components/chart/geo/geoChart.d.ts +0 -10
- package/dist/data-components/chart/sankey/sankeyChart.d.ts +0 -37
- package/dist/data-components/data-component-configurator/data-component-configurator-types.d.ts +0 -35
- package/dist/data-components/data-component-configurator/data-component-configurator.d.ts +0 -17
- package/dist/data-components/data-component-types.d.ts +0 -10
- package/dist/data-components/data-component-utils.d.ts +0 -27
- package/dist/data-components/data-structure/data-structure.d.ts +0 -50
- package/dist/data-components/data-structure/stories-assets.d.ts +0 -86
- package/dist/data-components/filter/filter-engine.d.ts +0 -14
- package/dist/data-components/filter/filter-types.d.ts +0 -40
- package/dist/data-components/filter/filter-utils.d.ts +0 -43
- package/dist/data-components/form/form-types.d.ts +0 -67
- package/dist/data-components/form/form.d.ts +0 -3
- package/dist/data-components/form/form.test.d.ts +0 -0
- package/dist/data-components/form/stories/form-advanced-cells.stories.d.ts +0 -15
- package/dist/data-components/form/stories/form-complex.stories.d.ts +0 -7
- package/dist/data-components/form/stories/form-dynamic.stories.d.ts +0 -20
- package/dist/data-components/form/stories/form-validation-examples.stories.d.ts +0 -7
- package/dist/data-components/form/stories/form.stories.d.ts +0 -17
- package/dist/data-components/gantt/ai-assistant/gantt-ai-executor.d.ts +0 -8
- package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts +0 -11
- package/dist/data-components/gantt/ai-assistant/gantt-ai-schema.d.ts +0 -6
- package/dist/data-components/gantt/ai-assistant/gantt-ai-tools.d.ts +0 -2
- package/dist/data-components/gantt/arrows/gantt-arrows.d.ts +0 -20
- package/dist/data-components/gantt/gantt-context.d.ts +0 -12
- package/dist/data-components/gantt/gantt-types.d.ts +0 -101
- package/dist/data-components/gantt/gantt-utils.d.ts +0 -60
- package/dist/data-components/gantt/gantt.d.ts +0 -3
- package/dist/data-components/gantt/hooks/useGanttDrag.d.ts +0 -14
- package/dist/data-components/gantt/hooks/useGanttTimeline.d.ts +0 -17
- package/dist/data-components/gantt/sidebar/gantt-sidebar-types.d.ts +0 -9
- package/dist/data-components/gantt/sidebar/gantt-sidebar.d.ts +0 -2
- package/dist/data-components/gantt/stories/gantt-stories-utils.d.ts +0 -12
- package/dist/data-components/gantt/stories/gantt.stories.d.ts +0 -20
- package/dist/data-components/kpi/kpi-types.d.ts +0 -17
- package/dist/data-components/kpi/kpi.d.ts +0 -5
- package/dist/data-components/layout/card-layout-presets.d.ts +0 -12
- package/dist/data-components/layout/finance/finance-layouts.d.ts +0 -18
- package/dist/data-components/layout/finance/kpi-layout-presets.d.ts +0 -35
- package/dist/data-components/layout/finance/stories/finance-card-list.stories.d.ts +0 -16
- package/dist/data-components/switcher/prop-form/prop-form-adapter.d.ts +0 -9
- package/dist/data-components/switcher/prop-form/prop-form-types.d.ts +0 -16
- package/dist/data-components/switcher/prop-form/prop-form.d.ts +0 -6
- package/dist/data-components/switcher/prop-schema/prop-schema-types.d.ts +0 -58
- package/dist/data-components/switcher/prop-schema/prop-schema-utils.d.ts +0 -14
- package/dist/data-components/switcher/prop-schema/prop-schema.d.ts +0 -43
- package/dist/data-components/switcher/switcher-types.d.ts +0 -59
- package/dist/data-components/switcher/switcher.d.ts +0 -12
- package/dist/data-components/switcher/switcher.stories.d.ts +0 -7
- package/dist/data-components/table-grid/aggregation/aggregation-utils.d.ts +0 -8
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts +0 -8
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.d.ts +0 -12
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts +0 -13
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts +0 -2
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.d.ts +0 -3
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts +0 -5
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts +0 -93
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts +0 -4
- package/dist/data-components/table-grid/ai-assistant/table-grid-ai.stories.d.ts +0 -9
- package/dist/data-components/table-grid/editability/table-grid-editability.stories.d.ts +0 -7
- package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.d.ts +0 -6
- package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.d.ts +0 -8
- package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.d.ts +0 -5
- package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.d.ts +0 -5
- package/dist/data-components/table-grid/external-functionalities/import/csv/index.d.ts +0 -6
- package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts +0 -5
- package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.d.ts +0 -6
- package/dist/data-components/table-grid/external-functionalities/import/table-grid-import.stories.d.ts +0 -6
- package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts +0 -4
- package/dist/data-components/table-grid/footer/table-grid-footer.d.ts +0 -2
- package/dist/data-components/table-grid/formula/evaluator.d.ts +0 -10
- package/dist/data-components/table-grid/formula/formula-builder-types.d.ts +0 -7
- package/dist/data-components/table-grid/formula/formula-builder.d.ts +0 -2
- package/dist/data-components/table-grid/formula/formula.test.d.ts +0 -1
- package/dist/data-components/table-grid/formula/index.d.ts +0 -11
- package/dist/data-components/table-grid/formula/parser.d.ts +0 -23
- package/dist/data-components/table-grid/formula/table-grid-formula.stories.d.ts +0 -9
- package/dist/data-components/table-grid/formula/tokenizer.d.ts +0 -15
- package/dist/data-components/table-grid/formula/types.d.ts +0 -38
- package/dist/data-components/table-grid/grouping/grouping.d.ts +0 -14
- package/dist/data-components/table-grid/grouping/table-grid-grouping.stories.d.ts +0 -7
- package/dist/data-components/table-grid/header/grouping/group-panel-types.d.ts +0 -6
- package/dist/data-components/table-grid/header/grouping/group-panel.d.ts +0 -3
- package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts +0 -9
- package/dist/data-components/table-grid/header/table-grid-header-types.d.ts +0 -5
- package/dist/data-components/table-grid/header/table-grid-header.d.ts +0 -3
- package/dist/data-components/table-grid/hooks/use-table.d.ts +0 -2
- package/dist/data-components/table-grid/pinning/pinning-utils.d.ts +0 -20
- package/dist/data-components/table-grid/pinning/table-grid-pinning.stories.d.ts +0 -17
- package/dist/data-components/table-grid/pivot/pivot-config-panel-types.d.ts +0 -16
- package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts +0 -3
- package/dist/data-components/table-grid/pivot/pivot-table.d.ts +0 -7
- package/dist/data-components/table-grid/pivot/pivot-types.d.ts +0 -52
- package/dist/data-components/table-grid/pivot/pivot-utils.d.ts +0 -13
- package/dist/data-components/table-grid/pivot/table-grid-pivot.stories.d.ts +0 -15
- package/dist/data-components/table-grid/row/table-grid-row-types.d.ts +0 -10
- package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts +0 -13
- package/dist/data-components/table-grid/row/table-grid-row.d.ts +0 -2
- package/dist/data-components/table-grid/selection/selection-types.d.ts +0 -2
- package/dist/data-components/table-grid/selection/selection-utils.d.ts +0 -48
- package/dist/data-components/table-grid/selection/table-grid-selection.stories.d.ts +0 -9
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts +0 -27
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts +0 -2
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar.stories.d.ts +0 -10
- package/dist/data-components/table-grid/sorting/sorting.d.ts +0 -7
- package/dist/data-components/table-grid/sorting/table-grid-sorting-groups.stories.d.ts +0 -5
- package/dist/data-components/table-grid/sorting/table-grid-sorting.stories.d.ts +0 -6
- package/dist/data-components/table-grid/stories/table-grid-columns.stories.d.ts +0 -8
- package/dist/data-components/table-grid/stories/table-grid-states.stories.d.ts +0 -8
- package/dist/data-components/table-grid/table-context/table-context-types.d.ts +0 -16
- package/dist/data-components/table-grid/table-context/table-context.d.ts +0 -2
- package/dist/data-components/table-grid/table-grid-context.d.ts +0 -3
- package/dist/data-components/table-grid/table-grid-features.stories.d.ts +0 -11
- package/dist/data-components/table-grid/table-grid-panels.d.ts +0 -21
- package/dist/data-components/table-grid/table-grid-types.d.ts +0 -246
- package/dist/data-components/table-grid/table-grid.d.ts +0 -10
- package/dist/data-components/table-grid/table-grid.stories.d.ts +0 -14
- package/dist/data-components/table-grid/table-utils.d.ts +0 -17
- package/dist/data-components/ui-layer/ui-layer-types.d.ts +0 -81
- package/dist/data-components/ui-layer/ui-layer-utils.d.ts +0 -12
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.d.ts +0 -14
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.d.ts +0 -11
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap.d.ts +0 -3
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap.stories.d.ts +0 -9
- package/dist/experimental-components/dashboard-builder/builder-canvas-hooks.d.ts +0 -46
- package/dist/experimental-components/dashboard-builder/builder-canvas.d.ts +0 -33
- package/dist/experimental-components/dashboard-builder/dashboard-builder-hooks.d.ts +0 -23
- package/dist/experimental-components/dashboard-builder/dashboard-builder-types.d.ts +0 -173
- package/dist/experimental-components/dashboard-builder/dashboard-builder-utils.d.ts +0 -37
- package/dist/experimental-components/dashboard-builder/dashboard-builder.d.ts +0 -13
- package/dist/experimental-components/dashboard-builder/dashboard-builder.stories.d.ts +0 -8
- package/dist/experimental-components/dashboard-builder/widget-configurator.d.ts +0 -25
- package/dist/experimental-components/dashboard-builder/widget-palette.d.ts +0 -19
- package/dist/experimental-components/filter-builder/filter-builder-types.d.ts +0 -11
- package/dist/experimental-components/filter-builder/filter-builder.d.ts +0 -11
- package/dist/experimental-components/filter-builder/filter-builder.stories.d.ts +0 -15
- package/dist/framework-components/appbar/appbar-assets.d.ts +0 -1
- package/dist/framework-components/appbar/appbar-types.d.ts +0 -18
- package/dist/framework-components/appbar/appbar.d.ts +0 -8
- package/dist/framework-components/appbar/appbar.stories.d.ts +0 -6
- package/dist/framework-components/blank-slate/blank-slate-types.d.ts +0 -31
- package/dist/framework-components/blank-slate/blank-slate.d.ts +0 -10
- package/dist/framework-components/blank-slate/blank-slate.stories.d.ts +0 -9
- package/dist/framework-components/breadcrumbs/breadcrumbs-types.d.ts +0 -13
- package/dist/framework-components/breadcrumbs/breadcrumbs.d.ts +0 -3
- package/dist/framework-components/breadcrumbs/breadcrumbs.stories.d.ts +0 -7
- package/dist/framework-components/dashboard/dashboard-context.d.ts +0 -11
- package/dist/framework-components/dashboard/dashboard-real-world.stories.d.ts +0 -6
- package/dist/framework-components/dashboard/dashboard-types.d.ts +0 -47
- package/dist/framework-components/dashboard/dashboard-widget-actions.d.ts +0 -0
- package/dist/framework-components/dashboard/dashboard-widget-types.d.ts +0 -85
- package/dist/framework-components/dashboard/dashboard-widget.d.ts +0 -17
- package/dist/framework-components/dashboard/dashboard.d.ts +0 -15
- package/dist/framework-components/dashboard/dashboard.stories.d.ts +0 -7
- package/dist/framework-components/dashboard/data-engine/aggregation-engine.d.ts +0 -10
- package/dist/framework-components/dashboard/data-engine/data-engine-client.d.ts +0 -46
- package/dist/framework-components/dashboard/data-engine/data-engine-types.d.ts +0 -118
- package/dist/framework-components/dashboard/data-engine/data-engine.d.ts +0 -86
- package/dist/framework-components/dashboard/data-engine/data-engine.test.d.ts +0 -1
- package/dist/framework-components/dashboard/data-engine/data-engine.worker.d.ts +0 -1
- package/dist/framework-components/dashboard/data-engine/field-inference.d.ts +0 -9
- package/dist/framework-components/dashboard/data-engine/filter-adapter.d.ts +0 -11
- package/dist/framework-components/dashboard/data-engine/index.d.ts +0 -7
- package/dist/framework-components/dashboard/data-engine/join-engine.d.ts +0 -16
- package/dist/framework-components/drawer/drawer-types.d.ts +0 -6
- package/dist/framework-components/drawer/drawer.d.ts +0 -4
- package/dist/framework-components/scaffold/scaffold-context.d.ts +0 -3
- package/dist/framework-components/scaffold/scaffold-types.d.ts +0 -17
- package/dist/framework-components/scaffold/scaffold.d.ts +0 -6
- package/dist/framework-components/scaffold/scaffold.stories.d.ts +0 -7
- package/dist/framework-components/scaffold/scaffold.test.d.ts +0 -0
- package/dist/framework-components/section/section-types.d.ts +0 -15
- package/dist/framework-components/section/section.d.ts +0 -8
- package/dist/framework-components/section/section.stories.d.ts +0 -6
- package/dist/framework-components/sidebar/sidebar-assets.d.ts +0 -1
- package/dist/framework-components/sidebar/sidebar-context.d.ts +0 -3
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.d.ts +0 -5
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.d.ts +0 -2
- package/dist/framework-components/sidebar/sidebar-types.d.ts +0 -12
- package/dist/framework-components/sidebar/sidebar.d.ts +0 -16
- package/dist/framework-components/sidebar/sidebar.stories.d.ts +0 -6
- package/dist/framework-components/stepper/stepper-types.d.ts +0 -13
- package/dist/framework-components/stepper/stepper.d.ts +0 -8
- package/dist/framework-components/stepper/stepper.stories.d.ts +0 -7
- package/dist/hooks/useDynamicVirtualList.d.ts +0 -75
- package/dist/hooks/useEscapeClose.d.ts +0 -2
- package/dist/hooks/useFixedVirtualList.d.ts +0 -34
- package/dist/hooks/useOverlayAnimation.d.ts +0 -17
- package/dist/hooks/useShortcut.d.ts +0 -19
- package/dist/hooks/useTour/stories/useTour.stories.d.ts +0 -24
- package/dist/hooks/useTour/useTour-context-internal.d.ts +0 -6
- package/dist/hooks/useTour/useTour-context.d.ts +0 -9
- package/dist/hooks/useTour/useTour-types.d.ts +0 -191
- package/dist/hooks/useTour/useTour.d.ts +0 -2
- package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts +0 -7
- package/dist/providers/ai-assistant/ai-assistant-types.d.ts +0 -77
- package/dist/providers/ai-assistant/ai-assistant-validator.d.ts +0 -22
- package/dist/providers/ai-assistant/ai-chat-panel-types.d.ts +0 -24
- package/dist/providers/ai-assistant/ai-chat-panel.d.ts +0 -2
- package/dist/providers/shortcut/shortcut-context.d.ts +0 -6
- package/dist/providers/shortcut/shortcut-provider.d.ts +0 -34
- package/dist/providers/stories/theme-provider.stories.d.ts +0 -6
- package/dist/providers/theme/index.d.ts +0 -3
- package/dist/providers/theme/theme-provider-types.d.ts +0 -5
- package/dist/providers/theme/themeProvider.d.ts +0 -9
- package/dist/restio-ui.cjs.js +0 -201
- package/dist/types/global-types.d.ts +0 -51
- package/dist/types/storybook-types.d.ts +0 -1
- package/dist/utility-components/avatar/avatar-types.d.ts +0 -15
- package/dist/utility-components/avatar/avatar.d.ts +0 -4
- package/dist/utility-components/avatar/avatar.stories.d.ts +0 -8
- package/dist/utility-components/chip/chip-types.d.ts +0 -16
- package/dist/utility-components/chip/chip.d.ts +0 -3
- package/dist/utility-components/chip/chip.stories.d.ts +0 -10
- package/dist/utility-components/helper-text/helper-text-types.d.ts +0 -19
- package/dist/utility-components/helper-text/helper-text.d.ts +0 -2
- package/dist/utility-components/helper-text/helper-text.stories.d.ts +0 -10
- package/dist/utility-components/helper-text/helper-text.test.d.ts +0 -1
- package/dist/utility-components/icon/icon-assets.d.ts +0 -1
- package/dist/utility-components/icon/icon-types.d.ts +0 -23
- package/dist/utility-components/icon/icon.d.ts +0 -3
- package/dist/utility-components/icon/stories/icon.stories.d.ts +0 -10
- package/dist/utility-components/label/label-types.d.ts +0 -18
- package/dist/utility-components/label/label.d.ts +0 -2
- package/dist/utility-components/label/label.test.d.ts +0 -1
- package/dist/utility-components/overlay-panel/overlay-panel-footer/overlay-panel-footer-types.d.ts +0 -6
- package/dist/utility-components/overlay-panel/overlay-panel-footer/overlay-panel-footer.d.ts +0 -4
- package/dist/utility-components/overlay-panel/overlay-panel-header/overlay-panel-header-types.d.ts +0 -12
- package/dist/utility-components/overlay-panel/overlay-panel-header/overlay-panel-header.d.ts +0 -4
- package/dist/utility-components/overlay-panel/overlay-panel-types.d.ts +0 -65
- package/dist/utility-components/overlay-panel/overlay-panel.d.ts +0 -3
- package/dist/utility-components/overlay-panel/overlay-panel.stories.d.ts +0 -13
- package/dist/utility-components/overlay-panel/use-focus-trap.d.ts +0 -7
- package/dist/utility-components/skeleton/skeleton-types.d.ts +0 -6
- package/dist/utility-components/skeleton/skeleton.d.ts +0 -3
- package/dist/utility-components/skeleton/stories/skeleton.stories.d.ts +0 -9
- package/dist/utility-components/stack/stack-types.d.ts +0 -10
- package/dist/utility-components/stack/stack.d.ts +0 -7
- package/dist/utility-components/stack/stack.stories.d.ts +0 -4
- package/dist/utility-components/toast/toast-types.d.ts +0 -8
- package/dist/utility-components/toast/toast.d.ts +0 -4
- package/dist/utility-components/toast/toast.stories.d.ts +0 -8
- package/dist/utils/general.d.ts +0 -8
- package/dist/utils/shortcut-utils.d.ts +0 -43
- package/dist/vitest.setup.d.ts +0 -0
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { ButtonProps } from '../button-types';
|
|
3
|
-
declare const meta: Meta<ButtonProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<ButtonProps>;
|
|
6
|
-
export declare const Variant: Story;
|
|
7
|
-
export declare const Size: Story;
|
|
8
|
-
export declare const VisualIcon: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { ButtonProps } from '../button-types';
|
|
3
|
-
declare const meta: Meta<ButtonProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<ButtonProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Disable: Story;
|
|
8
|
-
export declare const Count: Story;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Option, Size } from '../../types/global-types';
|
|
2
|
-
export interface ButtonDropdownProps {
|
|
3
|
-
/** Currently selected value */
|
|
4
|
-
value?: string;
|
|
5
|
-
/** Available options */
|
|
6
|
-
options: Option[];
|
|
7
|
-
/** Callback when selection changes */
|
|
8
|
-
onChange?: (value: string) => void;
|
|
9
|
-
/** Button variant */
|
|
10
|
-
variant?: "base" | "primary" | "danger" | "invisible" | "link";
|
|
11
|
-
/** Button size */
|
|
12
|
-
size?: Size;
|
|
13
|
-
/** Placeholder text when no value is selected */
|
|
14
|
-
placeholder?: string;
|
|
15
|
-
/** Whether the dropdown is disabled */
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
/** Additional CSS class */
|
|
18
|
-
className?: string;
|
|
19
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ButtonDropdownProps } from './button-dropdown-types';
|
|
3
|
-
/**
|
|
4
|
-
* A button that opens a dropdown menu to select a single value.
|
|
5
|
-
* Flat component — not a form field. Use Select for form contexts.
|
|
6
|
-
*/
|
|
7
|
-
export declare const ButtonDropdown: React.FC<ButtonDropdownProps>;
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { ButtonDropdownProps } from '../button-dropdown-types';
|
|
3
|
-
declare const meta: Meta<ButtonDropdownProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<ButtonDropdownProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithValue: Story;
|
|
8
|
-
export declare const Variants: Story;
|
|
9
|
-
export declare const Sizes: Story;
|
|
10
|
-
export declare const Disabled: Story;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Option, Size } from '../../types/global-types';
|
|
2
|
-
export interface ButtonGroupProps {
|
|
3
|
-
options: Option[];
|
|
4
|
-
value?: string;
|
|
5
|
-
defaultValue?: string;
|
|
6
|
-
onChange?: (value: string) => void;
|
|
7
|
-
variant?: "base" | "primary" | "secondary";
|
|
8
|
-
size?: Size;
|
|
9
|
-
alignContent?: "center" | "left" | "right";
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* If true, only icons will be displayed in the button group
|
|
13
|
-
*/
|
|
14
|
-
readonly iconOnly?: boolean;
|
|
15
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { ButtonGroup } from './button-group';
|
|
3
|
-
declare const meta: Meta<typeof ButtonGroup>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof ButtonGroup>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Disabled: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Size } from '../../types/global-types';
|
|
2
|
-
export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange"> {
|
|
3
|
-
/** Whether the checkbox is checked */
|
|
4
|
-
checked?: boolean;
|
|
5
|
-
/** Whether the checkbox is in indeterminate state */
|
|
6
|
-
indeterminate?: boolean;
|
|
7
|
-
/** Size of the checkbox */
|
|
8
|
-
size?: Size;
|
|
9
|
-
/** Whether the checkbox is disabled */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** Error state for the checkbox */
|
|
12
|
-
error?: boolean;
|
|
13
|
-
/** Callback when the checkbox value changes */
|
|
14
|
-
onChange?: (checked: boolean) => void;
|
|
15
|
-
}
|
|
File without changes
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { CheckboxProps } from '../checkbox-types';
|
|
3
|
-
declare const meta: Meta<CheckboxProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<CheckboxProps>;
|
|
6
|
-
export declare const Sizes: Story;
|
|
7
|
-
export declare const States: Story;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Size } from '../../types/global-types';
|
|
2
|
-
export interface CheckboxOption {
|
|
3
|
-
/** Value of the checkbox option */
|
|
4
|
-
value: string;
|
|
5
|
-
/** Label to display next to the checkbox */
|
|
6
|
-
label: string;
|
|
7
|
-
/** Whether this option is disabled */
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface CheckboxGroupProps {
|
|
11
|
-
/** Array of checkbox options */
|
|
12
|
-
options: CheckboxOption[];
|
|
13
|
-
/** Currently selected values */
|
|
14
|
-
value?: string[];
|
|
15
|
-
/** Size of each checkbox */
|
|
16
|
-
size?: Size;
|
|
17
|
-
/** Whether all checkboxes are disabled */
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
/** Error state for all checkboxes */
|
|
20
|
-
error?: boolean;
|
|
21
|
-
/** Whether the group is read-only (visual only, no interaction) */
|
|
22
|
-
readOnly?: boolean;
|
|
23
|
-
/** Callback when selection changes */
|
|
24
|
-
onChange?: (selectedValues: string[]) => void;
|
|
25
|
-
/** Additional class name */
|
|
26
|
-
className?: string;
|
|
27
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CheckboxGroupProps } from './checkbox-group-types';
|
|
3
|
-
/**
|
|
4
|
-
* A group of checkboxes that allows multiple selection.
|
|
5
|
-
* Manages the selection state and renders a list of Checkbox components.
|
|
6
|
-
*/
|
|
7
|
-
export declare const CheckboxGroup: React.FC<CheckboxGroupProps>;
|
|
File without changes
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { CheckboxGroupProps } from '../checkbox-group-types';
|
|
3
|
-
declare const meta: Meta<CheckboxGroupProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<CheckboxGroupProps>;
|
|
6
|
-
export declare const Controlled: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { CheckboxGroupProps } from '../checkbox-group-types';
|
|
3
|
-
declare const meta: Meta<CheckboxGroupProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<CheckboxGroupProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithPreselectedValues: Story;
|
|
8
|
-
export declare const Disabled: Story;
|
|
9
|
-
export declare const Error: Story;
|
|
10
|
-
export declare const WithDisabledOption: Story;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { State } from '../../types/global-types';
|
|
2
|
-
export interface FileUploadProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
3
|
-
/**
|
|
4
|
-
* Title of the upload area
|
|
5
|
-
*/
|
|
6
|
-
title?: string;
|
|
7
|
-
/**
|
|
8
|
-
* List of accepted file extensions (e.g. ['.csv', '.txt'])
|
|
9
|
-
*/
|
|
10
|
-
acceptedFileTypes?: string[];
|
|
11
|
-
/**
|
|
12
|
-
* Max file size in bytes
|
|
13
|
-
*/
|
|
14
|
-
maxFileSize?: number;
|
|
15
|
-
/**
|
|
16
|
-
* Max number of files allowed
|
|
17
|
-
*/
|
|
18
|
-
maxFiles?: number;
|
|
19
|
-
/**
|
|
20
|
-
* Callback when files are changed
|
|
21
|
-
*/
|
|
22
|
-
onFilesChange?: (files: File[]) => void;
|
|
23
|
-
/**
|
|
24
|
-
* Custom trigger component to open file dialog.
|
|
25
|
-
* If provided, it renders this element which triggers the file input on click.
|
|
26
|
-
*/
|
|
27
|
-
trigger?: React.ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* State of the component
|
|
30
|
-
*/
|
|
31
|
-
state?: State;
|
|
32
|
-
/**
|
|
33
|
-
* Icon name to display
|
|
34
|
-
*/
|
|
35
|
-
icon?: string;
|
|
36
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const formatBytes: (bytes: number, decimals?: number) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { FileUpload } from '../file-upload';
|
|
3
|
-
declare const meta: Meta<typeof FileUpload>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof FileUpload>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithRestrictions: Story;
|
|
8
|
-
export declare const CustomTrigger: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { DateInputFieldProps } from './date-types';
|
|
3
|
-
/**
|
|
4
|
-
* Masked date input (DD/MM/YYYY for day mode).
|
|
5
|
-
* Slashes are auto-inserted; cursor auto-advances after each segment.
|
|
6
|
-
* The calendar overlay opens ONLY by clicking the calendar icon button.
|
|
7
|
-
*/
|
|
8
|
-
export declare const DateInputField: React.FC<DateInputFieldProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { DatePickerProps } from './date-types';
|
|
3
|
-
/**
|
|
4
|
-
* Single-date picker supporting day, month, quarter, and year modes.
|
|
5
|
-
* Renders a styled text input and opens a calendar overlay on focus/click.
|
|
6
|
-
*/
|
|
7
|
-
export declare const DatePicker: React.FC<DatePickerProps>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { DateRangeInputFieldProps } from './date-types';
|
|
3
|
-
/**
|
|
4
|
-
* Two masked inputs side-by-side formatted as "DD/MM/YYYY – DD/MM/YYYY".
|
|
5
|
-
* After completing the "from" date, focus auto-advances to the "to" date.
|
|
6
|
-
* Calendar opens ONLY via the calendar icon button.
|
|
7
|
-
*/
|
|
8
|
-
export declare const DateRangeInputField: React.FC<DateRangeInputFieldProps>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { DateRangePickerProps } from './date-types';
|
|
3
|
-
/**
|
|
4
|
-
* Date range picker supporting day, month, quarter, and year modes.
|
|
5
|
-
* Shows two calendars side-by-side for range selection.
|
|
6
|
-
* Clicking once sets the start date; clicking again sets the end date.
|
|
7
|
-
*/
|
|
8
|
-
export declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { sharedInputProps } from '../input-types';
|
|
2
|
-
export type DatePickerMode = "day" | "month" | "quarter" | "year";
|
|
3
|
-
export interface DateRange {
|
|
4
|
-
from: Date | undefined;
|
|
5
|
-
to: Date | undefined;
|
|
6
|
-
}
|
|
7
|
-
export interface DatePickerProps extends sharedInputProps {
|
|
8
|
-
value: Date | undefined;
|
|
9
|
-
onChange: (value: Date | undefined) => void;
|
|
10
|
-
mode?: DatePickerMode;
|
|
11
|
-
shortcuts?: boolean;
|
|
12
|
-
readOnly?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface DateRangePickerProps extends Omit<sharedInputProps, "onKeyDown"> {
|
|
15
|
-
value: DateRange;
|
|
16
|
-
onChange: (value: DateRange) => void;
|
|
17
|
-
mode?: DatePickerMode;
|
|
18
|
-
shortcuts?: boolean;
|
|
19
|
-
readOnly?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export interface CalendarProps {
|
|
22
|
-
viewDate: Date;
|
|
23
|
-
onViewDateChange: (date: Date) => void;
|
|
24
|
-
selectedDate?: Date;
|
|
25
|
-
rangeStart?: Date;
|
|
26
|
-
rangeEnd?: Date;
|
|
27
|
-
hoveredDate?: Date;
|
|
28
|
-
onHover?: (date: Date | undefined) => void;
|
|
29
|
-
onSelect: (date: Date) => void;
|
|
30
|
-
mode: DatePickerMode;
|
|
31
|
-
onModeChange: (mode: DatePickerMode) => void;
|
|
32
|
-
}
|
|
33
|
-
export interface DateShortcutsProps {
|
|
34
|
-
pickerMode: DatePickerMode;
|
|
35
|
-
rangeMode: boolean;
|
|
36
|
-
onSelectSingle: (date: Date) => void;
|
|
37
|
-
onSelectRange: (range: DateRange) => void;
|
|
38
|
-
}
|
|
39
|
-
export interface DateRangeInputFieldProps extends Omit<sharedInputProps, "placeholder" | "onKeyDown"> {
|
|
40
|
-
value: DateRange;
|
|
41
|
-
mode: DatePickerMode;
|
|
42
|
-
onRangeChange: (range: DateRange) => void;
|
|
43
|
-
onOpen: () => void;
|
|
44
|
-
isReadOnly?: boolean;
|
|
45
|
-
}
|
|
46
|
-
export interface DateInputFieldProps extends sharedInputProps {
|
|
47
|
-
value: Date | undefined;
|
|
48
|
-
mode: DatePickerMode;
|
|
49
|
-
onDateChange: (date: Date | undefined) => void;
|
|
50
|
-
onOpen: () => void;
|
|
51
|
-
readOnly?: boolean;
|
|
52
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { DatePickerMode } from './date-types';
|
|
2
|
-
/** Build a 6-week (42-day) grid starting from the Monday before the 1st of the month */
|
|
3
|
-
export declare function buildDayGrid(year: number, month: number): Date[];
|
|
4
|
-
export declare const WEEK_DAYS: string[];
|
|
5
|
-
export declare const MONTH_NAMES: string[];
|
|
6
|
-
export declare const QUARTER_NAMES: string[];
|
|
7
|
-
/** Returns the index of the quarter (0-3) for a given month (0-11) */
|
|
8
|
-
export declare function getQuarter(date: Date): number;
|
|
9
|
-
/** Returns the first day of a quarter */
|
|
10
|
-
export declare function startOfQuarter(year: number, quarter: number): Date;
|
|
11
|
-
/** Returns the last day of a quarter */
|
|
12
|
-
export declare function endOfQuarter(year: number, quarter: number): Date;
|
|
13
|
-
/** Format a Date for display according to the picker mode. */
|
|
14
|
-
export declare function formatByMode(date: Date | undefined, mode: DatePickerMode): string;
|
|
15
|
-
/** Return the 8-digit string (DDMMYYYY) from a Date, used to seed masked inputs. */
|
|
16
|
-
export declare function extractDateDigits(date: Date | undefined): string;
|
|
17
|
-
/** Format a raw digit string (DDMMYYYY) into the DD/MM/YYYY display form. */
|
|
18
|
-
export declare function formatDigitsToDisplay(digits: string): string;
|
|
19
|
-
/** Parse a raw digit string (DDMMYYYY, 8 chars) into a Date. */
|
|
20
|
-
export declare function parseDigitsToDate(digits: string): Date | undefined;
|
|
21
|
-
/** Returns true if two dates match at the given granularity. */
|
|
22
|
-
export declare function isSame(a: Date | undefined, b: Date | undefined, mode: DatePickerMode): boolean;
|
|
23
|
-
/** Returns true if date is strictly between start and end at the given granularity. */
|
|
24
|
-
export declare function isBetweenByMode(date: Date, start: Date | undefined, end: Date | undefined, mode: DatePickerMode): boolean;
|
|
25
|
-
export declare function startOfDay(d: Date): Date;
|
|
26
|
-
export declare function startOfWeek(d: Date): Date;
|
|
27
|
-
export declare function endOfWeek(d: Date): Date;
|
|
28
|
-
export declare function startOfMonth(d: Date): Date;
|
|
29
|
-
export declare function endOfMonth(d: Date): Date;
|
|
30
|
-
export declare function startOfYear(d: Date): Date;
|
|
31
|
-
export declare function endOfYear(d: Date): Date;
|
|
32
|
-
export declare function addDays(d: Date, n: number): Date;
|
|
33
|
-
export declare function addMonths(d: Date, n: number): Date;
|
|
34
|
-
export declare function addYears(d: Date, n: number): Date;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DatePickerMode } from './date-types';
|
|
2
|
-
/**
|
|
3
|
-
* Shared masked-digit input logic for date fields (DD/MM/YYYY).
|
|
4
|
-
* Manages digit state, cursor auto-advance after DD/MM, and onBlur reset.
|
|
5
|
-
*/
|
|
6
|
-
export declare function useDigitInput(opts: {
|
|
7
|
-
mode: DatePickerMode;
|
|
8
|
-
value: Date | undefined;
|
|
9
|
-
onCommit: (date: Date | undefined) => void;
|
|
10
|
-
/** Called when 8 digits are entered and the date is valid. Use for auto-advance to next field. */
|
|
11
|
-
onComplete?: () => void;
|
|
12
|
-
}): {
|
|
13
|
-
ref: import('react').RefObject<HTMLInputElement | null>;
|
|
14
|
-
digits: string;
|
|
15
|
-
displayValue: string;
|
|
16
|
-
handleChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
17
|
-
handleBlur: (onExternalBlur?: () => void) => void;
|
|
18
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Size } from '../../types/global-types';
|
|
2
|
-
export interface InputProps {
|
|
3
|
-
error?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
size?: Size;
|
|
6
|
-
leadingIcon?: string;
|
|
7
|
-
trailingIcon?: string;
|
|
8
|
-
autoFocus?: boolean;
|
|
9
|
-
className?: string;
|
|
10
|
-
children: (props: InputChildProps) => React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export interface InputChildProps {
|
|
13
|
-
id: string;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface sharedInputProps {
|
|
17
|
-
autoFocus?: boolean;
|
|
18
|
-
placeholder?: string;
|
|
19
|
-
className?: string;
|
|
20
|
-
error?: string;
|
|
21
|
-
leadingIcon?: string;
|
|
22
|
-
trailingIcon?: string;
|
|
23
|
-
size?: Size;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
onBlur?: () => void;
|
|
26
|
-
onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
27
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { TextInputProps } from '../input-text-types';
|
|
3
|
-
declare const meta: Meta<TextInputProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<TextInputProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const ReadOnly: Story;
|
|
8
|
-
export declare const WithError: Story;
|
|
9
|
-
export declare const Disabled: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { Kbd } from './kbd';
|
|
3
|
-
declare const meta: Meta<typeof Kbd>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Kbd>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const SingleKeys: Story;
|
|
8
|
-
export declare const KeyCombinations: Story;
|
|
9
|
-
export declare const InText: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface KbdGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
2
|
-
/**
|
|
3
|
-
* Array of keyboard keys to display as a group
|
|
4
|
-
*/
|
|
5
|
-
keys: string[];
|
|
6
|
-
/**
|
|
7
|
-
* Separator to display between keys
|
|
8
|
-
*/
|
|
9
|
-
separator?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Whether to show separators between keys (for key combinations)
|
|
12
|
-
*/
|
|
13
|
-
showSeparator?: boolean;
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { KbdGroup } from './kbd-group';
|
|
3
|
-
declare const meta: Meta<typeof KbdGroup>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof KbdGroup>;
|
|
6
|
-
export declare const SingleKey: Story;
|
|
7
|
-
export declare const KeyCombination: Story;
|
|
8
|
-
export declare const MultipleModifiers: Story;
|
|
9
|
-
export declare const Examples: Story;
|
|
10
|
-
export declare const InContext: Story;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Option, ListItemVariant } from '../../types/global-types';
|
|
2
|
-
export interface ListItemRenderState {
|
|
3
|
-
isActive: boolean;
|
|
4
|
-
isSelected: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface ListProps {
|
|
7
|
-
id?: string;
|
|
8
|
-
options: Option[];
|
|
9
|
-
ref?: React.Ref<HTMLElement | null>;
|
|
10
|
-
showFilter?: boolean;
|
|
11
|
-
selectedIndex?: number;
|
|
12
|
-
activeIndex?: string[];
|
|
13
|
-
width?: number;
|
|
14
|
-
/**
|
|
15
|
-
* Accepts multiple aria-selected
|
|
16
|
-
*/
|
|
17
|
-
multiple?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Preset item layout variant.
|
|
20
|
-
* - "default": text + leadingVisual icon + check
|
|
21
|
-
* - "with-image": avatar/image + text + check
|
|
22
|
-
* - "with-description": title + subtitle + check
|
|
23
|
-
*/
|
|
24
|
-
itemVariant?: ListItemVariant;
|
|
25
|
-
/**
|
|
26
|
-
* Custom render function for each list item.
|
|
27
|
-
* When provided, it overrides `itemVariant`.
|
|
28
|
-
*/
|
|
29
|
-
renderItem?: (option: Option, index: number, state: ListItemRenderState) => React.ReactNode;
|
|
30
|
-
/**
|
|
31
|
-
* Height of each item in pixels. Used by virtual scroll.
|
|
32
|
-
* Defaults: 24 for "default", 48 for "with-image" and "with-description".
|
|
33
|
-
*/
|
|
34
|
-
itemHeight?: number;
|
|
35
|
-
onClick?: (option: Option) => void;
|
|
36
|
-
onKeyDown?: (e: React.KeyboardEvent) => void;
|
|
37
|
-
}
|