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
|
@@ -1,634 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-ClkOYpT8.js');
|
|
4
|
-
var security = require('./security-CNaNip8F.js');
|
|
5
|
-
|
|
6
|
-
const avatarGroupCss = () => `.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.avatar-group{display:inline-flex;position:relative;align-items:center}.avatar-group.layout-stack .group-avatar{margin-right:var(--avatar-spacing, -16px);transition:all 0.5s cubic-bezier(0.25, 1, 0.5, 1);transform-origin:center bottom}.avatar-group.layout-stack .group-avatar:hover{z-index:100 !important;transform:scale(1.25) translateY(-10px);margin-right:8px !important;box-shadow:0 10px 25px rgba(0, 0, 0, 0.2);border-color:var(--border-subtle, #fff) !important}.avatar-group.layout-stack .group-avatar:hover~.group-avatar,.avatar-group.layout-stack .group-avatar:hover~.excess-avatar-container{transform:translateX(24px)}.avatar-group.layout-stack.avatar-group-animated:hover{padding-right:40px}.avatar-group.layout-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(calc(var(--avatar-size) + 8px), 1fr));gap:8px;width:100%}.avatar-list{display:flex;flex-wrap:wrap;align-items:center}.layout-stack .avatar-list{flex-wrap:nowrap}.avatar-extra{display:inline-flex;align-items:center;justify-content:center;background-color:var(--color-danger, #f56a00);color:var(--text-standard, #ffffff);font-weight:600;border:var(--avatar-border-width, 2px) solid var(--avatar-border-color, #fff);cursor:pointer;z-index:1;transition:transform 0.2s;box-shadow:0 2px 8px rgba(0, 0, 0, 0.1);font-size:0.8em}.avatar-extra:hover{transform:scale(1.1) translateY(-4px);z-index:100;box-shadow:0 8px 20px rgba(0, 0, 0, 0.15)}.avatar-extra.shape-circle{border-radius:50%}.avatar-extra.shape-square{border-radius:8px}.avatar-popover{position:absolute;top:100%;right:0;background:var(--bg-primary, #ffffff);border-radius:8px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.2);padding:12px;z-index:1000;min-width:180px;margin-top:8px;animation:popoverFadeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}.avatar-popover::after{content:"";position:absolute;top:-12px;right:12px;border:6px solid transparent;border-bottom-color:var(--bg-primary, #ffffff)}.avatar-popover .popover-content{display:flex;flex-direction:column;gap:4px;max-height:300px;overflow-y:auto}.avatar-popover .popover-item{display:flex;align-items:center;gap:12px;padding:8px;border-radius:6px;transition:background 0.2s;cursor:pointer}.avatar-popover .popover-item:hover{background:var(--bg-secondary, #f3f4f6)}.avatar-popover .popover-item ui-avatar{transition:none !important;transform:none !important;box-shadow:none !important}.avatar-popover .popover-text{font-size:14px;color:var(--text-secondary, #374151);font-weight:500}@keyframes popoverFadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.avatar-roster-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0, 0, 0, 0.5);display:flex;align-items:center;justify-content:center;z-index:2000;backdrop-filter:blur(4px)}.avatar-roster-content{background:var(--bg-primary, #ffffff);width:90%;max-width:500px;max-height:80vh;border-radius:16px;box-shadow:0 20px 50px rgba(0, 0, 0, 0.3);display:flex;flex-direction:column;overflow:hidden;animation:modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1)}.roster-header{padding:20px;border-bottom:1px solid var(--border-subtle, #eee);display:flex;align-items:center;justify-content:space-between}.roster-header h3{margin:0;color:var(--text-primary, #1f2937)}.roster-header .close-btn{background:none;border:none;font-size:28px;cursor:pointer;color:var(--text-muted, #9ca3af)}.roster-header .close-btn:hover{color:var(--text-primary, #1f2937)}.roster-list{padding:12px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.roster-item{display:flex;align-items:center;gap:16px;padding:12px;border-radius:12px;transition:background 0.2s}.roster-item:hover{background:var(--bg-primary, #f9fafb)}.roster-info{display:flex;flex-direction:column}.roster-name{font-weight:600;color:var(--text-primary, #111827)}.roster-status{font-size:11px;text-transform:capitalize;border-radius:4px;padding:1px 6px;width:fit-content}.status-online{color:var(--color-success-hover, #059669);background:var(--bg-primary, #ecfdf5)}@keyframes modalIn{from{opacity:0;transform:scale(0.9) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}`;
|
|
7
|
-
|
|
8
|
-
const AvatarGroup = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
index.registerInstance(this, hostRef);
|
|
11
|
-
}
|
|
12
|
-
get el() { return index.getElement(this); }
|
|
13
|
-
/** Array of avatar props for dynamic generation */
|
|
14
|
-
avatars = [];
|
|
15
|
-
/** Maximum number of avatars to display before grouping */
|
|
16
|
-
maxVisible = 5;
|
|
17
|
-
/** Maximum config: number or object { count, style, popover } */
|
|
18
|
-
max = null;
|
|
19
|
-
/** Size of avatars in the group */
|
|
20
|
-
size = 'm';
|
|
21
|
-
/** Shape to apply to all avatars in the group */
|
|
22
|
-
shape = 'circle';
|
|
23
|
-
/** Layout mode: 'stack' or 'grid' */
|
|
24
|
-
layout = 'stack';
|
|
25
|
-
/** Spacing between avatars (in pixels) for grid mode */
|
|
26
|
-
spacing = 4;
|
|
27
|
-
/** Overlapping amount (negative value for overlap) */
|
|
28
|
-
overlap = null;
|
|
29
|
-
/** Border color for avatars in the group */
|
|
30
|
-
borderColor = 'white';
|
|
31
|
-
/** Border width for avatars in the group */
|
|
32
|
-
borderWidth = 2;
|
|
33
|
-
/** Enable popover to show all avatars when hovering over excess count */
|
|
34
|
-
enablePopover = true;
|
|
35
|
-
/** Enable animated shifting transitions on hover */
|
|
36
|
-
animated = true;
|
|
37
|
-
slottedAvatars = [];
|
|
38
|
-
showPopover = false;
|
|
39
|
-
isRosterOpen = false;
|
|
40
|
-
isHovered = false;
|
|
41
|
-
handleSlotChange() {
|
|
42
|
-
this.updateSlottedAvatars();
|
|
43
|
-
}
|
|
44
|
-
componentWillLoad() {
|
|
45
|
-
this.updateSlottedAvatars();
|
|
46
|
-
}
|
|
47
|
-
componentDidLoad() { }
|
|
48
|
-
updateSlottedAvatars() {
|
|
49
|
-
const slotElement = this.el.shadowRoot?.querySelector('slot');
|
|
50
|
-
const assignedElements = slotElement
|
|
51
|
-
? slotElement.assignedElements()
|
|
52
|
-
: Array.from(this.el.children);
|
|
53
|
-
this.slottedAvatars = assignedElements.filter(el => el.tagName.toLowerCase() === 'ui-avatar');
|
|
54
|
-
}
|
|
55
|
-
getMaxCount() {
|
|
56
|
-
const maxVal = this.max || this.maxVisible;
|
|
57
|
-
if (typeof maxVal === 'number')
|
|
58
|
-
return maxVal;
|
|
59
|
-
if (maxVal && typeof maxVal === 'object' && 'count' in maxVal)
|
|
60
|
-
return maxVal.count || Infinity;
|
|
61
|
-
return Infinity;
|
|
62
|
-
}
|
|
63
|
-
getMaxStyle() {
|
|
64
|
-
if (this.max && typeof this.max === 'object' && 'style' in this.max)
|
|
65
|
-
return this.max.style;
|
|
66
|
-
return {};
|
|
67
|
-
}
|
|
68
|
-
calculateOverlap() {
|
|
69
|
-
if (this.layout === 'grid')
|
|
70
|
-
return this.spacing;
|
|
71
|
-
if (this.overlap !== null)
|
|
72
|
-
return -Math.abs(this.overlap);
|
|
73
|
-
const sizeMap = { xs: 24, s: 32, sm: 32, default: 20, m: 40, lg: 40, l: 48, xl: 64 };
|
|
74
|
-
let avatarSize = 40;
|
|
75
|
-
const numericSize = parseFloat(this.size);
|
|
76
|
-
if (!isNaN(numericSize))
|
|
77
|
-
avatarSize = numericSize;
|
|
78
|
-
else if (typeof this.size === 'string' && sizeMap[this.size])
|
|
79
|
-
avatarSize = sizeMap[this.size];
|
|
80
|
-
return -(avatarSize * 0.4);
|
|
81
|
-
}
|
|
82
|
-
handleMouseEnterGroup = () => { this.isHovered = true; };
|
|
83
|
-
handleMouseLeaveGroup = () => { this.isHovered = false; this.showPopover = false; };
|
|
84
|
-
toggleRoster = (ev) => { ev.stopPropagation(); this.isRosterOpen = !this.isRosterOpen; };
|
|
85
|
-
closeRoster = () => { this.isRosterOpen = false; };
|
|
86
|
-
renderExcessCount(total, max) {
|
|
87
|
-
const excess = total - max;
|
|
88
|
-
if (excess <= 0)
|
|
89
|
-
return null;
|
|
90
|
-
const maxStyle = this.getMaxStyle();
|
|
91
|
-
return (index.h("div", { class: "excess-avatar-container", onMouseEnter: () => this.showPopover = this.enablePopover, onMouseLeave: () => this.showPopover = false, onClick: this.toggleRoster }, index.h("div", { class: { 'avatar-extra': true, [`avatar-${this.getSizeAlias()}`]: true, [`shape-${this.shape}`]: true }, style: { ...maxStyle, backgroundColor: maxStyle.backgroundColor || '#f56a00' } }, "+", excess), this.showPopover && this.enablePopover && this.layout === 'stack' && this.renderPopover(max)));
|
|
92
|
-
}
|
|
93
|
-
renderPopover(max) {
|
|
94
|
-
const all = this.getAllAvatarData();
|
|
95
|
-
const hidden = all.slice(max);
|
|
96
|
-
return (index.h("div", { class: "avatar-popover" }, index.h("div", { class: "popover-content" }, hidden.map((avatar, idx) => (index.h("div", { class: "popover-item", key: idx }, index.h("ui-avatar", { size: "xs", shape: this.shape, src: avatar.src, icon: avatar.icon, name: avatar.name, content: avatar.content, bgColor: avatar.bgColor }), index.h("span", { class: "popover-text" }, avatar.name || avatar.content || 'User')))))));
|
|
97
|
-
}
|
|
98
|
-
getAllAvatarData() {
|
|
99
|
-
if (this.avatars && this.avatars.length > 0)
|
|
100
|
-
return this.avatars;
|
|
101
|
-
return this.slottedAvatars.map(el => ({
|
|
102
|
-
src: el.getAttribute('src'),
|
|
103
|
-
name: el.getAttribute('name'),
|
|
104
|
-
content: el.getAttribute('content') || el.textContent?.trim(),
|
|
105
|
-
tooltipText: el.getAttribute('tooltipText') || el.getAttribute('tooltip-text') || el.getAttribute('name') || el.textContent?.trim(),
|
|
106
|
-
icon: el.getAttribute('icon'),
|
|
107
|
-
bgColor: el.getAttribute('bgColor') || el.getAttribute('bg-color'),
|
|
108
|
-
badge: el.getAttribute('badge'),
|
|
109
|
-
status: el.getAttribute('status')
|
|
110
|
-
}));
|
|
111
|
-
}
|
|
112
|
-
getSizeAlias() {
|
|
113
|
-
const sizeMap = { sm: 's', md: 'm', lg: 'l' };
|
|
114
|
-
return sizeMap[this.size] || this.size;
|
|
115
|
-
}
|
|
116
|
-
render() {
|
|
117
|
-
const all = this.getAllAvatarData();
|
|
118
|
-
const maxCount = this.getMaxCount();
|
|
119
|
-
const visible = (this.layout === 'grid') ? all : all.slice(0, maxCount);
|
|
120
|
-
const overlap = this.calculateOverlap();
|
|
121
|
-
const groupClasses = {
|
|
122
|
-
'avatar-group': true,
|
|
123
|
-
[`layout-${this.layout}`]: true,
|
|
124
|
-
'avatar-group-animated': this.animated && this.layout === 'stack',
|
|
125
|
-
'expanded': this.isHovered && this.layout === 'stack'
|
|
126
|
-
};
|
|
127
|
-
const groupStyle = {
|
|
128
|
-
'--avatar-spacing': `${overlap}px`,
|
|
129
|
-
'--avatar-border-color': this.borderColor,
|
|
130
|
-
'--avatar-border-width': `${this.borderWidth}px`,
|
|
131
|
-
'--avatar-size': typeof this.size === 'number' ? `${this.size}px` : this.size.toString(),
|
|
132
|
-
};
|
|
133
|
-
return (index.h(index.Host, { key: 'd1c53574be9549de6cce9cf8aae33ac8019dd556' }, index.h("div", { key: '0f64bd06b7f8bd077e98286b9df7cd24e1924a50', class: groupClasses, style: groupStyle, onMouseEnter: this.handleMouseEnterGroup, onMouseLeave: this.handleMouseLeaveGroup }, index.h("div", { key: '937475ddb42adc924320a2f15f61a76f3ec3c916', class: "avatar-list" }, visible.map((avatar, index$1) => (index.h("ui-avatar", { ...avatar, key: index$1, size: this.size, shape: this.shape, border: `${this.borderWidth}px solid ${this.borderColor}`, class: "group-avatar", style: { zIndex: (this.layout === 'stack' ? (all.length - index$1) : 1).toString() } }))), this.layout === 'stack' && this.renderExcessCount(all.length, maxCount)), index.h("div", { key: '52779f80360501b288b88cd896f2dd117b18c0e1', style: { display: 'none' } }, index.h("slot", { key: 'bd6996c4789091de98a2f01349990412278e51ee' }))), this.isRosterOpen && (index.h("div", { key: 'fb404a5fd2e4723bb54465a8e6b94d220052721d', class: "avatar-roster-backdrop", onClick: this.closeRoster }, index.h("div", { key: '81df0d927175829c2fe80e3c39bf81350011620e', class: "avatar-roster-content", onClick: e => e.stopPropagation() }, index.h("div", { key: '89cea0f5aed19f87eaab53bdab36b0ccf429dc54', class: "roster-header" }, index.h("h3", { key: '3d113ccb91edb0b47e7bccc311af3f52f09ed5f2' }, "Participants (", all.length, ")"), index.h("ui-button", { key: 'ad42880fadf89334d69ff0fca445adf7fb1b4494', variant: "ghost", onClick: this.closeRoster, ariaLabel: "Close roster", icon: "x", iconLibrary: "lucide", iconOnly: true, size: "sm" })), index.h("div", { key: 'd683e744b8a132d600d8681254c39b0569b1564c', class: "roster-list" }, all.map((avatar, idx) => (index.h("div", { key: idx, class: "roster-item" }, index.h("ui-avatar", { ...avatar, size: "s", shape: this.shape }), index.h("div", { class: "roster-info" }, index.h("span", { class: "roster-name" }, avatar.name || avatar.content || 'Anonymous'), avatar.status && index.h("span", { class: `roster-status status-${avatar.status}` }, avatar.status)))))))))));
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
AvatarGroup.style = avatarGroupCss();
|
|
137
|
-
|
|
138
|
-
const stackCss = () => `.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}:host{display:inline-block}:host(.stack-horizontal) .stack-container{flex-direction:row}:host(.stack-vertical) .stack-container{flex-direction:column}.stack-container{display:flex;gap:var(--stack-spacing, 8px)}:host(.stack-wrap-wrap) .stack-container{flex-wrap:wrap}:host(.stack-wrap-wrap-reverse) .stack-container{flex-wrap:wrap-reverse}:host(.stack-show-dividers) .stack-container{gap:0}:host(.stack-show-dividers) ::slotted(*:not(:last-child)){position:relative;margin-right:var(--stack-spacing, 8px);display:flex;align-items:center}:host(.stack-show-dividers) ::slotted(*:not(:last-child))::after{content:"";position:absolute;right:calc(var(--stack-spacing, 8px) / -2);background:var(--bg-primary, #e5e7eb)}:host(.stack-horizontal.stack-show-dividers) ::slotted(*:not(:last-child))::after{width:1px;height:60%;top:20%}:host(.stack-vertical.stack-show-dividers) ::slotted(*:not(:last-child))::after{height:1px;width:60%;left:20%;bottom:calc(var(--stack-spacing, 8px) / -2)}:host(.divider-dashed) ::slotted(*:not(:last-child))::after{border-right:1px dashed var(--border-default, #e5e7eb);background:none}:host(.divider-dotted) ::slotted(*:not(:last-child))::after{border-right:1px dotted var(--border-default, #e5e7eb);background:none}:host(.stack-overlap) .stack-container{padding-right:20px}:host(.stack-overlap) ::slotted(*){margin-right:var(--stack-overlap, -12px) !important;transition:transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0s, filter 0.3s ease;position:relative;z-index:1;border:2px solid var(--bg-primary, #ffffff);box-sizing:border-box;filter:drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));cursor:pointer}:host(.stack-overlap) ::slotted(*:hover){transform:translateY(-8px) scale(1.1) rotate(1deg);z-index:100 !important;filter:drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2))}:host(.stack-overlap) ::slotted(*:last-child){margin-right:0 !important}.stack-roster-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn 0.2s ease-out}.stack-roster-content{background:var(--bg-primary, #ffffff);width:90%;max-width:400px;max-height:80vh;border-radius:16px;box-shadow:0 25px 50px -12px rgba(0, 0, 0, 0.25);display:flex;flex-direction:column;overflow:hidden;animation:slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}.roster-header{padding:16px 20px;border-bottom:1px solid var(--border-subtle, #f1f5f9);display:flex;justify-content:space-between;align-items:center}.roster-header h4{margin:0;font-size:16px;font-weight:600;color:var(--text-primary, #1e293b)}.close-btn{background:var(--bg-secondary, #f1f5f9);border:none;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-muted, #64748b);font-size:18px;transition:all 0.2s}.close-btn:hover{background:var(--bg-primary, #e2e8f0);color:var(--text-primary, #0f172a)}.roster-list{padding:12px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.roster-item{padding:10px;border-radius:10px;background:var(--bg-primary, #f8fafc);border:1px solid var(--border-subtle, #f1f5f9);display:flex;align-items:center;transition:background 0.2s}.roster-item:hover{background:var(--bg-secondary, #f1f5f9)}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes slideUp{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.stack-overflow-indicator{display:flex;align-items:center;justify-content:center;min-width:32px;height:32px;border-radius:50%;background:var(--bg-secondary, #f3f4f6);border:2px solid var(--bg-primary, #ffffff);color:var(--text-secondary, #4b5563);font-size:12px;font-weight:600;z-index:10;cursor:pointer;transition:transform 0.2s}.stack-overflow-indicator:hover{transform:scale(1.1);background:var(--bg-primary, #e5e7eb)}@media (prefers-color-scheme: dark){.stack-roster-content{background:var(--bg-primary, #1e293b)}.roster-header h4{color:var(--text-standard, #ffffff)}.roster-item{background:var(--color-primary, #334155);border-color:var(--color-primary, #475569)}.roster-item:hover{background:var(--color-primary, #475569)}.stack-overflow-indicator{background:var(--color-primary, #374151);border-color:var(--border-strong, #1f2937);color:var(--text-standard, #f3f4f6)}.stack-overflow-indicator:hover{background:var(--color-primary, #4b5563)}}`;
|
|
139
|
-
|
|
140
|
-
const Stack = class {
|
|
141
|
-
constructor(hostRef) {
|
|
142
|
-
index.registerInstance(this, hostRef);
|
|
143
|
-
}
|
|
144
|
-
get el() { return index.getElement(this); }
|
|
145
|
-
/** Stacking direction */
|
|
146
|
-
direction = 'horizontal';
|
|
147
|
-
/** Flex wrap behavior */
|
|
148
|
-
wrap = 'nowrap';
|
|
149
|
-
/** Spacing between items (negative for overlap) */
|
|
150
|
-
spacing = '8px';
|
|
151
|
-
/** Align items */
|
|
152
|
-
align = 'center';
|
|
153
|
-
/** Justify content */
|
|
154
|
-
justify = 'start';
|
|
155
|
-
/** Maximum items to show before '+N' */
|
|
156
|
-
max = 0;
|
|
157
|
-
/** Whether to overlap items */
|
|
158
|
-
overlap = false;
|
|
159
|
-
/** Whether to show dividers between items */
|
|
160
|
-
showDividers = false;
|
|
161
|
-
/** Type of divider to show */
|
|
162
|
-
dividerType = 'solid';
|
|
163
|
-
childrenCount = 0;
|
|
164
|
-
isRosterOpen = false;
|
|
165
|
-
mutationObserver;
|
|
166
|
-
componentWillLoad() {
|
|
167
|
-
this.updateChildrenCount();
|
|
168
|
-
}
|
|
169
|
-
componentDidLoad() {
|
|
170
|
-
this.mutationObserver = new MutationObserver(() => {
|
|
171
|
-
this.updateChildrenCount();
|
|
172
|
-
});
|
|
173
|
-
this.mutationObserver.observe(this.el, { childList: true });
|
|
174
|
-
}
|
|
175
|
-
disconnectedCallback() {
|
|
176
|
-
if (this.mutationObserver) {
|
|
177
|
-
this.mutationObserver.disconnect();
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
toggleRoster = () => {
|
|
181
|
-
this.isRosterOpen = !this.isRosterOpen;
|
|
182
|
-
};
|
|
183
|
-
closeRoster = () => {
|
|
184
|
-
this.isRosterOpen = false;
|
|
185
|
-
};
|
|
186
|
-
updateChildrenVisibility(actualMax) {
|
|
187
|
-
Array.from(this.el.children).forEach((child, index) => {
|
|
188
|
-
if (index < actualMax) {
|
|
189
|
-
child.style.display = '';
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
child.style.display = 'none';
|
|
193
|
-
}
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
updateChildrenCount() {
|
|
197
|
-
this.childrenCount = this.el.children.length;
|
|
198
|
-
}
|
|
199
|
-
renderRoster(allChildren, total) {
|
|
200
|
-
return (index.h("div", { class: "stack-roster-backdrop", onClick: this.closeRoster }, index.h("div", { class: "stack-roster-content", onClick: e => e.stopPropagation() }, index.h("div", { class: "roster-header" }, index.h("div", { class: "roster-titles" }, index.h("h4", { class: "roster-main-title" }, "Hidden Items"), index.h("span", { class: "roster-sub-title" }, total, " items total")), index.h("ui-button", { variant: "ghost", onClick: this.closeRoster, ariaLabel: "Close roster", icon: "times", iconLibrary: "fontawesome", iconOnly: true, size: "sm" })), index.h("div", { class: "roster-list" }, allChildren.map((child, idx) => (index.h("div", { key: idx, class: "roster-item" }, index.h("div", { class: "roster-item-preview", innerHTML: security.sanitizeHTML(child.outerHTML) }), index.h("span", { class: "roster-item-label" }, "Item ", idx + 1))))))));
|
|
201
|
-
}
|
|
202
|
-
render() {
|
|
203
|
-
const isOverlapping = this.overlap || (this.spacing.startsWith('-'));
|
|
204
|
-
const actualMax = this.max > 0 ? this.max : this.childrenCount;
|
|
205
|
-
const overflowCount = this.childrenCount - actualMax;
|
|
206
|
-
const allChildren = Array.from(this.el.children);
|
|
207
|
-
// Update visibility after render to avoid layout thrashing
|
|
208
|
-
requestAnimationFrame(() => this.updateChildrenVisibility(actualMax));
|
|
209
|
-
return (index.h(index.Host, { key: '6568eda1f5875356d720bc67a8c234f6f97effcf', class: {
|
|
210
|
-
'ui-stack': true,
|
|
211
|
-
[`stack-${this.direction}`]: true,
|
|
212
|
-
[`stack-wrap-${this.wrap}`]: true,
|
|
213
|
-
'stack-overlap': isOverlapping,
|
|
214
|
-
'stack-show-dividers': this.showDividers && !isOverlapping,
|
|
215
|
-
[`divider-${this.dividerType}`]: this.showDividers
|
|
216
|
-
}, style: {
|
|
217
|
-
'--stack-spacing': isOverlapping ? '0' : this.spacing,
|
|
218
|
-
'--stack-overlap': isOverlapping ? (this.spacing.startsWith('-') ? this.spacing : '-12px') : '0',
|
|
219
|
-
'align-items': this.align,
|
|
220
|
-
'justify-content': this.justify,
|
|
221
|
-
'flex-wrap': this.wrap
|
|
222
|
-
} }, index.h("div", { key: '3363f516615fadfd894b42961f94d83a7a254011', class: "stack-container" }, index.h("slot", { key: '5f2c8cb4d62229c4439858f5433f30ed78d9bd71' }), overflowCount > 0 && (index.h("div", { key: 'eb7614444d0beba127e9d1a9ca125265dbcd5e43', class: "stack-overflow-indicator", onClick: (e) => { e.stopPropagation(); this.toggleRoster(); }, onKeyDown: (e) => {
|
|
223
|
-
if (e.key === 'Enter')
|
|
224
|
-
this.toggleRoster();
|
|
225
|
-
}, tabindex: "0", role: "button", title: `View ${overflowCount} more items` }, "+", overflowCount))), this.isRosterOpen && this.renderRoster(allChildren, this.childrenCount)));
|
|
226
|
-
}
|
|
227
|
-
};
|
|
228
|
-
Stack.style = stackCss();
|
|
229
|
-
|
|
230
|
-
const tagGroupCss = () => `.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}.a11y-sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border-width:0 !important}:host{display:block}.tag-group-container{display:flex;flex-direction:column;gap:12px;padding:8px 12px;border:1.5px solid var(--border-subtle, #e2e8f0);border-radius:10px;background:var(--bg-primary, #f8fafc);transition:all 0.2s cubic-bezier(0.4, 0, 0.2, 1);min-height:42px}.tag-group-container:focus-within{background:var(--bg-primary, #ffffff);border-color:var(--color-primary, #10b981);box-shadow:0 0 0 4px rgba(var(--color-primary-rgb, 59, 130, 246), 0.1)}.tag-group-container.is-readonly{background:transparent;border-color:transparent;padding:0;pointer-events:none}.tag-group-inline-input{flex:1;min-width:60px;border:none;background:transparent;font-size:13px;padding:4px 0;outline:none;color:var(--text-primary, #1e293b)}.tag-group-inline-input::placeholder{color:var(--color-primary, #94a3b8)}ui-stack[overlap] ui-tag,ui-stack[overlap=true] ui-tag{--ui-tag-border:2px solid var(--bg-primary, #ffffff) !important;transition:transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}ui-stack[overlap] ui-tag:hover,ui-stack[overlap=true] ui-tag:hover{transform:translateY(-4px) scale(1.1);z-index:100 !important}ui-tag[highlighted=true]{--ui-tag-bg:var(--color-primary, #10b981) !important;--ui-tag-color:var(--text-standard, #ffffff) !important;--ui-tag-border:1px solid var(--color-primary-hover, #2563eb) !important;transform:scale(1.05);box-shadow:0 4px 6px -1px rgba(var(--color-primary-rgb, 59, 130, 246), 0.2)}.tag-group-overflow-toggle{margin-top:4px;align-self:flex-start;background:var(--bg-secondary, #f1f5f9);border:1px solid var(--border-subtle, #e2e8f0);color:var(--text-muted, #64748b);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;cursor:pointer;padding:4px 12px;border-radius:999px;transition:all 0.2s ease}.tag-group-overflow-toggle:hover{background:var(--bg-primary, #ffffff);color:var(--color-primary, #10b981);border-color:var(--color-primary, #10b981);transform:translateY(-1px)}.tag-group-overflow-toggle:active{transform:translateY(0)}.tag-group-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;gap:8px;color:var(--color-primary, #94a3b8);background:transparent}.tag-group-empty ui-icon{opacity:0.4}.tag-group-empty span{font-size:13px;font-weight:500}.tag-group-empty.no-results{padding:12px;border-radius:8px;background:rgba(241, 245, 249, 0.5);color:var(--text-muted, #64748b);border:1px dashed var(--border-subtle, #e2e8f0)}`;
|
|
231
|
-
|
|
232
|
-
const TagGroup = class {
|
|
233
|
-
constructor(hostRef) {
|
|
234
|
-
index.registerInstance(this, hostRef);
|
|
235
|
-
this.tagAdd = index.createEvent(this, "tagAdd");
|
|
236
|
-
this.tagGroupChange = index.createEvent(this, "tagGroupChange");
|
|
237
|
-
}
|
|
238
|
-
get el() { return index.getElement(this); }
|
|
239
|
-
/**
|
|
240
|
-
* Maximum number of tags to display before hiding and showing (+N)
|
|
241
|
-
*/
|
|
242
|
-
max = 0;
|
|
243
|
-
/**
|
|
244
|
-
* Spacing between tags
|
|
245
|
-
*/
|
|
246
|
-
spacing = '8px';
|
|
247
|
-
/**
|
|
248
|
-
* Whether to overlap tags (avatar style)
|
|
249
|
-
*/
|
|
250
|
-
overlap = false;
|
|
251
|
-
/**
|
|
252
|
-
* Selected values (for checkable tags)
|
|
253
|
-
*/
|
|
254
|
-
value = [];
|
|
255
|
-
/**
|
|
256
|
-
* Selection mode: 'none', 'single', or 'multiple'
|
|
257
|
-
*/
|
|
258
|
-
selectionMode = 'none';
|
|
259
|
-
/**
|
|
260
|
-
* Bulk size for all tags in group
|
|
261
|
-
*/
|
|
262
|
-
size;
|
|
263
|
-
/**
|
|
264
|
-
* Bulk variant for all tags in group
|
|
265
|
-
*/
|
|
266
|
-
variant;
|
|
267
|
-
/**
|
|
268
|
-
* Bulk color for all tags in group
|
|
269
|
-
*/
|
|
270
|
-
color;
|
|
271
|
-
/**
|
|
272
|
-
* Whether all tags in group should be rounded
|
|
273
|
-
*/
|
|
274
|
-
rounded = false;
|
|
275
|
-
/**
|
|
276
|
-
* Whether all tags in group should be removable
|
|
277
|
-
*/
|
|
278
|
-
removable = false;
|
|
279
|
-
/**
|
|
280
|
-
* Whether users can add new tags (Premium)
|
|
281
|
-
*/
|
|
282
|
-
creatable = false;
|
|
283
|
-
/**
|
|
284
|
-
* Whether tags are filterable via search (Premium)
|
|
285
|
-
*/
|
|
286
|
-
searchable = false;
|
|
287
|
-
/**
|
|
288
|
-
* Whether overflow tags can be toggled to show (Premium)
|
|
289
|
-
*/
|
|
290
|
-
collapsible = false;
|
|
291
|
-
/**
|
|
292
|
-
* Case sensitivity for search and duplicates
|
|
293
|
-
*/
|
|
294
|
-
caseSensitive = false;
|
|
295
|
-
/**
|
|
296
|
-
* Delimiters to trigger tag creation
|
|
297
|
-
*/
|
|
298
|
-
delimiters = [',', ' '];
|
|
299
|
-
/**
|
|
300
|
-
* Whether all tags in group should show as skeletons
|
|
301
|
-
*/
|
|
302
|
-
skeleton = false;
|
|
303
|
-
/**
|
|
304
|
-
* Bulk shape for all tags in group
|
|
305
|
-
*/
|
|
306
|
-
shape;
|
|
307
|
-
/**
|
|
308
|
-
* Bulk animation for all tags in group
|
|
309
|
-
*/
|
|
310
|
-
animation;
|
|
311
|
-
/**
|
|
312
|
-
* Whether the entire group is read-only (disables all selection/removal)
|
|
313
|
-
*/
|
|
314
|
-
readOnly = false;
|
|
315
|
-
/**
|
|
316
|
-
* Placeholder text when group is empty (creatable mode)
|
|
317
|
-
*/
|
|
318
|
-
placeholder = 'Add tag...';
|
|
319
|
-
/**
|
|
320
|
-
* Event emitted when a new tag is added
|
|
321
|
-
*/
|
|
322
|
-
tagAdd;
|
|
323
|
-
searchQuery = '';
|
|
324
|
-
isExpanded = false;
|
|
325
|
-
isLastTagHighlighted = false;
|
|
326
|
-
tagGroupChange;
|
|
327
|
-
handleKeyDown(ev) {
|
|
328
|
-
if (this.readOnly)
|
|
329
|
-
return;
|
|
330
|
-
const tags = Array.from(this.el.querySelectorAll('ui-tag'));
|
|
331
|
-
const activeElement = this.el.shadowRoot?.activeElement || document.activeElement;
|
|
332
|
-
// Find if any tag is focused or contains focus
|
|
333
|
-
const focusedTagIndex = tags.findIndex(t => t === activeElement || t.contains(activeElement));
|
|
334
|
-
const isInputFocused = activeElement === this.el.shadowRoot?.querySelector('.tag-group-inline-input');
|
|
335
|
-
if (ev.key === 'ArrowLeft') {
|
|
336
|
-
if (isInputFocused && ev.target.selectionStart === 0) {
|
|
337
|
-
// Focus last tag
|
|
338
|
-
if (tags.length > 0) {
|
|
339
|
-
tags[tags.length - 1].focus();
|
|
340
|
-
ev.preventDefault();
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
else if (focusedTagIndex > 0) {
|
|
344
|
-
tags[focusedTagIndex - 1].focus();
|
|
345
|
-
ev.preventDefault();
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
else if (ev.key === 'ArrowRight') {
|
|
349
|
-
if (focusedTagIndex !== -1) {
|
|
350
|
-
if (focusedTagIndex === tags.length - 1) {
|
|
351
|
-
this.el.shadowRoot?.querySelector('.tag-group-inline-input')?.focus();
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
tags[focusedTagIndex + 1].focus();
|
|
355
|
-
}
|
|
356
|
-
ev.preventDefault();
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
else if ((ev.key === 'Backspace' || ev.key === 'Delete') && focusedTagIndex !== -1) {
|
|
360
|
-
const tagToRemove = tags[focusedTagIndex];
|
|
361
|
-
const nextToFocus = focusedTagIndex < tags.length - 1 ? tags[focusedTagIndex + 1] : this.el.shadowRoot?.querySelector('.tag-group-inline-input');
|
|
362
|
-
if (this.removable) {
|
|
363
|
-
const tagValue = tagToRemove.value || tagToRemove.label;
|
|
364
|
-
this.removeTagByValue(tagValue);
|
|
365
|
-
if (nextToFocus)
|
|
366
|
-
nextToFocus.focus();
|
|
367
|
-
ev.preventDefault();
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
handleGroupChange() {
|
|
372
|
-
this.updateChildren();
|
|
373
|
-
}
|
|
374
|
-
handleTagRemove(ev) {
|
|
375
|
-
if (this.readOnly)
|
|
376
|
-
return;
|
|
377
|
-
// Find the tag that was removed
|
|
378
|
-
const tag = ev.target;
|
|
379
|
-
if (!tag)
|
|
380
|
-
return;
|
|
381
|
-
const tagValue = tag.value || tag.label;
|
|
382
|
-
// If it was selected, remove it from the value array
|
|
383
|
-
if (Array.isArray(this.value)) {
|
|
384
|
-
const index = this.value.indexOf(tagValue);
|
|
385
|
-
if (index > -1) {
|
|
386
|
-
const newValue = [...this.value];
|
|
387
|
-
newValue.splice(index, 1);
|
|
388
|
-
this.value = newValue;
|
|
389
|
-
this.tagGroupChange.emit(this.value);
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
else if (this.value === tagValue) {
|
|
393
|
-
this.value = '';
|
|
394
|
-
this.tagGroupChange.emit(this.value);
|
|
395
|
-
}
|
|
396
|
-
// Explicitly remove from DOM if it's a child of this component
|
|
397
|
-
if (tag.parentNode === this.el) {
|
|
398
|
-
this.el.removeChild(tag);
|
|
399
|
-
}
|
|
400
|
-
// Delay updating children slightly to allow for removal animation
|
|
401
|
-
setTimeout(() => this.updateChildren(), 50);
|
|
402
|
-
}
|
|
403
|
-
handleTagCheck(ev) {
|
|
404
|
-
if (this.readOnly || this.selectionMode === 'none')
|
|
405
|
-
return;
|
|
406
|
-
const tag = ev.target;
|
|
407
|
-
const tagValue = tag.value || tag.label;
|
|
408
|
-
if (this.selectionMode === 'single') {
|
|
409
|
-
this.value = ev.detail ? tagValue : '';
|
|
410
|
-
this.syncSelection();
|
|
411
|
-
}
|
|
412
|
-
else {
|
|
413
|
-
const current = Array.isArray(this.value) ? [...this.value] : (this.value ? [this.value] : []);
|
|
414
|
-
if (ev.detail) {
|
|
415
|
-
if (!current.includes(tagValue))
|
|
416
|
-
current.push(tagValue);
|
|
417
|
-
}
|
|
418
|
-
else {
|
|
419
|
-
const index = current.indexOf(tagValue);
|
|
420
|
-
if (index > -1)
|
|
421
|
-
current.splice(index, 1);
|
|
422
|
-
}
|
|
423
|
-
this.value = current;
|
|
424
|
-
this.syncSelection();
|
|
425
|
-
}
|
|
426
|
-
this.tagGroupChange.emit(this.value);
|
|
427
|
-
}
|
|
428
|
-
componentDidLoad() {
|
|
429
|
-
this.updateChildren();
|
|
430
|
-
// Listen for slot changes
|
|
431
|
-
const slot = this.el.shadowRoot?.querySelector('slot');
|
|
432
|
-
if (slot) {
|
|
433
|
-
slot.addEventListener('slotchange', () => this.updateChildren());
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
updateChildren() {
|
|
437
|
-
const tags = Array.from(this.el.querySelectorAll('ui-tag'));
|
|
438
|
-
const query = this.searchQuery.toLowerCase();
|
|
439
|
-
tags.forEach((tag, index) => {
|
|
440
|
-
// Apply bulk styles
|
|
441
|
-
if (this.size)
|
|
442
|
-
tag.size = this.size;
|
|
443
|
-
if (this.variant)
|
|
444
|
-
tag.variant = this.variant;
|
|
445
|
-
if (this.color)
|
|
446
|
-
tag.color = this.color;
|
|
447
|
-
// Default to circle if overlapping and no shape set
|
|
448
|
-
if (this.overlap && !this.shape && !tag.shape) {
|
|
449
|
-
tag.shape = 'circle';
|
|
450
|
-
}
|
|
451
|
-
else if (this.shape) {
|
|
452
|
-
tag.shape = this.shape;
|
|
453
|
-
}
|
|
454
|
-
else if (this.rounded) {
|
|
455
|
-
tag.shape = 'pill';
|
|
456
|
-
}
|
|
457
|
-
if (this.skeleton)
|
|
458
|
-
tag.skeleton = this.skeleton;
|
|
459
|
-
if (this.animation)
|
|
460
|
-
tag.animation = this.animation;
|
|
461
|
-
tag.removable = this.readOnly ? false : this.removable;
|
|
462
|
-
tag.disabled = this.readOnly;
|
|
463
|
-
if (this.selectionMode !== 'none')
|
|
464
|
-
tag.checkable = true;
|
|
465
|
-
// Handle filtering
|
|
466
|
-
const label = tag.label || '';
|
|
467
|
-
const matches = label.toLowerCase().includes(query);
|
|
468
|
-
// Handle max/collapsible
|
|
469
|
-
const isOverMax = this.max > 0 && index >= this.max;
|
|
470
|
-
const isHighlighted = this.isLastTagHighlighted && index === (tags.length - 1);
|
|
471
|
-
if (isHighlighted) {
|
|
472
|
-
tag.setAttribute('highlighted', 'true');
|
|
473
|
-
}
|
|
474
|
-
else {
|
|
475
|
-
tag.removeAttribute('highlighted');
|
|
476
|
-
}
|
|
477
|
-
const shouldBeVisible = matches && (!isOverMax || this.isExpanded);
|
|
478
|
-
tag.style.display = shouldBeVisible ? '' : 'none';
|
|
479
|
-
});
|
|
480
|
-
this.syncSelection();
|
|
481
|
-
}
|
|
482
|
-
syncSelection() {
|
|
483
|
-
const tags = Array.from(this.el.querySelectorAll('ui-tag'));
|
|
484
|
-
const currentSelected = Array.isArray(this.value) ? this.value : [this.value];
|
|
485
|
-
tags.forEach((tag) => {
|
|
486
|
-
const tagValue = tag.value || tag.label;
|
|
487
|
-
tag.checked = currentSelected.includes(tagValue);
|
|
488
|
-
});
|
|
489
|
-
}
|
|
490
|
-
handleSearch = (ev) => {
|
|
491
|
-
this.searchQuery = ev.detail;
|
|
492
|
-
this.updateChildren();
|
|
493
|
-
};
|
|
494
|
-
addTags(input) {
|
|
495
|
-
if (!input)
|
|
496
|
-
return;
|
|
497
|
-
this.isLastTagHighlighted = false;
|
|
498
|
-
// Escape delimiters for regex
|
|
499
|
-
const escapedDelimiters = this.delimiters.map(d => d.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')).join('|');
|
|
500
|
-
const regex = new RegExp(escapedDelimiters || ',', 'g');
|
|
501
|
-
const labels = input.split(regex).map(s => s.trim()).filter(s => !!s);
|
|
502
|
-
labels.forEach(label => {
|
|
503
|
-
// Check for duplicates (pulse logic)
|
|
504
|
-
const allTags = Array.from(this.el.querySelectorAll('ui-tag'));
|
|
505
|
-
const existing = allTags.find((t) => this.caseSensitive
|
|
506
|
-
? t.label === label
|
|
507
|
-
: t.label.toLowerCase() === label.toLowerCase());
|
|
508
|
-
if (existing) {
|
|
509
|
-
existing.pulse = true;
|
|
510
|
-
setTimeout(() => existing.pulse = false, 2000);
|
|
511
|
-
}
|
|
512
|
-
else {
|
|
513
|
-
const newTag = document.createElement('ui-tag');
|
|
514
|
-
newTag.setAttribute('label', label);
|
|
515
|
-
this.el.appendChild(newTag);
|
|
516
|
-
this.tagAdd.emit(label);
|
|
517
|
-
}
|
|
518
|
-
});
|
|
519
|
-
this.updateChildren();
|
|
520
|
-
}
|
|
521
|
-
removeLastTag() {
|
|
522
|
-
const tags = Array.from(this.el.querySelectorAll('ui-tag'));
|
|
523
|
-
if (tags.length > 0) {
|
|
524
|
-
const last = tags[tags.length - 1];
|
|
525
|
-
// Emit removal sync
|
|
526
|
-
const tagValue = last.value || last.label;
|
|
527
|
-
// Sync internal selection if needed
|
|
528
|
-
if (Array.isArray(this.value)) {
|
|
529
|
-
const idx = this.value.indexOf(tagValue);
|
|
530
|
-
if (idx > -1) {
|
|
531
|
-
const newValue = [...this.value];
|
|
532
|
-
newValue.splice(idx, 1);
|
|
533
|
-
this.value = newValue;
|
|
534
|
-
this.tagGroupChange.emit(this.value);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
this.el.removeChild(last);
|
|
538
|
-
this.updateChildren();
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
removeTagByValue(tagValue) {
|
|
542
|
-
if (Array.isArray(this.value)) {
|
|
543
|
-
const index = this.value.indexOf(tagValue);
|
|
544
|
-
if (index > -1) {
|
|
545
|
-
const newValue = [...this.value];
|
|
546
|
-
newValue.splice(index, 1);
|
|
547
|
-
this.value = newValue;
|
|
548
|
-
this.tagGroupChange.emit(this.value);
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
else if (this.value === tagValue) {
|
|
552
|
-
this.value = '';
|
|
553
|
-
this.tagGroupChange.emit(this.value);
|
|
554
|
-
}
|
|
555
|
-
const tags = Array.from(this.el.querySelectorAll('ui-tag'));
|
|
556
|
-
const tag = tags.find(t => (t.value || t.label) === tagValue);
|
|
557
|
-
if (tag) {
|
|
558
|
-
this.el.removeChild(tag);
|
|
559
|
-
}
|
|
560
|
-
this.updateChildren();
|
|
561
|
-
}
|
|
562
|
-
handleAddTag = (ev) => {
|
|
563
|
-
const input = ev.detail.target;
|
|
564
|
-
const val = input.value;
|
|
565
|
-
const key = ev.detail.key;
|
|
566
|
-
if (key === 'Enter' || (this.delimiters.includes(key) && val.trim())) {
|
|
567
|
-
if (this.delimiters.includes(key)) {
|
|
568
|
-
ev.detail.preventDefault();
|
|
569
|
-
}
|
|
570
|
-
this.addTags(val);
|
|
571
|
-
input.value = '';
|
|
572
|
-
return;
|
|
573
|
-
}
|
|
574
|
-
if (key === 'Backspace' && !val) {
|
|
575
|
-
if (this.isLastTagHighlighted) {
|
|
576
|
-
this.removeLastTag();
|
|
577
|
-
this.isLastTagHighlighted = false;
|
|
578
|
-
}
|
|
579
|
-
else {
|
|
580
|
-
this.isLastTagHighlighted = true;
|
|
581
|
-
this.updateChildren();
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
else if (val || key !== 'Backspace') {
|
|
585
|
-
this.isLastTagHighlighted = false;
|
|
586
|
-
this.updateChildren();
|
|
587
|
-
}
|
|
588
|
-
if (key === 'Escape') {
|
|
589
|
-
this.isLastTagHighlighted = false;
|
|
590
|
-
this.updateChildren();
|
|
591
|
-
}
|
|
592
|
-
};
|
|
593
|
-
// private handlePaste = (ev: ClipboardEvent) => {
|
|
594
|
-
// ev.preventDefault();
|
|
595
|
-
// const text = ev.clipboardData.getData('text');
|
|
596
|
-
// this.addTags(text);
|
|
597
|
-
// (ev.target as HTMLInputElement).value = '';
|
|
598
|
-
// }
|
|
599
|
-
toggleExpand = () => {
|
|
600
|
-
this.isExpanded = !this.isExpanded;
|
|
601
|
-
};
|
|
602
|
-
render() {
|
|
603
|
-
const allTags = Array.from(this.el.querySelectorAll('ui-tag'));
|
|
604
|
-
const visibleTags = allTags.filter((t) => t.style.display !== 'none');
|
|
605
|
-
const canShowExpand = this.max > 0 && allTags.length > this.max;
|
|
606
|
-
const isEmpty = allTags.length === 0;
|
|
607
|
-
const noResults = allTags.length > 0 && visibleTags.length === 0;
|
|
608
|
-
const showInlineInput = (this.searchable || this.creatable) && !this.readOnly;
|
|
609
|
-
return (index.h(index.Host, { key: 'a27c92c78b6c9072b966c299c67ce1677ee9e036' }, index.h("div", { key: 'f043228fbbe2f79c2800384c2dacaa1cb0148505', class: {
|
|
610
|
-
'tag-group-container': true,
|
|
611
|
-
'is-readonly': this.readOnly,
|
|
612
|
-
'is-empty': isEmpty
|
|
613
|
-
} }, index.h("ui-stack", { key: 'ca9b9a02f7650193b1633fc4a1b0c5c37e51229a', spacing: this.spacing, overlap: this.overlap, max: this.isExpanded ? 0 : this.max, wrap: "wrap" }, index.h("slot", { key: 'd764e67e7dc971c7949d24db226ab9154a657e27' }), showInlineInput && (index.h("ui-input", { key: '271591fa4b6bdca9aa879a0179c87018bcd744fc', type: "text", class: "tag-group-inline-input", placeholder: isEmpty ? this.placeholder : '', value: this.searchQuery, onInputChange: this.handleSearch, onInputKeydown: this.handleAddTag, size: "sm", variant: "borderless", hideBorder: true, fullWidth: true }))), noResults && (index.h("div", { key: '32a338d6978df6192b25a0e98f27079aa3b39ef9', class: "tag-group-empty no-results" }, index.h("span", { key: 'ce1d744f56bbd0c85eab6e9c458fade4c1b12fd1' }, "No tags match \"", this.searchQuery, "\""))) || (isEmpty && this.readOnly && (index.h("div", { key: '306938778dae4c4c1890278a67a1df651850792b', class: "tag-group-empty" }, index.h("ui-icon", { key: 'b0d025b5476d3895ff968b72eb06d5afff79b870', name: "tag", library: "lucide", size: "1.4em" }), index.h("span", { key: '52debfaff2c840d1a8c56119f81ec22380082392' }, "No items assigned")))), this.collapsible && canShowExpand && (index.h("ui-button", { key: 'a689ec4aa7f4536f0babc1edf0edeae22a151630', variant: "ghost", size: "sm", class: "tag-group-overflow-toggle", onClick: this.toggleExpand, label: this.isExpanded ? 'Show less' : `View all ${allTags.length} items` })))));
|
|
614
|
-
}
|
|
615
|
-
static get watchers() { return {
|
|
616
|
-
"isExpanded": [{
|
|
617
|
-
"handleGroupChange": 0
|
|
618
|
-
}],
|
|
619
|
-
"skeleton": [{
|
|
620
|
-
"handleGroupChange": 0
|
|
621
|
-
}],
|
|
622
|
-
"shape": [{
|
|
623
|
-
"handleGroupChange": 0
|
|
624
|
-
}],
|
|
625
|
-
"color": [{
|
|
626
|
-
"handleGroupChange": 0
|
|
627
|
-
}]
|
|
628
|
-
}; }
|
|
629
|
-
};
|
|
630
|
-
TagGroup.style = tagGroupCss();
|
|
631
|
-
|
|
632
|
-
exports.ui_avatar_group = AvatarGroup;
|
|
633
|
-
exports.ui_stack = Stack;
|
|
634
|
-
exports.ui_tag_group = TagGroup;
|