atomicuilibrary 0.0.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/category-section.cjs.entry.js +2 -2
- package/dist/cjs/dom-BvBb0kmW.js +267 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +2 -2
- package/dist/cjs/{index-ClkOYpT8.js → index-C32cWsm5.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/library-card.cjs.entry.js +2 -2
- package/dist/cjs/lm-container_2.cjs.entry.js +2 -2
- package/dist/cjs/lm-panel_3.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-step.cjs.entry.js +2 -2
- package/dist/cjs/nav-bar.cjs.entry.js +4 -4
- package/dist/cjs/{security-E1JcwxGc.js → security-CNaNip8F.js} +88 -154
- package/dist/cjs/smart-step.cjs.entry.js +3 -3
- package/dist/cjs/timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/{ui-accordion_10.cjs.entry.js → ui-accordion_11.cjs.entry.js} +730 -61
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2 -2
- package/dist/cjs/ui-anchor.cjs.entry.js +2 -2
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ui-aside-panel.cjs.entry.js +11 -12
- package/dist/cjs/ui-avatar-group_5.cjs.entry.js +1694 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ui-callout-banner.cjs.entry.js +3 -3
- package/dist/cjs/ui-card.cjs.entry.js +28 -5
- package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ui-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ui-code-editor.cjs.entry.js +3 -3
- package/dist/cjs/ui-code-preview.cjs.entry.js +2 -2
- package/dist/cjs/ui-color-picker.cjs.entry.js +256 -22
- package/dist/cjs/ui-command-palette.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-box.cjs.entry.js +86 -12
- package/dist/cjs/ui-dialog-content.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +1 -1
- package/dist/cjs/ui-divider.cjs.entry.js +1 -1
- package/dist/cjs/ui-dock-host.cjs.entry.js +4 -4
- package/dist/cjs/ui-dock.cjs.entry.js +2 -2
- package/dist/cjs/ui-drag-drop.cjs.entry.js +2 -2
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +104 -34
- package/dist/cjs/ui-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab.cjs.entry.js +4 -4
- package/dist/cjs/ui-file-upload.cjs.entry.js +143 -44
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +2 -2
- package/dist/cjs/ui-knob.cjs.entry.js +1 -1
- package/dist/cjs/ui-label.cjs.entry.js +473 -0
- package/dist/cjs/ui-library.cjs.entry.js +2 -2
- package/dist/cjs/ui-list-group_2.cjs.entry.js +351 -58
- package/dist/cjs/ui-list.cjs.entry.js +76 -42
- package/dist/cjs/ui-masonry.cjs.entry.js +1 -1
- package/dist/cjs/ui-meter-group.cjs.entry.js +5 -4
- package/dist/cjs/ui-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ui-number-input.cjs.entry.js +7 -3
- package/dist/cjs/ui-otp-input.cjs.entry.js +5 -5
- package/dist/cjs/ui-pagination_3.cjs.entry.js +235 -504
- package/dist/cjs/ui-panel.cjs.entry.js +1 -1
- package/dist/cjs/ui-pattern-input.cjs.entry.js +46 -11
- package/dist/cjs/ui-progress.cjs.entry.js +164 -23
- package/dist/cjs/ui-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +2 -2
- package/dist/cjs/ui-scroll-top.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-speed-dial.cjs.entry.js +1 -1
- package/dist/cjs/ui-speedometer.cjs.entry.js +28 -17
- package/dist/cjs/ui-splitter.cjs.entry.js +1 -1
- package/dist/cjs/ui-step.cjs.entry.js +2 -2
- package/dist/cjs/ui-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-switch.cjs.entry.js +14 -13
- package/dist/cjs/ui-tabs.cjs.entry.js +3 -3
- package/dist/cjs/ui-tag.cjs.entry.js +58 -13
- package/dist/cjs/ui-timeline.cjs.entry.js +11 -3
- package/dist/cjs/ui-timer.cjs.entry.js +2 -2
- package/dist/cjs/ui-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-transfer-list.cjs.entry.js +7 -7
- package/dist/cjs/ui-tree.cjs.entry.js +30 -15
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +3 -3
- package/dist/collection/assets/js/component-config.js +1 -0
- package/dist/collection/assets/js/demo-loader.js +2 -1
- package/dist/collection/assets/js/demos/about-demo.js +13 -13
- package/dist/collection/assets/js/demos/accordion-demo.js +238 -49
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +315 -316
- package/dist/collection/assets/js/demos/anchor-demo.js +27 -28
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +12 -12
- package/dist/collection/assets/js/demos/aside-panel-demo.js +57 -57
- package/dist/collection/assets/js/demos/avatar-demo.js +433 -95
- package/dist/collection/assets/js/demos/badge-demo.js +51 -52
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +7 -7
- package/dist/collection/assets/js/demos/button-demo.js +175 -106
- package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
- package/dist/collection/assets/js/demos/callout-banner-demo.js +332 -42
- package/dist/collection/assets/js/demos/card-demo.js +122 -74
- package/dist/collection/assets/js/demos/carousel-demo.js +632 -360
- package/dist/collection/assets/js/demos/checkbox-demo.js +124 -7
- package/dist/collection/assets/js/demos/color-picker-demo.js +394 -100
- package/dist/collection/assets/js/demos/command-palette-demo.js +182 -65
- package/dist/collection/assets/js/demos/complex-form-demo.js +5 -5
- package/dist/collection/assets/js/demos/context-menu-demo.js +476 -55
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +3 -3
- package/dist/collection/assets/js/demos/dialog-demo.js +336 -230
- package/dist/collection/assets/js/demos/divider-demo.js +59 -62
- package/dist/collection/assets/js/demos/dock-demo.js +92 -72
- package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
- package/dist/collection/assets/js/demos/documentation-demo.js +227 -22
- package/dist/collection/assets/js/demos/drag-drop-demo.js +2 -2
- package/dist/collection/assets/js/demos/dropdown-demo.js +140 -136
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +2 -2
- package/dist/collection/assets/js/demos/empty-state-demo.js +304 -88
- package/dist/collection/assets/js/demos/fab-demo.js +95 -11
- package/dist/collection/assets/js/demos/file-upload-demo.js +641 -171
- package/dist/collection/assets/js/demos/home-components.js +2 -2
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +6 -6
- package/dist/collection/assets/js/demos/icon-demo.js +17 -17
- package/dist/collection/assets/js/demos/input-demo.js +147 -143
- package/dist/collection/assets/js/demos/knob-demo.js +29 -30
- package/dist/collection/assets/js/demos/label-demo.js +697 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +55 -55
- package/dist/collection/assets/js/demos/list-demo.js +226 -140
- package/dist/collection/assets/js/demos/loader-demo.js +48 -48
- package/dist/collection/assets/js/demos/masonry-demo.js +592 -0
- package/dist/collection/assets/js/demos/meter-group-demo.js +14 -16
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +25 -25
- package/dist/collection/assets/js/demos/my-profile-demo.js +27 -27
- package/dist/collection/assets/js/demos/nav-bar-demo.js +1 -1
- package/dist/collection/assets/js/demos/number-input-demo.js +262 -211
- package/dist/collection/assets/js/demos/pagination-demo.js +29 -29
- package/dist/collection/assets/js/demos/panel-demo.js +18 -25
- package/dist/collection/assets/js/demos/pattern-input-demo.js +278 -40
- package/dist/collection/assets/js/demos/popover-demo.js +240 -149
- package/dist/collection/assets/js/demos/progress-demo.js +768 -61
- package/dist/collection/assets/js/demos/radio-demo.js +73 -12
- package/dist/collection/assets/js/demos/range-slider-demo.js +33 -33
- package/dist/collection/assets/js/demos/rating-demo.js +19 -19
- package/dist/collection/assets/js/demos/scroll-top-demo.js +8 -9
- package/dist/collection/assets/js/demos/skeleton-demo.js +110 -52
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +2 -2
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +12 -12
- package/dist/collection/assets/js/demos/smart-menu-demo.js +17 -17
- package/dist/collection/assets/js/demos/snackbar-demo.js +53 -53
- package/dist/collection/assets/js/demos/speed-dial-demo.js +14 -14
- package/dist/collection/assets/js/demos/speedometer-demo.js +40 -32
- package/dist/collection/assets/js/demos/split-button-demo.js +2 -2
- package/dist/collection/assets/js/demos/splitter-demo.js +137 -0
- package/dist/collection/assets/js/demos/stack-demo.js +27 -27
- package/dist/collection/assets/js/demos/stepper-demo.js +49 -49
- package/dist/collection/assets/js/demos/switch-demo.js +561 -125
- package/dist/collection/assets/js/demos/tabs-demo.js +22 -22
- package/dist/collection/assets/js/demos/tag-demo.js +110 -80
- package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
- package/dist/collection/assets/js/demos/timeline-demo.js +27 -14
- package/dist/collection/assets/js/demos/timeline-playground.js +2 -2
- package/dist/collection/assets/js/demos/timer-demo.js +10 -10
- package/dist/collection/assets/js/demos/toolbar-demo.js +17 -17
- package/dist/collection/assets/js/demos/tooltip-demo.js +116 -114
- package/dist/collection/assets/js/demos/top-bar-demo.js +6 -6
- package/dist/collection/assets/js/demos/transfer-list-demo.js +20 -20
- package/dist/collection/assets/js/demos/tree-demo.js +72 -70
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
- package/dist/collection/collection-manifest.json +2 -6
- package/dist/collection/components/accordion/accordion.css +576 -9
- package/dist/collection/components/accordion/accordion.js +47 -14
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +24 -10
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
- package/dist/collection/components/anchor/anchor.css +0 -1
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
- package/dist/collection/components/aside-panel/aside-panel.css +3 -5
- package/dist/collection/components/aside-panel/aside-panel.js +12 -13
- package/dist/collection/components/avatar/avatar.css +6 -6
- package/dist/collection/components/avatar/avatar.js +64 -12
- package/dist/collection/components/badge/badge.css +28 -17
- package/dist/collection/components/badge/badge.js +7 -4
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/button/button.css +132 -0
- package/dist/collection/components/button/button.js +130 -11
- package/dist/collection/components/button-toggle/button-toggle.js +2 -2
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +161 -14
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +2 -2
- package/dist/collection/components/callout-banner/callout-banner.css +75 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1 -1
- package/dist/collection/components/card/card.css +304 -40
- package/dist/collection/components/card/card.js +48 -4
- package/dist/collection/components/checkbox/checkbox.css +8 -10
- package/dist/collection/components/checkbox/checkbox.js +5 -5
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +110 -6
- package/dist/collection/components/color-picker/color-picker.js +302 -26
- package/dist/collection/components/context-menu/context-menu.css +8 -8
- package/dist/collection/components/dialog-box/dialog-box.js +117 -15
- package/dist/collection/components/dialog-header/dialog-header.js +2 -2
- package/dist/collection/components/dock/dock.css +116 -3
- package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
- package/dist/collection/components/drag-drop/drag-drop.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +101 -8
- package/dist/collection/components/dropdown/dropdown.js +94 -28
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/fab/fab.css +87 -15
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab-item/fab-item.js +1 -1
- package/dist/collection/components/file-upload/file-upload.css +1362 -31
- package/dist/collection/components/file-upload/file-upload.js +171 -50
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +9 -9
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.css +9 -0
- package/dist/collection/components/input/input.js +21 -10
- package/dist/collection/components/label/label.css +583 -0
- package/dist/collection/components/label/label.js +1669 -0
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
- package/dist/collection/components/library/category-section.js +1 -1
- package/dist/collection/components/library/library-card.js +1 -1
- package/dist/collection/components/library/library.js +1 -1
- package/dist/collection/components/list/list.css +46 -5
- package/dist/collection/components/list/list.js +76 -42
- package/dist/collection/components/list-group/list-group.css +0 -2
- package/dist/collection/components/list-group/list-group.js +11 -5
- package/dist/collection/components/list-item/list-item.css +427 -131
- package/dist/collection/components/list-item/list-item.js +373 -58
- package/dist/collection/components/loader/loader.css +1635 -0
- package/dist/collection/components/loader/loader.js +1120 -0
- package/dist/collection/components/meter-group/meter-group.css +5 -0
- package/dist/collection/components/meter-group/meter-group.js +3 -2
- package/dist/collection/components/my-step/my-step.js +1 -1
- package/dist/collection/components/nav-bar/nav-bar.css +4 -4
- package/dist/collection/components/nav-bar/nav-bar.js +6 -6
- package/dist/collection/components/number-input/number-input.js +6 -2
- package/dist/collection/components/otp-input/otp-input.css +10 -0
- package/dist/collection/components/otp-input/otp-input.js +3 -3
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pattern-input/pattern-input.css +0 -1
- package/dist/collection/components/pattern-input/pattern-input.js +44 -9
- package/dist/collection/components/popover/popover.css +35 -7
- package/dist/collection/components/popover/popover.js +64 -9
- package/dist/collection/components/progress/progress.css +307 -28
- package/dist/collection/components/progress/progress.js +244 -24
- package/dist/collection/components/radio/radio.css +5 -3
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/range-slider/range-slider.css +284 -31
- package/dist/collection/components/range-slider/range-slider.js +5 -5
- package/dist/collection/components/rating/rating.css +151 -65
- package/dist/collection/components/rating/rating.js +31 -13
- package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
- package/dist/collection/components/skeleton/skeleton-loader.css +144 -44
- package/dist/collection/components/skeleton/skeleton-loader.js +11 -7
- package/dist/collection/components/smart-stepper/smart-step.js +2 -2
- package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
- package/dist/collection/components/snackbar/snackbar.js +1 -1
- package/dist/collection/components/speed-dial/speed-dial.js +1 -1
- package/dist/collection/components/speedometer/speedometer.css +26 -6
- package/dist/collection/components/speedometer/speedometer.js +26 -15
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/switch/switch.css +367 -8
- package/dist/collection/components/switch/switch.js +14 -13
- package/dist/collection/components/tag/tag.css +38 -12
- package/dist/collection/components/tag/tag.js +58 -13
- package/dist/collection/components/tag-group/tag-group.css +0 -1
- package/dist/collection/components/tag-group/tag-group.js +3 -3
- package/dist/collection/components/timeline/timeline.css +380 -317
- package/dist/collection/components/timeline/timeline.js +8 -0
- package/dist/collection/components/timeline-item/timeline-item.js +1 -1
- package/dist/collection/components/timer/timer.js +1 -1
- package/dist/collection/components/toggle-group/toggle-group.css +7 -3
- package/dist/collection/components/toggle-group/toggle-group.js +7 -3
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/top-bar/top-bar.js +2 -2
- package/dist/collection/components/transfer-list/transfer-list.css +13 -13
- package/dist/collection/components/transfer-list/transfer-list.js +4 -4
- package/dist/collection/components/tree/tree.css +35 -21
- package/dist/collection/components/tree/tree.js +28 -13
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +53 -20
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +48 -13
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +7 -7
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
- package/dist/collection/components.js +1 -0
- package/dist/collection/utils/dom.js +151 -151
- package/dist/components/avatar-group.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-toggle.js +1 -1
- package/dist/components/button.js +1 -0
- package/dist/components/category-section2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/library-card2.js +1 -1
- package/dist/components/list-group.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/lm-container2.js +1 -1
- package/dist/components/lm-floating-window2.js +1 -1
- package/dist/components/lm-panel2.js +1 -1
- package/dist/components/lm-splitter2.js +1 -1
- package/dist/components/lm-tabs2.js +1 -1
- package/dist/components/loader.js +1 -0
- package/dist/components/my-step.js +1 -1
- package/dist/components/nav-bar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.js +1 -0
- package/dist/components/radio.js +1 -1
- package/dist/components/range-slider.js +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/resizable-panel.js +1 -1
- package/dist/components/skeleton-loader.js +1 -1
- package/dist/components/smart-step.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag-group.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/timeline-item.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/ui-accordion.js +1 -1
- package/dist/components/ui-advanced-data-table.js +1 -1
- package/dist/components/ui-anchor.js +1 -1
- package/dist/components/ui-animate-on-scroll.js +1 -1
- package/dist/components/ui-aside-panel.js +1 -1
- package/dist/components/ui-badge.js +1 -1
- package/dist/components/ui-breadcrumb-item.js +1 -1
- package/dist/components/ui-breadcrumb.js +1 -1
- package/dist/components/ui-button-toggle-group.js +1 -1
- package/dist/components/ui-button.js +1 -1
- package/dist/components/ui-callout-banner.js +1 -1
- package/dist/components/ui-card.js +1 -1
- package/dist/components/ui-carousel.js +1 -1
- package/dist/components/ui-code-editor.js +1 -1
- package/dist/components/ui-code-preview.js +1 -1
- package/dist/components/ui-color-picker.js +1 -1
- package/dist/components/ui-command-palette.js +1 -1
- package/dist/components/ui-dialog-box.js +1 -1
- package/dist/components/ui-divider.js +1 -1
- package/dist/components/ui-dock-host.js +1 -1
- package/dist/components/ui-dock.js +1 -1
- package/dist/components/ui-drag-drop.js +1 -1
- package/dist/components/ui-empty-state.js +1 -1
- package/dist/components/ui-fab-item.js +1 -1
- package/dist/components/ui-fab.js +1 -1
- package/dist/components/ui-file-upload.js +1 -1
- package/dist/components/ui-horizontal-nav.js +1 -1
- package/dist/components/ui-knob.js +1 -1
- package/dist/components/{ui-input-pair.d.ts → ui-label.d.ts} +4 -4
- package/dist/components/ui-label.js +1 -0
- package/dist/components/ui-library.js +1 -1
- package/dist/components/ui-list.js +1 -1
- package/dist/components/{ui-radio-group.d.ts → ui-loader.d.ts} +4 -4
- package/dist/components/ui-loader.js +1 -0
- package/dist/components/ui-masonry.js +1 -1
- package/dist/components/ui-meter-group.js +1 -1
- package/dist/components/ui-navigation-bar.js +1 -1
- package/dist/components/ui-navigation-item.js +1 -1
- package/dist/components/ui-number-input.js +1 -1
- package/dist/components/ui-otp-input.js +1 -1
- package/dist/components/ui-panel.js +1 -1
- package/dist/components/ui-pattern-input.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-scroll-top.js +1 -1
- package/dist/components/ui-smart-context-menu.js +1 -1
- package/dist/components/ui-smart-stepper.js +1 -1
- package/dist/components/ui-snackbar.js +1 -1
- package/dist/components/ui-speed-dial.js +1 -1
- package/dist/components/ui-speedometer.js +1 -1
- package/dist/components/ui-splitter.js +1 -1
- package/dist/components/ui-step.js +1 -1
- package/dist/components/ui-stepper.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-timeline.js +1 -1
- package/dist/components/ui-timer.js +1 -1
- package/dist/components/ui-toolbar.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-transfer-list.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/components/ui-workspace-manager.js +1 -1
- package/dist/esm/category-section.entry.js +2 -2
- package/dist/esm/dom-DFBTWhGw.js +262 -0
- package/dist/esm/exploration-project-tailwind.js +3 -3
- package/dist/esm/{index-DUsoYu9r.js → index-Dqu2zaH1.js} +1 -1
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/library-card.entry.js +2 -2
- package/dist/esm/lm-container_2.entry.js +2 -2
- package/dist/esm/lm-panel_3.entry.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-step.entry.js +2 -2
- package/dist/esm/nav-bar.entry.js +4 -4
- package/dist/esm/{security-D2WzX6vR.js → security-Dyu3Nplq.js} +88 -154
- package/dist/esm/smart-step.entry.js +3 -3
- package/dist/esm/timeline-item.entry.js +2 -2
- package/dist/esm/{ui-accordion_10.entry.js → ui-accordion_11.entry.js} +730 -62
- package/dist/esm/ui-advanced-data-table.entry.js +2 -2
- package/dist/esm/ui-anchor.entry.js +2 -2
- package/dist/esm/ui-animate-on-scroll.entry.js +3 -3
- package/dist/esm/ui-aside-panel.entry.js +11 -12
- package/dist/esm/ui-avatar-group_5.entry.js +1688 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +3 -3
- package/dist/esm/ui-breadcrumb.entry.js +1 -1
- package/dist/esm/ui-callout-banner.entry.js +3 -3
- package/dist/esm/ui-card.entry.js +28 -5
- package/dist/esm/ui-carousel.entry.js +1 -1
- package/dist/esm/ui-checkbox.entry.js +5 -5
- package/dist/esm/ui-code-editor.entry.js +3 -3
- package/dist/esm/ui-code-preview.entry.js +2 -2
- package/dist/esm/ui-color-picker.entry.js +256 -22
- package/dist/esm/ui-command-palette.entry.js +1 -1
- package/dist/esm/ui-dialog-box.entry.js +86 -12
- package/dist/esm/ui-dialog-content.entry.js +1 -1
- package/dist/esm/ui-dialog-footer_2.entry.js +1 -1
- package/dist/esm/ui-divider.entry.js +1 -1
- package/dist/esm/ui-dock-host.entry.js +4 -4
- package/dist/esm/ui-dock.entry.js +2 -2
- package/dist/esm/ui-drag-drop.entry.js +2 -2
- package/dist/esm/ui-dropdown_2.entry.js +104 -34
- package/dist/esm/ui-empty-state.entry.js +2 -2
- package/dist/esm/ui-fab-item.entry.js +2 -2
- package/dist/esm/ui-fab.entry.js +4 -4
- package/dist/esm/ui-file-upload.entry.js +143 -44
- package/dist/esm/ui-horizontal-nav.entry.js +2 -2
- package/dist/esm/ui-knob.entry.js +1 -1
- package/dist/esm/ui-label.entry.js +471 -0
- package/dist/esm/ui-library.entry.js +2 -2
- package/dist/esm/ui-list-group_2.entry.js +351 -58
- package/dist/esm/ui-list.entry.js +76 -42
- package/dist/esm/ui-masonry.entry.js +1 -1
- package/dist/esm/ui-meter-group.entry.js +5 -4
- package/dist/esm/ui-navigation-item.entry.js +5 -5
- package/dist/esm/ui-number-input.entry.js +7 -3
- package/dist/esm/ui-otp-input.entry.js +5 -5
- package/dist/esm/ui-pagination_3.entry.js +235 -504
- package/dist/esm/ui-panel.entry.js +1 -1
- package/dist/esm/ui-pattern-input.entry.js +46 -11
- package/dist/esm/ui-progress.entry.js +164 -23
- package/dist/esm/ui-range-slider.entry.js +2 -2
- package/dist/esm/ui-resizable-panel.entry.js +2 -2
- package/dist/esm/ui-scroll-top.entry.js +1 -1
- package/dist/esm/ui-smart-context-menu.entry.js +1 -1
- package/dist/esm/ui-smart-stepper.entry.js +2 -2
- package/dist/esm/ui-snackbar.entry.js +2 -2
- package/dist/esm/ui-speed-dial.entry.js +1 -1
- package/dist/esm/ui-speedometer.entry.js +28 -17
- package/dist/esm/ui-splitter.entry.js +1 -1
- package/dist/esm/ui-step.entry.js +2 -2
- package/dist/esm/ui-stepper.entry.js +2 -2
- package/dist/esm/ui-switch.entry.js +14 -13
- package/dist/esm/ui-tabs.entry.js +3 -3
- package/dist/esm/ui-tag.entry.js +58 -13
- package/dist/esm/ui-timeline.entry.js +11 -3
- package/dist/esm/ui-timer.entry.js +2 -2
- package/dist/esm/ui-toolbar.entry.js +2 -2
- package/dist/esm/ui-tooltip.entry.js +5 -5
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-transfer-list.entry.js +7 -7
- package/dist/esm/ui-tree.entry.js +30 -15
- package/dist/esm/ui-workspace-manager.entry.js +3 -3
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -1
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
- package/dist/exploration-project-tailwind/{p-f5719913.entry.js → p-024a299a.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-0a71896a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-35296877.entry.js → p-0cdeb8d8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a42fdc33.entry.js → p-139cefbc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c7e87fbb.entry.js → p-198c83e5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-236f47b1.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-81961fb1.entry.js → p-25530d0d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-41cd6bf0.entry.js → p-298f2057.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85e36111.entry.js → p-2b5a8e3e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-2b6aa7bc.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-7515b1e3.entry.js → p-2cfba753.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c90722ec.entry.js → p-2fe22958.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85bf89fd.entry.js → p-3012e780.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-321c3f46.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-3d3d48fd.entry.js → p-3ab43638.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-3ad7e47e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3b1ca826.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3ee8ddae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-4f6bba75.entry.js → p-3efb44c8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-36861546.entry.js → p-42e3bc28.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4360331a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-2f961934.entry.js → p-443de32b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-898dd0fa.entry.js → p-44d15451.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e5322e59.entry.js → p-46071679.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a3f465d9.entry.js → p-497d6182.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4ad8c55c.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-73d29a4a.entry.js → p-4c46ac0b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-f0830120.entry.js → p-5042ddaa.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-60190e0e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-60530874.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-200241f8.entry.js → p-6108565d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77124686.entry.js → p-62889cfe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-9d0c8760.entry.js → p-66f71613.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-2d273118.entry.js → p-67c440b2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d419eaf0.entry.js → p-6f09503f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-721bdbc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-747b02ea.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c6fd72e1.entry.js → p-754cb046.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ffb1754a.entry.js → p-7ed3bba2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77cc333a.entry.js → p-864cebb7.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4d73c143.entry.js → p-96ee3196.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c5ddc817.entry.js → p-97086868.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-287dbf09.entry.js → p-9c5ced88.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9d3044d4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9e079be6.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-0b004861.entry.js → p-9e4c45f5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9eee7394.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-DFBTWhGw.js +1 -0
- package/dist/exploration-project-tailwind/p-Dqu2zaH1.js +2 -0
- package/dist/exploration-project-tailwind/p-Dyu3Nplq.js +2 -0
- package/dist/exploration-project-tailwind/p-a7bdedc2.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c87aeab6.entry.js → p-a8ec29de.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c174a372.entry.js → p-ae617f62.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-62352ef2.entry.js → p-aef76052.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-b5f043fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-b637b91b.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8d951aef.entry.js → p-bc49a088.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4de419d5.entry.js → p-bd9a631f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8ba0c95.entry.js → p-bf4b6767.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c0fa400e.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-5e3e80ae.entry.js → p-c4f3d990.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c68ddb2f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c79574c4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c840098d.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-a1ad32a2.entry.js → p-c8663cbe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7f91d949.entry.js → p-cb6e38a6.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-cb9f2df1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cfe8b696.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d00e13ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c4ba7e52.entry.js → p-d01ed934.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-aa85ff78.entry.js → p-d4e57d94.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ccb5c737.entry.js → p-d5bd3a3f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-45482d86.entry.js → p-d987cebe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-d9ae77c0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e9bae5c7.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f516fabc.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f68e2794.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d30e24bd.entry.js → p-fa034f69.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +10 -2
- package/dist/types/components/aside-panel/aside-panel.d.ts +0 -3
- package/dist/types/components/avatar/avatar.d.ts +3 -0
- package/dist/types/components/avatar/types.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +9 -0
- package/dist/types/components/card/card.d.ts +4 -0
- package/dist/types/components/color-picker/color-picker.d.ts +35 -2
- package/dist/types/components/dialog-box/dialog-box.d.ts +10 -0
- package/dist/types/components/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/file-upload/file-upload.d.ts +23 -6
- package/dist/types/components/label/label.d.ts +290 -0
- package/dist/types/components/label/types.d.ts +39 -0
- package/dist/types/components/list/list.d.ts +2 -1
- package/dist/types/components/list-group/list-group.d.ts +1 -0
- package/dist/types/components/list-item/list-item.d.ts +46 -17
- package/dist/types/components/loader/loader.d.ts +145 -0
- package/dist/types/components/pattern-input/pattern-input.d.ts +6 -0
- package/dist/types/components/popover/popover.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +41 -2
- package/dist/types/components/range-slider/range-slider.d.ts +2 -2
- package/dist/types/components/rating/rating.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +1 -1
- package/dist/types/components/speedometer/speedometer.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +4 -0
- package/dist/types/components/tree/tree.d.ts +1 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +1 -1
- package/dist/types/components.d.ts +1214 -1381
- package/dist/types/types/common.d.ts +2 -2
- package/dist/types/types/common.type.d.ts +3 -1
- package/dist/types/utils/dom.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cjs/dom-oP1E4Rd3.js +0 -267
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +0 -330
- package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
- package/dist/cjs/ui-image-button.cjs.entry.js +0 -67
- package/dist/cjs/ui-input-pair.cjs.entry.js +0 -44
- package/dist/cjs/ui-popover.cjs.entry.js +0 -517
- package/dist/cjs/ui-radio-group.cjs.entry.js +0 -205
- package/dist/cjs/ui-radio.cjs.entry.js +0 -206
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -223
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -1001
- package/dist/collection/components/color-controller/color-controller.css +0 -108
- package/dist/collection/components/color-controller/color-controller.js +0 -224
- package/dist/collection/components/image-button/image-button.css +0 -154
- package/dist/collection/components/image-button/image-button.js +0 -310
- package/dist/collection/components/image-button/types.js +0 -1
- package/dist/collection/components/input-pair/input-pair.css +0 -72
- package/dist/collection/components/input-pair/input-pair.js +0 -309
- package/dist/collection/components/radio-group/radio-group.css +0 -202
- package/dist/collection/components/radio-group/radio-group.js +0 -903
- package/dist/collection/components/radio-group/types.js +0 -1
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +0 -357
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
- package/dist/collection/components/smart-location-dropdown/types.js +0 -1
- package/dist/components/ui-checkbox-group.d.ts +0 -11
- package/dist/components/ui-checkbox-group.js +0 -1
- package/dist/components/ui-color-controller.d.ts +0 -11
- package/dist/components/ui-color-controller.js +0 -1
- package/dist/components/ui-image-button.d.ts +0 -11
- package/dist/components/ui-image-button.js +0 -1
- package/dist/components/ui-input-pair.js +0 -1
- package/dist/components/ui-radio-group.js +0 -1
- package/dist/components/ui-smart-location-dropdown.d.ts +0 -11
- package/dist/components/ui-smart-location-dropdown.js +0 -1
- package/dist/esm/dom-BMFah5q3.js +0 -262
- package/dist/esm/ui-avatar-group_3.entry.js +0 -630
- package/dist/esm/ui-checkbox-group.entry.js +0 -328
- package/dist/esm/ui-color-controller.entry.js +0 -148
- package/dist/esm/ui-image-button.entry.js +0 -65
- package/dist/esm/ui-input-pair.entry.js +0 -42
- package/dist/esm/ui-popover.entry.js +0 -515
- package/dist/esm/ui-radio-group.entry.js +0 -203
- package/dist/esm/ui-radio.entry.js +0 -204
- package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-64e3a484.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-875be805.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fa70359.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +0 -1
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +0 -2
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +0 -1
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -87
- package/dist/types/components/checkbox-group/types.d.ts +0 -8
- package/dist/types/components/color-controller/color-controller.d.ts +0 -24
- package/dist/types/components/image-button/image-button.d.ts +0 -31
- package/dist/types/components/image-button/types.d.ts +0 -1
- package/dist/types/components/input-pair/input-pair.d.ts +0 -28
- package/dist/types/components/radio-group/radio-group.d.ts +0 -74
- package/dist/types/components/radio-group/types.d.ts +0 -2
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +0 -119
- package/dist/types/components/smart-location-dropdown/types.d.ts +0 -37
- /package/dist/collection/components/{checkbox-group → label}/types.js +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
.sr-only {
|
|
2
3
|
position: absolute !important;
|
|
3
4
|
width: 1px !important;
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
--switch-danger-rgb: 239, 68, 104;
|
|
38
39
|
--switch-warning-rgb: 245, 158, 11;
|
|
39
40
|
--switch-info-rgb: 59, 130, 246;
|
|
40
|
-
--switch-track-bg:
|
|
41
|
+
--switch-track-bg: #b8c4d0;
|
|
41
42
|
--switch-thumb-bg: var(--bg-primary, #ffffff);
|
|
42
43
|
--switch-text: var(--label-color, var(--text-primary, #1e293b));
|
|
43
44
|
--switch-text-muted: var(--label-subtitle-color, var(--text-secondary, #64748b));
|
|
@@ -53,8 +54,18 @@
|
|
|
53
54
|
:host-context([data-theme=pink]),
|
|
54
55
|
:host-context([data-theme=blue]),
|
|
55
56
|
:host-context([data-theme=green]) {
|
|
56
|
-
--switch-track-bg: var(--bg-
|
|
57
|
-
--switch-thumb-bg: var(--
|
|
57
|
+
--switch-track-bg: var(--bg-tertiary, #334155);
|
|
58
|
+
--switch-thumb-bg: var(--text-emphasized, #ffffff);
|
|
59
|
+
--switch-text: var(--label-color, #f1f5f9);
|
|
60
|
+
--switch-text-muted: var(--label-subtitle-color, #cbd5e1);
|
|
61
|
+
}
|
|
62
|
+
:host-context(.dark) .switch-track,
|
|
63
|
+
:host-context([data-theme=dark]) .switch-track,
|
|
64
|
+
:host-context([data-theme=violet]) .switch-track,
|
|
65
|
+
:host-context([data-theme=pink]) .switch-track,
|
|
66
|
+
:host-context([data-theme=blue]) .switch-track,
|
|
67
|
+
:host-context([data-theme=green]) .switch-track {
|
|
68
|
+
border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.12));
|
|
58
69
|
}
|
|
59
70
|
|
|
60
71
|
.switch-host {
|
|
@@ -274,7 +285,7 @@
|
|
|
274
285
|
border-radius: 9999px;
|
|
275
286
|
transition: background-color var(--switch-duration) var(--switch-easing), box-shadow 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
276
287
|
overflow: hidden;
|
|
277
|
-
border: 1px solid rgba(0, 0, 0, 0.
|
|
288
|
+
border: 1px solid rgba(0, 0, 0, 0.14);
|
|
278
289
|
}
|
|
279
290
|
.switch-container:hover .switch-track {
|
|
280
291
|
filter: brightness(1.05);
|
|
@@ -345,19 +356,19 @@
|
|
|
345
356
|
}
|
|
346
357
|
.switch-thumb {
|
|
347
358
|
position: absolute;
|
|
348
|
-
background-color: var(--bg-primary, #ffffff);
|
|
359
|
+
background-color: var(--switch-thumb-bg, var(--bg-primary, #ffffff));
|
|
349
360
|
border-radius: 50%;
|
|
350
|
-
box-shadow:
|
|
361
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.12);
|
|
351
362
|
transition: transform var(--switch-duration) var(--switch-easing), background-color var(--switch-duration) var(--switch-easing), box-shadow var(--switch-duration) var(--switch-easing);
|
|
352
363
|
z-index: 2;
|
|
353
364
|
display: flex;
|
|
354
365
|
align-items: center;
|
|
355
366
|
justify-content: center;
|
|
356
|
-
border: 0.5px solid rgba(0, 0, 0, 0.
|
|
367
|
+
border: 0.5px solid rgba(0, 0, 0, 0.1);
|
|
357
368
|
}
|
|
358
369
|
.switch-thumb:hover {
|
|
359
370
|
transform: scale(1.05) translateZ(0);
|
|
360
|
-
box-shadow: 0 4px
|
|
371
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.12);
|
|
361
372
|
}
|
|
362
373
|
|
|
363
374
|
.switch-icon {
|
|
@@ -909,6 +920,7 @@
|
|
|
909
920
|
text-transform: uppercase;
|
|
910
921
|
letter-spacing: 0.08em;
|
|
911
922
|
opacity: 0.65;
|
|
923
|
+
color: var(--switch-text);
|
|
912
924
|
display: flex;
|
|
913
925
|
flex-direction: column;
|
|
914
926
|
line-height: 1.2;
|
|
@@ -1096,4 +1108,351 @@
|
|
|
1096
1108
|
transform: translateY(0);
|
|
1097
1109
|
opacity: 1;
|
|
1098
1110
|
}
|
|
1111
|
+
}
|
|
1112
|
+
.switch-flat .switch-track {
|
|
1113
|
+
background: transparent !important;
|
|
1114
|
+
border: 2px solid var(--switch-track-bg) !important;
|
|
1115
|
+
box-shadow: none !important;
|
|
1116
|
+
}
|
|
1117
|
+
.switch-flat .switch-thumb {
|
|
1118
|
+
background: var(--switch-track-bg) !important;
|
|
1119
|
+
box-shadow: none !important;
|
|
1120
|
+
border: none !important;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
:host(.switch-checked.switch-flat) .switch-track {
|
|
1124
|
+
border-color: var(--switch-active-bg) !important;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
:host(.switch-checked.switch-flat) .switch-thumb {
|
|
1128
|
+
background: var(--switch-active-bg) !important;
|
|
1129
|
+
box-shadow: 0 2px 8px rgba(var(--switch-active-bg-rgb, 37, 99, 235), 0.35) !important;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.switch-dot .switch-wrapper {
|
|
1133
|
+
padding-top: 14px;
|
|
1134
|
+
}
|
|
1135
|
+
.switch-dot .switch-wrapper::before {
|
|
1136
|
+
content: "";
|
|
1137
|
+
position: absolute;
|
|
1138
|
+
top: 2px;
|
|
1139
|
+
left: 50%;
|
|
1140
|
+
transform: translateX(-50%);
|
|
1141
|
+
width: 7px;
|
|
1142
|
+
height: 7px;
|
|
1143
|
+
border-radius: 50%;
|
|
1144
|
+
background: var(--switch-track-bg);
|
|
1145
|
+
transition: background var(--switch-duration) var(--switch-easing), transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
:host(.switch-checked.switch-dot) .switch-wrapper::before {
|
|
1149
|
+
background: var(--switch-active-bg);
|
|
1150
|
+
box-shadow: 0 0 7px rgba(var(--switch-active-bg-rgb, 37, 99, 235), 0.55);
|
|
1151
|
+
transform: translateX(-50%) scale(1.2);
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
.switch-metallic .switch-track {
|
|
1155
|
+
background: linear-gradient(145deg, #2d2d2d, #484848) !important;
|
|
1156
|
+
border: 1px solid rgba(0, 0, 0, 0.5) !important;
|
|
1157
|
+
box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.55), inset -2px -2px 5px rgba(255, 255, 255, 0.06) !important;
|
|
1158
|
+
}
|
|
1159
|
+
.switch-metallic .switch-thumb {
|
|
1160
|
+
background: radial-gradient(circle at 35% 30%, #f5f5f5, #b0b0b0 50%, #707070) !important;
|
|
1161
|
+
box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.45), -1px -1px 4px rgba(255, 255, 255, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
|
|
1162
|
+
border: 1px solid rgba(80, 80, 80, 0.4) !important;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
:host(.switch-checked.switch-metallic) .switch-track {
|
|
1166
|
+
background: linear-gradient(145deg, #0f3020, #1a5535) !important;
|
|
1167
|
+
box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.55), 0 0 16px rgba(var(--switch-success-rgb, 16, 185, 129), 0.3) !important;
|
|
1168
|
+
border-color: rgba(16, 185, 129, 0.4) !important;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
.switch-slider .switch-track {
|
|
1172
|
+
background: transparent !important;
|
|
1173
|
+
border: none !important;
|
|
1174
|
+
box-shadow: none !important;
|
|
1175
|
+
overflow: visible !important;
|
|
1176
|
+
}
|
|
1177
|
+
.switch-slider .switch-track::before {
|
|
1178
|
+
content: "";
|
|
1179
|
+
position: absolute;
|
|
1180
|
+
left: 0;
|
|
1181
|
+
right: 0;
|
|
1182
|
+
top: 50%;
|
|
1183
|
+
height: 4px;
|
|
1184
|
+
transform: translateY(-50%);
|
|
1185
|
+
background: var(--switch-track-bg);
|
|
1186
|
+
border-radius: 2px;
|
|
1187
|
+
z-index: 0;
|
|
1188
|
+
transition: background var(--switch-duration) var(--switch-easing);
|
|
1189
|
+
}
|
|
1190
|
+
.switch-slider .switch-thumb {
|
|
1191
|
+
z-index: 3;
|
|
1192
|
+
background: var(--switch-thumb-bg) !important;
|
|
1193
|
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18), 0 1px 4px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
|
|
1194
|
+
border: 1.5px solid rgba(0, 0, 0, 0.07) !important;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
:host(.switch-checked.switch-slider) .switch-track::before {
|
|
1198
|
+
background: var(--switch-active-bg);
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
:host(.switch-checked.switch-slider) .switch-thumb {
|
|
1202
|
+
background: var(--switch-active-bg) !important;
|
|
1203
|
+
box-shadow: 0 3px 10px rgba(var(--switch-active-bg-rgb, 37, 99, 235), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
|
|
1204
|
+
border-color: rgba(var(--switch-active-bg-rgb, 37, 99, 235), 0.2) !important;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
.switch-pill-flat .switch-track {
|
|
1208
|
+
background: var(--switch-track-bg) !important;
|
|
1209
|
+
border: none !important;
|
|
1210
|
+
box-shadow: none !important;
|
|
1211
|
+
border-radius: 9999px !important;
|
|
1212
|
+
}
|
|
1213
|
+
.switch-pill-flat .switch-thumb {
|
|
1214
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
|
|
1215
|
+
border: none !important;
|
|
1216
|
+
border-radius: 9999px !important;
|
|
1217
|
+
background: #ffffff !important;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
:host(.switch-checked.switch-pill-flat) .switch-track {
|
|
1221
|
+
background: var(--switch-active-bg) !important;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
:host(.switch-checked.switch-pill-flat) .switch-thumb {
|
|
1225
|
+
box-shadow: 0 1px 4px rgba(var(--switch-active-bg-rgb, 37, 99, 235), 0.25) !important;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
.switch-soft .switch-track {
|
|
1229
|
+
background: rgba(var(--switch-active-bg-rgb, 148, 163, 184), 0.12) !important;
|
|
1230
|
+
border: 1.5px solid rgba(var(--switch-active-bg-rgb, 148, 163, 184), 0.28) !important;
|
|
1231
|
+
box-shadow: none !important;
|
|
1232
|
+
}
|
|
1233
|
+
.switch-soft .switch-thumb {
|
|
1234
|
+
background: rgba(var(--switch-active-bg-rgb, 148, 163, 184), 0.65) !important;
|
|
1235
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
|
|
1236
|
+
border: none !important;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
:host(.switch-checked.switch-soft) .switch-track {
|
|
1240
|
+
background: rgba(var(--switch-active-bg-rgb, 37, 99, 235), 0.18) !important;
|
|
1241
|
+
border-color: var(--switch-active-bg) !important;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
:host(.switch-checked.switch-soft) .switch-thumb {
|
|
1245
|
+
background: var(--switch-active-bg) !important;
|
|
1246
|
+
box-shadow: 0 2px 8px rgba(var(--switch-active-bg-rgb, 37, 99, 235), 0.35) !important;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.switch-bicolor .switch-track {
|
|
1250
|
+
background: linear-gradient(to right, #22c55e 50%, #ef4444 50%) !important;
|
|
1251
|
+
border: none !important;
|
|
1252
|
+
box-shadow: none !important;
|
|
1253
|
+
overflow: hidden;
|
|
1254
|
+
}
|
|
1255
|
+
.switch-bicolor .switch-track::before {
|
|
1256
|
+
content: "✓";
|
|
1257
|
+
position: absolute;
|
|
1258
|
+
left: 6px;
|
|
1259
|
+
top: 50%;
|
|
1260
|
+
transform: translateY(-50%);
|
|
1261
|
+
color: rgba(255, 255, 255, 0.95);
|
|
1262
|
+
font-size: calc(var(--switch-thumb-size, 20px) * 0.55);
|
|
1263
|
+
font-weight: 900;
|
|
1264
|
+
z-index: 1;
|
|
1265
|
+
pointer-events: none;
|
|
1266
|
+
line-height: 1;
|
|
1267
|
+
}
|
|
1268
|
+
.switch-bicolor .switch-track::after {
|
|
1269
|
+
content: "✕";
|
|
1270
|
+
position: absolute;
|
|
1271
|
+
right: 6px;
|
|
1272
|
+
top: 50%;
|
|
1273
|
+
transform: translateY(-50%);
|
|
1274
|
+
color: rgba(255, 255, 255, 0.95);
|
|
1275
|
+
font-size: calc(var(--switch-thumb-size, 20px) * 0.55);
|
|
1276
|
+
font-weight: 900;
|
|
1277
|
+
z-index: 1;
|
|
1278
|
+
pointer-events: none;
|
|
1279
|
+
line-height: 1;
|
|
1280
|
+
}
|
|
1281
|
+
.switch-bicolor .switch-thumb {
|
|
1282
|
+
z-index: 2;
|
|
1283
|
+
background: #ffffff !important;
|
|
1284
|
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.15) !important;
|
|
1285
|
+
border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
:host-context(.dark) .switch-bicolor .switch-track,
|
|
1289
|
+
[data-theme=dark] .switch-bicolor .switch-track {
|
|
1290
|
+
background: linear-gradient(to right, #16a34a 50%, #dc2626 50%) !important;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
.switch-power .switch-track {
|
|
1294
|
+
height: var(--switch-track-width) !important;
|
|
1295
|
+
border-radius: 50% !important;
|
|
1296
|
+
background: var(--bg-primary, #ffffff) !important;
|
|
1297
|
+
border: 5px solid #94a3b8 !important;
|
|
1298
|
+
box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.1), inset -2px -2px 6px rgba(255, 255, 255, 0.85), 0 4px 16px rgba(0, 0, 0, 0.1) !important;
|
|
1299
|
+
justify-content: center;
|
|
1300
|
+
align-items: center;
|
|
1301
|
+
}
|
|
1302
|
+
.switch-power .switch-track::before {
|
|
1303
|
+
content: "OFF";
|
|
1304
|
+
color: #94a3b8;
|
|
1305
|
+
font-size: calc(var(--switch-track-width, 44px) * 0.22);
|
|
1306
|
+
font-weight: 900;
|
|
1307
|
+
letter-spacing: 0.05em;
|
|
1308
|
+
pointer-events: none;
|
|
1309
|
+
z-index: 2;
|
|
1310
|
+
transition: color 0.3s ease;
|
|
1311
|
+
}
|
|
1312
|
+
.switch-power .switch-thumb {
|
|
1313
|
+
display: none !important;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
:host(.switch-checked.switch-power) .switch-track {
|
|
1317
|
+
border-color: var(--switch-active-bg) !important;
|
|
1318
|
+
background: var(--bg-primary, #ffffff) !important;
|
|
1319
|
+
box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.05), inset -1px -1px 4px rgba(255, 255, 255, 0.9), 0 0 24px rgba(var(--switch-active-bg-rgb, 37, 99, 235), 0.35) !important;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
:host(.switch-checked.switch-power) .switch-track::before {
|
|
1323
|
+
content: "ON";
|
|
1324
|
+
color: var(--switch-active-bg);
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
:host-context(.dark) .switch-power .switch-track,
|
|
1328
|
+
[data-theme=dark] .switch-power .switch-track {
|
|
1329
|
+
background: #1e293b !important;
|
|
1330
|
+
box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.5), inset -2px -2px 6px rgba(255, 255, 255, 0.05), 0 4px 16px rgba(0, 0, 0, 0.3) !important;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
:host(.switch-status) {
|
|
1334
|
+
--switch-track-width: 104px;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
.switch-status .switch-track {
|
|
1338
|
+
background: linear-gradient(to right, #22c55e 52%, var(--bg-secondary, #f1f5f9) 48%) !important;
|
|
1339
|
+
border: 2px solid #22c55e !important;
|
|
1340
|
+
box-shadow: none !important;
|
|
1341
|
+
overflow: hidden;
|
|
1342
|
+
}
|
|
1343
|
+
.switch-status .switch-track::before {
|
|
1344
|
+
content: "✓";
|
|
1345
|
+
position: absolute;
|
|
1346
|
+
right: 10px;
|
|
1347
|
+
top: 50%;
|
|
1348
|
+
transform: translateY(-50%);
|
|
1349
|
+
color: #22c55e;
|
|
1350
|
+
font-size: calc(var(--switch-thumb-size, 20px) * 0.7);
|
|
1351
|
+
font-weight: 900;
|
|
1352
|
+
z-index: 1;
|
|
1353
|
+
pointer-events: none;
|
|
1354
|
+
line-height: 1;
|
|
1355
|
+
transition: color 0.3s ease;
|
|
1356
|
+
}
|
|
1357
|
+
.switch-status .switch-track-text {
|
|
1358
|
+
position: absolute !important;
|
|
1359
|
+
top: 50% !important;
|
|
1360
|
+
left: 8px !important;
|
|
1361
|
+
right: auto !important;
|
|
1362
|
+
transform: translateY(-50%) !important;
|
|
1363
|
+
width: auto !important;
|
|
1364
|
+
color: #ffffff !important;
|
|
1365
|
+
font-size: 10px !important;
|
|
1366
|
+
font-weight: 900 !important;
|
|
1367
|
+
letter-spacing: 0.05em !important;
|
|
1368
|
+
opacity: 1 !important;
|
|
1369
|
+
white-space: nowrap;
|
|
1370
|
+
transition: none !important;
|
|
1371
|
+
}
|
|
1372
|
+
.switch-status .switch-thumb {
|
|
1373
|
+
display: none !important;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
:host(.switch-checked.switch-status) .switch-track {
|
|
1377
|
+
background: linear-gradient(to right, var(--bg-secondary, #f1f5f9) 48%, #ef4444 52%) !important;
|
|
1378
|
+
border-color: #ef4444 !important;
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
:host(.switch-checked.switch-status) .switch-track::before {
|
|
1382
|
+
content: "✕";
|
|
1383
|
+
right: auto;
|
|
1384
|
+
left: 10px;
|
|
1385
|
+
color: #ef4444;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
:host(.switch-checked.switch-status) .switch-track-text {
|
|
1389
|
+
left: auto !important;
|
|
1390
|
+
right: 8px !important;
|
|
1391
|
+
color: #ffffff !important;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
:host(.switch-labeled) {
|
|
1395
|
+
--switch-track-width: 120px;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
.switch-labeled .switch-track {
|
|
1399
|
+
background: #cbd5e1 !important;
|
|
1400
|
+
border: none !important;
|
|
1401
|
+
box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.14), inset -1px -1px 4px rgba(255, 255, 255, 0.85) !important;
|
|
1402
|
+
}
|
|
1403
|
+
.switch-labeled .switch-track-text {
|
|
1404
|
+
color: #475569 !important;
|
|
1405
|
+
font-size: 11px !important;
|
|
1406
|
+
font-weight: 800 !important;
|
|
1407
|
+
letter-spacing: 0.04em !important;
|
|
1408
|
+
text-transform: uppercase !important;
|
|
1409
|
+
opacity: 1 !important;
|
|
1410
|
+
width: auto !important;
|
|
1411
|
+
white-space: nowrap;
|
|
1412
|
+
}
|
|
1413
|
+
.switch-labeled .switch-thumb {
|
|
1414
|
+
position: relative;
|
|
1415
|
+
background: #ffffff !important;
|
|
1416
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
|
|
1417
|
+
border: none !important;
|
|
1418
|
+
}
|
|
1419
|
+
.switch-labeled .switch-thumb::after {
|
|
1420
|
+
content: "⊘";
|
|
1421
|
+
position: absolute;
|
|
1422
|
+
top: 50%;
|
|
1423
|
+
left: 50%;
|
|
1424
|
+
transform: translate(-50%, -50%);
|
|
1425
|
+
display: block;
|
|
1426
|
+
color: #94a3b8;
|
|
1427
|
+
font-size: calc(var(--switch-thumb-size, 20px) * 0.52);
|
|
1428
|
+
font-weight: 400;
|
|
1429
|
+
pointer-events: none;
|
|
1430
|
+
line-height: 1;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
:host(.switch-checked.switch-labeled) .switch-track {
|
|
1434
|
+
background: var(--switch-active-bg) !important;
|
|
1435
|
+
box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.1), inset -1px -1px 3px rgba(255, 255, 255, 0.12), 0 0 12px rgba(var(--switch-active-bg-rgb, 37, 99, 235), 0.2) !important;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
:host(.switch-checked.switch-labeled) .switch-track-text {
|
|
1439
|
+
color: #ffffff !important;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
:host(.switch-checked.switch-labeled) .switch-thumb::after {
|
|
1443
|
+
content: "✓";
|
|
1444
|
+
color: var(--switch-active-bg);
|
|
1445
|
+
font-weight: 900;
|
|
1446
|
+
font-size: calc(var(--switch-thumb-size, 20px) * 0.6);
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
:host-context(.dark) .switch-labeled .switch-track,
|
|
1450
|
+
[data-theme=dark] .switch-labeled .switch-track {
|
|
1451
|
+
background: #334155 !important;
|
|
1452
|
+
box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.4), inset -1px -1px 3px rgba(255, 255, 255, 0.05) !important;
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
:host-context(.dark) .switch-labeled .switch-track-text,
|
|
1456
|
+
[data-theme=dark] .switch-labeled .switch-track-text {
|
|
1457
|
+
color: #94a3b8 !important;
|
|
1099
1458
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { normalizeComponentSize } from "../../utils/component-size";
|
|
2
3
|
export class UISwitch {
|
|
3
4
|
el;
|
|
4
5
|
/** Checked state */
|
|
@@ -306,8 +307,8 @@ export class UISwitch {
|
|
|
306
307
|
return (h("div", { class: "switch-confirm-overlay", onClick: this.handleCancel }, h("div", { class: "switch-confirm-dialog", onClick: e => e.stopPropagation() }, h("div", { class: "confirm-message" }, this.confirmationMessage), h("div", { class: "confirm-actions" }, h("ui-button", { variant: "ghost", size: "sm", onClick: this.handleCancel, label: "Cancel" }), h("ui-button", { variant: "primary", size: "sm", onClick: this.handleConfirm, label: "Confirm" })))));
|
|
307
308
|
}
|
|
308
309
|
render() {
|
|
309
|
-
const labelElement = this.label && (h("span", { key: '
|
|
310
|
-
const sideDescription = this.description && this.descriptionPosition === 'side' && (h("span", { key: '
|
|
310
|
+
const labelElement = this.label && (h("span", { key: 'f905beb970bc012fe3dd7f4bd7acf493cf3fb3f6', class: "switch-label" }, this.label, this.required && h("span", { key: '81a78c65abe3d6479c7d41328bca0e88a8735161', class: "switch-required" }, "*"), this.description && this.descriptionPosition === 'bottom' && (h("span", { key: '365373b18336c14fbfa70873b71141fe9e1c96e2', class: "switch-description-bottom" }, this.description))));
|
|
311
|
+
const sideDescription = this.description && this.descriptionPosition === 'side' && (h("span", { key: '52abfd268f4fd11c36d9f5e9936db895dd5408f1', class: "switch-description-side" }, this.description));
|
|
311
312
|
const trackStyle = {};
|
|
312
313
|
if (this.gradient && this.gradientColors) {
|
|
313
314
|
try {
|
|
@@ -322,7 +323,7 @@ export class UISwitch {
|
|
|
322
323
|
if (this.width) {
|
|
323
324
|
hostStyle['--switch-track-width'] = this.width;
|
|
324
325
|
}
|
|
325
|
-
return (h(Host, { key: '
|
|
326
|
+
return (h(Host, { key: 'b7ba49c8d24a3a2cfc13e1ce958b5457b88d784f', style: hostStyle, class: {
|
|
326
327
|
'switch-host': true,
|
|
327
328
|
'switch-disabled': this.disabled || this.loading,
|
|
328
329
|
'switch-readonly': this.readonly,
|
|
@@ -339,9 +340,9 @@ export class UISwitch {
|
|
|
339
340
|
[`switch-elevation-${this.elevation}`]: this.elevation > 0,
|
|
340
341
|
[`switch-color-${this.color}`]: true,
|
|
341
342
|
[`switch-${this.variant}`]: true,
|
|
342
|
-
}, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: '
|
|
343
|
+
}, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: '17e3523dd99ee0267d2b6f76e23312c6fa0f0101', part: "container", class: {
|
|
343
344
|
'switch-container-outer': true,
|
|
344
|
-
[`switch-${this.size}`]: true,
|
|
345
|
+
[`switch-${normalizeComponentSize(this.size, 'md')}`]: true,
|
|
345
346
|
[`switch-color-${this.color}`]: true,
|
|
346
347
|
[`switch-physics-${this.physics}`]: true,
|
|
347
348
|
[`switch-variant-${this.variant}`]: true,
|
|
@@ -358,28 +359,28 @@ export class UISwitch {
|
|
|
358
359
|
'switch-shaking': this.isShaking,
|
|
359
360
|
'switch-animate': this.enableAnimation,
|
|
360
361
|
'switch-indeterminate': this.indeterminate,
|
|
361
|
-
} }, h("label", { key: '
|
|
362
|
+
} }, h("label", { key: '0eaca201f9bfb9441af8c66ad61342debf248910', part: "label", class: {
|
|
362
363
|
'switch-container': true,
|
|
363
|
-
[`switch-${this.size}`]: true,
|
|
364
|
+
[`switch-${normalizeComponentSize(this.size, 'md')}`]: true,
|
|
364
365
|
[`switch-color-${this.color}`]: true,
|
|
365
366
|
[`switch-${this.variant}`]: true,
|
|
366
367
|
[`switch-${this.shape}`]: true,
|
|
367
368
|
[`thumb-${this.thumbShape}`]: true,
|
|
368
369
|
'switch-label-left': this.labelPosition === 'left',
|
|
369
370
|
'switch-label-right': this.labelPosition === 'right' || !this.labelPosition,
|
|
370
|
-
} }, this.labelPosition === 'left' && labelElement, h("div", { key: '
|
|
371
|
+
} }, this.labelPosition === 'left' && labelElement, h("div", { key: '96a10112cb18eb3fe11dfe32c266d9aa35d3d2d3', part: "wrapper", class: "switch-wrapper" }, h("input", { key: 'cd6b45812dbe942086571fd9c9d8a37a28e80d90', type: "checkbox", class: "switch-input", checked: this.checked, disabled: this.disabled || this.loading, readonly: this.readonly, name: this.name, value: this.value, required: this.required, tabindex: this.switchTabIndex, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, "aria-label": this.ariaLabel || this.label, "aria-checked": this.indeterminate ? 'mixed' : (this.checked ? 'true' : 'false'), "aria-disabled": (this.disabled || this.loading).toString(), "aria-invalid": this.invalid.toString(), ref: el => {
|
|
371
372
|
if (el && this.indeterminate)
|
|
372
373
|
el.indeterminate = true;
|
|
373
|
-
} }), h("div", { key: '
|
|
374
|
+
} }), h("div", { key: '857bbb32f9ba5f0dd4091d0876ff015a1feaebbd', part: "track", class: {
|
|
374
375
|
'switch-track': true,
|
|
375
376
|
'switch-track-checked': this.checked,
|
|
376
377
|
'switch-track-disabled': this.disabled || this.loading,
|
|
377
378
|
'switch-gradient': this.gradient,
|
|
378
|
-
}, style: trackStyle }, this.renderTrackText(), h("div", { key: '
|
|
379
|
+
}, style: trackStyle }, this.renderTrackText(), h("div", { key: '6ff1c6881314adc05e6dd21a1d559da3a7fa974b', part: "thumb", class: {
|
|
379
380
|
'switch-thumb': true,
|
|
380
381
|
'switch-thumb-checked': this.checked,
|
|
381
382
|
'switch-thumb-loading': this.loading,
|
|
382
|
-
} }, this.getIcon()), this.showRipple && h("div", { key: '
|
|
383
|
+
} }, this.getIcon()), this.showRipple && h("div", { key: '4823c08f49784985cb598c001e25dd83a7417143', class: "switch-ripple" }), this.loading && h("div", { key: '3eafccb3b4f423091ed2e8b408d7123b89e7cb58', class: "switch-loading-overlay" }))), this.labelPosition === 'right' && labelElement, sideDescription, this.renderSuccessFeedback()), this.renderHelperText(), this.renderTooltip()), this.renderConfirmDialog()));
|
|
383
384
|
}
|
|
384
385
|
static get is() { return "ui-switch"; }
|
|
385
386
|
static get encapsulation() { return "shadow"; }
|
|
@@ -527,7 +528,7 @@ export class UISwitch {
|
|
|
527
528
|
"mutable": false,
|
|
528
529
|
"complexType": {
|
|
529
530
|
"original": "StatusColor",
|
|
530
|
-
"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\"",
|
|
531
|
+
"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\"",
|
|
531
532
|
"references": {
|
|
532
533
|
"StatusColor": {
|
|
533
534
|
"location": "import",
|
|
@@ -554,7 +555,7 @@ export class UISwitch {
|
|
|
554
555
|
"mutable": false,
|
|
555
556
|
"complexType": {
|
|
556
557
|
"original": "ComponentVariant",
|
|
557
|
-
"resolved": "\"bordered\" | \"borderless\" | \"color\" | \"danger\" | \"dark\" | \"default\" | \"dots-only\" | \"elevated\" | \"error\" | \"filled\" | \"flat\" | \"ghost\" | \"glass\" | \"gradient\" | \"info\" | \"inverse\" | \"light\" | \"minimal\" | \"neutral\" | \"outlined\" | \"panel\" | \"plain\" | \"primary\" | \"quaternary\" | \"raised\" | \"secondary\" | \"segmented\" | \"soft\" | \"solid\" | \"standard\" | \"success\" | \"surface\" | \"tertiary\" | \"text\" | \"underlined\" | \"warning\"",
|
|
558
|
+
"resolved": "\"bordered\" | \"borderless\" | \"color\" | \"danger\" | \"dark\" | \"default\" | \"dots-only\" | \"elevated\" | \"error\" | \"filled\" | \"flat\" | \"ghost\" | \"glass\" | \"gradient\" | \"info\" | \"inverse\" | \"light\" | \"minimal\" | \"neutral\" | \"outlined\" | \"panel\" | \"plain\" | \"primary\" | \"quaternary\" | \"raised\" | \"secondary\" | \"segmented\" | \"soft\" | \"solid\" | \"standard\" | \"status\" | \"success\" | \"surface\" | \"tertiary\" | \"text\" | \"underlined\" | \"warning\"",
|
|
558
559
|
"references": {
|
|
559
560
|
"ComponentVariant": {
|
|
560
561
|
"location": "import",
|
|
@@ -38,28 +38,44 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Sizes (Design Guide Normalized) */
|
|
41
|
+
.tag-xs {
|
|
42
|
+
padding: 2px 6px;
|
|
43
|
+
font-size: 10px;
|
|
44
|
+
height: 20px;
|
|
45
|
+
gap: 4px;
|
|
46
|
+
--tag-notch-size: 4px;
|
|
47
|
+
--tag-remove-size: 14px;
|
|
48
|
+
--tag-remove-icon-size: 10px;
|
|
49
|
+
}
|
|
50
|
+
|
|
41
51
|
.tag-sm {
|
|
42
|
-
padding:
|
|
52
|
+
padding: 4px 8px;
|
|
43
53
|
font-size: 11px;
|
|
44
54
|
height: 24px;
|
|
45
55
|
gap: 4px;
|
|
46
56
|
--tag-notch-size: 6px;
|
|
57
|
+
--tag-remove-size: 16px;
|
|
58
|
+
--tag-remove-icon-size: 12px;
|
|
47
59
|
}
|
|
48
60
|
|
|
49
61
|
.tag-md {
|
|
50
|
-
padding:
|
|
62
|
+
padding: 4px 12px;
|
|
51
63
|
font-size: 13px;
|
|
52
64
|
height: 32px;
|
|
53
65
|
gap: 8px;
|
|
54
66
|
--tag-notch-size: 8px;
|
|
67
|
+
--tag-remove-size: 20px;
|
|
68
|
+
--tag-remove-icon-size: 14px;
|
|
55
69
|
}
|
|
56
70
|
|
|
57
71
|
.tag-lg {
|
|
58
|
-
padding:
|
|
72
|
+
padding: 4px 16px;
|
|
59
73
|
font-size: 15px;
|
|
60
74
|
height: 40px;
|
|
61
75
|
gap: 10px;
|
|
62
76
|
--tag-notch-size: 10px;
|
|
77
|
+
--tag-remove-size: 24px;
|
|
78
|
+
--tag-remove-icon-size: 16px;
|
|
63
79
|
}
|
|
64
80
|
|
|
65
81
|
.tag-checkable,
|
|
@@ -244,11 +260,11 @@
|
|
|
244
260
|
background: none;
|
|
245
261
|
border: none;
|
|
246
262
|
color: inherit;
|
|
247
|
-
font-size:
|
|
263
|
+
font-size: var(--tag-remove-icon-size, 14px);
|
|
248
264
|
cursor: pointer;
|
|
249
265
|
padding: 0;
|
|
250
|
-
width: 20px;
|
|
251
|
-
height: 20px;
|
|
266
|
+
width: var(--tag-remove-size, 20px);
|
|
267
|
+
height: var(--tag-remove-size, 20px);
|
|
252
268
|
display: flex;
|
|
253
269
|
align-items: center;
|
|
254
270
|
justify-content: center;
|
|
@@ -642,21 +658,24 @@
|
|
|
642
658
|
}
|
|
643
659
|
|
|
644
660
|
.tag-shape-circle {
|
|
645
|
-
border-radius:
|
|
646
|
-
|
|
647
|
-
width:
|
|
661
|
+
border-radius: 9999px;
|
|
662
|
+
min-width: 32px;
|
|
663
|
+
width: auto;
|
|
648
664
|
height: 32px;
|
|
665
|
+
padding: 0 6px;
|
|
649
666
|
justify-content: center;
|
|
650
667
|
}
|
|
651
668
|
|
|
652
669
|
.tag-shape-circle.tag-sm {
|
|
653
|
-
width: 24px;
|
|
670
|
+
min-width: 24px;
|
|
654
671
|
height: 24px;
|
|
672
|
+
padding: 0 4px;
|
|
655
673
|
}
|
|
656
674
|
|
|
657
675
|
.tag-shape-circle.tag-lg {
|
|
658
|
-
width: 40px;
|
|
676
|
+
min-width: 40px;
|
|
659
677
|
height: 40px;
|
|
678
|
+
padding: 0 8px;
|
|
660
679
|
}
|
|
661
680
|
|
|
662
681
|
.tag-disabled {
|
|
@@ -708,7 +727,14 @@
|
|
|
708
727
|
text-align: center;
|
|
709
728
|
}
|
|
710
729
|
|
|
711
|
-
|
|
730
|
+
.tag-soft {
|
|
731
|
+
padding: 4px 10px;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.tag-bordered {
|
|
735
|
+
padding: 4px 10px;
|
|
736
|
+
}
|
|
737
|
+
|
|
712
738
|
.tag-soft.tag-primary {
|
|
713
739
|
background-color: rgba(var(--color-primary-rgb, 59, 130, 246), 0.1);
|
|
714
740
|
color: var(--color-primary, #10b981);
|