@restio/ui 0.2.1 → 0.2.2
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 +961 -0
- package/dist/core.js +35 -0
- package/dist/data.cjs +1 -0
- package/dist/data.d.ts +1464 -0
- package/dist/data.js +24 -0
- package/dist/experimental.cjs +2 -0
- package/dist/experimental.d.ts +659 -0
- package/dist/experimental.js +1360 -0
- package/dist/framework.cjs +1 -0
- package/dist/framework.d.ts +760 -0
- package/dist/framework.js +34 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +3251 -151
- package/dist/index.js +98 -0
- package/dist/{restio-ui.es.js → src-Bzrq1hWW.js} +36640 -36783
- package/dist/src-kY7g6XFo.cjs +158 -0
- package/dist/ui.css +1 -1
- package/package.json +48 -26
- 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,12 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import('react').FC<import('./list-types').ListProps>;
|
|
5
|
-
tags: string[];
|
|
6
|
-
argTypes: {};
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Default: Story;
|
|
11
|
-
export declare const WithImage: Story;
|
|
12
|
-
export declare const WithDescription: Story;
|
|
File without changes
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { MenuItem } from './menu-types';
|
|
3
|
-
import { anchorAlign, AnchorPosition } from '../../types/global-types';
|
|
4
|
-
export interface MenuComponentProps {
|
|
5
|
-
readonly items: MenuItem[];
|
|
6
|
-
readonly anchor: React.ReactNode;
|
|
7
|
-
readonly isOpen: boolean;
|
|
8
|
-
readonly onClose?: () => void;
|
|
9
|
-
readonly onItemClick?: (item: MenuItem) => void;
|
|
10
|
-
readonly width?: number | string;
|
|
11
|
-
readonly initialTitle?: string;
|
|
12
|
-
readonly isClosingOnSelect?: boolean;
|
|
13
|
-
readonly variant?: "stack" | "flyout";
|
|
14
|
-
readonly position?: AnchorPosition;
|
|
15
|
-
readonly align?: anchorAlign;
|
|
16
|
-
}
|
|
17
|
-
export declare const MenuComponent: React.FC<MenuComponentProps>;
|
|
18
|
-
export default MenuComponent;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { anchorAlign, AnchorPosition } from '../../types/global-types';
|
|
3
|
-
export interface MenuItem {
|
|
4
|
-
id?: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
leadingVisual?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
children?: MenuItem[];
|
|
9
|
-
onClick?: (item: MenuItem) => void;
|
|
10
|
-
type?: "item" | "separator";
|
|
11
|
-
shortcut?: string[];
|
|
12
|
-
content?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export interface MenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
15
|
-
onItemClick?: (item: MenuItem) => void;
|
|
16
|
-
}
|
|
17
|
-
export interface MenuSubmenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
18
|
-
trigger: React.ReactNode;
|
|
19
|
-
position?: AnchorPosition;
|
|
20
|
-
align?: anchorAlign;
|
|
21
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { MenuProps, MenuItem, MenuSubmenuProps } from './menu-types';
|
|
3
|
-
export declare const Menu: React.FC<MenuProps> & {
|
|
4
|
-
Item: React.FC<MenuItem>;
|
|
5
|
-
Separator: React.FC<React.HTMLAttributes<HTMLHRElement>>;
|
|
6
|
-
Submenu: React.FC<MenuSubmenuProps>;
|
|
7
|
-
};
|
|
8
|
-
export default Menu;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as MenuComponent } from '../anchored-navigation-menu';
|
|
3
|
-
declare const meta: Meta<typeof MenuComponent>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof MenuComponent>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Variant: Story;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OTP Component Props
|
|
3
|
-
*/
|
|
4
|
-
export interface OTPProps {
|
|
5
|
-
/**
|
|
6
|
-
* Length of the OTP code (number of input fields)
|
|
7
|
-
* @default 6
|
|
8
|
-
*/
|
|
9
|
-
length?: number;
|
|
10
|
-
/**
|
|
11
|
-
* Callback triggered when OTP value changes
|
|
12
|
-
* @param value - The current OTP value
|
|
13
|
-
*/
|
|
14
|
-
onChange?: (value: string) => void;
|
|
15
|
-
/**
|
|
16
|
-
* Callback triggered when OTP is completely filled
|
|
17
|
-
* @param value - The complete OTP value
|
|
18
|
-
*/
|
|
19
|
-
onComplete?: (value: string) => void;
|
|
20
|
-
/**
|
|
21
|
-
* ARIA label for the OTP container
|
|
22
|
-
* @default 'One-time password input'
|
|
23
|
-
*/
|
|
24
|
-
ariaLabel?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Class name for the container
|
|
27
|
-
*/
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Focuses the input at the specified index in the ref array.
|
|
3
|
-
* @param refs - Array of input element references.
|
|
4
|
-
* @param index - Index of the input to focus.
|
|
5
|
-
*/
|
|
6
|
-
export declare function focusInput(refs: Array<HTMLInputElement | null>, index: number): void;
|
|
7
|
-
/**
|
|
8
|
-
* Processes a pasted string and returns an array of characters to fill the OTP input.
|
|
9
|
-
* Only numeric digits are retained.
|
|
10
|
-
* @param pasted - The pasted string.
|
|
11
|
-
* @param length - The length of the OTP input.
|
|
12
|
-
* @returns An array of characters to set as input values.
|
|
13
|
-
*/
|
|
14
|
-
export declare function processPastedValue(pasted: string, length: number): string[];
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Meta } from '@storybook/react-vite';
|
|
3
|
-
import { OTPComponent as OTP } from './otp';
|
|
4
|
-
import { OTPProps } from './otp-types';
|
|
5
|
-
/**
|
|
6
|
-
* Meta information for the stories
|
|
7
|
-
*/
|
|
8
|
-
declare const meta: Meta<typeof OTP>;
|
|
9
|
-
export default meta;
|
|
10
|
-
/**
|
|
11
|
-
* Default OTP with 6 digits
|
|
12
|
-
*/
|
|
13
|
-
export declare const Default: {
|
|
14
|
-
args: {
|
|
15
|
-
length: number;
|
|
16
|
-
};
|
|
17
|
-
decorators?: import('storybook/internal/csf').DecoratorFunction<import('@storybook/react').ReactRenderer, {
|
|
18
|
-
length?: number | undefined;
|
|
19
|
-
onChange?: ((value: string) => void) | undefined;
|
|
20
|
-
onComplete?: ((value: string) => void) | undefined;
|
|
21
|
-
ariaLabel?: string | undefined;
|
|
22
|
-
className?: string | undefined;
|
|
23
|
-
}> | import('storybook/internal/csf').DecoratorFunction<import('@storybook/react').ReactRenderer, {
|
|
24
|
-
length?: number | undefined;
|
|
25
|
-
onChange?: ((value: string) => void) | undefined;
|
|
26
|
-
onComplete?: ((value: string) => void) | undefined;
|
|
27
|
-
ariaLabel?: string | undefined;
|
|
28
|
-
className?: string | undefined;
|
|
29
|
-
}>[] | undefined;
|
|
30
|
-
parameters?: import('@storybook/react').Parameters | undefined;
|
|
31
|
-
argTypes?: Partial<import('@storybook/react').ArgTypes<OTPProps>> | undefined;
|
|
32
|
-
loaders?: import('storybook/internal/csf').LoaderFunction<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').LoaderFunction<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
33
|
-
beforeEach?: import('storybook/internal/csf').BeforeEach<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').BeforeEach<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
34
|
-
afterEach?: import('storybook/internal/csf').AfterEach<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').AfterEach<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
35
|
-
render?: import('storybook/internal/csf').ArgsStoryFn<import('@storybook/react').ReactRenderer, OTPProps> | undefined;
|
|
36
|
-
tags?: string[] | undefined;
|
|
37
|
-
mount?: ((context: import('storybook/internal/csf').StoryContext<import('@storybook/react').ReactRenderer, OTPProps>) => (ui?: React.JSX.Element) => Promise<import('storybook/internal/csf').Canvas>) | undefined;
|
|
38
|
-
name?: import('storybook/internal/csf').StoryName;
|
|
39
|
-
storyName?: import('storybook/internal/csf').StoryName;
|
|
40
|
-
play?: import('storybook/internal/csf').PlayFunction<import('@storybook/react').ReactRenderer, OTPProps> | undefined;
|
|
41
|
-
globals?: Partial<import('storybook/internal/csf').Globals> | undefined;
|
|
42
|
-
story?: Omit<import('storybook/internal/csf').StoryAnnotations<import('@storybook/react').ReactRenderer, OTPProps, Partial<OTPProps>>, "story"> | undefined;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* OTP with 4 digits
|
|
46
|
-
*/
|
|
47
|
-
export declare const FourDigits: {
|
|
48
|
-
args: {
|
|
49
|
-
length: number;
|
|
50
|
-
};
|
|
51
|
-
name: string;
|
|
52
|
-
decorators?: import('storybook/internal/csf').DecoratorFunction<import('@storybook/react').ReactRenderer, {
|
|
53
|
-
length?: number | undefined;
|
|
54
|
-
onChange?: ((value: string) => void) | undefined;
|
|
55
|
-
onComplete?: ((value: string) => void) | undefined;
|
|
56
|
-
ariaLabel?: string | undefined;
|
|
57
|
-
className?: string | undefined;
|
|
58
|
-
}> | import('storybook/internal/csf').DecoratorFunction<import('@storybook/react').ReactRenderer, {
|
|
59
|
-
length?: number | undefined;
|
|
60
|
-
onChange?: ((value: string) => void) | undefined;
|
|
61
|
-
onComplete?: ((value: string) => void) | undefined;
|
|
62
|
-
ariaLabel?: string | undefined;
|
|
63
|
-
className?: string | undefined;
|
|
64
|
-
}>[] | undefined;
|
|
65
|
-
parameters?: import('@storybook/react').Parameters | undefined;
|
|
66
|
-
argTypes?: Partial<import('@storybook/react').ArgTypes<OTPProps>> | undefined;
|
|
67
|
-
loaders?: import('storybook/internal/csf').LoaderFunction<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').LoaderFunction<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
68
|
-
beforeEach?: import('storybook/internal/csf').BeforeEach<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').BeforeEach<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
69
|
-
afterEach?: import('storybook/internal/csf').AfterEach<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').AfterEach<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
70
|
-
render?: import('storybook/internal/csf').ArgsStoryFn<import('@storybook/react').ReactRenderer, OTPProps> | undefined;
|
|
71
|
-
tags?: string[] | undefined;
|
|
72
|
-
mount?: ((context: import('storybook/internal/csf').StoryContext<import('@storybook/react').ReactRenderer, OTPProps>) => (ui?: React.JSX.Element) => Promise<import('storybook/internal/csf').Canvas>) | undefined;
|
|
73
|
-
storyName?: import('storybook/internal/csf').StoryName;
|
|
74
|
-
play?: import('storybook/internal/csf').PlayFunction<import('@storybook/react').ReactRenderer, OTPProps> | undefined;
|
|
75
|
-
globals?: Partial<import('storybook/internal/csf').Globals> | undefined;
|
|
76
|
-
story?: Omit<import('storybook/internal/csf').StoryAnnotations<import('@storybook/react').ReactRenderer, OTPProps, Partial<OTPProps>>, "story"> | undefined;
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* OTP with 8 digits
|
|
80
|
-
*/
|
|
81
|
-
export declare const EightDigits: {
|
|
82
|
-
args: {
|
|
83
|
-
length: number;
|
|
84
|
-
};
|
|
85
|
-
name: string;
|
|
86
|
-
decorators?: import('storybook/internal/csf').DecoratorFunction<import('@storybook/react').ReactRenderer, {
|
|
87
|
-
length?: number | undefined;
|
|
88
|
-
onChange?: ((value: string) => void) | undefined;
|
|
89
|
-
onComplete?: ((value: string) => void) | undefined;
|
|
90
|
-
ariaLabel?: string | undefined;
|
|
91
|
-
className?: string | undefined;
|
|
92
|
-
}> | import('storybook/internal/csf').DecoratorFunction<import('@storybook/react').ReactRenderer, {
|
|
93
|
-
length?: number | undefined;
|
|
94
|
-
onChange?: ((value: string) => void) | undefined;
|
|
95
|
-
onComplete?: ((value: string) => void) | undefined;
|
|
96
|
-
ariaLabel?: string | undefined;
|
|
97
|
-
className?: string | undefined;
|
|
98
|
-
}>[] | undefined;
|
|
99
|
-
parameters?: import('@storybook/react').Parameters | undefined;
|
|
100
|
-
argTypes?: Partial<import('@storybook/react').ArgTypes<OTPProps>> | undefined;
|
|
101
|
-
loaders?: import('storybook/internal/csf').LoaderFunction<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').LoaderFunction<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
102
|
-
beforeEach?: import('storybook/internal/csf').BeforeEach<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').BeforeEach<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
103
|
-
afterEach?: import('storybook/internal/csf').AfterEach<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').AfterEach<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
104
|
-
render?: import('storybook/internal/csf').ArgsStoryFn<import('@storybook/react').ReactRenderer, OTPProps> | undefined;
|
|
105
|
-
tags?: string[] | undefined;
|
|
106
|
-
mount?: ((context: import('storybook/internal/csf').StoryContext<import('@storybook/react').ReactRenderer, OTPProps>) => (ui?: React.JSX.Element) => Promise<import('storybook/internal/csf').Canvas>) | undefined;
|
|
107
|
-
storyName?: import('storybook/internal/csf').StoryName;
|
|
108
|
-
play?: import('storybook/internal/csf').PlayFunction<import('@storybook/react').ReactRenderer, OTPProps> | undefined;
|
|
109
|
-
globals?: Partial<import('storybook/internal/csf').Globals> | undefined;
|
|
110
|
-
story?: Omit<import('storybook/internal/csf').StoryAnnotations<import('@storybook/react').ReactRenderer, OTPProps, Partial<OTPProps>>, "story"> | undefined;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* OTP with custom ARIA label
|
|
114
|
-
*/
|
|
115
|
-
export declare const WithCustomAriaLabel: {
|
|
116
|
-
args: {
|
|
117
|
-
ariaLabel: string;
|
|
118
|
-
};
|
|
119
|
-
name: string;
|
|
120
|
-
decorators?: import('storybook/internal/csf').DecoratorFunction<import('@storybook/react').ReactRenderer, {
|
|
121
|
-
length?: number | undefined;
|
|
122
|
-
onChange?: ((value: string) => void) | undefined;
|
|
123
|
-
onComplete?: ((value: string) => void) | undefined;
|
|
124
|
-
ariaLabel?: string | undefined;
|
|
125
|
-
className?: string | undefined;
|
|
126
|
-
}> | import('storybook/internal/csf').DecoratorFunction<import('@storybook/react').ReactRenderer, {
|
|
127
|
-
length?: number | undefined;
|
|
128
|
-
onChange?: ((value: string) => void) | undefined;
|
|
129
|
-
onComplete?: ((value: string) => void) | undefined;
|
|
130
|
-
ariaLabel?: string | undefined;
|
|
131
|
-
className?: string | undefined;
|
|
132
|
-
}>[] | undefined;
|
|
133
|
-
parameters?: import('@storybook/react').Parameters | undefined;
|
|
134
|
-
argTypes?: Partial<import('@storybook/react').ArgTypes<OTPProps>> | undefined;
|
|
135
|
-
loaders?: import('storybook/internal/csf').LoaderFunction<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').LoaderFunction<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
136
|
-
beforeEach?: import('storybook/internal/csf').BeforeEach<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').BeforeEach<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
137
|
-
afterEach?: import('storybook/internal/csf').AfterEach<import('@storybook/react').ReactRenderer, OTPProps> | import('storybook/internal/csf').AfterEach<import('@storybook/react').ReactRenderer, OTPProps>[] | undefined;
|
|
138
|
-
render?: import('storybook/internal/csf').ArgsStoryFn<import('@storybook/react').ReactRenderer, OTPProps> | undefined;
|
|
139
|
-
tags?: string[] | undefined;
|
|
140
|
-
mount?: ((context: import('storybook/internal/csf').StoryContext<import('@storybook/react').ReactRenderer, OTPProps>) => (ui?: React.JSX.Element) => Promise<import('storybook/internal/csf').Canvas>) | undefined;
|
|
141
|
-
storyName?: import('storybook/internal/csf').StoryName;
|
|
142
|
-
play?: import('storybook/internal/csf').PlayFunction<import('@storybook/react').ReactRenderer, OTPProps> | undefined;
|
|
143
|
-
globals?: Partial<import('storybook/internal/csf').Globals> | undefined;
|
|
144
|
-
story?: Omit<import('storybook/internal/csf').StoryAnnotations<import('@storybook/react').ReactRenderer, OTPProps, Partial<OTPProps>>, "story"> | undefined;
|
|
145
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { State } from '../../types/global-types';
|
|
2
|
-
export interface ProgressBarProps {
|
|
3
|
-
/** Current progress value */
|
|
4
|
-
value: number;
|
|
5
|
-
/** Minimum value of the range. Defaults to 0. */
|
|
6
|
-
min?: number;
|
|
7
|
-
/** Maximum value of the range. Defaults to 100. */
|
|
8
|
-
max?: number;
|
|
9
|
-
/** Visual variant for color theming */
|
|
10
|
-
variant?: State;
|
|
11
|
-
/** Whether the progress bar is in an indeterminate loading state */
|
|
12
|
-
indeterminate?: boolean;
|
|
13
|
-
/** Whether to show the header with percentage (left) and value (right) above the bar */
|
|
14
|
-
showLabel?: boolean;
|
|
15
|
-
/** Custom label text (overrides the percentage on the left) */
|
|
16
|
-
label?: string;
|
|
17
|
-
/** Custom formatter for the value shown on the right */
|
|
18
|
-
formatValue?: (value: number) => string;
|
|
19
|
-
/** Height of the progress bar */
|
|
20
|
-
height?: number;
|
|
21
|
-
/** Whether the component is disabled */
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
/** Additional CSS class name */
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { ProgressBarProps } from '../progress-bar-types';
|
|
3
|
-
declare const meta: Meta<ProgressBarProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<ProgressBarProps>;
|
|
6
|
-
export declare const Variant: Story;
|
|
7
|
-
export declare const Values: Story;
|
|
8
|
-
export declare const States: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { ProgressBarProps } from '../progress-bar-types';
|
|
3
|
-
declare const meta: Meta<ProgressBarProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<ProgressBarProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithLabel: Story;
|
|
8
|
-
export declare const GenericValue: Story;
|
|
9
|
-
export declare const Indeterminate: Story;
|
|
10
|
-
export declare const Disabled: Story;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Size } from '../../types/global-types';
|
|
2
|
-
export interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "type"> {
|
|
3
|
-
/** Whether the radio is checked */
|
|
4
|
-
checked?: boolean;
|
|
5
|
-
/** Size of the radio */
|
|
6
|
-
size?: Size;
|
|
7
|
-
/** Whether the radio is disabled */
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
/** Error state for the radio */
|
|
10
|
-
error?: boolean;
|
|
11
|
-
/** Callback when the radio value changes */
|
|
12
|
-
onChange?: (checked: boolean) => void;
|
|
13
|
-
}
|
|
File without changes
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { RadioProps } from '../radio-types';
|
|
3
|
-
declare const meta: Meta<RadioProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<RadioProps>;
|
|
6
|
-
export declare const Sizes: Story;
|
|
7
|
-
export declare const States: Story;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Size } from '../../types/global-types';
|
|
2
|
-
export interface RadioOption {
|
|
3
|
-
/** Value of the radio option */
|
|
4
|
-
value: string;
|
|
5
|
-
/** Label to display next to the radio */
|
|
6
|
-
label: string;
|
|
7
|
-
/** Whether this option is disabled */
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface RadioGroupProps {
|
|
11
|
-
/** Array of radio options */
|
|
12
|
-
options: RadioOption[];
|
|
13
|
-
/** Currently selected value */
|
|
14
|
-
value?: string;
|
|
15
|
-
/** Name attribute for the radio group (used for HTML radio behavior) */
|
|
16
|
-
name?: string;
|
|
17
|
-
/** Size of each radio */
|
|
18
|
-
size?: Size;
|
|
19
|
-
/** Whether all radios are disabled */
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
/** Error state for all radios */
|
|
22
|
-
error?: boolean;
|
|
23
|
-
/** Whether the group is read-only (visual only, no interaction) */
|
|
24
|
-
readOnly?: boolean;
|
|
25
|
-
/** Callback when selection changes */
|
|
26
|
-
onChange?: (value: string) => void;
|
|
27
|
-
/** Additional class name */
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { RadioGroupProps } from './radio-group-types';
|
|
3
|
-
/**
|
|
4
|
-
* A group of radios that allows single selection.
|
|
5
|
-
* Manages the selection state and renders a list of Radio components.
|
|
6
|
-
*/
|
|
7
|
-
export declare const RadioGroup: React.FC<RadioGroupProps>;
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { RadioGroupProps } from '../radio-group-types';
|
|
3
|
-
declare const meta: Meta<RadioGroupProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<RadioGroupProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithPreselectedValue: Story;
|
|
8
|
-
export declare const Disabled: Story;
|
|
9
|
-
export declare const Error: Story;
|
|
10
|
-
export declare const WithDisabledOption: Story;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SelectType } from './select-types';
|
|
3
|
-
import { SelectTemplateProps, PreviewDialogTemplateProps } from './templates/select-template-types';
|
|
4
|
-
/** Extra props forwarded to built-in templates. */
|
|
5
|
-
export interface ResolveTemplateExtras {
|
|
6
|
-
/** Dialog title (`type="preview-dialog"`). */
|
|
7
|
-
title?: string;
|
|
8
|
-
/** Live preview renderer (`type="preview-dialog"`). */
|
|
9
|
-
renderPreview?: PreviewDialogTemplateProps["renderPreview"];
|
|
10
|
-
/** Custom dropdown content (escape hatch). */
|
|
11
|
-
renderList?: (props: SelectTemplateProps) => React.ReactNode;
|
|
12
|
-
/** Custom dialog content (escape hatch). */
|
|
13
|
-
renderDialog?: (props: SelectTemplateProps) => React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
export interface ResolveTemplateResult {
|
|
16
|
-
/** The resolved React node to render inside the overlay. */
|
|
17
|
-
content: React.ReactNode;
|
|
18
|
-
/** Whether the overlay should be a full dialog (OverlayPanel) or an anchored dropdown. */
|
|
19
|
-
isDialog: boolean;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Pure helper: given the Select's `type` and shared template props, returns
|
|
23
|
-
* the right template node and whether it needs a dialog wrapper. Select.tsx
|
|
24
|
-
* delegates here so it only manages open/close state and trigger rendering.
|
|
25
|
-
*/
|
|
26
|
-
export declare const resolveTemplate: (type: SelectType | undefined, templateProps: SelectTemplateProps, extras: ResolveTemplateExtras) => ResolveTemplateResult;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Option, Size } from '../../types/global-types';
|
|
2
|
-
import { SelectTemplateProps } from './templates/select-template-types';
|
|
3
|
-
/** Select template types supported out of the box. */
|
|
4
|
-
export type SelectType = "list" | "grid" | "preview-dialog";
|
|
5
|
-
interface SelectBaseProps {
|
|
6
|
-
/** Active value of the select: `string` for single, `string[]` for multiple. */
|
|
7
|
-
value: string | string[];
|
|
8
|
-
/** List of possible options. */
|
|
9
|
-
options: Option[];
|
|
10
|
-
/** Label shown above the field. */
|
|
11
|
-
label?: string;
|
|
12
|
-
/** Helper text shown below the field. */
|
|
13
|
-
helperText?: string;
|
|
14
|
-
/** Disables the select trigger. */
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
/** Size of the select trigger button. */
|
|
17
|
-
size?: Size;
|
|
18
|
-
/** Enables multiselection. */
|
|
19
|
-
multiple?: boolean;
|
|
20
|
-
/** Called when the selection changes. Receives `string` (single) or `string[]` (multiple). */
|
|
21
|
-
onChange?: (value: string | string[]) => void;
|
|
22
|
-
}
|
|
23
|
-
export interface SelectProps extends SelectBaseProps {
|
|
24
|
-
/** Built-in template kind. Defaults to `"list"` when omitted. */
|
|
25
|
-
type?: SelectType;
|
|
26
|
-
/** Dialog title (`type="preview-dialog"`). */
|
|
27
|
-
title?: string;
|
|
28
|
-
/** Renders the live preview of drafted selections (`type="preview-dialog"`). */
|
|
29
|
-
renderPreview?: (selected: Option[]) => React.ReactNode;
|
|
30
|
-
/** Custom inline dropdown content (replaces built-in templates). */
|
|
31
|
-
renderList?: (props: SelectTemplateProps) => React.ReactNode;
|
|
32
|
-
/** Custom dialog content (opens an OverlayPanel instead of a dropdown). */
|
|
33
|
-
renderDialog?: (props: SelectTemplateProps) => React.ReactNode;
|
|
34
|
-
}
|
|
35
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { SelectProps } from './select-types';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: import('react').FC<SelectProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
argTypes: {};
|
|
11
|
-
};
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof meta>;
|
|
14
|
-
export declare const Default: Story;
|
|
15
|
-
export declare const FullSelect: Story;
|
|
16
|
-
export declare const Disabled: Story;
|
|
17
|
-
export declare const MultipleSelect: Story;
|
|
18
|
-
export declare const WithGrid: Story;
|
|
19
|
-
export declare const GridMulti: Story;
|
|
20
|
-
export declare const PreviewDialog: Story;
|
|
File without changes
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SelectTemplateProps } from './select-template-types';
|
|
3
|
-
/**
|
|
4
|
-
* Grid Select template: renders a SelectionGrid inside the dropdown.
|
|
5
|
-
* Used when `type="grid"`. Column count defaults to SelectionGrid's own default.
|
|
6
|
-
*/
|
|
7
|
-
export declare const GridTemplate: React.FC<SelectTemplateProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SelectTemplateProps } from './select-template-types';
|
|
3
|
-
/**
|
|
4
|
-
* Default Select template: renders a virtualized List with filter and
|
|
5
|
-
* keyboard navigation. Used when `type` is omitted or set to `"list"`.
|
|
6
|
-
*/
|
|
7
|
-
export declare const ListTemplate: React.FC<SelectTemplateProps>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { PreviewDialogTemplateProps } from './select-template-types';
|
|
3
|
-
/**
|
|
4
|
-
* Dialog template with a two-column layout: selectable List on the left,
|
|
5
|
-
* live preview of selected items on the right, and Apply/Cancel footer.
|
|
6
|
-
* Uses internal draft state so the consumer value only changes on Apply.
|
|
7
|
-
* Used when `type="preview-dialog"`.
|
|
8
|
-
*/
|
|
9
|
-
export declare const PreviewDialogTemplate: React.FC<PreviewDialogTemplateProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Option } from '../../../types/global-types';
|
|
2
|
-
export interface SelectTemplateProps {
|
|
3
|
-
options: Option[];
|
|
4
|
-
value: string | string[];
|
|
5
|
-
multiple: boolean;
|
|
6
|
-
onChange: (value: string | string[]) => void;
|
|
7
|
-
onClose: () => void;
|
|
8
|
-
}
|
|
9
|
-
export interface PreviewDialogTemplateProps extends SelectTemplateProps {
|
|
10
|
-
title?: string;
|
|
11
|
-
renderPreview?: (selected: Option[]) => React.ReactNode;
|
|
12
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Option, Size } from '../../types/global-types';
|
|
2
|
-
export interface SelectionGridProps {
|
|
3
|
-
/** Array of selectable options */
|
|
4
|
-
options: Option[];
|
|
5
|
-
/** Currently selected value(s). Single string for single-select, string[] for multi-select. */
|
|
6
|
-
value?: string | string[];
|
|
7
|
-
/** Callback when selection changes */
|
|
8
|
-
onChange?: (value: string | string[]) => void;
|
|
9
|
-
/** Allow multiple selection */
|
|
10
|
-
multiple?: boolean;
|
|
11
|
-
/** Number of grid columns */
|
|
12
|
-
columns?: number;
|
|
13
|
-
/** Size of each item */
|
|
14
|
-
size?: Size;
|
|
15
|
-
/** Disable all interactions */
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
/** Additional class name */
|
|
18
|
-
className?: string;
|
|
19
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SelectionGridProps } from './selection-grid-types';
|
|
3
|
-
/**
|
|
4
|
-
* A grid of selectable items supporting single and multiple selection.
|
|
5
|
-
* Behaves like a selection list but laid out in a grid.
|
|
6
|
-
*/
|
|
7
|
-
export declare const SelectionGrid: React.FC<SelectionGridProps>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { SelectionGridProps } from '../selection-grid-types';
|
|
3
|
-
declare const meta: Meta<SelectionGridProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<SelectionGridProps>;
|
|
6
|
-
export declare const ControlledSingle: Story;
|
|
7
|
-
export declare const ControlledMulti: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { SelectionGridProps } from '../selection-grid-types';
|
|
3
|
-
declare const meta: Meta<SelectionGridProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<SelectionGridProps>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const SingleSelect: Story;
|
|
8
|
-
export declare const MultiSelect: Story;
|
|
9
|
-
export declare const TwoColumns: Story;
|
|
10
|
-
export declare const Disabled: Story;
|