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
|
@@ -18,6 +18,8 @@ export function initCalloutBannerDemo() {
|
|
|
18
18
|
<ui-button variant="outline" data-tab="autoclose">Auto-Close</ui-button>
|
|
19
19
|
<ui-button variant="outline" data-tab="stack">Stack</ui-button>
|
|
20
20
|
<ui-button variant="outline" data-tab="newfeatures">Industrial Props</ui-button>
|
|
21
|
+
<ui-button variant="outline" data-tab="enterfrom">✨ Enter Animations</ui-button>
|
|
22
|
+
<ui-button variant="outline" data-tab="progressprop">📊 Progress Bar</ui-button>
|
|
21
23
|
<ui-button variant="outline" data-tab="annotations">📍 Annotations</ui-button>
|
|
22
24
|
<ui-button variant="outline" data-tab="extras">Sticky / Truncate</ui-button>
|
|
23
25
|
<ui-button variant="outline" data-tab="tickers">📈 Stock Tickers</ui-button>
|
|
@@ -51,24 +53,38 @@ export function initCalloutBannerDemo() {
|
|
|
51
53
|
const nav = document.getElementById('cbNavPills');
|
|
52
54
|
|
|
53
55
|
const pgUpdate = () => {
|
|
54
|
-
const v
|
|
55
|
-
const p
|
|
56
|
-
const
|
|
57
|
-
const
|
|
58
|
-
const
|
|
59
|
-
const
|
|
60
|
-
const
|
|
56
|
+
const v = document.getElementById('pg-v')?.value || 'info';
|
|
57
|
+
const p = document.getElementById('pg-p')?.value || 'none';
|
|
58
|
+
const size = document.getElementById('pg-size')?.value || 'md';
|
|
59
|
+
const enter = document.getElementById('pg-enter')?.value || 'top';
|
|
60
|
+
const l = document.getElementById('pg-l')?.checked || false;
|
|
61
|
+
const pu = document.getElementById('pg-pu')?.checked || false;
|
|
62
|
+
const m = document.getElementById('pg-m')?.checked || false;
|
|
63
|
+
const s = document.getElementById('pg-s')?.checked || false;
|
|
64
|
+
const outlined = document.getElementById('pg-outlined')?.checked || false;
|
|
65
|
+
const accbar = document.getElementById('pg-accbar')?.checked || false;
|
|
66
|
+
const noicon = document.getElementById('pg-noicon')?.checked || false;
|
|
67
|
+
const compact = document.getElementById('pg-compact')?.checked || false;
|
|
68
|
+
const banner = document.getElementById('pg-banner')?.checked || false;
|
|
69
|
+
const target = document.getElementById('pg-p-target');
|
|
61
70
|
if (target) {
|
|
62
71
|
target.innerHTML = `
|
|
63
|
-
<ui-callout-banner style="width:100%;
|
|
64
|
-
variant="${v}"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
+
<ui-callout-banner style="width:100%;"
|
|
73
|
+
variant="${v}"
|
|
74
|
+
size="${size}"
|
|
75
|
+
enter-from="${enter}"
|
|
76
|
+
${p !== 'none' ? `placement="${p}"` : ''}
|
|
77
|
+
${l ? 'loading' : ''}
|
|
78
|
+
${pu ? 'pulse' : ''}
|
|
79
|
+
${m ? 'marquee' : ''}
|
|
80
|
+
${s ? 'solid' : ''}
|
|
81
|
+
${outlined ? 'outlined' : ''}
|
|
82
|
+
${accbar ? 'accent-bar' : ''}
|
|
83
|
+
${noicon ? 'no-icon' : ''}
|
|
84
|
+
${compact ? 'compact' : ''}
|
|
85
|
+
${banner ? 'banner' : ''}
|
|
86
|
+
heading="Sandbox Result"
|
|
87
|
+
message="Testing properties in a unified context.">
|
|
72
88
|
</ui-callout-banner>
|
|
73
89
|
`;
|
|
74
90
|
}
|
|
@@ -89,9 +105,9 @@ export function initCalloutBannerDemo() {
|
|
|
89
105
|
size: () => {
|
|
90
106
|
container.innerHTML = `
|
|
91
107
|
<div class="cb-grid">
|
|
92
|
-
<ui-callout-banner size="
|
|
93
|
-
<ui-callout-banner size="md" variant="info" heading="md
|
|
94
|
-
<ui-callout-banner size="lg" variant="info" heading="Large
|
|
108
|
+
<ui-callout-banner size="sm" variant="info" heading="Small (sm)" message="Compact size, optimized for sidebar data and inline notices."></ui-callout-banner>
|
|
109
|
+
<ui-callout-banner size="md" variant="info" heading="Medium (md — default)" message="Standard industrial UI spacing for general use."></ui-callout-banner>
|
|
110
|
+
<ui-callout-banner size="lg" variant="info" heading="Large (lg)" message="High visibility for critical dashboard views and primary alerts."></ui-callout-banner>
|
|
95
111
|
</div>
|
|
96
112
|
`;
|
|
97
113
|
},
|
|
@@ -108,7 +124,7 @@ export function initCalloutBannerDemo() {
|
|
|
108
124
|
container.innerHTML = `
|
|
109
125
|
<div class="cb-grid" style="margin: -20px; padding: 20px;">
|
|
110
126
|
<ui-callout-banner banner variant="info" heading="Site-Wide Maintenance" message="Facility systems will be offline for 2 hours for security patches.">
|
|
111
|
-
<ui-button slot="actions" variant="outline" color="primary" label="View Schedule" size="md"ui-button>
|
|
127
|
+
<ui-button slot="actions" variant="outline" color="primary" label="View Schedule" size="md"></ui-button>
|
|
112
128
|
</ui-callout-banner>
|
|
113
129
|
<ui-callout-banner banner variant="success" heading="Enterprise Mode Active" message="Dedicated cloud environment initialized. All security protocols enforced." closable="false"></ui-callout-banner>
|
|
114
130
|
</div>
|
|
@@ -156,19 +172,271 @@ export function initCalloutBannerDemo() {
|
|
|
156
172
|
</div>
|
|
157
173
|
`;
|
|
158
174
|
},
|
|
175
|
+
enterfrom: () => {
|
|
176
|
+
container.innerHTML = `
|
|
177
|
+
<div class="cb-grid">
|
|
178
|
+
<span class="cb-section-label">Entrance animation direction — controlled by the <code>enter-from</code> prop</span>
|
|
179
|
+
<ui-callout-banner id="cb-anim-demo" enter-from="top" variant="info" heading="Slide in from Top (default)" message="Animate in from the top edge."></ui-callout-banner>
|
|
180
|
+
<div style="display:flex; gap:8px; flex-wrap:wrap;">
|
|
181
|
+
<ui-button variant="outline" id="cb-anim-top">top</ui-button>
|
|
182
|
+
<ui-button variant="outline" id="cb-anim-bottom">bottom</ui-button>
|
|
183
|
+
<ui-button variant="outline" id="cb-anim-left">left</ui-button>
|
|
184
|
+
<ui-button variant="outline" id="cb-anim-right">right</ui-button>
|
|
185
|
+
<ui-button variant="outline" id="cb-anim-fade">fade</ui-button>
|
|
186
|
+
</div>
|
|
187
|
+
<div class="cb-grid" style="margin-top:16px;">
|
|
188
|
+
<span class="cb-section-label">All directions at once</span>
|
|
189
|
+
<ui-callout-banner enter-from="top" variant="info" heading="enter-from="top"" message="Slides in from the top."></ui-callout-banner>
|
|
190
|
+
<ui-callout-banner enter-from="bottom" variant="success" heading="enter-from="bottom"" message="Slides in from the bottom."></ui-callout-banner>
|
|
191
|
+
<ui-callout-banner enter-from="left" variant="warning" heading="enter-from="left"" message="Slides in from the left."></ui-callout-banner>
|
|
192
|
+
<ui-callout-banner enter-from="right" variant="danger" heading="enter-from="right"" message="Slides in from the right."></ui-callout-banner>
|
|
193
|
+
<ui-callout-banner enter-from="fade" variant="neutral" heading="enter-from="fade"" message="Fades in without directional movement."></ui-callout-banner>
|
|
194
|
+
</div>
|
|
195
|
+
</div>
|
|
196
|
+
`;
|
|
197
|
+
|
|
198
|
+
const directions = ['top', 'bottom', 'left', 'right', 'fade'];
|
|
199
|
+
directions.forEach(dir => {
|
|
200
|
+
document.getElementById('cb-anim-' + dir)?.addEventListener('click', () => {
|
|
201
|
+
const wrapper = document.getElementById('cb-anim-demo');
|
|
202
|
+
if (!wrapper) return;
|
|
203
|
+
// Re-create element to re-trigger animation
|
|
204
|
+
const parent = wrapper.parentNode;
|
|
205
|
+
const next = wrapper.nextSibling;
|
|
206
|
+
wrapper.remove();
|
|
207
|
+
const el = document.createElement('ui-callout-banner');
|
|
208
|
+
el.id = 'cb-anim-demo';
|
|
209
|
+
el.setAttribute('enter-from', dir);
|
|
210
|
+
el.setAttribute('variant', 'info');
|
|
211
|
+
el.setAttribute('heading', 'Slide in from ' + dir.charAt(0).toUpperCase() + dir.slice(1));
|
|
212
|
+
el.setAttribute('message', 'Animating with enter-from="' + dir + '"');
|
|
213
|
+
parent.insertBefore(el, next);
|
|
214
|
+
});
|
|
215
|
+
});
|
|
216
|
+
},
|
|
217
|
+
|
|
218
|
+
progressprop: () => {
|
|
219
|
+
container.innerHTML = `
|
|
220
|
+
<div class="cb-grid">
|
|
221
|
+
<span class="cb-section-label">Determinate progress bar — set <code>progress</code> (0–100) to show a fixed-width indicator bar</span>
|
|
222
|
+
<ui-callout-banner progress="25" variant="info" heading="Uploading..." message="package.zip — 25% complete"></ui-callout-banner>
|
|
223
|
+
<ui-callout-banner progress="60" variant="warning" heading="Processing..." message="Analysing 60% of records — please wait."></ui-callout-banner>
|
|
224
|
+
<ui-callout-banner progress="90" variant="success" heading="Almost Done" message="Finalising deployment, 90% complete."></ui-callout-banner>
|
|
225
|
+
<ui-callout-banner progress="100" variant="success" solid heading="Complete!" message="All files transferred successfully."></ui-callout-banner>
|
|
226
|
+
|
|
227
|
+
<span class="cb-section-label" style="margin-top:8px;">Interactive — drag the slider to update progress live</span>
|
|
228
|
+
<div style="display:flex; flex-direction:column; gap:12px;">
|
|
229
|
+
<div style="display:flex; align-items:center; gap:12px;">
|
|
230
|
+
<label style="font-size:13px; font-weight:600; white-space:nowrap;">Progress: <span id="cb-prog-val">45</span>%</label>
|
|
231
|
+
<input type="range" id="cb-prog-slider" min="0" max="100" value="45" style="flex:1;">
|
|
232
|
+
</div>
|
|
233
|
+
<ui-callout-banner id="cb-prog-banner" progress="45" variant="info" heading="Custom Progress" message="Adjust the slider above to see the progress bar update."></ui-callout-banner>
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
`;
|
|
237
|
+
|
|
238
|
+
document.getElementById('cb-prog-slider')?.addEventListener('input', e => {
|
|
239
|
+
const val = e.target.value;
|
|
240
|
+
document.getElementById('cb-prog-val').textContent = val;
|
|
241
|
+
const banner = document.getElementById('cb-prog-banner');
|
|
242
|
+
if (banner) banner.setAttribute('progress', val);
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
// ── Status Variant ──────────────────────────────────────────────────────
|
|
246
|
+
container.querySelector('.cb-grid')?.insertAdjacentHTML('beforeend', `
|
|
247
|
+
<span class="cb-section-label" style="margin-top:8px;">Status Variant — <code>ui-progress status-bar</code> on top of a callout banner</span>
|
|
248
|
+
|
|
249
|
+
<!-- 4 lifecycle states -->
|
|
250
|
+
<div style="display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:12px;">
|
|
251
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid var(--border-default,#e2e8f0); box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
252
|
+
<ui-progress percent="0" status-bar stroke-width="5"></ui-progress>
|
|
253
|
+
<ui-callout-banner variant="neutral" heading="Database Backup" message="Task is queued and waiting to begin." no-icon></ui-callout-banner>
|
|
254
|
+
</div>
|
|
255
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid #bfdbfe; box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
256
|
+
<ui-progress percent="55" status-bar stroke-width="5" stroke-color="#3b82f6"></ui-progress>
|
|
257
|
+
<ui-callout-banner variant="info" heading="File Upload" message="package.zip — 55% transferred to remote storage." no-icon></ui-callout-banner>
|
|
258
|
+
</div>
|
|
259
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid #fed7aa; box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
260
|
+
<ui-progress percent="72" status="interrupted" status-bar stroke-width="5" stroke-color="#f59e0b"></ui-progress>
|
|
261
|
+
<ui-callout-banner variant="warning" heading="Deploy Job" message="Deployment halted at 72%. Resume when ready." no-icon></ui-callout-banner>
|
|
262
|
+
</div>
|
|
263
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid #bbf7d0; box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
264
|
+
<ui-progress percent="100" status-bar stroke-width="5" stroke-color="#22c55e"></ui-progress>
|
|
265
|
+
<ui-callout-banner variant="success" heading="Data Migration" message="All 1,248 records transferred successfully." no-icon></ui-callout-banner>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
|
|
269
|
+
<!-- Custom labels -->
|
|
270
|
+
<span class="cb-section-label" style="margin-top:8px;">Custom Labels — override any state text via <code>status-labels</code></span>
|
|
271
|
+
<div style="display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:12px;">
|
|
272
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid var(--border-default,#e2e8f0); box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
273
|
+
<ui-progress percent="0" status-bar stroke-width="5"
|
|
274
|
+
status-labels='{"notStarted":"Queued","running":"Deploying","interrupted":"Rolled Back","completed":"Live"}'></ui-progress>
|
|
275
|
+
<ui-callout-banner variant="neutral" heading="CI/CD Pipeline" message="Waiting in queue. Labels: Queued / Deploying / Rolled Back / Live." no-icon></ui-callout-banner>
|
|
276
|
+
</div>
|
|
277
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid #bfdbfe; box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
278
|
+
<ui-progress percent="38" status-bar stroke-width="5" stroke-color="#3b82f6"
|
|
279
|
+
status-labels='{"notStarted":"Pending","running":"Uploading","interrupted":"Paused","completed":"Sent"}'></ui-progress>
|
|
280
|
+
<ui-callout-banner variant="info" heading="File Transfer" message="Custom labels: Pending / Uploading / Paused / Sent." no-icon></ui-callout-banner>
|
|
281
|
+
</div>
|
|
282
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid #fed7aa; box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
283
|
+
<ui-progress percent="61" status="interrupted" status-bar stroke-width="5" stroke-color="#f59e0b"
|
|
284
|
+
status-labels='{"interrupted":"On Hold"}'></ui-progress>
|
|
285
|
+
<ui-callout-banner variant="warning" heading="Partial Override" message='Only "interrupted" → "On Hold"; other labels stay default.' no-icon></ui-callout-banner>
|
|
286
|
+
</div>
|
|
287
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid #bbf7d0; box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
288
|
+
<ui-progress percent="100" status-bar stroke-width="5" stroke-color="#22c55e"
|
|
289
|
+
status-labels='{"completed":"All Done!"}'></ui-progress>
|
|
290
|
+
<ui-callout-banner variant="success" heading="Batch Job" message='Completed label overridden to "All Done!"' no-icon></ui-callout-banner>
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
|
|
294
|
+
<!-- Badge alignment -->
|
|
295
|
+
<span class="cb-section-label" style="margin-top:8px;">Badge Alignment — <code>status-bar-align</code>: left · center · right</span>
|
|
296
|
+
<div style="display:flex; flex-direction:column; gap:10px;">
|
|
297
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid var(--border-default,#e2e8f0); box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
298
|
+
<ui-progress percent="60" status-bar status-bar-align="left" stroke-width="5" stroke-color="#3b82f6"></ui-progress>
|
|
299
|
+
<ui-callout-banner variant="info" heading="Align: left (default)" message="Badge on left, percentage on right." no-icon></ui-callout-banner>
|
|
300
|
+
</div>
|
|
301
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid var(--border-default,#e2e8f0); box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
302
|
+
<ui-progress percent="60" status-bar status-bar-align="center" stroke-width="5" stroke-color="#8b5cf6"></ui-progress>
|
|
303
|
+
<ui-callout-banner variant="neutral" heading="Align: center" message="Badge and percentage both centred." no-icon></ui-callout-banner>
|
|
304
|
+
</div>
|
|
305
|
+
<div style="border-radius:10px; overflow:hidden; border:1px solid var(--border-default,#e2e8f0); box-shadow:0 2px 6px rgba(0,0,0,0.05);">
|
|
306
|
+
<ui-progress percent="60" status-bar status-bar-align="right" stroke-width="5" stroke-color="#22c55e"></ui-progress>
|
|
307
|
+
<ui-callout-banner variant="success" heading="Align: right" message="Percentage on left, badge on right." no-icon></ui-callout-banner>
|
|
308
|
+
</div>
|
|
309
|
+
</div>
|
|
310
|
+
|
|
311
|
+
<!-- Interactive -->
|
|
312
|
+
<span class="cb-section-label" style="margin-top:8px;">Interactive — live controls</span>
|
|
313
|
+
<div style="display:flex; flex-direction:column; gap:12px;">
|
|
314
|
+
<!-- Controls row -->
|
|
315
|
+
<div style="display:flex; align-items:center; gap:12px; flex-wrap:wrap;">
|
|
316
|
+
<label style="font-size:13px; font-weight:600; white-space:nowrap;">Progress: <span id="cb-st-val">0</span>%</label>
|
|
317
|
+
<input type="range" id="cb-st-slider" min="0" max="100" value="0" style="flex:1; min-width:120px;">
|
|
318
|
+
<button id="cb-st-interrupt" style="padding:4px 14px; font-size:12px; font-weight:600; border-radius:6px; border:1.5px solid #f59e0b; background:var(--accent-orange-soft,#fff7ed); color:var(--accent-yellow,#b45309); cursor:pointer; white-space:nowrap;">⛔ Interrupt</button>
|
|
319
|
+
<button id="cb-st-reset" style="padding:4px 14px; font-size:12px; font-weight:600; border-radius:6px; border:1.5px solid #e2e8f0; background:var(--bg-secondary,#f8fafc); color:#475569; cursor:pointer;">↺ Reset</button>
|
|
320
|
+
</div>
|
|
321
|
+
<!-- Alignment + label inputs row -->
|
|
322
|
+
<div style="display:flex; gap:12px; flex-wrap:wrap; align-items:flex-start; padding:14px 16px; background:var(--bg-secondary,#f8fafc); border-radius:8px; border:1px solid var(--border-default,#e2e8f0);">
|
|
323
|
+
<div style="display:flex; align-items:center; gap:6px; flex-shrink:0;">
|
|
324
|
+
<span style="font-size:11px; font-weight:700; color:var(--text-secondary,#64748b); text-transform:uppercase; letter-spacing:.05em;">Align</span>
|
|
325
|
+
<button id="cb-st-al-left" style="padding:3px 10px; font-size:11px; font-weight:700; border-radius:6px; border:1.5px solid #3b82f6; background:var(--accent-blue-soft,#eff6ff); color:var(--accent-blue,#2563eb); cursor:pointer;">Left</button>
|
|
326
|
+
<button id="cb-st-al-center" style="padding:3px 10px; font-size:11px; font-weight:700; border-radius:6px; border:1.5px solid #e2e8f0; background:var(--bg-secondary,#f8fafc); color:#475569; cursor:pointer;">Center</button>
|
|
327
|
+
<button id="cb-st-al-right" style="padding:3px 10px; font-size:11px; font-weight:700; border-radius:6px; border:1.5px solid #e2e8f0; background:var(--bg-secondary,#f8fafc); color:#475569; cursor:pointer;">Right</button>
|
|
328
|
+
</div>
|
|
329
|
+
<div style="display:grid; grid-template-columns:repeat(4,1fr); gap:8px; flex:1; min-width:280px;">
|
|
330
|
+
${['notStarted','running','interrupted','completed'].map((k,i) => `
|
|
331
|
+
<label style="display:flex; flex-direction:column; gap:3px; font-size:10px; font-weight:700; color:var(--text-secondary,#64748b); text-transform:uppercase; letter-spacing:.05em;">
|
|
332
|
+
${['Not Started','Running','Interrupted','Completed'][i]}
|
|
333
|
+
<input id="cb-st-lbl-${k}" type="text" placeholder="${['Not Started','Running','Interrupted','Completed'][i]}" style="padding:4px 7px; font-size:12px; border-radius:6px; border:1px solid var(--border-default,#e2e8f0); outline:none; background:var(--bg-primary,white);">
|
|
334
|
+
</label>`).join('')}
|
|
335
|
+
</div>
|
|
336
|
+
</div>
|
|
337
|
+
<!-- Live banner -->
|
|
338
|
+
<div id="cb-st-wrapper" style="border-radius:10px; overflow:hidden; border:1px solid var(--border-default,#e2e8f0); box-shadow:0 2px 8px rgba(0,0,0,0.06); transition:border-color 0.3s;">
|
|
339
|
+
<ui-progress id="cb-st-prog" percent="0" status-bar status-bar-align="left" stroke-width="5"></ui-progress>
|
|
340
|
+
<ui-callout-banner id="cb-st-banner" variant="neutral" heading="CI/CD Pipeline" message="Waiting to begin deployment." no-icon></ui-callout-banner>
|
|
341
|
+
</div>
|
|
342
|
+
</div>
|
|
343
|
+
`);
|
|
344
|
+
|
|
345
|
+
const stateConfig = {
|
|
346
|
+
notStarted: { variant:'neutral', color:'#94a3b8', border:'#e2e8f0', status:'normal', message:'Waiting to begin deployment.' },
|
|
347
|
+
running: { variant:'info', color:'#3b82f6', border:'#bfdbfe', status:'running', message:'Deploying to production environment.' },
|
|
348
|
+
interrupted: { variant:'warning', color:'#f59e0b', border:'#fed7aa', status:'interrupted', message:'Deployment halted. Resume when ready.' },
|
|
349
|
+
completed: { variant:'success', color:'#22c55e', border:'#bbf7d0', status:'completed', message:'All services deployed and healthy.' },
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
let stInterrupted = false;
|
|
353
|
+
|
|
354
|
+
function syncStLabels() {
|
|
355
|
+
const labels = {};
|
|
356
|
+
['notStarted','running','interrupted','completed'].forEach(k => {
|
|
357
|
+
const v = document.getElementById(`cb-st-lbl-${k}`)?.value.trim();
|
|
358
|
+
if (v) labels[k] = v;
|
|
359
|
+
});
|
|
360
|
+
const prog = document.getElementById('cb-st-prog');
|
|
361
|
+
if (!prog) return;
|
|
362
|
+
if (Object.keys(labels).length) {
|
|
363
|
+
prog.setAttribute('status-labels', JSON.stringify(labels));
|
|
364
|
+
} else {
|
|
365
|
+
prog.removeAttribute('status-labels');
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
function applyStStatus(pct, interrupted) {
|
|
370
|
+
const cfg = interrupted ? stateConfig.interrupted
|
|
371
|
+
: pct === 0 ? stateConfig.notStarted
|
|
372
|
+
: pct >= 100 ? stateConfig.completed
|
|
373
|
+
: stateConfig.running;
|
|
374
|
+
|
|
375
|
+
const prog = document.getElementById('cb-st-prog');
|
|
376
|
+
const wrapper = document.getElementById('cb-st-wrapper');
|
|
377
|
+
const banner = document.getElementById('cb-st-banner');
|
|
378
|
+
const valEl = document.getElementById('cb-st-val');
|
|
379
|
+
|
|
380
|
+
if (valEl) valEl.textContent = pct;
|
|
381
|
+
if (wrapper) wrapper.style.borderColor = cfg.border;
|
|
382
|
+
if (prog) {
|
|
383
|
+
prog.setAttribute('percent', pct);
|
|
384
|
+
prog.setAttribute('status', cfg.status);
|
|
385
|
+
prog.setAttribute('stroke-color', cfg.color);
|
|
386
|
+
}
|
|
387
|
+
if (banner) {
|
|
388
|
+
banner.setAttribute('variant', cfg.variant);
|
|
389
|
+
banner.setAttribute('message', cfg.message + (!interrupted && pct > 0 && pct < 100 ? ` (${pct}%)` : ''));
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
document.getElementById('cb-st-slider')?.addEventListener('input', e => {
|
|
394
|
+
stInterrupted = false;
|
|
395
|
+
applyStStatus(+e.target.value, false);
|
|
396
|
+
});
|
|
397
|
+
document.getElementById('cb-st-interrupt')?.addEventListener('click', () => {
|
|
398
|
+
stInterrupted = true;
|
|
399
|
+
applyStStatus(+document.getElementById('cb-st-slider').value, true);
|
|
400
|
+
});
|
|
401
|
+
document.getElementById('cb-st-reset')?.addEventListener('click', () => {
|
|
402
|
+
stInterrupted = false;
|
|
403
|
+
document.getElementById('cb-st-slider').value = 0;
|
|
404
|
+
applyStStatus(0, false);
|
|
405
|
+
});
|
|
406
|
+
|
|
407
|
+
// Alignment toggles
|
|
408
|
+
['left','center','right'].forEach(a => {
|
|
409
|
+
document.getElementById(`cb-st-al-${a}`)?.addEventListener('click', () => {
|
|
410
|
+
document.getElementById('cb-st-prog')?.setAttribute('status-bar-align', a);
|
|
411
|
+
['left','center','right'].forEach(x => {
|
|
412
|
+
const b = document.getElementById(`cb-st-al-${x}`);
|
|
413
|
+
const on = x === a;
|
|
414
|
+
b.style.borderColor = on ? '#3b82f6' : '#e2e8f0';
|
|
415
|
+
b.style.background = on ? '#eff6ff' : '#f8fafc';
|
|
416
|
+
b.style.color = on ? '#2563eb' : '#475569';
|
|
417
|
+
});
|
|
418
|
+
});
|
|
419
|
+
});
|
|
420
|
+
|
|
421
|
+
// Custom label inputs
|
|
422
|
+
['notStarted','running','interrupted','completed'].forEach(k => {
|
|
423
|
+
document.getElementById(`cb-st-lbl-${k}`)?.addEventListener('input', syncStLabels);
|
|
424
|
+
});
|
|
425
|
+
},
|
|
426
|
+
|
|
159
427
|
annotations: () => {
|
|
160
428
|
container.innerHTML = `
|
|
161
429
|
<div class="demo-card-lite">
|
|
162
430
|
<span class="cb-section-label">Industrial Map Simulator (Pointer Logics)</span>
|
|
163
431
|
<div class="demo-map-sim">
|
|
164
|
-
<div class="map-point pulsed" style="top: 20%; left: 30%; color:
|
|
165
|
-
<ui-callout-banner variant="danger" placement="bottom" heading="PUMP_FAIL" pulse="true" size="
|
|
432
|
+
<div class="map-point pulsed" style="top: 20%; left: 30%; color:var(--accent-red,#ef4444);"></div>
|
|
433
|
+
<ui-callout-banner variant="danger" placement="bottom" heading="PUMP_FAIL" pulse="true" size="sm" closable="false" style="position: absolute; top: 25%; left: 30%; transform: translateX(-50%); width: 210px;">Check valve 7.</ui-callout-banner>
|
|
166
434
|
|
|
167
435
|
<div class="map-point" style="top: 70%; left: 75%; color: #22c55e;"></div>
|
|
168
|
-
<ui-callout-banner variant="success" placement="top" heading="BOILER_OK" size="
|
|
436
|
+
<ui-callout-banner variant="success" placement="top" heading="BOILER_OK" size="sm" closable="false" style="position: absolute; top: 62%; left: 75%; transform: translateX(-50%); width: 170px;">Efficiency: 98%.</ui-callout-banner>
|
|
169
437
|
|
|
170
438
|
<div class="map-point" style="top: 50%; left: 10%; color: #10b981;"></div>
|
|
171
|
-
<ui-callout-banner variant="info" placement="right" heading="SENSOR_HUB" size="
|
|
439
|
+
<ui-callout-banner variant="info" placement="right" heading="SENSOR_HUB" size="sm" closable="false" style="position: absolute; top: 50%; left: 14%; transform: translateY(-50%); width: 180px;">Link active.</ui-callout-banner>
|
|
172
440
|
</div>
|
|
173
441
|
</div>
|
|
174
442
|
`;
|
|
@@ -193,12 +461,12 @@ export function initCalloutBannerDemo() {
|
|
|
193
461
|
<span class="cb-section-label">Industrial Market Ticker (Nasdaq style — Hover to Pause)</span>
|
|
194
462
|
<ui-callout-banner banner="true" marquee="true" marquee-speed="15" variant="neutral" no-icon="true" size="md" pause-on-hover="true" style="background:#000; color:#fff; font-family:monospace; border-bottom:1px solid #333;">
|
|
195
463
|
AAPL <span style="color:#22c55e">▲ 184.22 (+1.4%)</span> •
|
|
196
|
-
MSFT <span style="color
|
|
464
|
+
MSFT <span style="color:var(--accent-red,#ef4444)">▼ 328.79 (-0.8%)</span> •
|
|
197
465
|
GOOGL <span style="color:#22c55e">▲ 138.21 (+0.5%)</span> •
|
|
198
|
-
TSLA <span style="color
|
|
466
|
+
TSLA <span style="color:var(--accent-red,#ef4444)">▼ 214.50 (-3.2%)</span> •
|
|
199
467
|
NVDA <span style="color:#22c55e">▲ 485.42 (+4.1%)</span> •
|
|
200
468
|
AMZN <span style="color:#22c55e">▲ 145.22 (+1.1%)</span> •
|
|
201
|
-
META <span style="color
|
|
469
|
+
META <span style="color:var(--accent-red,#ef4444)">▼ 312.44 (-0.2%)</span> •
|
|
202
470
|
</ui-callout-banner>
|
|
203
471
|
|
|
204
472
|
<span class="cb-section-label">Global Forex Stream (Standard variant colors)</span>
|
|
@@ -309,11 +577,30 @@ export function initCalloutBannerDemo() {
|
|
|
309
577
|
<option value="right">right</option>
|
|
310
578
|
</ui-dropdown>
|
|
311
579
|
|
|
580
|
+
<ui-dropdown id="pg-size" label="SIZE" value="md">
|
|
581
|
+
<option value="sm">sm</option>
|
|
582
|
+
<option value="md" selected>md</option>
|
|
583
|
+
<option value="lg">lg</option>
|
|
584
|
+
</ui-dropdown>
|
|
585
|
+
|
|
586
|
+
<ui-dropdown id="pg-enter" label="ENTER FROM" value="top">
|
|
587
|
+
<option value="top">top</option>
|
|
588
|
+
<option value="bottom">bottom</option>
|
|
589
|
+
<option value="left">left</option>
|
|
590
|
+
<option value="right">right</option>
|
|
591
|
+
<option value="fade">fade</option>
|
|
592
|
+
</ui-dropdown>
|
|
593
|
+
|
|
312
594
|
<div style="display:flex; flex-direction:column; gap:8px;">
|
|
313
595
|
<ui-checkbox id="pg-l" label="loading"></ui-checkbox>
|
|
314
596
|
<ui-checkbox id="pg-pu" label="pulse"></ui-checkbox>
|
|
315
597
|
<ui-checkbox id="pg-m" label="marquee"></ui-checkbox>
|
|
316
598
|
<ui-checkbox id="pg-s" label="solid"></ui-checkbox>
|
|
599
|
+
<ui-checkbox id="pg-outlined" label="outlined"></ui-checkbox>
|
|
600
|
+
<ui-checkbox id="pg-accbar" label="accent-bar"></ui-checkbox>
|
|
601
|
+
<ui-checkbox id="pg-noicon" label="no-icon"></ui-checkbox>
|
|
602
|
+
<ui-checkbox id="pg-compact" label="compact"></ui-checkbox>
|
|
603
|
+
<ui-checkbox id="pg-banner" label="banner"></ui-checkbox>
|
|
317
604
|
</div>
|
|
318
605
|
</div>
|
|
319
606
|
<div id="pg-p-target" style="background:var(--bg-primary); border-radius:12px; border:2px dashed var(--border-default); display:flex; align-items:center; justify-content:center; padding:20px;"></div>
|
|
@@ -322,12 +609,19 @@ export function initCalloutBannerDemo() {
|
|
|
322
609
|
`;
|
|
323
610
|
|
|
324
611
|
const controls = [
|
|
325
|
-
{ id: 'pg-v',
|
|
326
|
-
{ id: 'pg-p',
|
|
327
|
-
{ id: 'pg-
|
|
328
|
-
{ id: 'pg-
|
|
329
|
-
{ id: 'pg-
|
|
330
|
-
{ id: 'pg-
|
|
612
|
+
{ id: 'pg-v', event: 'dropdownChange' },
|
|
613
|
+
{ id: 'pg-p', event: 'dropdownChange' },
|
|
614
|
+
{ id: 'pg-size', event: 'dropdownChange' },
|
|
615
|
+
{ id: 'pg-enter', event: 'dropdownChange' },
|
|
616
|
+
{ id: 'pg-l', event: 'checkboxChange' },
|
|
617
|
+
{ id: 'pg-pu', event: 'checkboxChange' },
|
|
618
|
+
{ id: 'pg-m', event: 'checkboxChange' },
|
|
619
|
+
{ id: 'pg-s', event: 'checkboxChange' },
|
|
620
|
+
{ id: 'pg-outlined', event: 'checkboxChange' },
|
|
621
|
+
{ id: 'pg-accbar', event: 'checkboxChange' },
|
|
622
|
+
{ id: 'pg-noicon', event: 'checkboxChange' },
|
|
623
|
+
{ id: 'pg-compact', event: 'checkboxChange' },
|
|
624
|
+
{ id: 'pg-banner', event: 'checkboxChange' },
|
|
331
625
|
];
|
|
332
626
|
controls.forEach(c => {
|
|
333
627
|
document.getElementById(c.id)?.addEventListener(c.event, pgUpdate);
|
|
@@ -339,15 +633,11 @@ export function initCalloutBannerDemo() {
|
|
|
339
633
|
const showTab = tab => {
|
|
340
634
|
if (demoMap[tab]) {
|
|
341
635
|
demoMap[tab]();
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
// btn.variant = isMatch ? 'solid' : 'soft';
|
|
348
|
-
// btn.color = isMatch ? (tab === 'playground' ? 'primary' : 'secondary') : 'secondary';
|
|
349
|
-
// });
|
|
350
|
-
// }
|
|
636
|
+
if (nav) {
|
|
637
|
+
nav.querySelectorAll('ui-button').forEach(btn => {
|
|
638
|
+
btn.selected = btn.getAttribute('data-tab') === tab;
|
|
639
|
+
});
|
|
640
|
+
}
|
|
351
641
|
}
|
|
352
642
|
};
|
|
353
643
|
|