@restio/ui 0.0.1-SNAPSHOT-20251228223333
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 +88 -0
- package/dist/assets/svg/alert.svg +1 -0
- package/dist/assets/svg/arrow-down.svg +1 -0
- package/dist/assets/svg/arrow-left.svg +1 -0
- package/dist/assets/svg/arrow-right.svg +1 -0
- package/dist/assets/svg/arrow-up.svg +1 -0
- package/dist/assets/svg/arrow_drop_down.svg +1 -0
- package/dist/assets/svg/check.svg +1 -0
- package/dist/assets/svg/chevron-right.svg +1 -0
- package/dist/assets/svg/clipboard.svg +1 -0
- package/dist/assets/svg/close.svg +1 -0
- package/dist/assets/svg/copy.svg +1 -0
- package/dist/assets/svg/cut.svg +1 -0
- package/dist/assets/svg/delete.svg +1 -0
- package/dist/assets/svg/dock-left-arrow.svg +1 -0
- package/dist/assets/svg/dock-right-arrow.svg +1 -0
- package/dist/assets/svg/document-outline.svg +1 -0
- package/dist/assets/svg/download.svg +1 -0
- package/dist/assets/svg/error.svg +1 -0
- package/dist/assets/svg/expand-right.svg +1 -0
- package/dist/assets/svg/expand.svg +1 -0
- package/dist/assets/svg/eye.svg +1 -0
- package/dist/assets/svg/fullscreen.svg +1 -0
- package/dist/assets/svg/gear.svg +1 -0
- package/dist/assets/svg/help.svg +1 -0
- package/dist/assets/svg/info.svg +1 -0
- package/dist/assets/svg/logo.svg +9 -0
- package/dist/assets/svg/menu.svg +1 -0
- package/dist/assets/svg/message-bubble-question-mark.svg +1 -0
- package/dist/assets/svg/pencil.svg +1 -0
- package/dist/assets/svg/plus.svg +1 -0
- package/dist/assets/svg/search.svg +1 -0
- package/dist/assets/svg/send.svg +1 -0
- package/dist/assets/svg/shrink-right.svg +1 -0
- package/dist/assets/svg/sidebar.svg +1 -0
- package/dist/assets/svg/terminal.svg +1 -0
- package/dist/assets/svg/timer.svg +1 -0
- package/dist/assets/svg/warning.svg +1 -0
- package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +21 -0
- package/dist/components/anchored-overlay/anchored-overlay-types.d.ts.map +1 -0
- package/dist/components/anchored-overlay/anchored-overlay.d.ts +5 -0
- package/dist/components/anchored-overlay/anchored-overlay.d.ts.map +1 -0
- package/dist/components/banner/banner-types.d.ts +13 -0
- package/dist/components/banner/banner-types.d.ts.map +1 -0
- package/dist/components/banner/banner.d.ts +5 -0
- package/dist/components/banner/banner.d.ts.map +1 -0
- package/dist/components/button/button-types.d.ts +12 -0
- package/dist/components/button/button-types.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +4 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button-group/button-group-types.d.ts +16 -0
- package/dist/components/button-group/button-group-types.d.ts.map +1 -0
- package/dist/components/button-group/button-group.d.ts +4 -0
- package/dist/components/button-group/button-group.d.ts.map +1 -0
- package/dist/components/code-block/code-block.d.ts +8 -0
- package/dist/components/code-block/code-block.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload-types.d.ts +37 -0
- package/dist/components/file-upload/file-upload-types.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload-utils.d.ts +2 -0
- package/dist/components/file-upload/file-upload-utils.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload.d.ts +4 -0
- package/dist/components/file-upload/file-upload.d.ts.map +1 -0
- package/dist/components/graph/graph-types.d.ts +23 -0
- package/dist/components/graph/graph-types.d.ts.map +1 -0
- package/dist/components/graph/graph.d.ts +5 -0
- package/dist/components/graph/graph.d.ts.map +1 -0
- package/dist/components/input/input-types.d.ts +23 -0
- package/dist/components/input/input-types.d.ts.map +1 -0
- package/dist/components/input/input.d.ts +4 -0
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/input/number/input-number-types.d.ts +8 -0
- package/dist/components/input/number/input-number-types.d.ts.map +1 -0
- package/dist/components/input/number/input-number.d.ts +4 -0
- package/dist/components/input/number/input-number.d.ts.map +1 -0
- package/dist/components/input/text/input-text-types.d.ts +6 -0
- package/dist/components/input/text/input-text-types.d.ts.map +1 -0
- package/dist/components/input/text/input-text.d.ts +4 -0
- package/dist/components/input/text/input-text.d.ts.map +1 -0
- package/dist/components/kbd/kbd-types.d.ts +7 -0
- package/dist/components/kbd/kbd-types.d.ts.map +1 -0
- package/dist/components/kbd/kbd.d.ts +5 -0
- package/dist/components/kbd/kbd.d.ts.map +1 -0
- package/dist/components/kbd-group/kbd-group-types.d.ts +15 -0
- package/dist/components/kbd-group/kbd-group-types.d.ts.map +1 -0
- package/dist/components/kbd-group/kbd-group.d.ts +5 -0
- package/dist/components/kbd-group/kbd-group.d.ts.map +1 -0
- package/dist/components/list/list-types.d.ts +17 -0
- package/dist/components/list/list-types.d.ts.map +1 -0
- package/dist/components/list/list-utils.d.ts +47 -0
- package/dist/components/list/list-utils.d.ts.map +1 -0
- package/dist/components/list/list.d.ts +3 -0
- package/dist/components/list/list.d.ts.map +1 -0
- package/dist/components/menu/anchored-navigation-menu.d.ts +16 -0
- package/dist/components/menu/anchored-navigation-menu.d.ts.map +1 -0
- package/dist/components/menu/menu-assets.d.ts +3 -0
- package/dist/components/menu/menu-assets.d.ts.map +1 -0
- package/dist/components/menu/menu-types.d.ts +22 -0
- package/dist/components/menu/menu-types.d.ts.map +1 -0
- package/dist/components/menu/menu.d.ts +9 -0
- package/dist/components/menu/menu.d.ts.map +1 -0
- package/dist/components/otp/otp-types.d.ts +30 -0
- package/dist/components/otp/otp-types.d.ts.map +1 -0
- package/dist/components/otp/otp-utils.d.ts +15 -0
- package/dist/components/otp/otp-utils.d.ts.map +1 -0
- package/dist/components/otp/otp.d.ts +4 -0
- package/dist/components/otp/otp.d.ts.map +1 -0
- package/dist/components/select/select-types.d.ts +34 -0
- package/dist/components/select/select-types.d.ts.map +1 -0
- package/dist/components/select/select.d.ts +5 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/tag/tag-types.d.ts +9 -0
- package/dist/components/tag/tag-types.d.ts.map +1 -0
- package/dist/components/tag/tag.d.ts +4 -0
- package/dist/components/tag/tag.d.ts.map +1 -0
- package/dist/components/textarea/textarea-types.d.ts +55 -0
- package/dist/components/textarea/textarea-types.d.ts.map +1 -0
- package/dist/components/textarea/textarea.d.ts +4 -0
- package/dist/components/textarea/textarea.d.ts.map +1 -0
- package/dist/components/toast-group/toast-group-types.d.ts +6 -0
- package/dist/components/toast-group/toast-group-types.d.ts.map +1 -0
- package/dist/components/toast-group/toast-group.d.ts +5 -0
- package/dist/components/toast-group/toast-group.d.ts.map +1 -0
- package/dist/components/typography/typography-types.d.ts +35 -0
- package/dist/components/typography/typography-types.d.ts.map +1 -0
- package/dist/components/typography/typography.d.ts +4 -0
- package/dist/components/typography/typography.d.ts.map +1 -0
- package/dist/custom-components/chat/chat-assets.d.ts +3 -0
- package/dist/custom-components/chat/chat-assets.d.ts.map +1 -0
- package/dist/custom-components/chat/chat-header/chat-header-types.d.ts +6 -0
- package/dist/custom-components/chat/chat-header/chat-header-types.d.ts.map +1 -0
- package/dist/custom-components/chat/chat-header/chat-header.d.ts +6 -0
- package/dist/custom-components/chat/chat-header/chat-header.d.ts.map +1 -0
- package/dist/custom-components/chat/chat-types.d.ts +87 -0
- package/dist/custom-components/chat/chat-types.d.ts.map +1 -0
- package/dist/custom-components/chat/chat.d.ts +6 -0
- package/dist/custom-components/chat/chat.d.ts.map +1 -0
- package/dist/custom-components/chat/example-chat-app.d.ts +8 -0
- package/dist/custom-components/chat/example-chat-app.d.ts.map +1 -0
- package/dist/custom-components/chat/message-content/message-content-types.d.ts +6 -0
- package/dist/custom-components/chat/message-content/message-content-types.d.ts.map +1 -0
- package/dist/custom-components/chat/message-content/message-content.d.ts +6 -0
- package/dist/custom-components/chat/message-content/message-content.d.ts.map +1 -0
- package/dist/custom-components/chat/message-input/chat-input-types.d.ts +8 -0
- package/dist/custom-components/chat/message-input/chat-input-types.d.ts.map +1 -0
- package/dist/custom-components/chat/message-input/chat-input.d.ts +6 -0
- package/dist/custom-components/chat/message-input/chat-input.d.ts.map +1 -0
- package/dist/custom-components/chat/message-item/message-item-types.d.ts +11 -0
- package/dist/custom-components/chat/message-item/message-item-types.d.ts.map +1 -0
- package/dist/custom-components/chat/message-item/message-item.d.ts +6 -0
- package/dist/custom-components/chat/message-item/message-item.d.ts.map +1 -0
- package/dist/custom-components/chat/message-list/message-list-types.d.ts +11 -0
- package/dist/custom-components/chat/message-list/message-list-types.d.ts.map +1 -0
- package/dist/custom-components/chat/message-list/message-list.d.ts +6 -0
- package/dist/custom-components/chat/message-list/message-list.d.ts.map +1 -0
- package/dist/custom-components/layout/layout-types.d.ts +24 -0
- package/dist/custom-components/layout/layout-types.d.ts.map +1 -0
- package/dist/custom-components/layout/layout.d.ts +4 -0
- package/dist/custom-components/layout/layout.d.ts.map +1 -0
- package/dist/custom-components/layout-builder/layout-builder-types.d.ts +12 -0
- package/dist/custom-components/layout-builder/layout-builder-types.d.ts.map +1 -0
- package/dist/custom-components/layout-builder/layout-builder.d.ts +4 -0
- package/dist/custom-components/layout-builder/layout-builder.d.ts.map +1 -0
- package/dist/custom-components/markdown/markdown-types.d.ts +28 -0
- package/dist/custom-components/markdown/markdown-types.d.ts.map +1 -0
- package/dist/custom-components/markdown/markdown-utils.d.ts +2 -0
- package/dist/custom-components/markdown/markdown-utils.d.ts.map +1 -0
- package/dist/custom-components/markdown/markdown.d.ts +4 -0
- package/dist/custom-components/markdown/markdown.d.ts.map +1 -0
- package/dist/custom-components/mindmap/index.d.ts +3 -0
- package/dist/custom-components/mindmap/index.d.ts.map +1 -0
- package/dist/custom-components/mindmap/mind-tree-types.d.ts +94 -0
- package/dist/custom-components/mindmap/mind-tree-types.d.ts.map +1 -0
- package/dist/custom-components/mindmap/mind-tree.d.ts +3 -0
- package/dist/custom-components/mindmap/mind-tree.d.ts.map +1 -0
- package/dist/custom-components/mindmap/reingold-tilford-algorithm.d.ts +65 -0
- package/dist/custom-components/mindmap/reingold-tilford-algorithm.d.ts.map +1 -0
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.d.ts +60 -0
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.d.ts.map +1 -0
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.d.ts +18 -0
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.d.ts.map +1 -0
- package/dist/custom-components/timeline/skeleton/timeline-skeleton.d.ts +7 -0
- package/dist/custom-components/timeline/skeleton/timeline-skeleton.d.ts.map +1 -0
- package/dist/custom-components/timeline/timeline-types.d.ts +46 -0
- package/dist/custom-components/timeline/timeline-types.d.ts.map +1 -0
- package/dist/custom-components/timeline/timeline.d.ts +20 -0
- package/dist/custom-components/timeline/timeline.d.ts.map +1 -0
- package/dist/data-components/calendar/calendar-types.d.ts +11 -0
- package/dist/data-components/calendar/calendar-types.d.ts.map +1 -0
- package/dist/data-components/calendar/calendar-utils.d.ts +1 -0
- package/dist/data-components/calendar/calendar-utils.d.ts.map +1 -0
- package/dist/data-components/calendar/calendar.d.ts +4 -0
- package/dist/data-components/calendar/calendar.d.ts.map +1 -0
- package/dist/data-components/cell/cell.d.ts +3 -0
- package/dist/data-components/cell/cell.d.ts.map +1 -0
- package/dist/data-components/chart/chart-types.d.ts +42 -0
- package/dist/data-components/chart/chart-types.d.ts.map +1 -0
- package/dist/data-components/chart/chart.d.ts +4 -0
- package/dist/data-components/chart/chart.d.ts.map +1 -0
- package/dist/data-components/data-structure/data-structure.d.ts +47 -0
- package/dist/data-components/data-structure/data-structure.d.ts.map +1 -0
- package/dist/data-components/form/form-types.d.ts +24 -0
- package/dist/data-components/form/form-types.d.ts.map +1 -0
- package/dist/data-components/form/form.d.ts +3 -0
- package/dist/data-components/form/form.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/csv/autoDetect.d.ts +6 -0
- package/dist/data-components/table-grid/external-functionalities/csv/autoDetect.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/csv/createDataStructureFromFile.d.ts +9 -0
- package/dist/data-components/table-grid/external-functionalities/csv/createDataStructureFromFile.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/csv/csvToObj.d.ts +6 -0
- package/dist/data-components/table-grid/external-functionalities/csv/csvToObj.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/csv/detectDelimeter.d.ts +6 -0
- package/dist/data-components/table-grid/external-functionalities/csv/detectDelimeter.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/csv/index.d.ts +7 -0
- package/dist/data-components/table-grid/external-functionalities/csv/index.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/csv/inferColumns.d.ts +6 -0
- package/dist/data-components/table-grid/external-functionalities/csv/inferColumns.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/csv/parseDelimeted.d.ts +7 -0
- package/dist/data-components/table-grid/external-functionalities/csv/parseDelimeted.d.ts.map +1 -0
- package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts +7 -0
- package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/footer/table-grid-footer.d.ts +3 -0
- package/dist/data-components/table-grid/footer/table-grid-footer.d.ts.map +1 -0
- package/dist/data-components/table-grid/formula/evaluator.d.ts +11 -0
- package/dist/data-components/table-grid/formula/evaluator.d.ts.map +1 -0
- package/dist/data-components/table-grid/formula/formula-builder-types.d.ts +8 -0
- package/dist/data-components/table-grid/formula/formula-builder-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/formula/formula-builder.d.ts +3 -0
- package/dist/data-components/table-grid/formula/formula-builder.d.ts.map +1 -0
- package/dist/data-components/table-grid/formula/formula.test.d.ts +2 -0
- package/dist/data-components/table-grid/formula/formula.test.d.ts.map +1 -0
- package/dist/data-components/table-grid/formula/index.d.ts +12 -0
- package/dist/data-components/table-grid/formula/index.d.ts.map +1 -0
- package/dist/data-components/table-grid/formula/parser.d.ts +24 -0
- package/dist/data-components/table-grid/formula/parser.d.ts.map +1 -0
- package/dist/data-components/table-grid/formula/tokenizer.d.ts +16 -0
- package/dist/data-components/table-grid/formula/tokenizer.d.ts.map +1 -0
- package/dist/data-components/table-grid/formula/types.d.ts +39 -0
- package/dist/data-components/table-grid/formula/types.d.ts.map +1 -0
- package/dist/data-components/table-grid/header/grouping/group-panel-types.d.ts +7 -0
- package/dist/data-components/table-grid/header/grouping/group-panel-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/header/grouping/group-panel.d.ts +3 -0
- package/dist/data-components/table-grid/header/grouping/group-panel.d.ts.map +1 -0
- package/dist/data-components/table-grid/header/table-grid-header-types.d.ts +8 -0
- package/dist/data-components/table-grid/header/table-grid-header-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/header/table-grid-header.d.ts +3 -0
- package/dist/data-components/table-grid/header/table-grid-header.d.ts.map +1 -0
- package/dist/data-components/table-grid/hooks/use-table.d.ts +3 -0
- package/dist/data-components/table-grid/hooks/use-table.d.ts.map +1 -0
- package/dist/data-components/table-grid/row/table-grid-row-types.d.ts +12 -0
- package/dist/data-components/table-grid/row/table-grid-row-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/row/table-grid-row.d.ts +3 -0
- package/dist/data-components/table-grid/row/table-grid-row.d.ts.map +1 -0
- package/dist/data-components/table-grid/sorting/sorting.d.ts +3 -0
- package/dist/data-components/table-grid/sorting/sorting.d.ts.map +1 -0
- package/dist/data-components/table-grid/table-context/table-context-types.d.ts +11 -0
- package/dist/data-components/table-grid/table-context/table-context-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/table-context/table-context.d.ts +3 -0
- package/dist/data-components/table-grid/table-context/table-context.d.ts.map +1 -0
- package/dist/data-components/table-grid/table-grid-context.d.ts +4 -0
- package/dist/data-components/table-grid/table-grid-context.d.ts.map +1 -0
- package/dist/data-components/table-grid/table-grid-types.d.ts +120 -0
- package/dist/data-components/table-grid/table-grid-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/table-grid.d.ts +4 -0
- package/dist/data-components/table-grid/table-grid.d.ts.map +1 -0
- package/dist/data-components/table-grid/table-utilts.d.ts +4 -0
- package/dist/data-components/table-grid/table-utilts.d.ts.map +1 -0
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.d.ts +15 -0
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.d.ts.map +1 -0
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.d.ts +12 -0
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.d.ts.map +1 -0
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap.d.ts +4 -0
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap.d.ts.map +1 -0
- package/dist/experimental-components/filter-builder/filter-builder-types.d.ts +24 -0
- package/dist/experimental-components/filter-builder/filter-builder-types.d.ts.map +1 -0
- package/dist/experimental-components/filter-builder/filter-builder.d.ts +12 -0
- package/dist/experimental-components/filter-builder/filter-builder.d.ts.map +1 -0
- package/dist/framework-components/appbar/appbar-assets.d.ts +2 -0
- package/dist/framework-components/appbar/appbar-assets.d.ts.map +1 -0
- package/dist/framework-components/appbar/appbar-types.d.ts +19 -0
- package/dist/framework-components/appbar/appbar-types.d.ts.map +1 -0
- package/dist/framework-components/appbar/appbar.d.ts +9 -0
- package/dist/framework-components/appbar/appbar.d.ts.map +1 -0
- package/dist/framework-components/drawer/drawer-types.d.ts +7 -0
- package/dist/framework-components/drawer/drawer-types.d.ts.map +1 -0
- package/dist/framework-components/drawer/drawer.d.ts +5 -0
- package/dist/framework-components/drawer/drawer.d.ts.map +1 -0
- package/dist/framework-components/scaffold/scaffold-context.d.ts +4 -0
- package/dist/framework-components/scaffold/scaffold-context.d.ts.map +1 -0
- package/dist/framework-components/scaffold/scaffold-types.d.ts +18 -0
- package/dist/framework-components/scaffold/scaffold-types.d.ts.map +1 -0
- package/dist/framework-components/scaffold/scaffold.d.ts +7 -0
- package/dist/framework-components/scaffold/scaffold.d.ts.map +1 -0
- package/dist/framework-components/sidebar/sidebar-assets.d.ts +2 -0
- package/dist/framework-components/sidebar/sidebar-assets.d.ts.map +1 -0
- package/dist/framework-components/sidebar/sidebar-context.d.ts +4 -0
- package/dist/framework-components/sidebar/sidebar-context.d.ts.map +1 -0
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.d.ts +4 -0
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.d.ts.map +1 -0
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.d.ts +3 -0
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.d.ts.map +1 -0
- package/dist/framework-components/sidebar/sidebar-types.d.ts +13 -0
- package/dist/framework-components/sidebar/sidebar-types.d.ts.map +1 -0
- package/dist/framework-components/sidebar/sidebar.d.ts +17 -0
- package/dist/framework-components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/hooks/useShortcut.d.ts +20 -0
- package/dist/hooks/useShortcut.d.ts.map +1 -0
- package/dist/hooks/useTour/useTour.d.ts +14 -0
- package/dist/hooks/useTour/useTour.d.ts.map +1 -0
- package/dist/hooks/useVirtualListScroll.d.ts +41 -0
- package/dist/hooks/useVirtualListScroll.d.ts.map +1 -0
- package/dist/index.d.ts +64 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/providers/shortcut/shortcut-context.d.ts +7 -0
- package/dist/providers/shortcut/shortcut-context.d.ts.map +1 -0
- package/dist/providers/shortcut/shortcut-provider.d.ts +35 -0
- package/dist/providers/shortcut/shortcut-provider.d.ts.map +1 -0
- package/dist/providers/theme/index.d.ts +4 -0
- package/dist/providers/theme/index.d.ts.map +1 -0
- package/dist/providers/theme/theme-provider-types.d.ts +6 -0
- package/dist/providers/theme/theme-provider-types.d.ts.map +1 -0
- package/dist/providers/theme/themeProvider.d.ts +10 -0
- package/dist/providers/theme/themeProvider.d.ts.map +1 -0
- package/dist/restio-ui.cjs.js +64 -0
- package/dist/restio-ui.es.js +26531 -0
- package/dist/test/vitest.utils.d.ts +1 -0
- package/dist/test/vitest.utils.d.ts.map +1 -0
- package/dist/types/global-types.d.ts +16 -0
- package/dist/types/global-types.d.ts.map +1 -0
- package/dist/types/storybook-types.d.ts +2 -0
- package/dist/types/storybook-types.d.ts.map +1 -0
- package/dist/ui.css +1 -0
- package/dist/utility-components/avatar/avatar-types.d.ts +16 -0
- package/dist/utility-components/avatar/avatar-types.d.ts.map +1 -0
- package/dist/utility-components/avatar/avatar.d.ts +5 -0
- package/dist/utility-components/avatar/avatar.d.ts.map +1 -0
- package/dist/utility-components/chip/chip-types.d.ts +16 -0
- package/dist/utility-components/chip/chip-types.d.ts.map +1 -0
- package/dist/utility-components/chip/chip.d.ts +4 -0
- package/dist/utility-components/chip/chip.d.ts.map +1 -0
- package/dist/utility-components/helper-text/helper-text-types.d.ts +20 -0
- package/dist/utility-components/helper-text/helper-text-types.d.ts.map +1 -0
- package/dist/utility-components/helper-text/helper-text.d.ts +3 -0
- package/dist/utility-components/helper-text/helper-text.d.ts.map +1 -0
- package/dist/utility-components/icon/icon-types.d.ts +24 -0
- package/dist/utility-components/icon/icon-types.d.ts.map +1 -0
- package/dist/utility-components/icon/icon.d.ts +4 -0
- package/dist/utility-components/icon/icon.d.ts.map +1 -0
- package/dist/utility-components/label/label-types.d.ts +15 -0
- package/dist/utility-components/label/label-types.d.ts.map +1 -0
- package/dist/utility-components/label/label.d.ts +3 -0
- package/dist/utility-components/label/label.d.ts.map +1 -0
- package/dist/utility-components/overlay-panel/overlay-panel-types.d.ts +69 -0
- package/dist/utility-components/overlay-panel/overlay-panel-types.d.ts.map +1 -0
- package/dist/utility-components/overlay-panel/overlay-panel.d.ts +5 -0
- package/dist/utility-components/overlay-panel/overlay-panel.d.ts.map +1 -0
- package/dist/utility-components/overlay-panel/use-focus-trap.d.ts +8 -0
- package/dist/utility-components/overlay-panel/use-focus-trap.d.ts.map +1 -0
- package/dist/utility-components/skeleton/skeleton-types.d.ts +7 -0
- package/dist/utility-components/skeleton/skeleton-types.d.ts.map +1 -0
- package/dist/utility-components/skeleton/skeleton.d.ts +4 -0
- package/dist/utility-components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/utility-components/stack/stack-types.d.ts +9 -0
- package/dist/utility-components/stack/stack-types.d.ts.map +1 -0
- package/dist/utility-components/stack/stack.d.ts +4 -0
- package/dist/utility-components/stack/stack.d.ts.map +1 -0
- package/dist/utility-components/toast/toast-types.d.ts +9 -0
- package/dist/utility-components/toast/toast-types.d.ts.map +1 -0
- package/dist/utility-components/toast/toast.d.ts +5 -0
- package/dist/utility-components/toast/toast.d.ts.map +1 -0
- package/dist/utils/general.d.ts +9 -0
- package/dist/utils/general.d.ts.map +1 -0
- package/dist/utils/shortcut-utils.d.ts +44 -0
- package/dist/utils/shortcut-utils.d.ts.map +1 -0
- package/package.json +89 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility functions for cross-platform shortcut key management
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Detects the current platform based on user agent
|
|
6
|
+
*/
|
|
7
|
+
export declare const getPlatform: () => "mac" | "windows" | "linux" | "other";
|
|
8
|
+
/**
|
|
9
|
+
* Checks if the current platform is Mac
|
|
10
|
+
*/
|
|
11
|
+
export declare const isMac: () => boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Normalizes keyboard event keys for internal shortcut matching
|
|
14
|
+
* This is used for consistent shortcut registration regardless of platform
|
|
15
|
+
*/
|
|
16
|
+
export declare const normalizeEventKey: (key: string) => string;
|
|
17
|
+
/**
|
|
18
|
+
* Converts internal shortcut keys to platform-specific display keys
|
|
19
|
+
* This is used when showing shortcuts in the UI
|
|
20
|
+
*/
|
|
21
|
+
export declare const getDisplayKeys: (keys: string[]) => string[];
|
|
22
|
+
/**
|
|
23
|
+
* Converts a shortcut string (e.g., "ctrl+s") to platform-specific display format
|
|
24
|
+
*/
|
|
25
|
+
export declare const formatShortcutForDisplay: (shortcutString: string) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the platform-specific symbol for modifier keys
|
|
28
|
+
*/
|
|
29
|
+
export declare const getKeySymbol: (key: string) => string;
|
|
30
|
+
/**
|
|
31
|
+
* Formats a shortcut for display with platform-specific symbols
|
|
32
|
+
*/
|
|
33
|
+
export declare const formatShortcutWithSymbols: (shortcutString: string) => string;
|
|
34
|
+
/**
|
|
35
|
+
* Converts platform-specific shortcut input to normalized internal format
|
|
36
|
+
* Allows users to register shortcuts using platform-specific names
|
|
37
|
+
*/
|
|
38
|
+
export declare const normalizeShortcutInput: (shortcutString: string) => string;
|
|
39
|
+
/**
|
|
40
|
+
* Helper to create cross-platform shortcuts
|
|
41
|
+
* Automatically uses Cmd on Mac and Ctrl on Windows/Linux
|
|
42
|
+
*/
|
|
43
|
+
export declare const createCrossPlatformShortcut: (keys: string) => string;
|
|
44
|
+
//# sourceMappingURL=shortcut-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shortcut-utils.d.ts","sourceRoot":"","sources":["../../src/utils/shortcut-utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,eAAO,MAAM,WAAW,QAAO,KAAK,GAAG,SAAS,GAAG,OAAO,GAAG,OAU5D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,QAAO,OAAkC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,KAAK,MAAM,KAAG,MAa/C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,EAAE,KAAG,MAAM,EA0BrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,gBAAgB,MAAM,KAAG,MAQjE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,KAAG,MAqC1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,GAAI,gBAAgB,MAAM,KAAG,MAMlE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GAAI,gBAAgB,MAAM,KAAG,MAmB/D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GAAI,MAAM,MAAM,KAAG,MAU1D,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@restio/ui",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.1-SNAPSHOT-20251228223333",
|
|
5
|
+
"description": "React UI components library",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"author": "Leonardo Signorelli",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/leonardo-signorelli/restio-ui.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://restio.github.io/restio-ui/",
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"main": "./dist/restio-ui.cjs.js",
|
|
18
|
+
"module": "./dist/restio-ui.es.js",
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"style": "./dist/restio-ui.css",
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "rimraf dist && tsc -b && vite build --config vite.lib.config.ts",
|
|
26
|
+
"dev": "storybook dev -p 6006",
|
|
27
|
+
"clean": "rimraf storybook-static && rimraf dist && rimraf node_modules",
|
|
28
|
+
"package:update": "npm i -g npm-check-updates && ncu -u && npm install",
|
|
29
|
+
"serve-storybook": "node server.js",
|
|
30
|
+
"lint": "eslint .",
|
|
31
|
+
"lint:css": "stylelint 'src/**/*.css' --fix",
|
|
32
|
+
"preview": "vite preview",
|
|
33
|
+
"test:components": "vitest --config vitest.config.ts",
|
|
34
|
+
"visual-test": "bash scripts/visual-test.sh",
|
|
35
|
+
"visual-test:update": "bash scripts/update-snapshots.sh",
|
|
36
|
+
"visual-test:local": "playwright test --config=playwright.config.ts",
|
|
37
|
+
"visual-test:ui": "playwright test --config=playwright.config.ts --ui",
|
|
38
|
+
"storybook": "storybook dev -p 6006",
|
|
39
|
+
"build:storybook": "rimraf storybook-static && storybook build"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@mdx-js/react": "^3.1.1",
|
|
43
|
+
"@restio/design-tokens": "^1.4.1",
|
|
44
|
+
"@testing-library/react": "^16.3.1",
|
|
45
|
+
"eslint-plugin-react": "^7.37.5",
|
|
46
|
+
"express": "^5.2.1",
|
|
47
|
+
"prism-react-renderer": "^2.4.1",
|
|
48
|
+
"react": "^19.2.3",
|
|
49
|
+
"react-dom": "^19.2.3",
|
|
50
|
+
"recharts": "^3.6.0",
|
|
51
|
+
"vite-plugin-dts": "^4.5.4"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
55
|
+
"@eslint/js": "^9.39.2",
|
|
56
|
+
"@playwright/test": "^1.57.0",
|
|
57
|
+
"@storybook/addon-a11y": "^10.1.10",
|
|
58
|
+
"@storybook/addon-docs": "^10.1.10",
|
|
59
|
+
"@storybook/addon-onboarding": "^10.1.10",
|
|
60
|
+
"@storybook/addon-vitest": "^10.1.10",
|
|
61
|
+
"@storybook/react-vite": "^10.1.10",
|
|
62
|
+
"@types/express": "^5.0.6",
|
|
63
|
+
"@types/node": "^25.0.3",
|
|
64
|
+
"@types/react": "^19.2.7",
|
|
65
|
+
"@types/react-dom": "^19.2.3",
|
|
66
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
67
|
+
"@vitest/browser": "^4.0.16",
|
|
68
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
69
|
+
"eslint": "^9.39.2",
|
|
70
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
71
|
+
"eslint-plugin-react-refresh": "^0.4.26",
|
|
72
|
+
"eslint-plugin-storybook": "^10.1.10",
|
|
73
|
+
"globals": "^16.5.0",
|
|
74
|
+
"jsdom": "^27.3.0",
|
|
75
|
+
"playwright": "^1.57.0",
|
|
76
|
+
"rimraf": "^6.1.2",
|
|
77
|
+
"storybook": "^10.1.10",
|
|
78
|
+
"stylelint": "^16.26.1",
|
|
79
|
+
"stylelint-config-standard": "^39.0.1",
|
|
80
|
+
"typescript": "~5.9.3",
|
|
81
|
+
"typescript-eslint": "^8.50.0",
|
|
82
|
+
"vite": "^7.3.0",
|
|
83
|
+
"vitest": "^4.0.16"
|
|
84
|
+
},
|
|
85
|
+
"overrides": {
|
|
86
|
+
"storybook": "$storybook",
|
|
87
|
+
"rollup": "4.44.0"
|
|
88
|
+
}
|
|
89
|
+
}
|