atomicuilibrary 0.0.1
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/LICENSE +21 -0
- package/README.md +111 -0
- package/dist/cjs/category-section.cjs.entry.js +30 -0
- package/dist/cjs/component-size-DsYFUZcz.js +29 -0
- package/dist/cjs/dom-oP1E4Rd3.js +267 -0
- package/dist/cjs/event-bus-B6M2f8CQ.js +23 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +24 -0
- package/dist/cjs/focus-trap-i9T6oXLc.js +139 -0
- package/dist/cjs/index-ClkOYpT8.js +2275 -0
- package/dist/cjs/index.cjs.js +260 -0
- package/dist/cjs/layout-manager.cjs.entry.js +616 -0
- package/dist/cjs/library-card.cjs.entry.js +63 -0
- package/dist/cjs/lm-container_2.cjs.entry.js +79 -0
- package/dist/cjs/lm-panel_3.cjs.entry.js +108 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/cjs/my-component.cjs.entry.js +33 -0
- package/dist/cjs/my-step.cjs.entry.js +29 -0
- package/dist/cjs/nav-bar.cjs.entry.js +247 -0
- package/dist/cjs/security-E1JcwxGc.js +1547 -0
- package/dist/cjs/smart-step.cjs.entry.js +47 -0
- package/dist/cjs/timeline-item.cjs.entry.js +29 -0
- package/dist/cjs/ui-accordion_10.cjs.entry.js +5733 -0
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2684 -0
- package/dist/cjs/ui-anchor.cjs.entry.js +558 -0
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +285 -0
- package/dist/cjs/ui-aside-panel.cjs.entry.js +638 -0
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +634 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +56 -0
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +201 -0
- package/dist/cjs/ui-callout-banner.cjs.entry.js +291 -0
- package/dist/cjs/ui-card.cjs.entry.js +411 -0
- package/dist/cjs/ui-carousel.cjs.entry.js +547 -0
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +330 -0
- package/dist/cjs/ui-checkbox.cjs.entry.js +260 -0
- package/dist/cjs/ui-code-editor.cjs.entry.js +961 -0
- package/dist/cjs/ui-code-preview.cjs.entry.js +315 -0
- package/dist/cjs/ui-color-controller.cjs.entry.js +150 -0
- package/dist/cjs/ui-color-picker.cjs.entry.js +658 -0
- package/dist/cjs/ui-command-palette.cjs.entry.js +178 -0
- package/dist/cjs/ui-dialog-box.cjs.entry.js +1808 -0
- package/dist/cjs/ui-dialog-content.cjs.entry.js +31 -0
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +193 -0
- package/dist/cjs/ui-divider.cjs.entry.js +481 -0
- package/dist/cjs/ui-dock-host.cjs.entry.js +128 -0
- package/dist/cjs/ui-dock.cjs.entry.js +221 -0
- package/dist/cjs/ui-drag-drop.cjs.entry.js +172 -0
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +1552 -0
- package/dist/cjs/ui-empty-state.cjs.entry.js +398 -0
- package/dist/cjs/ui-fab-item.cjs.entry.js +39 -0
- package/dist/cjs/ui-fab.cjs.entry.js +277 -0
- package/dist/cjs/ui-file-upload.cjs.entry.js +418 -0
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +135 -0
- package/dist/cjs/ui-image-button.cjs.entry.js +67 -0
- package/dist/cjs/ui-input-pair.cjs.entry.js +44 -0
- package/dist/cjs/ui-knob.cjs.entry.js +447 -0
- package/dist/cjs/ui-library.cjs.entry.js +134 -0
- package/dist/cjs/ui-list-group_2.cjs.entry.js +586 -0
- package/dist/cjs/ui-list.cjs.entry.js +732 -0
- package/dist/cjs/ui-masonry.cjs.entry.js +478 -0
- package/dist/cjs/ui-meter-group.cjs.entry.js +173 -0
- package/dist/cjs/ui-navigation-item.cjs.entry.js +104 -0
- package/dist/cjs/ui-number-input.cjs.entry.js +191 -0
- package/dist/cjs/ui-otp-input.cjs.entry.js +246 -0
- package/dist/cjs/ui-pagination_3.cjs.entry.js +1621 -0
- package/dist/cjs/ui-panel.cjs.entry.js +614 -0
- package/dist/cjs/ui-pattern-input.cjs.entry.js +278 -0
- package/dist/cjs/ui-popover.cjs.entry.js +517 -0
- package/dist/cjs/ui-progress.cjs.entry.js +516 -0
- package/dist/cjs/ui-radio-group.cjs.entry.js +205 -0
- package/dist/cjs/ui-radio.cjs.entry.js +206 -0
- package/dist/cjs/ui-range-slider.cjs.entry.js +637 -0
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +484 -0
- package/dist/cjs/ui-scroll-top.cjs.entry.js +459 -0
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +376 -0
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +565 -0
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +137 -0
- package/dist/cjs/ui-snackbar.cjs.entry.js +863 -0
- package/dist/cjs/ui-speed-dial.cjs.entry.js +520 -0
- package/dist/cjs/ui-speedometer.cjs.entry.js +428 -0
- package/dist/cjs/ui-splitter.cjs.entry.js +282 -0
- package/dist/cjs/ui-step.cjs.entry.js +30 -0
- package/dist/cjs/ui-stepper.cjs.entry.js +640 -0
- package/dist/cjs/ui-switch.cjs.entry.js +405 -0
- package/dist/cjs/ui-tabs.cjs.entry.js +703 -0
- package/dist/cjs/ui-tag.cjs.entry.js +299 -0
- package/dist/cjs/ui-timeline.cjs.entry.js +267 -0
- package/dist/cjs/ui-timer.cjs.entry.js +502 -0
- package/dist/cjs/ui-toolbar.cjs.entry.js +619 -0
- package/dist/cjs/ui-tooltip.cjs.entry.js +697 -0
- package/dist/cjs/ui-top-bar.cjs.entry.js +121 -0
- package/dist/cjs/ui-transfer-list.cjs.entry.js +592 -0
- package/dist/cjs/ui-tree.cjs.entry.js +874 -0
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +1201 -0
- package/dist/cjs/utils-DVZ6gul6.js +26 -0
- package/dist/collection/assets/js/component-config.js +41 -0
- package/dist/collection/assets/js/demo-loader.js +147 -0
- package/dist/collection/assets/js/demo-nav.js +273 -0
- package/dist/collection/assets/js/demos/about-demo.js +60 -0
- package/dist/collection/assets/js/demos/accordion-demo.js +1954 -0
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +2952 -0
- package/dist/collection/assets/js/demos/anchor-demo.js +527 -0
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +174 -0
- package/dist/collection/assets/js/demos/aside-panel-demo.js +1109 -0
- package/dist/collection/assets/js/demos/avatar-demo.js +508 -0
- package/dist/collection/assets/js/demos/badge-demo.js +620 -0
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +365 -0
- package/dist/collection/assets/js/demos/button-demo.js +1223 -0
- package/dist/collection/assets/js/demos/button-toggle-demo.js +978 -0
- package/dist/collection/assets/js/demos/callout-banner-demo.js +366 -0
- package/dist/collection/assets/js/demos/card-demo.js +427 -0
- package/dist/collection/assets/js/demos/carousel-demo.js +360 -0
- package/dist/collection/assets/js/demos/checkbox-demo.js +489 -0
- package/dist/collection/assets/js/demos/code-preview-demo.js +216 -0
- package/dist/collection/assets/js/demos/color-picker-demo.js +117 -0
- package/dist/collection/assets/js/demos/command-palette-demo.js +105 -0
- package/dist/collection/assets/js/demos/complex-form-demo.js +45 -0
- package/dist/collection/assets/js/demos/context-menu-data.js +436 -0
- package/dist/collection/assets/js/demos/context-menu-demo.js +829 -0
- package/dist/collection/assets/js/demos/dashboard-demo.js +5 -0
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +411 -0
- package/dist/collection/assets/js/demos/dialog-demo.js +2567 -0
- package/dist/collection/assets/js/demos/divider-demo.js +853 -0
- package/dist/collection/assets/js/demos/dock-demo.js +422 -0
- package/dist/collection/assets/js/demos/dock-host-init.js +117 -0
- package/dist/collection/assets/js/demos/dock-host-playground.js +59 -0
- package/dist/collection/assets/js/demos/documentation-demo.js +34 -0
- package/dist/collection/assets/js/demos/drag-drop-demo.js +132 -0
- package/dist/collection/assets/js/demos/dropdown-demo.js +1410 -0
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +18 -0
- package/dist/collection/assets/js/demos/empty-state-demo.js +580 -0
- package/dist/collection/assets/js/demos/fab-demo.js +374 -0
- package/dist/collection/assets/js/demos/file-upload-demo.js +171 -0
- package/dist/collection/assets/js/demos/home-components.js +750 -0
- package/dist/collection/assets/js/demos/home-demo.js +441 -0
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +277 -0
- package/dist/collection/assets/js/demos/icon-demo.js +380 -0
- package/dist/collection/assets/js/demos/input-demo.js +1932 -0
- package/dist/collection/assets/js/demos/knob-demo.js +570 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +918 -0
- package/dist/collection/assets/js/demos/list-demo.js +1402 -0
- package/dist/collection/assets/js/demos/loader-demo.js +453 -0
- package/dist/collection/assets/js/demos/meter-group-demo.js +499 -0
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +924 -0
- package/dist/collection/assets/js/demos/my-profile-demo.js +237 -0
- package/dist/collection/assets/js/demos/nav-bar-demo.js +187 -0
- package/dist/collection/assets/js/demos/number-input-demo.js +242 -0
- package/dist/collection/assets/js/demos/overview-demo.js +11 -0
- package/dist/collection/assets/js/demos/pagination-demo.js +1042 -0
- package/dist/collection/assets/js/demos/panel-demo.js +789 -0
- package/dist/collection/assets/js/demos/pattern-input-demo.js +241 -0
- package/dist/collection/assets/js/demos/popover-demo.js +882 -0
- package/dist/collection/assets/js/demos/progress-demo.js +462 -0
- package/dist/collection/assets/js/demos/radio-demo.js +413 -0
- package/dist/collection/assets/js/demos/range-slider-demo.js +1217 -0
- package/dist/collection/assets/js/demos/rating-demo.js +383 -0
- package/dist/collection/assets/js/demos/scroll-top-demo.js +353 -0
- package/dist/collection/assets/js/demos/skeleton-demo.js +490 -0
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +26 -0
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +552 -0
- package/dist/collection/assets/js/demos/smart-menu-demo.js +375 -0
- package/dist/collection/assets/js/demos/smart-stepper-demo.js +50 -0
- package/dist/collection/assets/js/demos/snackbar-demo.js +1040 -0
- package/dist/collection/assets/js/demos/speed-dial-demo.js +764 -0
- package/dist/collection/assets/js/demos/speedometer-demo.js +425 -0
- package/dist/collection/assets/js/demos/split-button-demo.js +201 -0
- package/dist/collection/assets/js/demos/stack-demo.js +228 -0
- package/dist/collection/assets/js/demos/stepper-demo.js +798 -0
- package/dist/collection/assets/js/demos/switch-demo.js +849 -0
- package/dist/collection/assets/js/demos/tabs-demo.js +1032 -0
- package/dist/collection/assets/js/demos/tag-demo.js +842 -0
- package/dist/collection/assets/js/demos/theme-selector-demo.js +466 -0
- package/dist/collection/assets/js/demos/timeline-demo.js +365 -0
- package/dist/collection/assets/js/demos/timeline-playground.js +59 -0
- package/dist/collection/assets/js/demos/timer-demo.js +313 -0
- package/dist/collection/assets/js/demos/toolbar-demo.js +643 -0
- package/dist/collection/assets/js/demos/tooltip-demo.js +730 -0
- package/dist/collection/assets/js/demos/top-bar-demo.js +417 -0
- package/dist/collection/assets/js/demos/transfer-list-demo.js +555 -0
- package/dist/collection/assets/js/demos/tree-demo.js +693 -0
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +241 -0
- package/dist/collection/assets/js/index-boot.js +104 -0
- package/dist/collection/assets/js/nav-bar-demo.js +20 -0
- package/dist/collection/assets/js/nav-bar-init.js +119 -0
- package/dist/collection/assets/js/utils/layout-loader.js +80 -0
- package/dist/collection/collection-manifest.json +113 -0
- package/dist/collection/components/accordion/accordion.css +2090 -0
- package/dist/collection/components/accordion/accordion.js +2955 -0
- package/dist/collection/components/accordion/types.js +1 -0
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +2606 -0
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +5394 -0
- package/dist/collection/components/advanced-data-table/types.js +1 -0
- package/dist/collection/components/anchor/anchor.css +395 -0
- package/dist/collection/components/anchor/anchor.js +1404 -0
- package/dist/collection/components/anchor/types.js +1 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.css +804 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +696 -0
- package/dist/collection/components/aside-panel/aside-panel.css +472 -0
- package/dist/collection/components/aside-panel/aside-panel.js +1697 -0
- package/dist/collection/components/avatar/avatar.css +696 -0
- package/dist/collection/components/avatar/avatar.js +2007 -0
- package/dist/collection/components/avatar/types.js +1 -0
- package/dist/collection/components/avatar-group/avatar-group.css +253 -0
- package/dist/collection/components/avatar-group/avatar-group.js +405 -0
- package/dist/collection/components/avatar-group/types.js +1 -0
- package/dist/collection/components/badge/badge.css +580 -0
- package/dist/collection/components/badge/badge.js +723 -0
- package/dist/collection/components/badge/types.js +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +231 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +313 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +510 -0
- package/dist/collection/components/breadcrumb/types.js +1 -0
- package/dist/collection/components/button/button.css +1862 -0
- package/dist/collection/components/button/button.js +1380 -0
- package/dist/collection/components/button/types.js +1 -0
- package/dist/collection/components/button-toggle/button-toggle.css +97 -0
- package/dist/collection/components/button-toggle/button-toggle.js +620 -0
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +401 -0
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +1572 -0
- package/dist/collection/components/button-toggle-group/types.js +1 -0
- package/dist/collection/components/callout-banner/callout-banner.css +684 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1076 -0
- package/dist/collection/components/callout-banner/types.js +1 -0
- package/dist/collection/components/card/card.css +663 -0
- package/dist/collection/components/card/card.js +1697 -0
- package/dist/collection/components/card/types.js +1 -0
- package/dist/collection/components/carousel/carousel.css +549 -0
- package/dist/collection/components/carousel/carousel.js +1512 -0
- package/dist/collection/components/carousel/types.js +1 -0
- package/dist/collection/components/checkbox/checkbox.css +863 -0
- package/dist/collection/components/checkbox/checkbox.js +1201 -0
- package/dist/collection/components/checkbox/types.js +1 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +223 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +1001 -0
- package/dist/collection/components/checkbox-group/types.js +1 -0
- package/dist/collection/components/code-editor/code-editor.css +1081 -0
- package/dist/collection/components/code-editor/code-editor.js +1211 -0
- package/dist/collection/components/code-editor/types.js +1 -0
- package/dist/collection/components/code-preview/types.js +1 -0
- package/dist/collection/components/code-preview/ui-code-preview.css +209 -0
- package/dist/collection/components/code-preview/ui-code-preview.js +548 -0
- package/dist/collection/components/color-controller/color-controller.css +108 -0
- package/dist/collection/components/color-controller/color-controller.js +224 -0
- package/dist/collection/components/color-picker/color-picker.css +323 -0
- package/dist/collection/components/color-picker/color-picker.js +1139 -0
- package/dist/collection/components/color-picker/types.js +1 -0
- package/dist/collection/components/command-palette/command-palette.css +260 -0
- package/dist/collection/components/command-palette/command-palette.js +429 -0
- package/dist/collection/components/command-palette/types.js +1 -0
- package/dist/collection/components/context-menu/context-menu.css +388 -0
- package/dist/collection/components/context-menu/context-menu.js +1412 -0
- package/dist/collection/components/context-menu/types.js +1 -0
- package/dist/collection/components/dialog-box/dialog-box.css +1261 -0
- package/dist/collection/components/dialog-box/dialog-box.js +4314 -0
- package/dist/collection/components/dialog-box/dialog-tray.css +268 -0
- package/dist/collection/components/dialog-box/types.js +1 -0
- package/dist/collection/components/dialog-content/dialog-content.css +83 -0
- package/dist/collection/components/dialog-content/dialog-content.js +96 -0
- package/dist/collection/components/dialog-footer/dialog-footer.css +89 -0
- package/dist/collection/components/dialog-footer/dialog-footer.js +94 -0
- package/dist/collection/components/dialog-footer/types.js +1 -0
- package/dist/collection/components/dialog-header/dialog-header.css +203 -0
- package/dist/collection/components/dialog-header/dialog-header.js +630 -0
- package/dist/collection/components/dialog-header/types.js +1 -0
- package/dist/collection/components/divider/divider.css +948 -0
- package/dist/collection/components/divider/divider.js +1612 -0
- package/dist/collection/components/divider/types.js +1 -0
- package/dist/collection/components/dock/dock.css +348 -0
- package/dist/collection/components/dock/dock.js +464 -0
- package/dist/collection/components/dock/types.js +1 -0
- package/dist/collection/components/dock-host/index.js +1 -0
- package/dist/collection/components/dock-host/types.js +1 -0
- package/dist/collection/components/dock-host/ui-dock-host.css +155 -0
- package/dist/collection/components/dock-host/ui-dock-host.js +226 -0
- package/dist/collection/components/drag-drop/drag-drop.css +103 -0
- package/dist/collection/components/drag-drop/drag-drop.js +385 -0
- package/dist/collection/components/drag-drop/types.js +1 -0
- package/dist/collection/components/dropdown/dropdown.css +1142 -0
- package/dist/collection/components/dropdown/dropdown.js +2033 -0
- package/dist/collection/components/dropdown/types.js +1 -0
- package/dist/collection/components/empty-state/empty-state.css +712 -0
- package/dist/collection/components/empty-state/empty-state.js +1256 -0
- package/dist/collection/components/empty-state/types.js +1 -0
- package/dist/collection/components/fab/fab.css +601 -0
- package/dist/collection/components/fab/fab.js +1124 -0
- package/dist/collection/components/fab-item/fab-item.css +107 -0
- package/dist/collection/components/fab-item/fab-item.js +177 -0
- package/dist/collection/components/fab-item/types.js +1 -0
- package/dist/collection/components/file-upload/file-upload.css +243 -0
- package/dist/collection/components/file-upload/file-upload.js +1022 -0
- package/dist/collection/components/file-upload/types.js +1 -0
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +394 -0
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +375 -0
- package/dist/collection/components/icon/icon.css +113 -0
- package/dist/collection/components/icon/icon.js +583 -0
- package/dist/collection/components/image-button/image-button.css +154 -0
- package/dist/collection/components/image-button/image-button.js +310 -0
- package/dist/collection/components/image-button/types.js +1 -0
- package/dist/collection/components/input/input.css +1544 -0
- package/dist/collection/components/input/input.js +3690 -0
- package/dist/collection/components/input/types.js +1 -0
- package/dist/collection/components/input-pair/input-pair.css +72 -0
- package/dist/collection/components/input-pair/input-pair.js +309 -0
- package/dist/collection/components/knob/knob.css +162 -0
- package/dist/collection/components/knob/knob.js +986 -0
- package/dist/collection/components/knob/types.js +1 -0
- package/dist/collection/components/layout-manager/layout-manager.css +41 -0
- package/dist/collection/components/layout-manager/layout-manager.js +525 -0
- package/dist/collection/components/layout-manager/lm-container/lm-container.css +117 -0
- package/dist/collection/components/layout-manager/lm-container/lm-container.js +110 -0
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.css +0 -0
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +49 -0
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.css +97 -0
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +58 -0
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.css +57 -0
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +120 -0
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.css +149 -0
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +130 -0
- package/dist/collection/components/layout-manager/types.js +1 -0
- package/dist/collection/components/library/category-section.css +147 -0
- package/dist/collection/components/library/category-section.js +139 -0
- package/dist/collection/components/library/data.js +74 -0
- package/dist/collection/components/library/library-card.css +181 -0
- package/dist/collection/components/library/library-card.js +203 -0
- package/dist/collection/components/library/library.css +358 -0
- package/dist/collection/components/library/library.js +91 -0
- package/dist/collection/components/list/list.css +1029 -0
- package/dist/collection/components/list/list.js +2167 -0
- package/dist/collection/components/list-group/list-group.css +275 -0
- package/dist/collection/components/list-group/list-group.js +356 -0
- package/dist/collection/components/list-item/list-item.css +1491 -0
- package/dist/collection/components/list-item/list-item.js +2184 -0
- package/dist/collection/components/masonry/masonry.css +414 -0
- package/dist/collection/components/masonry/masonry.js +1104 -0
- package/dist/collection/components/masonry/types.js +1 -0
- package/dist/collection/components/meter-group/meter-group.css +184 -0
- package/dist/collection/components/meter-group/meter-group.js +471 -0
- package/dist/collection/components/meter-group/types.js +1 -0
- package/dist/collection/components/my-component/my-component.css +27 -0
- package/dist/collection/components/my-component/my-component.js +95 -0
- package/dist/collection/components/my-step/my-step.css +25 -0
- package/dist/collection/components/my-step/my-step.js +237 -0
- package/dist/collection/components/nav-bar/nav-bar.css +448 -0
- package/dist/collection/components/nav-bar/nav-bar.js +608 -0
- package/dist/collection/components/number-input/number-input.css +200 -0
- package/dist/collection/components/number-input/number-input.js +695 -0
- package/dist/collection/components/otp-input/otp-input.css +243 -0
- package/dist/collection/components/otp-input/otp-input.js +761 -0
- package/dist/collection/components/otp-input/types.js +1 -0
- package/dist/collection/components/pagination/pagination.css +1399 -0
- package/dist/collection/components/pagination/pagination.js +2033 -0
- package/dist/collection/components/pagination/types.js +1 -0
- package/dist/collection/components/panel/panel.css +837 -0
- package/dist/collection/components/panel/panel.js +1842 -0
- package/dist/collection/components/panel/types.js +1 -0
- package/dist/collection/components/pattern-input/pattern-input.css +252 -0
- package/dist/collection/components/pattern-input/pattern-input.js +788 -0
- package/dist/collection/components/popover/popover.css +399 -0
- package/dist/collection/components/popover/popover.js +1449 -0
- package/dist/collection/components/popover/types.js +1 -0
- package/dist/collection/components/progress/progress.css +588 -0
- package/dist/collection/components/progress/progress.js +1414 -0
- package/dist/collection/components/progress/types.js +1 -0
- package/dist/collection/components/radio/radio.css +773 -0
- package/dist/collection/components/radio/radio.js +1059 -0
- package/dist/collection/components/radio/types.js +1 -0
- package/dist/collection/components/radio-group/radio-group.css +202 -0
- package/dist/collection/components/radio-group/radio-group.js +903 -0
- package/dist/collection/components/radio-group/types.js +1 -0
- package/dist/collection/components/range-slider/range-slider.css +602 -0
- package/dist/collection/components/range-slider/range-slider.js +1369 -0
- package/dist/collection/components/range-slider/types.js +1 -0
- package/dist/collection/components/rating/rating.css +768 -0
- package/dist/collection/components/rating/rating.js +1062 -0
- package/dist/collection/components/rating/types.js +1 -0
- package/dist/collection/components/resizable-panel/resizable-panel.css +247 -0
- package/dist/collection/components/resizable-panel/resizable-panel.js +874 -0
- package/dist/collection/components/resizable-panel/types.js +1 -0
- package/dist/collection/components/scroll-top/scroll-top.css +397 -0
- package/dist/collection/components/scroll-top/scroll-top.js +1178 -0
- package/dist/collection/components/scroll-top/types.js +1 -0
- package/dist/collection/components/skeleton/skeleton-loader.css +429 -0
- package/dist/collection/components/skeleton/skeleton-loader.js +1193 -0
- package/dist/collection/components/skeleton/types.js +1 -0
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +357 -0
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +1190 -0
- package/dist/collection/components/smart-location-dropdown/types.js +1 -0
- package/dist/collection/components/smart-menu/menu-item.interface.js +1 -0
- package/dist/collection/components/smart-menu/smart-menu.css +119 -0
- package/dist/collection/components/smart-menu/smart-menu.js +544 -0
- package/dist/collection/components/smart-stepper/smart-step.css +213 -0
- package/dist/collection/components/smart-stepper/smart-step.js +170 -0
- package/dist/collection/components/smart-stepper/smart-stepper.css +146 -0
- package/dist/collection/components/smart-stepper/smart-stepper.js +338 -0
- package/dist/collection/components/snackbar/snackbar.css +1480 -0
- package/dist/collection/components/snackbar/snackbar.js +1759 -0
- package/dist/collection/components/snackbar/types.js +1 -0
- package/dist/collection/components/speed-dial/speed-dial.css +478 -0
- package/dist/collection/components/speed-dial/speed-dial.js +1183 -0
- package/dist/collection/components/speed-dial/types.js +1 -0
- package/dist/collection/components/speedometer/speedometer.css +95 -0
- package/dist/collection/components/speedometer/speedometer.js +868 -0
- package/dist/collection/components/speedometer/types.js +1 -0
- package/dist/collection/components/splitter/splitter.css +269 -0
- package/dist/collection/components/splitter/splitter.js +713 -0
- package/dist/collection/components/splitter/types.js +1 -0
- package/dist/collection/components/stack/stack.css +269 -0
- package/dist/collection/components/stack/stack.js +297 -0
- package/dist/collection/components/stack/types.js +1 -0
- package/dist/collection/components/step/step.css +77 -0
- package/dist/collection/components/step/step.js +214 -0
- package/dist/collection/components/step/types.js +1 -0
- package/dist/collection/components/stepper/stepper.css +1079 -0
- package/dist/collection/components/stepper/stepper.js +1850 -0
- package/dist/collection/components/stepper/types.js +1 -0
- package/dist/collection/components/switch/switch.css +1099 -0
- package/dist/collection/components/switch/switch.js +1578 -0
- package/dist/collection/components/tabs/tabs.css +1355 -0
- package/dist/collection/components/tabs/tabs.js +1474 -0
- package/dist/collection/components/tabs/types.js +1 -0
- package/dist/collection/components/tag/tag.css +893 -0
- package/dist/collection/components/tag/tag.js +1119 -0
- package/dist/collection/components/tag/types.js +1 -0
- package/dist/collection/components/tag-group/tag-group.css +144 -0
- package/dist/collection/components/tag-group/tag-group.js +887 -0
- package/dist/collection/components/tag-group/types.js +1 -0
- package/dist/collection/components/timeline/timeline.css +1850 -0
- package/dist/collection/components/timeline/timeline.js +889 -0
- package/dist/collection/components/timeline/types.js +1 -0
- package/dist/collection/components/timeline/ui-timeline.stories.js +19 -0
- package/dist/collection/components/timeline-item/timeline-item.css +75 -0
- package/dist/collection/components/timeline-item/timeline-item.js +91 -0
- package/dist/collection/components/timer/timer.css +367 -0
- package/dist/collection/components/timer/timer.js +1292 -0
- package/dist/collection/components/timer/types.js +1 -0
- package/dist/collection/components/timer/ui-timer.stories.js +19 -0
- package/dist/collection/components/toggle-group/toggle-group.css +361 -0
- package/dist/collection/components/toggle-group/toggle-group.js +1212 -0
- package/dist/collection/components/toggle-group/types.js +1 -0
- package/dist/collection/components/toolbar/toolbar-types.js +1 -0
- package/dist/collection/components/toolbar/toolbar.css +1186 -0
- package/dist/collection/components/toolbar/toolbar.js +1635 -0
- package/dist/collection/components/tooltip/tooltip.css +609 -0
- package/dist/collection/components/tooltip/tooltip.js +1882 -0
- package/dist/collection/components/tooltip/types.js +1 -0
- package/dist/collection/components/top-bar/top-bar.css +274 -0
- package/dist/collection/components/top-bar/top-bar.js +383 -0
- package/dist/collection/components/transfer-list/transfer-list.css +520 -0
- package/dist/collection/components/transfer-list/transfer-list.js +1225 -0
- package/dist/collection/components/transfer-list/types.js +1 -0
- package/dist/collection/components/tree/tree.css +1197 -0
- package/dist/collection/components/tree/tree.js +2509 -0
- package/dist/collection/components/tree/types.js +1 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +830 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +1231 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-types.js +1 -0
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +679 -0
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +385 -0
- package/dist/collection/components/ui-navigation-bar/navigation-types.js +1 -0
- package/dist/collection/components/workspace-manager/types.js +1 -0
- package/dist/collection/components/workspace-manager/workspace-manager.css +1094 -0
- package/dist/collection/components/workspace-manager/workspace-manager.js +1914 -0
- package/dist/collection/components.js +51 -0
- package/dist/collection/index.js +108 -0
- package/dist/collection/service/drag-manager.js +23 -0
- package/dist/collection/service/event-bus.js +19 -0
- package/dist/collection/service/serialization.js +8 -0
- package/dist/collection/service/state-engine.js +247 -0
- package/dist/collection/service/theme-switcher.js +146 -0
- package/dist/collection/stories/Button.stories.js +15 -0
- package/dist/collection/types/common.js +1 -0
- package/dist/collection/types/index.js +4 -0
- package/dist/collection/utils/aria-live.js +60 -0
- package/dist/collection/utils/component-size.js +25 -0
- package/dist/collection/utils/dom.js +260 -0
- package/dist/collection/utils/focus-trap.js +135 -0
- package/dist/collection/utils/security.js +10 -0
- package/dist/collection/utils/test/setup-component-test-env.js +92 -0
- package/dist/collection/utils/utils.js +21 -0
- package/dist/collection/utils/validation.js +74 -0
- package/dist/components/avatar-group.js +1 -0
- package/dist/components/avatar.js +1 -0
- package/dist/components/badge.js +1 -0
- package/dist/components/button-toggle.js +1 -0
- package/dist/components/category-section.d.ts +11 -0
- package/dist/components/category-section.js +1 -0
- package/dist/components/category-section2.js +1 -0
- package/dist/components/checkbox.js +1 -0
- package/dist/components/context-menu.js +1 -0
- package/dist/components/dialog-footer.js +1 -0
- package/dist/components/dialog-header.js +1 -0
- package/dist/components/dom.js +1 -0
- package/dist/components/dropdown.js +1 -0
- package/dist/components/event-bus.js +1 -0
- package/dist/components/focus-trap.js +1 -0
- package/dist/components/icon.js +2 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/input.js +1 -0
- package/dist/components/layout-manager.d.ts +11 -0
- package/dist/components/layout-manager.js +1 -0
- package/dist/components/library-card.d.ts +11 -0
- package/dist/components/library-card.js +1 -0
- package/dist/components/library-card2.js +1 -0
- package/dist/components/list-group.js +1 -0
- package/dist/components/list-item.js +1 -0
- package/dist/components/lm-container.d.ts +11 -0
- package/dist/components/lm-container.js +1 -0
- package/dist/components/lm-container2.js +1 -0
- package/dist/components/lm-floating-window.d.ts +11 -0
- package/dist/components/lm-floating-window.js +1 -0
- package/dist/components/lm-floating-window2.js +1 -0
- package/dist/components/lm-panel.d.ts +11 -0
- package/dist/components/lm-panel.js +1 -0
- package/dist/components/lm-panel2.js +1 -0
- package/dist/components/lm-splitter.d.ts +11 -0
- package/dist/components/lm-splitter.js +1 -0
- package/dist/components/lm-splitter2.js +1 -0
- package/dist/components/lm-tabs.d.ts +11 -0
- package/dist/components/lm-tabs.js +1 -0
- package/dist/components/lm-tabs2.js +1 -0
- package/dist/components/my-component.d.ts +11 -0
- package/dist/components/my-component.js +1 -0
- package/dist/components/my-step.d.ts +11 -0
- package/dist/components/my-step.js +1 -0
- package/dist/components/nav-bar.d.ts +11 -0
- package/dist/components/nav-bar.js +1 -0
- package/dist/components/pagination.js +1 -0
- package/dist/components/radio.js +1 -0
- package/dist/components/range-slider.js +1 -0
- package/dist/components/rating.js +1 -0
- package/dist/components/resizable-panel.js +1 -0
- package/dist/components/skeleton-loader.js +1 -0
- package/dist/components/smart-step.d.ts +11 -0
- package/dist/components/smart-step.js +1 -0
- package/dist/components/stack.js +1 -0
- package/dist/components/switch.js +1 -0
- package/dist/components/tag-group.js +1 -0
- package/dist/components/tag.js +1 -0
- package/dist/components/timeline-item.d.ts +11 -0
- package/dist/components/timeline-item.js +1 -0
- package/dist/components/toggle-group.js +1 -0
- package/dist/components/tooltip.js +1 -0
- package/dist/components/ui-accordion.d.ts +11 -0
- package/dist/components/ui-accordion.js +1 -0
- package/dist/components/ui-advanced-data-table.d.ts +11 -0
- package/dist/components/ui-advanced-data-table.js +1 -0
- package/dist/components/ui-anchor.d.ts +11 -0
- package/dist/components/ui-anchor.js +1 -0
- package/dist/components/ui-animate-on-scroll.d.ts +11 -0
- package/dist/components/ui-animate-on-scroll.js +1 -0
- package/dist/components/ui-aside-panel.d.ts +11 -0
- package/dist/components/ui-aside-panel.js +1 -0
- package/dist/components/ui-avatar-group.d.ts +11 -0
- package/dist/components/ui-avatar-group.js +1 -0
- package/dist/components/ui-avatar.d.ts +11 -0
- package/dist/components/ui-avatar.js +1 -0
- package/dist/components/ui-badge.d.ts +11 -0
- package/dist/components/ui-badge.js +1 -0
- package/dist/components/ui-breadcrumb-item.d.ts +11 -0
- package/dist/components/ui-breadcrumb-item.js +1 -0
- package/dist/components/ui-breadcrumb.d.ts +11 -0
- package/dist/components/ui-breadcrumb.js +1 -0
- package/dist/components/ui-button-toggle-group.d.ts +11 -0
- package/dist/components/ui-button-toggle-group.js +1 -0
- package/dist/components/ui-button-toggle.d.ts +11 -0
- package/dist/components/ui-button-toggle.js +1 -0
- package/dist/components/ui-button.d.ts +11 -0
- package/dist/components/ui-button.js +1 -0
- package/dist/components/ui-callout-banner.d.ts +11 -0
- package/dist/components/ui-callout-banner.js +1 -0
- package/dist/components/ui-card.d.ts +11 -0
- package/dist/components/ui-card.js +1 -0
- package/dist/components/ui-carousel.d.ts +11 -0
- package/dist/components/ui-carousel.js +1 -0
- package/dist/components/ui-checkbox-group.d.ts +11 -0
- package/dist/components/ui-checkbox-group.js +1 -0
- package/dist/components/ui-checkbox.d.ts +11 -0
- package/dist/components/ui-checkbox.js +1 -0
- package/dist/components/ui-code-editor.d.ts +11 -0
- package/dist/components/ui-code-editor.js +1 -0
- package/dist/components/ui-code-preview.d.ts +11 -0
- package/dist/components/ui-code-preview.js +1 -0
- package/dist/components/ui-color-controller.d.ts +11 -0
- package/dist/components/ui-color-controller.js +1 -0
- package/dist/components/ui-color-picker.d.ts +11 -0
- package/dist/components/ui-color-picker.js +1 -0
- package/dist/components/ui-command-palette.d.ts +11 -0
- package/dist/components/ui-command-palette.js +1 -0
- package/dist/components/ui-context-menu.d.ts +11 -0
- package/dist/components/ui-context-menu.js +1 -0
- package/dist/components/ui-dialog-box.d.ts +11 -0
- package/dist/components/ui-dialog-box.js +1 -0
- package/dist/components/ui-dialog-content.d.ts +11 -0
- package/dist/components/ui-dialog-content.js +1 -0
- package/dist/components/ui-dialog-footer.d.ts +11 -0
- package/dist/components/ui-dialog-footer.js +1 -0
- package/dist/components/ui-dialog-header.d.ts +11 -0
- package/dist/components/ui-dialog-header.js +1 -0
- package/dist/components/ui-divider.d.ts +11 -0
- package/dist/components/ui-divider.js +1 -0
- package/dist/components/ui-dock-host.d.ts +11 -0
- package/dist/components/ui-dock-host.js +1 -0
- package/dist/components/ui-dock.d.ts +11 -0
- package/dist/components/ui-dock.js +1 -0
- package/dist/components/ui-drag-drop.d.ts +11 -0
- package/dist/components/ui-drag-drop.js +1 -0
- package/dist/components/ui-dropdown.d.ts +11 -0
- package/dist/components/ui-dropdown.js +1 -0
- package/dist/components/ui-empty-state.d.ts +11 -0
- package/dist/components/ui-empty-state.js +1 -0
- package/dist/components/ui-fab-item.d.ts +11 -0
- package/dist/components/ui-fab-item.js +1 -0
- package/dist/components/ui-fab.d.ts +11 -0
- package/dist/components/ui-fab.js +1 -0
- package/dist/components/ui-file-upload.d.ts +11 -0
- package/dist/components/ui-file-upload.js +1 -0
- package/dist/components/ui-horizontal-nav.d.ts +11 -0
- package/dist/components/ui-horizontal-nav.js +1 -0
- package/dist/components/ui-icon.d.ts +11 -0
- package/dist/components/ui-icon.js +1 -0
- package/dist/components/ui-image-button.d.ts +11 -0
- package/dist/components/ui-image-button.js +1 -0
- package/dist/components/ui-input-pair.d.ts +11 -0
- package/dist/components/ui-input-pair.js +1 -0
- package/dist/components/ui-input.d.ts +11 -0
- package/dist/components/ui-input.js +1 -0
- package/dist/components/ui-knob.d.ts +11 -0
- package/dist/components/ui-knob.js +1 -0
- package/dist/components/ui-library.d.ts +11 -0
- package/dist/components/ui-library.js +1 -0
- package/dist/components/ui-list-group.d.ts +11 -0
- package/dist/components/ui-list-group.js +1 -0
- package/dist/components/ui-list-item.d.ts +11 -0
- package/dist/components/ui-list-item.js +1 -0
- package/dist/components/ui-list.d.ts +11 -0
- package/dist/components/ui-list.js +1 -0
- package/dist/components/ui-masonry.d.ts +11 -0
- package/dist/components/ui-masonry.js +1 -0
- package/dist/components/ui-meter-group.d.ts +11 -0
- package/dist/components/ui-meter-group.js +1 -0
- package/dist/components/ui-navigation-bar.d.ts +11 -0
- package/dist/components/ui-navigation-bar.js +1 -0
- package/dist/components/ui-navigation-item.d.ts +11 -0
- package/dist/components/ui-navigation-item.js +1 -0
- package/dist/components/ui-number-input.d.ts +11 -0
- package/dist/components/ui-number-input.js +1 -0
- package/dist/components/ui-otp-input.d.ts +11 -0
- package/dist/components/ui-otp-input.js +1 -0
- package/dist/components/ui-pagination.d.ts +11 -0
- package/dist/components/ui-pagination.js +1 -0
- package/dist/components/ui-panel.d.ts +11 -0
- package/dist/components/ui-panel.js +1 -0
- package/dist/components/ui-pattern-input.d.ts +11 -0
- package/dist/components/ui-pattern-input.js +1 -0
- package/dist/components/ui-popover.d.ts +11 -0
- package/dist/components/ui-popover.js +1 -0
- package/dist/components/ui-progress.d.ts +11 -0
- package/dist/components/ui-progress.js +1 -0
- package/dist/components/ui-radio-group.d.ts +11 -0
- package/dist/components/ui-radio-group.js +1 -0
- package/dist/components/ui-radio.d.ts +11 -0
- package/dist/components/ui-radio.js +1 -0
- package/dist/components/ui-range-slider.d.ts +11 -0
- package/dist/components/ui-range-slider.js +1 -0
- package/dist/components/ui-rating.d.ts +11 -0
- package/dist/components/ui-rating.js +1 -0
- package/dist/components/ui-resizable-panel.d.ts +11 -0
- package/dist/components/ui-resizable-panel.js +1 -0
- package/dist/components/ui-scroll-top.d.ts +11 -0
- package/dist/components/ui-scroll-top.js +1 -0
- package/dist/components/ui-skeleton.d.ts +11 -0
- package/dist/components/ui-skeleton.js +1 -0
- package/dist/components/ui-smart-context-menu.d.ts +11 -0
- package/dist/components/ui-smart-context-menu.js +1 -0
- package/dist/components/ui-smart-location-dropdown.d.ts +11 -0
- package/dist/components/ui-smart-location-dropdown.js +1 -0
- package/dist/components/ui-smart-stepper.d.ts +11 -0
- package/dist/components/ui-smart-stepper.js +1 -0
- package/dist/components/ui-snackbar.d.ts +11 -0
- package/dist/components/ui-snackbar.js +1 -0
- package/dist/components/ui-speed-dial.d.ts +11 -0
- package/dist/components/ui-speed-dial.js +1 -0
- package/dist/components/ui-speedometer.d.ts +11 -0
- package/dist/components/ui-speedometer.js +1 -0
- package/dist/components/ui-splitter.d.ts +11 -0
- package/dist/components/ui-splitter.js +1 -0
- package/dist/components/ui-stack.d.ts +11 -0
- package/dist/components/ui-stack.js +1 -0
- package/dist/components/ui-step.d.ts +11 -0
- package/dist/components/ui-step.js +1 -0
- package/dist/components/ui-stepper.d.ts +11 -0
- package/dist/components/ui-stepper.js +1 -0
- package/dist/components/ui-switch.d.ts +11 -0
- package/dist/components/ui-switch.js +1 -0
- package/dist/components/ui-tabs.d.ts +11 -0
- package/dist/components/ui-tabs.js +1 -0
- package/dist/components/ui-tag-group.d.ts +11 -0
- package/dist/components/ui-tag-group.js +1 -0
- package/dist/components/ui-tag.d.ts +11 -0
- package/dist/components/ui-tag.js +1 -0
- package/dist/components/ui-timeline.d.ts +11 -0
- package/dist/components/ui-timeline.js +1 -0
- package/dist/components/ui-timer.d.ts +11 -0
- package/dist/components/ui-timer.js +1 -0
- package/dist/components/ui-toggle-group.d.ts +11 -0
- package/dist/components/ui-toggle-group.js +1 -0
- package/dist/components/ui-toolbar.d.ts +11 -0
- package/dist/components/ui-toolbar.js +1 -0
- package/dist/components/ui-tooltip.d.ts +11 -0
- package/dist/components/ui-tooltip.js +1 -0
- package/dist/components/ui-top-bar.d.ts +11 -0
- package/dist/components/ui-top-bar.js +1 -0
- package/dist/components/ui-transfer-list.d.ts +11 -0
- package/dist/components/ui-transfer-list.js +1 -0
- package/dist/components/ui-tree.d.ts +11 -0
- package/dist/components/ui-tree.js +1 -0
- package/dist/components/ui-workspace-manager.d.ts +11 -0
- package/dist/components/ui-workspace-manager.js +1 -0
- package/dist/components/utils.js +1 -0
- package/dist/esm/category-section.entry.js +28 -0
- package/dist/esm/component-size-C7gf39HE.js +27 -0
- package/dist/esm/dom-BMFah5q3.js +262 -0
- package/dist/esm/event-bus-vwwmWKs9.js +21 -0
- package/dist/esm/exploration-project-tailwind.js +20 -0
- package/dist/esm/focus-trap-BSQ8klD4.js +137 -0
- package/dist/esm/index-DUsoYu9r.js +2264 -0
- package/dist/esm/index.js +256 -0
- package/dist/esm/layout-manager.entry.js +614 -0
- package/dist/esm/library-card.entry.js +61 -0
- package/dist/esm/lm-container_2.entry.js +76 -0
- package/dist/esm/lm-panel_3.entry.js +104 -0
- package/dist/esm/loader.js +10 -0
- package/dist/esm/my-component.entry.js +31 -0
- package/dist/esm/my-step.entry.js +27 -0
- package/dist/esm/nav-bar.entry.js +245 -0
- package/dist/esm/security-D2WzX6vR.js +1545 -0
- package/dist/esm/smart-step.entry.js +45 -0
- package/dist/esm/timeline-item.entry.js +27 -0
- package/dist/esm/ui-accordion_10.entry.js +5722 -0
- package/dist/esm/ui-advanced-data-table.entry.js +2682 -0
- package/dist/esm/ui-anchor.entry.js +556 -0
- package/dist/esm/ui-animate-on-scroll.entry.js +283 -0
- package/dist/esm/ui-aside-panel.entry.js +636 -0
- package/dist/esm/ui-avatar-group_3.entry.js +630 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +54 -0
- package/dist/esm/ui-breadcrumb.entry.js +199 -0
- package/dist/esm/ui-callout-banner.entry.js +289 -0
- package/dist/esm/ui-card.entry.js +409 -0
- package/dist/esm/ui-carousel.entry.js +545 -0
- package/dist/esm/ui-checkbox-group.entry.js +328 -0
- package/dist/esm/ui-checkbox.entry.js +258 -0
- package/dist/esm/ui-code-editor.entry.js +959 -0
- package/dist/esm/ui-code-preview.entry.js +313 -0
- package/dist/esm/ui-color-controller.entry.js +148 -0
- package/dist/esm/ui-color-picker.entry.js +656 -0
- package/dist/esm/ui-command-palette.entry.js +176 -0
- package/dist/esm/ui-dialog-box.entry.js +1806 -0
- package/dist/esm/ui-dialog-content.entry.js +29 -0
- package/dist/esm/ui-dialog-footer_2.entry.js +190 -0
- package/dist/esm/ui-divider.entry.js +479 -0
- package/dist/esm/ui-dock-host.entry.js +126 -0
- package/dist/esm/ui-dock.entry.js +219 -0
- package/dist/esm/ui-drag-drop.entry.js +170 -0
- package/dist/esm/ui-dropdown_2.entry.js +1549 -0
- package/dist/esm/ui-empty-state.entry.js +396 -0
- package/dist/esm/ui-fab-item.entry.js +37 -0
- package/dist/esm/ui-fab.entry.js +275 -0
- package/dist/esm/ui-file-upload.entry.js +416 -0
- package/dist/esm/ui-horizontal-nav.entry.js +133 -0
- package/dist/esm/ui-image-button.entry.js +65 -0
- package/dist/esm/ui-input-pair.entry.js +42 -0
- package/dist/esm/ui-knob.entry.js +445 -0
- package/dist/esm/ui-library.entry.js +132 -0
- package/dist/esm/ui-list-group_2.entry.js +583 -0
- package/dist/esm/ui-list.entry.js +730 -0
- package/dist/esm/ui-masonry.entry.js +476 -0
- package/dist/esm/ui-meter-group.entry.js +171 -0
- package/dist/esm/ui-navigation-item.entry.js +102 -0
- package/dist/esm/ui-number-input.entry.js +189 -0
- package/dist/esm/ui-otp-input.entry.js +244 -0
- package/dist/esm/ui-pagination_3.entry.js +1617 -0
- package/dist/esm/ui-panel.entry.js +612 -0
- package/dist/esm/ui-pattern-input.entry.js +276 -0
- package/dist/esm/ui-popover.entry.js +515 -0
- package/dist/esm/ui-progress.entry.js +514 -0
- package/dist/esm/ui-radio-group.entry.js +203 -0
- package/dist/esm/ui-radio.entry.js +204 -0
- package/dist/esm/ui-range-slider.entry.js +635 -0
- package/dist/esm/ui-resizable-panel.entry.js +482 -0
- package/dist/esm/ui-scroll-top.entry.js +457 -0
- package/dist/esm/ui-smart-context-menu.entry.js +374 -0
- package/dist/esm/ui-smart-location-dropdown.entry.js +563 -0
- package/dist/esm/ui-smart-stepper.entry.js +135 -0
- package/dist/esm/ui-snackbar.entry.js +861 -0
- package/dist/esm/ui-speed-dial.entry.js +518 -0
- package/dist/esm/ui-speedometer.entry.js +426 -0
- package/dist/esm/ui-splitter.entry.js +280 -0
- package/dist/esm/ui-step.entry.js +28 -0
- package/dist/esm/ui-stepper.entry.js +638 -0
- package/dist/esm/ui-switch.entry.js +403 -0
- package/dist/esm/ui-tabs.entry.js +701 -0
- package/dist/esm/ui-tag.entry.js +297 -0
- package/dist/esm/ui-timeline.entry.js +265 -0
- package/dist/esm/ui-timer.entry.js +500 -0
- package/dist/esm/ui-toolbar.entry.js +617 -0
- package/dist/esm/ui-tooltip.entry.js +695 -0
- package/dist/esm/ui-top-bar.entry.js +119 -0
- package/dist/esm/ui-transfer-list.entry.js +590 -0
- package/dist/esm/ui-tree.entry.js +872 -0
- package/dist/esm/ui-workspace-manager.entry.js +1199 -0
- package/dist/esm/utils-Ck6jDuhz.js +23 -0
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -0
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -0
- package/dist/exploration-project-tailwind/index.esm.js +1 -0
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-0b004861.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-200241f8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-287dbf09.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2d273118.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2f961934.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-35296877.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-36861546.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3d3d48fd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-41cd6bf0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-45482d86.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4d73c143.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4de419d5.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4f6bba75.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5e3e80ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-61717490.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-62352ef2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-64e3a484.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-73d29a4a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7515b1e3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77124686.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77cc333a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7f91d949.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-81961fb1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-85bf89fd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-85e36111.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-875be805.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-898dd0fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-8d951aef.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9d0c8760.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9fa70359.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +1 -0
- package/dist/exploration-project-tailwind/p-BSQ8klD4.js +1 -0
- package/dist/exploration-project-tailwind/p-C7gf39HE.js +1 -0
- package/dist/exploration-project-tailwind/p-Ck6jDuhz.js +1 -0
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +2 -0
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +2 -0
- package/dist/exploration-project-tailwind/p-a1ad32a2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a3f465d9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a42fdc33.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-aa85ff78.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c174a372.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c4ba7e52.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c5ddc817.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c6fd72e1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c7e87fbb.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c87aeab6.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c90722ec.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ccb5c737.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d30e24bd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d419eaf0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-debede45.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e5322e59.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e8ba0c95.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f0830120.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f5719913.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ffb1754a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-vwwmWKs9.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/accordion/accordion.d.ts +352 -0
- package/dist/types/components/accordion/types.d.ts +69 -0
- package/dist/types/components/advanced-data-table/advanced-data-table.d.ts +697 -0
- package/dist/types/components/advanced-data-table/types.d.ts +120 -0
- package/dist/types/components/anchor/anchor.d.ts +133 -0
- package/dist/types/components/anchor/types.d.ts +17 -0
- package/dist/types/components/animate-on-scroll/animate-on-scroll.d.ts +101 -0
- package/dist/types/components/aside-panel/aside-panel.d.ts +249 -0
- package/dist/types/components/avatar/avatar.d.ts +201 -0
- package/dist/types/components/avatar/types.d.ts +132 -0
- package/dist/types/components/avatar-group/avatar-group.d.ts +52 -0
- package/dist/types/components/avatar-group/types.d.ts +31 -0
- package/dist/types/components/badge/badge.d.ts +109 -0
- package/dist/types/components/badge/types.d.ts +6 -0
- package/dist/types/components/breadcrumb/breadcrumb-item.d.ts +36 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +73 -0
- package/dist/types/components/breadcrumb/types.d.ts +5 -0
- package/dist/types/components/button/button.d.ts +133 -0
- package/dist/types/components/button/types.d.ts +1 -0
- package/dist/types/components/button-toggle/button-toggle.d.ts +64 -0
- package/dist/types/components/button-toggle-group/button-toggle-group.d.ts +141 -0
- package/dist/types/components/button-toggle-group/types.d.ts +7 -0
- package/dist/types/components/callout-banner/callout-banner.d.ts +115 -0
- package/dist/types/components/callout-banner/types.d.ts +7 -0
- package/dist/types/components/card/card.d.ts +160 -0
- package/dist/types/components/card/types.d.ts +13 -0
- package/dist/types/components/carousel/carousel.d.ts +150 -0
- package/dist/types/components/carousel/types.d.ts +8 -0
- package/dist/types/components/checkbox/checkbox.d.ts +92 -0
- package/dist/types/components/checkbox/types.d.ts +5 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +87 -0
- package/dist/types/components/checkbox-group/types.d.ts +8 -0
- package/dist/types/components/code-editor/code-editor.d.ts +147 -0
- package/dist/types/components/code-editor/types.d.ts +20 -0
- package/dist/types/components/code-preview/types.d.ts +5 -0
- package/dist/types/components/code-preview/ui-code-preview.d.ts +69 -0
- package/dist/types/components/color-controller/color-controller.d.ts +24 -0
- package/dist/types/components/color-picker/color-picker.d.ts +116 -0
- package/dist/types/components/color-picker/types.d.ts +24 -0
- package/dist/types/components/command-palette/command-palette.d.ts +41 -0
- package/dist/types/components/command-palette/types.d.ts +7 -0
- package/dist/types/components/context-menu/context-menu.d.ts +135 -0
- package/dist/types/components/context-menu/types.d.ts +20 -0
- package/dist/types/components/dialog-box/dialog-box.d.ts +648 -0
- package/dist/types/components/dialog-box/types.d.ts +1 -0
- package/dist/types/components/dialog-content/dialog-content.d.ts +9 -0
- package/dist/types/components/dialog-footer/dialog-footer.d.ts +9 -0
- package/dist/types/components/dialog-footer/types.d.ts +1 -0
- package/dist/types/components/dialog-header/dialog-header.d.ts +102 -0
- package/dist/types/components/dialog-header/types.d.ts +2 -0
- package/dist/types/components/divider/divider.d.ts +245 -0
- package/dist/types/components/divider/types.d.ts +14 -0
- package/dist/types/components/dock/dock.d.ts +37 -0
- package/dist/types/components/dock/types.d.ts +11 -0
- package/dist/types/components/dock-host/index.d.ts +1 -0
- package/dist/types/components/dock-host/types.d.ts +1 -0
- package/dist/types/components/dock-host/ui-dock-host.d.ts +23 -0
- package/dist/types/components/drag-drop/drag-drop.d.ts +52 -0
- package/dist/types/components/drag-drop/types.d.ts +9 -0
- package/dist/types/components/dropdown/dropdown.d.ts +264 -0
- package/dist/types/components/dropdown/types.d.ts +19 -0
- package/dist/types/components/empty-state/empty-state.d.ts +74 -0
- package/dist/types/components/empty-state/types.d.ts +13 -0
- package/dist/types/components/fab/fab.d.ts +73 -0
- package/dist/types/components/fab-item/fab-item.d.ts +14 -0
- package/dist/types/components/fab-item/types.d.ts +3 -0
- package/dist/types/components/file-upload/file-upload.d.ts +91 -0
- package/dist/types/components/file-upload/types.d.ts +15 -0
- package/dist/types/components/horizontal-nav/horizontal-nav.d.ts +68 -0
- package/dist/types/components/icon/icon.d.ts +66 -0
- package/dist/types/components/image-button/image-button.d.ts +31 -0
- package/dist/types/components/image-button/types.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +217 -0
- package/dist/types/components/input/types.d.ts +6 -0
- package/dist/types/components/input-pair/input-pair.d.ts +28 -0
- package/dist/types/components/knob/knob.d.ts +147 -0
- package/dist/types/components/knob/types.d.ts +4 -0
- package/dist/types/components/layout-manager/layout-manager.d.ts +32 -0
- package/dist/types/components/layout-manager/lm-container/lm-container.d.ts +7 -0
- package/dist/types/components/layout-manager/lm-floating-window/lm-floating-window.d.ts +6 -0
- package/dist/types/components/layout-manager/lm-panel/lm-panel.d.ts +7 -0
- package/dist/types/components/layout-manager/lm-splitter/lm-splitter.d.ts +12 -0
- package/dist/types/components/layout-manager/lm-tabs/lm-tabs.d.ts +12 -0
- package/dist/types/components/layout-manager/types.d.ts +1 -0
- package/dist/types/components/library/category-section.d.ts +15 -0
- package/dist/types/components/library/data.d.ts +11 -0
- package/dist/types/components/library/library-card.d.ts +19 -0
- package/dist/types/components/library/library.d.ts +9 -0
- package/dist/types/components/list/list.d.ts +183 -0
- package/dist/types/components/list-group/list-group.d.ts +28 -0
- package/dist/types/components/list-item/list-item.d.ts +200 -0
- package/dist/types/components/masonry/masonry.d.ts +105 -0
- package/dist/types/components/masonry/types.d.ts +5 -0
- package/dist/types/components/meter-group/meter-group.d.ts +66 -0
- package/dist/types/components/meter-group/types.d.ts +12 -0
- package/dist/types/components/my-component/my-component.d.ts +16 -0
- package/dist/types/components/my-step/index.d.ts +12 -0
- package/dist/types/components/my-step/my-step.d.ts +13 -0
- package/dist/types/components/nav-bar/nav-bar.d.ts +119 -0
- package/dist/types/components/number-input/number-input.d.ts +72 -0
- package/dist/types/components/otp-input/otp-input.d.ts +64 -0
- package/dist/types/components/otp-input/types.d.ts +3 -0
- package/dist/types/components/pagination/pagination.d.ts +295 -0
- package/dist/types/components/pagination/types.d.ts +1 -0
- package/dist/types/components/panel/panel.d.ts +275 -0
- package/dist/types/components/panel/types.d.ts +7 -0
- package/dist/types/components/pattern-input/pattern-input.d.ts +88 -0
- package/dist/types/components/popover/popover.d.ts +161 -0
- package/dist/types/components/popover/types.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +224 -0
- package/dist/types/components/progress/types.d.ts +6 -0
- package/dist/types/components/radio/radio.d.ts +87 -0
- package/dist/types/components/radio/types.d.ts +7 -0
- package/dist/types/components/radio-group/radio-group.d.ts +74 -0
- package/dist/types/components/radio-group/types.d.ts +2 -0
- package/dist/types/components/range-slider/range-slider.d.ts +201 -0
- package/dist/types/components/range-slider/types.d.ts +4 -0
- package/dist/types/components/rating/rating.d.ts +127 -0
- package/dist/types/components/rating/types.d.ts +1 -0
- package/dist/types/components/resizable-panel/resizable-panel.d.ts +59 -0
- package/dist/types/components/resizable-panel/types.d.ts +11 -0
- package/dist/types/components/scroll-top/scroll-top.d.ts +186 -0
- package/dist/types/components/scroll-top/types.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +149 -0
- package/dist/types/components/skeleton/types.d.ts +1 -0
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +119 -0
- package/dist/types/components/smart-location-dropdown/types.d.ts +37 -0
- package/dist/types/components/smart-menu/menu-item.interface.d.ts +10 -0
- package/dist/types/components/smart-menu/smart-menu.d.ts +64 -0
- package/dist/types/components/smart-stepper/smart-step.d.ts +29 -0
- package/dist/types/components/smart-stepper/smart-stepper.d.ts +53 -0
- package/dist/types/components/snackbar/snackbar.d.ts +223 -0
- package/dist/types/components/snackbar/types.d.ts +104 -0
- package/dist/types/components/speed-dial/speed-dial.d.ts +171 -0
- package/dist/types/components/speed-dial/types.d.ts +11 -0
- package/dist/types/components/speedometer/speedometer.d.ts +125 -0
- package/dist/types/components/speedometer/types.d.ts +8 -0
- package/dist/types/components/splitter/splitter.d.ts +63 -0
- package/dist/types/components/splitter/types.d.ts +9 -0
- package/dist/types/components/stack/stack.d.ts +34 -0
- package/dist/types/components/stack/types.d.ts +3 -0
- package/dist/types/components/step/step.d.ts +16 -0
- package/dist/types/components/step/types.d.ts +1 -0
- package/dist/types/components/stepper/stepper.d.ts +218 -0
- package/dist/types/components/stepper/types.d.ts +39 -0
- package/dist/types/components/switch/switch.d.ts +162 -0
- package/dist/types/components/tabs/tabs.d.ts +182 -0
- package/dist/types/components/tabs/types.d.ts +17 -0
- package/dist/types/components/tag/tag.d.ts +172 -0
- package/dist/types/components/tag/types.d.ts +4 -0
- package/dist/types/components/tag-group/tag-group.d.ts +107 -0
- package/dist/types/components/tag-group/types.d.ts +2 -0
- package/dist/types/components/timeline/timeline.d.ts +73 -0
- package/dist/types/components/timeline/types.d.ts +28 -0
- package/dist/types/components/timeline/ui-timeline.stories.d.ts +9 -0
- package/dist/types/components/timeline-item/timeline-item.d.ts +15 -0
- package/dist/types/components/timer/timer.d.ts +123 -0
- package/dist/types/components/timer/types.d.ts +18 -0
- package/dist/types/components/timer/ui-timer.stories.d.ts +9 -0
- package/dist/types/components/toggle-group/toggle-group.d.ts +136 -0
- package/dist/types/components/toggle-group/types.d.ts +5 -0
- package/dist/types/components/toolbar/toolbar-types.d.ts +189 -0
- package/dist/types/components/toolbar/toolbar.d.ts +150 -0
- package/dist/types/components/tooltip/tooltip.d.ts +166 -0
- package/dist/types/components/tooltip/types.d.ts +3 -0
- package/dist/types/components/top-bar/top-bar.d.ts +76 -0
- package/dist/types/components/transfer-list/transfer-list.d.ts +137 -0
- package/dist/types/components/transfer-list/types.d.ts +13 -0
- package/dist/types/components/tree/tree.d.ts +180 -0
- package/dist/types/components/tree/types.d.ts +76 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +108 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-types.d.ts +17 -0
- package/dist/types/components/ui-navigation-bar/navigation-item.d.ts +26 -0
- package/dist/types/components/ui-navigation-bar/navigation-types.d.ts +19 -0
- package/dist/types/components/workspace-manager/types.d.ts +48 -0
- package/dist/types/components/workspace-manager/workspace-manager.d.ts +211 -0
- package/dist/types/components.d.ts +29634 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/service/drag-manager.d.ts +8 -0
- package/dist/types/service/event-bus.d.ts +9 -0
- package/dist/types/service/serialization.d.ts +5 -0
- package/dist/types/service/state-engine.d.ts +25 -0
- package/dist/types/service/theme-switcher.d.ts +46 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/types/animation.type.d.ts +96 -0
- package/dist/types/types/common.d.ts +52 -0
- package/dist/types/types/common.type.d.ts +608 -0
- package/dist/types/types/index.d.ts +37 -0
- package/dist/types/types/text.type.d.ts +32 -0
- package/dist/types/utils/aria-live.d.ts +20 -0
- package/dist/types/utils/component-size.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +58 -0
- package/dist/types/utils/focus-trap.d.ts +35 -0
- package/dist/types/utils/security.d.ts +5 -0
- package/dist/types/utils/test/setup-component-test-env.d.ts +14 -0
- package/dist/types/utils/utils.d.ts +7 -0
- package/dist/types/utils/validation.d.ts +43 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +77 -0
|
@@ -0,0 +1,798 @@
|
|
|
1
|
+
// Stepper Component Demo
|
|
2
|
+
export function initStepperDemo() {
|
|
3
|
+
const section = document.getElementById('stepper');
|
|
4
|
+
if (!section) return;
|
|
5
|
+
|
|
6
|
+
section.innerHTML = `
|
|
7
|
+
<p style="margin-top: 0; opacity: 0.7; font-size: 14px; margin-bottom: 24px;">Flexible step navigation with multiple styles, orientations, and progress modes.</p>
|
|
8
|
+
|
|
9
|
+
<div class="demo-controls" style="margin: 20px 0; display: flex; gap: 8px; flex-wrap: wrap;">
|
|
10
|
+
<ui-button label="🎮 Playground" onclick="showInteractiveStepper()" style="--ui-button-bg: #8b5cf6; --ui-button-text-color: white;" variant="outline"></ui-button>
|
|
11
|
+
<ui-button label="✨ Premium Styles" style="--ui-button-border-color: #db2777; --ui-button-text-color: #db2777;" onclick="showPremiumThemesStepper()" variant="outline"></ui-button>
|
|
12
|
+
<ui-button label="📑 Form Flow" style="--ui-button-border-color: #0d9488; --ui-button-text-color: #0d9488;" onclick="showContentNavigationStepper()" variant="outline"></ui-button>
|
|
13
|
+
<ui-button label="⚡ 25-Step Stress Test" style="--ui-button-border-color: #2563eb; --ui-button-text-color: #2563eb;" onclick="showDemo25Stepper()" variant="outline"></ui-button>
|
|
14
|
+
<ui-button label="🏷️ Label Sides" onclick="showLabelPositionStepper()" variant="outline"></ui-button>
|
|
15
|
+
<ui-button label="📜 Compact Scroll" onclick="showCompactScrollableStepper()" variant="outline"></ui-button>
|
|
16
|
+
|
|
17
|
+
<div style="width: 100%; height: 1px; background: #e2e8f0; margin: 10px 0;"></div>
|
|
18
|
+
|
|
19
|
+
<ui-button label="Basic" variant="outline" size="xs" onclick="showBasicStepper()"></ui-button>
|
|
20
|
+
<ui-button label="Dot Mode" variant="outline" size="xs" onclick="showDotStepper()"></ui-button>
|
|
21
|
+
<ui-button label="Nav Style" variant="outline" size="xs" onclick="showNavigationStepper()"></ui-button>
|
|
22
|
+
<ui-button label="Panel Mode" variant="outline" size="xs" onclick="showPanelStepper()"></ui-button>
|
|
23
|
+
<ui-button label="Inline" variant="outline" size="xs" onclick="showInlineStepper()"></ui-button>
|
|
24
|
+
<ui-button label="Vertical" variant="outline" size="xs" onclick="showVerticalStepper()"></ui-button>
|
|
25
|
+
<ui-button label="Snack (Snake)" variant="outline" size="xs" onclick="showSnackStepper()"></ui-button>
|
|
26
|
+
|
|
27
|
+
<div style="width: 100%; height: 1px; background: #e2e8f0; margin: 5px 0; opacity: 0.5;"></div>
|
|
28
|
+
|
|
29
|
+
<ui-button label="Percent" variant="outline" size="xs" onclick="showPercentStepper()"></ui-button>
|
|
30
|
+
<ui-button label="Nested" variant="outline" size="xs" onclick="showNestedStepper()"></ui-button>
|
|
31
|
+
<ui-button label="Custom Icons" variant="outline" size="xs" onclick="showCustomIconStepper()"></ui-button>
|
|
32
|
+
<ui-button label="Error States" variant="outline" size="xs" onclick="showErrorStepper()"></ui-button>
|
|
33
|
+
<ui-button label="All States" variant="outline" size="xs" onclick="showExtraStatesStepper()"></ui-button>
|
|
34
|
+
<ui-button label="Step Forms" variant="outline" size="xs" onclick="showStepContentStepper()"></ui-button>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<style>
|
|
38
|
+
.demo-controls .demo-btn { padding: 10px 18px; border-radius: 8px; border: 1px solid #e2e8f0; background: white; cursor: pointer; transition: all 0.2s; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
|
|
39
|
+
.demo-btn.sm { padding: 6px 12px; font-size: 12px; border-radius: 6px; }
|
|
40
|
+
.demo-btn.primary { background: #1677ff; color: white; border: none; }
|
|
41
|
+
.demo-btn:hover { border-color: #1677ff; color: #1677ff; background: #f0f7ff; }
|
|
42
|
+
.demo-btn.primary:hover { background: #4096ff; color: white; box-shadow: 0 4px 10px rgba(22, 119, 255, 0.2); }
|
|
43
|
+
.demo-select { width: 100%; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 8px; background: white; font-size: 14px; }
|
|
44
|
+
</style>
|
|
45
|
+
|
|
46
|
+
<div id="stepperDemoContainer" style="margin-top: 20px;"></div>
|
|
47
|
+
`;
|
|
48
|
+
|
|
49
|
+
setTimeout(() => {
|
|
50
|
+
window.showInteractiveStepper();
|
|
51
|
+
}, 100);
|
|
52
|
+
|
|
53
|
+
// Demo functions
|
|
54
|
+
window.showBasicStepper = function () {
|
|
55
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
56
|
+
if (!container) return;
|
|
57
|
+
container.innerHTML = `
|
|
58
|
+
<div style="max-width: 900px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
59
|
+
<h4>Basic Stepper</h4>
|
|
60
|
+
<ui-stepper id="basicStepper" active-step="1" icon-library="lucide"></ui-stepper>
|
|
61
|
+
<div style="margin-top: 24px; padding: 20px; background: #f9fafb; border-radius: 8px; text-align: center;">
|
|
62
|
+
<p id="basicStepContent">Current Step: Profile Details</p>
|
|
63
|
+
<div style="display: flex; gap: 10px; justify-content: center; margin-top: 10px;">
|
|
64
|
+
<ui-button label="Previous" variant="outline" onclick="handleStep('basicStepper', 'prev')"></ui-button>
|
|
65
|
+
<ui-button label="Next Step" color="primary" onclick="handleStep('basicStepper', 'next')"></ui-button>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
`;
|
|
70
|
+
setTimeout(() => {
|
|
71
|
+
const stepper = document.getElementById('basicStepper');
|
|
72
|
+
stepper.steps = [
|
|
73
|
+
{ id: '1', label: 'Login', description: 'Account access' },
|
|
74
|
+
{ id: '2', label: 'Profile', description: 'Personal info' },
|
|
75
|
+
{ id: '3', label: 'Verification', description: 'Identity check' },
|
|
76
|
+
{ id: '4', label: 'Finalize', description: 'Complete setup' },
|
|
77
|
+
];
|
|
78
|
+
}, 100);
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
window.showDotStepper = function () {
|
|
82
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
83
|
+
if (!container) return;
|
|
84
|
+
container.innerHTML = `
|
|
85
|
+
<div style="max-width: 900px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
86
|
+
<h4>Progress Dot Mode</h4>
|
|
87
|
+
<ui-stepper id="dotStepper" active-step="0" progress-dot="true" label-placement="vertical" icon-library="lucide"></ui-stepper>
|
|
88
|
+
</div>
|
|
89
|
+
`;
|
|
90
|
+
setTimeout(() => {
|
|
91
|
+
const stepper = document.getElementById('dotStepper');
|
|
92
|
+
stepper.steps = [
|
|
93
|
+
{ id: '1', label: 'Started', description: 'Project initialization' },
|
|
94
|
+
{ id: '2', label: 'Design', description: 'UI/UX phase' },
|
|
95
|
+
{ id: '3', label: 'Development', description: 'Coding' },
|
|
96
|
+
{ id: '4', label: 'Review', description: 'QA testing' },
|
|
97
|
+
{ id: '5', label: 'Finished', description: 'Deployment' },
|
|
98
|
+
];
|
|
99
|
+
}, 100);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
window.showNavigationStepper = function () {
|
|
103
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
104
|
+
if (!container) return;
|
|
105
|
+
container.innerHTML = `
|
|
106
|
+
<div style="max-width: 900px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
107
|
+
<h4>Navigation Style Stepper</h4>
|
|
108
|
+
<p style="color: #6b7280; font-size: 13px; margin-bottom: 20px;">Ideal for page headers or multi-step form navigation</p>
|
|
109
|
+
<ui-stepper id="navStepper" active-step="0" variant="navigation" icon-library="lucide"></ui-stepper>
|
|
110
|
+
</div>
|
|
111
|
+
`;
|
|
112
|
+
setTimeout(() => {
|
|
113
|
+
const stepper = document.getElementById('navStepper');
|
|
114
|
+
stepper.steps = [
|
|
115
|
+
{ id: '1', label: 'Step 1: Info' },
|
|
116
|
+
{ id: '2', label: 'Step 2: Config' },
|
|
117
|
+
{ id: '3', label: 'Step 3: Review' },
|
|
118
|
+
];
|
|
119
|
+
}, 100);
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
window.showPanelStepper = function () {
|
|
123
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
124
|
+
if (!container) return;
|
|
125
|
+
container.innerHTML = `
|
|
126
|
+
<div style="max-width: 900px; padding: 24px; background: white; border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);">
|
|
127
|
+
<h4>Panel Style Steps</h4>
|
|
128
|
+
<p style="color: #6b7280; font-size: 13px; margin-bottom: 20px;">Each step is a distinct card-like panel</p>
|
|
129
|
+
<ui-stepper id="panelStepper" active-step="1" variant="panel" show-descriptions="true" icon-library="lucide"></ui-stepper>
|
|
130
|
+
</div>
|
|
131
|
+
`;
|
|
132
|
+
setTimeout(() => {
|
|
133
|
+
const stepper = document.getElementById('panelStepper');
|
|
134
|
+
stepper.steps = [
|
|
135
|
+
{ id: '1', label: 'Setup', description: 'Basic settings', status: 'completed' },
|
|
136
|
+
{ id: '2', label: 'Integration', description: 'API Key connection', status: 'active' },
|
|
137
|
+
{ id: '3', label: 'Launch', description: 'Deployment', status: 'pending' },
|
|
138
|
+
];
|
|
139
|
+
}, 100);
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
window.showInlineStepper = function () {
|
|
143
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
144
|
+
if (!container) return;
|
|
145
|
+
container.innerHTML = `
|
|
146
|
+
<div style="max-width: 900px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
147
|
+
<h4>Inline Stepper</h4>
|
|
148
|
+
<p style="color: #6b7280; font-size: 13px; margin-bottom: 20px;">Compact inline variant for restricted spaces</p>
|
|
149
|
+
<ui-stepper id="inlineStepper" active-step="1" variant="inline" icon-library="lucide"></ui-stepper>
|
|
150
|
+
</div>
|
|
151
|
+
`;
|
|
152
|
+
setTimeout(() => {
|
|
153
|
+
const stepper = document.getElementById('inlineStepper');
|
|
154
|
+
stepper.steps = [
|
|
155
|
+
{ id: '1', label: 'Home' },
|
|
156
|
+
{ id: '2', label: 'Category' },
|
|
157
|
+
{ id: '3', label: 'Product' },
|
|
158
|
+
];
|
|
159
|
+
}, 100);
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
window.showPercentStepper = function () {
|
|
163
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
164
|
+
if (!container) return;
|
|
165
|
+
container.innerHTML = `
|
|
166
|
+
<div style="max-width: 900px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
167
|
+
<h4>Stepper with Progress Percent</h4>
|
|
168
|
+
<p style="color: #6b7280; font-size: 13px; margin-bottom: 20px;">Show fine-grained progress on the active step icon</p>
|
|
169
|
+
<ui-stepper id="percentStepper" active-step="1" icon-library="lucide"></ui-stepper>
|
|
170
|
+
<div style="margin-top: 20px; display: flex; align-items: center; gap: 10px;">
|
|
171
|
+
<ui-input type="number" min="0" max="100" value="75" label="Adjust Percent" id="percentRangeInput" style="width: 150px;"></ui-input>
|
|
172
|
+
<span id="percentVal">75%</span>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
`;
|
|
176
|
+
window.updatePercent = val => {
|
|
177
|
+
const stepper = document.getElementById('percentStepper');
|
|
178
|
+
document.getElementById('percentVal').textContent = val + '%';
|
|
179
|
+
const steps = [...stepper.steps];
|
|
180
|
+
steps[1].percent = parseInt(val);
|
|
181
|
+
stepper.steps = steps;
|
|
182
|
+
};
|
|
183
|
+
document.getElementById('percentRangeInput')?.addEventListener('inputChange', (e) => updatePercent(e.target.value));
|
|
184
|
+
|
|
185
|
+
setTimeout(() => {
|
|
186
|
+
const stepper = document.getElementById('percentStepper');
|
|
187
|
+
const steps = [
|
|
188
|
+
{ id: '1', label: 'Uploaded', status: 'completed' },
|
|
189
|
+
{ id: '2', label: 'Processing', status: 'active', percent: 75, icon: 'refresh' },
|
|
190
|
+
{ id: '3', label: 'Finished', status: 'pending', icon: 'check' },
|
|
191
|
+
];
|
|
192
|
+
stepper.steps = steps;
|
|
193
|
+
}, 100);
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
window.showNestedStepper = function () {
|
|
197
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
198
|
+
if (!container) return;
|
|
199
|
+
container.innerHTML = `
|
|
200
|
+
<div style="max-width: 800px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
201
|
+
<h4>Nested Steps (Vertical)</h4>
|
|
202
|
+
<p style="color: #6b7280; font-size: 13px; margin-bottom: 20px;">Define hierarchical sub-tasks within main steps</p>
|
|
203
|
+
<ui-stepper id="nestedStepper" orientation="vertical" active-step="1" show-descriptions="true" icon-library="lucide"></ui-stepper>
|
|
204
|
+
</div>
|
|
205
|
+
`;
|
|
206
|
+
setTimeout(() => {
|
|
207
|
+
const stepper = document.getElementById('nestedStepper');
|
|
208
|
+
stepper.steps = [
|
|
209
|
+
{ id: '1', label: 'Design Phase', status: 'completed' },
|
|
210
|
+
{
|
|
211
|
+
id: '2',
|
|
212
|
+
label: 'Implementation',
|
|
213
|
+
status: 'active',
|
|
214
|
+
description: 'Building the core modules',
|
|
215
|
+
children: [
|
|
216
|
+
{ id: '2-1', label: 'Setup Environment', status: 'completed' },
|
|
217
|
+
{ id: '2-2', label: 'Develop UI', status: 'active' },
|
|
218
|
+
{ id: '2-3', label: 'Connect Backend', status: 'pending' },
|
|
219
|
+
],
|
|
220
|
+
},
|
|
221
|
+
{ id: '3', label: 'Launch', status: 'pending' },
|
|
222
|
+
];
|
|
223
|
+
}, 100);
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
window.showCustomIconStepper = function () {
|
|
227
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
228
|
+
if (!container) return;
|
|
229
|
+
container.innerHTML = `
|
|
230
|
+
<div style="max-width: 900px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
231
|
+
<h4>Custom Icons (Emoji, Images, SVG)</h4>
|
|
232
|
+
<p style="color: #6b7280; font-size: 13px; margin-bottom: 20px;">Use custom icons, images, or inline SVG in step markers</p>
|
|
233
|
+
<ui-stepper id="customIconStepper" active-step="1" show-descriptions="true" icon-library="lucide"></ui-stepper>
|
|
234
|
+
</div>
|
|
235
|
+
`;
|
|
236
|
+
setTimeout(() => {
|
|
237
|
+
const stepper = document.getElementById('customIconStepper');
|
|
238
|
+
const checkSvg = '<svg viewBox="0 0 24 24" fill="currentColor"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>';
|
|
239
|
+
const userSvg =
|
|
240
|
+
'<svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>';
|
|
241
|
+
const settingsSvg =
|
|
242
|
+
'<svg viewBox="0 0 24 24" fill="currentColor"><path d="M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"/></svg>';
|
|
243
|
+
|
|
244
|
+
stepper.steps = [
|
|
245
|
+
{ id: '1', label: 'User Info', description: 'Profile setup', icon: 'user', status: 'completed' },
|
|
246
|
+
{ id: '2', label: 'Verification', description: 'Email confirmed', svgIcon: checkSvg, status: 'active' },
|
|
247
|
+
{ id: '3', label: 'Settings', description: 'Preferences', icon: 'settings', status: 'pending' },
|
|
248
|
+
];
|
|
249
|
+
}, 100);
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
window.showVerticalStepper = function () {
|
|
253
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
254
|
+
if (!container) return;
|
|
255
|
+
container.innerHTML = `
|
|
256
|
+
<div style="max-width: 600px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
257
|
+
<h4>Vertical Stepper</h4>
|
|
258
|
+
<ui-stepper id="verticalStepper" orientation="vertical" active-step="1" show-descriptions="true" icon-library="lucide"></ui-stepper>
|
|
259
|
+
</div>
|
|
260
|
+
`;
|
|
261
|
+
setTimeout(() => {
|
|
262
|
+
const stepper = document.getElementById('verticalStepper');
|
|
263
|
+
stepper.steps = [
|
|
264
|
+
{ id: '1', label: 'Package Picked', description: 'Courier has collected the item' },
|
|
265
|
+
{ id: '2', label: 'In Transit', description: 'Traveling to sorting center' },
|
|
266
|
+
{ id: '3', label: 'Out for Delivery', description: 'Expected today between 2-4 PM' },
|
|
267
|
+
{ id: '4', label: 'Delivered', description: 'Signed by recipient' },
|
|
268
|
+
];
|
|
269
|
+
}, 100);
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
window.showErrorStepper = function () {
|
|
273
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
274
|
+
if (!container) return;
|
|
275
|
+
container.innerHTML = `
|
|
276
|
+
<div style="max-width: 900px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
277
|
+
<h4>Error States</h4>
|
|
278
|
+
<ui-stepper id="errorStepper" active-step="1" icon-library="lucide"></ui-stepper>
|
|
279
|
+
</div>
|
|
280
|
+
`;
|
|
281
|
+
setTimeout(() => {
|
|
282
|
+
const stepper = document.getElementById('errorStepper');
|
|
283
|
+
stepper.steps = [
|
|
284
|
+
{ id: '1', label: 'Draft', status: 'completed' },
|
|
285
|
+
{ id: '2', label: 'Review', status: 'failed', description: 'Critical feedback found' },
|
|
286
|
+
{ id: '3', label: 'Publish', status: 'pending' },
|
|
287
|
+
];
|
|
288
|
+
}, 100);
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
window.showExtraStatesStepper = function () {
|
|
292
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
293
|
+
if (!container) return;
|
|
294
|
+
container.innerHTML = `
|
|
295
|
+
<div style="max-width: 900px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
296
|
+
<h4>Extra Statuses</h4>
|
|
297
|
+
<p style="color: #6b7280; font-size: 13px; margin-bottom: 20px;">Support for Info, Warning, Waiting, and Disabled states</p>
|
|
298
|
+
<ui-stepper id="extraStatesStepper" active-step="2" show-descriptions="true" icon-library="lucide"></ui-stepper>
|
|
299
|
+
</div>
|
|
300
|
+
`;
|
|
301
|
+
setTimeout(() => {
|
|
302
|
+
const stepper = document.getElementById('extraStatesStepper');
|
|
303
|
+
stepper.steps = [
|
|
304
|
+
{ id: '1', label: 'Verified', status: 'completed', description: 'Done' },
|
|
305
|
+
{ id: '2', label: 'Processing', status: 'waiting', description: 'Please wait...' },
|
|
306
|
+
{ id: '3', label: 'Review', status: 'info', description: 'Read only' },
|
|
307
|
+
{ id: '4', label: 'Warning', status: 'warning', description: 'Check details' },
|
|
308
|
+
{ id: '5', label: 'Blocked', status: 'disabled', description: 'Not available' },
|
|
309
|
+
];
|
|
310
|
+
}, 100);
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
window.showStepContentStepper = function () {
|
|
314
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
315
|
+
if (!container) return;
|
|
316
|
+
container.innerHTML = `
|
|
317
|
+
<div style="max-width: 900px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
318
|
+
<h4>Step Form Content</h4>
|
|
319
|
+
<p style="color: #6b7280; font-size: 13px; margin-bottom: 20px;">Inject custom form content directly into steps using slots</p>
|
|
320
|
+
|
|
321
|
+
<div style="margin-bottom: 20px; width: 200px;">
|
|
322
|
+
<ui-dropdown id="stepperOrientationSelect" label="Orientation" options='[{"label": "Horizontal", "value": "horizontal"}, {"label": "Vertical", "value": "vertical"}]' value="vertical"></ui-dropdown>
|
|
323
|
+
</div>
|
|
324
|
+
|
|
325
|
+
<ui-stepper id="contentStepper" orientation="vertical" active-step="0" icon-library="lucide">
|
|
326
|
+
<div slot="content-1" style="padding: 16px; background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb;">
|
|
327
|
+
<h5 style="margin-top: 0;">Personal Details</h5>
|
|
328
|
+
<ui-input placeholder="Full Name" style="width: 100%; margin-bottom: 10px;"></ui-input>
|
|
329
|
+
<ui-input type="email" placeholder="Email Address" style="width: 100%; margin-bottom: 10px;"></ui-input>
|
|
330
|
+
<ui-button label="Save & Next" color="primary" onclick="handleStep('contentStepper', 'next')"></ui-button>
|
|
331
|
+
</div>
|
|
332
|
+
|
|
333
|
+
<div slot="content-2" style="padding: 16px; background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb;">
|
|
334
|
+
<h5 style="margin-top: 0;">Account Setup</h5>
|
|
335
|
+
<ui-checkbox label="Subscribe to newsletter" style="margin-bottom: 8px;"></ui-checkbox>
|
|
336
|
+
<ui-checkbox label="Enable notifications" checked style="margin-bottom: 8px;"></ui-checkbox>
|
|
337
|
+
<div style="margin-top: 10px; display: flex; gap: 10px;">
|
|
338
|
+
<ui-button label="Back" variant="outline" onclick="handleStep('contentStepper', 'prev')"></ui-button>
|
|
339
|
+
<ui-button label="Finish" color="primary" onclick="handleStep('contentStepper', 'next')"></ui-button>
|
|
340
|
+
</div>
|
|
341
|
+
</div>
|
|
342
|
+
|
|
343
|
+
<div slot="content-3" style="padding: 16px; background: #f6ffed; border-radius: 8px; border: 1px solid #b7eb8f; color: #389e0d;">
|
|
344
|
+
<h5 style="margin: 0;">🎉 All Done!</h5>
|
|
345
|
+
<p>Your information has been submitted successfully.</p>
|
|
346
|
+
<ui-button label="Edit" variant="outline" onclick="handleStep('contentStepper', 'prev')"></ui-button>
|
|
347
|
+
</div>
|
|
348
|
+
</ui-stepper>
|
|
349
|
+
</div>
|
|
350
|
+
`;
|
|
351
|
+
setTimeout(() => {
|
|
352
|
+
const stepper = document.getElementById('contentStepper');
|
|
353
|
+
stepper.steps = [
|
|
354
|
+
{ id: '1', label: 'Step 1: Details', status: 'active' },
|
|
355
|
+
{ id: '2', label: 'Step 2: Options', status: 'pending' },
|
|
356
|
+
{ id: '3', label: 'Step 3: Complete', status: 'pending' },
|
|
357
|
+
];
|
|
358
|
+
}, 100);
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
window.handleStep = function (id, action) {
|
|
362
|
+
const stepper = document.getElementById(id);
|
|
363
|
+
if (action === 'next') stepper.next();
|
|
364
|
+
else stepper.prev();
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
window.showSnackStepper = function () {
|
|
369
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
370
|
+
if (!container) return;
|
|
371
|
+
container.innerHTML = `
|
|
372
|
+
<div style="max-width: 900px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
373
|
+
<h4>Snake Layout (Snack Variant)</h4>
|
|
374
|
+
<p style="color: #6b7280; font-size: 13px; margin-bottom: 20px;">Use the 'snack' variant along with horizontal orientation to display a multi-line wrapping progress layout with a global progress bar.</p>
|
|
375
|
+
<ui-stepper id="snackStepper" active-step="6" variant="snack" orientation="horizontal" show-progress="true" steps-per-page="5" icon-library="lucide"></ui-stepper>
|
|
376
|
+
<div style="margin-top: 24px; display: flex; gap: 10px;">
|
|
377
|
+
<ui-button label="Previous" variant="outline" onclick="handleStep('snackStepper', 'prev')"></ui-button>
|
|
378
|
+
<ui-button label="Next" color="primary" onclick="handleStep('snackStepper', 'next')"></ui-button>
|
|
379
|
+
</div>
|
|
380
|
+
</div>
|
|
381
|
+
`;
|
|
382
|
+
setTimeout(() => {
|
|
383
|
+
const stepper = document.getElementById('snackStepper');
|
|
384
|
+
const steps = [];
|
|
385
|
+
for (let i = 0; i < 20; i++) {
|
|
386
|
+
steps.push({ id: `s${i + 1}`, label: `Step ${i + 1}`, description: 'Details here' });
|
|
387
|
+
}
|
|
388
|
+
stepper.steps = steps;
|
|
389
|
+
}, 100);
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
window.showLabelPositionStepper = function () {
|
|
393
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
394
|
+
if (!container) return;
|
|
395
|
+
container.innerHTML = `
|
|
396
|
+
<div style="max-width: 1100px; padding: 30px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
397
|
+
<h3 style="margin-top: 0;">🏷️ Label Positions</h3>
|
|
398
|
+
<p style="color: #64748b; font-size: 14px; margin-bottom: 30px;">Labels can be positioned relative to the icon: Right (default), Bottom, Left, or Top.</p>
|
|
399
|
+
|
|
400
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 40px;">
|
|
401
|
+
<div>
|
|
402
|
+
<h5 style="margin-bottom: 20px;">1. Default (Right)</h5>
|
|
403
|
+
<div style="padding: 20px; border: 1px solid #f1f5f9; border-radius: 8px;">
|
|
404
|
+
<ui-stepper id="labelRight" label-position="right"></ui-stepper>
|
|
405
|
+
</div>
|
|
406
|
+
</div>
|
|
407
|
+
<div>
|
|
408
|
+
<h5 style="margin-bottom: 20px;">2. Bottom (Vertical Layout)</h5>
|
|
409
|
+
<div style="padding: 20px; border: 1px solid #f1f5f9; border-radius: 8px;">
|
|
410
|
+
<ui-stepper id="labelBottom" label-position="bottom"></ui-stepper>
|
|
411
|
+
</div>
|
|
412
|
+
</div>
|
|
413
|
+
<div>
|
|
414
|
+
<h5 style="margin-bottom: 20px;">3. Left Position</h5>
|
|
415
|
+
<div style="padding: 20px; border: 1px solid #f1f5f9; border-radius: 8px;">
|
|
416
|
+
<ui-stepper id="labelLeft" label-position="left"></ui-stepper>
|
|
417
|
+
</div>
|
|
418
|
+
</div>
|
|
419
|
+
<div>
|
|
420
|
+
<h5 style="margin-bottom: 20px;">4. Top Position</h5>
|
|
421
|
+
<div style="padding: 20px; border: 1px solid #f1f5f9; border-radius: 8px;">
|
|
422
|
+
<ui-stepper id="labelTop" label-position="top"></ui-stepper>
|
|
423
|
+
</div>
|
|
424
|
+
</div>
|
|
425
|
+
</div>
|
|
426
|
+
</div>
|
|
427
|
+
`;
|
|
428
|
+
setTimeout(() => {
|
|
429
|
+
const steps = [
|
|
430
|
+
{ id: '1', label: 'User Info', status: 'completed' },
|
|
431
|
+
{ id: '2', label: 'Payment', status: 'active' },
|
|
432
|
+
{ id: '3', label: 'Confirm', status: 'pending' },
|
|
433
|
+
];
|
|
434
|
+
document.getElementById('labelRight').steps = steps;
|
|
435
|
+
document.getElementById('labelBottom').steps = steps;
|
|
436
|
+
document.getElementById('labelLeft').steps = steps;
|
|
437
|
+
document.getElementById('labelTop').steps = steps;
|
|
438
|
+
}, 100);
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
window.showContentNavigationStepper = function () {
|
|
442
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
443
|
+
if (!container) return;
|
|
444
|
+
container.innerHTML = `
|
|
445
|
+
<div style="max-width: 900px; padding: 24px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
446
|
+
<h3 style="margin-top: 0;">📑 Content Area & Navigation</h3>
|
|
447
|
+
<p style="color: #64748b; font-size: 14px; margin-bottom: 24px;">Multi-step form with complex nested content and custom navigation buttons.</p>
|
|
448
|
+
|
|
449
|
+
<ui-stepper id="navFlowStepper" orientation="horizontal" active-step="0" show-descriptions="true">
|
|
450
|
+
<div slot="content-1" style="padding: 24px; background: #fafafa; border-radius: 8px; border: 1px dashed #e2e8f0; margin-top: 16px;">
|
|
451
|
+
<h4 style="margin-top: 0;">Step 1: Account Type</h4>
|
|
452
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0;">
|
|
453
|
+
<div style="padding: 16px; border: 2px solid #10b981; border-radius: 8px; background: #eff6ff; cursor: pointer;">
|
|
454
|
+
<h5 style="margin: 0;">Personal</h5>
|
|
455
|
+
<p style="font-size: 12px; color: #64748b;">Free for individuals</p>
|
|
456
|
+
</div>
|
|
457
|
+
<div style="padding: 16px; border: 1px solid #e2e8f0; border-radius: 8px; cursor: pointer;">
|
|
458
|
+
<h5 style="margin: 0;">Business</h5>
|
|
459
|
+
<p style="font-size: 12px; color: #64748b;">$25/mo for teams</p>
|
|
460
|
+
</div>
|
|
461
|
+
</div>
|
|
462
|
+
<div style="display: flex; justify-content: flex-end; gap: 10px;">
|
|
463
|
+
<ui-button label="Configure Profile →" color="primary" onclick="document.getElementById('navFlowStepper').next()"></ui-button>
|
|
464
|
+
</div>
|
|
465
|
+
</div>
|
|
466
|
+
|
|
467
|
+
<div slot="content-2" style="padding: 24px; background: #fafafa; border-radius: 8px; border: 1px dashed #e2e8f0; margin-top: 16px;">
|
|
468
|
+
<h4 style="margin-top: 0;">Step 2: Profile Settings</h4>
|
|
469
|
+
<div style="margin: 20px 0;">
|
|
470
|
+
<ui-input label="Username" value="john_doe" style="width: 100%; margin-bottom: 16px;"></ui-input>
|
|
471
|
+
<ui-input multiline label="Bio" style="width: 100%; height: 60px;">I love building things with Stencil!</ui-input>
|
|
472
|
+
</div>
|
|
473
|
+
<div style="display: flex; justify-content: flex-end; gap: 10px;">
|
|
474
|
+
<ui-button label="← Back" variant="outline" onclick="document.getElementById('navFlowStepper').prev()"></ui-button>
|
|
475
|
+
<ui-button label="Review & Finish →" color="primary" onclick="document.getElementById('navFlowStepper').next()"></ui-button>
|
|
476
|
+
</div>
|
|
477
|
+
</div>
|
|
478
|
+
|
|
479
|
+
<div slot="content-3" style="padding: 40px; text-align: center; background: #fdf2f8; border-radius: 8px; border: 1px solid #fbcfe8; margin-top: 16px;">
|
|
480
|
+
<div style="font-size: 48px; margin-bottom: 16px;">🎉</div>
|
|
481
|
+
<h3>Ready to Launch!</h3>
|
|
482
|
+
<p style="color: #be185d;">Your profile is all set up. Click finish to create your account.</p>
|
|
483
|
+
<div style="display: flex; justify-content: center; gap: 10px; margin-top: 30px;">
|
|
484
|
+
<ui-button label="Edit Profile" variant="outline" onclick="document.getElementById('navFlowStepper').prev()"></ui-button>
|
|
485
|
+
<ui-button label="Finish Setup" color="danger" style="--ui-button-bg: #db2777;" onclick="alert('Account Created!')"></ui-button>
|
|
486
|
+
</div>
|
|
487
|
+
</div>
|
|
488
|
+
</ui-stepper>
|
|
489
|
+
</div>
|
|
490
|
+
`;
|
|
491
|
+
setTimeout(() => {
|
|
492
|
+
const stepper = document.getElementById('navFlowStepper');
|
|
493
|
+
stepper.steps = [
|
|
494
|
+
{ id: '1', label: 'Select Plan', description: 'Choose your tier' },
|
|
495
|
+
{ id: '2', label: 'Settings', description: 'Configure profile' },
|
|
496
|
+
{ id: '3', label: 'Finish', description: 'Complete setup' },
|
|
497
|
+
];
|
|
498
|
+
}, 100);
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
window.showCompactScrollableStepper = function () {
|
|
502
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
503
|
+
if (!container) return;
|
|
504
|
+
container.innerHTML = `
|
|
505
|
+
<div style="max-width: 900px; padding: 24px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
506
|
+
<h3 style="margin-top: 0;">📜 Compact + Scrollable (20 Steps)</h3>
|
|
507
|
+
<p style="color: #64748b; font-size: 14px; margin-bottom: 24px;">Perfect for many steps in tight spaces. Use horizontal scroll with compact markers.</p>
|
|
508
|
+
|
|
509
|
+
<div style="margin-bottom: 20px; display: flex; align-items: flex-end; gap: 20px;">
|
|
510
|
+
<div style="width: 100px;">
|
|
511
|
+
<ui-input type="number" id="scrollStepNum" label="Active index" value="0" min="0" max="19"></ui-input>
|
|
512
|
+
</div>
|
|
513
|
+
<ui-button label="Prev" variant="outline" onclick="document.getElementById('scrollStepper').prev()"></ui-button>
|
|
514
|
+
<ui-button label="Next" color="primary" onclick="document.getElementById('scrollStepper').next()"></ui-button>
|
|
515
|
+
</div>
|
|
516
|
+
|
|
517
|
+
<div style="padding: 20px; background: #f8fafc; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0;">
|
|
518
|
+
<ui-stepper id="scrollStepper" active-step="0" compact="true" scrollable="true" orientation="horizontal"></ui-stepper>
|
|
519
|
+
</div>
|
|
520
|
+
</div>
|
|
521
|
+
`;
|
|
522
|
+
setTimeout(() => {
|
|
523
|
+
const steps = [];
|
|
524
|
+
for (let i = 0; i < 20; i++) {
|
|
525
|
+
steps.push({ id: (i + 1).toString(), label: `Checkpoint ${i + 1}` });
|
|
526
|
+
}
|
|
527
|
+
document.getElementById('scrollStepper').steps = steps;
|
|
528
|
+
}, 100);
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
window.showPremiumThemesStepper = function () {
|
|
532
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
533
|
+
if (!container) return;
|
|
534
|
+
container.innerHTML = `
|
|
535
|
+
<div style="max-width: 900px; padding: 24px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
536
|
+
<h3 style="margin-top: 0;">✨ Premium Themes & Variants</h3>
|
|
537
|
+
<p style="color: #64748b; font-size: 14px; margin-bottom: 30px;">Mix and match variants, shapes, and colors for a premium look.</p>
|
|
538
|
+
|
|
539
|
+
<div style="display: flex; flex-direction: column; gap: 40px;">
|
|
540
|
+
<div>
|
|
541
|
+
<h5 style="margin-bottom: 12px; color: #52c41a;">🟢 Square-Active Shape (Requested Highlight)</h5>
|
|
542
|
+
<p style="font-size: 13px; color: #64748b; margin-bottom: 16px;">Only the active step has a premium square border, matching the customized highlight requirements.</p>
|
|
543
|
+
<ui-stepper id="theme1" active-step="0" step-shape="square-active" label-position="bottom" icon-library="lucide"></ui-stepper>
|
|
544
|
+
</div>
|
|
545
|
+
|
|
546
|
+
<div>
|
|
547
|
+
<h5 style="margin-bottom: 12px; color: #0d9488;">🔸 Outlined Variant with Horizontal Labels</h5>
|
|
548
|
+
<ui-stepper id="theme2" active-step="1" variant="outlined" color-scheme="success" icon-library="lucide"></ui-stepper>
|
|
549
|
+
</div>
|
|
550
|
+
|
|
551
|
+
<div>
|
|
552
|
+
<h5 style="margin-bottom: 12px; color: #b91c1c;">🔺 Minimal Error State with Progress Dot</h5>
|
|
553
|
+
<ui-stepper id="theme3" active-step="2" progress-dot="true" variant="minimal" color-scheme="danger"></ui-stepper>
|
|
554
|
+
</div>
|
|
555
|
+
|
|
556
|
+
<div>
|
|
557
|
+
<h5 style="margin-bottom: 12px; color: #1e293b;">⬛ Solid Dark Filled Variant</h5>
|
|
558
|
+
<div style="background: #1e293b; padding: 30px; border-radius: 12px;">
|
|
559
|
+
<ui-stepper id="theme4" active-step="1" variant="filled" icon-library="lucide"></ui-stepper>
|
|
560
|
+
</div>
|
|
561
|
+
</div>
|
|
562
|
+
</div>
|
|
563
|
+
</div>
|
|
564
|
+
`;
|
|
565
|
+
setTimeout(() => {
|
|
566
|
+
const defaultSteps = [
|
|
567
|
+
{ id: '1', label: 'Account', description: 'Create account', icon: 'info' },
|
|
568
|
+
{ id: '2', label: 'Profile', description: 'Add details', icon: 'clock' },
|
|
569
|
+
{ id: '3', label: 'Verify', description: 'Confirm email', icon: 'clock' },
|
|
570
|
+
{ id: '4', label: 'Done', description: 'All set', icon: 'clock' },
|
|
571
|
+
];
|
|
572
|
+
|
|
573
|
+
document.getElementById('theme1').steps = defaultSteps;
|
|
574
|
+
document.getElementById('theme2').steps = defaultSteps;
|
|
575
|
+
document.getElementById('theme3').steps = [
|
|
576
|
+
{ label: 'Step 1', status: 'completed' },
|
|
577
|
+
{ label: 'Step 2', status: 'completed' },
|
|
578
|
+
{ label: 'Step 3', status: 'failed', description: 'Failed at step 3' },
|
|
579
|
+
{ label: 'Step 4', status: 'pending' },
|
|
580
|
+
];
|
|
581
|
+
document.getElementById('theme4').steps = defaultSteps;
|
|
582
|
+
}, 100);
|
|
583
|
+
};
|
|
584
|
+
|
|
585
|
+
window.showDemo25Stepper = function () {
|
|
586
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
587
|
+
if (!container) return;
|
|
588
|
+
container.innerHTML = `
|
|
589
|
+
<div style="max-width: 1000px; padding: 24px; background: white; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);">
|
|
590
|
+
<h3 style="margin-top: 0;">🎮 25-Step Stress Test Demo</h3>
|
|
591
|
+
<p style="color: #64748b; font-size: 14px; margin-bottom: 24px;">Testing the component with many steps using snack variant and scrollable layouts.</p>
|
|
592
|
+
|
|
593
|
+
<div style="display: flex; gap: 10px; margin-bottom: 30px;">
|
|
594
|
+
<ui-button label="Previous Step" variant="outline" onclick="handle25Step('prev')"></ui-button>
|
|
595
|
+
<ui-button label="Next Step" color="primary" onclick="handle25Step('next')"></ui-button>
|
|
596
|
+
</div>
|
|
597
|
+
|
|
598
|
+
<div style="margin-bottom: 24px;">
|
|
599
|
+
<p style="font-weight: 600; margin-bottom: 15px;">1. Snack Snake Layout (Page size 8):</p>
|
|
600
|
+
<ui-stepper id="stressSnack" active-step="0" variant="snack" orientation="horizontal" show-progress="true" steps-per-page="8" icon-library="lucide"></ui-stepper>
|
|
601
|
+
</div>
|
|
602
|
+
|
|
603
|
+
<div style="margin-top: 40px;">
|
|
604
|
+
<p style="font-weight: 600; margin-bottom: 15px;">2. Premium Square-Active Style (Scrollable):</p>
|
|
605
|
+
<div style="padding: 20px; background: #fafafa; border-radius: 8px; border: 1px solid #e2e8f0;">
|
|
606
|
+
<ui-stepper id="stressNormal" active-step="0" scrollable="true" step-shape="square-active" icon-library="lucide"></ui-stepper>
|
|
607
|
+
</div>
|
|
608
|
+
</div>
|
|
609
|
+
</div>
|
|
610
|
+
`;
|
|
611
|
+
|
|
612
|
+
window.handle25Step = action => {
|
|
613
|
+
const s1 = document.getElementById('stressSnack');
|
|
614
|
+
const s2 = document.getElementById('stressNormal');
|
|
615
|
+
if (action === 'next') {
|
|
616
|
+
s1.next();
|
|
617
|
+
s2.next();
|
|
618
|
+
} else {
|
|
619
|
+
s1.prev();
|
|
620
|
+
s2.prev();
|
|
621
|
+
}
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
setTimeout(() => {
|
|
625
|
+
const steps = [];
|
|
626
|
+
for (let i = 0; i < 25; i++) {
|
|
627
|
+
steps.push({
|
|
628
|
+
id: `x${i + 1}`,
|
|
629
|
+
label: i === 0 ? 'Account' : i === 1 ? 'Profile' : i === 2 ? 'Verify' : i === 24 ? 'Done' : `Step ${i + 1}`,
|
|
630
|
+
description: `Info for step ${i + 1}`,
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
document.getElementById('stressSnack').steps = steps;
|
|
634
|
+
document.getElementById('stressNormal').steps = steps;
|
|
635
|
+
}, 100);
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
window.showInteractiveStepper = function () {
|
|
639
|
+
const container = document.getElementById('stepperDemoContainer');
|
|
640
|
+
if (!container) return;
|
|
641
|
+
|
|
642
|
+
container.innerHTML = `
|
|
643
|
+
<div style="background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);">
|
|
644
|
+
<div style="display: flex; gap: 30px; flex-wrap: wrap;">
|
|
645
|
+
<div style="flex: 1; min-width: 280px;">
|
|
646
|
+
<h3 style="margin-top: 0;">🎮 Interactive Playground</h3>
|
|
647
|
+
<div style="display: flex; flex-direction: column; gap: 15px; margin-top: 20px;">
|
|
648
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 10px;">
|
|
649
|
+
<ui-dropdown id="stepOrientation" label="Orientation" options='[{"label": "Horizontal", "value": "horizontal"}, {"label": "Vertical", "value": "vertical"}]' value="horizontal"></ui-dropdown>
|
|
650
|
+
<ui-dropdown id="stepVariant" label="Variant" options='[{"label": "Default", "value": "default"}, {"label": "Navigation", "value": "navigation"}, {"label": "Panel", "value": "panel"}, {"label": "Inline", "value": "inline"}, {"label": "Outlined", "value": "outlined"}, {"label": "Filled", "value": "filled"}, {"label": "Minimal", "value": "minimal"}, {"label": "Snack", "value": "snack"}]' value="default"></ui-dropdown>
|
|
651
|
+
</div>
|
|
652
|
+
|
|
653
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 10px;">
|
|
654
|
+
<ui-dropdown id="stepColorScheme" label="Color Scheme" options='[{"label": "Primary", "value": "primary"}, {"label": "Success", "value": "success"}, {"label": "Warning", "value": "warning"}, {"label": "Danger", "value": "danger"}]' value="primary"></ui-dropdown>
|
|
655
|
+
<ui-dropdown id="stepSize" label="Size" options='[{"label": "Small", "value": "sm"}, {"label": "Medium", "value": "md"}, {"label": "Large", "value": "lg"}]' value="md"></ui-dropdown>
|
|
656
|
+
</div>
|
|
657
|
+
|
|
658
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 10px;">
|
|
659
|
+
<ui-dropdown id="stepFlow" label="Flow" options='[{"label": "Linear", "value": "linear"}, {"label": "Non-Linear", "value": "non-linear"}]' value="linear"></ui-dropdown>
|
|
660
|
+
<ui-input type="number" id="stepPercent" label="Active %" value="75" min="0" max="100"></ui-input>
|
|
661
|
+
</div>
|
|
662
|
+
|
|
663
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 10px;">
|
|
664
|
+
<ui-dropdown id="stepLabelPosition" label="Label Position" options='[{"label": "Right", "value": "right"}, {"label": "Left", "value": "left"}, {"label": "Top", "value": "top"}, {"label": "Bottom", "value": "bottom"}]' value="right"></ui-dropdown>
|
|
665
|
+
<ui-dropdown id="stepShapeChoice" label="Step Shape" options='[{"label": "Circle", "value": "circle"}, {"label": "Square (All)", "value": "square"}, {"label": "Square (Active Only)", "value": "square-active"}]' value="circle"></ui-dropdown>
|
|
666
|
+
</div>
|
|
667
|
+
|
|
668
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 15px;">
|
|
669
|
+
<ui-checkbox id="stepProgressDot" label="Dot"></ui-checkbox>
|
|
670
|
+
<ui-checkbox id="stepShowDescriptions" label="Desc" checked></ui-checkbox>
|
|
671
|
+
<ui-checkbox id="stepAllowStepClick" label="Clickable" checked></ui-checkbox>
|
|
672
|
+
<ui-checkbox id="stepShowProgress" label="Progress"></ui-checkbox>
|
|
673
|
+
</div>
|
|
674
|
+
|
|
675
|
+
<div style="margin-top: 10px; display: flex; gap: 10px;">
|
|
676
|
+
<ui-button label="Previous" variant="outline" onclick="handleStep('interactiveStepper', 'prev')"></ui-button>
|
|
677
|
+
<ui-button label="Next" color="primary" onclick="handleStep('interactiveStepper', 'next')"></ui-button>
|
|
678
|
+
</div>
|
|
679
|
+
</div>
|
|
680
|
+
</div>
|
|
681
|
+
<div style="flex: 2; min-width: 400px; background-color: #f9fafb; padding: 40px; border-radius: 12px; border: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: center;">
|
|
682
|
+
<ui-stepper id="interactiveStepper" style="width: 100%;" icon-library="lucide"></ui-stepper>
|
|
683
|
+
</div>
|
|
684
|
+
</div>
|
|
685
|
+
</div>
|
|
686
|
+
|
|
687
|
+
<div style="margin-top: 20px; background: #1e293b; padding: 16px; border-radius: 8px; position: relative;">
|
|
688
|
+
<ui-button id="copyStepperBtn" label="Copy" variant="outline" size="xxxs" onclick="copyStepperCode()" style="position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.1); --ui-button-text-color: white; border: none;"></ui-button>
|
|
689
|
+
<code id="stepperCodeBlock" style="color: #e2e8f0; font-family: monospace; font-size: 13px; display: block; overflow-x: auto; padding-right: 50px; white-space: pre-wrap;">
|
|
690
|
+
<ui-stepper ... icon-library="lucide"></ui-stepper>
|
|
691
|
+
</code>
|
|
692
|
+
</div>
|
|
693
|
+
</div>
|
|
694
|
+
`;
|
|
695
|
+
|
|
696
|
+
setTimeout(() => {
|
|
697
|
+
updateInteractiveStepper();
|
|
698
|
+
}, 100);
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
window.updateInteractiveStepper = function () {
|
|
702
|
+
// Add real-time listeners for first run
|
|
703
|
+
if (!window.stepperWired) {
|
|
704
|
+
window.stepperWired = true;
|
|
705
|
+
const dropdowns = ['stepOrientation', 'stepVariant', 'stepColorScheme', 'stepSize', 'stepFlow', 'stepLabelPosition', 'stepShapeChoice', 'stepperOrientationSelect'];
|
|
706
|
+
const inputs = ['stepPercent', 'scrollStepNum'];
|
|
707
|
+
const checkboxes = ['stepProgressDot', 'stepShowDescriptions', 'stepAllowStepClick', 'stepShowProgress'];
|
|
708
|
+
|
|
709
|
+
dropdowns.forEach(id => document.getElementById(id)?.addEventListener('dropdownChange', (e) => {
|
|
710
|
+
if (id === 'stepperOrientationSelect') document.getElementById('contentStepper').setAttribute('orientation', e.detail.value);
|
|
711
|
+
else updateInteractiveStepper();
|
|
712
|
+
}));
|
|
713
|
+
inputs.forEach(id => document.getElementById(id)?.addEventListener('inputChange', (e) => {
|
|
714
|
+
if (id === 'scrollStepNum') document.getElementById('scrollStepper').setAttribute('active-step', e.detail.value);
|
|
715
|
+
else updateInteractiveStepper();
|
|
716
|
+
}));
|
|
717
|
+
checkboxes.forEach(id => document.getElementById(id)?.addEventListener('checkboxChange', () => updateInteractiveStepper()));
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
const orientation = document.getElementById('stepOrientation').value;
|
|
721
|
+
const variant = document.getElementById('stepVariant').value;
|
|
722
|
+
const percent = parseInt(document.getElementById('stepPercent').value);
|
|
723
|
+
const size = document.getElementById('stepSize').value;
|
|
724
|
+
const flow = document.getElementById('stepFlow').value;
|
|
725
|
+
const colorScheme = document.getElementById('stepColorScheme').value;
|
|
726
|
+
const labelPosition = document.getElementById('stepLabelPosition').value;
|
|
727
|
+
const stepShape = document.getElementById('stepShapeChoice').value;
|
|
728
|
+
const progressDot = document.getElementById('stepProgressDot').checked;
|
|
729
|
+
const showDescriptions = document.getElementById('stepShowDescriptions').checked;
|
|
730
|
+
const allowStepClick = document.getElementById('stepAllowStepClick').checked;
|
|
731
|
+
const showProgress = document.getElementById('stepShowProgress').checked;
|
|
732
|
+
|
|
733
|
+
const stepper = document.getElementById('interactiveStepper');
|
|
734
|
+
if (stepper) {
|
|
735
|
+
stepper.setAttribute('orientation', orientation);
|
|
736
|
+
stepper.setAttribute('variant', variant);
|
|
737
|
+
stepper.setAttribute('size', size);
|
|
738
|
+
stepper.setAttribute('flow', flow);
|
|
739
|
+
stepper.setAttribute('color-scheme', colorScheme);
|
|
740
|
+
stepper.setAttribute('label-position', labelPosition);
|
|
741
|
+
stepper.setAttribute('step-shape', stepShape);
|
|
742
|
+
stepper.setAttribute('progress-dot', progressDot);
|
|
743
|
+
stepper.setAttribute('show-descriptions', showDescriptions);
|
|
744
|
+
stepper.setAttribute('allow-step-click', allowStepClick);
|
|
745
|
+
stepper.setAttribute('show-progress', showProgress);
|
|
746
|
+
|
|
747
|
+
stepper.steps = [
|
|
748
|
+
{ id: '1', label: 'Account', description: 'Create account', status: 'completed', icon: 'user' },
|
|
749
|
+
{ id: '2', label: 'Profile', description: 'Add details', status: 'active', percent: percent, icon: 'info' },
|
|
750
|
+
{ id: '3', label: 'Verify', description: 'Confirm email', status: 'pending', icon: 'mail' },
|
|
751
|
+
{ id: '4', label: 'Done', description: 'All set', status: 'pending', icon: 'check' },
|
|
752
|
+
];
|
|
753
|
+
|
|
754
|
+
if (window.updateStepperCode) {
|
|
755
|
+
window.updateStepperCode();
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
};
|
|
759
|
+
|
|
760
|
+
window.copyStepperCode = () => {
|
|
761
|
+
const code = document.getElementById('stepperCodeBlock').innerText;
|
|
762
|
+
const btn = document.getElementById('copyStepperBtn');
|
|
763
|
+
|
|
764
|
+
navigator.clipboard.writeText(code).then(() => {
|
|
765
|
+
const originalText = btn.innerText;
|
|
766
|
+
btn.innerText = 'Copied!';
|
|
767
|
+
btn.style.background = '#10b981';
|
|
768
|
+
|
|
769
|
+
setTimeout(() => {
|
|
770
|
+
btn.innerText = originalText;
|
|
771
|
+
btn.style.background = 'rgba(255,255,255,0.1)';
|
|
772
|
+
}, 2000);
|
|
773
|
+
});
|
|
774
|
+
};
|
|
775
|
+
|
|
776
|
+
window.updateStepperCode = () => {
|
|
777
|
+
const el = document.getElementById('interactiveStepper');
|
|
778
|
+
const codeBlock = document.getElementById('stepperCodeBlock');
|
|
779
|
+
if (!el || !codeBlock) return;
|
|
780
|
+
|
|
781
|
+
let props = '';
|
|
782
|
+
if (el.getAttribute('orientation') && el.getAttribute('orientation') !== 'horizontal') props += ` orientation="${el.getAttribute('orientation')}"`;
|
|
783
|
+
if (el.getAttribute('variant') && el.getAttribute('variant') !== 'default') props += ` variant="${el.getAttribute('variant')}"`;
|
|
784
|
+
if (el.getAttribute('size') && el.getAttribute('size') !== 'md') props += ` size="${el.getAttribute('size')}"`;
|
|
785
|
+
if (el.getAttribute('color-scheme') && el.getAttribute('color-scheme') !== 'primary') props += ` color-scheme="${el.getAttribute('color-scheme')}"`;
|
|
786
|
+
if (el.getAttribute('flow') && el.getAttribute('flow') !== 'linear') props += ` flow="${el.getAttribute('flow')}"`;
|
|
787
|
+
if (el.getAttribute('label-position') && el.getAttribute('label-position') !== 'right') props += ` label-position="${el.getAttribute('label-position')}"`;
|
|
788
|
+
if (el.getAttribute('step-shape') && el.getAttribute('step-shape') !== 'circle') props += ` step-shape="${el.getAttribute('step-shape')}"`;
|
|
789
|
+
if (el.getAttribute('progress-dot') === 'true') props += ` progress-dot="true"`;
|
|
790
|
+
if (el.getAttribute('show-descriptions') === 'false') props += ` show-descriptions="false"`;
|
|
791
|
+
if (el.getAttribute('allow-step-click') === 'false') props += ` allow-step-click="false"`;
|
|
792
|
+
if (el.getAttribute('show-progress') === 'true') props += ` show-progress="true"`;
|
|
793
|
+
|
|
794
|
+
// Steps logic
|
|
795
|
+
const stepsStr = `\n // Steps data\n stepper.steps = [\n { id: '1', label: 'Finished', status: 'completed' },\n { id: '2', label: 'In Progress', status: 'active', percent: ${el.getAttribute('percent') || 75} },\n { id: '3', label: 'Waiting', status: 'pending', children: [...] },\n { id: '4', label: 'Waiting', status: 'pending' }\n ];`;
|
|
796
|
+
|
|
797
|
+
codeBlock.innerText = `<ui-stepper${props} icon-library="lucide"></ui-stepper>\n<script>\n const stepper = document.querySelector('ui-stepper');${stepsStr}\n</script>`;
|
|
798
|
+
};
|