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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class Progress {
|
|
3
|
+
themeObserver;
|
|
3
4
|
/**
|
|
4
5
|
* Type of progress
|
|
5
6
|
*/
|
|
@@ -24,7 +25,7 @@ export class Progress {
|
|
|
24
25
|
/**
|
|
25
26
|
* Color of unfilled part
|
|
26
27
|
*/
|
|
27
|
-
trailColor = '
|
|
28
|
+
trailColor = '';
|
|
28
29
|
/**
|
|
29
30
|
* Enable automatic gradient based on status or strokeColor
|
|
30
31
|
*/
|
|
@@ -149,6 +150,30 @@ export class Progress {
|
|
|
149
150
|
* Enable glassmorphism effect for the trail
|
|
150
151
|
*/
|
|
151
152
|
glass = false;
|
|
153
|
+
/**
|
|
154
|
+
* Status-bar variant: shows a lifecycle label (Not Started / Running / Interrupted / Completed)
|
|
155
|
+
* above the progress bar derived automatically from percent + status.
|
|
156
|
+
*/
|
|
157
|
+
statusBar = false;
|
|
158
|
+
/**
|
|
159
|
+
* Alignment of the status badge inside the status bar header.
|
|
160
|
+
* 'left' (default) — badge left, percent right.
|
|
161
|
+
* 'center' — badge and percent centered together.
|
|
162
|
+
* 'right' — badge right, percent left.
|
|
163
|
+
*/
|
|
164
|
+
statusBarAlign = 'left';
|
|
165
|
+
/**
|
|
166
|
+
* Position of the status chip/badge in status-bar mode.
|
|
167
|
+
* 'inside' (default) — inside the progress bar trail (requires minimum height of 32px).
|
|
168
|
+
* 'top' — above the progress bar (allows smaller progress bar heights).
|
|
169
|
+
*/
|
|
170
|
+
statusBarPosition = 'inside';
|
|
171
|
+
/**
|
|
172
|
+
* Custom text labels for each status-bar state.
|
|
173
|
+
* Pass any subset to override — unset keys keep their defaults.
|
|
174
|
+
* e.g. { notStarted: 'Pending', running: 'In Progress', interrupted: 'Paused', completed: 'Done' }
|
|
175
|
+
*/
|
|
176
|
+
statusLabels = {};
|
|
152
177
|
/**
|
|
153
178
|
* Enable dynamic glow effect based on status
|
|
154
179
|
*/
|
|
@@ -171,6 +196,7 @@ export class Progress {
|
|
|
171
196
|
ticks = 0;
|
|
172
197
|
animatedPercent = 0;
|
|
173
198
|
isDragging = false;
|
|
199
|
+
isDarkTheme = false;
|
|
174
200
|
gradientId = `ui-progress-gradient-${Math.random().toString(36).substr(2, 9)}`;
|
|
175
201
|
el;
|
|
176
202
|
/**
|
|
@@ -181,6 +207,13 @@ export class Progress {
|
|
|
181
207
|
this.animatedPercent = this.percent;
|
|
182
208
|
this.currentStatus = this.status;
|
|
183
209
|
this.normalizeProps();
|
|
210
|
+
this.syncThemeMode();
|
|
211
|
+
}
|
|
212
|
+
componentDidLoad() {
|
|
213
|
+
this.setupThemeObserver();
|
|
214
|
+
}
|
|
215
|
+
disconnectedCallback() {
|
|
216
|
+
this.themeObserver?.disconnect();
|
|
184
217
|
}
|
|
185
218
|
normalizeProps() {
|
|
186
219
|
try {
|
|
@@ -196,11 +229,40 @@ export class Progress {
|
|
|
196
229
|
if (typeof this.multiProgress === 'string') {
|
|
197
230
|
this.multiProgress = JSON.parse(this.multiProgress);
|
|
198
231
|
}
|
|
232
|
+
if (typeof this.statusLabels === 'string')
|
|
233
|
+
this.statusLabels = JSON.parse(this.statusLabels);
|
|
199
234
|
}
|
|
200
235
|
catch (e) {
|
|
201
236
|
console.warn('Failed to parse complex progress prop', e);
|
|
202
237
|
}
|
|
203
238
|
}
|
|
239
|
+
setupThemeObserver() {
|
|
240
|
+
if (typeof MutationObserver === 'undefined')
|
|
241
|
+
return;
|
|
242
|
+
this.themeObserver?.disconnect();
|
|
243
|
+
this.themeObserver = new MutationObserver(() => {
|
|
244
|
+
this.syncThemeMode();
|
|
245
|
+
});
|
|
246
|
+
const observerConfig = {
|
|
247
|
+
attributes: true,
|
|
248
|
+
attributeFilter: ['class', 'data-theme'],
|
|
249
|
+
};
|
|
250
|
+
this.themeObserver.observe(document.documentElement, observerConfig);
|
|
251
|
+
if (document.body) {
|
|
252
|
+
this.themeObserver.observe(document.body, observerConfig);
|
|
253
|
+
}
|
|
254
|
+
if (this.el.parentElement) {
|
|
255
|
+
this.themeObserver.observe(this.el.parentElement, observerConfig);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
syncThemeMode() {
|
|
259
|
+
const host = this.el;
|
|
260
|
+
const darkThemeSelector = '[data-theme="dark"], .dark, .dark-theme';
|
|
261
|
+
const closestDarkAncestor = host?.closest(darkThemeSelector);
|
|
262
|
+
const htmlIsDark = document.documentElement.matches(darkThemeSelector);
|
|
263
|
+
const bodyIsDark = !!document.body && document.body.matches(darkThemeSelector);
|
|
264
|
+
this.isDarkTheme = !!closestDarkAncestor || htmlIsDark || bodyIsDark;
|
|
265
|
+
}
|
|
204
266
|
handlePercentChange(newPercent) {
|
|
205
267
|
if (newPercent > this.peakMarker) {
|
|
206
268
|
this.peakMarker = newPercent;
|
|
@@ -211,6 +273,9 @@ export class Progress {
|
|
|
211
273
|
handleStrokeColorChange() {
|
|
212
274
|
this.normalizeProps();
|
|
213
275
|
}
|
|
276
|
+
handleStatusChange(newStatus) {
|
|
277
|
+
this.currentStatus = newStatus;
|
|
278
|
+
}
|
|
214
279
|
applyThresholds(val) {
|
|
215
280
|
if (!this.thresholds.length)
|
|
216
281
|
return;
|
|
@@ -294,16 +359,54 @@ export class Progress {
|
|
|
294
359
|
}
|
|
295
360
|
return nodes;
|
|
296
361
|
}
|
|
362
|
+
getStatusInfo() {
|
|
363
|
+
const lbl = this.statusLabels || {};
|
|
364
|
+
if (this.currentStatus === 'interrupted') {
|
|
365
|
+
return { label: lbl.interrupted ?? 'Interrupted', cssClass: 'interrupted', iconName: 'ban' };
|
|
366
|
+
}
|
|
367
|
+
if (this.animatedPercent >= 100 || this.currentStatus === 'completed') {
|
|
368
|
+
return { label: lbl.completed ?? 'Completed', cssClass: 'completed', iconName: 'check-circle' };
|
|
369
|
+
}
|
|
370
|
+
if (this.animatedPercent <= 0) {
|
|
371
|
+
return { label: lbl.notStarted ?? 'Not Started', cssClass: 'not-started', iconName: 'circle' };
|
|
372
|
+
}
|
|
373
|
+
return { label: lbl.running ?? 'Running', cssClass: 'running', iconName: 'loader' };
|
|
374
|
+
}
|
|
375
|
+
renderStatusBarChip(isOnTop = false) {
|
|
376
|
+
const { label, cssClass, iconName } = this.getStatusInfo();
|
|
377
|
+
const pct = Number(this.animatedPercent.toFixed(this.decimalPrecision));
|
|
378
|
+
let style = {};
|
|
379
|
+
if (!isOnTop) {
|
|
380
|
+
style = { position: 'absolute', top: '50%', transform: 'translateY(-50%)', zIndex: '2' };
|
|
381
|
+
if (this.statusBarAlign === 'right') {
|
|
382
|
+
style.right = '8px';
|
|
383
|
+
}
|
|
384
|
+
else if (this.statusBarAlign === 'center') {
|
|
385
|
+
style.left = '50%';
|
|
386
|
+
style.transform = 'translate(-50%, -50%)';
|
|
387
|
+
}
|
|
388
|
+
else {
|
|
389
|
+
style.left = '8px';
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
return (h("div", { class: `progress-status-chip progress-status-chip--${cssClass}`, style: style }, h("ui-icon", { name: iconName, library: "lucide" }), h("span", null, label), h("span", { "aria-hidden": "true", style: { opacity: '0.45', margin: '0 1px' } }, "\u00B7"), h("span", null, pct, "%")));
|
|
393
|
+
}
|
|
297
394
|
getStrokeColor() {
|
|
298
|
-
if (this.currentStatus === 'success') {
|
|
395
|
+
if (this.currentStatus === 'success' || this.currentStatus === 'completed') {
|
|
299
396
|
return '#52c41a';
|
|
300
397
|
}
|
|
301
|
-
if (this.currentStatus === 'exception' || this.currentStatus === 'danger') {
|
|
398
|
+
if (this.currentStatus === 'exception' || this.currentStatus === 'danger' || this.currentStatus === 'interrupted') {
|
|
302
399
|
return '#ff4d4f';
|
|
303
400
|
}
|
|
304
401
|
if (this.currentStatus === 'warning') {
|
|
305
402
|
return '#faad14';
|
|
306
403
|
}
|
|
404
|
+
if (this.currentStatus === 'empty') {
|
|
405
|
+
return '#d9d9d9';
|
|
406
|
+
}
|
|
407
|
+
if (this.currentStatus === 'running') {
|
|
408
|
+
return '#1890ff';
|
|
409
|
+
}
|
|
307
410
|
const hasGradient = this.gradient || (typeof this.strokeColor === 'object' && this.strokeColor !== null);
|
|
308
411
|
if (hasGradient) {
|
|
309
412
|
return `url(#${this.gradientId})`;
|
|
@@ -313,8 +416,18 @@ export class Progress {
|
|
|
313
416
|
}
|
|
314
417
|
return '#1890ff';
|
|
315
418
|
}
|
|
419
|
+
getTrailColor() {
|
|
420
|
+
if (typeof this.trailColor === 'string' && this.trailColor.trim().length > 0) {
|
|
421
|
+
return this.trailColor;
|
|
422
|
+
}
|
|
423
|
+
if (this.statusBar) {
|
|
424
|
+
return 'var(--progress-status-surface, var(--progress-trail-color, var(--bg-secondary, #f1f5f9)))';
|
|
425
|
+
}
|
|
426
|
+
return 'var(--progress-trail-color, var(--bg-tertiary, #e2e8f0))';
|
|
427
|
+
}
|
|
316
428
|
renderLineProgress() {
|
|
317
429
|
const strokeColor = this.getStrokeColor();
|
|
430
|
+
const trailColor = this.getTrailColor();
|
|
318
431
|
const roundedPercent = Number(this.animatedPercent.toFixed(this.decimalPrecision));
|
|
319
432
|
let backgroundStyle = strokeColor;
|
|
320
433
|
const isGradientProp = typeof this.strokeColor === 'object' && this.strokeColor !== null;
|
|
@@ -335,27 +448,34 @@ export class Progress {
|
|
|
335
448
|
}
|
|
336
449
|
backgroundStyle = `linear-gradient(${direction}, ${fromColor}, ${toColor})`;
|
|
337
450
|
}
|
|
451
|
+
const showStatusOnTop = this.statusBar && this.statusBarPosition === 'top';
|
|
452
|
+
// When status-bar chip is active and inside, ensure the trail is at least 32px tall so the chip fits
|
|
453
|
+
const effectiveStrokeWidth = (this.statusBar && this.statusBarPosition === 'inside' && this.orientation !== 'vertical')
|
|
454
|
+
? Math.max(this.strokeWidth, 32) : this.strokeWidth;
|
|
338
455
|
const progressStyle = {
|
|
339
456
|
[this.orientation === 'vertical' ? 'height' : 'width']: this.indeterminate ? '100%' : `${Math.min(this.animatedPercent, 100)}%`,
|
|
340
457
|
[this.orientation === 'vertical' ? 'width' : 'height']: '100%',
|
|
341
|
-
borderRadius: this.strokeLinecap === 'round' ? `${
|
|
458
|
+
borderRadius: this.strokeLinecap === 'round' ? `${effectiveStrokeWidth}px` : '0',
|
|
342
459
|
background: backgroundStyle,
|
|
460
|
+
color: strokeColor,
|
|
343
461
|
...(this.orientation === 'vertical' ? { position: 'absolute', bottom: '0', left: '0' } : {})
|
|
344
462
|
};
|
|
345
463
|
const trailStyle = {
|
|
346
|
-
[this.orientation === 'vertical' ? 'width' : 'height']: `${
|
|
464
|
+
[this.orientation === 'vertical' ? 'width' : 'height']: `${effectiveStrokeWidth}px`,
|
|
347
465
|
[this.orientation === 'vertical' ? 'height' : 'width']: this.orientation === 'vertical'
|
|
348
466
|
? (typeof this.height === 'number' ? `${this.height}px` : this.height)
|
|
349
467
|
: (typeof this.width === 'number' ? `${this.width}px` : this.width),
|
|
350
|
-
borderRadius: this.strokeLinecap === 'round' ? `${
|
|
351
|
-
background:
|
|
468
|
+
borderRadius: this.strokeLinecap === 'round' ? `${effectiveStrokeWidth}px` : '0',
|
|
469
|
+
background: trailColor,
|
|
352
470
|
cursor: this.interactive ? 'pointer' : 'default',
|
|
353
|
-
flex: '1'
|
|
471
|
+
flex: showStatusOnTop ? 'none' : '1'
|
|
354
472
|
};
|
|
355
473
|
return (h("div", { class: {
|
|
356
474
|
'progress-line-wrapper': true,
|
|
475
|
+
'progress-status-bar': this.statusBar,
|
|
476
|
+
'progress-status-bar--top': showStatusOnTop,
|
|
357
477
|
[`progress-orient-${this.orientation}`]: true
|
|
358
|
-
} }, this.labelPosition === 'top' && this.showInfo && this.renderProgressInfo(), h("div", { class: "progress-line-trail", style: trailStyle, onMouseDown: this.handleInteraction, onTouchStart: this.handleInteraction }, this.vitality && h("div", { class: "progress-vitality-pulse" }), this.renderTicks(), this.showBuffer && this.buffer > 0 && (h("div", { class: "progress-buffer-bar", style: {
|
|
478
|
+
} }, showStatusOnTop && (h("div", { class: `progress-status-header progress-status-header--${this.statusBarAlign}` }, this.renderStatusBarChip(true))), !this.statusBar && this.labelPosition === 'top' && this.showInfo && this.renderProgressInfo(), h("div", { class: "progress-line-trail", style: trailStyle, onMouseDown: this.handleInteraction, onTouchStart: this.handleInteraction }, this.statusBar && this.statusBarPosition === 'inside' && this.renderStatusBarChip(false), this.vitality && h("div", { class: "progress-vitality-pulse" }), this.renderTicks(), this.showBuffer && this.buffer > 0 && (h("div", { class: "progress-buffer-bar", style: {
|
|
359
479
|
[this.orientation === 'vertical' ? 'height' : 'width']: `${Math.min(this.buffer, 100)}%`,
|
|
360
480
|
[this.orientation === 'vertical' ? 'width' : 'height']: `${this.strokeWidth}px`,
|
|
361
481
|
background: `${strokeColor}33`,
|
|
@@ -371,15 +491,16 @@ export class Progress {
|
|
|
371
491
|
[this.orientation === 'vertical' ? 'height' : 'width']: `${((this.success.percent ?? 0) / this.animatedPercent) * 100}%`,
|
|
372
492
|
background: this.success.strokeColor || '#52c41a',
|
|
373
493
|
...(this.orientation === 'vertical' ? { position: 'absolute', bottom: '0', left: '0' } : {})
|
|
374
|
-
} }))), this.peakMarker > 0 && (h("div", { class: "progress-peak-marker", style: { [this.orientation === 'vertical' ? 'bottom' : 'left']: `${this.peakMarker}%` }, title: `Session Peak: ${this.peakMarker}%` })), this.milestones.map(milestone => (h("div", { class: "milestone-marker", style: { [this.orientation === 'vertical' ? 'bottom' : 'left']: `${milestone.percent}%` }, title: milestone.label }, milestone.icon ? h("ui-icon", { name: milestone.icon.replace(/^fa[sb]? fa-/, ''), library: "fontawesome" }) : h("div", { class: "milestone-dot" }))))), this.multiProgress.length > 0 && this.renderMultiProgress(), this.labelPosition !== 'top' && this.showInfo && this.renderProgressInfo(), this.showTimeEstimate && this.estimatedTime > 0 && this.renderTimeEstimate(), this.showPauseButton && this.renderPauseButton()));
|
|
494
|
+
} }))), this.peakMarker > 0 && (h("div", { class: "progress-peak-marker", style: { [this.orientation === 'vertical' ? 'bottom' : 'left']: `${this.peakMarker}%` }, title: `Session Peak: ${this.peakMarker}%` })), this.milestones.map(milestone => (h("div", { class: "milestone-marker", style: { [this.orientation === 'vertical' ? 'bottom' : 'left']: `${milestone.percent}%` }, title: milestone.label }, milestone.icon ? h("ui-icon", { name: milestone.icon.replace(/^fa[sb]? fa-/, ''), library: "fontawesome" }) : h("div", { class: "milestone-dot" }))))), this.multiProgress.length > 0 && this.renderMultiProgress(), !this.statusBar && this.labelPosition !== 'top' && this.showInfo && this.renderProgressInfo(), this.showTimeEstimate && this.estimatedTime > 0 && this.renderTimeEstimate(), this.showPauseButton && this.renderPauseButton()));
|
|
375
495
|
}
|
|
376
496
|
renderMultiProgress() {
|
|
377
|
-
|
|
497
|
+
const trailColor = this.getTrailColor();
|
|
498
|
+
return (h("div", { class: "multi-progress-container", style: { display: 'flex', flexDirection: 'column', gap: '8px', marginTop: '12px' } }, this.multiProgress.map((prog) => (h("div", { class: "multi-progress-item", style: { display: 'flex', alignItems: 'center', gap: '12px' } }, h("div", { class: "multi-progress-bar-wrap", style: { flex: '1', height: `${this.strokeWidth}px`, background: trailColor, borderRadius: '4px', overflow: 'hidden' } }, h("div", { class: "multi-progress-bar", style: {
|
|
378
499
|
width: `${prog.percent}%`,
|
|
379
500
|
background: prog.color || this.getStrokeColor(),
|
|
380
501
|
height: '100%',
|
|
381
502
|
transition: 'width 0.5s ease'
|
|
382
|
-
} })), prog.label && h("span", { class: "multi-progress-label", style: { fontSize: '11px', fontWeight: '700'
|
|
503
|
+
} })), prog.label && h("span", { class: "multi-progress-label", style: { fontSize: '11px', fontWeight: '700' } }, prog.label))))));
|
|
383
504
|
}
|
|
384
505
|
renderTimeEstimate() {
|
|
385
506
|
const minutes = Math.floor(this.estimatedTime / 60);
|
|
@@ -433,11 +554,21 @@ export class Progress {
|
|
|
433
554
|
const isGradientProp = typeof this.strokeColor === 'object' && this.strokeColor !== null;
|
|
434
555
|
const gradientObj2 = isGradientProp ? this.strokeColor : null;
|
|
435
556
|
const hasGradient = this.gradient || isGradientProp;
|
|
436
|
-
|
|
557
|
+
const circleLabelColor = this.isDarkTheme ? '#ffffff' : '#000000';
|
|
558
|
+
const circleLabelShadow = this.isDarkTheme ? '0 1px 2px rgba(15, 23, 42, 0.55)' : 'none';
|
|
559
|
+
return (h("div", { class: "progress-circle-wrapper", style: {
|
|
560
|
+
width: `${size}px`,
|
|
561
|
+
height: `${size}px`,
|
|
562
|
+
'--progress-circle-label-color': circleLabelColor,
|
|
563
|
+
'--progress-circle-label-shadow': circleLabelShadow,
|
|
564
|
+
} }, h("svg", { width: size, height: size }, hasGradient && (h("defs", null, h("linearGradient", { id: this.gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "100%" }, h("stop", { offset: "0%", "stop-color": gradientObj2 ? (gradientObj2.from || strokeColor) : strokeColor }), h("stop", { offset: "100%", "stop-color": gradientObj2 ? (gradientObj2.to || '#52c41a') : (this.status === 'normal' ? '#69c0ff' : strokeColor) })))), h("path", { d: pathString, stroke: this.trailColor, "stroke-width": strokeWidth, fill: "none", "stroke-linecap": this.strokeLinecap }), h("path", { d: pathString, stroke: strokeColor, "stroke-width": strokeWidth, fill: "none", "stroke-linecap": this.strokeLinecap, "stroke-dasharray": circumference, "stroke-dashoffset": offset, style: { color: strokeColor }, class: {
|
|
437
565
|
'progress-circle-path': true,
|
|
438
566
|
'progress-indeterminate': this.indeterminate,
|
|
439
567
|
'progress-liquid': this.liquid
|
|
440
|
-
} })), this.showInfo && (h("div", { class: "progress-circle-text"
|
|
568
|
+
} })), this.showInfo && (h("div", { class: "progress-circle-text", style: {
|
|
569
|
+
color: circleLabelColor,
|
|
570
|
+
textShadow: circleLabelShadow,
|
|
571
|
+
} }, iconEl, this.renderProgressInfo()))));
|
|
441
572
|
}
|
|
442
573
|
getCirclePath(cx, cy, radius, gapDegree, rotation) {
|
|
443
574
|
const gapRad = (gapDegree * Math.PI) / 180;
|
|
@@ -457,28 +588,35 @@ export class Progress {
|
|
|
457
588
|
const text = this.dataLabels || this.format(roundedPercent);
|
|
458
589
|
const infoStyle = this.percentageColor ? { color: this.percentageColor } : {};
|
|
459
590
|
const iconEl = this.icon ? h("ui-icon", { name: this.icon, library: this.iconLibrary, style: { marginRight: '6px' } }) : null;
|
|
460
|
-
if (this.
|
|
461
|
-
return (h("span", { class: "progress-text", style: infoStyle }, iconEl || h("ui-icon", { name: "check-circle", library: "fontawesome" }), this.labelPosition !== 'inside' && text));
|
|
591
|
+
if (this.currentStatus === 'success' || this.currentStatus === 'completed') {
|
|
592
|
+
return (h("span", { class: "progress-text progress-text-success", style: infoStyle }, iconEl || h("ui-icon", { name: "check-circle", library: "fontawesome" }), this.labelPosition !== 'inside' && (this.dataLabels || (this.currentStatus === 'completed' ? 'Completed' : text))));
|
|
462
593
|
}
|
|
463
|
-
if (this.
|
|
464
|
-
return (h("span", { class: "progress-text progress-text-exception", style: infoStyle }, iconEl || h("ui-icon", { name: "exclamation-triangle", library: "fontawesome" }), this.labelPosition !== 'inside' && text));
|
|
594
|
+
if (this.currentStatus === 'exception' || this.currentStatus === 'danger' || this.currentStatus === 'interrupted') {
|
|
595
|
+
return (h("span", { class: "progress-text progress-text-exception", style: infoStyle }, iconEl || h("ui-icon", { name: "exclamation-triangle", library: "fontawesome" }), this.labelPosition !== 'inside' && (this.dataLabels || (this.currentStatus === 'interrupted' ? 'Interrupted' : text))));
|
|
465
596
|
}
|
|
466
|
-
if (this.
|
|
597
|
+
if (this.currentStatus === 'warning') {
|
|
467
598
|
return (h("span", { class: "progress-text progress-text-warning", style: infoStyle }, iconEl || h("ui-icon", { name: "exclamation-circle", library: "fontawesome" }), text));
|
|
468
599
|
}
|
|
600
|
+
if (this.currentStatus === 'empty') {
|
|
601
|
+
return (h("span", { class: "progress-text progress-text-empty", style: infoStyle }, iconEl || h("ui-icon", { name: "circle", library: "fontawesome", style: { opacity: 0.4 } }), this.labelPosition !== 'inside' && (this.dataLabels || 'Empty')));
|
|
602
|
+
}
|
|
603
|
+
if (this.currentStatus === 'running') {
|
|
604
|
+
return (h("span", { class: "progress-text progress-text-running", style: infoStyle }, iconEl || h("ui-icon", { name: "sync", library: "fontawesome", class: "fa-spin", style: { color: '#1890ff' } }), this.labelPosition !== 'inside' && (this.dataLabels || `Running (${text})`)));
|
|
605
|
+
}
|
|
469
606
|
return (h("span", { class: "progress-text", style: infoStyle }, iconEl, text));
|
|
470
607
|
}
|
|
471
608
|
render() {
|
|
472
609
|
const progressClass = {
|
|
473
610
|
'progress': true,
|
|
474
611
|
[`progress-${this.type}`]: true,
|
|
475
|
-
'progress-active': this.status === 'active' || this.indeterminate,
|
|
612
|
+
'progress-active': this.status === 'active' || this.currentStatus === 'running' || this.indeterminate,
|
|
476
613
|
[`progress-${this.size}`]: this.type !== 'line',
|
|
477
614
|
'progress-indeterminate': this.indeterminate,
|
|
478
615
|
'progress-liquid': this.liquid,
|
|
479
616
|
'progress-glass': this.glass,
|
|
480
617
|
'progress-glow': this.glow,
|
|
481
618
|
'progress-skeleton': this.skeleton,
|
|
619
|
+
[`progress-${this.currentStatus}`]: true,
|
|
482
620
|
};
|
|
483
621
|
let content;
|
|
484
622
|
if (this.steps > 0 && this.type === 'line') {
|
|
@@ -491,7 +629,7 @@ export class Progress {
|
|
|
491
629
|
content = this.renderCircleProgress();
|
|
492
630
|
}
|
|
493
631
|
const roundedPercent = Number(this.animatedPercent.toFixed(this.decimalPrecision));
|
|
494
|
-
return (h(Host, { key: '
|
|
632
|
+
return (h(Host, { key: '707d27a2cea5d03dcadd12448e1cb618f32e956b', role: "progressbar", "aria-valuenow": roundedPercent, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": this.dataLabels || `Progress: ${this.percent}%`, style: this.orientation === 'vertical' ? { height: typeof this.height === 'number' ? `${this.height}px` : this.height } : {} }, h("div", { key: 'cc1721fbe6b18ae128cae17afd926c3fee09da83', class: progressClass }, content, (this.liquid || this.type === 'industrial') && (h("svg", { key: 'f6ef9f72eebaa4ca34ac9fc3692ec0655aabb1a9', style: { position: 'absolute', width: '0', height: '0' } }, h("filter", { key: 'a452fc5c65e180b97ddd07bde94280123c28fa49', id: "liquid-filter" }, h("feGaussianBlur", { key: 'ed16a5c601664b2fa99bba8d08efb4360cad5fa6', in: "SourceGraphic", stdDeviation: "10", result: "blur" }), h("feColorMatrix", { key: 'd9f249633f95de8be325c85ffd09c7d35d39e3e6', in: "blur", mode: "matrix", values: "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7", result: "goo" }), h("feBlend", { key: 'fd21fbfc70afae8e47a8a04c407d52203504be43', in: "SourceGraphic", in2: "goo" })))))));
|
|
495
633
|
}
|
|
496
634
|
static get is() { return "ui-progress"; }
|
|
497
635
|
static get encapsulation() { return "shadow"; }
|
|
@@ -551,8 +689,8 @@ export class Progress {
|
|
|
551
689
|
"type": "string",
|
|
552
690
|
"mutable": false,
|
|
553
691
|
"complexType": {
|
|
554
|
-
"original": "'success' | 'exception' | 'normal' | 'active' | 'warning' | 'danger'",
|
|
555
|
-
"resolved": "\"active\" | \"danger\" | \"exception\" | \"normal\" | \"success\" | \"warning\"",
|
|
692
|
+
"original": "'success' | 'exception' | 'normal' | 'active' | 'warning' | 'danger' | 'empty' | 'running' | 'completed' | 'interrupted'",
|
|
693
|
+
"resolved": "\"active\" | \"completed\" | \"danger\" | \"empty\" | \"exception\" | \"interrupted\" | \"normal\" | \"running\" | \"success\" | \"warning\"",
|
|
556
694
|
"references": {}
|
|
557
695
|
},
|
|
558
696
|
"required": false,
|
|
@@ -625,7 +763,7 @@ export class Progress {
|
|
|
625
763
|
"setter": false,
|
|
626
764
|
"reflect": false,
|
|
627
765
|
"attribute": "trail-color",
|
|
628
|
-
"defaultValue": "'
|
|
766
|
+
"defaultValue": "''"
|
|
629
767
|
},
|
|
630
768
|
"gradient": {
|
|
631
769
|
"type": "boolean",
|
|
@@ -1259,6 +1397,84 @@ export class Progress {
|
|
|
1259
1397
|
"attribute": "glass",
|
|
1260
1398
|
"defaultValue": "false"
|
|
1261
1399
|
},
|
|
1400
|
+
"statusBar": {
|
|
1401
|
+
"type": "boolean",
|
|
1402
|
+
"mutable": false,
|
|
1403
|
+
"complexType": {
|
|
1404
|
+
"original": "boolean",
|
|
1405
|
+
"resolved": "boolean",
|
|
1406
|
+
"references": {}
|
|
1407
|
+
},
|
|
1408
|
+
"required": false,
|
|
1409
|
+
"optional": false,
|
|
1410
|
+
"docs": {
|
|
1411
|
+
"tags": [],
|
|
1412
|
+
"text": "Status-bar variant: shows a lifecycle label (Not Started / Running / Interrupted / Completed)\r\nabove the progress bar derived automatically from percent + status."
|
|
1413
|
+
},
|
|
1414
|
+
"getter": false,
|
|
1415
|
+
"setter": false,
|
|
1416
|
+
"reflect": false,
|
|
1417
|
+
"attribute": "status-bar",
|
|
1418
|
+
"defaultValue": "false"
|
|
1419
|
+
},
|
|
1420
|
+
"statusBarAlign": {
|
|
1421
|
+
"type": "string",
|
|
1422
|
+
"mutable": false,
|
|
1423
|
+
"complexType": {
|
|
1424
|
+
"original": "'left' | 'center' | 'right'",
|
|
1425
|
+
"resolved": "\"center\" | \"left\" | \"right\"",
|
|
1426
|
+
"references": {}
|
|
1427
|
+
},
|
|
1428
|
+
"required": false,
|
|
1429
|
+
"optional": false,
|
|
1430
|
+
"docs": {
|
|
1431
|
+
"tags": [],
|
|
1432
|
+
"text": "Alignment of the status badge inside the status bar header.\r\n'left' (default) \u2014 badge left, percent right.\r\n'center' \u2014 badge and percent centered together.\r\n'right' \u2014 badge right, percent left."
|
|
1433
|
+
},
|
|
1434
|
+
"getter": false,
|
|
1435
|
+
"setter": false,
|
|
1436
|
+
"reflect": false,
|
|
1437
|
+
"attribute": "status-bar-align",
|
|
1438
|
+
"defaultValue": "'left'"
|
|
1439
|
+
},
|
|
1440
|
+
"statusBarPosition": {
|
|
1441
|
+
"type": "string",
|
|
1442
|
+
"mutable": false,
|
|
1443
|
+
"complexType": {
|
|
1444
|
+
"original": "'inside' | 'top'",
|
|
1445
|
+
"resolved": "\"inside\" | \"top\"",
|
|
1446
|
+
"references": {}
|
|
1447
|
+
},
|
|
1448
|
+
"required": false,
|
|
1449
|
+
"optional": false,
|
|
1450
|
+
"docs": {
|
|
1451
|
+
"tags": [],
|
|
1452
|
+
"text": "Position of the status chip/badge in status-bar mode.\r\n'inside' (default) \u2014 inside the progress bar trail (requires minimum height of 32px).\r\n'top' \u2014 above the progress bar (allows smaller progress bar heights)."
|
|
1453
|
+
},
|
|
1454
|
+
"getter": false,
|
|
1455
|
+
"setter": false,
|
|
1456
|
+
"reflect": false,
|
|
1457
|
+
"attribute": "status-bar-position",
|
|
1458
|
+
"defaultValue": "'inside'"
|
|
1459
|
+
},
|
|
1460
|
+
"statusLabels": {
|
|
1461
|
+
"type": "unknown",
|
|
1462
|
+
"mutable": true,
|
|
1463
|
+
"complexType": {
|
|
1464
|
+
"original": "{\r\n notStarted?: string;\r\n running?: string;\r\n interrupted?: string;\r\n completed?: string;\r\n }",
|
|
1465
|
+
"resolved": "{ notStarted?: string; running?: string; interrupted?: string; completed?: string; }",
|
|
1466
|
+
"references": {}
|
|
1467
|
+
},
|
|
1468
|
+
"required": false,
|
|
1469
|
+
"optional": false,
|
|
1470
|
+
"docs": {
|
|
1471
|
+
"tags": [],
|
|
1472
|
+
"text": "Custom text labels for each status-bar state.\r\nPass any subset to override \u2014 unset keys keep their defaults.\r\ne.g. { notStarted: 'Pending', running: 'In Progress', interrupted: 'Paused', completed: 'Done' }"
|
|
1473
|
+
},
|
|
1474
|
+
"getter": false,
|
|
1475
|
+
"setter": false,
|
|
1476
|
+
"defaultValue": "{}"
|
|
1477
|
+
},
|
|
1262
1478
|
"glow": {
|
|
1263
1479
|
"type": "boolean",
|
|
1264
1480
|
"mutable": false,
|
|
@@ -1380,6 +1596,7 @@ export class Progress {
|
|
|
1380
1596
|
"currentStatus": {},
|
|
1381
1597
|
"animatedPercent": {},
|
|
1382
1598
|
"isDragging": {},
|
|
1599
|
+
"isDarkTheme": {},
|
|
1383
1600
|
"gradientId": {}
|
|
1384
1601
|
};
|
|
1385
1602
|
}
|
|
@@ -1409,6 +1626,9 @@ export class Progress {
|
|
|
1409
1626
|
}, {
|
|
1410
1627
|
"propName": "strokeColor",
|
|
1411
1628
|
"methodName": "handleStrokeColorChange"
|
|
1629
|
+
}, {
|
|
1630
|
+
"propName": "status",
|
|
1631
|
+
"methodName": "handleStatusChange"
|
|
1412
1632
|
}];
|
|
1413
1633
|
}
|
|
1414
1634
|
}
|
|
@@ -132,8 +132,8 @@
|
|
|
132
132
|
overflow: hidden;
|
|
133
133
|
--ui-radio-border: var(--border-strong, #94a3b8);
|
|
134
134
|
--ui-radio-bg: var(--bg-primary, #ffffff);
|
|
135
|
-
--ui-radio-label: var(--label-color,
|
|
136
|
-
--ui-radio-description: var(--label-subtitle-color,
|
|
135
|
+
--ui-radio-label: var(--label-color, inherit);
|
|
136
|
+
--ui-radio-description: var(--label-subtitle-color, inherit);
|
|
137
137
|
--ui-radio-circle-hover: rgba(0, 0, 0, 0.05);
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -147,6 +147,8 @@
|
|
|
147
147
|
--ui-radio-border: var(--border-default, #64748b);
|
|
148
148
|
--ui-radio-bg: var(--bg-secondary, #111827);
|
|
149
149
|
--ui-radio-circle-hover: rgba(255, 255, 255, 0.05);
|
|
150
|
+
--ui-radio-label: var(--label-color, #f1f5f9);
|
|
151
|
+
--ui-radio-description: var(--label-subtitle-color, #cbd5e1);
|
|
150
152
|
}
|
|
151
153
|
|
|
152
154
|
.radio-container {
|
|
@@ -155,7 +157,7 @@
|
|
|
155
157
|
width: 100%;
|
|
156
158
|
box-sizing: border-box;
|
|
157
159
|
font-family: inherit;
|
|
158
|
-
color:
|
|
160
|
+
color: inherit;
|
|
159
161
|
}
|
|
160
162
|
.radio-container.radio-rtl {
|
|
161
163
|
direction: rtl;
|
|
@@ -186,7 +186,7 @@ export class Radio {
|
|
|
186
186
|
'radio-checked': this.checked,
|
|
187
187
|
'radio-ripple': this.rippleEffect && !this.disabled,
|
|
188
188
|
};
|
|
189
|
-
return (h("div", { key: '
|
|
189
|
+
return (h("div", { key: '3abf98f57fcc73d239e1139500693581f76cb5af', class: containerClasses, dir: this.rtl ? 'rtl' : 'ltr', style: { '--reveal-delay': `${this.revealDelay}ms` } }, h("label", { key: '1996220a75aed7b29913bffe6ab70fe132702d07', class: "radio-label", onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, (this.labelPosition === 'left' || this.labelPosition === 'top') && this.renderLabel(), h("div", { key: '333a70165b3fcc79587fb722386c1c16ac1ae10c', class: radioClasses }, h("input", { key: 'e314964bafbb1db4f06a1b322ff211a070c50c23', type: "radio", class: "radio-input", checked: this.checked, disabled: this.disabled || this.skeleton, readonly: this.readonly, value: this.value, name: this.name, tabindex: this.radioTabIndex, "aria-label": this.ariaLabel || this.label, "aria-describedby": this.ariaDescribedBy, "aria-checked": this.checked.toString(), "aria-invalid": this.invalid.toString(), onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: el => this.inputElement = el }), h("div", { key: 'c1b86631f08cf92e75783527d79b2cff3505ed37', class: "radio-circle" }, h("div", { key: 'b4da276c391006054977bf87ad772df9d97888a8', class: "glow-layer" }), this.renderDot()), this.badge && !this.skeleton && h("span", { key: '088b7d455d8720ea4686b1c8f7395da7add5650c', class: "radio-badge" }, this.badge), this.tooltip && !this.skeleton && (h("div", { key: 'be89fae1312be5703e3d74f128da5281e8a93065', class: `radio-tooltip radio-tooltip-${this.tooltipPosition}` }, this.tooltip))), (this.labelPosition === 'right' || this.labelPosition === 'bottom') && this.renderLabel(), this.skeleton && h("div", { key: '9309804190940eef047ac4e349f4cd19dab62861', class: "radio-skeleton-shimmer" })), (this.invalid || !this.internals.validity.valid) && (h("div", { key: '83bde20ce3a0c825c3f7bfe58a963272df6ade2f', class: "radio-error-message", role: "alert" }, this.internals.validationMessage || 'Selection required'))));
|
|
190
190
|
}
|
|
191
191
|
static get is() { return "ui-radio"; }
|
|
192
192
|
static get encapsulation() { return "shadow"; }
|
|
@@ -500,7 +500,7 @@ export class Radio {
|
|
|
500
500
|
"mutable": false,
|
|
501
501
|
"complexType": {
|
|
502
502
|
"original": "StatusColor",
|
|
503
|
-
"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\"",
|
|
503
|
+
"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\"",
|
|
504
504
|
"references": {
|
|
505
505
|
"StatusColor": {
|
|
506
506
|
"location": "import",
|