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,1217 @@
|
|
|
1
|
+
// Component Demo Functions
|
|
2
|
+
export function initRangeSliderDemo() {
|
|
3
|
+
const section = document.getElementById('range-slider');
|
|
4
|
+
if (!section) return;
|
|
5
|
+
|
|
6
|
+
section.innerHTML = `
|
|
7
|
+
|
|
8
|
+
<p>Slider input for selecting values or ranges with customizable styling. <strong>(Supports Keyboard: Focus and use Arrow Keys)</strong></p>
|
|
9
|
+
|
|
10
|
+
<div class="demo-controls" style="margin: 20px 0; display: flex; gap: 10px; flex-wrap: wrap;">
|
|
11
|
+
<ui-button onclick="showSliderSizes()" variant="outline">📏 Sizes</ui-button>
|
|
12
|
+
<ui-button onclick="showBasicSlider()" variant="outline">Basic</ui-button>
|
|
13
|
+
<ui-button onclick="showRangeSlider()" variant="outline">Range</ui-button>
|
|
14
|
+
<ui-button onclick="showSteppedSlider()" variant="outline">Stepped</ui-button>
|
|
15
|
+
<ui-button onclick="showColoredSlider()" variant="outline">Colored</ui-button>
|
|
16
|
+
<ui-button onclick="showVerticalSlider()" variant="outline">Vertical</ui-button>
|
|
17
|
+
<ui-button onclick="showDetailedSlider()" variant="outline">👑 Apex Slider</ui-button>
|
|
18
|
+
<ui-button onclick="showNewFeatures()" variant="outline">✨ New Features</ui-button>
|
|
19
|
+
<ui-button onclick="showInteractiveSlider()" variant="outline">🎮 Interactive Playground</ui-button>
|
|
20
|
+
<ui-button onclick="showAdvancedFeaturesSlider()" variant="outline">🧩 Advanced Features</ui-button>
|
|
21
|
+
<ui-button onclick="showMinMaxDynamicStepSlider()" variant="outline">Min/Max Dynamic Step</ui-button>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div id="sliderDemoContainer" style="margin-top: 20px;"></div>
|
|
25
|
+
`;
|
|
26
|
+
|
|
27
|
+
setTimeout(() => {
|
|
28
|
+
// Range Slider Demo Functions
|
|
29
|
+
window.showNewFeatures = function () {
|
|
30
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
31
|
+
if (!container) return;
|
|
32
|
+
container.innerHTML = `
|
|
33
|
+
<div style="display: flex; flex-direction: column; gap: 36px; max-width: 640px;">
|
|
34
|
+
|
|
35
|
+
<div class="demo-block">
|
|
36
|
+
<h3>Label, Prefix & Suffix</h3>
|
|
37
|
+
<p style="color:#6b7280;margin-bottom:16px;">Use <code>label</code>, <code>prefix-text</code>, and <code>suffix-text</code> for rich labeled sliders.</p>
|
|
38
|
+
<ui-range-slider label="Volume" value="60" suffix-text="%" show-tooltip tooltip-always-visible></ui-range-slider>
|
|
39
|
+
<div style="margin-top:20px">
|
|
40
|
+
<ui-range-slider label="Price ($)" value="350" min="0" max="1000" step="10" prefix-text="$" show-tooltip tooltip-always-visible size="md"></ui-range-slider>
|
|
41
|
+
</div>
|
|
42
|
+
<div style="margin-top:20px">
|
|
43
|
+
<ui-range-slider label="Font Size" value="16" min="8" max="72" step="1" suffix-text="px" show-tooltip tooltip-always-visible variant="purple"></ui-range-slider>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<div class="demo-block">
|
|
48
|
+
<h3>Semantic Variants</h3>
|
|
49
|
+
<p style="color:#6b7280;margin-bottom:16px;">Use <code>variant</code> instead of <code>color</code> for semantic theming.</p>
|
|
50
|
+
<div style="display:flex;flex-direction:column;gap:18px;">
|
|
51
|
+
<ui-range-slider label="Primary" variant="primary" value="65" tooltip-always-visible></ui-range-slider>
|
|
52
|
+
<ui-range-slider label="Success" variant="success" value="80" tooltip-always-visible></ui-range-slider>
|
|
53
|
+
<ui-range-slider label="Danger" variant="danger" value="35" tooltip-always-visible></ui-range-slider>
|
|
54
|
+
<ui-range-slider label="Warning" variant="warning" value="55" tooltip-always-visible></ui-range-slider>
|
|
55
|
+
<ui-range-slider label="Info" variant="info" value="70" tooltip-always-visible></ui-range-slider>
|
|
56
|
+
<ui-range-slider label="Purple" variant="purple" value="45" tooltip-always-visible></ui-range-slider>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
<div class="demo-block">
|
|
61
|
+
<h3>Gradient Track & Custom Gradients</h3>
|
|
62
|
+
<p style="color:#6b7280;margin-bottom:16px;">Enable <code>gradient-track</code> for semantic gradients or pass a custom <code>color</code> object.</p>
|
|
63
|
+
<div style="display:flex;flex-direction:column;gap:18px;">
|
|
64
|
+
<ui-range-slider label="Blue Gradient" variant="primary" value="70" gradient-track tooltip-always-visible size="md"></ui-range-slider>
|
|
65
|
+
<ui-range-slider label="Success Gradient" variant="success" value="55" gradient-track tooltip-always-visible size="md"></ui-range-slider>
|
|
66
|
+
<ui-range-slider label="Ocean Flow (Gradient Knobs)" color='{"from": "#10b981", "to": "#10b981"}' value="65" gradient-track tooltip-always-visible size="md"></ui-range-slider>
|
|
67
|
+
<ui-range-slider label="Sunset Fire (Gradient Knobs)" color='{"from": "#f59e0b", "to": "#ef4444"}' value="85" gradient-track tooltip-always-visible size="md"></ui-range-slider>
|
|
68
|
+
<ui-range-slider label="Neon Cosmic (Range + Gradient Knobs)" color='{"from": "#6366f1", "to": "#ec4899"}' range start-value="20" end-value="75" gradient-track tooltip-always-visible size="md"></ui-range-slider>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="demo-block">
|
|
73
|
+
<h3>Min/Max Labels</h3>
|
|
74
|
+
<p style="color:#6b7280;margin-bottom:16px;">Enable <code>show-min-max</code> to show range boundaries at the ends of the track.</p>
|
|
75
|
+
<ui-range-slider label="Temperature (°C)" min="-20" max="60" value="22" suffix-text="°C" show-min-max variant="info" tooltip-always-visible></ui-range-slider>
|
|
76
|
+
<div style="margin-top:20px">
|
|
77
|
+
<ui-range-slider label="Budget Range" min="0" max="10000" step="100" range start-value="1000" end-value="7500" prefix-text="$" show-min-max variant="success" tooltip-always-visible></ui-range-slider>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
<div class="demo-block">
|
|
82
|
+
<h3>Input Sync</h3>
|
|
83
|
+
<p style="color:#6b7280;margin-bottom:16px;">Enable <code>input-sync</code> to add editable number inputs synced with the slider position.</p>
|
|
84
|
+
<ui-range-slider label="Single value with input" value="42" min="0" max="100" variant="primary" input-sync show-value="false"></ui-range-slider>
|
|
85
|
+
<div style="margin-top:20px">
|
|
86
|
+
<ui-range-slider label="Range with inputs" range start-value="20" end-value="80" min="0" max="100" variant="purple" input-sync show-value="false"></ui-range-slider>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
<div class="demo-block">
|
|
91
|
+
<h3>Active Mark Highlighting</h3>
|
|
92
|
+
<p style="color:#6b7280;margin-bottom:16px;">Marks inside the selected range are now highlighted in the accent color.</p>
|
|
93
|
+
<ui-range-slider label="Progress Steps" min="0" max="100" step="25" value="75" show-marks variant="success" tooltip-always-visible size="md" marks='[{"value":0,"label":"Start"},{"value":25,"label":"25%"},{"value":50,"label":"Half"},{"value":75,"label":"75%"},{"value":100,"label":"Done"}]'></ui-range-slider>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
</div>
|
|
97
|
+
`;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
window.showBasicSlider = function () {
|
|
101
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
102
|
+
if (!container) return;
|
|
103
|
+
container.innerHTML = `
|
|
104
|
+
<div style="max-width: 500px; display: flex; flex-direction: column; gap: 30px;">
|
|
105
|
+
<div>
|
|
106
|
+
<h4>Basic Slider</h4>
|
|
107
|
+
<ui-range-slider id="basicSlider" min="0" max="100" value="50"></ui-range-slider>
|
|
108
|
+
<div id="basicValue" style="margin-top: 12px; padding: 10px; background: #f0f9ff; border-radius: 6px; text-align: center;">
|
|
109
|
+
Value: <strong>50</strong>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
`;
|
|
114
|
+
setTimeout(() => {
|
|
115
|
+
const slider = document.getElementById('basicSlider');
|
|
116
|
+
if (slider) {
|
|
117
|
+
slider.addEventListener('sliderChange', e => {
|
|
118
|
+
const valueDiv = document.getElementById('basicValue');
|
|
119
|
+
if (valueDiv) {
|
|
120
|
+
valueDiv.innerHTML = `Value: <strong>${e.detail}</strong>`;
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
}, 100);
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
window.showRangeSlider = function () {
|
|
128
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
129
|
+
if (!container) return;
|
|
130
|
+
container.innerHTML = `
|
|
131
|
+
<div style="max-width: 500px; display: flex; flex-direction: column; gap: 30px;">
|
|
132
|
+
<div>
|
|
133
|
+
<h4>Price Range Selector</h4>
|
|
134
|
+
<p style="color: #6b7280; font-size: 13px;">Select a price range</p>
|
|
135
|
+
<ui-range-slider
|
|
136
|
+
id="rangeSlider"
|
|
137
|
+
range="true"
|
|
138
|
+
min="0"
|
|
139
|
+
max="1000"
|
|
140
|
+
start-value="200"
|
|
141
|
+
end-value="800"
|
|
142
|
+
display-format="$\${value}"
|
|
143
|
+
color="#10b981"></ui-range-slider>
|
|
144
|
+
<div id="rangeValue" style="margin-top: 12px; padding: 10px; background: #dcfce7; border-radius: 6px; text-align: center;">
|
|
145
|
+
Range: <strong>$200 - $800</strong>
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
<div>
|
|
149
|
+
<h4>Temperature Range</h4>
|
|
150
|
+
<p style="color: #6b7280; font-size: 13px;">Set temperature limits</p>
|
|
151
|
+
<ui-range-slider
|
|
152
|
+
id="tempSlider"
|
|
153
|
+
range="true"
|
|
154
|
+
min="-20"
|
|
155
|
+
max="50"
|
|
156
|
+
start-value="10"
|
|
157
|
+
end-value="30"
|
|
158
|
+
display-format="\${value}°C"
|
|
159
|
+
color="#ef4444"></ui-range-slider>
|
|
160
|
+
</div>
|
|
161
|
+
</div>
|
|
162
|
+
`;
|
|
163
|
+
setTimeout(() => {
|
|
164
|
+
const slider = document.getElementById('rangeSlider');
|
|
165
|
+
if (slider) {
|
|
166
|
+
slider.addEventListener('sliderChange', e => {
|
|
167
|
+
const valueDiv = document.getElementById('rangeValue');
|
|
168
|
+
if (valueDiv) {
|
|
169
|
+
valueDiv.innerHTML = `Range: <strong>$${e.detail.start} - $${e.detail.end}</strong>`;
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
}, 100);
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
window.showSliderWithIcons = function () {
|
|
177
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
178
|
+
if (!container) return;
|
|
179
|
+
container.innerHTML = `
|
|
180
|
+
<div style="max-width: 500px; display: flex; flex-direction: column; gap: 30px;">
|
|
181
|
+
<div>
|
|
182
|
+
<h4>Volume Control</h4>
|
|
183
|
+
<ui-range-slider
|
|
184
|
+
min="0"
|
|
185
|
+
max="100"
|
|
186
|
+
value="70"
|
|
187
|
+
start-icon="🔇"
|
|
188
|
+
end-icon="🔊"
|
|
189
|
+
color="#10b981"></ui-range-slider>
|
|
190
|
+
</div>
|
|
191
|
+
<div>
|
|
192
|
+
<h4>Brightness</h4>
|
|
193
|
+
<ui-range-slider
|
|
194
|
+
min="0"
|
|
195
|
+
max="100"
|
|
196
|
+
value="60"
|
|
197
|
+
start-icon="🌙"
|
|
198
|
+
end-icon="☀️"
|
|
199
|
+
color="#f59e0b"></ui-range-slider>
|
|
200
|
+
</div>
|
|
201
|
+
<div>
|
|
202
|
+
<h4>Speed</h4>
|
|
203
|
+
<ui-range-slider
|
|
204
|
+
min="0"
|
|
205
|
+
max="100"
|
|
206
|
+
value="45"
|
|
207
|
+
start-icon="🐢"
|
|
208
|
+
end-icon="🚀"
|
|
209
|
+
color="#8b5cf6"></ui-range-slider>
|
|
210
|
+
</div>
|
|
211
|
+
<div>
|
|
212
|
+
<h4>With Text Labels</h4>
|
|
213
|
+
<ui-range-slider
|
|
214
|
+
min="0"
|
|
215
|
+
max="100"
|
|
216
|
+
value="50"
|
|
217
|
+
start-icon="Min"
|
|
218
|
+
end-icon="Max"
|
|
219
|
+
color="#ec4899"></ui-range-slider>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
`;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
window.showSliderSizes = function () {
|
|
226
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
227
|
+
if (!container) return;
|
|
228
|
+
container.innerHTML = `
|
|
229
|
+
<div style="max-width: 600px; display: flex; flex-direction: column; gap: 30px;">
|
|
230
|
+
<div class="demo-block">
|
|
231
|
+
<h3>Universal Sizing Spectrum</h3>
|
|
232
|
+
<p style="color: #6b7280; margin-bottom: 24px;">From micro-adjustments to high-visibility controls.</p>
|
|
233
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
234
|
+
${['xxxs', 'xxs', 'xs', 'sm', 'md', 'lg', 'xl', 'xxl', 'xxxl']
|
|
235
|
+
.map(
|
|
236
|
+
s => `
|
|
237
|
+
<div style="display: flex; align-items: center; gap: 16px;">
|
|
238
|
+
<span style="width: 80px; font-size: 11px; font-weight: 800; color: #64748b; text-transform: uppercase;">${s}</span>
|
|
239
|
+
<ui-range-slider size="${s}" value="${Math.floor(Math.random() * 100)}" style="flex: 1;"></ui-range-slider>
|
|
240
|
+
</div>
|
|
241
|
+
`,
|
|
242
|
+
)
|
|
243
|
+
.join('')}
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
`;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
window.showSliderColors = function () {
|
|
251
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
252
|
+
if (!container) return;
|
|
253
|
+
container.innerHTML = `
|
|
254
|
+
<div style="max-width: 500px; display: flex; flex-direction: column; gap: 20px;">
|
|
255
|
+
<div>
|
|
256
|
+
<h4 style="color: #10b981;">Blue</h4>
|
|
257
|
+
<ui-range-slider value="60" color="#10b981"></ui-range-slider>
|
|
258
|
+
</div>
|
|
259
|
+
<div>
|
|
260
|
+
<h4 style="color: #10b981;">Green</h4>
|
|
261
|
+
<ui-range-slider value="70" color="#10b981"></ui-range-slider>
|
|
262
|
+
</div>
|
|
263
|
+
<div>
|
|
264
|
+
<h4 style="color: #f59e0b;">Orange</h4>
|
|
265
|
+
<ui-range-slider value="50" color="#f59e0b"></ui-range-slider>
|
|
266
|
+
</div>
|
|
267
|
+
<div>
|
|
268
|
+
<h4 style="color: #ef4444;">Red</h4>
|
|
269
|
+
<ui-range-slider value="80" color="#ef4444"></ui-range-slider>
|
|
270
|
+
</div>
|
|
271
|
+
<div>
|
|
272
|
+
<h4 style="color: #8b5cf6;">Purple</h4>
|
|
273
|
+
<ui-range-slider value="45" color="#8b5cf6"></ui-range-slider>
|
|
274
|
+
</div>
|
|
275
|
+
<div>
|
|
276
|
+
<h4 style="color: #ec4899;">Pink</h4>
|
|
277
|
+
<ui-range-slider value="65" color="#ec4899"></ui-range-slider>
|
|
278
|
+
</div>
|
|
279
|
+
<div>
|
|
280
|
+
<h4>Custom Track Color</h4>
|
|
281
|
+
<ui-range-slider value="55" color="#10b981" track-color="#fecaca"></ui-range-slider>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
`;
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
window.showSliderSteps = function () {
|
|
288
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
289
|
+
if (!container) return;
|
|
290
|
+
container.innerHTML = `
|
|
291
|
+
<div style="max-width: 500px; display: flex; flex-direction: column; gap: 30px;">
|
|
292
|
+
<div>
|
|
293
|
+
<h4>Regular Steps (Step: 10)</h4>
|
|
294
|
+
<p style="color: #6b7280; font-size: 13px;">Values snap to multiples of 10</p>
|
|
295
|
+
<ui-range-slider
|
|
296
|
+
min="0"
|
|
297
|
+
max="100"
|
|
298
|
+
step="10"
|
|
299
|
+
value="50"
|
|
300
|
+
show-marks="true"></ui-range-slider>
|
|
301
|
+
</div>
|
|
302
|
+
<div>
|
|
303
|
+
<h4>Custom Steps (Non-linear)</h4>
|
|
304
|
+
<p style="color: #6b7280; font-size: 13px;">0, 10, 25, 50, 100, 200, 500</p>
|
|
305
|
+
<ui-range-slider
|
|
306
|
+
id="customStepSlider"
|
|
307
|
+
min="0"
|
|
308
|
+
max="500"
|
|
309
|
+
value="50"
|
|
310
|
+
show-marks="true"
|
|
311
|
+
color="#8b5cf6"></ui-range-slider>
|
|
312
|
+
</div>
|
|
313
|
+
<div>
|
|
314
|
+
<h4>With Labels</h4>
|
|
315
|
+
<ui-range-slider
|
|
316
|
+
id="labelSlider"
|
|
317
|
+
min="0"
|
|
318
|
+
max="5"
|
|
319
|
+
step="1"
|
|
320
|
+
value="2"
|
|
321
|
+
show-marks="true"
|
|
322
|
+
color="#ec4899"></ui-range-slider>
|
|
323
|
+
</div>
|
|
324
|
+
</div>
|
|
325
|
+
`;
|
|
326
|
+
setTimeout(() => {
|
|
327
|
+
const customSlider = document.getElementById('customStepSlider');
|
|
328
|
+
if (customSlider) {
|
|
329
|
+
customSlider.customSteps = [0, 10, 25, 50, 100, 200, 500];
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
const labelSlider = document.getElementById('labelSlider');
|
|
333
|
+
if (labelSlider) {
|
|
334
|
+
labelSlider.marks = [
|
|
335
|
+
{ value: 0, label: 'None' },
|
|
336
|
+
{ value: 1, label: 'Low' },
|
|
337
|
+
{ value: 2, label: 'Med' },
|
|
338
|
+
{ value: 3, label: 'High' },
|
|
339
|
+
{ value: 4, label: 'Max' },
|
|
340
|
+
{ value: 5, label: 'Ultra' },
|
|
341
|
+
];
|
|
342
|
+
}
|
|
343
|
+
}, 100);
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
window.showVerticalSlider = function () {
|
|
347
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
348
|
+
if (!container) return;
|
|
349
|
+
container.innerHTML = `
|
|
350
|
+
<div style="max-width: 800px;">
|
|
351
|
+
<h3>Vertical Sliders</h3>
|
|
352
|
+
<p style="color: #6b7280; margin-bottom: 24px;">Sliders can be displayed vertically for different UI layouts.</p>
|
|
353
|
+
|
|
354
|
+
<div style="display: flex; gap: 60px; align-items: flex-start; justify-content: center; padding: 30px; background-color: #f9fafb; border-radius: 8px; flex-wrap: wrap;">
|
|
355
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 16px;">
|
|
356
|
+
<h4 style="margin: 0;">Volume</h4>
|
|
357
|
+
<ui-range-slider
|
|
358
|
+
id="verticalVolume"
|
|
359
|
+
vertical="true"
|
|
360
|
+
min="0"
|
|
361
|
+
max="100"
|
|
362
|
+
value="70"
|
|
363
|
+
color="#10b981"
|
|
364
|
+
start-icon="🔇"
|
|
365
|
+
end-icon="🔊"></ui-range-slider>
|
|
366
|
+
<div id="volumeValue" style="padding: 8px 16px; background: #dbeafe; border-radius: 6px; font-size: 14px;">
|
|
367
|
+
<strong>70%</strong>
|
|
368
|
+
</div>
|
|
369
|
+
</div>
|
|
370
|
+
|
|
371
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 16px;">
|
|
372
|
+
<h4 style="margin: 0;">Brightness</h4>
|
|
373
|
+
<ui-range-slider
|
|
374
|
+
id="verticalBrightness"
|
|
375
|
+
vertical="true"
|
|
376
|
+
min="0"
|
|
377
|
+
max="100"
|
|
378
|
+
value="60"
|
|
379
|
+
color="#f59e0b"
|
|
380
|
+
start-icon="🌙"
|
|
381
|
+
end-icon="☀️"></ui-range-slider>
|
|
382
|
+
<div id="brightnessValue" style="padding: 8px 16px; background: #fef3c7; border-radius: 6px; font-size: 14px;">
|
|
383
|
+
<strong>60%</strong>
|
|
384
|
+
</div>
|
|
385
|
+
</div>
|
|
386
|
+
|
|
387
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 16px;">
|
|
388
|
+
<h4 style="margin: 0;">Temperature</h4>
|
|
389
|
+
<ui-range-slider
|
|
390
|
+
id="verticalTemp"
|
|
391
|
+
vertical="true"
|
|
392
|
+
range="true"
|
|
393
|
+
min="0"
|
|
394
|
+
max="100"
|
|
395
|
+
start-value="30"
|
|
396
|
+
end-value="70"
|
|
397
|
+
color="#ef4444"></ui-range-slider>
|
|
398
|
+
<div id="tempValue" style="padding: 8px 16px; background: #fee2e2; border-radius: 6px; font-size: 14px;">
|
|
399
|
+
<strong>30-70°C</strong>
|
|
400
|
+
</div>
|
|
401
|
+
</div>
|
|
402
|
+
|
|
403
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 16px;">
|
|
404
|
+
<h4 style="margin: 0;">Priority</h4>
|
|
405
|
+
<ui-range-slider
|
|
406
|
+
id="verticalPriority"
|
|
407
|
+
vertical="true"
|
|
408
|
+
min="1"
|
|
409
|
+
max="5"
|
|
410
|
+
value="3"
|
|
411
|
+
step="1"
|
|
412
|
+
show-marks="true"
|
|
413
|
+
color="#8b5cf6"></ui-range-slider>
|
|
414
|
+
<div id="priorityValue" style="padding: 8px 16px; background: #ede9fe; border-radius: 6px; font-size: 14px;">
|
|
415
|
+
<strong>md</strong>
|
|
416
|
+
</div>
|
|
417
|
+
</div>
|
|
418
|
+
|
|
419
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 16px;">
|
|
420
|
+
<h4 style="margin: 0;">Speed</h4>
|
|
421
|
+
<ui-range-slider
|
|
422
|
+
id="verticalSpeed"
|
|
423
|
+
vertical="true"
|
|
424
|
+
min="0"
|
|
425
|
+
max="100"
|
|
426
|
+
value="45"
|
|
427
|
+
color="#10b981"
|
|
428
|
+
size="md"
|
|
429
|
+
start-icon="🐢"
|
|
430
|
+
end-icon="🚀"></ui-range-slider>
|
|
431
|
+
<div id="speedValue" style="padding: 8px 16px; background: #d1fae5; border-radius: 6px; font-size: 14px;">
|
|
432
|
+
<strong>45%</strong>
|
|
433
|
+
</div>
|
|
434
|
+
</div>
|
|
435
|
+
</div>
|
|
436
|
+
|
|
437
|
+
<div style="margin-top: 30px; padding: 20px; background-color: white; border-radius: 8px; border: 1px solid #e5e7eb;">
|
|
438
|
+
<h4>Different Sizes</h4>
|
|
439
|
+
<div style="display: flex; gap: 40px; align-items: flex-end; justify-content: center; padding: 20px;">
|
|
440
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 12px;">
|
|
441
|
+
<span style="font-size: 13px; color: #6b7280;">Small</span>
|
|
442
|
+
<ui-range-slider
|
|
443
|
+
vertical="true"
|
|
444
|
+
size="sm"
|
|
445
|
+
value="40"
|
|
446
|
+
color="#10b981"></ui-range-slider>
|
|
447
|
+
</div>
|
|
448
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 12px;">
|
|
449
|
+
<span style="font-size: 13px; color: #6b7280;">md</span>
|
|
450
|
+
<ui-range-slider
|
|
451
|
+
vertical="true"
|
|
452
|
+
size="md"
|
|
453
|
+
value="60"
|
|
454
|
+
color="#10b981"></ui-range-slider>
|
|
455
|
+
</div>
|
|
456
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 12px;">
|
|
457
|
+
<span style="font-size: 13px; color: #6b7280;">Large</span>
|
|
458
|
+
<ui-range-slider
|
|
459
|
+
vertical="true"
|
|
460
|
+
size="lg"
|
|
461
|
+
value="80"
|
|
462
|
+
color="#f59e0b"></ui-range-slider>
|
|
463
|
+
</div>
|
|
464
|
+
</div>
|
|
465
|
+
</div>
|
|
466
|
+
</div>
|
|
467
|
+
`;
|
|
468
|
+
|
|
469
|
+
setTimeout(() => {
|
|
470
|
+
const volumeSlider = document.getElementById('verticalVolume');
|
|
471
|
+
if (volumeSlider) {
|
|
472
|
+
volumeSlider.addEventListener('sliderChange', e => {
|
|
473
|
+
const valueDiv = document.getElementById('volumeValue');
|
|
474
|
+
if (valueDiv) {
|
|
475
|
+
valueDiv.innerHTML = `<strong>${e.detail}%</strong>`;
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
const brightnessSlider = document.getElementById('verticalBrightness');
|
|
481
|
+
if (brightnessSlider) {
|
|
482
|
+
brightnessSlider.addEventListener('sliderChange', e => {
|
|
483
|
+
const valueDiv = document.getElementById('brightnessValue');
|
|
484
|
+
if (valueDiv) {
|
|
485
|
+
valueDiv.innerHTML = `<strong>${e.detail}%</strong>`;
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
const tempSlider = document.getElementById('verticalTemp');
|
|
491
|
+
if (tempSlider) {
|
|
492
|
+
tempSlider.addEventListener('sliderChange', e => {
|
|
493
|
+
const valueDiv = document.getElementById('tempValue');
|
|
494
|
+
if (valueDiv) {
|
|
495
|
+
valueDiv.innerHTML = `<strong>${e.detail.start}-${e.detail.end}°C</strong>`;
|
|
496
|
+
}
|
|
497
|
+
});
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
const prioritySlider = document.getElementById('verticalPriority');
|
|
501
|
+
if (prioritySlider) {
|
|
502
|
+
const priorities = { 1: 'Very Low', 2: 'Low', 3: 'md', 4: 'High', 5: 'Critical' };
|
|
503
|
+
prioritySlider.addEventListener('sliderChange', e => {
|
|
504
|
+
const valueDiv = document.getElementById('priorityValue');
|
|
505
|
+
if (valueDiv) {
|
|
506
|
+
valueDiv.innerHTML = `<strong>${priorities[e.detail]}</strong>`;
|
|
507
|
+
}
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
const speedSlider = document.getElementById('verticalSpeed');
|
|
512
|
+
if (speedSlider) {
|
|
513
|
+
speedSlider.addEventListener('sliderChange', e => {
|
|
514
|
+
const valueDiv = document.getElementById('speedValue');
|
|
515
|
+
if (valueDiv) {
|
|
516
|
+
valueDiv.innerHTML = `<strong>${e.detail}%</strong>`;
|
|
517
|
+
}
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
}, 100);
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
window.showInteractiveSlider = function () {
|
|
524
|
+
console.log('showInteractiveSlider called');
|
|
525
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
526
|
+
if (!container) return;
|
|
527
|
+
container.innerHTML = `
|
|
528
|
+
<div class="demo-block">
|
|
529
|
+
<h3>🎮 Interactive Playground</h3>
|
|
530
|
+
<p style="color: #6b7280; margin-bottom: 16px;">Customize the slider properties and see changes in real-time!</p>
|
|
531
|
+
|
|
532
|
+
<div style="background-color: white; padding: 20px; border-radius: 8px; margin-bottom: 20px; border: 1px solid #e5e7eb;">
|
|
533
|
+
<h4 style="margin: 0 0 16px;">Settings</h4>
|
|
534
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;">
|
|
535
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
536
|
+
<span>Label:</span>
|
|
537
|
+
<ui-input type="text" id="sliderLabel" value="Live Preview" oninput="updateInteractiveSlider()"
|
|
538
|
+
>
|
|
539
|
+
</label>
|
|
540
|
+
|
|
541
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
542
|
+
<span>Min Value:</span>
|
|
543
|
+
<ui-input type="number" id="sliderMin" value="0" oninput="updateInteractiveSlider()"
|
|
544
|
+
>
|
|
545
|
+
</label>
|
|
546
|
+
|
|
547
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
548
|
+
<span>Max Value:</span>
|
|
549
|
+
<ui-input type="number" id="sliderMax" value="100" oninput="updateInteractiveSlider()"
|
|
550
|
+
>
|
|
551
|
+
</label>
|
|
552
|
+
|
|
553
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
554
|
+
<span>Step:</span>
|
|
555
|
+
<ui-input type="number" id="sliderStep" value="1" min="1" oninput="updateInteractiveSlider()"
|
|
556
|
+
>
|
|
557
|
+
</label>
|
|
558
|
+
|
|
559
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
560
|
+
<span>Value:</span>
|
|
561
|
+
<ui-input type="number" id="sliderValue" value="50" oninput="updateInteractiveSlider()"
|
|
562
|
+
>
|
|
563
|
+
</label>
|
|
564
|
+
|
|
565
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
566
|
+
<span>Prefix Text:</span>
|
|
567
|
+
<ui-input type="text" id="sliderPrefixText" placeholder="e.g., $" oninput="updateInteractiveSlider()"
|
|
568
|
+
>
|
|
569
|
+
</label>
|
|
570
|
+
|
|
571
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
572
|
+
<span>Suffix Text:</span>
|
|
573
|
+
<ui-input type="text" id="sliderSuffixText" placeholder="e.g., % or px" value="%" oninput="updateInteractiveSlider()"
|
|
574
|
+
>
|
|
575
|
+
</label>
|
|
576
|
+
|
|
577
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
578
|
+
<span>Display Format:</span>
|
|
579
|
+
<ui-input type="text" id="sliderDisplayFormat" placeholder="e.g., Value: {value}" oninput="updateInteractiveSlider()"
|
|
580
|
+
>
|
|
581
|
+
</label>
|
|
582
|
+
|
|
583
|
+
<div class="form-group">
|
|
584
|
+
<label>Variant</label>
|
|
585
|
+
<ui-dropdown id="sliderVariant" onchange="updateInteractiveSlider()" class="demo-select">
|
|
586
|
+
<option value="" selected>Default</option>
|
|
587
|
+
<option value="primary">Primary</option>
|
|
588
|
+
<option value="success">Success</option>
|
|
589
|
+
<option value="danger">Danger</option>
|
|
590
|
+
<option value="warning">Warning</option>
|
|
591
|
+
<option value="info">Info</option>
|
|
592
|
+
<option value="purple">Purple</option>
|
|
593
|
+
<option value="glass">Glassmorphism</option>
|
|
594
|
+
<option value="detailed">Elite/Detailed</option>
|
|
595
|
+
</ui-dropdown>
|
|
596
|
+
</div>
|
|
597
|
+
<div class="form-group" style="display: flex; gap: 16px; align-items: flex-end; padding-bottom: 8px;">
|
|
598
|
+
<ui-checkbox id="sliderRangeMode" checked label="👥 Range" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
599
|
+
<ui-checkbox id="sliderMinMax" checked label="📏 Min/Max" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
600
|
+
<ui-checkbox id="sliderInputSync" checked label="⌨️ Input Sync" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
601
|
+
<ui-checkbox id="sliderShowTooltip" checked label="💬 Tooltip" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
602
|
+
<ui-checkbox id="sliderTooltipAlwaysVisible" label="👀 Tooltip Always Visible" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
603
|
+
<ui-checkbox id="sliderShowValue" checked label="🔢 Value Display" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
604
|
+
<ui-checkbox id="sliderCircle" label="🔘 Circle Variant" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
605
|
+
<ui-checkbox id="sliderRtl" label="🌍 RTL" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
606
|
+
</div>
|
|
607
|
+
|
|
608
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
609
|
+
<span>Color:</span>
|
|
610
|
+
<ui-input type="color" id="sliderColor" value="#10b981" oninput="updateInteractiveSlider()"
|
|
611
|
+
>
|
|
612
|
+
</label>
|
|
613
|
+
|
|
614
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
615
|
+
<span>Track Color:</span>
|
|
616
|
+
<ui-input type="color" id="sliderTrackColor" value="#e5e7eb" oninput="updateInteractiveSlider()"
|
|
617
|
+
>
|
|
618
|
+
</label>
|
|
619
|
+
|
|
620
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
621
|
+
<span>Start Icon:</span>
|
|
622
|
+
<ui-input type="text" id="sliderStartIcon" placeholder="e.g., 🔇 or Min" oninput="updateInteractiveSlider()"
|
|
623
|
+
>
|
|
624
|
+
<div style="display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px;">
|
|
625
|
+
<ui-button onclick="document.getElementById('sliderStartIcon').value='🔇'; updateInteractiveSlider();" style="padding: 4px 8px; font-size: 11px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">🔇 Volume</ui-button>
|
|
626
|
+
<ui-button onclick="document.getElementById('sliderStartIcon').value='🌙'; updateInteractiveSlider();" style="padding: 4px 8px; font-size: 11px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">🌙 Dark</ui-button>
|
|
627
|
+
<ui-button onclick="document.getElementById('sliderStartIcon').value='🐢'; updateInteractiveSlider();" style="padding: 4px 8px; font-size: 11px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">🐢 Slow</ui-button>
|
|
628
|
+
<ui-button onclick="document.getElementById('sliderStartIcon').value='Min'; updateInteractiveSlider();" style="padding: 4px 8px; font-size: 11px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">Min</ui-button>
|
|
629
|
+
</div>
|
|
630
|
+
</label>
|
|
631
|
+
|
|
632
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
633
|
+
<span>End Icon:</span>
|
|
634
|
+
<ui-input type="text" id="sliderEndIcon" placeholder="e.g., 🔊 or Max" oninput="updateInteractiveSlider()"
|
|
635
|
+
>
|
|
636
|
+
<div style="display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px;">
|
|
637
|
+
<ui-button onclick="document.getElementById('sliderEndIcon').value='🔊'; updateInteractiveSlider();" style="padding: 4px 8px; font-size: 11px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">🔊 Volume</ui-button>
|
|
638
|
+
<ui-button onclick="document.getElementById('sliderEndIcon').value='☀️'; updateInteractiveSlider();" style="padding: 4px 8px; font-size: 11px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">☀️ Light</ui-button>
|
|
639
|
+
<ui-button onclick="document.getElementById('sliderEndIcon').value='🚀'; updateInteractiveSlider();" style="padding: 4px 8px; font-size: 11px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">🚀 Fast</ui-button>
|
|
640
|
+
<ui-button onclick="document.getElementById('sliderEndIcon').value='Max'; updateInteractiveSlider();" style="padding: 4px 8px; font-size: 11px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">Max</ui-button>
|
|
641
|
+
</div>
|
|
642
|
+
</label>
|
|
643
|
+
|
|
644
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
645
|
+
<span>Size:</span>
|
|
646
|
+
<ui-dropdown id="sliderSize" oninput="updateInteractiveSlider()" style="padding: 6px; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">
|
|
647
|
+
<option value="sm">Small</option>
|
|
648
|
+
<option value="md" selected>md</option>
|
|
649
|
+
<option value="lg">Large</option>
|
|
650
|
+
</ui-dropdown>
|
|
651
|
+
</label>
|
|
652
|
+
|
|
653
|
+
<ui-checkbox id="sliderGradient" label="Gradient Track" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
654
|
+
|
|
655
|
+
<ui-checkbox id="sliderVertical" label="Vertical" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
656
|
+
|
|
657
|
+
<ui-checkbox id="sliderShowMarks" label="Show Marks" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
658
|
+
|
|
659
|
+
<ui-checkbox id="sliderDisabled" label="Disabled" oncheckboxchange="updateInteractiveSlider()"></ui-checkbox>
|
|
660
|
+
</div>
|
|
661
|
+
|
|
662
|
+
<div id="rangeControls" style="margin-top: 16px; display: none; padding-top: 16px; border-top: 1px solid #e5e7eb;">
|
|
663
|
+
<h4 style="margin: 0 0 12px;">Range Mode Settings:</h4>
|
|
664
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;">
|
|
665
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
666
|
+
<span>Start Value:</span>
|
|
667
|
+
<ui-input type="number" id="sliderStartValue" value="30" oninput="updateInteractiveSlider()"
|
|
668
|
+
>
|
|
669
|
+
</label>
|
|
670
|
+
|
|
671
|
+
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
672
|
+
<span>End Value:</span>
|
|
673
|
+
<ui-input type="number" id="sliderEndValue" value="70" oninput="updateInteractiveSlider()"
|
|
674
|
+
>
|
|
675
|
+
</label>
|
|
676
|
+
</div>
|
|
677
|
+
</div>
|
|
678
|
+
</div>
|
|
679
|
+
|
|
680
|
+
<div style="padding: 20px; background-color: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb;">
|
|
681
|
+
<div id="interactiveSliderContainer" style="min-height: 100px; display: flex; align-items: center; justify-content: center;"></div>
|
|
682
|
+
<div id="sliderCurrentValue" style="margin-top: 16px; padding: 12px; background-color: #dbeafe; border-radius: 6px; text-align: center; font-family: monospace;">
|
|
683
|
+
Value: <strong>50</strong>
|
|
684
|
+
</div>
|
|
685
|
+
|
|
686
|
+
<div style="margin-top: 20px; background: #1e293b; padding: 16px; border-radius: 8px; position: relative;">
|
|
687
|
+
<ui-button onclick="copyRangeSliderCode()" id="copyRangeSliderBtn" style="position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.1); color: white; border: none; padding: 4px 10px; border-radius: 4px; font-size: 11px; cursor: pointer; transition: all 0.2s;">Copy</ui-button>
|
|
688
|
+
<code id="rangeSliderCodeBlock" style="color: #e2e8f0; font-family: monospace; font-size: 13px; display: block; overflow-x: auto; padding-right: 50px; white-space: pre-wrap;">
|
|
689
|
+
<ui-range-slider ...></ui-range-slider>
|
|
690
|
+
</code>
|
|
691
|
+
</div>
|
|
692
|
+
</div>
|
|
693
|
+
</div>
|
|
694
|
+
`;
|
|
695
|
+
|
|
696
|
+
window.copyRangeSliderCode = () => {
|
|
697
|
+
const code = document.getElementById('rangeSliderCodeBlock').innerText;
|
|
698
|
+
const btn = document.getElementById('copyRangeSliderBtn');
|
|
699
|
+
|
|
700
|
+
navigator.clipboard.writeText(code).then(() => {
|
|
701
|
+
const originalText = btn.innerText;
|
|
702
|
+
btn.innerText = 'Copied!';
|
|
703
|
+
btn.style.background = '#10b981';
|
|
704
|
+
|
|
705
|
+
setTimeout(() => {
|
|
706
|
+
btn.innerText = originalText;
|
|
707
|
+
btn.style.background = 'rgba(255,255,255,0.1)';
|
|
708
|
+
}, 2000);
|
|
709
|
+
});
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
window.updateRangeSliderCode = () => {
|
|
713
|
+
const slider = document.getElementById('interactiveSlider');
|
|
714
|
+
const codeBlock = document.getElementById('rangeSliderCodeBlock');
|
|
715
|
+
if (!slider || !codeBlock) return;
|
|
716
|
+
|
|
717
|
+
let props = '';
|
|
718
|
+
if (slider.getAttribute('range')) {
|
|
719
|
+
props += ` range`;
|
|
720
|
+
if (slider.getAttribute('start-value')) props += ` start-value="${slider.getAttribute('start-value')}"`;
|
|
721
|
+
if (slider.getAttribute('end-value')) props += ` end-value="${slider.getAttribute('end-value')}"`;
|
|
722
|
+
} else {
|
|
723
|
+
if (slider.getAttribute('value')) props += ` value="${slider.getAttribute('value')}"`;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
if (slider.getAttribute('min') && slider.getAttribute('min') !== '0') props += ` min="${slider.getAttribute('min')}"`;
|
|
727
|
+
if (slider.getAttribute('max') && slider.getAttribute('max') !== '100') props += ` max="${slider.getAttribute('max')}"`;
|
|
728
|
+
if (slider.getAttribute('step') && slider.getAttribute('step') !== '1') props += ` step="${slider.getAttribute('step')}"`;
|
|
729
|
+
if (slider.getAttribute('label')) props += ` label="${slider.getAttribute('label')}"`;
|
|
730
|
+
if (slider.getAttribute('size') && slider.getAttribute('size') !== 'md') props += ` size="${slider.getAttribute('size')}"`;
|
|
731
|
+
if (slider.getAttribute('variant')) props += ` variant="${slider.getAttribute('variant')}"`;
|
|
732
|
+
if (slider.getAttribute('color') && slider.getAttribute('color') !== '#10b981') props += ` color="${slider.getAttribute('color')}"`;
|
|
733
|
+
if (slider.getAttribute('track-color') && slider.getAttribute('track-color') !== '#e5e7eb') props += ` track-color="${slider.getAttribute('track-color')}"`;
|
|
734
|
+
if (slider.getAttribute('start-icon')) props += ` start-icon="${slider.getAttribute('start-icon')}"`;
|
|
735
|
+
if (slider.getAttribute('end-icon')) props += ` end-icon="${slider.getAttribute('end-icon')}"`;
|
|
736
|
+
if (slider.getAttribute('prefix-text')) props += ` prefix-text="${slider.getAttribute('prefix-text')}"`;
|
|
737
|
+
if (slider.getAttribute('suffix-text')) props += ` suffix-text="${slider.getAttribute('suffix-text')}"`;
|
|
738
|
+
if (slider.getAttribute('display-format')) props += ` display-format="${slider.getAttribute('display-format')}"`;
|
|
739
|
+
if (slider.getAttribute('show-tooltip') === 'false') props += ` show-tooltip="false"`;
|
|
740
|
+
if (slider.hasAttribute('tooltip-always-visible')) props += ` tooltip-always-visible`;
|
|
741
|
+
if (slider.getAttribute('show-value') === 'false') props += ` show-value="false"`;
|
|
742
|
+
if (slider.hasAttribute('show-min-max')) props += ` show-min-max`;
|
|
743
|
+
if (slider.hasAttribute('input-sync')) props += ` input-sync`;
|
|
744
|
+
if (slider.hasAttribute('gradient-track')) props += ` gradient-track`;
|
|
745
|
+
if (slider.getAttribute('vertical')) props += ` vertical`;
|
|
746
|
+
if (slider.getAttribute('show-marks')) props += ` show-marks`;
|
|
747
|
+
if (slider.hasAttribute('circle')) props += ` circle`;
|
|
748
|
+
if (slider.hasAttribute('rtl')) props += ` rtl`;
|
|
749
|
+
if (slider.getAttribute('disabled')) props += ` disabled`;
|
|
750
|
+
|
|
751
|
+
codeBlock.innerText = `<ui-range-slider${props}></ui-range-slider>`;
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
setTimeout(() => {
|
|
755
|
+
updateInteractiveSlider();
|
|
756
|
+
|
|
757
|
+
// Toggle range controls visibility
|
|
758
|
+
const rangeCheckbox = document.getElementById('sliderRangeMode');
|
|
759
|
+
if (rangeCheckbox) {
|
|
760
|
+
rangeCheckbox.addEventListener('change', () => {
|
|
761
|
+
const rangeControls = document.getElementById('rangeControls');
|
|
762
|
+
if (rangeControls) {
|
|
763
|
+
rangeControls.style.display = rangeCheckbox.checked ? 'block' : 'none';
|
|
764
|
+
}
|
|
765
|
+
});
|
|
766
|
+
}
|
|
767
|
+
}, 50);
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
window.updateInteractiveSlider = function () {
|
|
771
|
+
const label = document.getElementById('sliderLabel')?.value || '';
|
|
772
|
+
const min = document.getElementById('sliderMin')?.value || '0';
|
|
773
|
+
const max = document.getElementById('sliderMax')?.value || '100';
|
|
774
|
+
const step = document.getElementById('sliderStep')?.value || '1';
|
|
775
|
+
const value = document.getElementById('sliderValue')?.value || '50';
|
|
776
|
+
const prefixText = document.getElementById('sliderPrefixText')?.value || '';
|
|
777
|
+
const suffixText = document.getElementById('sliderSuffixText')?.value || '';
|
|
778
|
+
const size = document.getElementById('sliderSize')?.value || 'md';
|
|
779
|
+
const variant = document.getElementById('sliderVariant')?.value || '';
|
|
780
|
+
const color = document.getElementById('sliderColor')?.value || '#10b981';
|
|
781
|
+
const trackColor = document.getElementById('sliderTrackColor')?.value || '#e5e7eb';
|
|
782
|
+
const startIcon = document.getElementById('sliderStartIcon')?.value || '';
|
|
783
|
+
const endIcon = document.getElementById('sliderEndIcon')?.value || '';
|
|
784
|
+
const displayFormat = document.getElementById('sliderDisplayFormat')?.value || '';
|
|
785
|
+
const isRange = document.getElementById('sliderRangeMode')?.checked || false;
|
|
786
|
+
const showMinMax = document.getElementById('sliderMinMax')?.checked || false;
|
|
787
|
+
const inputSync = document.getElementById('sliderInputSync')?.checked || false;
|
|
788
|
+
const showTooltip = document.getElementById('sliderShowTooltip')?.checked ?? true;
|
|
789
|
+
const tooltipAlwaysVisible = document.getElementById('sliderTooltipAlwaysVisible')?.checked || false;
|
|
790
|
+
const showValue = document.getElementById('sliderShowValue')?.checked ?? true;
|
|
791
|
+
const gradientTrack = document.getElementById('sliderGradient')?.checked || false;
|
|
792
|
+
const circle = document.getElementById('sliderCircle')?.checked || false;
|
|
793
|
+
const rtl = document.getElementById('sliderRtl')?.checked || false;
|
|
794
|
+
const vertical = document.getElementById('sliderVertical')?.checked || false;
|
|
795
|
+
const showMarks = document.getElementById('sliderShowMarks')?.checked || false;
|
|
796
|
+
const disabled = document.getElementById('sliderDisabled')?.checked || false;
|
|
797
|
+
const startValue = document.getElementById('sliderStartValue')?.value || '30';
|
|
798
|
+
const endValue = document.getElementById('sliderEndValue')?.value || '70';
|
|
799
|
+
|
|
800
|
+
const container = document.getElementById('interactiveSliderContainer');
|
|
801
|
+
const valueDisplay = document.getElementById('sliderCurrentValue');
|
|
802
|
+
|
|
803
|
+
if (container) {
|
|
804
|
+
let html = `
|
|
805
|
+
<ui-range-slider
|
|
806
|
+
id="interactiveSlider"
|
|
807
|
+
${label ? `label="${label}"` : ''}
|
|
808
|
+
min="${min}"
|
|
809
|
+
max="${max}"
|
|
810
|
+
step="${step}"
|
|
811
|
+
${isRange ? `range="true" start-value="${startValue}" end-value="${endValue}"` : `value="${value}"`}
|
|
812
|
+
size="${size}"
|
|
813
|
+
${variant ? `variant="${variant}"` : ''}
|
|
814
|
+
color="${color}"
|
|
815
|
+
track-color="${trackColor}"
|
|
816
|
+
${startIcon ? `start-icon="${startIcon}"` : ''}
|
|
817
|
+
${endIcon ? `end-icon="${endIcon}"` : ''}
|
|
818
|
+
${prefixText ? `prefix-text="${prefixText}"` : ''}
|
|
819
|
+
${suffixText ? `suffix-text="${suffixText}"` : ''}
|
|
820
|
+
${displayFormat ? `display-format="${displayFormat}"` : ''}
|
|
821
|
+
show-tooltip="${showTooltip}"
|
|
822
|
+
${tooltipAlwaysVisible ? 'tooltip-always-visible' : ''}
|
|
823
|
+
show-value="${showValue}"
|
|
824
|
+
${showMinMax ? 'show-min-max' : ''}
|
|
825
|
+
${inputSync ? 'input-sync' : ''}
|
|
826
|
+
${gradientTrack ? 'gradient-track' : ''}
|
|
827
|
+
${vertical ? 'vertical="true"' : ''}
|
|
828
|
+
${showMarks ? 'show-marks="true"' : ''}
|
|
829
|
+
${disabled ? 'disabled="true"' : ''}
|
|
830
|
+
${circle ? 'circle' : ''}
|
|
831
|
+
${rtl ? 'rtl' : ''}
|
|
832
|
+
></ui-range-slider>
|
|
833
|
+
`;
|
|
834
|
+
container.innerHTML = html;
|
|
835
|
+
|
|
836
|
+
// Update value display
|
|
837
|
+
if (valueDisplay) {
|
|
838
|
+
if (isRange) {
|
|
839
|
+
valueDisplay.innerHTML = `Range: <strong>${startValue} - ${endValue}</strong>`;
|
|
840
|
+
} else {
|
|
841
|
+
valueDisplay.innerHTML = `Value: <strong>${value}</strong>`;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
// Add event listener to track changes
|
|
846
|
+
setTimeout(() => {
|
|
847
|
+
const slider = document.getElementById('interactiveSlider');
|
|
848
|
+
if (slider && valueDisplay) {
|
|
849
|
+
slider.addEventListener('sliderChange', e => {
|
|
850
|
+
if (isRange && e.detail.start !== undefined) {
|
|
851
|
+
valueDisplay.innerHTML = `Range: <strong>${e.detail.start} - ${e.detail.end}</strong>`;
|
|
852
|
+
} else {
|
|
853
|
+
valueDisplay.innerHTML = `Value: <strong>${e.detail}</strong>`;
|
|
854
|
+
}
|
|
855
|
+
window.updateRangeSliderCode();
|
|
856
|
+
});
|
|
857
|
+
}
|
|
858
|
+
window.updateRangeSliderCode();
|
|
859
|
+
}, 100);
|
|
860
|
+
}
|
|
861
|
+
};
|
|
862
|
+
|
|
863
|
+
window.showSteppedSlider = function () {
|
|
864
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
865
|
+
if (!container) return;
|
|
866
|
+
container.innerHTML = `
|
|
867
|
+
<div style="max-width: 500px; display: flex; flex-direction: column; gap: 30px;">
|
|
868
|
+
<div>
|
|
869
|
+
<h4>Regular Steps (Step: 10)</h4>
|
|
870
|
+
<p style="color: #6b7280; font-size: 13px;">Values snap to multiples of 10</p>
|
|
871
|
+
<ui-range-slider
|
|
872
|
+
min="0"
|
|
873
|
+
max="100"
|
|
874
|
+
step="10"
|
|
875
|
+
value="50"
|
|
876
|
+
show-marks="true"></ui-range-slider>
|
|
877
|
+
</div>
|
|
878
|
+
<div>
|
|
879
|
+
<h4>T-Shirt Sizes</h4>
|
|
880
|
+
<p style="color: #6b7280; font-size: 13px;">Select a size</p>
|
|
881
|
+
<ui-range-slider
|
|
882
|
+
id="sizeSlider"
|
|
883
|
+
min="0"
|
|
884
|
+
max="4"
|
|
885
|
+
value="2"
|
|
886
|
+
show-marks="true"
|
|
887
|
+
color="#10b981"></ui-range-slider>
|
|
888
|
+
<div id="sizeValue" style="margin-top: 12px; padding: 10px; background: #dbeafe; border-radius: 6px; text-align: center;">
|
|
889
|
+
Size: <strong>M</strong>
|
|
890
|
+
</div>
|
|
891
|
+
</div>
|
|
892
|
+
<div>
|
|
893
|
+
<h4>Priority Levels</h4>
|
|
894
|
+
<p style="color: #6b7280; font-size: 13px;">Low, md, High, Critical</p>
|
|
895
|
+
<ui-range-slider
|
|
896
|
+
id="prioritySlider"
|
|
897
|
+
min="1"
|
|
898
|
+
max="4"
|
|
899
|
+
value="2"
|
|
900
|
+
show-marks="true"
|
|
901
|
+
color="#ef4444"></ui-range-slider>
|
|
902
|
+
<div id="priorityValue" style="margin-top: 12px; padding: 10px; background: #fee2e2; border-radius: 6px; text-align: center;">
|
|
903
|
+
Priority: <strong>md</strong>
|
|
904
|
+
</div>
|
|
905
|
+
</div>
|
|
906
|
+
</div>
|
|
907
|
+
`;
|
|
908
|
+
setTimeout(() => {
|
|
909
|
+
const sizeSlider = document.getElementById('sizeSlider');
|
|
910
|
+
if (sizeSlider) {
|
|
911
|
+
const sizes = ['XS', 'S', 'M', 'L', 'XL'];
|
|
912
|
+
sizeSlider.restrictedValues = [0, 1, 2, 3, 4];
|
|
913
|
+
sizeSlider.marks = [
|
|
914
|
+
{ value: 0, label: 'XS' },
|
|
915
|
+
{ value: 1, label: 'S' },
|
|
916
|
+
{ value: 2, label: 'M' },
|
|
917
|
+
{ value: 3, label: 'L' },
|
|
918
|
+
{ value: 4, label: 'XL' },
|
|
919
|
+
];
|
|
920
|
+
sizeSlider.addEventListener('sliderChange', e => {
|
|
921
|
+
const valueDiv = document.getElementById('sizeValue');
|
|
922
|
+
if (valueDiv) {
|
|
923
|
+
valueDiv.innerHTML = `Size: <strong>${sizes[e.detail]}</strong>`;
|
|
924
|
+
}
|
|
925
|
+
});
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
const prioritySlider = document.getElementById('prioritySlider');
|
|
929
|
+
if (prioritySlider) {
|
|
930
|
+
const priorities = { 1: 'Low', 2: 'md', 3: 'High', 4: 'Critical' };
|
|
931
|
+
prioritySlider.restrictedValues = [1, 2, 3, 4];
|
|
932
|
+
prioritySlider.marks = [
|
|
933
|
+
{ value: 1, label: 'Low' },
|
|
934
|
+
{ value: 2, label: 'Med' },
|
|
935
|
+
{ value: 3, label: 'High' },
|
|
936
|
+
{ value: 4, label: 'Crit' },
|
|
937
|
+
];
|
|
938
|
+
prioritySlider.addEventListener('sliderChange', e => {
|
|
939
|
+
const valueDiv = document.getElementById('priorityValue');
|
|
940
|
+
if (valueDiv) {
|
|
941
|
+
valueDiv.innerHTML = `Priority: <strong>${priorities[e.detail]}</strong>`;
|
|
942
|
+
}
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
}, 100);
|
|
946
|
+
};
|
|
947
|
+
|
|
948
|
+
window.showColoredSlider = function () {
|
|
949
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
950
|
+
if (!container) return;
|
|
951
|
+
container.innerHTML = `
|
|
952
|
+
<div style="max-width: 500px; display: flex; flex-direction: column; gap: 20px;">
|
|
953
|
+
<div>
|
|
954
|
+
<h4 style="color: #10b981;">Blue</h4>
|
|
955
|
+
<ui-range-slider value="60" color="#10b981"></ui-range-slider>
|
|
956
|
+
</div>
|
|
957
|
+
<div>
|
|
958
|
+
<h4 style="color: #10b981;">Green</h4>
|
|
959
|
+
<ui-range-slider value="70" color="#10b981"></ui-range-slider>
|
|
960
|
+
</div>
|
|
961
|
+
<div>
|
|
962
|
+
<h4 style="color: #f59e0b;">Orange</h4>
|
|
963
|
+
<ui-range-slider value="50" color="#f59e0b"></ui-range-slider>
|
|
964
|
+
</div>
|
|
965
|
+
<div>
|
|
966
|
+
<h4 style="color: #ef4444;">Red</h4>
|
|
967
|
+
<ui-range-slider value="80" color="#ef4444"></ui-range-slider>
|
|
968
|
+
</div>
|
|
969
|
+
<div>
|
|
970
|
+
<h4 style="color: #8b5cf6;">Purple</h4>
|
|
971
|
+
<ui-range-slider value="45" color="#8b5cf6"></ui-range-slider>
|
|
972
|
+
</div>
|
|
973
|
+
<div>
|
|
974
|
+
<h4 style="color: #ec4899;">Pink</h4>
|
|
975
|
+
<ui-range-slider value="65" color="#ec4899"></ui-range-slider>
|
|
976
|
+
</div>
|
|
977
|
+
<div>
|
|
978
|
+
<h4>Custom Track Color</h4>
|
|
979
|
+
<ui-range-slider value="55" color="#10b981" track-color="#fecaca"></ui-range-slider>
|
|
980
|
+
</div>
|
|
981
|
+
</div>
|
|
982
|
+
`;
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
window.showSliderMarks = function () {
|
|
986
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
987
|
+
if (!container) return;
|
|
988
|
+
container.innerHTML = `
|
|
989
|
+
<div style="max-width: 500px; display: flex; flex-direction: column; gap: 30px;">
|
|
990
|
+
<div>
|
|
991
|
+
<h4>Simple Marks</h4>
|
|
992
|
+
<ui-range-slider
|
|
993
|
+
min="0"
|
|
994
|
+
max="10"
|
|
995
|
+
step="1"
|
|
996
|
+
value="5"
|
|
997
|
+
show-marks="true"
|
|
998
|
+
color="#10b981"></ui-range-slider>
|
|
999
|
+
</div>
|
|
1000
|
+
<div>
|
|
1001
|
+
<h4>Marks with Labels</h4>
|
|
1002
|
+
<ui-range-slider
|
|
1003
|
+
id="marksLabelSlider"
|
|
1004
|
+
min="0"
|
|
1005
|
+
max="100"
|
|
1006
|
+
value="50"
|
|
1007
|
+
show-marks="true"
|
|
1008
|
+
color="#10b981"></ui-range-slider>
|
|
1009
|
+
</div>
|
|
1010
|
+
<div>
|
|
1011
|
+
<h4>Range with Marks</h4>
|
|
1012
|
+
<ui-range-slider
|
|
1013
|
+
id="rangeMarksSlider"
|
|
1014
|
+
range="true"
|
|
1015
|
+
min="0"
|
|
1016
|
+
max="100"
|
|
1017
|
+
start-value="30"
|
|
1018
|
+
end-value="70"
|
|
1019
|
+
show-marks="true"
|
|
1020
|
+
color="#f59e0b"></ui-range-slider>
|
|
1021
|
+
</div>
|
|
1022
|
+
<div style="display: flex; gap: 20px; justify-content: center; padding: 20px;">
|
|
1023
|
+
<div>
|
|
1024
|
+
<h4 style="text-align: center;">Vertical with Marks</h4>
|
|
1025
|
+
<ui-range-slider
|
|
1026
|
+
id="verticalMarksSlider"
|
|
1027
|
+
vertical="true"
|
|
1028
|
+
min="0"
|
|
1029
|
+
max="10"
|
|
1030
|
+
step="2"
|
|
1031
|
+
value="6"
|
|
1032
|
+
show-marks="true"
|
|
1033
|
+
color="#8b5cf6"></ui-range-slider>
|
|
1034
|
+
</div>
|
|
1035
|
+
</div>
|
|
1036
|
+
</div>
|
|
1037
|
+
`;
|
|
1038
|
+
setTimeout(() => {
|
|
1039
|
+
const marksSlider = document.getElementById('marksLabelSlider');
|
|
1040
|
+
if (marksSlider) {
|
|
1041
|
+
marksSlider.marks = [
|
|
1042
|
+
{ value: 0, label: 'Start' },
|
|
1043
|
+
{ value: 25, label: '25%' },
|
|
1044
|
+
{ value: 50, label: 'Half' },
|
|
1045
|
+
{ value: 75, label: '75%' },
|
|
1046
|
+
{ value: 100, label: 'End' },
|
|
1047
|
+
];
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
const rangeMarks = document.getElementById('rangeMarksSlider');
|
|
1051
|
+
if (rangeMarks) {
|
|
1052
|
+
rangeMarks.marks = [
|
|
1053
|
+
{ value: 0, label: '0' },
|
|
1054
|
+
{ value: 50, label: '50' },
|
|
1055
|
+
{ value: 100, label: '100' },
|
|
1056
|
+
];
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
const verticalMarks = document.getElementById('verticalMarksSlider');
|
|
1060
|
+
if (verticalMarks) {
|
|
1061
|
+
verticalMarks.marks = [
|
|
1062
|
+
{ value: 0, label: 'Min' },
|
|
1063
|
+
{ value: 5, label: 'Mid' },
|
|
1064
|
+
{ value: 10, label: 'Max' },
|
|
1065
|
+
];
|
|
1066
|
+
}
|
|
1067
|
+
}, 100);
|
|
1068
|
+
};
|
|
1069
|
+
|
|
1070
|
+
window.showDetailedSlider = function () {
|
|
1071
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
1072
|
+
if (!container) return;
|
|
1073
|
+
|
|
1074
|
+
container.innerHTML = `
|
|
1075
|
+
<div class="demo-block reveal-slide-up">
|
|
1076
|
+
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;">
|
|
1077
|
+
<div>
|
|
1078
|
+
<h3 style="margin: 0;">👑 Apex Range Substrate</h3>
|
|
1079
|
+
<p style="color: #6b7280; font-size: 14px; margin: 4px 0 0 0;">Experience the high-fidelity tactile slider with enhanced gradients, floating speech-bubble tooltips, and tactical track markers.</p>
|
|
1080
|
+
</div>
|
|
1081
|
+
</div>
|
|
1082
|
+
|
|
1083
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 32px;">
|
|
1084
|
+
<!-- Detailed Single -->
|
|
1085
|
+
<div style="background: white; padding: 32px; border-radius: 28px; border: 1px solid #e2e8f0; box-shadow: 0 10px 40px rgba(0,0,0,0.04);">
|
|
1086
|
+
<h4 style="margin: 0 0 24px 0; color: #1e293b; font-size: 18px; font-weight: 800;">Atmospheric Control</h4>
|
|
1087
|
+
<ui-range-slider variant="detailed" label="OXYGEN LEVEL" value="82" suffix-text="%" gradient-track="true" show-tooltip="true" tooltip-always-visible="true"></ui-range-slider>
|
|
1088
|
+
<div style="margin-top: 40px;">
|
|
1089
|
+
<ui-range-slider variant="detailed" label="THERMAL INTENSITY" value="45" suffix-text="°C" color="#f43f5e" gradient-track="true" show-tooltip="true" tooltip-always-visible="true"></ui-range-slider>
|
|
1090
|
+
</div>
|
|
1091
|
+
</div>
|
|
1092
|
+
|
|
1093
|
+
<!-- Detailed Range -->
|
|
1094
|
+
<div style="background: white; padding: 32px; border-radius: 28px; border: 1px solid #e2e8f0; box-shadow: 0 10px 40px rgba(0,0,0,0.04);">
|
|
1095
|
+
<h4 style="margin: 0 0 24px 0; color: #1e293b; font-size: 18px; font-weight: 800;">Bandwidth Allocation</h4>
|
|
1096
|
+
<ui-range-slider variant="detailed" range="true" label="DATA PIPELINE" start-value="250" end-value="750" min="0" max="1000" suffix-text="MB" gradient-track="true" show-tooltip="true" tooltip-always-visible="true" show-marks="true" marks='[{"value":0},{"value":250},{"value":500},{"value":750},{"value":1000}]'></ui-range-slider>
|
|
1097
|
+
</div>
|
|
1098
|
+
|
|
1099
|
+
<!-- Glass Slider -->
|
|
1100
|
+
<div style="background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 32px; border-radius: 28px; box-shadow: 0 20px 50px rgba(0,0,0,0.2);">
|
|
1101
|
+
<h4 style="margin: 0 0 24px 0; color: white; font-size: 18px; font-weight: 800;">Cinematic Glass</h4>
|
|
1102
|
+
<ui-range-slider variant="glass" label="NEBULA DENSITY" value="65" suffix-text="μ" show-tooltip="true" tooltip-always-visible="true" size="md"></ui-range-slider>
|
|
1103
|
+
<p style="margin-top: 20px; font-size: 12px; color: #94a3b8;">Frost-grade backdrop filter with atomic saturation.</p>
|
|
1104
|
+
</div>
|
|
1105
|
+
</div>
|
|
1106
|
+
</div>
|
|
1107
|
+
|
|
1108
|
+
<style>
|
|
1109
|
+
@keyframes pulse {
|
|
1110
|
+
0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); }
|
|
1111
|
+
70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(244, 63, 94, 0); }
|
|
1112
|
+
100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
|
|
1113
|
+
}
|
|
1114
|
+
</style>
|
|
1115
|
+
`;
|
|
1116
|
+
};
|
|
1117
|
+
|
|
1118
|
+
window.showAdvancedFeaturesSlider = function () {
|
|
1119
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
1120
|
+
if (!container) return;
|
|
1121
|
+
container.innerHTML = `
|
|
1122
|
+
<div style="max-width: 500px; margin: 0 auto;">
|
|
1123
|
+
<h4>Advanced Features Demo</h4>
|
|
1124
|
+
<p style="color:#6b7280;">Dynamic step, configurable range, Indian number formatting, and emits value changes.</p>
|
|
1125
|
+
<ui-range-slider id="advSlider" min="0" max="1000000" value="50000" input-sync></ui-range-slider>
|
|
1126
|
+
<div style="margin: 12px 0;">
|
|
1127
|
+
<label>Min: <ui-input id="advMin" type="number" value="0" style="width:80px;"></label>
|
|
1128
|
+
<label>Max: <ui-input id="advMax" type="number" value="1000000" style="width:100px;"></label>
|
|
1129
|
+
<label>Step: <ui-input id="advStep" type="number" value="1000" style="width:80px;"></label>
|
|
1130
|
+
</div>
|
|
1131
|
+
<div id="advSliderValue" style="padding: 10px; background: #f0f9ff; border-radius: 6px; text-align: center;">
|
|
1132
|
+
Value: <strong>₹50,000</strong>
|
|
1133
|
+
</div>
|
|
1134
|
+
</div>
|
|
1135
|
+
`;
|
|
1136
|
+
setTimeout(() => {
|
|
1137
|
+
const slider = document.getElementById('advSlider');
|
|
1138
|
+
const min = document.getElementById('advMin');
|
|
1139
|
+
const max = document.getElementById('advMax');
|
|
1140
|
+
const step = document.getElementById('advStep');
|
|
1141
|
+
const valueDiv = document.getElementById('advSliderValue');
|
|
1142
|
+
|
|
1143
|
+
// Indian number formatting
|
|
1144
|
+
function formatIndianNumber(num) {
|
|
1145
|
+
return Number(num).toLocaleString('en-IN');
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
// Dynamic step logic
|
|
1149
|
+
slider.addEventListener('sliderChange', e => {
|
|
1150
|
+
let val = e.detail;
|
|
1151
|
+
// Example: step increases for higher values
|
|
1152
|
+
if (val < 100000) slider.step = 1000;
|
|
1153
|
+
else if (val < 500000) slider.step = 5000;
|
|
1154
|
+
else slider.step = 10000;
|
|
1155
|
+
valueDiv.innerHTML = `Value: <strong>₹${formatIndianNumber(val)}</strong>`;
|
|
1156
|
+
});
|
|
1157
|
+
|
|
1158
|
+
// Configurable range
|
|
1159
|
+
[min, max, step].forEach(input => {
|
|
1160
|
+
input.addEventListener('input', () => {
|
|
1161
|
+
slider.min = min.value;
|
|
1162
|
+
slider.max = max.value;
|
|
1163
|
+
slider.step = step.value;
|
|
1164
|
+
});
|
|
1165
|
+
});
|
|
1166
|
+
}, 100);
|
|
1167
|
+
};
|
|
1168
|
+
|
|
1169
|
+
window.showMinMaxDynamicStepSlider = function () {
|
|
1170
|
+
const container = document.getElementById('sliderDemoContainer');
|
|
1171
|
+
if (!container) return;
|
|
1172
|
+
container.innerHTML = `
|
|
1173
|
+
<div style="max-width: 550px; margin: 0 auto;">
|
|
1174
|
+
<h4 style="font-weight: 800; color: #1e293b;">Dual Range with Dynamic Step</h4>
|
|
1175
|
+
<p style="color:#64748b; font-size: 13px; margin-bottom: 24px;">Adjust both boundaries. Step size adapts as handles cross threshold regions.</p>
|
|
1176
|
+
|
|
1177
|
+
<ui-range-slider
|
|
1178
|
+
id="minMaxSlider"
|
|
1179
|
+
range="true"
|
|
1180
|
+
min="0"
|
|
1181
|
+
max="100"
|
|
1182
|
+
start-value="10"
|
|
1183
|
+
end-value="90"
|
|
1184
|
+
input-sync="true"
|
|
1185
|
+
show-min-max="true"
|
|
1186
|
+
variant="success"
|
|
1187
|
+
></ui-range-slider>
|
|
1188
|
+
|
|
1189
|
+
<div id="minMaxSliderValue" style="padding: 14px; background: #f0fdf4; border: 1px solid #dcfce7; border-radius: 12px; text-align: center; margin-top: 20px;">
|
|
1190
|
+
Range: <span style="font-weight: 800; color: #166534;">10 – 90</span>
|
|
1191
|
+
</div>
|
|
1192
|
+
</div>
|
|
1193
|
+
`;
|
|
1194
|
+
setTimeout(() => {
|
|
1195
|
+
const slider = document.getElementById('minMaxSlider');
|
|
1196
|
+
const valueDiv = document.getElementById('minMaxSliderValue');
|
|
1197
|
+
|
|
1198
|
+
slider.addEventListener('sliderChange', e => {
|
|
1199
|
+
const { start, end } = e.detail;
|
|
1200
|
+
|
|
1201
|
+
// Apply dynamic step to both handles or component logic
|
|
1202
|
+
// For simplicity, we use the average or dominant handle position
|
|
1203
|
+
const avg = (start + end) / 2;
|
|
1204
|
+
|
|
1205
|
+
if (avg < 25) slider.step = 1;
|
|
1206
|
+
else if (avg < 50) slider.step = 5;
|
|
1207
|
+
else if (avg < 75) slider.step = 10;
|
|
1208
|
+
else slider.step = 25;
|
|
1209
|
+
|
|
1210
|
+
valueDiv.innerHTML = `Range: <span style="font-weight: 800; color: #166534;">${start} – ${end}</span>`;
|
|
1211
|
+
});
|
|
1212
|
+
}, 100);
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
showBasicSlider();
|
|
1216
|
+
}, 100);
|
|
1217
|
+
}
|