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,1402 @@
|
|
|
1
|
+
// ============================================================
|
|
2
|
+
// List Component Demo
|
|
3
|
+
// Showcases ui-list + ui-list-item + ui-list-group features
|
|
4
|
+
// ============================================================
|
|
5
|
+
|
|
6
|
+
export function initListDemo() {
|
|
7
|
+
const section = document.getElementById('list');
|
|
8
|
+
if (!section) return;
|
|
9
|
+
|
|
10
|
+
section.innerHTML = `
|
|
11
|
+
<div style="display:flex; align-items:center; justify-content:space-between; margin-bottom:20px;">
|
|
12
|
+
<h2 style="margin:0;">📋 List Component</h2>
|
|
13
|
+
<ui-button onclick="showSection('home')" style="background:#6b7280;color:white;border:none;padding:6px 14px;border-radius:4px;font-size:12px;cursor:pointer;">← Back</ui-button>
|
|
14
|
+
</div>
|
|
15
|
+
<p style="color:#6b7280; margin-bottom:24px;">
|
|
16
|
+
Flexible, feature-rich list component. Supports slotted items, programmatic items, groups, search, drag-and-drop, pagination, virtual scroll and much more.
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
<div class="demo-controls" style="display:flex; gap:10px; flex-wrap:wrap; margin-bottom:24px;">
|
|
20
|
+
<ui-button onclick="window.showListBasic()" style="padding:8px 16px;background:#10b981;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">📄 Basic</ui-button>
|
|
21
|
+
<ui-button onclick="window.showListVariants()" style="padding:8px 16px;background:#10b981;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">🎨 Variants</ui-button>
|
|
22
|
+
<ui-button onclick="window.showListIcons()" style="padding:8px 16px;background:#f59e0b;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">🏷️ Icons & Badges</ui-button>
|
|
23
|
+
<ui-button onclick="window.showListCollapsible()" style="padding:8px 16px;background:#8b5cf6;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">📂 Collapsible</ui-button>
|
|
24
|
+
<ui-button onclick="window.showListSearch()" style="padding:8px 16px;background:#ec4899;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">🔍 Search</ui-button>
|
|
25
|
+
<ui-button onclick="window.showListGrouped()" style="padding:8px 16px;background:#14b8a6;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">📁 Grouped</ui-button>
|
|
26
|
+
<ui-button onclick="window.showListDraggable()" style="padding:8px 16px;background:#f97316;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">↕️ Draggable</ui-button>
|
|
27
|
+
<ui-button onclick="window.showListPaginated()" style="padding:8px 16px;background:#ef4444;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">📑 Paginated</ui-button>
|
|
28
|
+
<ui-button onclick="window.showListInteractions()" style="padding:8px 16px;background:#9333ea;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">✨ Interactions</ui-button>
|
|
29
|
+
<ui-button onclick="window.showListMasterpiece()" style="padding:8px 16px;background:linear-gradient(45deg, #f43f5e, #fbbf24);color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">💎 Masterpiece</ui-button>
|
|
30
|
+
<ui-button onclick="window.showListGrid()" style="padding:8px 16px;background:#0ea5e9;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">🔲 Grid</ui-button>
|
|
31
|
+
<ui-button onclick="window.showListTree()" style="padding:8px 16px;background:#64748b;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">🌲 Tree</ui-button>
|
|
32
|
+
<ui-button onclick="window.showListVirtual()" style="padding:8px 16px;background:#6366f1;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">⚡ Virtual</ui-button>
|
|
33
|
+
<ui-button onclick="window.showListLarge()" style="padding:8px 16px;background:#44403c;color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">📦 100+ Items</ui-button>
|
|
34
|
+
<ui-button onclick="window.showListApex()" style="padding:8px 16px;background:linear-gradient(135deg, #6366f1, #a855f7);color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;" variant="outline">🚀 Apex Masterclass</ui-button>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div id="listDemoContainer" style="margin-top:8px;"></div>
|
|
38
|
+
`;
|
|
39
|
+
|
|
40
|
+
setTimeout(() => window.showListBasic(), 100);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// ─────────────────────────────────────────────
|
|
44
|
+
// 1. Basic List
|
|
45
|
+
// ─────────────────────────────────────────────
|
|
46
|
+
window.showListBasic = function () {
|
|
47
|
+
const c = document.getElementById('listDemoContainer');
|
|
48
|
+
if (!c) return;
|
|
49
|
+
|
|
50
|
+
c.innerHTML = `
|
|
51
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;">
|
|
52
|
+
|
|
53
|
+
<!-- Simple slotted -->
|
|
54
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
55
|
+
<h3 style="margin-top:0;font-size:15px;color:#374151;">Simple List</h3>
|
|
56
|
+
<ui-list id="basicList1">
|
|
57
|
+
<ui-list-item label="Home" icon="fas fa-home" value="home"></ui-list-item>
|
|
58
|
+
<ui-list-item label="Profile" icon="fas fa-user" value="profile"></ui-list-item>
|
|
59
|
+
<ui-list-item label="Settings" icon="fas fa-cog" value="settings"></ui-list-item>
|
|
60
|
+
<ui-list-item label="Notifications"icon="fas fa-bell" value="notif"></ui-list-item>
|
|
61
|
+
<ui-list-item label="Logout" icon="fas fa-sign-out-alt" value="logout"></ui-list-item>
|
|
62
|
+
</ui-list>
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
<!-- With dividers -->
|
|
66
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
67
|
+
<h3 style="margin-top:0;font-size:15px;color:#374151;">With Dividers</h3>
|
|
68
|
+
<ui-list dividers>
|
|
69
|
+
<ui-list-item label="Inbox" icon="fas fa-inbox" value="inbox" counter="12"></ui-list-item>
|
|
70
|
+
<ui-list-item label="Sent" icon="fas fa-paper-plane" value="sent"></ui-list-item>
|
|
71
|
+
<ui-list-item label="Drafts" icon="fas fa-file-alt" value="drafts" counter="3"></ui-list-item>
|
|
72
|
+
<ui-list-item label="Spam" icon="fas fa-ban" value="spam" badge="New" badge-color="danger"></ui-list-item>
|
|
73
|
+
<ui-list-item label="Trash" icon="fas fa-trash" value="trash" disabled></ui-list-item>
|
|
74
|
+
</ui-list>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<!-- Multi-select -->
|
|
78
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
79
|
+
<h3 style="margin-top:0;font-size:15px;color:#374151;">Multi-Select</h3>
|
|
80
|
+
<ui-list multi-select id="multiSelectList">
|
|
81
|
+
<ui-list-item label="JavaScript" icon="fab fa-js" value="js"></ui-list-item>
|
|
82
|
+
<ui-list-item label="TypeScript" icon="fab fa-js-square" value="ts"></ui-list-item>
|
|
83
|
+
<ui-list-item label="React" icon="fab fa-react" value="react"></ui-list-item>
|
|
84
|
+
<ui-list-item label="Vue" icon="fab fa-vuejs" value="vue"></ui-list-item>
|
|
85
|
+
<ui-list-item label="Angular" icon="fab fa-angular" value="angular"></ui-list-item>
|
|
86
|
+
</ui-list>
|
|
87
|
+
<div id="multiSelectOutput" style="margin-top:12px;padding:8px;background:#f3f4f6;border-radius:6px;font-size:13px;color:#374151;">Selected: none</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
<!-- Dense / compact -->
|
|
91
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
92
|
+
<h3 style="margin-top:0;font-size:15px;color:#374151;">Dense Mode</h3>
|
|
93
|
+
<ui-list dense dividers>
|
|
94
|
+
<ui-list-item label="Option A" value="a"></ui-list-item>
|
|
95
|
+
<ui-list-item label="Option B" value="b"></ui-list-item>
|
|
96
|
+
<ui-list-item label="Option C" value="c"></ui-list-item>
|
|
97
|
+
<ui-list-item label="Option D" value="d"></ui-list-item>
|
|
98
|
+
<ui-list-item label="Option E" value="e"></ui-list-item>
|
|
99
|
+
<ui-list-item label="Option F" value="f"></ui-list-item>
|
|
100
|
+
<ui-list-item label="Option G" value="g"></ui-list-item>
|
|
101
|
+
</ui-list>
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
<!-- Numbered -->
|
|
105
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
106
|
+
<h3 style="margin-top:0;font-size:15px;color:#374151;">Numbered List</h3>
|
|
107
|
+
<ui-list numbered id="numberedList" dividers>
|
|
108
|
+
<ui-list-item label="Buy groceries" value="t1"></ui-list-item>
|
|
109
|
+
<ui-list-item label="Call dentist" value="t2"></ui-list-item>
|
|
110
|
+
<ui-list-item label="Submit report" value="t3"></ui-list-item>
|
|
111
|
+
<ui-list-item label="Team standup" value="t4"></ui-list-item>
|
|
112
|
+
<ui-list-item label="Review PRs" value="t5"></ui-list-item>
|
|
113
|
+
</ui-list>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<!-- Size variants -->
|
|
117
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
118
|
+
<h3 style="margin-top:0;font-size:15px;color:#374151;">Sizes</h3>
|
|
119
|
+
<p style="font-size:12px;color:#9ca3af;margin-bottom:8px;">Small</p>
|
|
120
|
+
<ui-list size="md"
|
|
121
|
+
<ui-list-item label="Small item A" value="sa" size="md"ui-list-item>
|
|
122
|
+
<ui-list-item label="Small item B" value="sb" size="md"ui-list-item>
|
|
123
|
+
</ui-list>
|
|
124
|
+
<p style="font-size:12px;color:#9ca3af;margin:12px 0 8px;">Large</p>
|
|
125
|
+
<ui-list size="large">
|
|
126
|
+
<ui-list-item label="Large item A" value="la" size="large" icon="fas fa-star"></ui-list-item>
|
|
127
|
+
<ui-list-item label="Large item B" value="lb" size="large" icon="fas fa-heart"></ui-list-item>
|
|
128
|
+
</ui-list>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
`;
|
|
132
|
+
|
|
133
|
+
// Multi-select event
|
|
134
|
+
setTimeout(() => {
|
|
135
|
+
const ml = document.getElementById('multiSelectList');
|
|
136
|
+
if (ml) {
|
|
137
|
+
ml.addEventListener('listChange', e => {
|
|
138
|
+
const out = document.getElementById('multiSelectOutput');
|
|
139
|
+
if (out) out.textContent = 'Selected: ' + (e.detail.values.join(', ') || 'none');
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
}, 200);
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
// ─────────────────────────────────────────────
|
|
146
|
+
// 2. Variants
|
|
147
|
+
// ─────────────────────────────────────────────
|
|
148
|
+
window.showListVariants = function () {
|
|
149
|
+
const c = document.getElementById('listDemoContainer');
|
|
150
|
+
if (!c) return;
|
|
151
|
+
|
|
152
|
+
c.innerHTML = `
|
|
153
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;">
|
|
154
|
+
|
|
155
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
156
|
+
<h3 style="margin-top:0;font-size:15px;">variant="text" (default)</h3>
|
|
157
|
+
<ui-list variant="text">
|
|
158
|
+
<ui-list-item label="Text Item 1" value="1" variant="text" color="primary"></ui-list-item>
|
|
159
|
+
<ui-list-item label="Text Item 2" value="2" variant="text" color="primary"></ui-list-item>
|
|
160
|
+
<ui-list-item label="Text Item 3" value="3" variant="text" color="primary"></ui-list-item>
|
|
161
|
+
</ui-list>
|
|
162
|
+
</div>
|
|
163
|
+
|
|
164
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
165
|
+
<h3 style="margin-top:0;font-size:15px;">variant="filled"</h3>
|
|
166
|
+
<ui-list variant="filled">
|
|
167
|
+
<ui-list-item label="Filled Item 1" value="1" variant="filled" color="primary"></ui-list-item>
|
|
168
|
+
<ui-list-item label="Filled Item 2" value="2" variant="filled" color="success"></ui-list-item>
|
|
169
|
+
<ui-list-item label="Filled Item 3" value="3" variant="filled" color="danger"></ui-list-item>
|
|
170
|
+
</ui-list>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
174
|
+
<h3 style="margin-top:0;font-size:15px;">variant="outlined"</h3>
|
|
175
|
+
<ui-list variant="outlined" rounded>
|
|
176
|
+
<ui-list-item label="Outlined Item 1" value="1" variant="outlined" color="primary"></ui-list-item>
|
|
177
|
+
<ui-list-item label="Outlined Item 2" value="2" variant="outlined" color="warning"></ui-list-item>
|
|
178
|
+
<ui-list-item label="Outlined Item 3" value="3" variant="outlined" color="info"></ui-list-item>
|
|
179
|
+
</ui-list>
|
|
180
|
+
</div>
|
|
181
|
+
|
|
182
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
183
|
+
<h3 style="margin-top:0;font-size:15px;">variant="outline"</h3>
|
|
184
|
+
<ui-list variant="outline">
|
|
185
|
+
<ui-list-item label="Soft Primary" value="1" variant="outline" color="primary"></ui-list-item>
|
|
186
|
+
<ui-list-item label="Soft Success" value="2" variant="outline" color="success"></ui-list-item>
|
|
187
|
+
<ui-list-item label="Soft Warning" value="3" variant="outline" color="warning"></ui-list-item>
|
|
188
|
+
<ui-list-item label="Soft Danger" value="4" variant="outline" color="danger"></ui-list-item>
|
|
189
|
+
</ui-list>
|
|
190
|
+
</div>
|
|
191
|
+
|
|
192
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
193
|
+
<h3 style="margin-top:0;font-size:15px;">Elevated + Rounded</h3>
|
|
194
|
+
<ui-list elevated rounded>
|
|
195
|
+
<ui-list-item label="Cloud Storage" icon="fas fa-cloud" value="cloud" sublabel="12.4 GB used"></ui-list-item>
|
|
196
|
+
<ui-list-item label="Backup" icon="fas fa-database" value="backup" sublabel="Last: 2h ago"></ui-list-item>
|
|
197
|
+
<ui-list-item label="Sync" icon="fas fa-sync" value="sync" sublabel="Up to date"></ui-list-item>
|
|
198
|
+
</ui-list>
|
|
199
|
+
</div>
|
|
200
|
+
|
|
201
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
202
|
+
<h3 style="margin-top:0;font-size:15px;">Flush (no padding)</h3>
|
|
203
|
+
<ui-list flush dividers>
|
|
204
|
+
<ui-list-item label="Flush Item 1" value="1" icon="fas fa-circle"></ui-list-item>
|
|
205
|
+
<ui-list-item label="Flush Item 2" value="2" icon="fas fa-circle"></ui-list-item>
|
|
206
|
+
<ui-list-item label="Flush Item 3" value="3" icon="fas fa-circle"></ui-list-item>
|
|
207
|
+
</ui-list>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
`;
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
// ─────────────────────────────────────────────
|
|
214
|
+
// 3. Icons, Badges, Sub-labels, Counters, Pills, Tags
|
|
215
|
+
// ─────────────────────────────────────────────
|
|
216
|
+
window.showListIcons = function () {
|
|
217
|
+
const c = document.getElementById('listDemoContainer');
|
|
218
|
+
if (!c) return;
|
|
219
|
+
|
|
220
|
+
c.innerHTML = `
|
|
221
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;">
|
|
222
|
+
|
|
223
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
224
|
+
<h3 style="margin-top:0;font-size:15px;">Icons + Badges + Counters</h3>
|
|
225
|
+
<ui-list dividers>
|
|
226
|
+
<ui-list-item label="Inbox" icon="fas fa-inbox" value="inbox" badge="12" badge-color="primary" counter="12"></ui-list-item>
|
|
227
|
+
<ui-list-item label="Promotions" icon="fas fa-tag" value="promo" badge="New" badge-color="success"></ui-list-item>
|
|
228
|
+
<ui-list-item label="Updates" icon="fas fa-refresh" value="updates" counter="3"></ui-list-item>
|
|
229
|
+
<ui-list-item label="Forums" icon="fas fa-comments" value="forums"></ui-list-item>
|
|
230
|
+
<ui-list-item label="Spam" icon="fas fa-ban" value="spam" badge="99+" badge-color="danger" counter="99"></ui-list-item>
|
|
231
|
+
</ui-list>
|
|
232
|
+
</div>
|
|
233
|
+
|
|
234
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
235
|
+
<h3 style="margin-top:0;font-size:15px;">Sub-labels (Multiline)</h3>
|
|
236
|
+
<ui-list dividers>
|
|
237
|
+
<ui-list-item
|
|
238
|
+
label="John Smith"
|
|
239
|
+
sublabel="Last seen 2 mins ago"
|
|
240
|
+
icon="fas fa-user-circle"
|
|
241
|
+
value="john"
|
|
242
|
+
multiline>
|
|
243
|
+
</ui-list-item>
|
|
244
|
+
<ui-list-item
|
|
245
|
+
label="Sarah Connor"
|
|
246
|
+
sublabel="Available"
|
|
247
|
+
icon="fas fa-user-circle"
|
|
248
|
+
value="sarah"
|
|
249
|
+
multiline>
|
|
250
|
+
</ui-list-item>
|
|
251
|
+
<ui-list-item
|
|
252
|
+
label="Bruce Wayne"
|
|
253
|
+
sublabel="In a meeting"
|
|
254
|
+
icon="fas fa-user-secret"
|
|
255
|
+
value="bruce"
|
|
256
|
+
multiline>
|
|
257
|
+
</ui-list-item>
|
|
258
|
+
</ui-list>
|
|
259
|
+
</div>
|
|
260
|
+
|
|
261
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
262
|
+
<h3 style="margin-top:0;font-size:15px;">Pills per Item</h3>
|
|
263
|
+
<ui-list dividers>
|
|
264
|
+
<ui-list-item
|
|
265
|
+
label="Fix authentication bug"
|
|
266
|
+
value="t1"
|
|
267
|
+
icon="fas fa-bug"
|
|
268
|
+
pills='[{"label":"P1","color":"danger"},{"label":"Bug","color":"warning"},{"label":"Backend","color":"info"}]'>
|
|
269
|
+
</ui-list-item>
|
|
270
|
+
<ui-list-item
|
|
271
|
+
label="Design new dashboard"
|
|
272
|
+
value="t2"
|
|
273
|
+
icon="fas fa-paint-brush"
|
|
274
|
+
pills='[{"label":"Design","color":"primary"},{"label":"UI/UX","color":"secondary"}]'>
|
|
275
|
+
</ui-list-item>
|
|
276
|
+
<ui-list-item
|
|
277
|
+
label="Write unit tests"
|
|
278
|
+
value="t3"
|
|
279
|
+
icon="fas fa-vial"
|
|
280
|
+
pills='[{"label":"Testing","color":"success"},{"label":"P2","color":"info"}]'>
|
|
281
|
+
</ui-list-item>
|
|
282
|
+
</ui-list>
|
|
283
|
+
</div>
|
|
284
|
+
|
|
285
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
286
|
+
<h3 style="margin-top:0;font-size:15px;">Tags per Item</h3>
|
|
287
|
+
<ui-list dividers>
|
|
288
|
+
<ui-list-item
|
|
289
|
+
label="React"
|
|
290
|
+
value="react"
|
|
291
|
+
icon="fab fa-react"
|
|
292
|
+
tags='["Frontend","JavaScript","Popular"]'>
|
|
293
|
+
</ui-list-item>
|
|
294
|
+
<ui-list-item
|
|
295
|
+
label="Node.js"
|
|
296
|
+
value="node"
|
|
297
|
+
icon="fab fa-node-js"
|
|
298
|
+
tags='["Backend","JavaScript","Runtime"]'>
|
|
299
|
+
</ui-list-item>
|
|
300
|
+
<ui-list-item
|
|
301
|
+
label="Python"
|
|
302
|
+
value="python"
|
|
303
|
+
icon="fab fa-python"
|
|
304
|
+
tags='["ML","Backend","Scripting"]'>
|
|
305
|
+
</ui-list-item>
|
|
306
|
+
</ui-list>
|
|
307
|
+
</div>
|
|
308
|
+
|
|
309
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
310
|
+
<h3 style="margin-top:0;font-size:15px;">Action Icons</h3>
|
|
311
|
+
<ui-list dividers>
|
|
312
|
+
<ui-list-item label="Edit Profile" icon="fas fa-user" value="edit" action-icon="fas fa-pencil-alt"></ui-list-item>
|
|
313
|
+
<ui-list-item label="Download" icon="fas fa-file" value="dl" action-icon="fas fa-download"></ui-list-item>
|
|
314
|
+
<ui-list-item label="Share" icon="fas fa-link" value="share" action-icon="fas fa-share-alt"></ui-list-item>
|
|
315
|
+
<ui-list-item label="Delete" icon="fas fa-trash" value="del" action-icon="fas fa-times" color="danger"></ui-list-item>
|
|
316
|
+
</ui-list>
|
|
317
|
+
</div>
|
|
318
|
+
|
|
319
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
320
|
+
<h3 style="margin-top:0;font-size:15px;">Checkbox Selection</h3>
|
|
321
|
+
<ui-list dividers id="checkboxList">
|
|
322
|
+
<ui-list-item label="Send email notification" value="email" show-checkbox></ui-list-item>
|
|
323
|
+
<ui-list-item label="Enable 2FA" value="2fa" show-checkbox checked></ui-list-item>
|
|
324
|
+
<ui-list-item label="Auto-save drafts" value="save" show-checkbox></ui-list-item>
|
|
325
|
+
<ui-list-item label="Dark mode" value="dark" show-checkbox checked></ui-list-item>
|
|
326
|
+
</ui-list>
|
|
327
|
+
</div>
|
|
328
|
+
</div>
|
|
329
|
+
`;
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
// ─────────────────────────────────────────────
|
|
333
|
+
// 4. Collapsible Items
|
|
334
|
+
// ─────────────────────────────────────────────
|
|
335
|
+
window.showListCollapsible = function () {
|
|
336
|
+
const c = document.getElementById('listDemoContainer');
|
|
337
|
+
if (!c) return;
|
|
338
|
+
|
|
339
|
+
c.innerHTML = `
|
|
340
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;">
|
|
341
|
+
|
|
342
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
343
|
+
<h3 style="margin-top:0;font-size:15px;">Collapsible Tree</h3>
|
|
344
|
+
<ui-list dividers>
|
|
345
|
+
<ui-list-item label="Documents" icon="fas fa-folder" value="docs" collapsible expanded>
|
|
346
|
+
<ui-list-item slot="children" label="Resume.pdf" icon="fas fa-file-pdf" value="resume" level="1"></ui-list-item>
|
|
347
|
+
<ui-list-item slot="children" label="Cover.docx" icon="fas fa-file-word" value="cover" level="1"></ui-list-item>
|
|
348
|
+
<ui-list-item slot="children" label="Portfolio" icon="fas fa-folder" value="port" level="1" collapsible>
|
|
349
|
+
<ui-list-item slot="children" label="project1.zip" icon="fas fa-file-archive" value="p1" level="2"></ui-list-item>
|
|
350
|
+
<ui-list-item slot="children" label="project2.zip" icon="fas fa-file-archive" value="p2" level="2"></ui-list-item>
|
|
351
|
+
</ui-list-item>
|
|
352
|
+
</ui-list-item>
|
|
353
|
+
<ui-list-item label="Pictures" icon="fas fa-images" value="pics" collapsible>
|
|
354
|
+
<ui-list-item slot="children" label="Vacation 2024" icon="fas fa-camera" value="vac" level="1"></ui-list-item>
|
|
355
|
+
<ui-list-item slot="children" label="Family" icon="fas fa-camera" value="fam" level="1"></ui-list-item>
|
|
356
|
+
</ui-list-item>
|
|
357
|
+
<ui-list-item label="Downloads" icon="fas fa-download" value="dl" collapsible>
|
|
358
|
+
<ui-list-item slot="children" label="Installers" icon="fas fa-folder" value="inst" level="1"></ui-list-item>
|
|
359
|
+
</ui-list-item>
|
|
360
|
+
</ui-list>
|
|
361
|
+
</div>
|
|
362
|
+
|
|
363
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
364
|
+
<h3 style="margin-top:0;font-size:15px;">Accordion-style Nav</h3>
|
|
365
|
+
<ui-list dividers rounded>
|
|
366
|
+
<ui-list-item label="Dashboard" icon="fas fa-th-large" value="dash"></ui-list-item>
|
|
367
|
+
<ui-list-item label="Analytics" icon="fas fa-chart-line" value="analytics" collapsible>
|
|
368
|
+
<ui-list-item slot="children" label="Traffic" value="traffic" level="1"></ui-list-item>
|
|
369
|
+
<ui-list-item slot="children" label="Conversions" value="conv" level="1"></ui-list-item>
|
|
370
|
+
<ui-list-item slot="children" label="Reports" value="reports" level="1"></ui-list-item>
|
|
371
|
+
</ui-list-item>
|
|
372
|
+
<ui-list-item label="Users" icon="fas fa-users" value="users" collapsible>
|
|
373
|
+
<ui-list-item slot="children" label="All Users" value="all" level="1"></ui-list-item>
|
|
374
|
+
<ui-list-item slot="children" label="Admins" value="admins" level="1"></ui-list-item>
|
|
375
|
+
<ui-list-item slot="children" label="Guests" value="guests" level="1"></ui-list-item>
|
|
376
|
+
</ui-list-item>
|
|
377
|
+
<ui-list-item label="Settings" icon="fas fa-cog" value="settings"></ui-list-item>
|
|
378
|
+
</ui-list>
|
|
379
|
+
</div>
|
|
380
|
+
|
|
381
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
382
|
+
<h3 style="margin-top:0;font-size:15px;">Context Menu Items</h3>
|
|
383
|
+
<ui-list dividers>
|
|
384
|
+
<ui-list-item label="Right-click me!" icon="fas fa-file-alt" value="file1" context-menu context-menu-trigger="rightClick">
|
|
385
|
+
<ui-list-item slot="children" label="Open" icon="fas fa-folder-open" value="open"></ui-list-item>
|
|
386
|
+
<ui-list-item slot="children" label="Copy" icon="fas fa-copy" value="copy"></ui-list-item>
|
|
387
|
+
<ui-list-item slot="children" label="Rename" icon="fas fa-edit" value="rename"></ui-list-item>
|
|
388
|
+
<ui-list-item slot="children" label="Delete" icon="fas fa-trash" value="delete" color="danger"></ui-list-item>
|
|
389
|
+
</ui-list-item>
|
|
390
|
+
<ui-list-item label="Click ▶ for menu" icon="fas fa-file-code" value="file2" context-menu context-menu-trigger="click">
|
|
391
|
+
<ui-list-item slot="children" label="Edit" icon="fas fa-edit" value="edit"></ui-list-item>
|
|
392
|
+
<ui-list-item slot="children" label="Preview" icon="fas fa-eye" value="prev"></ui-list-item>
|
|
393
|
+
<ui-list-item slot="children" label="Export" icon="fas fa-upload" value="exp"></ui-list-item>
|
|
394
|
+
</ui-list-item>
|
|
395
|
+
</ui-list>
|
|
396
|
+
</div>
|
|
397
|
+
</div>
|
|
398
|
+
`;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
// ─────────────────────────────────────────────
|
|
402
|
+
// 5. Search
|
|
403
|
+
// ─────────────────────────────────────────────
|
|
404
|
+
window.showListSearch = function () {
|
|
405
|
+
const c = document.getElementById('listDemoContainer');
|
|
406
|
+
if (!c) return;
|
|
407
|
+
|
|
408
|
+
const fruits = [
|
|
409
|
+
{ id: '1', label: '🍎 Apple', value: 'apple' },
|
|
410
|
+
{ id: '2', label: '🍋 Lemon', value: 'lemon' },
|
|
411
|
+
{ id: '3', label: '🍓 Strawberry', value: 'strawberry' },
|
|
412
|
+
{ id: '4', label: '🫐 Blueberry', value: 'blueberry' },
|
|
413
|
+
{ id: '5', label: '🍇 Grape', value: 'grape' },
|
|
414
|
+
{ id: '6', label: '🍊 Orange', value: 'orange' },
|
|
415
|
+
{ id: '7', label: '🍑 Peach', value: 'peach' },
|
|
416
|
+
{ id: '8', label: '🍉 Watermelon', value: 'watermelon' },
|
|
417
|
+
{ id: '9', label: '🥭 Mango', value: 'mango' },
|
|
418
|
+
{ id: '10', label: '🍍 Pineapple', value: 'pineapple' },
|
|
419
|
+
{ id: '11', label: '🍒 Cherry', value: 'cherry' },
|
|
420
|
+
{ id: '12', label: '🥝 Kiwi', value: 'kiwi' },
|
|
421
|
+
];
|
|
422
|
+
|
|
423
|
+
c.innerHTML = `
|
|
424
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;">
|
|
425
|
+
|
|
426
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
427
|
+
<h3 style="margin-top:0;font-size:15px;">🔍 Searchable List (programmatic items)</h3>
|
|
428
|
+
<ui-list searchable search-placeholder="Search fruits..." id="searchList" max-height="350px"></ui-list>
|
|
429
|
+
<div id="searchOutput" style="margin-top:12px;font-size:13px;color:#6b7280;">Selected: none</div>
|
|
430
|
+
</div>
|
|
431
|
+
|
|
432
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
433
|
+
<h3 style="margin-top:0;font-size:15px;">Search + Multi-Select</h3>
|
|
434
|
+
<ui-list searchable multi-select search-placeholder="Type to filter..." id="searchMultiList" max-height="350px" dividers></ui-list>
|
|
435
|
+
<div id="searchMultiOutput" style="margin-top:12px;font-size:13px;color:#6b7280;">Selected: none</div>
|
|
436
|
+
</div>
|
|
437
|
+
</div>
|
|
438
|
+
`;
|
|
439
|
+
|
|
440
|
+
setTimeout(() => {
|
|
441
|
+
const sl = document.getElementById('searchList');
|
|
442
|
+
const ml = document.getElementById('searchMultiList');
|
|
443
|
+
if (sl) {
|
|
444
|
+
sl.items = fruits;
|
|
445
|
+
sl.addEventListener('listItemSelect', e => {
|
|
446
|
+
document.getElementById('searchOutput').textContent = 'Selected: ' + e.detail.value;
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
if (ml) {
|
|
450
|
+
ml.items = fruits;
|
|
451
|
+
ml.addEventListener('listChange', e => {
|
|
452
|
+
document.getElementById('searchMultiOutput').textContent = 'Selected: ' + (e.detail.values.join(', ') || 'none');
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
}, 200);
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
// ─────────────────────────────────────────────
|
|
459
|
+
// 6. Grouped
|
|
460
|
+
// ─────────────────────────────────────────────
|
|
461
|
+
window.showListGrouped = function () {
|
|
462
|
+
const c = document.getElementById('listDemoContainer');
|
|
463
|
+
if (!c) return;
|
|
464
|
+
|
|
465
|
+
c.innerHTML = `
|
|
466
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;">
|
|
467
|
+
|
|
468
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
469
|
+
<h3 style="margin-top:0;font-size:15px;">Grouped with Subheaders</h3>
|
|
470
|
+
<ui-list id="groupedList1" max-height="450px" dividers></ui-list>
|
|
471
|
+
</div>
|
|
472
|
+
|
|
473
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
474
|
+
<h3 style="margin-top:0;font-size:15px;">Collapsible Groups</h3>
|
|
475
|
+
<ui-list id="groupedList2" max-height="450px"></ui-list>
|
|
476
|
+
</div>
|
|
477
|
+
|
|
478
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
479
|
+
<h3 style="margin-top:0;font-size:15px;">Group + Search</h3>
|
|
480
|
+
<ui-list id="groupedList3" searchable max-height="400px" dividers></ui-list>
|
|
481
|
+
</div>
|
|
482
|
+
</div>
|
|
483
|
+
`;
|
|
484
|
+
|
|
485
|
+
setTimeout(() => {
|
|
486
|
+
const teamItems = [
|
|
487
|
+
{ id: '1', label: 'Alice Johnson', value: 'alice', group: 'Engineering', icon: 'fas fa-user-circle', sublabel: 'Senior Dev' },
|
|
488
|
+
{ id: '2', label: 'Bob Smith', value: 'bob', group: 'Engineering', icon: 'fas fa-user-circle', sublabel: 'Junior Dev' },
|
|
489
|
+
{ id: '3', label: 'Carol White', value: 'carol', group: 'Design', icon: 'fas fa-user-circle', sublabel: 'UX Lead' },
|
|
490
|
+
{ id: '4', label: 'Dave Lee', value: 'dave', group: 'Design', icon: 'fas fa-user-circle', sublabel: 'Visual Designer' },
|
|
491
|
+
{ id: '5', label: 'Eve Martin', value: 'eve', group: 'Marketing', icon: 'fas fa-user-circle', sublabel: 'Growth Lead' },
|
|
492
|
+
{ id: '6', label: 'Frank Brown', value: 'frank', group: 'Marketing', icon: 'fas fa-user-circle', sublabel: 'Content Writer' },
|
|
493
|
+
{ id: '7', label: 'Grace Kim', value: 'grace', group: 'Engineering', icon: 'fas fa-user-circle', sublabel: 'QA Engineer' },
|
|
494
|
+
];
|
|
495
|
+
|
|
496
|
+
['groupedList1', 'groupedList2', 'groupedList3'].forEach(id => {
|
|
497
|
+
const el = document.getElementById(id);
|
|
498
|
+
if (el) {
|
|
499
|
+
el.items = teamItems;
|
|
500
|
+
el.grouped = true;
|
|
501
|
+
el.groupBy = 'group';
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
}, 200);
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
// ─────────────────────────────────────────────
|
|
508
|
+
// 7. Drag-and-Drop Reorder
|
|
509
|
+
// ─────────────────────────────────────────────
|
|
510
|
+
window.showListDraggable = function () {
|
|
511
|
+
const c = document.getElementById('listDemoContainer');
|
|
512
|
+
if (!c) return;
|
|
513
|
+
|
|
514
|
+
c.innerHTML = `
|
|
515
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;">
|
|
516
|
+
|
|
517
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
518
|
+
<h3 style="margin-top:0;font-size:15px;">↕️ Drag to Reorder</h3>
|
|
519
|
+
<p style="font-size:13px;color:#9ca3af;margin-bottom:12px;">Drag the ≡ handle to reorder</p>
|
|
520
|
+
<ui-list id="draggableList" dividers max-height="360px"></ui-list>
|
|
521
|
+
<div id="reorderOutput" style="margin-top:12px;padding:8px;background:#f3f4f6;border-radius:6px;font-size:12px;color:#374151;">Reorder events will show here</div>
|
|
522
|
+
</div>
|
|
523
|
+
|
|
524
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
525
|
+
<h3 style="margin-top:0;font-size:15px;">↕️ Task Priority List</h3>
|
|
526
|
+
<p style="font-size:13px;color:#9ca3af;margin-bottom:12px;">Drag to re-prioritize tasks</p>
|
|
527
|
+
<ui-list id="taskList" dividers max-height="360px"></ui-list>
|
|
528
|
+
</div>
|
|
529
|
+
</div>
|
|
530
|
+
`;
|
|
531
|
+
|
|
532
|
+
setTimeout(() => {
|
|
533
|
+
const dl = document.getElementById('draggableList');
|
|
534
|
+
if (dl) {
|
|
535
|
+
dl.isDraggable = true;
|
|
536
|
+
dl.items = [
|
|
537
|
+
{ id: '1', label: 'Step 1: Initialize project', value: 's1' },
|
|
538
|
+
{ id: '2', label: 'Step 2: Install dependencies', value: 's2' },
|
|
539
|
+
{ id: '3', label: 'Step 3: Configure environment', value: 's3' },
|
|
540
|
+
{ id: '4', label: 'Step 4: Write components', value: 's4' },
|
|
541
|
+
{ id: '5', label: 'Step 5: Add tests', value: 's5' },
|
|
542
|
+
{ id: '6', label: 'Step 6: Build & deploy', value: 's6' },
|
|
543
|
+
];
|
|
544
|
+
dl.addEventListener('itemsReorder', e => {
|
|
545
|
+
const out = document.getElementById('reorderOutput');
|
|
546
|
+
if (out) out.textContent = 'Order: ' + e.detail.items.map(i => i.label.split(':')[0]).join(' → ');
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
const tl = document.getElementById('taskList');
|
|
551
|
+
if (tl) {
|
|
552
|
+
tl.isDraggable = true;
|
|
553
|
+
tl.numbered = true;
|
|
554
|
+
tl.items = [
|
|
555
|
+
{ id: '1', label: 'Fix critical login bug', value: 't1' },
|
|
556
|
+
{ id: '2', label: 'Update user dashboard', value: 't2' },
|
|
557
|
+
{ id: '3', label: 'Write API docs', value: 't3' },
|
|
558
|
+
{ id: '4', label: 'Code review PRs', value: 't4' },
|
|
559
|
+
{ id: '5', label: 'Sprint planning meeting', value: 't5' },
|
|
560
|
+
];
|
|
561
|
+
}
|
|
562
|
+
}, 200);
|
|
563
|
+
};
|
|
564
|
+
|
|
565
|
+
// ─────────────────────────────────────────────
|
|
566
|
+
// 8. Paginated
|
|
567
|
+
// ─────────────────────────────────────────────
|
|
568
|
+
window.showListPaginated = function () {
|
|
569
|
+
const c = document.getElementById('listDemoContainer');
|
|
570
|
+
if (!c) return;
|
|
571
|
+
|
|
572
|
+
c.innerHTML = `
|
|
573
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;">
|
|
574
|
+
|
|
575
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
576
|
+
<h3 style="margin-top:0;font-size:15px;">📑 Paginated (5 per page)</h3>
|
|
577
|
+
<ui-list id="paginatedList5" paginated items-per-page="5" dividers></ui-list>
|
|
578
|
+
</div>
|
|
579
|
+
|
|
580
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
581
|
+
<h3 style="margin-top:0;font-size:15px;">📑 Search + Paginated</h3>
|
|
582
|
+
<ui-list id="paginatedSearchList" paginated searchable items-per-page="4" dividers></ui-list>
|
|
583
|
+
</div>
|
|
584
|
+
</div>
|
|
585
|
+
`;
|
|
586
|
+
|
|
587
|
+
setTimeout(() => {
|
|
588
|
+
const countries = Array.from({ length: 30 }, (_, i) => ({
|
|
589
|
+
id: String(i + 1),
|
|
590
|
+
label: [
|
|
591
|
+
'Argentina',
|
|
592
|
+
'Australia',
|
|
593
|
+
'Brazil',
|
|
594
|
+
'Canada',
|
|
595
|
+
'China',
|
|
596
|
+
'Denmark',
|
|
597
|
+
'Egypt',
|
|
598
|
+
'France',
|
|
599
|
+
'Germany',
|
|
600
|
+
'Greece',
|
|
601
|
+
'Hungary',
|
|
602
|
+
'India',
|
|
603
|
+
'Indonesia',
|
|
604
|
+
'Italy',
|
|
605
|
+
'Japan',
|
|
606
|
+
'Kenya',
|
|
607
|
+
'Mexico',
|
|
608
|
+
'Netherlands',
|
|
609
|
+
'Nigeria',
|
|
610
|
+
'Norway',
|
|
611
|
+
'Pakistan',
|
|
612
|
+
'Peru',
|
|
613
|
+
'Philippines',
|
|
614
|
+
'Poland',
|
|
615
|
+
'Portugal',
|
|
616
|
+
'Russia',
|
|
617
|
+
'Spain',
|
|
618
|
+
'Sweden',
|
|
619
|
+
'Thailand',
|
|
620
|
+
'Turkey',
|
|
621
|
+
][i],
|
|
622
|
+
value: `country-${i + 1}`,
|
|
623
|
+
}));
|
|
624
|
+
|
|
625
|
+
const pl = document.getElementById('paginatedList5');
|
|
626
|
+
if (pl) pl.items = countries;
|
|
627
|
+
|
|
628
|
+
const sl = document.getElementById('paginatedSearchList');
|
|
629
|
+
if (sl) sl.items = countries;
|
|
630
|
+
}, 200);
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
// ─────────────────────────────────────────────
|
|
634
|
+
// 9. Virtual Scroll
|
|
635
|
+
// ─────────────────────────────────────────────
|
|
636
|
+
window.showListVirtual = function () {
|
|
637
|
+
const c = document.getElementById('listDemoContainer');
|
|
638
|
+
if (!c) return;
|
|
639
|
+
|
|
640
|
+
c.innerHTML = `
|
|
641
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;">
|
|
642
|
+
|
|
643
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
644
|
+
<h3 style="margin-top:0;font-size:15px;">⚡ Virtual Scroll (10,000 items)</h3>
|
|
645
|
+
<p style="font-size:13px;color:#9ca3af;margin-bottom:12px;">Only visible rows are rendered in the DOM</p>
|
|
646
|
+
<ui-list id="virtualList" virtual item-height="48" max-height="400px"></ui-list>
|
|
647
|
+
<div id="virtualOutput" style="margin-top:8px;font-size:12px;color:#6b7280;">Selected: none</div>
|
|
648
|
+
</div>
|
|
649
|
+
|
|
650
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
651
|
+
<h3 style="margin-top:0;font-size:15px;">⚡ Virtual + Search</h3>
|
|
652
|
+
<ui-list id="virtualSearchList" virtual searchable item-height="48" max-height="400px" search-placeholder="Search 5000 users..."></ui-list>
|
|
653
|
+
</div>
|
|
654
|
+
</div>
|
|
655
|
+
`;
|
|
656
|
+
|
|
657
|
+
setTimeout(() => {
|
|
658
|
+
const vl = document.getElementById('virtualList');
|
|
659
|
+
if (vl) {
|
|
660
|
+
vl.items = Array.from({ length: 10000 }, (_, i) => ({
|
|
661
|
+
id: String(i),
|
|
662
|
+
label: `Item #${i + 1} — Row content here`,
|
|
663
|
+
value: `v${i}`,
|
|
664
|
+
}));
|
|
665
|
+
vl.addEventListener('listItemSelect', e => {
|
|
666
|
+
document.getElementById('virtualOutput').textContent = 'Selected: ' + e.detail.value;
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
const vsl = document.getElementById('virtualSearchList');
|
|
671
|
+
if (vsl) {
|
|
672
|
+
vsl.items = Array.from({ length: 5000 }, (_, i) => ({
|
|
673
|
+
id: String(i),
|
|
674
|
+
label: `User ${i + 1} — user${i + 1}@example.com`,
|
|
675
|
+
value: `user-${i}`,
|
|
676
|
+
}));
|
|
677
|
+
}
|
|
678
|
+
}, 200);
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
// ─────────────────────────────────────────────
|
|
682
|
+
// 9. Interactions & Custom Colors
|
|
683
|
+
// ─────────────────────────────────────────────
|
|
684
|
+
window.showListInteractions = function () {
|
|
685
|
+
const c = document.getElementById('listDemoContainer');
|
|
686
|
+
if (!c) return;
|
|
687
|
+
|
|
688
|
+
c.innerHTML = `
|
|
689
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;">
|
|
690
|
+
|
|
691
|
+
<!-- Custom Hover & Selection -->
|
|
692
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
693
|
+
<h3 style="margin-top:0;font-size:15px;">Selection & Hover Colors</h3>
|
|
694
|
+
<p style="font-size:12px;color:#9ca3af;margin-bottom:12px;">Items change color on hover or when selected</p>
|
|
695
|
+
<ui-list dividers>
|
|
696
|
+
<ui-list-item
|
|
697
|
+
label="Hover Primary"
|
|
698
|
+
sublabel="Soft green highlight"
|
|
699
|
+
hover-color="primary"
|
|
700
|
+
selection-color="primary"
|
|
701
|
+
></ui-list-item>
|
|
702
|
+
<ui-list-item
|
|
703
|
+
label="Select Success"
|
|
704
|
+
sublabel="Rich green on select"
|
|
705
|
+
selection-color="success"
|
|
706
|
+
selected
|
|
707
|
+
></ui-list-item>
|
|
708
|
+
<div class="s-row"><kbd>Shift</kbd> + <kbd>J/K</kbd> <span>Select Range</span></div>
|
|
709
|
+
<div class="s-row"><kbd>Alt</kbd> <span>(Hold) Ghost Data Layer</span></div>
|
|
710
|
+
<div class="s-row"><kbd>X</kbd> <span>Toggle Selection</span></div>
|
|
711
|
+
<ui-list-item
|
|
712
|
+
label="Danger Zone"
|
|
713
|
+
sublabel="Red hover and selection"
|
|
714
|
+
hover-color="danger"
|
|
715
|
+
selection-color="danger"
|
|
716
|
+
></ui-list-item>
|
|
717
|
+
</ui-list>
|
|
718
|
+
</div>
|
|
719
|
+
|
|
720
|
+
<!-- Right-side Avatars -->
|
|
721
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
722
|
+
<h3 style="margin-top:0;font-size:15px;">Right-side Media</h3>
|
|
723
|
+
<p style="font-size:12px;color:#9ca3af;margin-bottom:12px;">Avatars and images on the right</p>
|
|
724
|
+
<ui-list dividers>
|
|
725
|
+
<ui-list-item
|
|
726
|
+
label="Chat Message"
|
|
727
|
+
sublabel="Sent from London Office"
|
|
728
|
+
user-avatar="https://i.pravatar.cc/150?u=a1"
|
|
729
|
+
avatar-position="right"
|
|
730
|
+
></ui-list-item>
|
|
731
|
+
<ui-list-item
|
|
732
|
+
label="Product Status"
|
|
733
|
+
sublabel="Stock updated 5m ago"
|
|
734
|
+
image="https://images.unsplash.com/photo-1523275335684-37898b6baf30?w=100&h=100&fit=crop"
|
|
735
|
+
avatar-position="right"
|
|
736
|
+
counter="ACTIVE"
|
|
737
|
+
></ui-list-item>
|
|
738
|
+
<ui-list-item
|
|
739
|
+
label="System Alert"
|
|
740
|
+
sublabel="CPU usage is high"
|
|
741
|
+
icon="fas fa-exclamation-triangle"
|
|
742
|
+
avatar-position="right"
|
|
743
|
+
color="warning"
|
|
744
|
+
></ui-list-item>
|
|
745
|
+
</ui-list>
|
|
746
|
+
</div>
|
|
747
|
+
|
|
748
|
+
<!-- Combined Pro features -->
|
|
749
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
750
|
+
<h3 style="margin-top:0;font-size:15px;">Advanced Interaction</h3>
|
|
751
|
+
<ui-list items-per-page="3">
|
|
752
|
+
<ui-list-item
|
|
753
|
+
label="Alex Smith"
|
|
754
|
+
sublabel="Full Stack Engineer"
|
|
755
|
+
user-avatar="https://i.pravatar.cc/150?u=alex2"
|
|
756
|
+
avatar-position="right"
|
|
757
|
+
hover-color="info"
|
|
758
|
+
selection-color="info"
|
|
759
|
+
badge="Owner"
|
|
760
|
+
badge-color="primary"
|
|
761
|
+
></ui-list-item>
|
|
762
|
+
<ui-list-item
|
|
763
|
+
label="Project Delta"
|
|
764
|
+
sublabel="Milestone 4 reached"
|
|
765
|
+
avatar-position="right"
|
|
766
|
+
image="https://images.unsplash.com/photo-1511467687858-23d96c32e4ae?w=100&h=100&fit=crop"
|
|
767
|
+
selection-color="warning"
|
|
768
|
+
action-icon="fas fa-external-link-alt"
|
|
769
|
+
></ui-list-item>
|
|
770
|
+
</ui-list>
|
|
771
|
+
</div>
|
|
772
|
+
<!-- Advanced Status & Actions -->
|
|
773
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
774
|
+
<h3 style="margin-top:0;font-size:15px;">Pro Features (Lock & Menu)</h3>
|
|
775
|
+
<p style="font-size:12px;color:#9ca3af;margin-bottom:12px;">Locked items and 3-dot action menus</p>
|
|
776
|
+
<ui-list dividers>
|
|
777
|
+
<ui-list-item
|
|
778
|
+
label="System Configuration"
|
|
779
|
+
sublabel="Standard settings (read-only)"
|
|
780
|
+
icon="fas fa-cog"
|
|
781
|
+
locked
|
|
782
|
+
></ui-list-item>
|
|
783
|
+
<ui-list-item
|
|
784
|
+
label="Cloud Deployment"
|
|
785
|
+
sublabel="AWS Environment — Production"
|
|
786
|
+
icon="fas fa-cloud"
|
|
787
|
+
show-menu
|
|
788
|
+
context-menu
|
|
789
|
+
>
|
|
790
|
+
<ui-list-item slot="children" label="Restart" icon="fas fa-sync" value="restart"></ui-list-item>
|
|
791
|
+
<ui-list-item slot="children" label="Scale" icon="fas fa-rocket" value="scale"></ui-list-item>
|
|
792
|
+
<ui-list-item slot="children" label="Terminate" icon="fas fa-power-off" value="term" color="danger"></ui-list-item>
|
|
793
|
+
</ui-list-item>
|
|
794
|
+
<ui-list-item
|
|
795
|
+
label="User Accounts"
|
|
796
|
+
sublabel="Manage 24 active members"
|
|
797
|
+
icon="fas fa-users"
|
|
798
|
+
show-menu
|
|
799
|
+
context-menu
|
|
800
|
+
>
|
|
801
|
+
<ui-list-item slot="children" label="View Profile" icon="fas fa-user" value="profile"></ui-list-item>
|
|
802
|
+
<ui-list-item slot="children" label="Suspend" icon="fas fa-user-slash" value="suspend" color="warning"></ui-list-item>
|
|
803
|
+
</ui-list-item>
|
|
804
|
+
</ui-list>
|
|
805
|
+
</div>
|
|
806
|
+
</div>
|
|
807
|
+
`;
|
|
808
|
+
};
|
|
809
|
+
|
|
810
|
+
// ─────────────────────────────────────────────
|
|
811
|
+
// 10. The God-Tier Masterpiece
|
|
812
|
+
// ─────────────────────────────────────────────
|
|
813
|
+
window.showListMasterpiece = function () {
|
|
814
|
+
const c = document.getElementById('listDemoContainer');
|
|
815
|
+
if (!c) return;
|
|
816
|
+
|
|
817
|
+
const initialItems = [
|
|
818
|
+
{
|
|
819
|
+
label: 'Edge Node 01',
|
|
820
|
+
sublabel: 'Uptime: 14 days, 4 hours',
|
|
821
|
+
userAvatar: 'https://i.pravatar.cc/50?u=kernel',
|
|
822
|
+
status: 'online',
|
|
823
|
+
group: 'Computing',
|
|
824
|
+
progress: 92,
|
|
825
|
+
showStar: true,
|
|
826
|
+
starred: true,
|
|
827
|
+
expandable: true,
|
|
828
|
+
priorityPulse: true,
|
|
829
|
+
presence: [
|
|
830
|
+
{ id: 1, color: 'blue' },
|
|
831
|
+
{ id: 2, color: 'purple' },
|
|
832
|
+
],
|
|
833
|
+
sparkline: [20, 45, 10, 80, 50, 90, 60, 100],
|
|
834
|
+
auraMode: true,
|
|
835
|
+
presenceCursors: [{ name: 'Sarah (CEO)', color: 'purple', x: 450, y: 20 }],
|
|
836
|
+
avatarGroup: [{ src: 'https://i.pravatar.cc/100?u=1' }, { src: 'https://i.pravatar.cc/100?u=2' }, { src: 'https://i.pravatar.cc/100?u=3' }],
|
|
837
|
+
metadata: { ip: '10.0.0.12', version: '2.4.1-LTS', cluster: 'Main-North' },
|
|
838
|
+
leftActions: [
|
|
839
|
+
{ icon: 'fas fa-phone', color: 'success', action: 'call' },
|
|
840
|
+
{ icon: 'fas fa-envelope', color: 'primary', action: 'email' },
|
|
841
|
+
],
|
|
842
|
+
rightActions: [
|
|
843
|
+
{ icon: 'fas fa-trash', color: 'danger', action: 'delete' },
|
|
844
|
+
{ icon: 'fas fa-archive', color: 'warning', action: 'archive' },
|
|
845
|
+
],
|
|
846
|
+
collaborators: [{ src: 'https://i.pravatar.cc/50?u=a' }, { src: 'https://i.pravatar.cc/50?u=b' }],
|
|
847
|
+
avatarGroupPosition: 'right',
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
label: 'Worker Pool #04',
|
|
851
|
+
sublabel: 'CPU at 42%',
|
|
852
|
+
icon: 'fas fa-server',
|
|
853
|
+
group: 'Computing',
|
|
854
|
+
progress: 42,
|
|
855
|
+
expandable: true,
|
|
856
|
+
rightActions: [{ icon: 'fas fa-stop-circle', color: 'danger', action: 'stop' }],
|
|
857
|
+
metadata: { ip: '192.168.1.1', version: '1.2.0-STABLE', uptime: '99.99%', load: '1.4' },
|
|
858
|
+
presenceCursors: [{ name: 'Devin (Ops)', color: 'green', x: 280, y: 12 }],
|
|
859
|
+
auraMode: true,
|
|
860
|
+
sparkline: [30, 40, 35, 50, 42, 48],
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
label: 'Database Replica',
|
|
864
|
+
sublabel: 'Replication Lag: 14ms',
|
|
865
|
+
icon: 'fas fa-database',
|
|
866
|
+
group: 'Storage',
|
|
867
|
+
progress: 98,
|
|
868
|
+
status: 'busy',
|
|
869
|
+
expandable: true,
|
|
870
|
+
showStar: true,
|
|
871
|
+
avatarGroup: [{ src: 'https://i.pravatar.cc/100?u=3' }, { src: 'https://i.pravatar.cc/100?u=4' }, { src: 'https://i.pravatar.cc/100?u=5' }],
|
|
872
|
+
avatarGroupPosition: 'content',
|
|
873
|
+
},
|
|
874
|
+
{ label: 'Cloud Buffer', sublabel: 'Idle', icon: 'fas fa-cloud', group: 'Storage', status: 'away' },
|
|
875
|
+
{
|
|
876
|
+
label: 'Legacy Kernel (v2.4)',
|
|
877
|
+
sublabel: 'Read-Only System / Restricted',
|
|
878
|
+
icon: 'fas fa-lock',
|
|
879
|
+
group: 'Security',
|
|
880
|
+
locked: true,
|
|
881
|
+
priorityPulse: true,
|
|
882
|
+
status: 'offline',
|
|
883
|
+
auraMode: true,
|
|
884
|
+
showGhostLayer: true,
|
|
885
|
+
metadata: { id: 'SYS-001', access: 'Root', secure: 'Yes' },
|
|
886
|
+
presenceCursors: [{ name: 'Forensic Team', color: 'blue', x: 100, y: 15 }],
|
|
887
|
+
},
|
|
888
|
+
];
|
|
889
|
+
|
|
890
|
+
const filterChips = [
|
|
891
|
+
{ label: 'All Clusters', count: 12, active: true },
|
|
892
|
+
{ label: 'Active', count: 8 },
|
|
893
|
+
{ label: 'Critical', count: 1 },
|
|
894
|
+
{ label: 'Offline', count: 3 },
|
|
895
|
+
];
|
|
896
|
+
|
|
897
|
+
c.innerHTML = `
|
|
898
|
+
<div style="max-width:800px;margin:auto;">
|
|
899
|
+
<div style="background:white;border-radius:16px;box-shadow:0 10px 40px rgba(0,0,0,0.1);overflow:hidden;">
|
|
900
|
+
<div style="padding:24px;background:linear-gradient(135deg, #1e293b, #334155);color:white;">
|
|
901
|
+
<h2 style="margin:0;font-size:20px;">💎 Ultra-Apex Cluster Control</h2>
|
|
902
|
+
<p style="margin:4px 0 0;font-size:13px;opacity:0.8;">Monitoring active global edge nodes</p>
|
|
903
|
+
</div>
|
|
904
|
+
|
|
905
|
+
<ui-list
|
|
906
|
+
id="masterpieceList"
|
|
907
|
+
grouped
|
|
908
|
+
group-by="group"
|
|
909
|
+
sticky-headers
|
|
910
|
+
multi-select
|
|
911
|
+
show-bulk-header
|
|
912
|
+
infinite
|
|
913
|
+
syncing
|
|
914
|
+
show-group-footer
|
|
915
|
+
group-footer-label="Nodes"
|
|
916
|
+
floating-fab
|
|
917
|
+
density="comfortable"
|
|
918
|
+
show-minimap
|
|
919
|
+
command-k
|
|
920
|
+
ekg-active
|
|
921
|
+
group-mini-dashboard
|
|
922
|
+
aura-mode
|
|
923
|
+
view-tabs='[{"label":"Inventory","filter":""}, {"label":"Active Nodes","filter":"online"}, {"label":"Critical","filter":"danger"}]'
|
|
924
|
+
></ui-list>
|
|
925
|
+
</div>
|
|
926
|
+
|
|
927
|
+
<div style="margin-top:20px;padding:16px;background:rgba(0,0,0,0.05);border-radius:12px;font-family:monospace;font-size:12px;" id="masterpieceLogger">
|
|
928
|
+
> Ultra-Apex System Initialized. Try "J/K" keys for rapid navigation.
|
|
929
|
+
</div>
|
|
930
|
+
</div>
|
|
931
|
+
`;
|
|
932
|
+
|
|
933
|
+
const list = document.getElementById('masterpieceList');
|
|
934
|
+
const logger = document.getElementById('masterpieceLogger');
|
|
935
|
+
|
|
936
|
+
list.items = initialItems;
|
|
937
|
+
list.filterChips = filterChips;
|
|
938
|
+
list.bulkActions = [
|
|
939
|
+
{ icon: 'fas fa-play', label: 'Start All', action: 'start' },
|
|
940
|
+
{ icon: 'fas fa-stop', label: 'Stop All', action: 'stop' },
|
|
941
|
+
{ icon: 'fas fa-trash', label: 'Purge', action: 'delete' },
|
|
942
|
+
];
|
|
943
|
+
|
|
944
|
+
list.addEventListener('loadMore', () => {
|
|
945
|
+
if (list.items.length > 50) return;
|
|
946
|
+
const newItems = [
|
|
947
|
+
{ label: 'Instance #' + (list.items.length + 1), sublabel: 'Initializing...', icon: 'fas fa-server', group: 'Network' },
|
|
948
|
+
{ label: 'Node #' + (list.items.length + 2), sublabel: 'Provisioning...', icon: 'fas fa-cube', group: 'System' },
|
|
949
|
+
];
|
|
950
|
+
setTimeout(() => {
|
|
951
|
+
list.items = [...list.items, ...newItems];
|
|
952
|
+
logger.innerText = `> Loaded 2 more units. Total: ${list.items.length}`;
|
|
953
|
+
}, 800);
|
|
954
|
+
});
|
|
955
|
+
|
|
956
|
+
list.addEventListener('bulkAction', e => {
|
|
957
|
+
logger.innerText = `> Bulk Action: ${e.detail.action.toUpperCase()} on items: ${e.detail.values.join(', ')}`;
|
|
958
|
+
if (e.detail.action === 'delete') {
|
|
959
|
+
list.items = list.items.filter(item => !e.detail.values.includes(item.label));
|
|
960
|
+
}
|
|
961
|
+
});
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
// ─────────────────────────────────────────────
|
|
965
|
+
// 11. Responsive Grid Mode
|
|
966
|
+
// ─────────────────────────────────────────────
|
|
967
|
+
window.showListGrid = function () {
|
|
968
|
+
const c = document.getElementById('listDemoContainer');
|
|
969
|
+
if (!c) return;
|
|
970
|
+
|
|
971
|
+
const projects = [
|
|
972
|
+
{
|
|
973
|
+
label: 'Project Alpha',
|
|
974
|
+
sublabel: 'Development Stage',
|
|
975
|
+
image: 'https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=200&h=150&fit=crop',
|
|
976
|
+
collaborators: [{ src: 'https://i.pravatar.cc/50?u=1' }, { src: 'https://i.pravatar.cc/50?u=2' }],
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
label: 'Project Beta',
|
|
980
|
+
sublabel: 'Productivity Suite',
|
|
981
|
+
image: 'https://images.unsplash.com/photo-1499951360447-b19be8fe80f5?w=200&h=150&fit=crop',
|
|
982
|
+
collaborators: [{ src: 'https://i.pravatar.cc/50?u=3' }, { src: 'https://i.pravatar.cc/50?u=4' }],
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
label: 'Project Gamma',
|
|
986
|
+
sublabel: 'Mobile Expansion',
|
|
987
|
+
image: 'https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=200&h=150&fit=crop',
|
|
988
|
+
collaborators: [{ src: 'https://i.pravatar.cc/50?u=5' }],
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
label: 'Project Delta',
|
|
992
|
+
sublabel: 'Legacy Maintenance',
|
|
993
|
+
image: 'https://images.unsplash.com/photo-1542831371-29b0f74f9713?w=200&h=150&fit=crop',
|
|
994
|
+
collaborators: [{ src: 'https://i.pravatar.cc/50?u=6' }],
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
label: 'Project Epsilon',
|
|
998
|
+
sublabel: 'Internal Audit',
|
|
999
|
+
image: 'https://images.unsplash.com/photo-1454165833767-0274b24f6733?w=200&h=150&fit=crop',
|
|
1000
|
+
collaborators: [{ src: 'https://i.pravatar.cc/50?u=7' }],
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
label: 'Project Zeta',
|
|
1004
|
+
sublabel: 'AI Integration',
|
|
1005
|
+
image: 'https://images.unsplash.com/photo-1555255707-c07966488bd7?w=200&h=150&fit=crop',
|
|
1006
|
+
collaborators: [{ src: 'https://i.pravatar.cc/50?u=8' }],
|
|
1007
|
+
},
|
|
1008
|
+
];
|
|
1009
|
+
|
|
1010
|
+
c.innerHTML = `
|
|
1011
|
+
<div style="padding:24px;">
|
|
1012
|
+
<h2 style="margin-bottom:24px;text-align:center;">Project Portfolio Grid</h2>
|
|
1013
|
+
<ui-list grid id="gridList" grid-cols="3"></ui-list>
|
|
1014
|
+
</div>
|
|
1015
|
+
`;
|
|
1016
|
+
|
|
1017
|
+
document.getElementById('gridList').items = projects;
|
|
1018
|
+
};
|
|
1019
|
+
|
|
1020
|
+
// ─────────────────────────────────────────────
|
|
1021
|
+
// 12. Tree View with Branch Lines
|
|
1022
|
+
// ─────────────────────────────────────────────
|
|
1023
|
+
window.showListTree = function () {
|
|
1024
|
+
const c = document.getElementById('listDemoContainer');
|
|
1025
|
+
if (!c) return;
|
|
1026
|
+
|
|
1027
|
+
c.innerHTML = `
|
|
1028
|
+
<div style="padding:40px;max-width:600px;margin:auto;">
|
|
1029
|
+
<div style="background:white;border-radius:12px;padding:24px;box-shadow:0 10px 25px rgba(0,0,0,0.1);">
|
|
1030
|
+
<h3 style="margin-top:0;">Source Explorer</h3>
|
|
1031
|
+
<ui-list>
|
|
1032
|
+
<ui-list-item label="src" icon="fas fa-folder-open" collapsible expanded>
|
|
1033
|
+
<ui-list-item slot="children" label="assets" icon="fas fa-folder" collapsible level="1" tree-lines>
|
|
1034
|
+
<ui-list-item slot="children" label="styles" icon="fas fa-folder" collapsible level="2" tree-lines>
|
|
1035
|
+
<ui-list-item slot="children" label="main.scss" icon="fab fa-sass" level="3" tree-lines color="info"></ui-list-item>
|
|
1036
|
+
<ui-list-item slot="children" label="theme.scss" icon="fab fa-sass" level="3" tree-lines color="info"></ui-list-item>
|
|
1037
|
+
</ui-list-item>
|
|
1038
|
+
</ui-list-item>
|
|
1039
|
+
<ui-list-item slot="children" label="components" icon="fas fa-folder" collapsible level="1" tree-lines>
|
|
1040
|
+
<ui-list-item slot="children" label="list.tsx" icon="fas fa-code" level="2" tree-lines color="success"></ui-list-item>
|
|
1041
|
+
<ui-list-item slot="children" label="icon.tsx" icon="fas fa-image" level="2" tree-lines color="warning"></ui-list-item>
|
|
1042
|
+
</ui-list-item>
|
|
1043
|
+
<ui-list-item slot="children" label="package.json" icon="fas fa-file-invoice" level="1" tree-lines></ui-list-item>
|
|
1044
|
+
</ui-list-item>
|
|
1045
|
+
</ui-list>
|
|
1046
|
+
</div>
|
|
1047
|
+
</div>
|
|
1048
|
+
`;
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1051
|
+
// ─────────────────────────────────────────────
|
|
1052
|
+
// 13. Large List (100+ items)
|
|
1053
|
+
// ─────────────────────────────────────────────
|
|
1054
|
+
window.showListLarge = function () {
|
|
1055
|
+
const c = document.getElementById('listDemoContainer');
|
|
1056
|
+
if (!c) return;
|
|
1057
|
+
|
|
1058
|
+
const count = 150;
|
|
1059
|
+
const items = Array.from({ length: count }, (_, i) => ({
|
|
1060
|
+
id: String(i + 1),
|
|
1061
|
+
label: `Performance Test Item #${i + 1}`,
|
|
1062
|
+
sublabel: `Testing scroll and rendering with 100+ items (Index: ${i})`,
|
|
1063
|
+
icon: i % 2 === 0 ? 'fas fa-server' : 'fas fa-database',
|
|
1064
|
+
value: `item-${i + 1}`,
|
|
1065
|
+
counter: i % 10 === 0 ? 'NEW' : null,
|
|
1066
|
+
color: i % 5 === 0 ? 'primary' : 'default',
|
|
1067
|
+
}));
|
|
1068
|
+
|
|
1069
|
+
c.innerHTML = `
|
|
1070
|
+
<div style="max-width:800px; margin:0 auto;">
|
|
1071
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,0.1);">
|
|
1072
|
+
<div style="display:flex; justify-content:space-between; align-items:center; margin-bottom:16px;">
|
|
1073
|
+
<h3 style="margin:0;font-size:18px;color:#1e293b;">📦 Large Dataset (${count} items)</h3>
|
|
1074
|
+
<span style="background:#f1f5f9; padding:4px 10px; border-radius:20px; font-size:12px; font-weight:600; color:#475569;">Non-Virtual</span>
|
|
1075
|
+
</div>
|
|
1076
|
+
<p style="font-size:14px; color:#64748b; margin-bottom:20px;">
|
|
1077
|
+
This list renders all 150 items directly in the DOM. This is useful for testing scrolling smoothness, keyboard navigation latency, and initial data binding performance.
|
|
1078
|
+
</p>
|
|
1079
|
+
<ui-list id="largeList" max-height="600px" dividers searchable search-placeholder="Filter 150 items..."></ui-list>
|
|
1080
|
+
<div id="largeListOutput" style="margin-top:16px; padding:12px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; font-size:13px; color:#1e293b;">
|
|
1081
|
+
Selected: <span style="font-weight:600; color:#2563eb;">none</span>
|
|
1082
|
+
</div>
|
|
1083
|
+
</div>
|
|
1084
|
+
</div>
|
|
1085
|
+
`;
|
|
1086
|
+
|
|
1087
|
+
setTimeout(() => {
|
|
1088
|
+
const el = document.getElementById('largeList');
|
|
1089
|
+
if (el) {
|
|
1090
|
+
el.items = items;
|
|
1091
|
+
el.addEventListener('listItemSelect', e => {
|
|
1092
|
+
const out = document.getElementById('largeListOutput');
|
|
1093
|
+
if (out) out.innerHTML = `Selected: <span style="font-weight:600; color:#2563eb;">${e.detail.value}</span>`;
|
|
1094
|
+
});
|
|
1095
|
+
}
|
|
1096
|
+
}, 200);
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
// ─────────────────────────────────────────────
|
|
1100
|
+
// 11. Advanced — Loading, Empty, Links, Horizontal
|
|
1101
|
+
// ─────────────────────────────────────────────
|
|
1102
|
+
window.showListAdvanced = function () {
|
|
1103
|
+
const c = document.getElementById('listDemoContainer');
|
|
1104
|
+
if (!c) return;
|
|
1105
|
+
|
|
1106
|
+
c.innerHTML = `
|
|
1107
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;">
|
|
1108
|
+
|
|
1109
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1110
|
+
<h3 style="margin-top:0;font-size:15px;">⏳ Loading State</h3>
|
|
1111
|
+
<ui-list loading loading-text="Fetching items..." id="loadingList"></ui-list>
|
|
1112
|
+
<ui-button onclick="window.toggleListLoading()" style="margin-top:12px;padding:8px 16px;background:#10b981;color:white;border:none;border-radius:6px;cursor:pointer;font-size:13px;">
|
|
1113
|
+
Toggle Loading
|
|
1114
|
+
</ui-button>
|
|
1115
|
+
</div>
|
|
1116
|
+
|
|
1117
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1118
|
+
<h3 style="margin-top:0;font-size:15px;">📭 Empty State</h3>
|
|
1119
|
+
<ui-list id="emptyList" empty-text="No results found. Try a different search." show-empty></ui-list>
|
|
1120
|
+
<ui-button onclick="window.loadEmptyList()" style="margin-top:12px;padding:8px 16px;background:#10b981;color:white;border:none;border-radius:6px;cursor:pointer;font-size:13px;">
|
|
1121
|
+
Load Items
|
|
1122
|
+
</ui-button>
|
|
1123
|
+
</div>
|
|
1124
|
+
|
|
1125
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1126
|
+
<h3 style="margin-top:0;font-size:15px;">🔗 Link Items</h3>
|
|
1127
|
+
<ui-list dividers>
|
|
1128
|
+
<ui-list-item label="GitHub" icon="fab fa-github" value="gh" href="https://github.com" target="_blank"></ui-list-item>
|
|
1129
|
+
<ui-list-item label="LinkedIn" icon="fab fa-linkedin" value="li" href="https://linkedin.com" target="_blank"></ui-list-item>
|
|
1130
|
+
<ui-list-item label="Twitter" icon="fab fa-twitter" value="tw" href="https://twitter.com" target="_blank"></ui-list-item>
|
|
1131
|
+
<ui-list-item label="YouTube" icon="fab fa-youtube" value="yt" href="https://youtube.com" target="_blank"></ui-list-item>
|
|
1132
|
+
</ui-list>
|
|
1133
|
+
</div>
|
|
1134
|
+
|
|
1135
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1136
|
+
<h3 style="margin-top:0;font-size:15px;">↔️ Horizontal List</h3>
|
|
1137
|
+
<ui-list horizontal>
|
|
1138
|
+
<ui-list-item label="Home" icon="fas fa-home" value="h"></ui-list-item>
|
|
1139
|
+
<ui-list-item label="Search" icon="fas fa-search" value="s"></ui-list-item>
|
|
1140
|
+
<ui-list-item label="Library" icon="fas fa-book" value="l"></ui-list-item>
|
|
1141
|
+
<ui-list-item label="Profile" icon="fas fa-user" value="p"></ui-list-item>
|
|
1142
|
+
</ui-list>
|
|
1143
|
+
</div>
|
|
1144
|
+
|
|
1145
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1146
|
+
<h3 style="margin-top:0;font-size:15px;">🎛️ Playground</h3>
|
|
1147
|
+
<div style="display:flex;flex-direction:column;gap:8px;margin-bottom:12px;">
|
|
1148
|
+
<ui-checkbox id="pgDividers" label="Dividers" oncheckboxchange="updateListPlayground()"></ui-checkbox>
|
|
1149
|
+
<ui-checkbox id="pgDense" label="Dense" oncheckboxchange="updateListPlayground()"></ui-checkbox>
|
|
1150
|
+
<ui-checkbox id="pgRounded" label="Rounded" oncheckboxchange="updateListPlayground()"></ui-checkbox>
|
|
1151
|
+
<ui-checkbox id="pgElevated" label="Elevated" oncheckboxchange="updateListPlayground()"></ui-checkbox>
|
|
1152
|
+
<ui-checkbox id="pgNumbered" label="Numbered" oncheckboxchange="updateListPlayground()"></ui-checkbox>
|
|
1153
|
+
<label style="font-size:13px;display:flex;align-items:center;gap:6px;">
|
|
1154
|
+
Variant:
|
|
1155
|
+
<ui-dropdown id="pgVariant" onchange="updateListPlayground()" style="padding:4px 8px;border-radius:4px;border:1px solid #d1d5db;">
|
|
1156
|
+
<option>text</option><option>filled</option><option>outlined</option><option>soft</option>
|
|
1157
|
+
</ui-dropdown>
|
|
1158
|
+
</label>
|
|
1159
|
+
</div>
|
|
1160
|
+
<ui-list id="playgroundList" dividers>
|
|
1161
|
+
<ui-list-item label="Item Alpha" icon="fas fa-circle" value="a"></ui-list-item>
|
|
1162
|
+
<ui-list-item label="Item Beta" icon="fas fa-circle" value="b"></ui-list-item>
|
|
1163
|
+
<ui-list-item label="Item Gamma" icon="fas fa-circle" value="c"></ui-list-item>
|
|
1164
|
+
<ui-list-item label="Item Delta" icon="fas fa-circle" value="d"></ui-list-item>
|
|
1165
|
+
</ui-list>
|
|
1166
|
+
</div>
|
|
1167
|
+
|
|
1168
|
+
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1169
|
+
<h3 style="margin-top:0;font-size:15px;">📋 Events Log</h3>
|
|
1170
|
+
<ui-list id="eventList" dividers multi-select>
|
|
1171
|
+
<ui-list-item label="Click me!" icon="fas fa-hand-pointer" value="v1"></ui-list-item>
|
|
1172
|
+
<ui-list-item label="And me!" icon="fas fa-hand-pointer" value="v2"></ui-list-item>
|
|
1173
|
+
<ui-list-item label="Also me!" icon="fas fa-hand-pointer" value="v3"></ui-list-item>
|
|
1174
|
+
</ui-list>
|
|
1175
|
+
<div id="eventLog" style="margin-top:12px;background:#1e293b;border-radius:8px;padding:12px;height:120px;overflow-y:auto;font-family:monospace;font-size:11px;color:#94a3b8;"></div>
|
|
1176
|
+
</div>
|
|
1177
|
+
</div>
|
|
1178
|
+
`;
|
|
1179
|
+
|
|
1180
|
+
// Loading state toggle
|
|
1181
|
+
window.toggleListLoading = () => {
|
|
1182
|
+
const ll = document.getElementById('loadingList');
|
|
1183
|
+
if (ll) ll.loading = !ll.loading;
|
|
1184
|
+
};
|
|
1185
|
+
|
|
1186
|
+
// Empty state demo
|
|
1187
|
+
window.loadEmptyList = () => {
|
|
1188
|
+
const el = document.getElementById('emptyList');
|
|
1189
|
+
if (el) {
|
|
1190
|
+
el.items = [
|
|
1191
|
+
{ id: '1', label: 'Loaded Item A', value: 'a' },
|
|
1192
|
+
{ id: '2', label: 'Loaded Item B', value: 'b' },
|
|
1193
|
+
{ id: '3', label: 'Loaded Item C', value: 'c' },
|
|
1194
|
+
];
|
|
1195
|
+
}
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1198
|
+
// Playground update
|
|
1199
|
+
window.updateListPlayground = () => {
|
|
1200
|
+
const pl = document.getElementById('playgroundList');
|
|
1201
|
+
if (!pl) return;
|
|
1202
|
+
pl.dividers = document.getElementById('pgDividers').checked;
|
|
1203
|
+
pl.dense = document.getElementById('pgDense').checked;
|
|
1204
|
+
pl.rounded = document.getElementById('pgRounded').checked;
|
|
1205
|
+
pl.elevated = document.getElementById('pgElevated').checked;
|
|
1206
|
+
pl.numbered = document.getElementById('pgNumbered').checked;
|
|
1207
|
+
pl.variant = document.getElementById('pgVariant').value;
|
|
1208
|
+
// update items' variant too
|
|
1209
|
+
pl.querySelectorAll('ui-list-item').forEach(item => {
|
|
1210
|
+
item.variant = pl.variant;
|
|
1211
|
+
});
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
// Events log
|
|
1215
|
+
setTimeout(() => {
|
|
1216
|
+
const el = document.getElementById('eventList');
|
|
1217
|
+
const log = document.getElementById('eventLog');
|
|
1218
|
+
if (el && log) {
|
|
1219
|
+
const addLog = msg => {
|
|
1220
|
+
const line = document.createElement('div');
|
|
1221
|
+
line.textContent = `[${new Date().toLocaleTimeString()}] ${msg}`;
|
|
1222
|
+
log.insertBefore(line, log.firstChild);
|
|
1223
|
+
if (log.children.length > 20) log.removeChild(log.lastChild);
|
|
1224
|
+
};
|
|
1225
|
+
el.addEventListener('listItemSelect', e => addLog(`listItemSelect → value="${e.detail.value}"`));
|
|
1226
|
+
el.addEventListener('listChange', e => addLog(`listChange → values=[${e.detail.values.join(',')}]`));
|
|
1227
|
+
}
|
|
1228
|
+
}, 200);
|
|
1229
|
+
};
|
|
1230
|
+
|
|
1231
|
+
// ─────────────────────────────────────────────
|
|
1232
|
+
// 10. Apex List Masterclass
|
|
1233
|
+
// ─────────────────────────────────────────────
|
|
1234
|
+
window.showListApex = function () {
|
|
1235
|
+
const c = document.getElementById('listDemoContainer');
|
|
1236
|
+
if (!c) return;
|
|
1237
|
+
|
|
1238
|
+
c.innerHTML = `
|
|
1239
|
+
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:24px;">
|
|
1240
|
+
|
|
1241
|
+
<!-- 1. User Directory (Avatars + Tags) -->
|
|
1242
|
+
<div class="demo-block" style="background:#fff;border-radius:16px;padding:24px;box-shadow:0 10px 25px rgba(0,0,0,0.05);">
|
|
1243
|
+
<h3 style="margin:0 0 16px;font-size:16px;color:#1e293b;display:flex;align-items:center;gap:8px;">
|
|
1244
|
+
<span style="font-size:20px;">👥</span> Smart User Directory
|
|
1245
|
+
</h3>
|
|
1246
|
+
<ui-list dividers>
|
|
1247
|
+
<ui-list-item
|
|
1248
|
+
label="Marcus Rodriguez"
|
|
1249
|
+
sublabel="Principal Engineer — London"
|
|
1250
|
+
user-avatar="https://i.pravatar.cc/150?u=marcus"
|
|
1251
|
+
badge="Admin"
|
|
1252
|
+
badge-color="primary"
|
|
1253
|
+
tags='[{"label":"AI","color":"indigo","variant":"soft"},{"label":"React","color":"info","variant":"soft"}]'
|
|
1254
|
+
multiline
|
|
1255
|
+
></ui-list-item>
|
|
1256
|
+
<ui-list-item
|
|
1257
|
+
label="Sasha Silver"
|
|
1258
|
+
sublabel="Product Designer — Berlin"
|
|
1259
|
+
user-avatar="https://i.pravatar.cc/150?u=sasha"
|
|
1260
|
+
badge="Pro"
|
|
1261
|
+
badge-color="success"
|
|
1262
|
+
tags='[{"label":"Figma","color":"warning","variant":"soft"},{"label":"UX","color":"danger","variant":"soft"}]'
|
|
1263
|
+
multiline
|
|
1264
|
+
></ui-list-item>
|
|
1265
|
+
<ui-list-item
|
|
1266
|
+
label="Priya Sharma"
|
|
1267
|
+
sublabel="Growth Lead — Mumbai"
|
|
1268
|
+
user-avatar="https://i.pravatar.cc/150?u=priya"
|
|
1269
|
+
tags='[{"label":"Marketing","color":"success","variant":"soft"}]'
|
|
1270
|
+
multiline
|
|
1271
|
+
></ui-list-item>
|
|
1272
|
+
<ui-list-item
|
|
1273
|
+
label="Alex Chen"
|
|
1274
|
+
sublabel="DevOps Engineer — Remote"
|
|
1275
|
+
user-avatar="https://i.pravatar.cc/150?u=alex"
|
|
1276
|
+
badge="External"
|
|
1277
|
+
badge-color="secondary"
|
|
1278
|
+
multiline
|
|
1279
|
+
></ui-list-item>
|
|
1280
|
+
</ui-list>
|
|
1281
|
+
</div>
|
|
1282
|
+
|
|
1283
|
+
<!-- 2. Product Catalog (Images + Counters) -->
|
|
1284
|
+
<div class="demo-block" style="background:#fff;border-radius:16px;padding:24px;box-shadow:0 10px 25px rgba(0,0,0,0.05);">
|
|
1285
|
+
<h3 style="margin:0 0 16px;font-size:16px;color:#1e293b;display:flex;align-items:center;gap:8px;">
|
|
1286
|
+
<span style="font-size:20px;">🛒</span> Store Inventory
|
|
1287
|
+
</h3>
|
|
1288
|
+
<ui-list dividers variant="outline">
|
|
1289
|
+
<ui-list-item
|
|
1290
|
+
label="Premium Headphones"
|
|
1291
|
+
sublabel="Noise Cancelling — Bluetooth 5.0"
|
|
1292
|
+
image="https://images.unsplash.com/photo-1505740420928-5e560c06d30e?w=200&h=200&fit=crop"
|
|
1293
|
+
counter="$299"
|
|
1294
|
+
badge="Sale"
|
|
1295
|
+
badge-color="danger"
|
|
1296
|
+
multiline
|
|
1297
|
+
></ui-list-item>
|
|
1298
|
+
<ui-list-item
|
|
1299
|
+
label="Smart Watch G2"
|
|
1300
|
+
sublabel="Oxygen Sensor — OLED"
|
|
1301
|
+
image="https://images.unsplash.com/photo-1523275335684-37898b6baf30?w=200&h=200&fit=crop"
|
|
1302
|
+
counter="$349"
|
|
1303
|
+
multiline
|
|
1304
|
+
></ui-list-item>
|
|
1305
|
+
<ui-list-item
|
|
1306
|
+
label="Mechanical Keyboard"
|
|
1307
|
+
sublabel="Cherry MX Blue — RGB"
|
|
1308
|
+
image="https://images.unsplash.com/photo-1511467687858-23d96c32e4ae?w=200&h=200&fit=crop"
|
|
1309
|
+
counter="$189"
|
|
1310
|
+
badge="-15%"
|
|
1311
|
+
badge-color="success"
|
|
1312
|
+
multiline
|
|
1313
|
+
></ui-list-item>
|
|
1314
|
+
</ui-list>
|
|
1315
|
+
</div>
|
|
1316
|
+
|
|
1317
|
+
<div id="apexDemoContainer2" class="demo-block" style="grid-column: 1 / -1; display:grid; grid-template-columns:repeat(auto-fit,minmax(400px,1fr)); gap:24px;"></div>
|
|
1318
|
+
</div>
|
|
1319
|
+
`;
|
|
1320
|
+
|
|
1321
|
+
const c2 = document.getElementById('apexDemoContainer2');
|
|
1322
|
+
if (!c2) return;
|
|
1323
|
+
|
|
1324
|
+
c2.innerHTML = `
|
|
1325
|
+
<!-- 3. Skeleton Loading Flow -->
|
|
1326
|
+
<div style="background:#fff;border-radius:16px;padding:24px;box-shadow:0 10px 25px rgba(0,0,0,0.05); position:relative;">
|
|
1327
|
+
<h3 style="margin:0 0 16px;font-size:16px;color:#1e293b;display:flex;align-items:center;gap:8px;">
|
|
1328
|
+
<span style="font-size:20px;">🪄</span> Loading Experience (Skeletons)
|
|
1329
|
+
</h3>
|
|
1330
|
+
<ui-list id="skeletonDemoList" dividers></ui-list>
|
|
1331
|
+
<ui-button
|
|
1332
|
+
onclick="window.toggleApexSkeleton()"
|
|
1333
|
+
style="margin-top:20px; width:100%; padding:12px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; font-weight:600; cursor:pointer; color:#64748b; transition:all 0.2s;"
|
|
1334
|
+
onmouseover="this.style.background='#f1f5f9'"
|
|
1335
|
+
onmouseout="this.style.background='#f8fafc'"
|
|
1336
|
+
>
|
|
1337
|
+
🪄 Toggle Skeleton State
|
|
1338
|
+
</ui-button>
|
|
1339
|
+
</div>
|
|
1340
|
+
|
|
1341
|
+
<!-- 4. Real-time Discovery (Highlighting) -->
|
|
1342
|
+
<div style="background:#fff;border-radius:16px;padding:24px;box-shadow:0 10px 25px rgba(0,0,0,0.05);">
|
|
1343
|
+
<h3 style="margin:0 0 16px;font-size:16px;color:#1e293b;display:flex;align-items:center;gap:8px;">
|
|
1344
|
+
<span style="font-size:20px;">🔦</span> Live Discovery (Search Highlighting)
|
|
1345
|
+
</h3>
|
|
1346
|
+
<ui-list
|
|
1347
|
+
id="highlightDemoList"
|
|
1348
|
+
searchable
|
|
1349
|
+
search-query="node"
|
|
1350
|
+
search-placeholder="Try searching for 'javascript' or 'python'..."
|
|
1351
|
+
density="cozy"
|
|
1352
|
+
view-tabs='[{"label":"Inventory","filter":""}, {"label":"Active Nodes","filter":"online"}, {"label":"Critical","filter":"danger"}]'
|
|
1353
|
+
max-height="600px"
|
|
1354
|
+
dividers
|
|
1355
|
+
></ui-list>
|
|
1356
|
+
</div>
|
|
1357
|
+
`;
|
|
1358
|
+
|
|
1359
|
+
// Populate Skeleton Demo
|
|
1360
|
+
const skList = document.getElementById('skeletonDemoList');
|
|
1361
|
+
if (skList) {
|
|
1362
|
+
skList.skeleton = true; // Start as skeleton
|
|
1363
|
+
skList.items = [
|
|
1364
|
+
{ label: 'Loading User...', sublabel: 'Fetching metadata...', avatar: 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7' },
|
|
1365
|
+
{ label: 'Loading User...', sublabel: 'Fetching metadata...', avatar: 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7' },
|
|
1366
|
+
{ label: 'Loading User...', sublabel: 'Fetching metadata...', avatar: 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7' },
|
|
1367
|
+
];
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
// Populate Highlight Demo
|
|
1371
|
+
const hList = document.getElementById('highlightDemoList');
|
|
1372
|
+
if (hList) {
|
|
1373
|
+
hList.items = [
|
|
1374
|
+
{ label: 'JavaScript Frameworks', sublabel: 'React, Vue, Angular, Node.js', icon: 'fab fa-js' },
|
|
1375
|
+
{ label: 'Node.js Runtime', sublabel: 'Built on Chrome V8 engine', icon: 'fab fa-node-js' },
|
|
1376
|
+
{ label: 'Python Scripting', sublabel: 'Data analysis and backend', icon: 'fab fa-python' },
|
|
1377
|
+
{ label: 'React Native', sublabel: 'Mobile apps with JS', icon: 'fab fa-react' },
|
|
1378
|
+
{ label: 'TypeScript', sublabel: 'Typed JavaScript variant', icon: 'fab fa-js-square' },
|
|
1379
|
+
];
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
window.toggleApexSkeleton = () => {
|
|
1383
|
+
const el = document.getElementById('skeletonDemoList');
|
|
1384
|
+
if (el) {
|
|
1385
|
+
el.skeleton = !el.skeleton;
|
|
1386
|
+
// When not skeleton, load actual data
|
|
1387
|
+
if (!el.skeleton) {
|
|
1388
|
+
el.items = [
|
|
1389
|
+
{ label: 'Thomas Anderson', sublabel: 'The One — Core Systems', userAvatar: 'https://i.pravatar.cc/150?u=neo', tags: '["Hero","Matrix"]' },
|
|
1390
|
+
{ label: 'Trinity Moss', sublabel: 'Tactical Lead', userAvatar: 'https://i.pravatar.cc/150?u=trinity', tags: '["Pilot","Combat"]' },
|
|
1391
|
+
{ label: 'Morpheus Dream', sublabel: 'Captain — Nebuchadnezzar', userAvatar: 'https://i.pravatar.cc/150?u=morpheus', tags: '["Leader","Captain"]' },
|
|
1392
|
+
];
|
|
1393
|
+
} else {
|
|
1394
|
+
el.items = [
|
|
1395
|
+
{ label: 'Loading User...', sublabel: 'Fetching metadata...', avatar: '' },
|
|
1396
|
+
{ label: 'Loading User...', sublabel: 'Fetching metadata...', avatar: '' },
|
|
1397
|
+
{ label: 'Loading User...', sublabel: 'Fetching metadata...', avatar: '' },
|
|
1398
|
+
];
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
};
|
|
1402
|
+
};
|