atomicuilibrary 0.0.1 → 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 +5 -5
- 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/{security-E1JcwxGc.js → security-CNaNip8F.js} +88 -154
- 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_10.cjs.entry.js → ui-accordion_11.cjs.entry.js} +730 -61
- 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 +11 -12
- 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 +3 -3
- package/dist/cjs/ui-card.cjs.entry.js +28 -5
- package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ui-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ui-code-editor.cjs.entry.js +3 -3
- 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 +86 -12
- 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 +351 -58
- 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_3.cjs.entry.js +235 -504
- 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 +164 -23
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/ui-switch.cjs.entry.js +14 -13
- package/dist/cjs/ui-tabs.cjs.entry.js +3 -3
- package/dist/cjs/ui-tag.cjs.entry.js +58 -13
- package/dist/cjs/ui-timeline.cjs.entry.js +11 -3
- 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 +5 -5
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-transfer-list.cjs.entry.js +7 -7
- package/dist/cjs/ui-tree.cjs.entry.js +30 -15
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +3 -3
- package/dist/collection/assets/js/component-config.js +1 -0
- package/dist/collection/assets/js/demo-loader.js +2 -1
- package/dist/collection/assets/js/demos/about-demo.js +13 -13
- package/dist/collection/assets/js/demos/accordion-demo.js +238 -49
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +315 -316
- 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 +57 -57
- 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 +175 -106
- package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
- package/dist/collection/assets/js/demos/callout-banner-demo.js +332 -42
- package/dist/collection/assets/js/demos/card-demo.js +122 -74
- 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 +476 -55
- 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 +92 -72
- package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
- package/dist/collection/assets/js/demos/documentation-demo.js +227 -22
- 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 +304 -88
- 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 +226 -140
- package/dist/collection/assets/js/demos/loader-demo.js +48 -48
- package/dist/collection/assets/js/demos/masonry-demo.js +592 -0
- 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 +768 -61
- 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 +137 -0
- 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 +110 -80
- package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
- package/dist/collection/assets/js/demos/timeline-demo.js +27 -14
- 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 +116 -114
- 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 +72 -70
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
- package/dist/collection/collection-manifest.json +2 -6
- package/dist/collection/components/accordion/accordion.css +576 -9
- package/dist/collection/components/accordion/accordion.js +47 -14
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +24 -10
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
- package/dist/collection/components/anchor/anchor.css +0 -1
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
- package/dist/collection/components/aside-panel/aside-panel.css +3 -5
- package/dist/collection/components/aside-panel/aside-panel.js +12 -13
- package/dist/collection/components/avatar/avatar.css +6 -6
- package/dist/collection/components/avatar/avatar.js +64 -12
- package/dist/collection/components/badge/badge.css +28 -17
- package/dist/collection/components/badge/badge.js +7 -4
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/button/button.css +132 -0
- package/dist/collection/components/button/button.js +130 -11
- 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 +304 -40
- package/dist/collection/components/card/card.js +48 -4
- package/dist/collection/components/checkbox/checkbox.css +8 -10
- package/dist/collection/components/checkbox/checkbox.js +5 -5
- 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 +8 -8
- package/dist/collection/components/dialog-box/dialog-box.js +117 -15
- package/dist/collection/components/dialog-header/dialog-header.js +2 -2
- 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 +21 -10
- 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 +427 -131
- package/dist/collection/components/list-item/list-item.js +373 -58
- package/dist/collection/components/loader/loader.css +1635 -0
- package/dist/collection/components/loader/loader.js +1120 -0
- 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 +307 -28
- package/dist/collection/components/progress/progress.js +244 -24
- package/dist/collection/components/radio/radio.css +5 -3
- 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/snackbar/snackbar.js +1 -1
- package/dist/collection/components/speed-dial/speed-dial.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 +14 -13
- 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 +53 -20
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +48 -13
- 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/components.js +1 -0
- 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 -0
- 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-divider.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-input-pair.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-radio-group.d.ts → ui-loader.d.ts} +4 -4
- package/dist/components/ui-loader.js +1 -0
- 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-context-menu.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 +5 -5
- 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/{security-D2WzX6vR.js → security-Dyu3Nplq.js} +88 -154
- package/dist/esm/smart-step.entry.js +3 -3
- package/dist/esm/timeline-item.entry.js +2 -2
- package/dist/esm/{ui-accordion_10.entry.js → ui-accordion_11.entry.js} +730 -62
- 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 +11 -12
- 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 +3 -3
- package/dist/esm/ui-card.entry.js +28 -5
- package/dist/esm/ui-carousel.entry.js +1 -1
- package/dist/esm/ui-checkbox.entry.js +5 -5
- package/dist/esm/ui-code-editor.entry.js +3 -3
- 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 +86 -12
- 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 +351 -58
- 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_3.entry.js +235 -504
- 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 +164 -23
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/ui-switch.entry.js +14 -13
- package/dist/esm/ui-tabs.entry.js +3 -3
- package/dist/esm/ui-tag.entry.js +58 -13
- package/dist/esm/ui-timeline.entry.js +11 -3
- 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 +5 -5
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-transfer-list.entry.js +7 -7
- package/dist/esm/ui-tree.entry.js +30 -15
- package/dist/esm/ui-workspace-manager.entry.js +3 -3
- 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-f5719913.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-c7e87fbb.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-81961fb1.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-2b6aa7bc.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-7515b1e3.entry.js → p-2cfba753.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c90722ec.entry.js → p-2fe22958.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85bf89fd.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-3d3d48fd.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-4f6bba75.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-e5322e59.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-73d29a4a.entry.js → p-4c46ac0b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-f0830120.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-77124686.entry.js → p-62889cfe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-9d0c8760.entry.js → p-66f71613.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-2d273118.entry.js → p-67c440b2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d419eaf0.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-ffb1754a.entry.js → p-7ed3bba2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77cc333a.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-c5ddc817.entry.js → p-97086868.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-287dbf09.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-0b004861.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-Dyu3Nplq.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-c174a372.entry.js → p-ae617f62.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-62352ef2.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-8d951aef.entry.js → p-bc49a088.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4de419d5.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-5e3e80ae.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-7f91d949.entry.js → p-cb6e38a6.entry.js} +1 -1
- 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/accordion/accordion.d.ts +10 -2
- 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/button/button.d.ts +9 -0
- package/dist/types/components/card/card.d.ts +4 -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 +46 -17
- package/dist/types/components/loader/loader.d.ts +145 -0
- 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 +41 -2
- 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 +1214 -1381
- package/dist/types/types/common.d.ts +2 -2
- package/dist/types/types/common.type.d.ts +3 -1
- package/dist/types/utils/dom.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cjs/dom-oP1E4Rd3.js +0 -267
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +0 -330
- package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
- package/dist/cjs/ui-image-button.cjs.entry.js +0 -67
- package/dist/cjs/ui-input-pair.cjs.entry.js +0 -44
- package/dist/cjs/ui-popover.cjs.entry.js +0 -517
- package/dist/cjs/ui-radio-group.cjs.entry.js +0 -205
- package/dist/cjs/ui-radio.cjs.entry.js +0 -206
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -223
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -1001
- 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/image-button/image-button.css +0 -154
- package/dist/collection/components/image-button/image-button.js +0 -310
- package/dist/collection/components/image-button/types.js +0 -1
- package/dist/collection/components/input-pair/input-pair.css +0 -72
- package/dist/collection/components/input-pair/input-pair.js +0 -309
- package/dist/collection/components/radio-group/radio-group.css +0 -202
- package/dist/collection/components/radio-group/radio-group.js +0 -903
- package/dist/collection/components/radio-group/types.js +0 -1
- 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/collection/components/smart-location-dropdown/types.js +0 -1
- package/dist/components/ui-checkbox-group.d.ts +0 -11
- package/dist/components/ui-checkbox-group.js +0 -1
- package/dist/components/ui-color-controller.d.ts +0 -11
- package/dist/components/ui-color-controller.js +0 -1
- package/dist/components/ui-image-button.d.ts +0 -11
- package/dist/components/ui-image-button.js +0 -1
- package/dist/components/ui-input-pair.js +0 -1
- package/dist/components/ui-radio-group.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-checkbox-group.entry.js +0 -328
- package/dist/esm/ui-color-controller.entry.js +0 -148
- package/dist/esm/ui-image-button.entry.js +0 -65
- package/dist/esm/ui-input-pair.entry.js +0 -42
- package/dist/esm/ui-popover.entry.js +0 -515
- package/dist/esm/ui-radio-group.entry.js +0 -203
- package/dist/esm/ui-radio.entry.js +0 -204
- package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +0 -1
- 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-2f1aebb3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-64e3a484.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-875be805.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fa70359.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-D2WzX6vR.js +0 -2
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +0 -1
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -87
- package/dist/types/components/checkbox-group/types.d.ts +0 -8
- package/dist/types/components/color-controller/color-controller.d.ts +0 -24
- package/dist/types/components/image-button/image-button.d.ts +0 -31
- package/dist/types/components/image-button/types.d.ts +0 -1
- package/dist/types/components/input-pair/input-pair.d.ts +0 -28
- package/dist/types/components/radio-group/radio-group.d.ts +0 -74
- package/dist/types/components/radio-group/types.d.ts +0 -2
- 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/{checkbox-group → label}/types.js +0 -0
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
border-radius: 9999px;
|
|
37
37
|
/* Force pill shape by default */
|
|
38
38
|
font-weight: 600;
|
|
39
|
+
border: var(--badge-border, none);
|
|
39
40
|
}
|
|
40
41
|
.badge.badge-single:not(.badge-shape-square) {
|
|
41
42
|
border-radius: 50%;
|
|
@@ -209,7 +210,7 @@
|
|
|
209
210
|
|
|
210
211
|
/* Colors - Outlined */
|
|
211
212
|
.badge-outlined {
|
|
212
|
-
background-color:
|
|
213
|
+
background-color: transparent;
|
|
213
214
|
}
|
|
214
215
|
|
|
215
216
|
.badge-outlined.badge-primary {
|
|
@@ -268,26 +269,34 @@
|
|
|
268
269
|
transform: scale(0.95);
|
|
269
270
|
}
|
|
270
271
|
|
|
271
|
-
/* Closeable badges need pointer events and
|
|
272
|
+
/* Closeable badges need pointer events and auto width to fit both text and icon */
|
|
272
273
|
.badge.badge-closable {
|
|
273
274
|
pointer-events: auto !important;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
padding-left:
|
|
277
|
-
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 */
|
|
278
283
|
}
|
|
279
284
|
|
|
280
285
|
/* Close Button */
|
|
281
286
|
.badge-close {
|
|
287
|
+
display: inline-flex;
|
|
288
|
+
align-items: center;
|
|
289
|
+
justify-content: center;
|
|
282
290
|
background: none;
|
|
283
291
|
border: none;
|
|
284
292
|
color: inherit;
|
|
285
293
|
cursor: pointer;
|
|
286
|
-
padding:
|
|
294
|
+
padding: 2px;
|
|
287
295
|
margin-left: 4px;
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
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;
|
|
291
300
|
line-height: 1;
|
|
292
301
|
pointer-events: auto;
|
|
293
302
|
position: relative;
|
|
@@ -296,11 +305,13 @@
|
|
|
296
305
|
|
|
297
306
|
.badge-close:hover {
|
|
298
307
|
opacity: 1;
|
|
308
|
+
transform: scale(1.1);
|
|
309
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
299
310
|
}
|
|
300
311
|
|
|
301
312
|
/* Bordered Variant */
|
|
302
313
|
.badge-bordered {
|
|
303
|
-
background-color:
|
|
314
|
+
background-color: transparent;
|
|
304
315
|
border: 2px solid currentColor;
|
|
305
316
|
}
|
|
306
317
|
|
|
@@ -336,32 +347,32 @@
|
|
|
336
347
|
|
|
337
348
|
/* Soft Variant */
|
|
338
349
|
.badge-soft.badge-primary {
|
|
339
|
-
background-color: var(--
|
|
350
|
+
background-color: var(--color-primary-soft, #ecfdf5);
|
|
340
351
|
color: var(--color-primary, #10b981);
|
|
341
352
|
}
|
|
342
353
|
|
|
343
354
|
.badge-soft.badge-secondary {
|
|
344
|
-
background-color: var(--
|
|
355
|
+
background-color: var(--color-secondary-soft, #f3f4f6);
|
|
345
356
|
color: var(--text-muted, #6b7280);
|
|
346
357
|
}
|
|
347
358
|
|
|
348
359
|
.badge-soft.badge-success {
|
|
349
|
-
background-color: var(--
|
|
360
|
+
background-color: var(--color-success-soft, #ecfdf5);
|
|
350
361
|
color: var(--color-success, #10b981);
|
|
351
362
|
}
|
|
352
363
|
|
|
353
364
|
.badge-soft.badge-danger {
|
|
354
|
-
background-color: var(--
|
|
365
|
+
background-color: var(--color-danger-soft, #fef2f2);
|
|
355
366
|
color: var(--color-danger, #ef4444);
|
|
356
367
|
}
|
|
357
368
|
|
|
358
369
|
.badge-soft.badge-warning {
|
|
359
|
-
background-color: var(--
|
|
370
|
+
background-color: var(--color-warning-soft, #fffbeb);
|
|
360
371
|
color: var(--color-warning, #f59e0b);
|
|
361
372
|
}
|
|
362
373
|
|
|
363
374
|
.badge-soft.badge-info {
|
|
364
|
-
background-color: var(--
|
|
375
|
+
background-color: var(--color-info-soft, #ecfeff);
|
|
365
376
|
color: var(--color-info, #06b6d4);
|
|
366
377
|
}
|
|
367
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",
|
|
@@ -321,7 +323,7 @@ export class Badge {
|
|
|
321
323
|
"mutable": false,
|
|
322
324
|
"complexType": {
|
|
323
325
|
"original": "ComponentVariant",
|
|
324
|
-
"resolved": "\"bordered\" | \"borderless\" | \"color\" | \"danger\" | \"dark\" | \"default\" | \"dots-only\" | \"elevated\" | \"error\" | \"filled\" | \"flat\" | \"ghost\" | \"glass\" | \"gradient\" | \"info\" | \"inverse\" | \"light\" | \"minimal\" | \"neutral\" | \"outlined\" | \"panel\" | \"plain\" | \"primary\" | \"quaternary\" | \"raised\" | \"secondary\" | \"segmented\" | \"soft\" | \"solid\" | \"standard\" | \"success\" | \"surface\" | \"tertiary\" | \"text\" | \"underlined\" | \"warning\"",
|
|
326
|
+
"resolved": "\"bordered\" | \"borderless\" | \"color\" | \"danger\" | \"dark\" | \"default\" | \"dots-only\" | \"elevated\" | \"error\" | \"filled\" | \"flat\" | \"ghost\" | \"glass\" | \"gradient\" | \"info\" | \"inverse\" | \"light\" | \"minimal\" | \"neutral\" | \"outlined\" | \"panel\" | \"plain\" | \"primary\" | \"quaternary\" | \"raised\" | \"secondary\" | \"segmented\" | \"soft\" | \"solid\" | \"standard\" | \"status\" | \"success\" | \"surface\" | \"tertiary\" | \"text\" | \"underlined\" | \"warning\"",
|
|
325
327
|
"references": {
|
|
326
328
|
"ComponentVariant": {
|
|
327
329
|
"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"; }
|
|
@@ -412,7 +412,7 @@ export class Breadcrumb {
|
|
|
412
412
|
"mutable": false,
|
|
413
413
|
"complexType": {
|
|
414
414
|
"original": "ComponentVariant | 'pills'",
|
|
415
|
-
"resolved": "\"bordered\" | \"borderless\" | \"color\" | \"danger\" | \"dark\" | \"default\" | \"dots-only\" | \"elevated\" | \"error\" | \"filled\" | \"flat\" | \"ghost\" | \"glass\" | \"gradient\" | \"info\" | \"inverse\" | \"light\" | \"minimal\" | \"neutral\" | \"outlined\" | \"panel\" | \"pills\" | \"plain\" | \"primary\" | \"quaternary\" | \"raised\" | \"secondary\" | \"segmented\" | \"soft\" | \"solid\" | \"standard\" | \"success\" | \"surface\" | \"tertiary\" | \"text\" | \"underlined\" | \"warning\"",
|
|
415
|
+
"resolved": "\"bordered\" | \"borderless\" | \"color\" | \"danger\" | \"dark\" | \"default\" | \"dots-only\" | \"elevated\" | \"error\" | \"filled\" | \"flat\" | \"ghost\" | \"glass\" | \"gradient\" | \"info\" | \"inverse\" | \"light\" | \"minimal\" | \"neutral\" | \"outlined\" | \"panel\" | \"pills\" | \"plain\" | \"primary\" | \"quaternary\" | \"raised\" | \"secondary\" | \"segmented\" | \"soft\" | \"solid\" | \"standard\" | \"status\" | \"success\" | \"surface\" | \"tertiary\" | \"text\" | \"underlined\" | \"warning\"",
|
|
416
416
|
"references": {
|
|
417
417
|
"ComponentVariant": {
|
|
418
418
|
"location": "import",
|
|
@@ -102,9 +102,24 @@
|
|
|
102
102
|
vertical-align: middle;
|
|
103
103
|
box-sizing: border-box;
|
|
104
104
|
position: relative;
|
|
105
|
+
border-radius: var(--button-border-radius, 8px);
|
|
105
106
|
/* Added for absolute badge positioning */
|
|
106
107
|
}
|
|
107
108
|
|
|
109
|
+
:host([shape=square]) {
|
|
110
|
+
border-radius: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:host([shape=circle]),
|
|
114
|
+
:host([circle]) {
|
|
115
|
+
border-radius: 50%;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:host([shape=pill]),
|
|
119
|
+
:host([pill]) {
|
|
120
|
+
border-radius: 9999px;
|
|
121
|
+
}
|
|
122
|
+
|
|
108
123
|
:host(.is-full-width) {
|
|
109
124
|
display: block;
|
|
110
125
|
width: 100%;
|
|
@@ -406,6 +421,7 @@
|
|
|
406
421
|
|
|
407
422
|
/* Soft Variant (Premium Refinement) */
|
|
408
423
|
.btn-soft {
|
|
424
|
+
background: var(--btn-soft-bg, rgba(var(--color-primary-rgb, 59, 130, 246), 0.15));
|
|
409
425
|
color: var(--label-color, var(--text-primary, #1e293b));
|
|
410
426
|
border-color: transparent;
|
|
411
427
|
box-shadow: none;
|
|
@@ -1028,6 +1044,7 @@ ui-badge.is-absolute {
|
|
|
1028
1044
|
pointer-events: none;
|
|
1029
1045
|
width: 0;
|
|
1030
1046
|
height: 0;
|
|
1047
|
+
--badge-border: 2px solid var(--btn-badge-border, var(--bg-primary, #ffffff));
|
|
1031
1048
|
}
|
|
1032
1049
|
|
|
1033
1050
|
/* Perfect Corner Anchors - Let ui-badge's internal transforms handle the overlap */
|
|
@@ -1859,4 +1876,119 @@ ui-badge.is-absolute {
|
|
|
1859
1876
|
object-fit: cover;
|
|
1860
1877
|
border-radius: inherit;
|
|
1861
1878
|
display: block;
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
/* ===== INLINE COUNTER BADGE ===== */
|
|
1882
|
+
.btn-counter-badge {
|
|
1883
|
+
display: inline-flex;
|
|
1884
|
+
align-items: center;
|
|
1885
|
+
justify-content: center;
|
|
1886
|
+
font-size: 10px;
|
|
1887
|
+
font-weight: 700;
|
|
1888
|
+
height: 18px;
|
|
1889
|
+
min-width: 18px;
|
|
1890
|
+
padding: 0 6px;
|
|
1891
|
+
border-radius: 999px;
|
|
1892
|
+
background: var(--btn-counter-bg, rgba(0, 0, 0, 0.08));
|
|
1893
|
+
color: var(--btn-counter-color, inherit);
|
|
1894
|
+
margin-inline-start: 8px;
|
|
1895
|
+
line-height: 1;
|
|
1896
|
+
flex-shrink: 0;
|
|
1897
|
+
box-sizing: border-box;
|
|
1898
|
+
text-shadow: none;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
/* Solid color variants: Use vibrant high-contrast white semi-transparent background with pure white text */
|
|
1902
|
+
.btn-primary .btn-counter-badge,
|
|
1903
|
+
.btn-success .btn-counter-badge,
|
|
1904
|
+
.btn-danger .btn-counter-badge,
|
|
1905
|
+
.btn-warning .btn-counter-badge,
|
|
1906
|
+
.btn-info .btn-counter-badge,
|
|
1907
|
+
.btn-dark .btn-counter-badge {
|
|
1908
|
+
background: var(--btn-counter-bg, rgba(255, 255, 255, 0.25));
|
|
1909
|
+
color: var(--btn-counter-color, #ffffff);
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
.btn-secondary .btn-counter-badge {
|
|
1913
|
+
background: var(--btn-counter-bg, rgba(0, 0, 0, 0.12));
|
|
1914
|
+
color: var(--btn-counter-color, inherit);
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
/* Outline & Ghost variants: Use a soft gray/tinted background with proper readable label/text color */
|
|
1918
|
+
.btn-outline .btn-counter-badge,
|
|
1919
|
+
.btn-ghost .btn-counter-badge {
|
|
1920
|
+
background: var(--btn-counter-bg, rgba(0, 0, 0, 0.08));
|
|
1921
|
+
color: var(--btn-counter-color, var(--btn-label-color, var(--label-color, var(--text-secondary, #374151))));
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
/* Soft color variants: Use custom premium semi-transparent tinted backgrounds matching their theme color */
|
|
1925
|
+
.btn-soft .btn-counter-badge {
|
|
1926
|
+
background: var(--btn-counter-bg, rgba(0, 0, 0, 0.06));
|
|
1927
|
+
color: var(--btn-counter-color, inherit);
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
.btn-soft.btn-primary .btn-counter-badge {
|
|
1931
|
+
background: var(--btn-counter-bg, rgba(59, 130, 246, 0.15));
|
|
1932
|
+
color: var(--btn-counter-color, var(--color-primary, #3b82f6));
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
.btn-soft.btn-success .btn-counter-badge {
|
|
1936
|
+
background: var(--btn-counter-bg, rgba(16, 185, 129, 0.15));
|
|
1937
|
+
color: var(--btn-counter-color, var(--color-success, #10b981));
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
.btn-soft.btn-danger .btn-counter-badge {
|
|
1941
|
+
background: var(--btn-counter-bg, rgba(239, 68, 68, 0.15));
|
|
1942
|
+
color: var(--btn-counter-color, var(--color-danger, #ef4444));
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
.btn-soft.btn-warning .btn-counter-badge {
|
|
1946
|
+
background: var(--btn-counter-bg, rgba(245, 158, 11, 0.15));
|
|
1947
|
+
color: var(--btn-counter-color, var(--color-warning, #f59e0b));
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
.btn-soft.btn-info .btn-counter-badge {
|
|
1951
|
+
background: var(--btn-counter-bg, rgba(6, 182, 212, 0.15));
|
|
1952
|
+
color: var(--btn-counter-color, var(--color-info, #06b6d4));
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
/* Gradient variants: Use beautiful glassmorphic white semi-transparent bubble to let gradient shine */
|
|
1956
|
+
.btn-gradient .btn-counter-badge,
|
|
1957
|
+
.btn-gradient-blue .btn-counter-badge,
|
|
1958
|
+
.btn-gradient-purple .btn-counter-badge,
|
|
1959
|
+
.btn-gradient-orange .btn-counter-badge,
|
|
1960
|
+
.btn-gradient-ocean .btn-counter-badge,
|
|
1961
|
+
.btn-gradient-sunset .btn-counter-badge,
|
|
1962
|
+
.btn-gradient-candy .btn-counter-badge,
|
|
1963
|
+
.btn-gradient-gold .btn-counter-badge,
|
|
1964
|
+
.btn-gradient-midnight .btn-counter-badge,
|
|
1965
|
+
.btn-gradient-forest .btn-counter-badge,
|
|
1966
|
+
.btn-gradient-blaze .btn-counter-badge {
|
|
1967
|
+
background: var(--btn-counter-bg, rgba(255, 255, 255, 0.25));
|
|
1968
|
+
color: var(--btn-counter-color, #ffffff);
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
.btn-counter-badge.counter-primary {
|
|
1972
|
+
background-color: var(--color-primary, #3b82f6) !important;
|
|
1973
|
+
color: #ffffff !important;
|
|
1974
|
+
}
|
|
1975
|
+
.btn-counter-badge.counter-success {
|
|
1976
|
+
background-color: var(--color-success, #10b981) !important;
|
|
1977
|
+
color: #ffffff !important;
|
|
1978
|
+
}
|
|
1979
|
+
.btn-counter-badge.counter-danger {
|
|
1980
|
+
background-color: var(--color-danger, #ef4444) !important;
|
|
1981
|
+
color: #ffffff !important;
|
|
1982
|
+
}
|
|
1983
|
+
.btn-counter-badge.counter-warning {
|
|
1984
|
+
background-color: var(--color-warning, #f59e0b) !important;
|
|
1985
|
+
color: #ffffff !important;
|
|
1986
|
+
}
|
|
1987
|
+
.btn-counter-badge.counter-info {
|
|
1988
|
+
background-color: var(--color-info, #06b6d4) !important;
|
|
1989
|
+
color: #ffffff !important;
|
|
1990
|
+
}
|
|
1991
|
+
.btn-counter-badge.counter-secondary {
|
|
1992
|
+
background-color: var(--color-secondary, #6b7280) !important;
|
|
1993
|
+
color: #ffffff !important;
|
|
1862
1994
|
}
|
|
@@ -85,6 +85,14 @@ export class Button {
|
|
|
85
85
|
grow = false;
|
|
86
86
|
/** Badge content */
|
|
87
87
|
badge;
|
|
88
|
+
/** Counter badge content (inline right side of text) */
|
|
89
|
+
counter;
|
|
90
|
+
/** Counter badge color variant (primary, success, danger, etc.) */
|
|
91
|
+
counterColor;
|
|
92
|
+
/** Custom background color for the counter badge */
|
|
93
|
+
counterCustomColor;
|
|
94
|
+
/** Custom text color for the counter badge */
|
|
95
|
+
counterCustomTextColor;
|
|
88
96
|
/** Badge color variant (primary, success, danger, etc.) */
|
|
89
97
|
badgeColor = 'danger';
|
|
90
98
|
/** Custom background color for the badge */
|
|
@@ -114,6 +122,21 @@ export class Button {
|
|
|
114
122
|
copied = false;
|
|
115
123
|
/** Click event */
|
|
116
124
|
buttonClick;
|
|
125
|
+
getBadgeColor() {
|
|
126
|
+
const finalBadgeColor = this.badgeColor;
|
|
127
|
+
if (finalBadgeColor === this.color) {
|
|
128
|
+
if (this.color === 'danger') {
|
|
129
|
+
return 'warning';
|
|
130
|
+
}
|
|
131
|
+
else if (this.color === 'warning') {
|
|
132
|
+
return 'danger';
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
return 'danger';
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
return finalBadgeColor;
|
|
139
|
+
}
|
|
117
140
|
handleClick = (event) => {
|
|
118
141
|
if (this.disabled || this.loading) {
|
|
119
142
|
event.preventDefault();
|
|
@@ -173,7 +196,8 @@ export class Button {
|
|
|
173
196
|
* are not needed — the DOM order itself drives the visual order.
|
|
174
197
|
*/
|
|
175
198
|
renderButtonContent(iconElement, avatarElement, spinner) {
|
|
176
|
-
const
|
|
199
|
+
const hostTitle = this.el.getAttribute('title') || '';
|
|
200
|
+
const trimmedLabel = (this.label || hostTitle).trim();
|
|
177
201
|
const trimmedDescription = (this.description || this.subtitle || '').trim();
|
|
178
202
|
const hasLabel = !!trimmedLabel;
|
|
179
203
|
const hasDescription = !!trimmedDescription;
|
|
@@ -183,14 +207,25 @@ export class Button {
|
|
|
183
207
|
return this.loading ? spinner : (avatarElement || iconElement || h("slot", null));
|
|
184
208
|
}
|
|
185
209
|
const badgeInlineLeft = this.badge && (this.badgePosition === 'inline-left' ||
|
|
186
|
-
(this.rtl && this.badgePosition === 'inline-right')) ? (h("ui-badge", { class: "btn-badge-inline", value: this.badge.toString(), color: this.
|
|
210
|
+
(this.rtl && this.badgePosition === 'inline-right')) ? (h("ui-badge", { class: "btn-badge-inline", value: this.badge.toString(), color: this.getBadgeColor(), "custom-color": this.badgeCustomColor, "custom-text-color": this.badgeCustomTextColor, size: "sm" })) : null;
|
|
187
211
|
const badgeInlineRight = this.badge && (this.badgePosition === 'inline-right' ||
|
|
188
|
-
(this.rtl && this.badgePosition === 'inline-left')) ? (h("ui-badge", { class: "btn-badge-inline", value: this.badge.toString(), color: this.
|
|
212
|
+
(this.rtl && this.badgePosition === 'inline-left')) ? (h("ui-badge", { class: "btn-badge-inline", value: this.badge.toString(), color: this.getBadgeColor(), "custom-color": this.badgeCustomColor, "custom-text-color": this.badgeCustomTextColor, size: "sm" })) : null;
|
|
189
213
|
const showSpinnerAtStart = this.loading && (this.loadingPosition === 'left' || (this.loadingPosition === 'icon' && !iconElement && !avatarElement));
|
|
190
214
|
const showSpinnerAtEnd = this.loading && this.loadingPosition === 'right';
|
|
191
215
|
const showSpinnerCentered = this.loading && (this.loadingPosition === 'center' || this.loadingPosition === 'icon');
|
|
192
216
|
const iconBlock = (avatarElement || iconElement || showSpinnerCentered) ? (h("div", { class: "btn-icon-block", part: "icon-block" }, showSpinnerCentered ? spinner : (avatarElement || iconElement))) : null;
|
|
193
|
-
const
|
|
217
|
+
const counterStyles = {};
|
|
218
|
+
if (this.counterCustomColor) {
|
|
219
|
+
counterStyles['background-color'] = this.counterCustomColor;
|
|
220
|
+
}
|
|
221
|
+
if (this.counterCustomTextColor) {
|
|
222
|
+
counterStyles['color'] = this.counterCustomTextColor;
|
|
223
|
+
}
|
|
224
|
+
const counterElement = this.counter !== undefined && this.counter !== '' ? (h("span", { class: {
|
|
225
|
+
'btn-counter-badge': true,
|
|
226
|
+
[`counter-${this.counterColor}`]: !!this.counterColor
|
|
227
|
+
}, style: counterStyles, part: "counter" }, this.counter)) : null;
|
|
228
|
+
const labelBlock = showLabel ? (h("div", { class: "btn-label-block", part: "label-block" }, h("div", { class: "btn-title", part: "title" }, this.copied ? '✓ Copied!' : (hasLabel ? trimmedLabel : h("slot", null)), counterElement), hasDescription && (h("div", { class: `btn-subtitle btn-subtitle-${this.descriptionPosition}`, part: "subtitle" }, trimmedDescription)))) : null;
|
|
194
229
|
return (h("div", { class: {
|
|
195
230
|
'btn-label-row': true,
|
|
196
231
|
[`icon-pos-${this.iconPosition}`]: true
|
|
@@ -203,7 +238,8 @@ export class Button {
|
|
|
203
238
|
const Tag = (this.href ? 'a' : 'button');
|
|
204
239
|
const normalizedSize = normalizeComponentSize(this.size, 'md');
|
|
205
240
|
const spinner = this.loading ? (h("span", { class: `btn-spinner btn-spinner-${this.loadingPosition}` }, h("ui-loader", { size: "xs", color: "currentColor" }))) : null;
|
|
206
|
-
const
|
|
241
|
+
const hostTitle = this.el.getAttribute('title') || '';
|
|
242
|
+
const sanitizedLabel = this.ariaLabel || (this.label || hostTitle || this.el.textContent || '').trim();
|
|
207
243
|
const finalAriaLabel = sanitizeHTML(sanitizedLabel);
|
|
208
244
|
const renderProps = this.href ? {
|
|
209
245
|
href: this.href,
|
|
@@ -252,7 +288,7 @@ export class Button {
|
|
|
252
288
|
this.rtl && 'btn-rtl',
|
|
253
289
|
this.reveal !== 'none' && `reveal-${this.reveal}`,
|
|
254
290
|
].filter(Boolean).join(' ');
|
|
255
|
-
return (h(Tag, { key: '
|
|
291
|
+
return (h(Tag, { key: '1a633068acc34fcf0fa27d2035b26452c17446c1', ...renderProps, style: styles, class: hostClass, part: "button", dir: this.rtl ? 'rtl' : 'ltr', onClick: this.handleClick, ref: (el) => (this.nativeButton = el) }, !this.noRipple && h("span", { key: 'c39b6a3c884ddcb8b1123a92fd325a39b6749bdf', class: "btn-ripple-container" }), h("span", { key: 'f7ef1d361081711c95019718ca64b7215b59f235', class: "btn-content" }, isImageButton ? (h("fragment", null, this.loading && spinner, h("img", { src: this.imgSrc, alt: this.imgAlt || '', class: "btn-image" }))) : (this.renderButtonContent(iconElement, avatarElement, spinner))), this.badge && !this.badgePosition.startsWith('inline') && (h("ui-badge", { key: '63cf65ca304184c969dedd157730c116823d9ba9', class: `btn-badge is-absolute pos-${this.badgePosition}`, value: this.badge.toString(), color: this.getBadgeColor(), "custom-color": this.badgeCustomColor, "custom-text-color": this.badgeCustomTextColor, size: "sm" })), this.progress !== undefined && (h("span", { key: 'e9ea36586c110dc064dc9b8676b83765d5ce281a', class: "btn-progress-fill", style: { width: `${Math.min(100, Math.max(0, this.progress))}%` } }))));
|
|
256
292
|
}
|
|
257
293
|
static get is() { return "ui-button"; }
|
|
258
294
|
static get encapsulation() { return "shadow"; }
|
|
@@ -700,7 +736,7 @@ export class Button {
|
|
|
700
736
|
"mutable": false,
|
|
701
737
|
"complexType": {
|
|
702
738
|
"original": "StatusColor",
|
|
703
|
-
"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\"",
|
|
704
740
|
"references": {
|
|
705
741
|
"StatusColor": {
|
|
706
742
|
"location": "import",
|
|
@@ -897,7 +933,7 @@ export class Button {
|
|
|
897
933
|
},
|
|
898
934
|
"getter": false,
|
|
899
935
|
"setter": false,
|
|
900
|
-
"reflect":
|
|
936
|
+
"reflect": true,
|
|
901
937
|
"attribute": "shape",
|
|
902
938
|
"defaultValue": "'rounded'"
|
|
903
939
|
},
|
|
@@ -937,7 +973,7 @@ export class Button {
|
|
|
937
973
|
},
|
|
938
974
|
"getter": false,
|
|
939
975
|
"setter": false,
|
|
940
|
-
"reflect":
|
|
976
|
+
"reflect": true,
|
|
941
977
|
"attribute": "pill",
|
|
942
978
|
"defaultValue": "false"
|
|
943
979
|
},
|
|
@@ -957,7 +993,7 @@ export class Button {
|
|
|
957
993
|
},
|
|
958
994
|
"getter": false,
|
|
959
995
|
"setter": false,
|
|
960
|
-
"reflect":
|
|
996
|
+
"reflect": true,
|
|
961
997
|
"attribute": "circle",
|
|
962
998
|
"defaultValue": "false"
|
|
963
999
|
},
|
|
@@ -1057,12 +1093,95 @@ export class Button {
|
|
|
1057
1093
|
"reflect": false,
|
|
1058
1094
|
"attribute": "badge"
|
|
1059
1095
|
},
|
|
1096
|
+
"counter": {
|
|
1097
|
+
"type": "any",
|
|
1098
|
+
"mutable": false,
|
|
1099
|
+
"complexType": {
|
|
1100
|
+
"original": "string | number",
|
|
1101
|
+
"resolved": "number | string",
|
|
1102
|
+
"references": {}
|
|
1103
|
+
},
|
|
1104
|
+
"required": false,
|
|
1105
|
+
"optional": true,
|
|
1106
|
+
"docs": {
|
|
1107
|
+
"tags": [],
|
|
1108
|
+
"text": "Counter badge content (inline right side of text)"
|
|
1109
|
+
},
|
|
1110
|
+
"getter": false,
|
|
1111
|
+
"setter": false,
|
|
1112
|
+
"reflect": false,
|
|
1113
|
+
"attribute": "counter"
|
|
1114
|
+
},
|
|
1115
|
+
"counterColor": {
|
|
1116
|
+
"type": "string",
|
|
1117
|
+
"mutable": false,
|
|
1118
|
+
"complexType": {
|
|
1119
|
+
"original": "StatusColor",
|
|
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
|
+
"references": {
|
|
1122
|
+
"StatusColor": {
|
|
1123
|
+
"location": "import",
|
|
1124
|
+
"path": "../../types",
|
|
1125
|
+
"id": "src/types/index.ts::StatusColor",
|
|
1126
|
+
"referenceLocation": "StatusColor"
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
"required": false,
|
|
1131
|
+
"optional": true,
|
|
1132
|
+
"docs": {
|
|
1133
|
+
"tags": [],
|
|
1134
|
+
"text": "Counter badge color variant (primary, success, danger, etc.)"
|
|
1135
|
+
},
|
|
1136
|
+
"getter": false,
|
|
1137
|
+
"setter": false,
|
|
1138
|
+
"reflect": false,
|
|
1139
|
+
"attribute": "counter-color"
|
|
1140
|
+
},
|
|
1141
|
+
"counterCustomColor": {
|
|
1142
|
+
"type": "string",
|
|
1143
|
+
"mutable": false,
|
|
1144
|
+
"complexType": {
|
|
1145
|
+
"original": "string",
|
|
1146
|
+
"resolved": "string",
|
|
1147
|
+
"references": {}
|
|
1148
|
+
},
|
|
1149
|
+
"required": false,
|
|
1150
|
+
"optional": true,
|
|
1151
|
+
"docs": {
|
|
1152
|
+
"tags": [],
|
|
1153
|
+
"text": "Custom background color for the counter badge"
|
|
1154
|
+
},
|
|
1155
|
+
"getter": false,
|
|
1156
|
+
"setter": false,
|
|
1157
|
+
"reflect": false,
|
|
1158
|
+
"attribute": "counter-custom-color"
|
|
1159
|
+
},
|
|
1160
|
+
"counterCustomTextColor": {
|
|
1161
|
+
"type": "string",
|
|
1162
|
+
"mutable": false,
|
|
1163
|
+
"complexType": {
|
|
1164
|
+
"original": "string",
|
|
1165
|
+
"resolved": "string",
|
|
1166
|
+
"references": {}
|
|
1167
|
+
},
|
|
1168
|
+
"required": false,
|
|
1169
|
+
"optional": true,
|
|
1170
|
+
"docs": {
|
|
1171
|
+
"tags": [],
|
|
1172
|
+
"text": "Custom text color for the counter badge"
|
|
1173
|
+
},
|
|
1174
|
+
"getter": false,
|
|
1175
|
+
"setter": false,
|
|
1176
|
+
"reflect": false,
|
|
1177
|
+
"attribute": "counter-custom-text-color"
|
|
1178
|
+
},
|
|
1060
1179
|
"badgeColor": {
|
|
1061
1180
|
"type": "string",
|
|
1062
1181
|
"mutable": false,
|
|
1063
1182
|
"complexType": {
|
|
1064
1183
|
"original": "StatusColor",
|
|
1065
|
-
"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\"",
|
|
1066
1185
|
"references": {
|
|
1067
1186
|
"StatusColor": {
|
|
1068
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"; }
|