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
|
@@ -37,6 +37,8 @@ export class Avatar {
|
|
|
37
37
|
statusPosition = 'bottom-right';
|
|
38
38
|
/** Show status indicator */
|
|
39
39
|
showStatus = false;
|
|
40
|
+
/** Size of the status indicator dot. Accepts a number (px) or any CSS size value. */
|
|
41
|
+
indicatorSize;
|
|
40
42
|
/** Badge count/text overlay */
|
|
41
43
|
badge = '';
|
|
42
44
|
/** Badge position */
|
|
@@ -391,6 +393,31 @@ export class Avatar {
|
|
|
391
393
|
const textContent = this.name || this.el.textContent?.trim();
|
|
392
394
|
return textContent || '';
|
|
393
395
|
}
|
|
396
|
+
getIndicatorSizeStyles() {
|
|
397
|
+
if (this.indicatorSize === undefined || this.indicatorSize === null || this.indicatorSize === '') {
|
|
398
|
+
return undefined;
|
|
399
|
+
}
|
|
400
|
+
const rawIndicatorSize = typeof this.indicatorSize === 'string'
|
|
401
|
+
? this.indicatorSize.trim()
|
|
402
|
+
: this.indicatorSize;
|
|
403
|
+
let rawSize;
|
|
404
|
+
if (typeof rawIndicatorSize === 'number') {
|
|
405
|
+
rawSize = `${rawIndicatorSize}px`;
|
|
406
|
+
}
|
|
407
|
+
else if (/^\d+(?:\.\d+)?$/.test(rawIndicatorSize)) {
|
|
408
|
+
rawSize = `${rawIndicatorSize}px`;
|
|
409
|
+
}
|
|
410
|
+
else {
|
|
411
|
+
rawSize = rawIndicatorSize;
|
|
412
|
+
}
|
|
413
|
+
return {
|
|
414
|
+
'--avatar-status-size': rawSize,
|
|
415
|
+
'--avatar-status-border-width': `max(1px, calc(${rawSize} * 0.2))`,
|
|
416
|
+
'--avatar-status-offline-inset': `max(1px, calc(${rawSize} * 0.2))`,
|
|
417
|
+
'--avatar-status-busy-width': `calc(${rawSize} * 0.6)`,
|
|
418
|
+
'--avatar-status-busy-height': `max(1px, calc(${rawSize} * 0.15))`,
|
|
419
|
+
};
|
|
420
|
+
}
|
|
394
421
|
renderStatusIndicator() {
|
|
395
422
|
if (!this.showStatus || !this.status)
|
|
396
423
|
return null;
|
|
@@ -400,7 +427,7 @@ export class Avatar {
|
|
|
400
427
|
[`avatar-status-${this.statusPosition}`]: true,
|
|
401
428
|
'avatar-status-pulse': this.statusPulse,
|
|
402
429
|
};
|
|
403
|
-
return h("span", { class: statusClass });
|
|
430
|
+
return h("span", { class: statusClass, style: this.getIndicatorSizeStyles() });
|
|
404
431
|
}
|
|
405
432
|
renderBadge() {
|
|
406
433
|
if (!this.badge)
|
|
@@ -463,16 +490,22 @@ export class Avatar {
|
|
|
463
490
|
getAllAvatarData() {
|
|
464
491
|
if (this.avatars && this.avatars.length > 0)
|
|
465
492
|
return this.avatars;
|
|
466
|
-
return this.slottedAvatars.map(el =>
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
493
|
+
return this.slottedAvatars.map(el => {
|
|
494
|
+
const data = {
|
|
495
|
+
content: el.textContent?.trim() || undefined,
|
|
496
|
+
tooltipText: el.getAttribute('name') || el.textContent?.trim() || undefined,
|
|
497
|
+
};
|
|
498
|
+
Array.from(el.attributes).forEach((attr) => {
|
|
499
|
+
const camelCase = attr.name.replace(/-([a-z])/g, (g) => g[1].toUpperCase());
|
|
500
|
+
let val = attr.value;
|
|
501
|
+
if (val === 'true' || val === '')
|
|
502
|
+
val = true;
|
|
503
|
+
if (val === 'false')
|
|
504
|
+
val = false;
|
|
505
|
+
data[camelCase] = val;
|
|
506
|
+
});
|
|
507
|
+
return data;
|
|
508
|
+
});
|
|
476
509
|
}
|
|
477
510
|
renderExcessCount(total, max) {
|
|
478
511
|
const excess = total - max;
|
|
@@ -994,6 +1027,25 @@ export class Avatar {
|
|
|
994
1027
|
"attribute": "show-status",
|
|
995
1028
|
"defaultValue": "false"
|
|
996
1029
|
},
|
|
1030
|
+
"indicatorSize": {
|
|
1031
|
+
"type": "any",
|
|
1032
|
+
"mutable": false,
|
|
1033
|
+
"complexType": {
|
|
1034
|
+
"original": "number | string",
|
|
1035
|
+
"resolved": "number | string",
|
|
1036
|
+
"references": {}
|
|
1037
|
+
},
|
|
1038
|
+
"required": false,
|
|
1039
|
+
"optional": true,
|
|
1040
|
+
"docs": {
|
|
1041
|
+
"tags": [],
|
|
1042
|
+
"text": "Size of the status indicator dot. Accepts a number (px) or any CSS size value."
|
|
1043
|
+
},
|
|
1044
|
+
"getter": false,
|
|
1045
|
+
"setter": false,
|
|
1046
|
+
"reflect": false,
|
|
1047
|
+
"attribute": "indicator-size"
|
|
1048
|
+
},
|
|
997
1049
|
"badge": {
|
|
998
1050
|
"type": "any",
|
|
999
1051
|
"mutable": false,
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
|
|
211
211
|
/* Colors - Outlined */
|
|
212
212
|
.badge-outlined {
|
|
213
|
-
background-color:
|
|
213
|
+
background-color: transparent;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
.badge-outlined.badge-primary {
|
|
@@ -269,26 +269,34 @@
|
|
|
269
269
|
transform: scale(0.95);
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
/* Closeable badges need pointer events and
|
|
272
|
+
/* Closeable badges need pointer events and auto width to fit both text and icon */
|
|
273
273
|
.badge.badge-closable {
|
|
274
274
|
pointer-events: auto !important;
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
padding-left:
|
|
278
|
-
padding-right:
|
|
275
|
+
width: auto !important;
|
|
276
|
+
min-width: var(--badge-size, 20px) !important;
|
|
277
|
+
padding-left: 0.6em !important;
|
|
278
|
+
padding-right: 0.3em !important;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.badge.badge-closable.badge-shape-circle {
|
|
282
|
+
border-radius: 9999px; /* Gracefully become a pill instead of an elliptical oval */
|
|
279
283
|
}
|
|
280
284
|
|
|
281
285
|
/* Close Button */
|
|
282
286
|
.badge-close {
|
|
287
|
+
display: inline-flex;
|
|
288
|
+
align-items: center;
|
|
289
|
+
justify-content: center;
|
|
283
290
|
background: none;
|
|
284
291
|
border: none;
|
|
285
292
|
color: inherit;
|
|
286
293
|
cursor: pointer;
|
|
287
|
-
padding:
|
|
294
|
+
padding: 2px;
|
|
288
295
|
margin-left: 4px;
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
296
|
+
border-radius: 50%;
|
|
297
|
+
font-size: 1em;
|
|
298
|
+
opacity: 0.7;
|
|
299
|
+
transition: opacity 0.2s ease, transform 0.1s ease, background-color 0.2s ease;
|
|
292
300
|
line-height: 1;
|
|
293
301
|
pointer-events: auto;
|
|
294
302
|
position: relative;
|
|
@@ -297,11 +305,13 @@
|
|
|
297
305
|
|
|
298
306
|
.badge-close:hover {
|
|
299
307
|
opacity: 1;
|
|
308
|
+
transform: scale(1.1);
|
|
309
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
300
310
|
}
|
|
301
311
|
|
|
302
312
|
/* Bordered Variant */
|
|
303
313
|
.badge-bordered {
|
|
304
|
-
background-color:
|
|
314
|
+
background-color: transparent;
|
|
305
315
|
border: 2px solid currentColor;
|
|
306
316
|
}
|
|
307
317
|
|
|
@@ -337,32 +347,32 @@
|
|
|
337
347
|
|
|
338
348
|
/* Soft Variant */
|
|
339
349
|
.badge-soft.badge-primary {
|
|
340
|
-
background-color: var(--
|
|
350
|
+
background-color: var(--color-primary-soft, #ecfdf5);
|
|
341
351
|
color: var(--color-primary, #10b981);
|
|
342
352
|
}
|
|
343
353
|
|
|
344
354
|
.badge-soft.badge-secondary {
|
|
345
|
-
background-color: var(--
|
|
355
|
+
background-color: var(--color-secondary-soft, #f3f4f6);
|
|
346
356
|
color: var(--text-muted, #6b7280);
|
|
347
357
|
}
|
|
348
358
|
|
|
349
359
|
.badge-soft.badge-success {
|
|
350
|
-
background-color: var(--
|
|
360
|
+
background-color: var(--color-success-soft, #ecfdf5);
|
|
351
361
|
color: var(--color-success, #10b981);
|
|
352
362
|
}
|
|
353
363
|
|
|
354
364
|
.badge-soft.badge-danger {
|
|
355
|
-
background-color: var(--
|
|
365
|
+
background-color: var(--color-danger-soft, #fef2f2);
|
|
356
366
|
color: var(--color-danger, #ef4444);
|
|
357
367
|
}
|
|
358
368
|
|
|
359
369
|
.badge-soft.badge-warning {
|
|
360
|
-
background-color: var(--
|
|
370
|
+
background-color: var(--color-warning-soft, #fffbeb);
|
|
361
371
|
color: var(--color-warning, #f59e0b);
|
|
362
372
|
}
|
|
363
373
|
|
|
364
374
|
.badge-soft.badge-info {
|
|
365
|
-
background-color: var(--
|
|
375
|
+
background-color: var(--color-info-soft, #ecfeff);
|
|
366
376
|
color: var(--color-info, #06b6d4);
|
|
367
377
|
}
|
|
368
378
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class Badge {
|
|
3
|
+
hostElement;
|
|
3
4
|
/**
|
|
4
5
|
* Content/number to display in badge
|
|
5
6
|
*/
|
|
@@ -132,7 +133,8 @@ export class Badge {
|
|
|
132
133
|
if (!this.isVisible)
|
|
133
134
|
return null;
|
|
134
135
|
const displayValue = this.getDisplayValue();
|
|
135
|
-
const
|
|
136
|
+
const hasSlotContent = !!this.hostElement.querySelector('[slot="badge-content"]');
|
|
137
|
+
const shouldShow = this.dot || displayValue !== '' || this.icon || hasSlotContent;
|
|
136
138
|
const displayValueStr = displayValue.toString();
|
|
137
139
|
const isSingleChar = displayValueStr.length === 1 && !this.icon;
|
|
138
140
|
const classes = [
|
|
@@ -160,7 +162,7 @@ export class Badge {
|
|
|
160
162
|
style['background-color'] = this.customColor;
|
|
161
163
|
if (this.customTextColor)
|
|
162
164
|
style['color'] = this.customTextColor;
|
|
163
|
-
return (h(Host, { dir: this.rtl ? 'rtl' : undefined }, h("div", { class: "badge-wrapper" }, h("slot", null), shouldShow && (h("span", { class: classes, style: style, onClick: this.handleClick }, this.icon && this.iconPosition === 'left' && !this.dot && (h("span", { class: "badge-icon" }, h("ui-icon", { name: this.icon, library: this.iconLibrary, size: "1.1em" }))), h("slot", { name: "badge-content" }, !this.dot && displayValue), this.icon && this.iconPosition === 'right' && !this.dot && (h("span", { class: "badge-icon" }, h("ui-icon", { name: this.icon, library: this.iconLibrary, size: "1.1em" }))), this.closeable && (h("
|
|
165
|
+
return (h(Host, { dir: this.rtl ? 'rtl' : undefined }, h("div", { class: "badge-wrapper" }, h("slot", null), shouldShow && (h("span", { class: classes, style: style, onClick: this.handleClick }, this.icon && this.iconPosition === 'left' && !this.dot && (h("span", { class: "badge-icon" }, h("ui-icon", { name: this.icon, library: this.iconLibrary, size: "1.1em" }))), h("slot", { name: "badge-content" }, !this.dot && displayValue), this.icon && this.iconPosition === 'right' && !this.dot && (h("span", { class: "badge-icon" }, h("ui-icon", { name: this.icon, library: this.iconLibrary, size: "1.1em" }))), this.closeable && (h("span", { class: "badge-close", onClick: this.handleClose, "aria-label": "Close badge", role: "button", tabindex: "0" }, h("ui-icon", { name: "x", library: "lucide", size: "1em" }))))))));
|
|
164
166
|
}
|
|
165
167
|
static get is() { return "ui-badge"; }
|
|
166
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -220,7 +222,7 @@ export class Badge {
|
|
|
220
222
|
"mutable": false,
|
|
221
223
|
"complexType": {
|
|
222
224
|
"original": "StatusColor",
|
|
223
|
-
"resolved": "\"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\"",
|
|
225
|
+
"resolved": "\"black\" | \"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\" | \"white\"",
|
|
224
226
|
"references": {
|
|
225
227
|
"StatusColor": {
|
|
226
228
|
"location": "import",
|
|
@@ -720,4 +722,5 @@ export class Badge {
|
|
|
720
722
|
}
|
|
721
723
|
}];
|
|
722
724
|
}
|
|
725
|
+
static get elementRef() { return "hostElement"; }
|
|
723
726
|
}
|
|
@@ -39,8 +39,8 @@ export class BreadcrumbItemComponent {
|
|
|
39
39
|
'disabled': this.disabled,
|
|
40
40
|
[`size-${this.size}`]: true,
|
|
41
41
|
};
|
|
42
|
-
const content = (h("span", { key: '
|
|
43
|
-
return (h(Host, { key: '
|
|
42
|
+
const content = (h("span", { key: '05f34f83d3f1bf069dce5942c543969be61213b9', class: "breadcrumb-content" }, this.icon && (h("span", { key: 'a7f149671e841edc15caafb4c3f9bafc71a7271a', class: "breadcrumb-icon" }, h("ui-icon", { key: 'c3c58f5cd81851e138fbce645f57bfff0dc1cbb8', name: this.icon, library: this.iconLibrary, size: "1.1em" }))), h("span", { key: 'cf7f46a53174ffebe4d51288164b9ffc798fb428', class: "breadcrumb-label" }, h("slot", { key: 'd93e29958c18269d8fdb2c9e3fc46554cf191ed7' }, this.label)), this.badge !== undefined && (h("span", { key: '96f4c6783184aedb03161046018c179a089c94b5', class: "breadcrumb-badge" }, this.badge))));
|
|
43
|
+
return (h(Host, { key: 'db0123ea2494998e20fa67557bdc2ea374811767', class: "breadcrumb-item-wrapper" }, this.href && !this.disabled && !this.active ? (h("a", { href: this.href, class: classes, "aria-current": this.active ? 'page' : undefined }, content)) : (h("span", { class: classes, "aria-current": this.active ? 'page' : undefined }, content))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "ui-breadcrumb-item"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -421,6 +421,7 @@
|
|
|
421
421
|
|
|
422
422
|
/* Soft Variant (Premium Refinement) */
|
|
423
423
|
.btn-soft {
|
|
424
|
+
background: var(--btn-soft-bg, rgba(var(--color-primary-rgb, 59, 130, 246), 0.15));
|
|
424
425
|
color: var(--label-color, var(--text-primary, #1e293b));
|
|
425
426
|
border-color: transparent;
|
|
426
427
|
box-shadow: none;
|
|
@@ -736,7 +736,7 @@ export class Button {
|
|
|
736
736
|
"mutable": false,
|
|
737
737
|
"complexType": {
|
|
738
738
|
"original": "StatusColor",
|
|
739
|
-
"resolved": "\"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\"",
|
|
739
|
+
"resolved": "\"black\" | \"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\" | \"white\"",
|
|
740
740
|
"references": {
|
|
741
741
|
"StatusColor": {
|
|
742
742
|
"location": "import",
|
|
@@ -1117,7 +1117,7 @@ export class Button {
|
|
|
1117
1117
|
"mutable": false,
|
|
1118
1118
|
"complexType": {
|
|
1119
1119
|
"original": "StatusColor",
|
|
1120
|
-
"resolved": "\"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\"",
|
|
1120
|
+
"resolved": "\"black\" | \"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\" | \"white\"",
|
|
1121
1121
|
"references": {
|
|
1122
1122
|
"StatusColor": {
|
|
1123
1123
|
"location": "import",
|
|
@@ -1181,7 +1181,7 @@ export class Button {
|
|
|
1181
1181
|
"mutable": false,
|
|
1182
1182
|
"complexType": {
|
|
1183
1183
|
"original": "StatusColor",
|
|
1184
|
-
"resolved": "\"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\"",
|
|
1184
|
+
"resolved": "\"black\" | \"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\" | \"white\"",
|
|
1185
1185
|
"references": {
|
|
1186
1186
|
"StatusColor": {
|
|
1187
1187
|
"location": "import",
|
|
@@ -64,10 +64,10 @@ export class ButtonToggle {
|
|
|
64
64
|
if (this.reveal !== 'none' && this.revealDelay > 0) {
|
|
65
65
|
style['animation-delay'] = `${this.revealDelay}ms`;
|
|
66
66
|
}
|
|
67
|
-
return (h("ui-button", { key: '
|
|
67
|
+
return (h("ui-button", { key: 'faf3faae2f92535d6336b53616c8013ff533e7d6', part: "button", label: this.label, description: this.description, descriptionPosition: this.descriptionPosition, shape: this.shape, variant: this.variant, size: this.size, selected: this.selected, style: style, icon: this.icon || this.iconLeft || this.iconRight, iconPosition: this.iconPosition, iconLibrary: this.library, iconOnly: this.iconOnly, avatarSrc: this.avatarSrc, avatarAlt: this.avatarAlt, avatarStatus: this.status, disabled: this.disabled || this.loading, "aria-pressed": this.selected ? 'true' : 'false', "aria-label": this.label, role: "radio", onClick: this.handleClick, tabIndex: this.disabled ? -1 : 0, class: {
|
|
68
68
|
'button-toggle-item': true,
|
|
69
69
|
'full-width': this.fullWidth
|
|
70
|
-
} }, h("slot", { key: '
|
|
70
|
+
} }, h("slot", { key: '4423b19bae11878c48a5ae7d66bd332aa8d6015f' })));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "ui-button-toggle"; }
|
|
73
73
|
static get encapsulation() { return "shadow"; }
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
position: absolute;
|
|
136
136
|
top: 0;
|
|
137
137
|
left: 0;
|
|
138
|
-
background: var(--indicator-bg, #10b981);
|
|
138
|
+
background: var(--indicator-bg, var(--color-primary, #10b981));
|
|
139
139
|
opacity: 0;
|
|
140
140
|
pointer-events: none;
|
|
141
141
|
transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), width 0.3s cubic-bezier(0.19, 1, 0.22, 1), height 0.3s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.2s ease;
|
|
@@ -177,6 +177,7 @@
|
|
|
177
177
|
--button-padding: 8px 16px;
|
|
178
178
|
--ui-button-height: auto;
|
|
179
179
|
min-height: 44px;
|
|
180
|
+
color: var(--text-color, #64748b) !important;
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
.button-list-vertical ui-button {
|
|
@@ -219,26 +220,26 @@
|
|
|
219
220
|
|
|
220
221
|
/* Selected Button Text & Icon Color Over Indicator */
|
|
221
222
|
.button-list:not(.group-multi-select) ui-button[selected]::part(button) {
|
|
222
|
-
color: var(--indicator-text-color, #ffffff);
|
|
223
|
+
color: var(--indicator-text-color, #ffffff) !important;
|
|
223
224
|
z-index: 5;
|
|
224
|
-
opacity: 1;
|
|
225
|
+
opacity: 1 !important;
|
|
225
226
|
}
|
|
226
227
|
|
|
227
228
|
/* Content colors for selected items (regardless of multi/single) */
|
|
228
229
|
.ui-button-toggle-group .button-list ui-button[selected]::part(title),
|
|
229
230
|
.ui-button-toggle-group .button-list ui-button[selected]::part(subtitle),
|
|
230
231
|
.ui-button-toggle-group .button-list ui-button[selected]::part(icon) {
|
|
231
|
-
color: var(--indicator-text-color, #ffffff);
|
|
232
|
-
opacity: 1;
|
|
232
|
+
color: var(--indicator-text-color, #ffffff) !important;
|
|
233
|
+
opacity: 1 !important;
|
|
233
234
|
}
|
|
234
235
|
|
|
235
236
|
.group-multi-select .button-list ui-button[selected]::part(button) {
|
|
236
|
-
background: var(--indicator-bg, #10b981);
|
|
237
|
-
color: var(--indicator-text-color, #ffffff);
|
|
238
|
-
opacity: 1;
|
|
239
|
-
box-shadow: 0 4px 12px rgba(var(--color-primary-rgb, 16, 185, 129), 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
|
|
240
|
-
border-radius: var(--indicator-radius, 30px);
|
|
241
|
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
237
|
+
background: var(--indicator-bg, var(--color-primary, #10b981)) !important;
|
|
238
|
+
color: var(--indicator-text-color, #ffffff) !important;
|
|
239
|
+
opacity: 1 !important;
|
|
240
|
+
box-shadow: 0 4px 12px rgba(var(--color-primary-rgb, 16, 185, 129), 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
|
|
241
|
+
border-radius: var(--indicator-radius, 30px) !important;
|
|
242
|
+
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
242
243
|
z-index: 5;
|
|
243
244
|
transform: scale(0.96);
|
|
244
245
|
}
|
|
@@ -356,8 +357,8 @@
|
|
|
356
357
|
color: #1e293b;
|
|
357
358
|
}
|
|
358
359
|
.dropdown-option.dropdown-option-selected {
|
|
359
|
-
background: rgba(16, 185, 129, 0.1);
|
|
360
|
-
color: #10b981;
|
|
360
|
+
background: var(--color-primary-subtle, rgba(var(--color-primary-rgb, 16, 185, 129), 0.1));
|
|
361
|
+
color: var(--color-primary, #10b981);
|
|
361
362
|
}
|
|
362
363
|
.dropdown-option.dropdown-option-disabled {
|
|
363
364
|
opacity: 0.5;
|
|
@@ -375,7 +376,7 @@
|
|
|
375
376
|
flex: 1;
|
|
376
377
|
}
|
|
377
378
|
.dropdown-option .option-check {
|
|
378
|
-
color: #10b981;
|
|
379
|
+
color: var(--color-primary, #10b981);
|
|
379
380
|
margin-left: auto;
|
|
380
381
|
display: flex;
|
|
381
382
|
align-items: center;
|
|
@@ -398,4 +399,150 @@
|
|
|
398
399
|
.dropdown-search input:focus {
|
|
399
400
|
border-color: #10b981;
|
|
400
401
|
box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/* Dark, Violet, Pink, Blue Theme Overrides */
|
|
405
|
+
:host-context([data-theme=dark]) .button-group-label,
|
|
406
|
+
:host([data-theme=dark]) .button-group-label,
|
|
407
|
+
:host-context([data-theme=violet]) .button-group-label,
|
|
408
|
+
:host([data-theme=violet]) .button-group-label,
|
|
409
|
+
:host-context([data-theme=pink]) .button-group-label,
|
|
410
|
+
:host([data-theme=pink]) .button-group-label,
|
|
411
|
+
:host-context([data-theme=blue]) .button-group-label,
|
|
412
|
+
:host([data-theme=blue]) .button-group-label {
|
|
413
|
+
--label-color: var(--label-color, #f1f5f9);
|
|
414
|
+
}
|
|
415
|
+
:host-context([data-theme=dark]) .button-list,
|
|
416
|
+
:host([data-theme=dark]) .button-list,
|
|
417
|
+
:host-context([data-theme=violet]) .button-list,
|
|
418
|
+
:host([data-theme=violet]) .button-list,
|
|
419
|
+
:host-context([data-theme=pink]) .button-list,
|
|
420
|
+
:host([data-theme=pink]) .button-list,
|
|
421
|
+
:host-context([data-theme=blue]) .button-list,
|
|
422
|
+
:host([data-theme=blue]) .button-list {
|
|
423
|
+
--button-group-bg: var(--bg-secondary, #1e293b);
|
|
424
|
+
--border-color: var(--border-color, #334155);
|
|
425
|
+
--text-color: var(--text-secondary, #94a3b8);
|
|
426
|
+
}
|
|
427
|
+
:host-context([data-theme=dark]) .button-list ui-button:hover::part(button),
|
|
428
|
+
:host([data-theme=dark]) .button-list ui-button:hover::part(button),
|
|
429
|
+
:host-context([data-theme=violet]) .button-list ui-button:hover::part(button),
|
|
430
|
+
:host([data-theme=violet]) .button-list ui-button:hover::part(button),
|
|
431
|
+
:host-context([data-theme=pink]) .button-list ui-button:hover::part(button),
|
|
432
|
+
:host([data-theme=pink]) .button-list ui-button:hover::part(button),
|
|
433
|
+
:host-context([data-theme=blue]) .button-list ui-button:hover::part(button),
|
|
434
|
+
:host([data-theme=blue]) .button-list ui-button:hover::part(button) {
|
|
435
|
+
background: rgba(255, 255, 255, 0.05) !important;
|
|
436
|
+
}
|
|
437
|
+
:host-context([data-theme=dark]) .dropdown-button,
|
|
438
|
+
:host([data-theme=dark]) .dropdown-button,
|
|
439
|
+
:host-context([data-theme=violet]) .dropdown-button,
|
|
440
|
+
:host([data-theme=violet]) .dropdown-button,
|
|
441
|
+
:host-context([data-theme=pink]) .dropdown-button,
|
|
442
|
+
:host([data-theme=pink]) .dropdown-button,
|
|
443
|
+
:host-context([data-theme=blue]) .dropdown-button,
|
|
444
|
+
:host([data-theme=blue]) .dropdown-button {
|
|
445
|
+
--button-group-bg: var(--bg-secondary, #1e293b);
|
|
446
|
+
--border-color: var(--border-color, #334155);
|
|
447
|
+
}
|
|
448
|
+
:host-context([data-theme=dark]) .dropdown-menu,
|
|
449
|
+
:host([data-theme=dark]) .dropdown-menu,
|
|
450
|
+
:host-context([data-theme=violet]) .dropdown-menu,
|
|
451
|
+
:host([data-theme=violet]) .dropdown-menu,
|
|
452
|
+
:host-context([data-theme=pink]) .dropdown-menu,
|
|
453
|
+
:host([data-theme=pink]) .dropdown-menu,
|
|
454
|
+
:host-context([data-theme=blue]) .dropdown-menu,
|
|
455
|
+
:host([data-theme=blue]) .dropdown-menu {
|
|
456
|
+
background: var(--bg-primary, #1e293b);
|
|
457
|
+
border-color: var(--border-color, #334155);
|
|
458
|
+
}
|
|
459
|
+
:host-context([data-theme=dark]) .dropdown-option,
|
|
460
|
+
:host([data-theme=dark]) .dropdown-option,
|
|
461
|
+
:host-context([data-theme=violet]) .dropdown-option,
|
|
462
|
+
:host([data-theme=violet]) .dropdown-option,
|
|
463
|
+
:host-context([data-theme=pink]) .dropdown-option,
|
|
464
|
+
:host([data-theme=pink]) .dropdown-option,
|
|
465
|
+
:host-context([data-theme=blue]) .dropdown-option,
|
|
466
|
+
:host([data-theme=blue]) .dropdown-option {
|
|
467
|
+
color: var(--text-secondary, #cbd5e1);
|
|
468
|
+
}
|
|
469
|
+
:host-context([data-theme=dark]) .dropdown-option:hover,
|
|
470
|
+
:host([data-theme=dark]) .dropdown-option:hover,
|
|
471
|
+
:host-context([data-theme=violet]) .dropdown-option:hover,
|
|
472
|
+
:host([data-theme=violet]) .dropdown-option:hover,
|
|
473
|
+
:host-context([data-theme=pink]) .dropdown-option:hover,
|
|
474
|
+
:host([data-theme=pink]) .dropdown-option:hover,
|
|
475
|
+
:host-context([data-theme=blue]) .dropdown-option:hover,
|
|
476
|
+
:host([data-theme=blue]) .dropdown-option:hover {
|
|
477
|
+
background: var(--bg-secondary, #334155);
|
|
478
|
+
color: var(--text-primary, #ffffff);
|
|
479
|
+
}
|
|
480
|
+
:host-context([data-theme=dark]) .dropdown-option.dropdown-option-selected,
|
|
481
|
+
:host([data-theme=dark]) .dropdown-option.dropdown-option-selected,
|
|
482
|
+
:host-context([data-theme=violet]) .dropdown-option.dropdown-option-selected,
|
|
483
|
+
:host([data-theme=violet]) .dropdown-option.dropdown-option-selected,
|
|
484
|
+
:host-context([data-theme=pink]) .dropdown-option.dropdown-option-selected,
|
|
485
|
+
:host([data-theme=pink]) .dropdown-option.dropdown-option-selected,
|
|
486
|
+
:host-context([data-theme=blue]) .dropdown-option.dropdown-option-selected,
|
|
487
|
+
:host([data-theme=blue]) .dropdown-option.dropdown-option-selected {
|
|
488
|
+
background: rgba(var(--color-primary-rgb, 16, 185, 129), 0.15);
|
|
489
|
+
color: var(--color-primary, #10b981);
|
|
490
|
+
}
|
|
491
|
+
:host-context([data-theme=dark]) .dropdown-search input,
|
|
492
|
+
:host([data-theme=dark]) .dropdown-search input,
|
|
493
|
+
:host-context([data-theme=violet]) .dropdown-search input,
|
|
494
|
+
:host([data-theme=violet]) .dropdown-search input,
|
|
495
|
+
:host-context([data-theme=pink]) .dropdown-search input,
|
|
496
|
+
:host([data-theme=pink]) .dropdown-search input,
|
|
497
|
+
:host-context([data-theme=blue]) .dropdown-search input,
|
|
498
|
+
:host([data-theme=blue]) .dropdown-search input {
|
|
499
|
+
background: var(--bg-primary, #1e293b);
|
|
500
|
+
border-color: var(--border-color, #334155);
|
|
501
|
+
color: var(--text-primary, #ffffff);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/* Green Theme Override */
|
|
505
|
+
:host-context([data-theme=green]) .button-group-label,
|
|
506
|
+
:host([data-theme=green]) .button-group-label {
|
|
507
|
+
--label-color: #f0fdf4;
|
|
508
|
+
}
|
|
509
|
+
:host-context([data-theme=green]) .button-list,
|
|
510
|
+
:host([data-theme=green]) .button-list {
|
|
511
|
+
--button-group-bg: #064e3b;
|
|
512
|
+
--border-color: #166534;
|
|
513
|
+
--text-color: #a7f3d0;
|
|
514
|
+
}
|
|
515
|
+
:host-context([data-theme=green]) .button-list ui-button:hover::part(button),
|
|
516
|
+
:host([data-theme=green]) .button-list ui-button:hover::part(button) {
|
|
517
|
+
background: rgba(255, 255, 255, 0.08) !important;
|
|
518
|
+
}
|
|
519
|
+
:host-context([data-theme=green]) .dropdown-button,
|
|
520
|
+
:host([data-theme=green]) .dropdown-button {
|
|
521
|
+
--button-group-bg: #064e3b;
|
|
522
|
+
--border-color: #166534;
|
|
523
|
+
}
|
|
524
|
+
:host-context([data-theme=green]) .dropdown-menu,
|
|
525
|
+
:host([data-theme=green]) .dropdown-menu {
|
|
526
|
+
background: #064e3b;
|
|
527
|
+
border-color: #166534;
|
|
528
|
+
}
|
|
529
|
+
:host-context([data-theme=green]) .dropdown-option,
|
|
530
|
+
:host([data-theme=green]) .dropdown-option {
|
|
531
|
+
color: #d1fae5;
|
|
532
|
+
}
|
|
533
|
+
:host-context([data-theme=green]) .dropdown-option:hover,
|
|
534
|
+
:host([data-theme=green]) .dropdown-option:hover {
|
|
535
|
+
background: #166534;
|
|
536
|
+
color: #ffffff;
|
|
537
|
+
}
|
|
538
|
+
:host-context([data-theme=green]) .dropdown-option.dropdown-option-selected,
|
|
539
|
+
:host([data-theme=green]) .dropdown-option.dropdown-option-selected {
|
|
540
|
+
background: rgba(255, 255, 255, 0.15);
|
|
541
|
+
color: #ffffff;
|
|
542
|
+
}
|
|
543
|
+
:host-context([data-theme=green]) .dropdown-search input,
|
|
544
|
+
:host([data-theme=green]) .dropdown-search input {
|
|
545
|
+
background: #064e3b;
|
|
546
|
+
border-color: #166534;
|
|
547
|
+
color: #ffffff;
|
|
401
548
|
}
|
|
@@ -449,12 +449,12 @@ export class ButtonToggleGroup {
|
|
|
449
449
|
'--indicator-bg': indicatorBg,
|
|
450
450
|
'--indicator-text-color': indicatorColor
|
|
451
451
|
};
|
|
452
|
-
return (h("div", { key: '
|
|
452
|
+
return (h("div", { key: '5826e0db706109891e74fc0a4ee04e1df381687b', class: containerClasses, role: this.multiSelect ? 'group' : 'radiogroup', "aria-label": this.label, tabIndex: 0, style: hostStyles, onMouseMove: (e) => this.handleMouseMove(e), onMouseLeave: () => this.updateIndicator() }, this.renderLabel(), this.batchActions && (h("div", { key: 'fbf7ab8ce6a8548a53438eb613040a78f58bbaa4', class: "batch-actions" }, h("ui-button", { key: 'b4b34241bf9a24158472ad3714ca63d898493869', variant: "ghost", onClick: this.selectAll, disabled: this.disabled, label: "Select All", size: "sm" }), h("ui-button", { key: '5cf67b5f2a749f6ee2975be469f03ba0c7374906', variant: "ghost", onClick: this.clearAll, disabled: this.disabled, label: "Clear All", size: "sm" }), this.exportEnabled && h("ui-button", { key: '15d1e37dbccf82fb1f0097301c4de451e0931273', variant: "ghost", onClick: this.exportSelection, label: "Export", size: "sm" }), this.importEnabled && h("ui-button", { key: '3a82d6a1896cca92f0314c8b423c0a9df823eba6', variant: "ghost", onClick: this.importSelection, label: "Import", size: "sm" }))), this.mode === 'dropdown' ? (this.renderDropdownButton()) : (h("div", { class: buttonListClasses }, !this.multiSelect && h("div", { class: "selection-indicator", ref: el => this.selectionIndicatorRef = el }), filteredButtons.map((option, idx) => (h("ui-button", { key: option.value, value: option.value, label: option.label, icon: option.icon, iconPosition: option.icon ? this.iconPosition : 'none', iconOnly: this.iconOnly, name: this.name, selected: this.multiSelect ? this.selectedValues.includes(option.value) : this.value === option.value, disabled: this.disabled || option.disabled, readonly: this.readonly, loading: this.loading, size: this.size, variant: this.variant, description: option.description, "description-position": option.descriptionPosition, "full-width": this.fullWidth, reveal: this.reveal, "reveal-delay": this.revealDelay + (idx * this.revealStagger), tabIndex: this.focusIndex === idx ? 0 : -1, "aria-checked": this.multiSelect ? this.selectedValues.includes(option.value) : this.value === option.value, "aria-label": option.label || option.value, onFocus: () => this.handleFocus(idx), onBlur: this.handleBlur, onClick: (e) => {
|
|
453
453
|
e.stopPropagation();
|
|
454
454
|
if (!this.disabled && !option.disabled) {
|
|
455
455
|
this.handleButtonToggleChange({ detail: { value: option.value } });
|
|
456
456
|
}
|
|
457
|
-
}, shape: this.shape, iconLibrary: option.iconLibrary || this.library || this.iconLibrary }))))), this.renderHelperText(), this.analyticsEnabled && (h("div", { key: '
|
|
457
|
+
}, shape: this.shape, iconLibrary: option.iconLibrary || this.library || this.iconLibrary }))))), this.renderHelperText(), this.analyticsEnabled && (h("div", { key: '10b18efe0af543838aa8b835a931951d9b17ab78', class: "analytics-info" }, h("pre", { key: '1e7ac3662e57728b24e3ab14f4846c2d2b9c3991' }, JSON.stringify(this.analytics, null, 2))))));
|
|
458
458
|
}
|
|
459
459
|
// Premium and accessibility methods
|
|
460
460
|
handleKeyDown = (e) => {
|