atomicuilibrary 0.1.0 → 0.1.3
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/dist/cjs/category-section.cjs.entry.js +2 -2
- package/dist/cjs/dom-BvBb0kmW.js +267 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +2 -2
- package/dist/cjs/{index-ClkOYpT8.js → index-C32cWsm5.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/library-card.cjs.entry.js +2 -2
- package/dist/cjs/lm-container_2.cjs.entry.js +2 -2
- package/dist/cjs/lm-panel_3.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-step.cjs.entry.js +2 -2
- package/dist/cjs/nav-bar.cjs.entry.js +4 -4
- package/dist/cjs/smart-step.cjs.entry.js +3 -3
- package/dist/cjs/timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-accordion_11.cjs.entry.js +132 -50
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2 -2
- package/dist/cjs/ui-anchor.cjs.entry.js +2 -2
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ui-aside-panel.cjs.entry.js +10 -11
- package/dist/cjs/ui-avatar-group_5.cjs.entry.js +1694 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ui-callout-banner.cjs.entry.js +2 -2
- package/dist/cjs/ui-card.cjs.entry.js +4 -3
- package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ui-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ui-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/ui-code-preview.cjs.entry.js +2 -2
- package/dist/cjs/ui-color-picker.cjs.entry.js +256 -22
- package/dist/cjs/ui-command-palette.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-box.cjs.entry.js +85 -11
- package/dist/cjs/ui-dialog-content.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +1 -1
- package/dist/cjs/ui-divider.cjs.entry.js +1 -1
- package/dist/cjs/ui-dock-host.cjs.entry.js +4 -4
- package/dist/cjs/ui-dock.cjs.entry.js +2 -2
- package/dist/cjs/ui-drag-drop.cjs.entry.js +2 -2
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +104 -34
- package/dist/cjs/ui-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab.cjs.entry.js +4 -4
- package/dist/cjs/ui-file-upload.cjs.entry.js +143 -44
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +2 -2
- package/dist/cjs/ui-knob.cjs.entry.js +1 -1
- package/dist/cjs/ui-label.cjs.entry.js +473 -0
- package/dist/cjs/ui-library.cjs.entry.js +2 -2
- package/dist/cjs/ui-list-group_2.cjs.entry.js +349 -60
- package/dist/cjs/ui-list.cjs.entry.js +76 -42
- package/dist/cjs/ui-masonry.cjs.entry.js +1 -1
- package/dist/cjs/ui-meter-group.cjs.entry.js +5 -4
- package/dist/cjs/ui-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ui-number-input.cjs.entry.js +7 -3
- package/dist/cjs/ui-otp-input.cjs.entry.js +5 -5
- package/dist/cjs/{ui-pagination_4.cjs.entry.js → ui-pagination_3.cjs.entry.js} +35 -506
- package/dist/cjs/ui-panel.cjs.entry.js +1 -1
- package/dist/cjs/ui-pattern-input.cjs.entry.js +46 -11
- package/dist/cjs/ui-progress.cjs.entry.js +66 -9
- package/dist/cjs/ui-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +2 -2
- package/dist/cjs/ui-scroll-top.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/ui-speed-dial.cjs.entry.js +1 -1
- package/dist/cjs/ui-speedometer.cjs.entry.js +28 -17
- package/dist/cjs/ui-splitter.cjs.entry.js +1 -1
- package/dist/cjs/ui-step.cjs.entry.js +2 -2
- package/dist/cjs/ui-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ui-switch.cjs.entry.js +14 -13
- package/dist/cjs/ui-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ui-tag.cjs.entry.js +58 -13
- package/dist/cjs/ui-timeline.cjs.entry.js +10 -2
- package/dist/cjs/ui-timer.cjs.entry.js +2 -2
- package/dist/cjs/ui-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-transfer-list.cjs.entry.js +6 -6
- package/dist/cjs/ui-tree.cjs.entry.js +30 -15
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +2 -2
- package/dist/collection/assets/js/component-config.js +1 -0
- package/dist/collection/assets/js/demo-loader.js +2 -0
- package/dist/collection/assets/js/demos/about-demo.js +13 -13
- package/dist/collection/assets/js/demos/accordion-demo.js +66 -66
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +102 -102
- package/dist/collection/assets/js/demos/anchor-demo.js +27 -28
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +12 -12
- package/dist/collection/assets/js/demos/aside-panel-demo.js +51 -51
- package/dist/collection/assets/js/demos/avatar-demo.js +433 -95
- package/dist/collection/assets/js/demos/badge-demo.js +51 -52
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +7 -7
- package/dist/collection/assets/js/demos/button-demo.js +117 -107
- package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
- package/dist/collection/assets/js/demos/callout-banner-demo.js +23 -23
- package/dist/collection/assets/js/demos/card-demo.js +23 -22
- package/dist/collection/assets/js/demos/carousel-demo.js +632 -360
- package/dist/collection/assets/js/demos/checkbox-demo.js +124 -7
- package/dist/collection/assets/js/demos/color-picker-demo.js +394 -100
- package/dist/collection/assets/js/demos/command-palette-demo.js +182 -65
- package/dist/collection/assets/js/demos/complex-form-demo.js +5 -5
- package/dist/collection/assets/js/demos/context-menu-demo.js +43 -43
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +3 -3
- package/dist/collection/assets/js/demos/dialog-demo.js +336 -230
- package/dist/collection/assets/js/demos/divider-demo.js +59 -62
- package/dist/collection/assets/js/demos/dock-demo.js +12 -12
- package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
- package/dist/collection/assets/js/demos/documentation-demo.js +34 -34
- package/dist/collection/assets/js/demos/drag-drop-demo.js +2 -2
- package/dist/collection/assets/js/demos/dropdown-demo.js +140 -136
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +2 -2
- package/dist/collection/assets/js/demos/empty-state-demo.js +294 -78
- package/dist/collection/assets/js/demos/fab-demo.js +95 -11
- package/dist/collection/assets/js/demos/file-upload-demo.js +641 -171
- package/dist/collection/assets/js/demos/home-components.js +2 -2
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +6 -6
- package/dist/collection/assets/js/demos/icon-demo.js +17 -17
- package/dist/collection/assets/js/demos/input-demo.js +147 -143
- package/dist/collection/assets/js/demos/knob-demo.js +29 -30
- package/dist/collection/assets/js/demos/label-demo.js +697 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +55 -55
- package/dist/collection/assets/js/demos/list-demo.js +185 -122
- package/dist/collection/assets/js/demos/loader-demo.js +48 -48
- package/dist/collection/assets/js/demos/masonry-demo.js +568 -140
- package/dist/collection/assets/js/demos/meter-group-demo.js +14 -16
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +25 -25
- package/dist/collection/assets/js/demos/my-profile-demo.js +27 -27
- package/dist/collection/assets/js/demos/nav-bar-demo.js +1 -1
- package/dist/collection/assets/js/demos/number-input-demo.js +262 -211
- package/dist/collection/assets/js/demos/pagination-demo.js +29 -29
- package/dist/collection/assets/js/demos/panel-demo.js +18 -25
- package/dist/collection/assets/js/demos/pattern-input-demo.js +278 -40
- package/dist/collection/assets/js/demos/popover-demo.js +240 -149
- package/dist/collection/assets/js/demos/progress-demo.js +170 -156
- package/dist/collection/assets/js/demos/radio-demo.js +73 -12
- package/dist/collection/assets/js/demos/range-slider-demo.js +33 -33
- package/dist/collection/assets/js/demos/rating-demo.js +19 -19
- package/dist/collection/assets/js/demos/scroll-top-demo.js +8 -9
- package/dist/collection/assets/js/demos/skeleton-demo.js +110 -52
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +2 -2
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +12 -12
- package/dist/collection/assets/js/demos/smart-menu-demo.js +17 -17
- package/dist/collection/assets/js/demos/snackbar-demo.js +53 -53
- package/dist/collection/assets/js/demos/speed-dial-demo.js +14 -14
- package/dist/collection/assets/js/demos/speedometer-demo.js +40 -32
- package/dist/collection/assets/js/demos/split-button-demo.js +2 -2
- package/dist/collection/assets/js/demos/splitter-demo.js +14 -14
- package/dist/collection/assets/js/demos/stack-demo.js +27 -27
- package/dist/collection/assets/js/demos/stepper-demo.js +49 -49
- package/dist/collection/assets/js/demos/switch-demo.js +561 -125
- package/dist/collection/assets/js/demos/tabs-demo.js +22 -22
- package/dist/collection/assets/js/demos/tag-demo.js +62 -62
- package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
- package/dist/collection/assets/js/demos/timeline-demo.js +10 -10
- package/dist/collection/assets/js/demos/timeline-playground.js +2 -2
- package/dist/collection/assets/js/demos/timer-demo.js +10 -10
- package/dist/collection/assets/js/demos/toolbar-demo.js +17 -17
- package/dist/collection/assets/js/demos/tooltip-demo.js +92 -90
- package/dist/collection/assets/js/demos/top-bar-demo.js +6 -6
- package/dist/collection/assets/js/demos/transfer-list-demo.js +20 -20
- package/dist/collection/assets/js/demos/tree-demo.js +50 -66
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/accordion/accordion.css +275 -9
- package/dist/collection/components/accordion/accordion.js +7 -6
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +5 -5
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
- package/dist/collection/components/anchor/anchor.css +1 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
- package/dist/collection/components/aside-panel/aside-panel.css +2 -2
- package/dist/collection/components/aside-panel/aside-panel.js +10 -11
- package/dist/collection/components/avatar/avatar.css +6 -6
- package/dist/collection/components/avatar/avatar.js +63 -11
- package/dist/collection/components/badge/badge.css +27 -17
- package/dist/collection/components/badge/badge.js +6 -3
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
- package/dist/collection/components/button/button.css +1 -0
- package/dist/collection/components/button/button.js +3 -3
- package/dist/collection/components/button-toggle/button-toggle.js +2 -2
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +161 -14
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +2 -2
- package/dist/collection/components/callout-banner/callout-banner.css +75 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1 -1
- package/dist/collection/components/card/card.css +221 -9
- package/dist/collection/components/card/card.js +3 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +110 -6
- package/dist/collection/components/color-picker/color-picker.js +302 -26
- package/dist/collection/components/context-menu/context-menu.css +9 -9
- package/dist/collection/components/dialog-box/dialog-box.js +116 -14
- package/dist/collection/components/dialog-header/dialog-header.js +1 -1
- package/dist/collection/components/dock/dock.css +116 -3
- package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
- package/dist/collection/components/drag-drop/drag-drop.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +101 -8
- package/dist/collection/components/dropdown/dropdown.js +94 -28
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/fab/fab.css +87 -15
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab-item/fab-item.js +1 -1
- package/dist/collection/components/file-upload/file-upload.css +1362 -31
- package/dist/collection/components/file-upload/file-upload.js +171 -50
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +9 -9
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.css +9 -0
- package/dist/collection/components/input/input.js +20 -9
- package/dist/collection/components/label/label.css +583 -0
- package/dist/collection/components/label/label.js +1669 -0
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
- package/dist/collection/components/library/category-section.js +1 -1
- package/dist/collection/components/library/library-card.js +1 -1
- package/dist/collection/components/library/library.js +1 -1
- package/dist/collection/components/list/list.css +46 -5
- package/dist/collection/components/list/list.js +76 -42
- package/dist/collection/components/list-group/list-group.css +0 -2
- package/dist/collection/components/list-group/list-group.js +11 -5
- package/dist/collection/components/list-item/list-item.css +403 -131
- package/dist/collection/components/list-item/list-item.js +345 -61
- package/dist/collection/components/loader/loader.css +1 -1
- package/dist/collection/components/loader/loader.js +2 -2
- package/dist/collection/components/meter-group/meter-group.css +5 -0
- package/dist/collection/components/meter-group/meter-group.js +3 -2
- package/dist/collection/components/my-step/my-step.js +1 -1
- package/dist/collection/components/nav-bar/nav-bar.css +4 -4
- package/dist/collection/components/nav-bar/nav-bar.js +6 -6
- package/dist/collection/components/number-input/number-input.js +6 -2
- package/dist/collection/components/otp-input/otp-input.css +10 -0
- package/dist/collection/components/otp-input/otp-input.js +3 -3
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pattern-input/pattern-input.css +0 -1
- package/dist/collection/components/pattern-input/pattern-input.js +44 -9
- package/dist/collection/components/popover/popover.css +35 -7
- package/dist/collection/components/popover/popover.js +64 -9
- package/dist/collection/components/progress/progress.css +176 -32
- package/dist/collection/components/progress/progress.js +66 -8
- package/dist/collection/components/radio/radio.css +2 -0
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/range-slider/range-slider.css +284 -31
- package/dist/collection/components/range-slider/range-slider.js +5 -5
- package/dist/collection/components/rating/rating.css +151 -65
- package/dist/collection/components/rating/rating.js +31 -13
- package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
- package/dist/collection/components/skeleton/skeleton-loader.css +144 -44
- package/dist/collection/components/skeleton/skeleton-loader.js +11 -7
- package/dist/collection/components/smart-stepper/smart-step.js +2 -2
- package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
- package/dist/collection/components/speedometer/speedometer.css +26 -6
- package/dist/collection/components/speedometer/speedometer.js +26 -15
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/switch/switch.css +367 -8
- package/dist/collection/components/switch/switch.js +13 -12
- package/dist/collection/components/tag/tag.css +38 -12
- package/dist/collection/components/tag/tag.js +58 -13
- package/dist/collection/components/tag-group/tag-group.css +0 -1
- package/dist/collection/components/tag-group/tag-group.js +3 -3
- package/dist/collection/components/timeline/timeline.css +380 -317
- package/dist/collection/components/timeline/timeline.js +8 -0
- package/dist/collection/components/timeline-item/timeline-item.js +1 -1
- package/dist/collection/components/timer/timer.js +1 -1
- package/dist/collection/components/toggle-group/toggle-group.css +7 -3
- package/dist/collection/components/toggle-group/toggle-group.js +7 -3
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/top-bar/top-bar.js +2 -2
- package/dist/collection/components/transfer-list/transfer-list.css +13 -13
- package/dist/collection/components/transfer-list/transfer-list.js +4 -4
- package/dist/collection/components/tree/tree.css +35 -21
- package/dist/collection/components/tree/tree.js +28 -13
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +34 -16
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +46 -11
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +7 -7
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
- package/dist/collection/utils/dom.js +151 -151
- package/dist/components/avatar-group.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-toggle.js +1 -1
- package/dist/components/button.js +1 -0
- package/dist/components/category-section2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/library-card2.js +1 -1
- package/dist/components/list-group.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/lm-container2.js +1 -1
- package/dist/components/lm-floating-window2.js +1 -1
- package/dist/components/lm-panel2.js +1 -1
- package/dist/components/lm-splitter2.js +1 -1
- package/dist/components/lm-tabs2.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/my-step.js +1 -1
- package/dist/components/nav-bar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.js +1 -0
- package/dist/components/radio.js +1 -1
- package/dist/components/range-slider.js +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/resizable-panel.js +1 -1
- package/dist/components/skeleton-loader.js +1 -1
- package/dist/components/smart-step.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag-group.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/timeline-item.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/ui-accordion.js +1 -1
- package/dist/components/ui-advanced-data-table.js +1 -1
- package/dist/components/ui-anchor.js +1 -1
- package/dist/components/ui-animate-on-scroll.js +1 -1
- package/dist/components/ui-aside-panel.js +1 -1
- package/dist/components/ui-badge.js +1 -1
- package/dist/components/ui-breadcrumb-item.js +1 -1
- package/dist/components/ui-breadcrumb.js +1 -1
- package/dist/components/ui-button-toggle-group.js +1 -1
- package/dist/components/ui-button.js +1 -1
- package/dist/components/ui-callout-banner.js +1 -1
- package/dist/components/ui-card.js +1 -1
- package/dist/components/ui-carousel.js +1 -1
- package/dist/components/ui-code-editor.js +1 -1
- package/dist/components/ui-code-preview.js +1 -1
- package/dist/components/ui-color-picker.js +1 -1
- package/dist/components/ui-command-palette.js +1 -1
- package/dist/components/ui-dialog-box.js +1 -1
- package/dist/components/ui-dock-host.js +1 -1
- package/dist/components/ui-dock.js +1 -1
- package/dist/components/ui-drag-drop.js +1 -1
- package/dist/components/ui-empty-state.js +1 -1
- package/dist/components/ui-fab-item.js +1 -1
- package/dist/components/ui-fab.js +1 -1
- package/dist/components/ui-file-upload.js +1 -1
- package/dist/components/ui-horizontal-nav.js +1 -1
- package/dist/components/ui-knob.js +1 -1
- package/dist/components/{ui-color-controller.d.ts → ui-label.d.ts} +4 -4
- package/dist/components/ui-label.js +1 -0
- package/dist/components/ui-library.js +1 -1
- package/dist/components/ui-list.js +1 -1
- package/dist/components/ui-masonry.js +1 -1
- package/dist/components/ui-meter-group.js +1 -1
- package/dist/components/ui-navigation-bar.js +1 -1
- package/dist/components/ui-navigation-item.js +1 -1
- package/dist/components/ui-number-input.js +1 -1
- package/dist/components/ui-otp-input.js +1 -1
- package/dist/components/ui-panel.js +1 -1
- package/dist/components/ui-pattern-input.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-scroll-top.js +1 -1
- package/dist/components/ui-smart-stepper.js +1 -1
- package/dist/components/ui-snackbar.js +1 -1
- package/dist/components/ui-speed-dial.js +1 -1
- package/dist/components/ui-speedometer.js +1 -1
- package/dist/components/ui-splitter.js +1 -1
- package/dist/components/ui-step.js +1 -1
- package/dist/components/ui-stepper.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-timeline.js +1 -1
- package/dist/components/ui-timer.js +1 -1
- package/dist/components/ui-toolbar.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-transfer-list.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/components/ui-workspace-manager.js +1 -1
- package/dist/esm/category-section.entry.js +2 -2
- package/dist/esm/dom-DFBTWhGw.js +262 -0
- package/dist/esm/exploration-project-tailwind.js +3 -3
- package/dist/esm/{index-DUsoYu9r.js → index-Dqu2zaH1.js} +1 -1
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/library-card.entry.js +2 -2
- package/dist/esm/lm-container_2.entry.js +2 -2
- package/dist/esm/lm-panel_3.entry.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-step.entry.js +2 -2
- package/dist/esm/nav-bar.entry.js +4 -4
- package/dist/esm/smart-step.entry.js +3 -3
- package/dist/esm/timeline-item.entry.js +2 -2
- package/dist/esm/ui-accordion_11.entry.js +132 -50
- package/dist/esm/ui-advanced-data-table.entry.js +2 -2
- package/dist/esm/ui-anchor.entry.js +2 -2
- package/dist/esm/ui-animate-on-scroll.entry.js +3 -3
- package/dist/esm/ui-aside-panel.entry.js +10 -11
- package/dist/esm/ui-avatar-group_5.entry.js +1688 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +3 -3
- package/dist/esm/ui-breadcrumb.entry.js +1 -1
- package/dist/esm/ui-callout-banner.entry.js +2 -2
- package/dist/esm/ui-card.entry.js +4 -3
- package/dist/esm/ui-carousel.entry.js +1 -1
- package/dist/esm/ui-checkbox.entry.js +3 -3
- package/dist/esm/ui-code-editor.entry.js +2 -2
- package/dist/esm/ui-code-preview.entry.js +2 -2
- package/dist/esm/ui-color-picker.entry.js +256 -22
- package/dist/esm/ui-command-palette.entry.js +1 -1
- package/dist/esm/ui-dialog-box.entry.js +85 -11
- package/dist/esm/ui-dialog-content.entry.js +1 -1
- package/dist/esm/ui-dialog-footer_2.entry.js +1 -1
- package/dist/esm/ui-divider.entry.js +1 -1
- package/dist/esm/ui-dock-host.entry.js +4 -4
- package/dist/esm/ui-dock.entry.js +2 -2
- package/dist/esm/ui-drag-drop.entry.js +2 -2
- package/dist/esm/ui-dropdown_2.entry.js +104 -34
- package/dist/esm/ui-empty-state.entry.js +2 -2
- package/dist/esm/ui-fab-item.entry.js +2 -2
- package/dist/esm/ui-fab.entry.js +4 -4
- package/dist/esm/ui-file-upload.entry.js +143 -44
- package/dist/esm/ui-horizontal-nav.entry.js +2 -2
- package/dist/esm/ui-knob.entry.js +1 -1
- package/dist/esm/ui-label.entry.js +471 -0
- package/dist/esm/ui-library.entry.js +2 -2
- package/dist/esm/ui-list-group_2.entry.js +349 -60
- package/dist/esm/ui-list.entry.js +76 -42
- package/dist/esm/ui-masonry.entry.js +1 -1
- package/dist/esm/ui-meter-group.entry.js +5 -4
- package/dist/esm/ui-navigation-item.entry.js +5 -5
- package/dist/esm/ui-number-input.entry.js +7 -3
- package/dist/esm/ui-otp-input.entry.js +5 -5
- package/dist/esm/{ui-pagination_4.entry.js → ui-pagination_3.entry.js} +36 -506
- package/dist/esm/ui-panel.entry.js +1 -1
- package/dist/esm/ui-pattern-input.entry.js +46 -11
- package/dist/esm/ui-progress.entry.js +66 -9
- package/dist/esm/ui-range-slider.entry.js +2 -2
- package/dist/esm/ui-resizable-panel.entry.js +2 -2
- package/dist/esm/ui-scroll-top.entry.js +1 -1
- package/dist/esm/ui-smart-context-menu.entry.js +1 -1
- package/dist/esm/ui-smart-stepper.entry.js +2 -2
- package/dist/esm/ui-snackbar.entry.js +1 -1
- package/dist/esm/ui-speed-dial.entry.js +1 -1
- package/dist/esm/ui-speedometer.entry.js +28 -17
- package/dist/esm/ui-splitter.entry.js +1 -1
- package/dist/esm/ui-step.entry.js +2 -2
- package/dist/esm/ui-stepper.entry.js +1 -1
- package/dist/esm/ui-switch.entry.js +14 -13
- package/dist/esm/ui-tabs.entry.js +2 -2
- package/dist/esm/ui-tag.entry.js +58 -13
- package/dist/esm/ui-timeline.entry.js +10 -2
- package/dist/esm/ui-timer.entry.js +2 -2
- package/dist/esm/ui-toolbar.entry.js +2 -2
- package/dist/esm/ui-tooltip.entry.js +4 -4
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-transfer-list.entry.js +6 -6
- package/dist/esm/ui-tree.entry.js +30 -15
- package/dist/esm/ui-workspace-manager.entry.js +2 -2
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -1
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
- package/dist/exploration-project-tailwind/{p-7ba2258a.entry.js → p-024a299a.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-0a71896a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-35296877.entry.js → p-0cdeb8d8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a42fdc33.entry.js → p-139cefbc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-036d2a44.entry.js → p-198c83e5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-236f47b1.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-81ebba11.entry.js → p-25530d0d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-41cd6bf0.entry.js → p-298f2057.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85e36111.entry.js → p-2b5a8e3e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8c6d395.entry.js → p-2b6aa7bc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-70bacda8.entry.js → p-2cfba753.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-cbee2607.entry.js → p-2fe22958.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-20ecc116.entry.js → p-3012e780.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-321c3f46.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8b57fe4e.entry.js → p-3ab43638.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-3ad7e47e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3b1ca826.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3ee8ddae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-e22317c1.entry.js → p-3efb44c8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-36861546.entry.js → p-42e3bc28.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4360331a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-2f961934.entry.js → p-443de32b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-898dd0fa.entry.js → p-44d15451.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4288c158.entry.js → p-46071679.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a3f465d9.entry.js → p-497d6182.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4ad8c55c.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-4aaa8e40.entry.js → p-4c46ac0b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-98e91da5.entry.js → p-5042ddaa.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-60190e0e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-60530874.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-200241f8.entry.js → p-6108565d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-fb4aca69.entry.js → p-62889cfe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c02284ea.entry.js → p-66f71613.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7889bfc4.entry.js → p-67c440b2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c1c8ac28.entry.js → p-6f09503f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-721bdbc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-747b02ea.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c6fd72e1.entry.js → p-754cb046.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-97af03cc.entry.js → p-7ed3bba2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d59da767.entry.js → p-864cebb7.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4d73c143.entry.js → p-96ee3196.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-54965530.entry.js → p-97086868.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d114a347.entry.js → p-9c5ced88.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9d3044d4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9e079be6.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-790556f0.entry.js → p-9e4c45f5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9eee7394.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-DFBTWhGw.js +1 -0
- package/dist/exploration-project-tailwind/p-Dqu2zaH1.js +2 -0
- package/dist/exploration-project-tailwind/p-a7bdedc2.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c87aeab6.entry.js → p-a8ec29de.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-6ddbee42.entry.js → p-ae617f62.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-05a436d3.entry.js → p-aef76052.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-b5f043fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-b637b91b.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d2e45c5e.entry.js → p-bc49a088.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-6b838549.entry.js → p-bd9a631f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8ba0c95.entry.js → p-bf4b6767.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c0fa400e.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8578b616.entry.js → p-c4f3d990.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c68ddb2f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c79574c4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c840098d.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-a1ad32a2.entry.js → p-c8663cbe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-cb6e38a6.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cb9f2df1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cfe8b696.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d00e13ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c4ba7e52.entry.js → p-d01ed934.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-aa85ff78.entry.js → p-d4e57d94.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ccb5c737.entry.js → p-d5bd3a3f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-45482d86.entry.js → p-d987cebe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-d9ae77c0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e9bae5c7.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f516fabc.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f68e2794.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d30e24bd.entry.js → p-fa034f69.entry.js} +1 -1
- package/dist/types/components/aside-panel/aside-panel.d.ts +0 -3
- package/dist/types/components/avatar/avatar.d.ts +3 -0
- package/dist/types/components/avatar/types.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/color-picker/color-picker.d.ts +35 -2
- package/dist/types/components/dialog-box/dialog-box.d.ts +10 -0
- package/dist/types/components/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/file-upload/file-upload.d.ts +23 -6
- package/dist/types/components/label/label.d.ts +290 -0
- package/dist/types/components/label/types.d.ts +39 -0
- package/dist/types/components/list/list.d.ts +2 -1
- package/dist/types/components/list-group/list-group.d.ts +1 -0
- package/dist/types/components/list-item/list-item.d.ts +45 -17
- package/dist/types/components/pattern-input/pattern-input.d.ts +6 -0
- package/dist/types/components/popover/popover.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +7 -0
- package/dist/types/components/range-slider/range-slider.d.ts +2 -2
- package/dist/types/components/rating/rating.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +1 -1
- package/dist/types/components/speedometer/speedometer.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +4 -0
- package/dist/types/components/tree/tree.d.ts +1 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +1 -1
- package/dist/types/components.d.ts +742 -425
- package/dist/types/types/common.d.ts +2 -2
- package/dist/types/types/common.type.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +4 -4
- package/package.json +4 -5
- package/dist/cjs/dom-oP1E4Rd3.js +0 -267
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
- package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
- package/dist/cjs/ui-popover.cjs.entry.js +0 -517
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
- package/dist/collection/components/color-controller/color-controller.css +0 -108
- package/dist/collection/components/color-controller/color-controller.js +0 -224
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +0 -357
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
- package/dist/components/ui-color-controller.js +0 -1
- package/dist/components/ui-smart-location-dropdown.d.ts +0 -11
- package/dist/components/ui-smart-location-dropdown.js +0 -1
- package/dist/esm/dom-BMFah5q3.js +0 -262
- package/dist/esm/ui-avatar-group_3.entry.js +0 -630
- package/dist/esm/ui-color-controller.entry.js +0 -148
- package/dist/esm/ui-popover.entry.js +0 -515
- package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-16bdd162.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-2347d21b.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-3d381f75.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4417a9d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-44742ddd.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4bef8bed.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4efd63ce.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5c835d90.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-71d95bb1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9bd14f69.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +0 -1
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
- package/dist/exploration-project-tailwind/p-a27f59d2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-a7b07cf4.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-bd89d060.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c63c522e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d6ce9721.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-dc92a343.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e76318c7.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-eab5ad36.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f0bc5d7e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f1beee72.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f543392f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f61cfb7c.entry.js +0 -1
- package/dist/types/components/color-controller/color-controller.d.ts +0 -24
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +0 -119
- package/dist/types/components/smart-location-dropdown/types.d.ts +0 -37
- /package/dist/collection/components/{smart-location-dropdown → label}/types.js +0 -0
|
@@ -18,8 +18,7 @@ export function initListDemo() {
|
|
|
18
18
|
section.innerHTML = `
|
|
19
19
|
<div style="display:flex; align-items:center; justify-content:space-between; margin-bottom:20px;">
|
|
20
20
|
<h2 style="margin:0;">📋 List Component</h2>
|
|
21
|
-
|
|
22
|
-
</div>
|
|
21
|
+
</div>
|
|
23
22
|
<p style="color:#6b7280; margin-bottom:24px;">
|
|
24
23
|
Flexible, feature-rich list component. Supports slotted items, programmatic items, groups, search, drag-and-drop, pagination, virtual scroll and much more.
|
|
25
24
|
</p>
|
|
@@ -60,7 +59,7 @@ window.showListBasic = function () {
|
|
|
60
59
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;">
|
|
61
60
|
|
|
62
61
|
<!-- Simple slotted -->
|
|
63
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
62
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
64
63
|
<h3 style="margin-top:0;font-size:15px;color:#374151;">Simple List</h3>
|
|
65
64
|
<ui-list id="basicList1">
|
|
66
65
|
<ui-list-item label="Home" icon="fas fa-home" value="home"></ui-list-item>
|
|
@@ -72,7 +71,7 @@ window.showListBasic = function () {
|
|
|
72
71
|
</div>
|
|
73
72
|
|
|
74
73
|
<!-- With dividers -->
|
|
75
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
74
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
76
75
|
<h3 style="margin-top:0;font-size:15px;color:#374151;">With Dividers</h3>
|
|
77
76
|
<ui-list dividers>
|
|
78
77
|
<ui-list-item label="Inbox" icon="fas fa-inbox" value="inbox" counter="12"></ui-list-item>
|
|
@@ -84,7 +83,7 @@ window.showListBasic = function () {
|
|
|
84
83
|
</div>
|
|
85
84
|
|
|
86
85
|
<!-- Multi-select -->
|
|
87
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
86
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
88
87
|
<h3 style="margin-top:0;font-size:15px;color:#374151;">Multi-Select</h3>
|
|
89
88
|
<ui-list multi-select id="multiSelectList">
|
|
90
89
|
<ui-list-item label="JavaScript" icon="fab fa-js" value="js"></ui-list-item>
|
|
@@ -97,7 +96,7 @@ window.showListBasic = function () {
|
|
|
97
96
|
</div>
|
|
98
97
|
|
|
99
98
|
<!-- Dense / compact -->
|
|
100
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
99
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
101
100
|
<h3 style="margin-top:0;font-size:15px;color:#374151;">Dense Mode</h3>
|
|
102
101
|
<ui-list dense dividers>
|
|
103
102
|
<ui-list-item label="Option A" value="a"></ui-list-item>
|
|
@@ -111,7 +110,7 @@ window.showListBasic = function () {
|
|
|
111
110
|
</div>
|
|
112
111
|
|
|
113
112
|
<!-- Numbered -->
|
|
114
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
113
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
115
114
|
<h3 style="margin-top:0;font-size:15px;color:#374151;">Numbered List</h3>
|
|
116
115
|
<ui-list numbered id="numberedList" dividers>
|
|
117
116
|
<ui-list-item label="Buy groceries" value="t1"></ui-list-item>
|
|
@@ -123,12 +122,12 @@ window.showListBasic = function () {
|
|
|
123
122
|
</div>
|
|
124
123
|
|
|
125
124
|
<!-- Size variants -->
|
|
126
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
125
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
127
126
|
<h3 style="margin-top:0;font-size:15px;color:#374151;">Sizes</h3>
|
|
128
127
|
<p style="font-size:12px;color:#9ca3af;margin-bottom:8px;">Small</p>
|
|
129
|
-
<ui-list size="md"
|
|
130
|
-
<ui-list-item label="Small item A" value="sa" size="md"ui-list-item>
|
|
131
|
-
<ui-list-item label="Small item B" value="sb" size="md"ui-list-item>
|
|
128
|
+
<ui-list size="md">
|
|
129
|
+
<ui-list-item label="Small item A" value="sa" size="md"></ui-list-item>
|
|
130
|
+
<ui-list-item label="Small item B" value="sb" size="md"></ui-list-item>
|
|
132
131
|
</ui-list>
|
|
133
132
|
<p style="font-size:12px;color:#9ca3af;margin:12px 0 8px;">Large</p>
|
|
134
133
|
<ui-list size="large">
|
|
@@ -162,7 +161,7 @@ window.showListVariants = function () {
|
|
|
162
161
|
c.innerHTML = `
|
|
163
162
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;">
|
|
164
163
|
|
|
165
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
164
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
166
165
|
<h3 style="margin-top:0;font-size:15px;">variant="text" (default)</h3>
|
|
167
166
|
<ui-list variant="text">
|
|
168
167
|
<ui-list-item label="Text Item 1" value="1" variant="text" color="primary"></ui-list-item>
|
|
@@ -171,7 +170,7 @@ window.showListVariants = function () {
|
|
|
171
170
|
</ui-list>
|
|
172
171
|
</div>
|
|
173
172
|
|
|
174
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
173
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
175
174
|
<h3 style="margin-top:0;font-size:15px;">variant="filled"</h3>
|
|
176
175
|
<ui-list variant="filled">
|
|
177
176
|
<ui-list-item label="Filled Item 1" value="1" variant="filled" color="primary"></ui-list-item>
|
|
@@ -180,7 +179,7 @@ window.showListVariants = function () {
|
|
|
180
179
|
</ui-list>
|
|
181
180
|
</div>
|
|
182
181
|
|
|
183
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
182
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
184
183
|
<h3 style="margin-top:0;font-size:15px;">variant="outlined"</h3>
|
|
185
184
|
<ui-list variant="outlined" rounded>
|
|
186
185
|
<ui-list-item label="Outlined Item 1" value="1" variant="outlined" color="primary"></ui-list-item>
|
|
@@ -189,7 +188,7 @@ window.showListVariants = function () {
|
|
|
189
188
|
</ui-list>
|
|
190
189
|
</div>
|
|
191
190
|
|
|
192
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
191
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
193
192
|
<h3 style="margin-top:0;font-size:15px;">variant="outline"</h3>
|
|
194
193
|
<ui-list variant="outline">
|
|
195
194
|
<ui-list-item label="Soft Primary" value="1" variant="outline" color="primary"></ui-list-item>
|
|
@@ -199,7 +198,7 @@ window.showListVariants = function () {
|
|
|
199
198
|
</ui-list>
|
|
200
199
|
</div>
|
|
201
200
|
|
|
202
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
201
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
203
202
|
<h3 style="margin-top:0;font-size:15px;">Elevated + Rounded</h3>
|
|
204
203
|
<ui-list elevated rounded>
|
|
205
204
|
<ui-list-item label="Cloud Storage" icon="fas fa-cloud" value="cloud" sublabel="12.4 GB used"></ui-list-item>
|
|
@@ -208,7 +207,7 @@ window.showListVariants = function () {
|
|
|
208
207
|
</ui-list>
|
|
209
208
|
</div>
|
|
210
209
|
|
|
211
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
210
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
212
211
|
<h3 style="margin-top:0;font-size:15px;">Flush (no padding)</h3>
|
|
213
212
|
<ui-list flush dividers>
|
|
214
213
|
<ui-list-item label="Flush Item 1" value="1" icon="fas fa-circle"></ui-list-item>
|
|
@@ -231,7 +230,7 @@ window.showListIcons = function () {
|
|
|
231
230
|
c.innerHTML = `
|
|
232
231
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;">
|
|
233
232
|
|
|
234
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
233
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
235
234
|
<h3 style="margin-top:0;font-size:15px;">Icons + Badges + Counters</h3>
|
|
236
235
|
<ui-list dividers>
|
|
237
236
|
<ui-list-item label="Inbox" icon="fas fa-inbox" value="inbox" badge="12" badge-color="primary" counter="12" counter-color="info"></ui-list-item>
|
|
@@ -242,7 +241,7 @@ window.showListIcons = function () {
|
|
|
242
241
|
</ui-list>
|
|
243
242
|
</div>
|
|
244
243
|
|
|
245
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
244
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
246
245
|
<h3 style="margin-top:0;font-size:15px;">Sub-labels (Multiline)</h3>
|
|
247
246
|
<ui-list dividers>
|
|
248
247
|
<ui-list-item
|
|
@@ -269,7 +268,7 @@ window.showListIcons = function () {
|
|
|
269
268
|
</ui-list>
|
|
270
269
|
</div>
|
|
271
270
|
|
|
272
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
271
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
273
272
|
<h3 style="margin-top:0;font-size:15px;">Pills per Item</h3>
|
|
274
273
|
<ui-list dividers>
|
|
275
274
|
<ui-list-item
|
|
@@ -293,7 +292,7 @@ window.showListIcons = function () {
|
|
|
293
292
|
</ui-list>
|
|
294
293
|
</div>
|
|
295
294
|
|
|
296
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
295
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
297
296
|
<h3 style="margin-top:0;font-size:15px;">Tags per Item</h3>
|
|
298
297
|
<ui-list dividers>
|
|
299
298
|
<ui-list-item
|
|
@@ -317,7 +316,7 @@ window.showListIcons = function () {
|
|
|
317
316
|
</ui-list>
|
|
318
317
|
</div>
|
|
319
318
|
|
|
320
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
319
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
321
320
|
<h3 style="margin-top:0;font-size:15px;">Action Icons</h3>
|
|
322
321
|
<ui-list dividers>
|
|
323
322
|
<ui-list-item label="Edit Profile" icon="fas fa-user" value="edit" action-icon="fas fa-pencil-alt"></ui-list-item>
|
|
@@ -327,7 +326,7 @@ window.showListIcons = function () {
|
|
|
327
326
|
</ui-list>
|
|
328
327
|
</div>
|
|
329
328
|
|
|
330
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
329
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
331
330
|
<h3 style="margin-top:0;font-size:15px;">Checkbox Selection</h3>
|
|
332
331
|
<ui-list dividers id="checkboxList">
|
|
333
332
|
<ui-list-item label="Send email notification" value="email" show-checkbox></ui-list-item>
|
|
@@ -351,7 +350,7 @@ window.showListCollapsible = function () {
|
|
|
351
350
|
c.innerHTML = `
|
|
352
351
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;">
|
|
353
352
|
|
|
354
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
353
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
355
354
|
<h3 style="margin-top:0;font-size:15px;">Collapsible Tree</h3>
|
|
356
355
|
<ui-list dividers>
|
|
357
356
|
<ui-list-item label="Documents" icon="fas fa-folder" value="docs" collapsible expanded>
|
|
@@ -372,7 +371,7 @@ window.showListCollapsible = function () {
|
|
|
372
371
|
</ui-list>
|
|
373
372
|
</div>
|
|
374
373
|
|
|
375
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
374
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
376
375
|
<h3 style="margin-top:0;font-size:15px;">Accordion-style Nav</h3>
|
|
377
376
|
<ui-list dividers rounded>
|
|
378
377
|
<ui-list-item label="Dashboard" icon="fas fa-th-large" value="dash"></ui-list-item>
|
|
@@ -390,19 +389,19 @@ window.showListCollapsible = function () {
|
|
|
390
389
|
</ui-list>
|
|
391
390
|
</div>
|
|
392
391
|
|
|
393
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
392
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
394
393
|
<h3 style="margin-top:0;font-size:15px;">Context Menu Items</h3>
|
|
395
394
|
<ui-list dividers>
|
|
396
395
|
<ui-list-item label="Right-click me!" icon="fas fa-file-alt" value="file1" context-menu context-menu-trigger="rightClick">
|
|
397
|
-
<ui-list-item slot="
|
|
398
|
-
<ui-list-item slot="
|
|
399
|
-
<ui-list-item slot="
|
|
400
|
-
<ui-list-item slot="
|
|
396
|
+
<ui-list-item slot="context-menu" label="Open" icon="fas fa-folder-open" value="open"></ui-list-item>
|
|
397
|
+
<ui-list-item slot="context-menu" label="Copy" icon="fas fa-copy" value="copy"></ui-list-item>
|
|
398
|
+
<ui-list-item slot="context-menu" label="Rename" icon="fas fa-edit" value="rename"></ui-list-item>
|
|
399
|
+
<ui-list-item slot="context-menu" label="Delete" icon="fas fa-trash" value="delete" color="danger"></ui-list-item>
|
|
401
400
|
</ui-list-item>
|
|
402
401
|
<ui-list-item label="Click ▶ for menu" icon="fas fa-file-code" value="file2" context-menu context-menu-trigger="click">
|
|
403
|
-
<ui-list-item slot="
|
|
404
|
-
<ui-list-item slot="
|
|
405
|
-
<ui-list-item slot="
|
|
402
|
+
<ui-list-item slot="context-menu" label="Edit" icon="fas fa-edit" value="edit"></ui-list-item>
|
|
403
|
+
<ui-list-item slot="context-menu" label="Preview" icon="fas fa-eye" value="prev"></ui-list-item>
|
|
404
|
+
<ui-list-item slot="context-menu" label="Export" icon="fas fa-upload" value="exp"></ui-list-item>
|
|
406
405
|
</ui-list-item>
|
|
407
406
|
</ui-list>
|
|
408
407
|
</div>
|
|
@@ -436,13 +435,13 @@ window.showListSearch = function () {
|
|
|
436
435
|
c.innerHTML = `
|
|
437
436
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;">
|
|
438
437
|
|
|
439
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
438
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
440
439
|
<h3 style="margin-top:0;font-size:15px;">🔍 Searchable List (programmatic items)</h3>
|
|
441
440
|
<ui-list searchable search-placeholder="Search fruits..." id="searchList" max-height="350px"></ui-list>
|
|
442
441
|
<div id="searchOutput" style="margin-top:12px;font-size:13px;color:#6b7280;">Selected: none</div>
|
|
443
442
|
</div>
|
|
444
443
|
|
|
445
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
444
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
446
445
|
<h3 style="margin-top:0;font-size:15px;">Search + Multi-Select</h3>
|
|
447
446
|
<ui-list searchable multi-select search-placeholder="Type to filter..." id="searchMultiList" max-height="350px" dividers></ui-list>
|
|
448
447
|
<div id="searchMultiOutput" style="margin-top:12px;font-size:13px;color:#6b7280;">Selected: none</div>
|
|
@@ -479,17 +478,17 @@ window.showListGrouped = function () {
|
|
|
479
478
|
c.innerHTML = `
|
|
480
479
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;">
|
|
481
480
|
|
|
482
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
481
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
483
482
|
<h3 style="margin-top:0;font-size:15px;">Grouped with Subheaders</h3>
|
|
484
483
|
<ui-list id="groupedList1" max-height="450px" dividers></ui-list>
|
|
485
484
|
</div>
|
|
486
485
|
|
|
487
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
486
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
488
487
|
<h3 style="margin-top:0;font-size:15px;">Collapsible Groups</h3>
|
|
489
488
|
<ui-list id="groupedList2" max-height="450px"></ui-list>
|
|
490
489
|
</div>
|
|
491
490
|
|
|
492
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
491
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
493
492
|
<h3 style="margin-top:0;font-size:15px;">Group + Search</h3>
|
|
494
493
|
<ui-list id="groupedList3" searchable max-height="400px" dividers></ui-list>
|
|
495
494
|
</div>
|
|
@@ -529,14 +528,14 @@ window.showListDraggable = function () {
|
|
|
529
528
|
c.innerHTML = `
|
|
530
529
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;">
|
|
531
530
|
|
|
532
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
531
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
533
532
|
<h3 style="margin-top:0;font-size:15px;">↕️ Drag to Reorder</h3>
|
|
534
533
|
<p style="font-size:13px;color:#9ca3af;margin-bottom:12px;">Drag the ≡ handle to reorder</p>
|
|
535
534
|
<ui-list id="draggableList" dividers max-height="360px"></ui-list>
|
|
536
535
|
<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>
|
|
537
536
|
</div>
|
|
538
537
|
|
|
539
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
538
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
540
539
|
<h3 style="margin-top:0;font-size:15px;">↕️ Task Priority List</h3>
|
|
541
540
|
<p style="font-size:13px;color:#9ca3af;margin-bottom:12px;">Drag to re-prioritize tasks</p>
|
|
542
541
|
<ui-list id="taskList" dividers max-height="360px"></ui-list>
|
|
@@ -588,12 +587,12 @@ window.showListPaginated = function () {
|
|
|
588
587
|
c.innerHTML = `
|
|
589
588
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;">
|
|
590
589
|
|
|
591
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
590
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
592
591
|
<h3 style="margin-top:0;font-size:15px;">📑 Paginated (5 per page)</h3>
|
|
593
592
|
<ui-list id="paginatedList5" paginated items-per-page="5" dividers></ui-list>
|
|
594
593
|
</div>
|
|
595
594
|
|
|
596
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
595
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
597
596
|
<h3 style="margin-top:0;font-size:15px;">📑 Search + Paginated</h3>
|
|
598
597
|
<ui-list id="paginatedSearchList" paginated searchable items-per-page="4" dividers></ui-list>
|
|
599
598
|
</div>
|
|
@@ -657,14 +656,14 @@ window.showListVirtual = function () {
|
|
|
657
656
|
c.innerHTML = `
|
|
658
657
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;">
|
|
659
658
|
|
|
660
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
659
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
661
660
|
<h3 style="margin-top:0;font-size:15px;">⚡ Virtual Scroll (10,000 items)</h3>
|
|
662
661
|
<p style="font-size:13px;color:#9ca3af;margin-bottom:12px;">Only visible rows are rendered in the DOM</p>
|
|
663
662
|
<ui-list id="virtualList" virtual item-height="48" max-height="400px"></ui-list>
|
|
664
663
|
<div id="virtualOutput" style="margin-top:8px;font-size:12px;color:#6b7280;">Selected: none</div>
|
|
665
664
|
</div>
|
|
666
665
|
|
|
667
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
666
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
668
667
|
<h3 style="margin-top:0;font-size:15px;">⚡ Virtual + Search</h3>
|
|
669
668
|
<ui-list id="virtualSearchList" virtual searchable item-height="48" max-height="400px" search-placeholder="Search 5000 users..."></ui-list>
|
|
670
669
|
</div>
|
|
@@ -707,7 +706,7 @@ window.showListInteractions = function () {
|
|
|
707
706
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;">
|
|
708
707
|
|
|
709
708
|
<!-- Custom Hover & Selection -->
|
|
710
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
709
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
711
710
|
<h3 style="margin-top:0;font-size:15px;">Selection & Hover Colors</h3>
|
|
712
711
|
<p style="font-size:12px;color:#9ca3af;margin-bottom:12px;">Items change color on hover or when selected</p>
|
|
713
712
|
<ui-list dividers>
|
|
@@ -723,9 +722,6 @@ window.showListInteractions = function () {
|
|
|
723
722
|
selection-color="success"
|
|
724
723
|
selected
|
|
725
724
|
></ui-list-item>
|
|
726
|
-
<div class="s-row"><kbd>Shift</kbd> + <kbd>J/K</kbd> <span>Select Range</span></div>
|
|
727
|
-
<div class="s-row"><kbd>Alt</kbd> <span>(Hold) Ghost Data Layer</span></div>
|
|
728
|
-
<div class="s-row"><kbd>X</kbd> <span>Toggle Selection</span></div>
|
|
729
725
|
<ui-list-item
|
|
730
726
|
label="Danger Zone"
|
|
731
727
|
sublabel="Red hover and selection"
|
|
@@ -736,20 +732,20 @@ window.showListInteractions = function () {
|
|
|
736
732
|
</div>
|
|
737
733
|
|
|
738
734
|
<!-- Right-side Avatars -->
|
|
739
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
735
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
740
736
|
<h3 style="margin-top:0;font-size:15px;">Right-side Media</h3>
|
|
741
737
|
<p style="font-size:12px;color:#9ca3af;margin-bottom:12px;">Avatars and images on the right</p>
|
|
742
738
|
<ui-list dividers>
|
|
743
739
|
<ui-list-item
|
|
744
740
|
label="Chat Message"
|
|
745
741
|
sublabel="Sent from London Office"
|
|
746
|
-
user-avatar="
|
|
742
|
+
user-avatar="./build/assets/images/logo.png"
|
|
747
743
|
avatar-position="right"
|
|
748
744
|
></ui-list-item>
|
|
749
745
|
<ui-list-item
|
|
750
746
|
label="Product Status"
|
|
751
747
|
sublabel="Stock updated 5m ago"
|
|
752
|
-
image="
|
|
748
|
+
image="./build/assets/images/nature_lake_2.png"
|
|
753
749
|
avatar-position="right"
|
|
754
750
|
counter="ACTIVE"
|
|
755
751
|
></ui-list-item>
|
|
@@ -764,13 +760,13 @@ window.showListInteractions = function () {
|
|
|
764
760
|
</div>
|
|
765
761
|
|
|
766
762
|
<!-- Combined Pro features -->
|
|
767
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
763
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
768
764
|
<h3 style="margin-top:0;font-size:15px;">Advanced Interaction</h3>
|
|
769
765
|
<ui-list items-per-page="3">
|
|
770
766
|
<ui-list-item
|
|
771
767
|
label="Alex Smith"
|
|
772
768
|
sublabel="Full Stack Engineer"
|
|
773
|
-
user-avatar="
|
|
769
|
+
user-avatar="./build/assets/images/logo.png"
|
|
774
770
|
avatar-position="right"
|
|
775
771
|
hover-color="info"
|
|
776
772
|
selection-color="info"
|
|
@@ -781,14 +777,14 @@ window.showListInteractions = function () {
|
|
|
781
777
|
label="Project Delta"
|
|
782
778
|
sublabel="Milestone 4 reached"
|
|
783
779
|
avatar-position="right"
|
|
784
|
-
image="
|
|
780
|
+
image="./build/assets/images/nature_ocean_4.png"
|
|
785
781
|
selection-color="warning"
|
|
786
782
|
action-icon="fas fa-external-link-alt"
|
|
787
783
|
></ui-list-item>
|
|
788
784
|
</ui-list>
|
|
789
785
|
</div>
|
|
790
786
|
<!-- Advanced Status & Actions -->
|
|
791
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
787
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
792
788
|
<h3 style="margin-top:0;font-size:15px;">Pro Features (Lock & Menu)</h3>
|
|
793
789
|
<p style="font-size:12px;color:#9ca3af;margin-bottom:12px;">Locked items and 3-dot action menus</p>
|
|
794
790
|
<ui-list dividers>
|
|
@@ -805,9 +801,9 @@ window.showListInteractions = function () {
|
|
|
805
801
|
show-menu
|
|
806
802
|
context-menu
|
|
807
803
|
>
|
|
808
|
-
<ui-list-item slot="
|
|
809
|
-
<ui-list-item slot="
|
|
810
|
-
<ui-list-item slot="
|
|
804
|
+
<ui-list-item slot="context-menu" label="Restart" icon="fas fa-sync" value="restart"></ui-list-item>
|
|
805
|
+
<ui-list-item slot="context-menu" label="Scale" icon="fas fa-rocket" value="scale"></ui-list-item>
|
|
806
|
+
<ui-list-item slot="context-menu" label="Terminate" icon="fas fa-power-off" value="term" color="danger"></ui-list-item>
|
|
811
807
|
</ui-list-item>
|
|
812
808
|
<ui-list-item
|
|
813
809
|
label="User Accounts"
|
|
@@ -816,8 +812,8 @@ window.showListInteractions = function () {
|
|
|
816
812
|
show-menu
|
|
817
813
|
context-menu
|
|
818
814
|
>
|
|
819
|
-
<ui-list-item slot="
|
|
820
|
-
<ui-list-item slot="
|
|
815
|
+
<ui-list-item slot="context-menu" label="View Profile" icon="fas fa-user" value="profile"></ui-list-item>
|
|
816
|
+
<ui-list-item slot="context-menu" label="Suspend" icon="fas fa-user-slash" value="suspend" color="warning"></ui-list-item>
|
|
821
817
|
</ui-list-item>
|
|
822
818
|
</ui-list>
|
|
823
819
|
</div>
|
|
@@ -837,7 +833,7 @@ window.showListMasterpiece = function () {
|
|
|
837
833
|
{
|
|
838
834
|
label: 'Edge Node 01',
|
|
839
835
|
sublabel: 'Uptime: 14 days, 4 hours',
|
|
840
|
-
userAvatar: '
|
|
836
|
+
userAvatar: './build/assets/images/logo.png',
|
|
841
837
|
status: 'online',
|
|
842
838
|
group: 'Computing',
|
|
843
839
|
progress: 92,
|
|
@@ -852,7 +848,7 @@ window.showListMasterpiece = function () {
|
|
|
852
848
|
sparkline: [20, 45, 10, 80, 50, 90, 60, 100],
|
|
853
849
|
auraMode: true,
|
|
854
850
|
presenceCursors: [{ name: 'Sarah (CEO)', color: 'purple', x: 450, y: 20 }],
|
|
855
|
-
avatarGroup: [{ src: '
|
|
851
|
+
avatarGroup: [{ src: './build/assets/images/logo.png' }, { src: './build/assets/images/logo.png' }, { src: './build/assets/images/logo.png' }],
|
|
856
852
|
metadata: { ip: '10.0.0.12', version: '2.4.1-LTS', cluster: 'Main-North' },
|
|
857
853
|
leftActions: [
|
|
858
854
|
{ icon: 'fas fa-phone', color: 'success', action: 'call' },
|
|
@@ -862,7 +858,7 @@ window.showListMasterpiece = function () {
|
|
|
862
858
|
{ icon: 'fas fa-trash', color: 'danger', action: 'delete' },
|
|
863
859
|
{ icon: 'fas fa-archive', color: 'warning', action: 'archive' },
|
|
864
860
|
],
|
|
865
|
-
collaborators: [{ src: '
|
|
861
|
+
collaborators: [{ src: './build/assets/images/logo.png' }, { src: './build/assets/images/logo.png' }],
|
|
866
862
|
avatarGroupPosition: 'right',
|
|
867
863
|
},
|
|
868
864
|
{
|
|
@@ -887,7 +883,7 @@ window.showListMasterpiece = function () {
|
|
|
887
883
|
status: 'busy',
|
|
888
884
|
expandable: true,
|
|
889
885
|
showStar: true,
|
|
890
|
-
avatarGroup: [{ src: '
|
|
886
|
+
avatarGroup: [{ src: './build/assets/images/logo.png' }, { src: './build/assets/images/logo.png' }, { src: './build/assets/images/logo.png' }],
|
|
891
887
|
avatarGroupPosition: 'content',
|
|
892
888
|
},
|
|
893
889
|
{ label: 'Cloud Buffer', sublabel: 'Idle', icon: 'fas fa-cloud', group: 'Storage', status: 'away' },
|
|
@@ -915,7 +911,7 @@ window.showListMasterpiece = function () {
|
|
|
915
911
|
|
|
916
912
|
c.innerHTML = `
|
|
917
913
|
<div style="max-width:800px;margin:auto;">
|
|
918
|
-
<div style="background:white;border-radius:16px;box-shadow:0 10px 40px rgba(0,0,0,0.1);overflow:hidden;">
|
|
914
|
+
<div style="background:var(--bg-primary,white);border-radius:16px;box-shadow:0 10px 40px rgba(0,0,0,0.1);overflow:hidden;">
|
|
919
915
|
<div style="padding:24px;background:linear-gradient(135deg, #1e293b, #334155);color:white;">
|
|
920
916
|
<h2 style="margin:0;font-size:20px;">💎 Ultra-Apex Cluster Control</h2>
|
|
921
917
|
<p style="margin:4px 0 0;font-size:13px;opacity:0.8;">Monitoring active global edge nodes</p>
|
|
@@ -992,38 +988,38 @@ window.showListGrid = function () {
|
|
|
992
988
|
{
|
|
993
989
|
label: 'Project Alpha',
|
|
994
990
|
sublabel: 'Development Stage',
|
|
995
|
-
image: '
|
|
996
|
-
collaborators: [{ src: '
|
|
991
|
+
image: './build/assets/images/slide1.png',
|
|
992
|
+
collaborators: [{ src: './build/assets/images/logo.png' }, { src: './build/assets/images/logo.png' }],
|
|
997
993
|
},
|
|
998
994
|
{
|
|
999
995
|
label: 'Project Beta',
|
|
1000
996
|
sublabel: 'Productivity Suite',
|
|
1001
|
-
image: '
|
|
1002
|
-
collaborators: [{ src: '
|
|
997
|
+
image: './build/assets/images/slide2.png',
|
|
998
|
+
collaborators: [{ src: './build/assets/images/logo.png' }, { src: './build/assets/images/logo.png' }],
|
|
1003
999
|
},
|
|
1004
1000
|
{
|
|
1005
1001
|
label: 'Project Gamma',
|
|
1006
1002
|
sublabel: 'Mobile Expansion',
|
|
1007
|
-
image: '
|
|
1008
|
-
collaborators: [{ src: '
|
|
1003
|
+
image: './build/assets/images/slide3.png',
|
|
1004
|
+
collaborators: [{ src: './build/assets/images/logo.png' }],
|
|
1009
1005
|
},
|
|
1010
1006
|
{
|
|
1011
1007
|
label: 'Project Delta',
|
|
1012
1008
|
sublabel: 'Legacy Maintenance',
|
|
1013
|
-
image: '
|
|
1014
|
-
collaborators: [{ src: '
|
|
1009
|
+
image: './build/assets/images/nature_desert_3.png',
|
|
1010
|
+
collaborators: [{ src: './build/assets/images/logo.png' }],
|
|
1015
1011
|
},
|
|
1016
1012
|
{
|
|
1017
1013
|
label: 'Project Epsilon',
|
|
1018
1014
|
sublabel: 'Internal Audit',
|
|
1019
|
-
image: '
|
|
1020
|
-
collaborators: [{ src: '
|
|
1015
|
+
image: './build/assets/images/nature_forest_1.png',
|
|
1016
|
+
collaborators: [{ src: './build/assets/images/logo.png' }],
|
|
1021
1017
|
},
|
|
1022
1018
|
{
|
|
1023
1019
|
label: 'Project Zeta',
|
|
1024
1020
|
sublabel: 'AI Integration',
|
|
1025
|
-
image: '
|
|
1026
|
-
collaborators: [{ src: '
|
|
1021
|
+
image: './build/assets/images/nature_lake_2.png',
|
|
1022
|
+
collaborators: [{ src: './build/assets/images/logo.png' }],
|
|
1027
1023
|
},
|
|
1028
1024
|
];
|
|
1029
1025
|
|
|
@@ -1047,7 +1043,7 @@ window.showListTree = function () {
|
|
|
1047
1043
|
|
|
1048
1044
|
c.innerHTML = `
|
|
1049
1045
|
<div style="padding:40px;max-width:600px;margin:auto;">
|
|
1050
|
-
<div style="background:white;border-radius:12px;padding:24px;box-shadow:0 10px 25px rgba(0,0,0,0.1);">
|
|
1046
|
+
<div style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 10px 25px rgba(0,0,0,0.1);">
|
|
1051
1047
|
<h3 style="margin-top:0;">Source Explorer</h3>
|
|
1052
1048
|
<ui-list>
|
|
1053
1049
|
<ui-list-item label="src" icon="fas fa-folder-open" collapsible expanded>
|
|
@@ -1090,17 +1086,17 @@ window.showListLarge = function () {
|
|
|
1090
1086
|
|
|
1091
1087
|
c.innerHTML = `
|
|
1092
1088
|
<div style="max-width:800px; margin:0 auto;">
|
|
1093
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,0.1);">
|
|
1089
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,0.1);">
|
|
1094
1090
|
<div style="display:flex; justify-content:space-between; align-items:center; margin-bottom:16px;">
|
|
1095
|
-
<h3 style="margin:0;font-size:18px;color
|
|
1096
|
-
<span style="background
|
|
1091
|
+
<h3 style="margin:0;font-size:18px;color:var(--text-primary,#1e293b);">📦 Large Dataset (${count} items)</h3>
|
|
1092
|
+
<span style="background:var(--bg-tertiary,#f1f5f9); padding:4px 10px; border-radius:20px; font-size:12px; font-weight:600; color:#475569;">Non-Virtual</span>
|
|
1097
1093
|
</div>
|
|
1098
|
-
<p style="font-size:14px; color
|
|
1094
|
+
<p style="font-size:14px; color:var(--text-secondary,#64748b); margin-bottom:20px;">
|
|
1099
1095
|
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.
|
|
1100
1096
|
</p>
|
|
1101
1097
|
<ui-list id="largeList" max-height="600px" dividers searchable search-placeholder="Filter 150 items..."></ui-list>
|
|
1102
|
-
<div id="largeListOutput" style="margin-top:16px; padding:12px; background
|
|
1103
|
-
Selected: <span style="font-weight:600; color
|
|
1098
|
+
<div id="largeListOutput" style="margin-top:16px; padding:12px; background:var(--bg-secondary,#f8fafc); border:1px solid var(--border-default,#e2e8f0); border-radius:8px; font-size:13px; color:var(--text-primary,#1e293b);">
|
|
1099
|
+
Selected: <span style="font-weight:600; color:var(--accent-blue,#2563eb);">none</span>
|
|
1104
1100
|
</div>
|
|
1105
1101
|
</div>
|
|
1106
1102
|
</div>
|
|
@@ -1112,7 +1108,7 @@ window.showListLarge = function () {
|
|
|
1112
1108
|
el.items = items;
|
|
1113
1109
|
el.addEventListener('listItemSelect', e => {
|
|
1114
1110
|
const out = document.getElementById('largeListOutput');
|
|
1115
|
-
if (out) out.innerHTML = `Selected: <span style="font-weight:600; color
|
|
1111
|
+
if (out) out.innerHTML = `Selected: <span style="font-weight:600; color:var(--accent-blue,#2563eb);">${e.detail.value}</span>`;
|
|
1116
1112
|
});
|
|
1117
1113
|
}
|
|
1118
1114
|
}, 200);
|
|
@@ -1128,7 +1124,7 @@ window.showListAdvanced = function () {
|
|
|
1128
1124
|
c.innerHTML = `
|
|
1129
1125
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;">
|
|
1130
1126
|
|
|
1131
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1127
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1132
1128
|
<h3 style="margin-top:0;font-size:15px;">⏳ Loading State</h3>
|
|
1133
1129
|
<ui-list loading loading-text="Fetching items..." id="loadingList"></ui-list>
|
|
1134
1130
|
<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;">
|
|
@@ -1136,7 +1132,7 @@ window.showListAdvanced = function () {
|
|
|
1136
1132
|
</ui-button>
|
|
1137
1133
|
</div>
|
|
1138
1134
|
|
|
1139
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1135
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1140
1136
|
<h3 style="margin-top:0;font-size:15px;">📭 Empty State</h3>
|
|
1141
1137
|
<ui-list id="emptyList" empty-text="No results found. Try a different search." show-empty></ui-list>
|
|
1142
1138
|
<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;">
|
|
@@ -1144,7 +1140,7 @@ window.showListAdvanced = function () {
|
|
|
1144
1140
|
</ui-button>
|
|
1145
1141
|
</div>
|
|
1146
1142
|
|
|
1147
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1143
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1148
1144
|
<h3 style="margin-top:0;font-size:15px;">🔗 Link Items</h3>
|
|
1149
1145
|
<ui-list dividers>
|
|
1150
1146
|
<ui-list-item label="GitHub" icon="fab fa-github" value="gh" href="https://github.com" target="_blank"></ui-list-item>
|
|
@@ -1154,7 +1150,7 @@ window.showListAdvanced = function () {
|
|
|
1154
1150
|
</ui-list>
|
|
1155
1151
|
</div>
|
|
1156
1152
|
|
|
1157
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1153
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1158
1154
|
<h3 style="margin-top:0;font-size:15px;">↔️ Horizontal List</h3>
|
|
1159
1155
|
<ui-list horizontal>
|
|
1160
1156
|
<ui-list-item label="Home" icon="fas fa-home" value="h"></ui-list-item>
|
|
@@ -1164,7 +1160,7 @@ window.showListAdvanced = function () {
|
|
|
1164
1160
|
</ui-list>
|
|
1165
1161
|
</div>
|
|
1166
1162
|
|
|
1167
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1163
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1168
1164
|
<h3 style="margin-top:0;font-size:15px;">🎛️ Playground</h3>
|
|
1169
1165
|
<div style="display:flex;flex-direction:column;gap:8px;margin-bottom:12px;">
|
|
1170
1166
|
<ui-checkbox id="pgDividers" label="Dividers" oncheckboxchange="updateListPlayground()"></ui-checkbox>
|
|
@@ -1187,14 +1183,14 @@ window.showListAdvanced = function () {
|
|
|
1187
1183
|
</ui-list>
|
|
1188
1184
|
</div>
|
|
1189
1185
|
|
|
1190
|
-
<div class="demo-block" style="background:white;border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1186
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:12px;padding:24px;box-shadow:0 2px 12px rgba(0,0,0,0.08);">
|
|
1191
1187
|
<h3 style="margin-top:0;font-size:15px;">📋 Events Log</h3>
|
|
1192
1188
|
<ui-list id="eventList" dividers multi-select>
|
|
1193
1189
|
<ui-list-item label="Click me!" icon="fas fa-hand-pointer" value="v1"></ui-list-item>
|
|
1194
1190
|
<ui-list-item label="And me!" icon="fas fa-hand-pointer" value="v2"></ui-list-item>
|
|
1195
1191
|
<ui-list-item label="Also me!" icon="fas fa-hand-pointer" value="v3"></ui-list-item>
|
|
1196
1192
|
</ui-list>
|
|
1197
|
-
<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
|
|
1193
|
+
<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:var(--text-secondary,#64748b);"></div>
|
|
1198
1194
|
</div>
|
|
1199
1195
|
</div>
|
|
1200
1196
|
`;
|
|
@@ -1258,19 +1254,37 @@ window.showListApex = function () {
|
|
|
1258
1254
|
const c = document.getElementById('listDemoContainer');
|
|
1259
1255
|
if (!c) return;
|
|
1260
1256
|
|
|
1257
|
+
const apexCardStyle = [
|
|
1258
|
+
'background:var(--bg-primary,#ffffff)',
|
|
1259
|
+
'color:var(--text-primary,#1e293b)',
|
|
1260
|
+
'border:1px solid var(--border-default,#e2e8f0)',
|
|
1261
|
+
'border-radius:16px',
|
|
1262
|
+
'padding:24px',
|
|
1263
|
+
'box-shadow:0 10px 25px rgba(15,23,42,0.08)'
|
|
1264
|
+
].join(';');
|
|
1265
|
+
|
|
1266
|
+
const apexHeadingStyle = [
|
|
1267
|
+
'margin:0 0 16px',
|
|
1268
|
+
'font-size:16px',
|
|
1269
|
+
'color:var(--text-primary,#1e293b)',
|
|
1270
|
+
'display:flex',
|
|
1271
|
+
'align-items:center',
|
|
1272
|
+
'gap:8px'
|
|
1273
|
+
].join(';');
|
|
1274
|
+
|
|
1261
1275
|
c.innerHTML = `
|
|
1262
1276
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:24px;">
|
|
1263
1277
|
|
|
1264
1278
|
<!-- 1. User Directory (Avatars + Tags) -->
|
|
1265
|
-
<div class="demo-block" style="
|
|
1266
|
-
<h3 style="
|
|
1279
|
+
<div class="demo-block" style="${apexCardStyle}">
|
|
1280
|
+
<h3 style="${apexHeadingStyle}">
|
|
1267
1281
|
<span style="font-size:20px;">👥</span> Smart User Directory
|
|
1268
1282
|
</h3>
|
|
1269
1283
|
<ui-list dividers>
|
|
1270
1284
|
<ui-list-item
|
|
1271
1285
|
label="Marcus Rodriguez"
|
|
1272
1286
|
sublabel="Principal Engineer — London"
|
|
1273
|
-
user-avatar="
|
|
1287
|
+
user-avatar="./build/assets/images/logo.png"
|
|
1274
1288
|
badge="Admin"
|
|
1275
1289
|
badge-color="primary"
|
|
1276
1290
|
tags='[{"label":"AI","color":"indigo","variant":"soft"},{"label":"React","color":"info","variant":"soft"}]'
|
|
@@ -1279,7 +1293,7 @@ window.showListApex = function () {
|
|
|
1279
1293
|
<ui-list-item
|
|
1280
1294
|
label="Sasha Silver"
|
|
1281
1295
|
sublabel="Product Designer — Berlin"
|
|
1282
|
-
user-avatar="
|
|
1296
|
+
user-avatar="./build/assets/images/logo.png"
|
|
1283
1297
|
badge="Pro"
|
|
1284
1298
|
badge-color="success"
|
|
1285
1299
|
tags='[{"label":"Figma","color":"warning","variant":"soft"},{"label":"UX","color":"danger","variant":"soft"}]'
|
|
@@ -1288,14 +1302,14 @@ window.showListApex = function () {
|
|
|
1288
1302
|
<ui-list-item
|
|
1289
1303
|
label="Priya Sharma"
|
|
1290
1304
|
sublabel="Growth Lead — Mumbai"
|
|
1291
|
-
user-avatar="
|
|
1305
|
+
user-avatar="./build/assets/images/logo.png"
|
|
1292
1306
|
tags='[{"label":"Marketing","color":"success","variant":"soft"}]'
|
|
1293
1307
|
multiline
|
|
1294
1308
|
></ui-list-item>
|
|
1295
1309
|
<ui-list-item
|
|
1296
1310
|
label="Alex Chen"
|
|
1297
1311
|
sublabel="DevOps Engineer — Remote"
|
|
1298
|
-
user-avatar="
|
|
1312
|
+
user-avatar="./build/assets/images/logo.png"
|
|
1299
1313
|
badge="External"
|
|
1300
1314
|
badge-color="secondary"
|
|
1301
1315
|
multiline
|
|
@@ -1304,15 +1318,15 @@ window.showListApex = function () {
|
|
|
1304
1318
|
</div>
|
|
1305
1319
|
|
|
1306
1320
|
<!-- 2. Product Catalog (Images + Counters) -->
|
|
1307
|
-
<div class="demo-block" style="
|
|
1308
|
-
<h3 style="
|
|
1321
|
+
<div class="demo-block" style="${apexCardStyle}">
|
|
1322
|
+
<h3 style="${apexHeadingStyle}">
|
|
1309
1323
|
<span style="font-size:20px;">🛒</span> Store Inventory
|
|
1310
1324
|
</h3>
|
|
1311
1325
|
<ui-list dividers variant="outline">
|
|
1312
1326
|
<ui-list-item
|
|
1313
1327
|
label="Premium Headphones"
|
|
1314
1328
|
sublabel="Noise Cancelling — Bluetooth 5.0"
|
|
1315
|
-
image="
|
|
1329
|
+
image="./build/assets/images/nature_ocean_4.png"
|
|
1316
1330
|
counter="$299"
|
|
1317
1331
|
badge="Sale"
|
|
1318
1332
|
badge-color="danger"
|
|
@@ -1321,14 +1335,14 @@ window.showListApex = function () {
|
|
|
1321
1335
|
<ui-list-item
|
|
1322
1336
|
label="Smart Watch G2"
|
|
1323
1337
|
sublabel="Oxygen Sensor — OLED"
|
|
1324
|
-
image="
|
|
1338
|
+
image="./build/assets/images/slide1.png"
|
|
1325
1339
|
counter="$349"
|
|
1326
1340
|
multiline
|
|
1327
1341
|
></ui-list-item>
|
|
1328
1342
|
<ui-list-item
|
|
1329
1343
|
label="Mechanical Keyboard"
|
|
1330
1344
|
sublabel="Cherry MX Blue — RGB"
|
|
1331
|
-
image="
|
|
1345
|
+
image="./build/assets/images/slide2.png"
|
|
1332
1346
|
counter="$189"
|
|
1333
1347
|
badge="-15%"
|
|
1334
1348
|
badge-color="success"
|
|
@@ -1346,24 +1360,22 @@ window.showListApex = function () {
|
|
|
1346
1360
|
|
|
1347
1361
|
c2.innerHTML = `
|
|
1348
1362
|
<!-- 3. Skeleton Loading Flow -->
|
|
1349
|
-
<div style="
|
|
1350
|
-
<h3 style="
|
|
1363
|
+
<div style="${apexCardStyle};position:relative;">
|
|
1364
|
+
<h3 style="${apexHeadingStyle}">
|
|
1351
1365
|
<span style="font-size:20px;">🪄</span> Loading Experience (Skeletons)
|
|
1352
1366
|
</h3>
|
|
1353
1367
|
<ui-list id="skeletonDemoList" dividers></ui-list>
|
|
1354
1368
|
<ui-button
|
|
1355
|
-
onclick="
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
>
|
|
1360
|
-
🪄 Toggle Skeleton State
|
|
1361
|
-
</ui-button>
|
|
1369
|
+
onclick="globalThis.toggleApexSkeleton()"
|
|
1370
|
+
variant="outline"
|
|
1371
|
+
style="margin-top:20px;width:100%;"
|
|
1372
|
+
label="🪄 Toggle Skeleton State"
|
|
1373
|
+
></ui-button>
|
|
1362
1374
|
</div>
|
|
1363
1375
|
|
|
1364
1376
|
<!-- 4. Real-time Discovery (Highlighting) -->
|
|
1365
|
-
<div style="
|
|
1366
|
-
<h3 style="
|
|
1377
|
+
<div style="${apexCardStyle}">
|
|
1378
|
+
<h3 style="${apexHeadingStyle}">
|
|
1367
1379
|
<span style="font-size:20px;">🔦</span> Live Discovery (Search Highlighting)
|
|
1368
1380
|
</h3>
|
|
1369
1381
|
<ui-list
|
|
@@ -1394,11 +1406,41 @@ window.showListApex = function () {
|
|
|
1394
1406
|
const hList = document.getElementById('highlightDemoList');
|
|
1395
1407
|
if (hList) {
|
|
1396
1408
|
hList.items = [
|
|
1397
|
-
{
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1409
|
+
{
|
|
1410
|
+
label: 'JavaScript Frameworks',
|
|
1411
|
+
sublabel: 'React, Vue, Angular, Node.js',
|
|
1412
|
+
icon: 'fab fa-js',
|
|
1413
|
+
showGhostLayer: true,
|
|
1414
|
+
metadata: { ip: '10.30.1.21', version: 'DISC-2.8.4', id: 'DISC-JS-001', scope: 'frontend-cluster' }
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
label: 'Node.js Runtime',
|
|
1418
|
+
sublabel: 'Built on Chrome V8 engine',
|
|
1419
|
+
icon: 'fab fa-node-js',
|
|
1420
|
+
showGhostLayer: true,
|
|
1421
|
+
metadata: { ip: '10.30.1.22', version: 'DISC-2.8.5', id: 'DISC-NODE-014', scope: 'runtime-core' }
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
label: 'Python Scripting',
|
|
1425
|
+
sublabel: 'Data analysis and backend',
|
|
1426
|
+
icon: 'fab fa-python',
|
|
1427
|
+
showGhostLayer: true,
|
|
1428
|
+
metadata: { ip: '10.30.1.23', version: 'DISC-1.9.7', id: 'DISC-PY-032', scope: 'analytics-lab' }
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
label: 'React Native',
|
|
1432
|
+
sublabel: 'Mobile apps with JS',
|
|
1433
|
+
icon: 'fab fa-react',
|
|
1434
|
+
showGhostLayer: true,
|
|
1435
|
+
metadata: { ip: '10.30.1.24', version: 'DISC-3.1.0', id: 'DISC-RN-007', scope: 'mobile-edge' }
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
label: 'TypeScript',
|
|
1439
|
+
sublabel: 'Typed JavaScript variant',
|
|
1440
|
+
icon: 'fab fa-js-square',
|
|
1441
|
+
showGhostLayer: true,
|
|
1442
|
+
metadata: { ip: '10.30.1.25', version: 'DISC-5.6.0', id: 'DISC-TS-019', scope: 'typed-core' }
|
|
1443
|
+
},
|
|
1402
1444
|
];
|
|
1403
1445
|
}
|
|
1404
1446
|
|
|
@@ -1409,9 +1451,30 @@ window.showListApex = function () {
|
|
|
1409
1451
|
// When not skeleton, load actual data
|
|
1410
1452
|
if (!el.skeleton) {
|
|
1411
1453
|
el.items = [
|
|
1412
|
-
{
|
|
1413
|
-
|
|
1414
|
-
|
|
1454
|
+
{
|
|
1455
|
+
label: 'Thomas Anderson',
|
|
1456
|
+
sublabel: 'The One — Core Systems',
|
|
1457
|
+
userAvatar: './build/assets/images/logo.png',
|
|
1458
|
+
tags: '["Hero","Matrix"]',
|
|
1459
|
+
showGhostLayer: true,
|
|
1460
|
+
metadata: { ip: '172.16.10.11', version: 'LIVE-4.2.1', id: 'SKEL-TH-001', role: 'system-core' }
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
label: 'Trinity Moss',
|
|
1464
|
+
sublabel: 'Tactical Lead',
|
|
1465
|
+
userAvatar: './build/assets/images/logo.png',
|
|
1466
|
+
tags: '["Pilot","Combat"]',
|
|
1467
|
+
showGhostLayer: true,
|
|
1468
|
+
metadata: { ip: '172.16.10.12', version: 'LIVE-4.2.2', id: 'SKEL-TR-002', role: 'ops-lead' }
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
label: 'Morpheus Dream',
|
|
1472
|
+
sublabel: 'Captain — Nebuchadnezzar',
|
|
1473
|
+
userAvatar: './build/assets/images/logo.png',
|
|
1474
|
+
tags: '["Leader","Captain"]',
|
|
1475
|
+
showGhostLayer: true,
|
|
1476
|
+
metadata: { ip: '172.16.10.13', version: 'LIVE-4.2.3', id: 'SKEL-MO-003', role: 'fleet-command' }
|
|
1477
|
+
},
|
|
1415
1478
|
];
|
|
1416
1479
|
} else {
|
|
1417
1480
|
el.items = [
|