atomicuilibrary 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/category-section.cjs.entry.js +2 -2
- package/dist/cjs/dom-BvBb0kmW.js +267 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +2 -2
- package/dist/cjs/{index-ClkOYpT8.js → index-C32cWsm5.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/library-card.cjs.entry.js +2 -2
- package/dist/cjs/lm-container_2.cjs.entry.js +2 -2
- package/dist/cjs/lm-panel_3.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-step.cjs.entry.js +2 -2
- package/dist/cjs/nav-bar.cjs.entry.js +4 -4
- package/dist/cjs/smart-step.cjs.entry.js +3 -3
- package/dist/cjs/timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-accordion_11.cjs.entry.js +132 -50
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2 -2
- package/dist/cjs/ui-anchor.cjs.entry.js +2 -2
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ui-aside-panel.cjs.entry.js +10 -11
- package/dist/cjs/ui-avatar-group_5.cjs.entry.js +1694 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ui-callout-banner.cjs.entry.js +2 -2
- package/dist/cjs/ui-card.cjs.entry.js +4 -3
- package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ui-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ui-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/ui-code-preview.cjs.entry.js +2 -2
- package/dist/cjs/ui-color-picker.cjs.entry.js +256 -22
- package/dist/cjs/ui-command-palette.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-box.cjs.entry.js +85 -11
- package/dist/cjs/ui-dialog-content.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +1 -1
- package/dist/cjs/ui-divider.cjs.entry.js +1 -1
- package/dist/cjs/ui-dock-host.cjs.entry.js +4 -4
- package/dist/cjs/ui-dock.cjs.entry.js +2 -2
- package/dist/cjs/ui-drag-drop.cjs.entry.js +2 -2
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +104 -34
- package/dist/cjs/ui-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab.cjs.entry.js +4 -4
- package/dist/cjs/ui-file-upload.cjs.entry.js +143 -44
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +2 -2
- package/dist/cjs/ui-knob.cjs.entry.js +1 -1
- package/dist/cjs/ui-label.cjs.entry.js +473 -0
- package/dist/cjs/ui-library.cjs.entry.js +2 -2
- package/dist/cjs/ui-list-group_2.cjs.entry.js +349 -60
- package/dist/cjs/ui-list.cjs.entry.js +76 -42
- package/dist/cjs/ui-masonry.cjs.entry.js +1 -1
- package/dist/cjs/ui-meter-group.cjs.entry.js +5 -4
- package/dist/cjs/ui-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ui-number-input.cjs.entry.js +7 -3
- package/dist/cjs/ui-otp-input.cjs.entry.js +5 -5
- package/dist/cjs/{ui-pagination_4.cjs.entry.js → ui-pagination_3.cjs.entry.js} +35 -506
- package/dist/cjs/ui-panel.cjs.entry.js +1 -1
- package/dist/cjs/ui-pattern-input.cjs.entry.js +46 -11
- package/dist/cjs/ui-progress.cjs.entry.js +66 -9
- package/dist/cjs/ui-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +2 -2
- package/dist/cjs/ui-scroll-top.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/ui-speed-dial.cjs.entry.js +1 -1
- package/dist/cjs/ui-speedometer.cjs.entry.js +28 -17
- package/dist/cjs/ui-splitter.cjs.entry.js +1 -1
- package/dist/cjs/ui-step.cjs.entry.js +2 -2
- package/dist/cjs/ui-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ui-switch.cjs.entry.js +14 -13
- package/dist/cjs/ui-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ui-tag.cjs.entry.js +58 -13
- package/dist/cjs/ui-timeline.cjs.entry.js +10 -2
- package/dist/cjs/ui-timer.cjs.entry.js +2 -2
- package/dist/cjs/ui-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-transfer-list.cjs.entry.js +6 -6
- package/dist/cjs/ui-tree.cjs.entry.js +30 -15
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +2 -2
- package/dist/collection/assets/js/component-config.js +1 -0
- package/dist/collection/assets/js/demo-loader.js +2 -0
- package/dist/collection/assets/js/demos/about-demo.js +13 -13
- package/dist/collection/assets/js/demos/accordion-demo.js +66 -66
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +102 -102
- package/dist/collection/assets/js/demos/anchor-demo.js +27 -28
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +12 -12
- package/dist/collection/assets/js/demos/aside-panel-demo.js +51 -51
- package/dist/collection/assets/js/demos/avatar-demo.js +433 -95
- package/dist/collection/assets/js/demos/badge-demo.js +51 -52
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +7 -7
- package/dist/collection/assets/js/demos/button-demo.js +117 -107
- package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
- package/dist/collection/assets/js/demos/callout-banner-demo.js +23 -23
- package/dist/collection/assets/js/demos/card-demo.js +23 -22
- package/dist/collection/assets/js/demos/carousel-demo.js +632 -360
- package/dist/collection/assets/js/demos/checkbox-demo.js +124 -7
- package/dist/collection/assets/js/demos/color-picker-demo.js +394 -100
- package/dist/collection/assets/js/demos/command-palette-demo.js +182 -65
- package/dist/collection/assets/js/demos/complex-form-demo.js +5 -5
- package/dist/collection/assets/js/demos/context-menu-demo.js +43 -43
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +3 -3
- package/dist/collection/assets/js/demos/dialog-demo.js +336 -230
- package/dist/collection/assets/js/demos/divider-demo.js +59 -62
- package/dist/collection/assets/js/demos/dock-demo.js +12 -12
- package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
- package/dist/collection/assets/js/demos/documentation-demo.js +34 -34
- package/dist/collection/assets/js/demos/drag-drop-demo.js +2 -2
- package/dist/collection/assets/js/demos/dropdown-demo.js +140 -136
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +2 -2
- package/dist/collection/assets/js/demos/empty-state-demo.js +294 -78
- package/dist/collection/assets/js/demos/fab-demo.js +95 -11
- package/dist/collection/assets/js/demos/file-upload-demo.js +641 -171
- package/dist/collection/assets/js/demos/home-components.js +2 -2
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +6 -6
- package/dist/collection/assets/js/demos/icon-demo.js +17 -17
- package/dist/collection/assets/js/demos/input-demo.js +147 -143
- package/dist/collection/assets/js/demos/knob-demo.js +29 -30
- package/dist/collection/assets/js/demos/label-demo.js +697 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +55 -55
- package/dist/collection/assets/js/demos/list-demo.js +185 -122
- package/dist/collection/assets/js/demos/loader-demo.js +48 -48
- package/dist/collection/assets/js/demos/masonry-demo.js +568 -140
- package/dist/collection/assets/js/demos/meter-group-demo.js +14 -16
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +25 -25
- package/dist/collection/assets/js/demos/my-profile-demo.js +27 -27
- package/dist/collection/assets/js/demos/nav-bar-demo.js +1 -1
- package/dist/collection/assets/js/demos/number-input-demo.js +262 -211
- package/dist/collection/assets/js/demos/pagination-demo.js +29 -29
- package/dist/collection/assets/js/demos/panel-demo.js +18 -25
- package/dist/collection/assets/js/demos/pattern-input-demo.js +278 -40
- package/dist/collection/assets/js/demos/popover-demo.js +240 -149
- package/dist/collection/assets/js/demos/progress-demo.js +170 -156
- package/dist/collection/assets/js/demos/radio-demo.js +73 -12
- package/dist/collection/assets/js/demos/range-slider-demo.js +33 -33
- package/dist/collection/assets/js/demos/rating-demo.js +19 -19
- package/dist/collection/assets/js/demos/scroll-top-demo.js +8 -9
- package/dist/collection/assets/js/demos/skeleton-demo.js +110 -52
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +2 -2
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +12 -12
- package/dist/collection/assets/js/demos/smart-menu-demo.js +17 -17
- package/dist/collection/assets/js/demos/snackbar-demo.js +53 -53
- package/dist/collection/assets/js/demos/speed-dial-demo.js +14 -14
- package/dist/collection/assets/js/demos/speedometer-demo.js +40 -32
- package/dist/collection/assets/js/demos/split-button-demo.js +2 -2
- package/dist/collection/assets/js/demos/splitter-demo.js +14 -14
- package/dist/collection/assets/js/demos/stack-demo.js +27 -27
- package/dist/collection/assets/js/demos/stepper-demo.js +49 -49
- package/dist/collection/assets/js/demos/switch-demo.js +561 -125
- package/dist/collection/assets/js/demos/tabs-demo.js +22 -22
- package/dist/collection/assets/js/demos/tag-demo.js +62 -62
- package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
- package/dist/collection/assets/js/demos/timeline-demo.js +10 -10
- package/dist/collection/assets/js/demos/timeline-playground.js +2 -2
- package/dist/collection/assets/js/demos/timer-demo.js +10 -10
- package/dist/collection/assets/js/demos/toolbar-demo.js +17 -17
- package/dist/collection/assets/js/demos/tooltip-demo.js +92 -90
- package/dist/collection/assets/js/demos/top-bar-demo.js +6 -6
- package/dist/collection/assets/js/demos/transfer-list-demo.js +20 -20
- package/dist/collection/assets/js/demos/tree-demo.js +50 -66
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/accordion/accordion.css +275 -9
- package/dist/collection/components/accordion/accordion.js +7 -6
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +5 -5
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
- package/dist/collection/components/anchor/anchor.css +1 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
- package/dist/collection/components/aside-panel/aside-panel.css +2 -2
- package/dist/collection/components/aside-panel/aside-panel.js +10 -11
- package/dist/collection/components/avatar/avatar.css +6 -6
- package/dist/collection/components/avatar/avatar.js +63 -11
- package/dist/collection/components/badge/badge.css +27 -17
- package/dist/collection/components/badge/badge.js +6 -3
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
- package/dist/collection/components/button/button.css +1 -0
- package/dist/collection/components/button/button.js +3 -3
- package/dist/collection/components/button-toggle/button-toggle.js +2 -2
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +161 -14
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +2 -2
- package/dist/collection/components/callout-banner/callout-banner.css +75 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1 -1
- package/dist/collection/components/card/card.css +221 -9
- package/dist/collection/components/card/card.js +3 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +110 -6
- package/dist/collection/components/color-picker/color-picker.js +302 -26
- package/dist/collection/components/context-menu/context-menu.css +9 -9
- package/dist/collection/components/dialog-box/dialog-box.js +116 -14
- package/dist/collection/components/dialog-header/dialog-header.js +1 -1
- package/dist/collection/components/dock/dock.css +116 -3
- package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
- package/dist/collection/components/drag-drop/drag-drop.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +101 -8
- package/dist/collection/components/dropdown/dropdown.js +94 -28
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/fab/fab.css +87 -15
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab-item/fab-item.js +1 -1
- package/dist/collection/components/file-upload/file-upload.css +1362 -31
- package/dist/collection/components/file-upload/file-upload.js +171 -50
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +9 -9
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.css +9 -0
- package/dist/collection/components/input/input.js +20 -9
- package/dist/collection/components/label/label.css +583 -0
- package/dist/collection/components/label/label.js +1669 -0
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
- package/dist/collection/components/library/category-section.js +1 -1
- package/dist/collection/components/library/library-card.js +1 -1
- package/dist/collection/components/library/library.js +1 -1
- package/dist/collection/components/list/list.css +46 -5
- package/dist/collection/components/list/list.js +76 -42
- package/dist/collection/components/list-group/list-group.css +0 -2
- package/dist/collection/components/list-group/list-group.js +11 -5
- package/dist/collection/components/list-item/list-item.css +403 -131
- package/dist/collection/components/list-item/list-item.js +345 -61
- package/dist/collection/components/loader/loader.css +1 -1
- package/dist/collection/components/loader/loader.js +2 -2
- package/dist/collection/components/meter-group/meter-group.css +5 -0
- package/dist/collection/components/meter-group/meter-group.js +3 -2
- package/dist/collection/components/my-step/my-step.js +1 -1
- package/dist/collection/components/nav-bar/nav-bar.css +4 -4
- package/dist/collection/components/nav-bar/nav-bar.js +6 -6
- package/dist/collection/components/number-input/number-input.js +6 -2
- package/dist/collection/components/otp-input/otp-input.css +10 -0
- package/dist/collection/components/otp-input/otp-input.js +3 -3
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pattern-input/pattern-input.css +0 -1
- package/dist/collection/components/pattern-input/pattern-input.js +44 -9
- package/dist/collection/components/popover/popover.css +35 -7
- package/dist/collection/components/popover/popover.js +64 -9
- package/dist/collection/components/progress/progress.css +176 -32
- package/dist/collection/components/progress/progress.js +66 -8
- package/dist/collection/components/radio/radio.css +2 -0
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/range-slider/range-slider.css +284 -31
- package/dist/collection/components/range-slider/range-slider.js +5 -5
- package/dist/collection/components/rating/rating.css +151 -65
- package/dist/collection/components/rating/rating.js +31 -13
- package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
- package/dist/collection/components/skeleton/skeleton-loader.css +144 -44
- package/dist/collection/components/skeleton/skeleton-loader.js +11 -7
- package/dist/collection/components/smart-stepper/smart-step.js +2 -2
- package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
- package/dist/collection/components/speedometer/speedometer.css +26 -6
- package/dist/collection/components/speedometer/speedometer.js +26 -15
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/switch/switch.css +367 -8
- package/dist/collection/components/switch/switch.js +13 -12
- package/dist/collection/components/tag/tag.css +38 -12
- package/dist/collection/components/tag/tag.js +58 -13
- package/dist/collection/components/tag-group/tag-group.css +0 -1
- package/dist/collection/components/tag-group/tag-group.js +3 -3
- package/dist/collection/components/timeline/timeline.css +380 -317
- package/dist/collection/components/timeline/timeline.js +8 -0
- package/dist/collection/components/timeline-item/timeline-item.js +1 -1
- package/dist/collection/components/timer/timer.js +1 -1
- package/dist/collection/components/toggle-group/toggle-group.css +7 -3
- package/dist/collection/components/toggle-group/toggle-group.js +7 -3
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/top-bar/top-bar.js +2 -2
- package/dist/collection/components/transfer-list/transfer-list.css +13 -13
- package/dist/collection/components/transfer-list/transfer-list.js +4 -4
- package/dist/collection/components/tree/tree.css +35 -21
- package/dist/collection/components/tree/tree.js +28 -13
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +34 -16
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +46 -11
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +7 -7
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
- package/dist/collection/utils/dom.js +151 -151
- package/dist/components/avatar-group.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-toggle.js +1 -1
- package/dist/components/button.js +1 -0
- package/dist/components/category-section2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/library-card2.js +1 -1
- package/dist/components/list-group.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/lm-container2.js +1 -1
- package/dist/components/lm-floating-window2.js +1 -1
- package/dist/components/lm-panel2.js +1 -1
- package/dist/components/lm-splitter2.js +1 -1
- package/dist/components/lm-tabs2.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/my-step.js +1 -1
- package/dist/components/nav-bar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.js +1 -0
- package/dist/components/radio.js +1 -1
- package/dist/components/range-slider.js +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/resizable-panel.js +1 -1
- package/dist/components/skeleton-loader.js +1 -1
- package/dist/components/smart-step.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag-group.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/timeline-item.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/ui-accordion.js +1 -1
- package/dist/components/ui-advanced-data-table.js +1 -1
- package/dist/components/ui-anchor.js +1 -1
- package/dist/components/ui-animate-on-scroll.js +1 -1
- package/dist/components/ui-aside-panel.js +1 -1
- package/dist/components/ui-badge.js +1 -1
- package/dist/components/ui-breadcrumb-item.js +1 -1
- package/dist/components/ui-breadcrumb.js +1 -1
- package/dist/components/ui-button-toggle-group.js +1 -1
- package/dist/components/ui-button.js +1 -1
- package/dist/components/ui-callout-banner.js +1 -1
- package/dist/components/ui-card.js +1 -1
- package/dist/components/ui-carousel.js +1 -1
- package/dist/components/ui-code-editor.js +1 -1
- package/dist/components/ui-code-preview.js +1 -1
- package/dist/components/ui-color-picker.js +1 -1
- package/dist/components/ui-command-palette.js +1 -1
- package/dist/components/ui-dialog-box.js +1 -1
- package/dist/components/ui-dock-host.js +1 -1
- package/dist/components/ui-dock.js +1 -1
- package/dist/components/ui-drag-drop.js +1 -1
- package/dist/components/ui-empty-state.js +1 -1
- package/dist/components/ui-fab-item.js +1 -1
- package/dist/components/ui-fab.js +1 -1
- package/dist/components/ui-file-upload.js +1 -1
- package/dist/components/ui-horizontal-nav.js +1 -1
- package/dist/components/ui-knob.js +1 -1
- package/dist/components/{ui-color-controller.d.ts → ui-label.d.ts} +4 -4
- package/dist/components/ui-label.js +1 -0
- package/dist/components/ui-library.js +1 -1
- package/dist/components/ui-list.js +1 -1
- package/dist/components/ui-masonry.js +1 -1
- package/dist/components/ui-meter-group.js +1 -1
- package/dist/components/ui-navigation-bar.js +1 -1
- package/dist/components/ui-navigation-item.js +1 -1
- package/dist/components/ui-number-input.js +1 -1
- package/dist/components/ui-otp-input.js +1 -1
- package/dist/components/ui-panel.js +1 -1
- package/dist/components/ui-pattern-input.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-scroll-top.js +1 -1
- package/dist/components/ui-smart-stepper.js +1 -1
- package/dist/components/ui-snackbar.js +1 -1
- package/dist/components/ui-speed-dial.js +1 -1
- package/dist/components/ui-speedometer.js +1 -1
- package/dist/components/ui-splitter.js +1 -1
- package/dist/components/ui-step.js +1 -1
- package/dist/components/ui-stepper.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-timeline.js +1 -1
- package/dist/components/ui-timer.js +1 -1
- package/dist/components/ui-toolbar.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-transfer-list.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/components/ui-workspace-manager.js +1 -1
- package/dist/esm/category-section.entry.js +2 -2
- package/dist/esm/dom-DFBTWhGw.js +262 -0
- package/dist/esm/exploration-project-tailwind.js +3 -3
- package/dist/esm/{index-DUsoYu9r.js → index-Dqu2zaH1.js} +1 -1
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/library-card.entry.js +2 -2
- package/dist/esm/lm-container_2.entry.js +2 -2
- package/dist/esm/lm-panel_3.entry.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-step.entry.js +2 -2
- package/dist/esm/nav-bar.entry.js +4 -4
- package/dist/esm/smart-step.entry.js +3 -3
- package/dist/esm/timeline-item.entry.js +2 -2
- package/dist/esm/ui-accordion_11.entry.js +132 -50
- package/dist/esm/ui-advanced-data-table.entry.js +2 -2
- package/dist/esm/ui-anchor.entry.js +2 -2
- package/dist/esm/ui-animate-on-scroll.entry.js +3 -3
- package/dist/esm/ui-aside-panel.entry.js +10 -11
- package/dist/esm/ui-avatar-group_5.entry.js +1688 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +3 -3
- package/dist/esm/ui-breadcrumb.entry.js +1 -1
- package/dist/esm/ui-callout-banner.entry.js +2 -2
- package/dist/esm/ui-card.entry.js +4 -3
- package/dist/esm/ui-carousel.entry.js +1 -1
- package/dist/esm/ui-checkbox.entry.js +3 -3
- package/dist/esm/ui-code-editor.entry.js +2 -2
- package/dist/esm/ui-code-preview.entry.js +2 -2
- package/dist/esm/ui-color-picker.entry.js +256 -22
- package/dist/esm/ui-command-palette.entry.js +1 -1
- package/dist/esm/ui-dialog-box.entry.js +85 -11
- package/dist/esm/ui-dialog-content.entry.js +1 -1
- package/dist/esm/ui-dialog-footer_2.entry.js +1 -1
- package/dist/esm/ui-divider.entry.js +1 -1
- package/dist/esm/ui-dock-host.entry.js +4 -4
- package/dist/esm/ui-dock.entry.js +2 -2
- package/dist/esm/ui-drag-drop.entry.js +2 -2
- package/dist/esm/ui-dropdown_2.entry.js +104 -34
- package/dist/esm/ui-empty-state.entry.js +2 -2
- package/dist/esm/ui-fab-item.entry.js +2 -2
- package/dist/esm/ui-fab.entry.js +4 -4
- package/dist/esm/ui-file-upload.entry.js +143 -44
- package/dist/esm/ui-horizontal-nav.entry.js +2 -2
- package/dist/esm/ui-knob.entry.js +1 -1
- package/dist/esm/ui-label.entry.js +471 -0
- package/dist/esm/ui-library.entry.js +2 -2
- package/dist/esm/ui-list-group_2.entry.js +349 -60
- package/dist/esm/ui-list.entry.js +76 -42
- package/dist/esm/ui-masonry.entry.js +1 -1
- package/dist/esm/ui-meter-group.entry.js +5 -4
- package/dist/esm/ui-navigation-item.entry.js +5 -5
- package/dist/esm/ui-number-input.entry.js +7 -3
- package/dist/esm/ui-otp-input.entry.js +5 -5
- package/dist/esm/{ui-pagination_4.entry.js → ui-pagination_3.entry.js} +36 -506
- package/dist/esm/ui-panel.entry.js +1 -1
- package/dist/esm/ui-pattern-input.entry.js +46 -11
- package/dist/esm/ui-progress.entry.js +66 -9
- package/dist/esm/ui-range-slider.entry.js +2 -2
- package/dist/esm/ui-resizable-panel.entry.js +2 -2
- package/dist/esm/ui-scroll-top.entry.js +1 -1
- package/dist/esm/ui-smart-context-menu.entry.js +1 -1
- package/dist/esm/ui-smart-stepper.entry.js +2 -2
- package/dist/esm/ui-snackbar.entry.js +1 -1
- package/dist/esm/ui-speed-dial.entry.js +1 -1
- package/dist/esm/ui-speedometer.entry.js +28 -17
- package/dist/esm/ui-splitter.entry.js +1 -1
- package/dist/esm/ui-step.entry.js +2 -2
- package/dist/esm/ui-stepper.entry.js +1 -1
- package/dist/esm/ui-switch.entry.js +14 -13
- package/dist/esm/ui-tabs.entry.js +2 -2
- package/dist/esm/ui-tag.entry.js +58 -13
- package/dist/esm/ui-timeline.entry.js +10 -2
- package/dist/esm/ui-timer.entry.js +2 -2
- package/dist/esm/ui-toolbar.entry.js +2 -2
- package/dist/esm/ui-tooltip.entry.js +4 -4
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-transfer-list.entry.js +6 -6
- package/dist/esm/ui-tree.entry.js +30 -15
- package/dist/esm/ui-workspace-manager.entry.js +2 -2
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -1
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
- package/dist/exploration-project-tailwind/{p-7ba2258a.entry.js → p-024a299a.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-0a71896a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-35296877.entry.js → p-0cdeb8d8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a42fdc33.entry.js → p-139cefbc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-036d2a44.entry.js → p-198c83e5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-236f47b1.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-81ebba11.entry.js → p-25530d0d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-41cd6bf0.entry.js → p-298f2057.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85e36111.entry.js → p-2b5a8e3e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8c6d395.entry.js → p-2b6aa7bc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-70bacda8.entry.js → p-2cfba753.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-cbee2607.entry.js → p-2fe22958.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-20ecc116.entry.js → p-3012e780.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-321c3f46.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8b57fe4e.entry.js → p-3ab43638.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-3ad7e47e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3b1ca826.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3ee8ddae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-e22317c1.entry.js → p-3efb44c8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-36861546.entry.js → p-42e3bc28.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4360331a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-2f961934.entry.js → p-443de32b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-898dd0fa.entry.js → p-44d15451.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4288c158.entry.js → p-46071679.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a3f465d9.entry.js → p-497d6182.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4ad8c55c.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-4aaa8e40.entry.js → p-4c46ac0b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-98e91da5.entry.js → p-5042ddaa.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-60190e0e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-60530874.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-200241f8.entry.js → p-6108565d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-fb4aca69.entry.js → p-62889cfe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c02284ea.entry.js → p-66f71613.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7889bfc4.entry.js → p-67c440b2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c1c8ac28.entry.js → p-6f09503f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-721bdbc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-747b02ea.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c6fd72e1.entry.js → p-754cb046.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-97af03cc.entry.js → p-7ed3bba2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d59da767.entry.js → p-864cebb7.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4d73c143.entry.js → p-96ee3196.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-54965530.entry.js → p-97086868.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d114a347.entry.js → p-9c5ced88.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9d3044d4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9e079be6.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-790556f0.entry.js → p-9e4c45f5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9eee7394.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-DFBTWhGw.js +1 -0
- package/dist/exploration-project-tailwind/p-Dqu2zaH1.js +2 -0
- package/dist/exploration-project-tailwind/p-a7bdedc2.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c87aeab6.entry.js → p-a8ec29de.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-6ddbee42.entry.js → p-ae617f62.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-05a436d3.entry.js → p-aef76052.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-b5f043fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-b637b91b.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d2e45c5e.entry.js → p-bc49a088.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-6b838549.entry.js → p-bd9a631f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8ba0c95.entry.js → p-bf4b6767.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c0fa400e.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8578b616.entry.js → p-c4f3d990.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c68ddb2f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c79574c4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c840098d.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-a1ad32a2.entry.js → p-c8663cbe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-cb6e38a6.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cb9f2df1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cfe8b696.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d00e13ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c4ba7e52.entry.js → p-d01ed934.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-aa85ff78.entry.js → p-d4e57d94.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ccb5c737.entry.js → p-d5bd3a3f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-45482d86.entry.js → p-d987cebe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-d9ae77c0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e9bae5c7.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f516fabc.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f68e2794.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d30e24bd.entry.js → p-fa034f69.entry.js} +1 -1
- package/dist/types/components/aside-panel/aside-panel.d.ts +0 -3
- package/dist/types/components/avatar/avatar.d.ts +3 -0
- package/dist/types/components/avatar/types.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/color-picker/color-picker.d.ts +35 -2
- package/dist/types/components/dialog-box/dialog-box.d.ts +10 -0
- package/dist/types/components/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/file-upload/file-upload.d.ts +23 -6
- package/dist/types/components/label/label.d.ts +290 -0
- package/dist/types/components/label/types.d.ts +39 -0
- package/dist/types/components/list/list.d.ts +2 -1
- package/dist/types/components/list-group/list-group.d.ts +1 -0
- package/dist/types/components/list-item/list-item.d.ts +45 -17
- package/dist/types/components/pattern-input/pattern-input.d.ts +6 -0
- package/dist/types/components/popover/popover.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +7 -0
- package/dist/types/components/range-slider/range-slider.d.ts +2 -2
- package/dist/types/components/rating/rating.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +1 -1
- package/dist/types/components/speedometer/speedometer.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +4 -0
- package/dist/types/components/tree/tree.d.ts +1 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +1 -1
- package/dist/types/components.d.ts +742 -425
- package/dist/types/types/common.d.ts +2 -2
- package/dist/types/types/common.type.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +4 -4
- package/package.json +4 -5
- package/dist/cjs/dom-oP1E4Rd3.js +0 -267
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
- package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
- package/dist/cjs/ui-popover.cjs.entry.js +0 -517
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
- package/dist/collection/components/color-controller/color-controller.css +0 -108
- package/dist/collection/components/color-controller/color-controller.js +0 -224
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +0 -357
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
- package/dist/components/ui-color-controller.js +0 -1
- package/dist/components/ui-smart-location-dropdown.d.ts +0 -11
- package/dist/components/ui-smart-location-dropdown.js +0 -1
- package/dist/esm/dom-BMFah5q3.js +0 -262
- package/dist/esm/ui-avatar-group_3.entry.js +0 -630
- package/dist/esm/ui-color-controller.entry.js +0 -148
- package/dist/esm/ui-popover.entry.js +0 -515
- package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-16bdd162.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-2347d21b.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-3d381f75.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4417a9d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-44742ddd.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4bef8bed.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4efd63ce.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5c835d90.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-71d95bb1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9bd14f69.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +0 -1
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
- package/dist/exploration-project-tailwind/p-a27f59d2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-a7b07cf4.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-bd89d060.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c63c522e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d6ce9721.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-dc92a343.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e76318c7.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-eab5ad36.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f0bc5d7e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f1beee72.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f543392f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f61cfb7c.entry.js +0 -1
- package/dist/types/components/color-controller/color-controller.d.ts +0 -24
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +0 -119
- package/dist/types/components/smart-location-dropdown/types.d.ts +0 -37
- /package/dist/collection/components/{smart-location-dropdown → label}/types.js +0 -0
|
@@ -24,6 +24,28 @@
|
|
|
24
24
|
|
|
25
25
|
:host {
|
|
26
26
|
display: block;
|
|
27
|
+
--progress-surface: var(--bg-primary, #ffffff);
|
|
28
|
+
--progress-surface-muted: var(--bg-secondary, #f8fafc);
|
|
29
|
+
--progress-text: var(--text-primary, #0f172a);
|
|
30
|
+
--progress-circle-label-color: var(--text-primary, #0f172a);
|
|
31
|
+
--progress-circle-label-shadow: none;
|
|
32
|
+
--progress-text-muted: var(--text-secondary, #475569);
|
|
33
|
+
--progress-border: var(--border-subtle, #e2e8f0);
|
|
34
|
+
--progress-trail-color: var(--bg-tertiary, #e2e8f0);
|
|
35
|
+
--progress-status-surface: color-mix(in srgb, var(--progress-surface) 84%, var(--progress-surface-muted) 16%);
|
|
36
|
+
--progress-chip-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
|
|
37
|
+
--progress-status-not-started-bg: color-mix(in srgb, var(--progress-surface-muted) 92%, transparent);
|
|
38
|
+
--progress-status-not-started-text: var(--progress-text-muted);
|
|
39
|
+
--progress-status-not-started-border: color-mix(in srgb, var(--progress-border) 90%, transparent);
|
|
40
|
+
--progress-status-running-bg: rgba(var(--color-primary-rgb, 24, 144, 255), 0.12);
|
|
41
|
+
--progress-status-running-text: var(--color-primary, #1d4ed8);
|
|
42
|
+
--progress-status-running-border: rgba(var(--color-primary-rgb, 24, 144, 255), 0.24);
|
|
43
|
+
--progress-status-interrupted-bg: rgba(var(--color-warning-rgb, 245, 158, 11), 0.14);
|
|
44
|
+
--progress-status-interrupted-text: var(--color-warning, #b45309);
|
|
45
|
+
--progress-status-interrupted-border: rgba(var(--color-warning-rgb, 245, 158, 11), 0.28);
|
|
46
|
+
--progress-status-completed-bg: rgba(var(--color-success-rgb, 16, 185, 129), 0.12);
|
|
47
|
+
--progress-status-completed-text: var(--color-success, #15803d);
|
|
48
|
+
--progress-status-completed-border: rgba(var(--color-success-rgb, 16, 185, 129), 0.24);
|
|
27
49
|
}
|
|
28
50
|
:host * {
|
|
29
51
|
box-sizing: border-box;
|
|
@@ -200,10 +222,48 @@
|
|
|
200
222
|
top: 50%;
|
|
201
223
|
left: 50%;
|
|
202
224
|
transform: translate(-50%, -50%);
|
|
225
|
+
display: flex;
|
|
226
|
+
align-items: center;
|
|
227
|
+
justify-content: center;
|
|
228
|
+
width: calc(100% - 16px);
|
|
229
|
+
max-width: calc(100% - 16px);
|
|
203
230
|
text-align: center;
|
|
231
|
+
line-height: 1.2;
|
|
204
232
|
font-size: 24px;
|
|
205
233
|
font-weight: 600;
|
|
206
|
-
color:
|
|
234
|
+
color: var(--progress-circle-label-color);
|
|
235
|
+
text-shadow: var(--progress-circle-label-shadow);
|
|
236
|
+
pointer-events: none;
|
|
237
|
+
}
|
|
238
|
+
.progress-circle-text .progress-text,
|
|
239
|
+
.progress-circle-text .progress-text-success,
|
|
240
|
+
.progress-circle-text .progress-text-running,
|
|
241
|
+
.progress-circle-text .progress-text-warning,
|
|
242
|
+
.progress-circle-text .progress-text-exception,
|
|
243
|
+
.progress-circle-text .progress-text-empty,
|
|
244
|
+
.progress-circle-text .progress-text i,
|
|
245
|
+
.progress-circle-text .progress-text-success i,
|
|
246
|
+
.progress-circle-text .progress-text-running i,
|
|
247
|
+
.progress-circle-text .progress-text-warning i,
|
|
248
|
+
.progress-circle-text .progress-text-exception i,
|
|
249
|
+
.progress-circle-text .progress-text-empty i,
|
|
250
|
+
.progress-circle-text .progress-text ui-icon {
|
|
251
|
+
color: inherit !important;
|
|
252
|
+
}
|
|
253
|
+
.progress-circle-text .progress-text-success ui-icon,
|
|
254
|
+
.progress-circle-text .progress-text-running ui-icon,
|
|
255
|
+
.progress-circle-text .progress-text-warning ui-icon,
|
|
256
|
+
.progress-circle-text .progress-text-exception ui-icon,
|
|
257
|
+
.progress-circle-text .progress-text-empty ui-icon {
|
|
258
|
+
color: inherit !important;
|
|
259
|
+
}
|
|
260
|
+
.progress-circle-text .progress-text {
|
|
261
|
+
min-width: 0;
|
|
262
|
+
max-width: 100%;
|
|
263
|
+
justify-content: center;
|
|
264
|
+
text-align: center;
|
|
265
|
+
line-height: 1.2;
|
|
266
|
+
overflow-wrap: anywhere;
|
|
207
267
|
}
|
|
208
268
|
|
|
209
269
|
.progress-sm .progress-circle-text {
|
|
@@ -212,7 +272,7 @@
|
|
|
212
272
|
|
|
213
273
|
.progress-text {
|
|
214
274
|
font-size: 14px;
|
|
215
|
-
color:
|
|
275
|
+
color: var(--progress-text-muted);
|
|
216
276
|
white-space: nowrap;
|
|
217
277
|
min-width: 32px;
|
|
218
278
|
text-align: right;
|
|
@@ -226,8 +286,11 @@
|
|
|
226
286
|
vertical-align: middle;
|
|
227
287
|
}
|
|
228
288
|
|
|
229
|
-
.progress-circle .progress-text
|
|
289
|
+
.progress-circle .progress-text,
|
|
290
|
+
.progress-dashboard .progress-text {
|
|
230
291
|
text-align: center;
|
|
292
|
+
justify-content: center;
|
|
293
|
+
min-width: 0;
|
|
231
294
|
}
|
|
232
295
|
|
|
233
296
|
.progress-text i {
|
|
@@ -253,30 +316,34 @@
|
|
|
253
316
|
}
|
|
254
317
|
|
|
255
318
|
.progress-text-empty {
|
|
256
|
-
color: var(--
|
|
319
|
+
color: var(--progress-text-muted) !important;
|
|
257
320
|
}
|
|
258
|
-
.progress-text-empty i,
|
|
259
|
-
|
|
321
|
+
.progress-text-empty i,
|
|
322
|
+
.progress-text-empty ui-icon {
|
|
323
|
+
color: var(--progress-text-muted) !important;
|
|
260
324
|
}
|
|
261
325
|
|
|
262
326
|
.progress-text-running {
|
|
263
327
|
color: var(--color-primary, #1890ff) !important;
|
|
264
328
|
}
|
|
265
|
-
.progress-text-running i,
|
|
329
|
+
.progress-text-running i,
|
|
330
|
+
.progress-text-running ui-icon {
|
|
266
331
|
color: var(--color-primary, #1890ff) !important;
|
|
267
332
|
}
|
|
268
333
|
|
|
269
334
|
.progress-text-success {
|
|
270
335
|
color: var(--color-success, #52c41a) !important;
|
|
271
336
|
}
|
|
272
|
-
.progress-text-success i,
|
|
337
|
+
.progress-text-success i,
|
|
338
|
+
.progress-text-success ui-icon {
|
|
273
339
|
color: var(--color-success, #52c41a) !important;
|
|
274
340
|
}
|
|
275
341
|
|
|
276
342
|
.progress-text-exception {
|
|
277
343
|
color: var(--color-danger, #ff4d4f) !important;
|
|
278
344
|
}
|
|
279
|
-
.progress-text-exception i,
|
|
345
|
+
.progress-text-exception i,
|
|
346
|
+
.progress-text-exception ui-icon {
|
|
280
347
|
color: var(--color-danger, #ff4d4f) !important;
|
|
281
348
|
}
|
|
282
349
|
|
|
@@ -373,13 +440,13 @@
|
|
|
373
440
|
}
|
|
374
441
|
}
|
|
375
442
|
.progress-glass .progress-line-trail {
|
|
376
|
-
background: rgba(
|
|
443
|
+
background: rgba(128, 128, 128, 0.15) !important;
|
|
377
444
|
backdrop-filter: blur(8px);
|
|
378
|
-
border: 1px solid rgba(
|
|
445
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
379
446
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
380
447
|
}
|
|
381
448
|
.progress-glass .progress-circle-wrapper path:first-child {
|
|
382
|
-
stroke: rgba(
|
|
449
|
+
stroke: rgba(128, 128, 128, 0.2) !important;
|
|
383
450
|
filter: blur(1px);
|
|
384
451
|
}
|
|
385
452
|
|
|
@@ -414,15 +481,13 @@
|
|
|
414
481
|
filter: drop-shadow(0 0 6px rgba(24, 144, 255, 0.45)) !important;
|
|
415
482
|
}
|
|
416
483
|
|
|
417
|
-
.progress-industrial {
|
|
418
|
-
mask-
|
|
419
|
-
mask-image: linear-gradient(to right, var(--text-primary, #000) 70%, transparent 70%);
|
|
484
|
+
.progress-industrial .progress-line-trail {
|
|
485
|
+
mask-image: repeating-linear-gradient(to right, var(--text-primary, #000) 0, var(--text-primary, #000) 11px, transparent 11px, transparent 16px);
|
|
420
486
|
}
|
|
421
|
-
.progress-orient-vertical .progress-industrial {
|
|
422
|
-
mask-
|
|
423
|
-
mask-image: linear-gradient(to top, var(--text-primary, #000) 70%, transparent 70%);
|
|
487
|
+
.progress-orient-vertical .progress-industrial .progress-line-trail {
|
|
488
|
+
mask-image: repeating-linear-gradient(to top, var(--text-primary, #000) 0, var(--text-primary, #000) 11px, transparent 11px, transparent 16px);
|
|
424
489
|
}
|
|
425
|
-
.progress-industrial {
|
|
490
|
+
.progress-industrial .progress-line-trail {
|
|
426
491
|
box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
427
492
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
428
493
|
}
|
|
@@ -580,6 +645,7 @@
|
|
|
580
645
|
.multi-progress-label {
|
|
581
646
|
letter-spacing: 0.025em;
|
|
582
647
|
text-transform: uppercase;
|
|
648
|
+
color: var(--progress-text-muted);
|
|
583
649
|
}
|
|
584
650
|
|
|
585
651
|
.time-estimate {
|
|
@@ -681,7 +747,7 @@
|
|
|
681
747
|
padding: 4px 10px;
|
|
682
748
|
border-radius: 999px;
|
|
683
749
|
white-space: nowrap;
|
|
684
|
-
box-shadow:
|
|
750
|
+
box-shadow: var(--progress-chip-shadow);
|
|
685
751
|
backdrop-filter: blur(4px);
|
|
686
752
|
pointer-events: none;
|
|
687
753
|
user-select: none;
|
|
@@ -690,27 +756,27 @@
|
|
|
690
756
|
font-size: 11px;
|
|
691
757
|
}
|
|
692
758
|
.progress-status-chip--not-started {
|
|
693
|
-
background:
|
|
694
|
-
color:
|
|
695
|
-
border: 1px solid
|
|
759
|
+
background: var(--progress-status-not-started-bg);
|
|
760
|
+
color: var(--progress-status-not-started-text);
|
|
761
|
+
border: 1px solid var(--progress-status-not-started-border);
|
|
696
762
|
}
|
|
697
763
|
.progress-status-chip--running {
|
|
698
|
-
background:
|
|
699
|
-
color:
|
|
700
|
-
border: 1px solid
|
|
764
|
+
background: var(--progress-status-running-bg);
|
|
765
|
+
color: var(--progress-status-running-text);
|
|
766
|
+
border: 1px solid var(--progress-status-running-border);
|
|
701
767
|
}
|
|
702
768
|
.progress-status-chip--running ui-icon {
|
|
703
769
|
animation: progress-spin 1s linear infinite;
|
|
704
770
|
}
|
|
705
771
|
.progress-status-chip--interrupted {
|
|
706
|
-
background:
|
|
707
|
-
color:
|
|
708
|
-
border: 1px solid
|
|
772
|
+
background: var(--progress-status-interrupted-bg);
|
|
773
|
+
color: var(--progress-status-interrupted-text);
|
|
774
|
+
border: 1px solid var(--progress-status-interrupted-border);
|
|
709
775
|
}
|
|
710
776
|
.progress-status-chip--completed {
|
|
711
|
-
background:
|
|
712
|
-
color:
|
|
713
|
-
border: 1px solid
|
|
777
|
+
background: var(--progress-status-completed-bg);
|
|
778
|
+
color: var(--progress-status-completed-text);
|
|
779
|
+
border: 1px solid var(--progress-status-completed-border);
|
|
714
780
|
}
|
|
715
781
|
|
|
716
782
|
@keyframes progress-spin {
|
|
@@ -720,4 +786,82 @@
|
|
|
720
786
|
to {
|
|
721
787
|
transform: rotate(360deg);
|
|
722
788
|
}
|
|
789
|
+
}
|
|
790
|
+
/* Dark Mode Overrides */
|
|
791
|
+
:host-context(.dark),
|
|
792
|
+
:host-context(.dark-theme),
|
|
793
|
+
:host-context([data-theme=dark]),
|
|
794
|
+
:host(.dark-theme),
|
|
795
|
+
:host(.dark),
|
|
796
|
+
:host([data-theme=dark]) {
|
|
797
|
+
--progress-circle-label-color: var(--text-primary, #f8fafc);
|
|
798
|
+
--progress-circle-label-shadow: 0 1px 2px rgba(15, 23, 42, 0.45);
|
|
799
|
+
}
|
|
800
|
+
:host-context(.dark) .progress-circle-text,
|
|
801
|
+
:host-context(.dark-theme) .progress-circle-text,
|
|
802
|
+
:host-context([data-theme=dark]) .progress-circle-text,
|
|
803
|
+
:host(.dark-theme) .progress-circle-text,
|
|
804
|
+
:host(.dark) .progress-circle-text,
|
|
805
|
+
:host([data-theme=dark]) .progress-circle-text {
|
|
806
|
+
color: var(--text-primary, #f8fafc);
|
|
807
|
+
}
|
|
808
|
+
:host-context(.dark) .progress-text,
|
|
809
|
+
:host-context(.dark-theme) .progress-text,
|
|
810
|
+
:host-context([data-theme=dark]) .progress-text,
|
|
811
|
+
:host(.dark-theme) .progress-text,
|
|
812
|
+
:host(.dark) .progress-text,
|
|
813
|
+
:host([data-theme=dark]) .progress-text {
|
|
814
|
+
color: var(--text-secondary, #cbd5e1);
|
|
815
|
+
}
|
|
816
|
+
:host-context(.dark) .multi-progress-label,
|
|
817
|
+
:host-context(.dark-theme) .multi-progress-label,
|
|
818
|
+
:host-context([data-theme=dark]) .multi-progress-label,
|
|
819
|
+
:host(.dark-theme) .multi-progress-label,
|
|
820
|
+
:host(.dark) .multi-progress-label,
|
|
821
|
+
:host([data-theme=dark]) .multi-progress-label {
|
|
822
|
+
color: var(--text-secondary, #cbd5e1);
|
|
823
|
+
}
|
|
824
|
+
:host-context(.dark) .progress-text-empty,
|
|
825
|
+
:host-context(.dark) .progress-text-empty i,
|
|
826
|
+
:host-context(.dark) .progress-text-empty ui-icon,
|
|
827
|
+
:host-context(.dark-theme) .progress-text-empty,
|
|
828
|
+
:host-context(.dark-theme) .progress-text-empty i,
|
|
829
|
+
:host-context(.dark-theme) .progress-text-empty ui-icon,
|
|
830
|
+
:host-context([data-theme=dark]) .progress-text-empty,
|
|
831
|
+
:host-context([data-theme=dark]) .progress-text-empty i,
|
|
832
|
+
:host-context([data-theme=dark]) .progress-text-empty ui-icon,
|
|
833
|
+
:host(.dark-theme) .progress-text-empty,
|
|
834
|
+
:host(.dark-theme) .progress-text-empty i,
|
|
835
|
+
:host(.dark-theme) .progress-text-empty ui-icon,
|
|
836
|
+
:host(.dark) .progress-text-empty,
|
|
837
|
+
:host(.dark) .progress-text-empty i,
|
|
838
|
+
:host(.dark) .progress-text-empty ui-icon,
|
|
839
|
+
:host([data-theme=dark]) .progress-text-empty,
|
|
840
|
+
:host([data-theme=dark]) .progress-text-empty i,
|
|
841
|
+
:host([data-theme=dark]) .progress-text-empty ui-icon {
|
|
842
|
+
color: var(--text-secondary, #94a3b8) !important;
|
|
843
|
+
}
|
|
844
|
+
:host-context(.dark) .time-estimate,
|
|
845
|
+
:host-context(.dark-theme) .time-estimate,
|
|
846
|
+
:host-context([data-theme=dark]) .time-estimate,
|
|
847
|
+
:host(.dark-theme) .time-estimate,
|
|
848
|
+
:host(.dark) .time-estimate,
|
|
849
|
+
:host([data-theme=dark]) .time-estimate {
|
|
850
|
+
color: var(--text-secondary, #94a3b8);
|
|
851
|
+
}
|
|
852
|
+
:host-context(.dark) .progress-line-trail,
|
|
853
|
+
:host-context(.dark-theme) .progress-line-trail,
|
|
854
|
+
:host-context([data-theme=dark]) .progress-line-trail,
|
|
855
|
+
:host(.dark-theme) .progress-line-trail,
|
|
856
|
+
:host(.dark) .progress-line-trail,
|
|
857
|
+
:host([data-theme=dark]) .progress-line-trail {
|
|
858
|
+
background: var(--bg-tertiary, #334155);
|
|
859
|
+
}
|
|
860
|
+
:host-context(.dark) .multi-progress-bar-wrap,
|
|
861
|
+
:host-context(.dark-theme) .multi-progress-bar-wrap,
|
|
862
|
+
:host-context([data-theme=dark]) .multi-progress-bar-wrap,
|
|
863
|
+
:host(.dark-theme) .multi-progress-bar-wrap,
|
|
864
|
+
:host(.dark) .multi-progress-bar-wrap,
|
|
865
|
+
:host([data-theme=dark]) .multi-progress-bar-wrap {
|
|
866
|
+
background: var(--bg-tertiary, #334155) !important;
|
|
723
867
|
}
|
|
@@ -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
|
*/
|
|
@@ -195,6 +196,7 @@ export class Progress {
|
|
|
195
196
|
ticks = 0;
|
|
196
197
|
animatedPercent = 0;
|
|
197
198
|
isDragging = false;
|
|
199
|
+
isDarkTheme = false;
|
|
198
200
|
gradientId = `ui-progress-gradient-${Math.random().toString(36).substr(2, 9)}`;
|
|
199
201
|
el;
|
|
200
202
|
/**
|
|
@@ -205,6 +207,13 @@ export class Progress {
|
|
|
205
207
|
this.animatedPercent = this.percent;
|
|
206
208
|
this.currentStatus = this.status;
|
|
207
209
|
this.normalizeProps();
|
|
210
|
+
this.syncThemeMode();
|
|
211
|
+
}
|
|
212
|
+
componentDidLoad() {
|
|
213
|
+
this.setupThemeObserver();
|
|
214
|
+
}
|
|
215
|
+
disconnectedCallback() {
|
|
216
|
+
this.themeObserver?.disconnect();
|
|
208
217
|
}
|
|
209
218
|
normalizeProps() {
|
|
210
219
|
try {
|
|
@@ -227,6 +236,33 @@ export class Progress {
|
|
|
227
236
|
console.warn('Failed to parse complex progress prop', e);
|
|
228
237
|
}
|
|
229
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
|
+
}
|
|
230
266
|
handlePercentChange(newPercent) {
|
|
231
267
|
if (newPercent > this.peakMarker) {
|
|
232
268
|
this.peakMarker = newPercent;
|
|
@@ -380,8 +416,18 @@ export class Progress {
|
|
|
380
416
|
}
|
|
381
417
|
return '#1890ff';
|
|
382
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
|
+
}
|
|
383
428
|
renderLineProgress() {
|
|
384
429
|
const strokeColor = this.getStrokeColor();
|
|
430
|
+
const trailColor = this.getTrailColor();
|
|
385
431
|
const roundedPercent = Number(this.animatedPercent.toFixed(this.decimalPrecision));
|
|
386
432
|
let backgroundStyle = strokeColor;
|
|
387
433
|
const isGradientProp = typeof this.strokeColor === 'object' && this.strokeColor !== null;
|
|
@@ -420,7 +466,7 @@ export class Progress {
|
|
|
420
466
|
? (typeof this.height === 'number' ? `${this.height}px` : this.height)
|
|
421
467
|
: (typeof this.width === 'number' ? `${this.width}px` : this.width),
|
|
422
468
|
borderRadius: this.strokeLinecap === 'round' ? `${effectiveStrokeWidth}px` : '0',
|
|
423
|
-
background:
|
|
469
|
+
background: trailColor,
|
|
424
470
|
cursor: this.interactive ? 'pointer' : 'default',
|
|
425
471
|
flex: showStatusOnTop ? 'none' : '1'
|
|
426
472
|
};
|
|
@@ -448,12 +494,13 @@ export class Progress {
|
|
|
448
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()));
|
|
449
495
|
}
|
|
450
496
|
renderMultiProgress() {
|
|
451
|
-
|
|
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: {
|
|
452
499
|
width: `${prog.percent}%`,
|
|
453
500
|
background: prog.color || this.getStrokeColor(),
|
|
454
501
|
height: '100%',
|
|
455
502
|
transition: 'width 0.5s ease'
|
|
456
|
-
} })), 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))))));
|
|
457
504
|
}
|
|
458
505
|
renderTimeEstimate() {
|
|
459
506
|
const minutes = Math.floor(this.estimatedTime / 60);
|
|
@@ -507,11 +554,21 @@ export class Progress {
|
|
|
507
554
|
const isGradientProp = typeof this.strokeColor === 'object' && this.strokeColor !== null;
|
|
508
555
|
const gradientObj2 = isGradientProp ? this.strokeColor : null;
|
|
509
556
|
const hasGradient = this.gradient || isGradientProp;
|
|
510
|
-
|
|
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: {
|
|
511
565
|
'progress-circle-path': true,
|
|
512
566
|
'progress-indeterminate': this.indeterminate,
|
|
513
567
|
'progress-liquid': this.liquid
|
|
514
|
-
} })), 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()))));
|
|
515
572
|
}
|
|
516
573
|
getCirclePath(cx, cy, radius, gapDegree, rotation) {
|
|
517
574
|
const gapRad = (gapDegree * Math.PI) / 180;
|
|
@@ -572,7 +629,7 @@ export class Progress {
|
|
|
572
629
|
content = this.renderCircleProgress();
|
|
573
630
|
}
|
|
574
631
|
const roundedPercent = Number(this.animatedPercent.toFixed(this.decimalPrecision));
|
|
575
|
-
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" })))))));
|
|
576
633
|
}
|
|
577
634
|
static get is() { return "ui-progress"; }
|
|
578
635
|
static get encapsulation() { return "shadow"; }
|
|
@@ -706,7 +763,7 @@ export class Progress {
|
|
|
706
763
|
"setter": false,
|
|
707
764
|
"reflect": false,
|
|
708
765
|
"attribute": "trail-color",
|
|
709
|
-
"defaultValue": "'
|
|
766
|
+
"defaultValue": "''"
|
|
710
767
|
},
|
|
711
768
|
"gradient": {
|
|
712
769
|
"type": "boolean",
|
|
@@ -1539,6 +1596,7 @@ export class Progress {
|
|
|
1539
1596
|
"currentStatus": {},
|
|
1540
1597
|
"animatedPercent": {},
|
|
1541
1598
|
"isDragging": {},
|
|
1599
|
+
"isDarkTheme": {},
|
|
1542
1600
|
"gradientId": {}
|
|
1543
1601
|
};
|
|
1544
1602
|
}
|
|
@@ -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 {
|
|
@@ -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",
|