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
|
@@ -16,11 +16,13 @@ export function initSwitchDemo() {
|
|
|
16
16
|
<ui-button onclick="showInteractiveSwitch()" variant="outline">🎮 Playground</ui-button>
|
|
17
17
|
<ui-button onclick="showEliteSwitchSpecimens()" variant="outline">✨ Elite Specimens</ui-button>
|
|
18
18
|
<ui-button onclick="showSwitchVariants()" variant="outline">🎨 Variants</ui-button>
|
|
19
|
+
<ui-button onclick="showNewSwitchStyles()" variant="outline">🆕 New Styles</ui-button>
|
|
19
20
|
<ui-button onclick="showSwitchShapes()" variant="outline">📐 Shapes</ui-button>
|
|
20
21
|
<ui-button onclick="showSwitchStates()" variant="outline">🚥 Lifecycle & Enterprise</ui-button>
|
|
21
22
|
<ui-button onclick="showIconImageDemos()" variant="outline">🖼️ Icons</ui-button>
|
|
22
23
|
<ui-button onclick="showPhysicsGallery()" variant="outline">🧬 Physics</ui-button>
|
|
23
24
|
<ui-button onclick="showToggleGroup()" variant="outline">📦 Groups</ui-button>
|
|
25
|
+
<ui-button onclick="showSwitchSizes()" variant="outline">📏 Sizes</ui-button>
|
|
24
26
|
</div>
|
|
25
27
|
|
|
26
28
|
<div id="switchDemoContainer" style="margin-top: 20px;"></div>
|
|
@@ -51,7 +53,7 @@ export function initSwitchDemo() {
|
|
|
51
53
|
container.innerHTML = `
|
|
52
54
|
<div class="demo-block reveal-fade-in">
|
|
53
55
|
<h3 class="specimen-title">🎮 Interactive Playground</h3>
|
|
54
|
-
<div class="playground-settings" style="
|
|
56
|
+
<div class="playground-settings" style="padding: 24px; border-radius: 16px; margin-bottom: 24px;">
|
|
55
57
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;">
|
|
56
58
|
<div class="form-group">
|
|
57
59
|
<ui-input label="Label Text" id="playSwitchLabel" value="Unified Switch" variant="outlined" size="md"></ui-input>
|
|
@@ -87,7 +89,7 @@ export function initSwitchDemo() {
|
|
|
87
89
|
<ui-dropdown id="playSwitchColor" label="Color Theme" value="primary" size="md" options='[{"label":"Primary (Blue)","value":"primary"},{"label":"Success (Green)","value":"success"},{"label":"Danger (Red)","value":"danger"},{"label":"Warning (Gold)","value":"warning"},{"label":"Info (Sky)","value":"info"},{"label":"Secondary (Slate)","value":"secondary"}]'></ui-dropdown>
|
|
88
90
|
</div>
|
|
89
91
|
<div class="form-group">
|
|
90
|
-
<ui-dropdown id="playSwitchVariant" label="Material Archetype" value="solid" size="md" options='[{"label":"Solid (Default)","value":"solid"},{"label":"Glassmorphism","value":"glass"},{"label":"Raised Relief","value":"raised"},{"label":"Outlined","value":"outlined"}]'></ui-dropdown>
|
|
92
|
+
<ui-dropdown id="playSwitchVariant" label="Material Archetype" value="solid" size="md" options='[{"label":"Solid (Default)","value":"solid"},{"label":"Glassmorphism","value":"glass"},{"label":"Raised Relief","value":"raised"},{"label":"Outlined","value":"outlined"},{"label":"Flat (Border Only)","value":"flat"},{"label":"Dot Indicator","value":"dot"},{"label":"Metallic Steel","value":"metallic"},{"label":"Slider Rail","value":"slider"},{"label":"Pill-Flat (Minimal)","value":"pill-flat"},{"label":"Soft (Pastel)","value":"soft"},{"label":"Bicolor (Green\/Red Split)","value":"bicolor"},{"label":"Power (Circular Ring)","value":"power"},{"label":"Status (Active\/Inactive)","value":"status"},{"label":"Labeled (Full-Track Label)","value":"labeled"}]'></ui-dropdown>
|
|
91
93
|
</div>
|
|
92
94
|
<div class="form-group">
|
|
93
95
|
<ui-dropdown id="playSwitchDescPos" label="Description Position" value="bottom" size="md" options='[{"label":"Bottom","value":"bottom"},{"label":"Side (Dense)","value":"side"}]'></ui-dropdown>
|
|
@@ -111,7 +113,7 @@ export function initSwitchDemo() {
|
|
|
111
113
|
</div>
|
|
112
114
|
</div>
|
|
113
115
|
|
|
114
|
-
<div class="playground-preview" style="
|
|
116
|
+
<div class="playground-preview" style="min-height: 200px; position: relative; overflow: hidden;">
|
|
115
117
|
<ui-switch id="playgroundSwitch" label="Unified Switch" checked description="Authorize system override" size="md"></ui-switch>
|
|
116
118
|
</div>
|
|
117
119
|
|
|
@@ -131,7 +133,7 @@ export function initSwitchDemo() {
|
|
|
131
133
|
<p class="specimen-description">High-fidelity switch archetypes for premium state management.</p>
|
|
132
134
|
|
|
133
135
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;">
|
|
134
|
-
<div style="padding: 32px; background: #
|
|
136
|
+
<div style="padding: 32px; background: var(--bg-tertiary, #f1f5f9); border-radius: 20px; color: var(--text-primary); border: 1px solid var(--border-default);">
|
|
135
137
|
<h4 style="margin: 0 0 20px 0; font-size: 14px; opacity: 0.6; text-transform: uppercase;">Glassmorphism</h4>
|
|
136
138
|
<ui-switch
|
|
137
139
|
label="Orbital Transmission"
|
|
@@ -142,12 +144,12 @@ export function initSwitchDemo() {
|
|
|
142
144
|
checked
|
|
143
145
|
size="md">
|
|
144
146
|
</ui-switch>
|
|
145
|
-
<div style="margin-top: 16px; padding: 12px; background: rgba(
|
|
147
|
+
<div style="margin-top: 16px; padding: 12px; background: var(--bg-secondary, rgba(0,0,0,0.04)); border-radius: 8px; font-size: 12px;">
|
|
146
148
|
Atmospheric glow effects transition smoothly between states.
|
|
147
149
|
</div>
|
|
148
150
|
</div>
|
|
149
151
|
|
|
150
|
-
<div style="padding: 32px; background: #f8fafc; border-radius: 20px; border:
|
|
152
|
+
<div style="padding: 32px; background: var(--bg-secondary, #f8fafc); border-radius: 20px; border:1px solid var(--border-default,#e2e8f0);">
|
|
151
153
|
<h4 style="margin: 0 0 20px 0; font-size: 14px; opacity: 0.6; text-transform: uppercase;">Raised Relief</h4>
|
|
152
154
|
<ui-switch
|
|
153
155
|
label="Thermal Regulation"
|
|
@@ -158,12 +160,12 @@ export function initSwitchDemo() {
|
|
|
158
160
|
checked
|
|
159
161
|
size="md">
|
|
160
162
|
</ui-switch>
|
|
161
|
-
<div style="margin-top: 16px; padding: 12px; background: white; border:
|
|
163
|
+
<div style="margin-top: 16px; padding: 12px; background: var(--bg-primary, white); border:1px solid var(--border-default,#e2e8f0); border-radius: 8px; font-size: 12px;">
|
|
162
164
|
Tactile sensation reinforced by liquid spring physics.
|
|
163
165
|
</div>
|
|
164
166
|
</div>
|
|
165
167
|
|
|
166
|
-
<div style="padding: 32px; background: white; border:
|
|
168
|
+
<div style="padding: 32px; background: var(--bg-primary, white); border:1px solid var(--border-subtle,#f1f5f9); border-radius: 20px;">
|
|
167
169
|
<h4 style="margin: 0 0 20px 0; font-size: 14px; opacity: 0.6; text-transform: uppercase;">Side-Aligned Metadata</h4>
|
|
168
170
|
<div style="display: flex; flex-direction: column; gap: 20px;">
|
|
169
171
|
<ui-switch label="Network" description="v2.4 stable" description-position="side" checked color="success" glow haptic size="md"></ui-switch>
|
|
@@ -172,7 +174,7 @@ export function initSwitchDemo() {
|
|
|
172
174
|
</div>
|
|
173
175
|
</div>
|
|
174
176
|
|
|
175
|
-
<div style="padding: 32px; background:
|
|
177
|
+
<div style="padding: 32px; background:var(--accent-yellow-soft,#fffbeb); border: 1px solid #fde68a; border-radius: 20px; grid-column: span 2;">
|
|
176
178
|
<h4 style="margin: 0 0 20px 0; font-size: 14px; opacity: 0.6; text-transform: uppercase;">Icon & Image Substrates</h4>
|
|
177
179
|
<div style="display: flex; gap: 40px; flex-wrap: wrap; align-items: center;">
|
|
178
180
|
<div style="text-align: center;">
|
|
@@ -180,8 +182,8 @@ export function initSwitchDemo() {
|
|
|
180
182
|
<ui-switch
|
|
181
183
|
size="large"
|
|
182
184
|
checked
|
|
183
|
-
checked-image="
|
|
184
|
-
unchecked-image="
|
|
185
|
+
checked-image="/build/assets/images/slide2.png"
|
|
186
|
+
unchecked-image="/build/assets/images/slide3.png">
|
|
185
187
|
</ui-switch>
|
|
186
188
|
</div>
|
|
187
189
|
<div style="text-align: center;">
|
|
@@ -247,39 +249,257 @@ export function initSwitchDemo() {
|
|
|
247
249
|
const container = document.getElementById('switchDemoContainer');
|
|
248
250
|
container.innerHTML = `
|
|
249
251
|
<div class="demo-block reveal-slide-up">
|
|
250
|
-
<h3 class="specimen-title">🎨
|
|
251
|
-
<p class="specimen-description">
|
|
252
|
-
|
|
252
|
+
<h3 class="specimen-title">🎨 All Variants & Material Archetypes</h3>
|
|
253
|
+
<p class="specimen-description">14 distinct visual archetypes — from solid fills to industrial metallic knobs, circular power buttons to labeled sliders. Each variant is fully themeable and supports all semantic colors.</p>
|
|
254
|
+
|
|
253
255
|
<div style="display: flex; flex-direction: column; gap: 48px;">
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
</div>
|
|
256
|
+
|
|
257
|
+
<!-- ORIGINAL 4 -->
|
|
258
|
+
<div>
|
|
259
|
+
<h4 style="margin: 0 0 8px 0; font-size: 11px; font-weight: 800; color: var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.08em;">Core Archetypes</h4>
|
|
260
|
+
<p style="margin: 0 0 20px 0; font-size: 12px; color: var(--text-secondary,#64748b);">Foundation variants built on depth, glass, and relief.</p>
|
|
261
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;">
|
|
262
|
+
|
|
263
|
+
<div style="padding: 24px; background: var(--bg-primary, white); border-radius: 16px; border: 1px solid var(--border-subtle,#f1f5f9);">
|
|
264
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Solid</p>
|
|
265
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
266
|
+
<ui-switch variant="solid" label="Off State" color="primary" size="md"></ui-switch>
|
|
267
|
+
<ui-switch variant="solid" label="On State" color="primary" checked size="md"></ui-switch>
|
|
268
|
+
</div>
|
|
269
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Full-fill track with color transition. The standard default archetype.</p>
|
|
269
270
|
</div>
|
|
270
|
-
</div>
|
|
271
271
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
<
|
|
279
|
-
<ui-switch label="Info Sky" color="info" checked glow size="md"></ui-switch>
|
|
280
|
-
<ui-switch label="Secondary Slate" color="secondary" checked size="md"></ui-switch>
|
|
272
|
+
<div style="padding: 24px; background: var(--bg-tertiary, #f1f5f9); border-radius: 16px; border: 1px solid var(--border-default); color: var(--text-primary)">
|
|
273
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary, #64748b); margin: 0 0 16px;">Glass</p>
|
|
274
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
275
|
+
<ui-switch variant="glass" label="Off State" color="info" size="md"></ui-switch>
|
|
276
|
+
<ui-switch variant="glass" label="On State" color="info" checked glow size="md"></ui-switch>
|
|
277
|
+
</div>
|
|
278
|
+
<p style="font-size: 11px; color: var(--text-secondary, #64748b); margin: 12px 0 0; line-height: 1.5;">Frosted backdrop blur with refractive track substrate.</p>
|
|
281
279
|
</div>
|
|
282
|
-
|
|
280
|
+
|
|
281
|
+
<div style="padding: 24px; background: var(--bg-secondary, #f8fafc); border-radius: 16px; border: 1px solid var(--border-default,#e2e8f0);">
|
|
282
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Raised</p>
|
|
283
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
284
|
+
<ui-switch variant="raised" label="Off State" color="success" size="md"></ui-switch>
|
|
285
|
+
<ui-switch variant="raised" label="On State" color="success" checked glow size="md"></ui-switch>
|
|
286
|
+
</div>
|
|
287
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Neumorphic inset shadow with tactile 3D relief depth.</p>
|
|
288
|
+
</div>
|
|
289
|
+
|
|
290
|
+
<div style="padding: 24px; background: var(--bg-primary, white); border-radius: 16px; border: 1px solid var(--border-default,#e2e8f0);">
|
|
291
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Outlined</p>
|
|
292
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
293
|
+
<ui-switch variant="outlined" label="Off State" color="danger" size="md"></ui-switch>
|
|
294
|
+
<ui-switch variant="outlined" label="On State" color="danger" checked size="md"></ui-switch>
|
|
295
|
+
</div>
|
|
296
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Transparent fill with colored border and thumb accent.</p>
|
|
297
|
+
</div>
|
|
298
|
+
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
|
|
302
|
+
<!-- NEW 6 VARIANTS -->
|
|
303
|
+
<div>
|
|
304
|
+
<h4 style="margin: 0 0 8px 0; font-size: 11px; font-weight: 800; color: var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.08em;">New Extended Archetypes</h4>
|
|
305
|
+
<p style="margin: 0 0 20px 0; font-size: 12px; color: var(--text-secondary,#64748b);">Six new structural archetypes for advanced design systems.</p>
|
|
306
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;">
|
|
307
|
+
|
|
308
|
+
<div style="padding: 24px; background: var(--bg-primary, white); border-radius: 16px; border: 1px solid var(--border-subtle,#f1f5f9);">
|
|
309
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Flat</p>
|
|
310
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
311
|
+
<ui-switch variant="flat" label="Off State" color="primary" size="md"></ui-switch>
|
|
312
|
+
<ui-switch variant="flat" label="On State" color="primary" checked size="md"></ui-switch>
|
|
313
|
+
</div>
|
|
314
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Border-only ring — zero fill in OFF, solid accent in ON.</p>
|
|
315
|
+
</div>
|
|
316
|
+
|
|
317
|
+
<div style="padding: 24px; background: var(--bg-primary, white); border-radius: 16px; border: 1px solid var(--border-subtle,#f1f5f9);">
|
|
318
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 20px;">Dot</p>
|
|
319
|
+
<div style="display: flex; flex-direction: column; gap: 12px; padding-top: 4px;">
|
|
320
|
+
<ui-switch variant="dot" label="Off State" color="success" size="md"></ui-switch>
|
|
321
|
+
<ui-switch variant="dot" label="On State" color="success" checked size="md"></ui-switch>
|
|
322
|
+
</div>
|
|
323
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Glowing dot indicator above the track telegraphs state.</p>
|
|
324
|
+
</div>
|
|
325
|
+
|
|
326
|
+
<div style="padding: 24px; background: var(--bg-secondary, #f8fafc); border-radius: 16px; border: 1px solid var(--border-default,#e2e8f0);">
|
|
327
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Metallic</p>
|
|
328
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
329
|
+
<ui-switch variant="metallic" label="Off State" size="md"></ui-switch>
|
|
330
|
+
<ui-switch variant="metallic" label="On State" checked size="md"></ui-switch>
|
|
331
|
+
</div>
|
|
332
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Brushed steel radial-gradient knob on dark inset track.</p>
|
|
333
|
+
</div>
|
|
334
|
+
|
|
335
|
+
<div style="padding: 24px; background: var(--bg-primary, white); border-radius: 16px; border: 1px solid var(--border-subtle,#f1f5f9);">
|
|
336
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Slider</p>
|
|
337
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
338
|
+
<ui-switch variant="slider" label="Off State" color="warning" size="md"></ui-switch>
|
|
339
|
+
<ui-switch variant="slider" label="On State" color="warning" checked size="md"></ui-switch>
|
|
340
|
+
</div>
|
|
341
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Thin 4px rail with floating knob — range-slider aesthetic.</p>
|
|
342
|
+
</div>
|
|
343
|
+
|
|
344
|
+
<div style="padding: 24px; background: var(--bg-primary, white); border-radius: 16px; border: 1px solid var(--border-subtle,#f1f5f9);">
|
|
345
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Pill-Flat</p>
|
|
346
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
347
|
+
<ui-switch variant="pill-flat" label="Off State" color="danger" size="md"></ui-switch>
|
|
348
|
+
<ui-switch variant="pill-flat" label="On State" color="danger" checked size="md"></ui-switch>
|
|
349
|
+
</div>
|
|
350
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Zero-elevation minimal pill — no shadows, no depth.</p>
|
|
351
|
+
</div>
|
|
352
|
+
|
|
353
|
+
<div style="padding: 24px; background: var(--bg-primary, white); border-radius: 16px; border: 1px solid var(--border-subtle,#f1f5f9);">
|
|
354
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Soft</p>
|
|
355
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
356
|
+
<ui-switch variant="soft" label="Off State" color="info" size="md"></ui-switch>
|
|
357
|
+
<ui-switch variant="soft" label="On State" color="info" checked size="md"></ui-switch>
|
|
358
|
+
</div>
|
|
359
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Pastel tinted 12% fill in OFF; solid accent fill in ON.</p>
|
|
360
|
+
</div>
|
|
361
|
+
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
|
|
365
|
+
<!-- SEMANTIC VARIANTS -->
|
|
366
|
+
<div>
|
|
367
|
+
<h4 style="margin: 0 0 8px 0; font-size: 11px; font-weight: 800; color: var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.08em;">Semantic State Archetypes</h4>
|
|
368
|
+
<p style="margin: 0 0 20px 0; font-size: 12px; color: var(--text-secondary,#64748b);">Variants optimized for communicating binary state at a glance — bicolor signals, power rings, and labeled tracks.</p>
|
|
369
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;">
|
|
370
|
+
|
|
371
|
+
<div style="padding: 24px; background: var(--bg-primary, white); border-radius: 16px; border: 1px solid var(--border-subtle,#f1f5f9);">
|
|
372
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Bicolor</p>
|
|
373
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
374
|
+
<ui-switch variant="bicolor" label="Off (thumb left)" size="md"></ui-switch>
|
|
375
|
+
<ui-switch variant="bicolor" label="On (thumb right)" checked size="md"></ui-switch>
|
|
376
|
+
</div>
|
|
377
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Permanent green/red split gradient — ✓ left, ✕ right. Thumb slides to reveal either state.</p>
|
|
378
|
+
</div>
|
|
379
|
+
|
|
380
|
+
<div style="padding: 24px; background: var(--bg-secondary, #f8fafc); border-radius: 16px; border: 1px solid var(--border-default,#e2e8f0);">
|
|
381
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Power</p>
|
|
382
|
+
<div style="display: flex; gap: 24px; align-items: center;">
|
|
383
|
+
<div style="text-align:center;"><ui-switch variant="power" color="primary" size="md"></ui-switch><p style="font-size:9px;margin:6px 0 0;opacity:0.5;font-weight:700;">OFF</p></div>
|
|
384
|
+
<div style="text-align:center;"><ui-switch variant="power" color="primary" checked size="md"></ui-switch><p style="font-size:9px;margin:6px 0 0;opacity:0.5;font-weight:700;">ON</p></div>
|
|
385
|
+
<div style="text-align:center;"><ui-switch variant="power" color="success" checked size="xl"></ui-switch><p style="font-size:9px;margin:6px 0 0;opacity:0.5;font-weight:700;">XL</p></div>
|
|
386
|
+
</div>
|
|
387
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Circular neumorphic ring — grey border in OFF, colored border + glow in ON.</p>
|
|
388
|
+
</div>
|
|
389
|
+
|
|
390
|
+
<div style="padding: 24px; background: var(--bg-primary, white); border-radius: 16px; border: 1px solid var(--border-subtle,#f1f5f9);">
|
|
391
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Status</p>
|
|
392
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
393
|
+
<ui-switch variant="status" show-track-text unchecked-text="ACTIVE" label="Unchecked" size="md"></ui-switch>
|
|
394
|
+
<ui-switch variant="status" show-track-text checked-text="INACTIVE" label="Checked" checked size="md"></ui-switch>
|
|
395
|
+
</div>
|
|
396
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Wide pill — green/grey half-track split with text label. Use <code>show-track-text</code> props.</p>
|
|
397
|
+
</div>
|
|
398
|
+
|
|
399
|
+
<div style="padding: 24px; background: var(--bg-primary, white); border-radius: 16px; border: 1px solid var(--border-subtle,#f1f5f9);">
|
|
400
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary,#64748b); margin: 0 0 16px;">Labeled</p>
|
|
401
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
402
|
+
<ui-switch variant="labeled" show-track-text unchecked-text="Inactive" label="Off — grey track + ⊘" color="primary" size="md"></ui-switch>
|
|
403
|
+
<ui-switch variant="labeled" show-track-text checked-text="Active" label="On — colored track + ✓" color="primary" checked size="md"></ui-switch>
|
|
404
|
+
</div>
|
|
405
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin: 12px 0 0; line-height: 1.5;">Full track switches blue/grey. White thumb shows ✓ when ON, ⊘ when OFF. Supports all colors.</p>
|
|
406
|
+
</div>
|
|
407
|
+
|
|
408
|
+
</div>
|
|
409
|
+
</div>
|
|
410
|
+
|
|
411
|
+
<!-- SEMANTIC COLOR MATRIX -->
|
|
412
|
+
<div>
|
|
413
|
+
<h4 style="margin: 0 0 8px 0; font-size: 11px; font-weight: 800; color: var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.08em;">Semantic Color Matrix</h4>
|
|
414
|
+
<p style="margin: 0 0 20px 0; font-size: 12px; color: var(--text-secondary,#64748b);">All 6 semantic colors applied across the primary variants.</p>
|
|
415
|
+
<div style="overflow-x: auto; padding-bottom: 8px;">
|
|
416
|
+
<table style="width: 100%; border-collapse: separate; border-spacing: 16px;">
|
|
417
|
+
<thead>
|
|
418
|
+
<tr>
|
|
419
|
+
<th style="font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary,#64748b); text-align: left; padding: 0 0 4px; letter-spacing: 0.08em; white-space: nowrap;">Variant</th>
|
|
420
|
+
<th style="font-size: 10px; font-weight: 700; color: #3b82f6; text-align: center; padding: 0 0 4px;">Primary</th>
|
|
421
|
+
<th style="font-size: 10px; font-weight: 700; color: #10b981; text-align: center; padding: 0 0 4px;">Success</th>
|
|
422
|
+
<th style="font-size: 10px; font-weight: 700; color: #ef4444; text-align: center; padding: 0 0 4px;">Danger</th>
|
|
423
|
+
<th style="font-size: 10px; font-weight: 700; color: #f59e0b; text-align: center; padding: 0 0 4px;">Warning</th>
|
|
424
|
+
</tr>
|
|
425
|
+
</thead>
|
|
426
|
+
<tbody>
|
|
427
|
+
<tr>
|
|
428
|
+
<td style="font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary,#64748b); white-space: nowrap;">Solid</td>
|
|
429
|
+
<td style="text-align: center;"><ui-switch variant="solid" color="primary" checked size="sm"></ui-switch></td>
|
|
430
|
+
<td style="text-align: center;"><ui-switch variant="solid" color="success" checked size="sm"></ui-switch></td>
|
|
431
|
+
<td style="text-align: center;"><ui-switch variant="solid" color="danger" checked size="sm"></ui-switch></td>
|
|
432
|
+
<td style="text-align: center;"><ui-switch variant="solid" color="warning" checked size="sm"></ui-switch></td>
|
|
433
|
+
</tr>
|
|
434
|
+
<tr>
|
|
435
|
+
<td style="font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary,#64748b);">Flat</td>
|
|
436
|
+
<td style="text-align: center;"><ui-switch variant="flat" color="primary" checked size="sm"></ui-switch></td>
|
|
437
|
+
<td style="text-align: center;"><ui-switch variant="flat" color="success" checked size="sm"></ui-switch></td>
|
|
438
|
+
<td style="text-align: center;"><ui-switch variant="flat" color="danger" checked size="sm"></ui-switch></td>
|
|
439
|
+
<td style="text-align: center;"><ui-switch variant="flat" color="warning" checked size="sm"></ui-switch></td>
|
|
440
|
+
</tr>
|
|
441
|
+
<tr>
|
|
442
|
+
<td style="font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary,#64748b); padding-top: 20px;">Dot</td>
|
|
443
|
+
<td style="text-align: center; padding-top: 20px;"><ui-switch variant="dot" color="primary" checked size="sm"></ui-switch></td>
|
|
444
|
+
<td style="text-align: center; padding-top: 20px;"><ui-switch variant="dot" color="success" checked size="sm"></ui-switch></td>
|
|
445
|
+
<td style="text-align: center; padding-top: 20px;"><ui-switch variant="dot" color="danger" checked size="sm"></ui-switch></td>
|
|
446
|
+
<td style="text-align: center; padding-top: 20px;"><ui-switch variant="dot" color="warning" checked size="sm"></ui-switch></td>
|
|
447
|
+
</tr>
|
|
448
|
+
<tr>
|
|
449
|
+
<td style="font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary,#64748b);">Slider</td>
|
|
450
|
+
<td style="text-align: center;"><ui-switch variant="slider" color="primary" checked size="sm"></ui-switch></td>
|
|
451
|
+
<td style="text-align: center;"><ui-switch variant="slider" color="success" checked size="sm"></ui-switch></td>
|
|
452
|
+
<td style="text-align: center;"><ui-switch variant="slider" color="danger" checked size="sm"></ui-switch></td>
|
|
453
|
+
<td style="text-align: center;"><ui-switch variant="slider" color="warning" checked size="sm"></ui-switch></td>
|
|
454
|
+
</tr>
|
|
455
|
+
<tr>
|
|
456
|
+
<td style="font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary,#64748b);">Pill-Flat</td>
|
|
457
|
+
<td style="text-align: center;"><ui-switch variant="pill-flat" color="primary" checked size="sm"></ui-switch></td>
|
|
458
|
+
<td style="text-align: center;"><ui-switch variant="pill-flat" color="success" checked size="sm"></ui-switch></td>
|
|
459
|
+
<td style="text-align: center;"><ui-switch variant="pill-flat" color="danger" checked size="sm"></ui-switch></td>
|
|
460
|
+
<td style="text-align: center;"><ui-switch variant="pill-flat" color="warning" checked size="sm"></ui-switch></td>
|
|
461
|
+
</tr>
|
|
462
|
+
<tr>
|
|
463
|
+
<td style="font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary,#64748b);">Soft</td>
|
|
464
|
+
<td style="text-align: center;"><ui-switch variant="soft" color="primary" checked size="sm"></ui-switch></td>
|
|
465
|
+
<td style="text-align: center;"><ui-switch variant="soft" color="success" checked size="sm"></ui-switch></td>
|
|
466
|
+
<td style="text-align: center;"><ui-switch variant="soft" color="danger" checked size="sm"></ui-switch></td>
|
|
467
|
+
<td style="text-align: center;"><ui-switch variant="soft" color="warning" checked size="sm"></ui-switch></td>
|
|
468
|
+
</tr>
|
|
469
|
+
<tr>
|
|
470
|
+
<td style="font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary,#64748b);">Labeled</td>
|
|
471
|
+
<td style="text-align: center;"><ui-switch variant="labeled" color="primary" checked size="sm"></ui-switch></td>
|
|
472
|
+
<td style="text-align: center;"><ui-switch variant="labeled" color="success" checked size="sm"></ui-switch></td>
|
|
473
|
+
<td style="text-align: center;"><ui-switch variant="labeled" color="danger" checked size="sm"></ui-switch></td>
|
|
474
|
+
<td style="text-align: center;"><ui-switch variant="labeled" color="warning" checked size="sm"></ui-switch></td>
|
|
475
|
+
</tr>
|
|
476
|
+
</tbody>
|
|
477
|
+
</table>
|
|
478
|
+
</div>
|
|
479
|
+
</div>
|
|
480
|
+
|
|
481
|
+
<!-- FULL SIDE-BY-SIDE STRIP -->
|
|
482
|
+
<div style="padding: 32px; background: var(--bg-secondary, #f8fafc); border-radius: 20px; border: 1px solid var(--border-default, #e2e8f0);">
|
|
483
|
+
<h4 style="margin: 0 0 8px 0; font-size: 11px; font-weight: 800; color: var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.08em;">All 14 Variants — Checked State</h4>
|
|
484
|
+
<p style="margin: 0 0 24px 0; font-size: 12px; color: var(--text-secondary,#64748b);">Quick visual reference comparing all archetypes at a glance.</p>
|
|
485
|
+
<div style="display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end;">
|
|
486
|
+
<div style="text-align: center;"><ui-switch variant="solid" color="primary" checked size="md" glow></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Solid</p></div>
|
|
487
|
+
<div style="text-align: center;"><ui-switch variant="glass" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Glass</p></div>
|
|
488
|
+
<div style="text-align: center;"><ui-switch variant="raised" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Raised</p></div>
|
|
489
|
+
<div style="text-align: center;"><ui-switch variant="outlined" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Outlined</p></div>
|
|
490
|
+
<div style="text-align: center;"><ui-switch variant="flat" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Flat</p></div>
|
|
491
|
+
<div style="text-align: center; padding-top: 20px;"><ui-switch variant="dot" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Dot</p></div>
|
|
492
|
+
<div style="text-align: center;"><ui-switch variant="metallic" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Metallic</p></div>
|
|
493
|
+
<div style="text-align: center;"><ui-switch variant="slider" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Slider</p></div>
|
|
494
|
+
<div style="text-align: center;"><ui-switch variant="pill-flat" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Pill-Flat</p></div>
|
|
495
|
+
<div style="text-align: center;"><ui-switch variant="soft" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Soft</p></div>
|
|
496
|
+
<div style="text-align: center;"><ui-switch variant="bicolor" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Bicolor</p></div>
|
|
497
|
+
<div style="text-align: center;"><ui-switch variant="power" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Power</p></div>
|
|
498
|
+
<div style="text-align: center;"><ui-switch variant="status" show-track-text unchecked-text="ON" size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Status</p></div>
|
|
499
|
+
<div style="text-align: center;"><ui-switch variant="labeled" show-track-text checked-text="Active" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 10px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;">Labeled</p></div>
|
|
500
|
+
</div>
|
|
501
|
+
</div>
|
|
502
|
+
|
|
283
503
|
</div>
|
|
284
504
|
</div>
|
|
285
505
|
`;
|
|
@@ -293,18 +513,18 @@ export function initSwitchDemo() {
|
|
|
293
513
|
<p class="specimen-description">Structural variants for different UI surfaces and container systems.</p>
|
|
294
514
|
|
|
295
515
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px;">
|
|
296
|
-
<div style="padding: 32px; background: white; border-radius: 20px; border:
|
|
297
|
-
<p style="font-size: 11px; color:
|
|
516
|
+
<div style="padding: 32px; background: var(--bg-primary, white); border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9); display: flex; flex-direction: column; align-items: center; gap: 20px;">
|
|
517
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); font-weight: 800; text-transform: uppercase;">Shape: Pill (Flagship)</p>
|
|
298
518
|
<ui-switch shape="pill" size="xl" checked color="primary" glow></ui-switch>
|
|
299
519
|
<p style="font-size: 12px; opacity: 0.6; text-align: center;">Curvature-continuous pill shape for standard navigation.</p>
|
|
300
520
|
</div>
|
|
301
|
-
<div style="padding: 32px; background: white; border-radius: 20px; border:
|
|
302
|
-
<p style="font-size: 11px; color:
|
|
521
|
+
<div style="padding: 32px; background: var(--bg-primary, white); border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9); display: flex; flex-direction: column; align-items: center; gap: 20px;">
|
|
522
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); font-weight: 800; text-transform: uppercase;">Shape: Rounded (Soft)</p>
|
|
303
523
|
<ui-switch shape="rounded" size="xl" checked color="success" glow></ui-switch>
|
|
304
524
|
<p style="font-size: 12px; opacity: 0.6; text-align: center;">Subtle 6px corner radius for dashboard tiles.</p>
|
|
305
525
|
</div>
|
|
306
|
-
<div style="padding: 32px; background: white; border-radius: 20px; border:
|
|
307
|
-
<p style="font-size: 11px; color:
|
|
526
|
+
<div style="padding: 32px; background: var(--bg-primary, white); border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9); display: flex; flex-direction: column; align-items: center; gap: 20px;">
|
|
527
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); font-weight: 800; text-transform: uppercase;">Shape: Square (Industrial)</p>
|
|
308
528
|
<ui-switch shape="square" size="xl" checked color="info" glow></ui-switch>
|
|
309
529
|
<p style="font-size: 12px; opacity: 0.6; text-align: center;">Zero-radius architecture for professional grid systems.</p>
|
|
310
530
|
</div>
|
|
@@ -313,6 +533,161 @@ export function initSwitchDemo() {
|
|
|
313
533
|
`;
|
|
314
534
|
};
|
|
315
535
|
|
|
536
|
+
window.showNewSwitchStyles = function () {
|
|
537
|
+
const container = document.getElementById('switchDemoContainer');
|
|
538
|
+
if (!container) return;
|
|
539
|
+
|
|
540
|
+
container.innerHTML = `
|
|
541
|
+
<div class="demo-block reveal-slide-up">
|
|
542
|
+
<h3 class="specimen-title">🆕 New Visual Styles</h3>
|
|
543
|
+
<p class="specimen-description">Six new CSS-driven archetypes expanding the switch design language — from ultra-minimal to industrial metallic.</p>
|
|
544
|
+
|
|
545
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px;">
|
|
546
|
+
|
|
547
|
+
<!-- FLAT -->
|
|
548
|
+
<div style="padding: 28px; background: var(--bg-primary, white); border-radius: 20px; border: 1px solid var(--border-subtle, #f1f5f9);">
|
|
549
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 20px 0; letter-spacing: 0.08em;">Flat — Border Only</p>
|
|
550
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
551
|
+
<ui-switch variant="flat" label="Primary Off" color="primary" size="md"></ui-switch>
|
|
552
|
+
<ui-switch variant="flat" label="Primary On" color="primary" checked size="md"></ui-switch>
|
|
553
|
+
<ui-switch variant="flat" label="Success On" color="success" checked size="md"></ui-switch>
|
|
554
|
+
<ui-switch variant="flat" label="Danger On" color="danger" checked size="md"></ui-switch>
|
|
555
|
+
</div>
|
|
556
|
+
</div>
|
|
557
|
+
|
|
558
|
+
<!-- DOT -->
|
|
559
|
+
<div style="padding: 28px; background: var(--bg-primary, white); border-radius: 20px; border: 1px solid var(--border-subtle, #f1f5f9);">
|
|
560
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 20px 0; letter-spacing: 0.08em;">Dot — Status Indicator</p>
|
|
561
|
+
<div style="display: flex; flex-direction: column; gap: 16px; padding-top: 4px;">
|
|
562
|
+
<ui-switch variant="dot" label="Primary Off" color="primary" size="md"></ui-switch>
|
|
563
|
+
<ui-switch variant="dot" label="Primary On" color="primary" checked size="md"></ui-switch>
|
|
564
|
+
<ui-switch variant="dot" label="Success On" color="success" checked size="md"></ui-switch>
|
|
565
|
+
<ui-switch variant="dot" label="Danger Off" color="danger" size="md"></ui-switch>
|
|
566
|
+
</div>
|
|
567
|
+
</div>
|
|
568
|
+
|
|
569
|
+
<!-- METALLIC -->
|
|
570
|
+
<div style="padding: 28px; background: var(--bg-secondary, #f8fafc); border-radius: 20px; border: 1px solid var(--border-default, #e2e8f0);">
|
|
571
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 20px 0; letter-spacing: 0.08em;">Metallic — Brushed Steel Knob</p>
|
|
572
|
+
<div style="display: flex; flex-direction: column; gap: 20px;">
|
|
573
|
+
<ui-switch variant="metallic" label="Industrial Off" size="md"></ui-switch>
|
|
574
|
+
<ui-switch variant="metallic" label="Industrial On" checked size="md"></ui-switch>
|
|
575
|
+
<ui-switch variant="metallic" label="Large Knob On" checked size="xl"></ui-switch>
|
|
576
|
+
</div>
|
|
577
|
+
</div>
|
|
578
|
+
|
|
579
|
+
<!-- SLIDER -->
|
|
580
|
+
<div style="padding: 28px; background: var(--bg-primary, white); border-radius: 20px; border: 1px solid var(--border-subtle, #f1f5f9);">
|
|
581
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 20px 0; letter-spacing: 0.08em;">Slider — Thin Rail + Knob</p>
|
|
582
|
+
<div style="display: flex; flex-direction: column; gap: 20px; padding: 4px 0;">
|
|
583
|
+
<ui-switch variant="slider" label="Primary Off" color="primary" size="md"></ui-switch>
|
|
584
|
+
<ui-switch variant="slider" label="Primary On" color="primary" checked size="md"></ui-switch>
|
|
585
|
+
<ui-switch variant="slider" label="Success On" color="success" checked size="lg"></ui-switch>
|
|
586
|
+
<ui-switch variant="slider" label="Danger Off" color="danger" size="lg"></ui-switch>
|
|
587
|
+
</div>
|
|
588
|
+
</div>
|
|
589
|
+
|
|
590
|
+
<!-- PILL-FLAT -->
|
|
591
|
+
<div style="padding: 28px; background: var(--bg-primary, white); border-radius: 20px; border: 1px solid var(--border-subtle, #f1f5f9);">
|
|
592
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 20px 0; letter-spacing: 0.08em;">Pill-Flat — Zero-Elevation Minimal</p>
|
|
593
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
594
|
+
<ui-switch variant="pill-flat" label="Primary Off" color="primary" size="md"></ui-switch>
|
|
595
|
+
<ui-switch variant="pill-flat" label="Primary On" color="primary" checked size="md"></ui-switch>
|
|
596
|
+
<ui-switch variant="pill-flat" label="Success On" color="success" checked size="md"></ui-switch>
|
|
597
|
+
<ui-switch variant="pill-flat" label="Danger On" color="danger" checked size="md"></ui-switch>
|
|
598
|
+
</div>
|
|
599
|
+
</div>
|
|
600
|
+
|
|
601
|
+
<!-- SOFT -->
|
|
602
|
+
<div style="padding: 28px; background: var(--bg-primary, white); border-radius: 20px; border: 1px solid var(--border-subtle, #f1f5f9);">
|
|
603
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 20px 0; letter-spacing: 0.08em;">Soft — Pastel Tinted Fill</p>
|
|
604
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
605
|
+
<ui-switch variant="soft" label="Primary Off" color="primary" size="md"></ui-switch>
|
|
606
|
+
<ui-switch variant="soft" label="Primary On" color="primary" checked size="md"></ui-switch>
|
|
607
|
+
<ui-switch variant="soft" label="Success On" color="success" checked size="md"></ui-switch>
|
|
608
|
+
<ui-switch variant="soft" label="Danger On" color="danger" checked size="md"></ui-switch>
|
|
609
|
+
</div>
|
|
610
|
+
</div>
|
|
611
|
+
|
|
612
|
+
<!-- BICOLOR -->
|
|
613
|
+
<div style="padding: 28px; background: var(--bg-primary, white); border-radius: 20px; border: 1px solid var(--border-subtle, #f1f5f9);">
|
|
614
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 20px 0; letter-spacing: 0.08em;">Bicolor — Green/Red Split Track</p>
|
|
615
|
+
<p style="font-size: 11px; color: var(--text-secondary,#64748b); margin: 0 0 16px 0; line-height: 1.5;">Track always shows ✓ on the left (green) and ✕ on the right (red). The thumb slides to reveal either state.</p>
|
|
616
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
617
|
+
<ui-switch variant="bicolor" label="Unchecked (thumb left)" size="md"></ui-switch>
|
|
618
|
+
<ui-switch variant="bicolor" label="Checked (thumb right)" checked size="md"></ui-switch>
|
|
619
|
+
<ui-switch variant="bicolor" label="Large" checked size="xl"></ui-switch>
|
|
620
|
+
</div>
|
|
621
|
+
</div>
|
|
622
|
+
|
|
623
|
+
<!-- POWER -->
|
|
624
|
+
<div style="padding: 28px; background: var(--bg-secondary, #f8fafc); border-radius: 20px; border: 1px solid var(--border-default, #e2e8f0);">
|
|
625
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 20px 0; letter-spacing: 0.08em;">Power — Circular Ring Button</p>
|
|
626
|
+
<p style="font-size: 11px; color: var(--text-secondary,#64748b); margin: 0 0 16px 0; line-height: 1.5;">Track becomes a circle with an inset border that changes color. OFF shows grey ring, ON shows colored ring with glow.</p>
|
|
627
|
+
<div style="display: flex; flex-wrap: wrap; gap: 24px; align-items: center;">
|
|
628
|
+
<div style="text-align: center;"><ui-switch variant="power" color="primary" size="md"></ui-switch><p style="font-size: 10px; margin: 8px 0 0; opacity: 0.5; font-weight: 700;">MD OFF</p></div>
|
|
629
|
+
<div style="text-align: center;"><ui-switch variant="power" color="primary" checked size="md"></ui-switch><p style="font-size: 10px; margin: 8px 0 0; opacity: 0.5; font-weight: 700;">MD ON</p></div>
|
|
630
|
+
<div style="text-align: center;"><ui-switch variant="power" color="success" checked size="xl"></ui-switch><p style="font-size: 10px; margin: 8px 0 0; opacity: 0.5; font-weight: 700;">XL ON</p></div>
|
|
631
|
+
<div style="text-align: center;"><ui-switch variant="power" color="danger" checked size="xxl"></ui-switch><p style="font-size: 10px; margin: 8px 0 0; opacity: 0.5; font-weight: 700;">XXL ON</p></div>
|
|
632
|
+
</div>
|
|
633
|
+
</div>
|
|
634
|
+
|
|
635
|
+
<!-- STATUS -->
|
|
636
|
+
<div style="padding: 28px; background: var(--bg-primary, white); border-radius: 20px; border: 1px solid var(--border-subtle, #f1f5f9);">
|
|
637
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 20px 0; letter-spacing: 0.08em;">Status — Active/Inactive Label Track</p>
|
|
638
|
+
<p style="font-size: 11px; color: var(--text-secondary,#64748b); margin: 0 0 16px 0; line-height: 1.5;">Wide pill where the left/right halves show colored labels. Use <code>show-track-text</code> + <code>checked-text</code>/<code>unchecked-text</code> props for custom labels.</p>
|
|
639
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
640
|
+
<ui-switch variant="status" show-track-text checked-text="ACTIVE" unchecked-text="ACTIVE" label="Unchecked = Inactive" size="md"></ui-switch>
|
|
641
|
+
<ui-switch variant="status" show-track-text checked-text="INACTIVE" unchecked-text="INACTIVE" label="Checked = Inactive" checked size="md"></ui-switch>
|
|
642
|
+
<ui-switch variant="status" show-track-text checked-text="ENABLED" unchecked-text="ENABLED" label="Large" size="lg"></ui-switch>
|
|
643
|
+
</div>
|
|
644
|
+
</div>
|
|
645
|
+
|
|
646
|
+
<!-- LABELED -->
|
|
647
|
+
<div style="padding: 28px; background: var(--bg-primary, white); border-radius: 20px; border: 1px solid var(--border-subtle, #f1f5f9);">
|
|
648
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 20px 0; letter-spacing: 0.08em;">Labeled — Full-Track Color + Icon Thumb</p>
|
|
649
|
+
<p style="font-size: 11px; color: var(--text-secondary,#64748b); margin: 0 0 16px 0; line-height: 1.5;">Entire track switches between color (active) and grey (inactive). White thumb shows <strong>✓</strong> when ON, <strong>⊘</strong> when OFF. Add <code>show-track-text</code> with <code>checked-text</code>/<code>unchecked-text</code> for labels.</p>
|
|
650
|
+
<div style="display: flex; flex-direction: column; gap: 20px;">
|
|
651
|
+
<ui-switch variant="labeled" show-track-text checked-text="Active" unchecked-text="Inactive" label="Inactive state" color="primary" size="md"></ui-switch>
|
|
652
|
+
<ui-switch variant="labeled" show-track-text checked-text="Active" unchecked-text="Inactive" label="Active state" color="primary" checked size="md"></ui-switch>
|
|
653
|
+
<ui-switch variant="labeled" show-track-text checked-text="Enabled" unchecked-text="Disabled" label="Success color" color="success" checked size="md"></ui-switch>
|
|
654
|
+
<ui-switch variant="labeled" show-track-text checked-text="Online" unchecked-text="Offline" label="Danger color" color="danger" size="md"></ui-switch>
|
|
655
|
+
<div style="display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 4px;">
|
|
656
|
+
<ui-switch variant="labeled" show-track-text checked-text="Active" unchecked-text="Inactive" color="primary" checked size="sm"></ui-switch>
|
|
657
|
+
<ui-switch variant="labeled" show-track-text checked-text="Active" unchecked-text="Inactive" color="primary" checked size="md"></ui-switch>
|
|
658
|
+
<ui-switch variant="labeled" show-track-text checked-text="Active" unchecked-text="Inactive" color="primary" checked size="lg"></ui-switch>
|
|
659
|
+
<ui-switch variant="labeled" show-track-text checked-text="Active" unchecked-text="Inactive" color="primary" checked size="xl"></ui-switch>
|
|
660
|
+
</div>
|
|
661
|
+
</div>
|
|
662
|
+
</div>
|
|
663
|
+
|
|
664
|
+
</div>
|
|
665
|
+
|
|
666
|
+
<!-- Side-by-side all variants comparison -->
|
|
667
|
+
<div style="margin-top: 36px; padding: 36px; background: var(--bg-secondary, #f8fafc); border-radius: 24px; border: 1px solid var(--border-default, #e2e8f0);">
|
|
668
|
+
<p style="font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text-secondary, #64748b); margin: 0 0 24px 0; letter-spacing: 0.08em;">All 13 Variants — Checked / Primary</p>
|
|
669
|
+
<div style="display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end;">
|
|
670
|
+
<div style="text-align: center;"><ui-switch variant="solid" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">SOLID</p></div>
|
|
671
|
+
<div style="text-align: center;"><ui-switch variant="glass" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">GLASS</p></div>
|
|
672
|
+
<div style="text-align: center;"><ui-switch variant="raised" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">RAISED</p></div>
|
|
673
|
+
<div style="text-align: center;"><ui-switch variant="outlined" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">OUTLINED</p></div>
|
|
674
|
+
<div style="text-align: center;"><ui-switch variant="flat" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">FLAT</p></div>
|
|
675
|
+
<div style="text-align: center; padding-top: 18px;"><ui-switch variant="dot" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">DOT</p></div>
|
|
676
|
+
<div style="text-align: center;"><ui-switch variant="metallic" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">METALLIC</p></div>
|
|
677
|
+
<div style="text-align: center;"><ui-switch variant="slider" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">SLIDER</p></div>
|
|
678
|
+
<div style="text-align: center;"><ui-switch variant="pill-flat" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">PILL-FLAT</p></div>
|
|
679
|
+
<div style="text-align: center;"><ui-switch variant="soft" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">SOFT</p></div>
|
|
680
|
+
<div style="text-align: center;"><ui-switch variant="bicolor" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">BICOLOR</p></div>
|
|
681
|
+
<div style="text-align: center;"><ui-switch variant="power" color="primary" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">POWER</p></div>
|
|
682
|
+
<div style="text-align: center;"><ui-switch variant="status" show-track-text unchecked-text="ACTIVE" size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">STATUS</p></div>
|
|
683
|
+
<div style="text-align: center;"><ui-switch variant="labeled" show-track-text checked-text="Active" unchecked-text="Inactive" checked size="md"></ui-switch><p style="font-size: 9px; margin: 8px 0 0; opacity: 0.5; font-weight: 800; text-transform: uppercase;">LABELED</p></div>
|
|
684
|
+
</div>
|
|
685
|
+
</div>
|
|
686
|
+
</div>
|
|
687
|
+
`;
|
|
688
|
+
};
|
|
689
|
+
|
|
690
|
+
|
|
316
691
|
window.showSwitchStates = function () {
|
|
317
692
|
const container = document.getElementById('switchDemoContainer');
|
|
318
693
|
container.innerHTML = `
|
|
@@ -320,34 +695,34 @@ export function initSwitchDemo() {
|
|
|
320
695
|
<p class="specimen-description">High-fidelity handling of complex operational states and global mirror support.</p>
|
|
321
696
|
|
|
322
697
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px;">
|
|
323
|
-
<div style="background: white; padding: 32px; border-radius: 20px; border:
|
|
324
|
-
<h4 style="margin: 0 0 20px 0; font-size: 12px; color:
|
|
698
|
+
<div style="background: var(--bg-primary, white); padding: 32px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
699
|
+
<h4 style="margin: 0 0 20px 0; font-size: 12px; color:var(--accent-indigo,#6366f1); text-transform: uppercase; font-weight: 800;">Hardware Accelerated RTL</h4>
|
|
325
700
|
<div style="display: flex; flex-direction: column; gap: 20px;">
|
|
326
701
|
<ui-switch label="تبديل النظام" rtl="true" color="primary" checked></ui-switch>
|
|
327
702
|
<ui-switch label="حالة الشبكة" rtl="true" color="success"></ui-switch>
|
|
328
|
-
<p style="font-size: 11px; color:
|
|
703
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin-top: 10px;">Sub-pixel mirrored layout for Global/ME region deployments.</p>
|
|
329
704
|
</div>
|
|
330
705
|
</div>
|
|
331
706
|
|
|
332
|
-
<div style="background: white; padding: 32px; border-radius: 20px; border:
|
|
707
|
+
<div style="background: var(--bg-primary, white); padding: 32px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
333
708
|
<h4 style="margin: 0 0 20px 0; font-size: 12px; color: #10b981; text-transform: uppercase; font-weight: 800;">Async Scanning (Shimmer)</h4>
|
|
334
709
|
<div style="display: flex; flex-direction: column; gap: 20px;">
|
|
335
710
|
<ui-switch label="Resolving Promises" loading="true" checked></ui-switch>
|
|
336
711
|
<ui-switch label="Establishing Link" loading="true" color="info"></ui-switch>
|
|
337
|
-
<p style="font-size: 11px; color:
|
|
712
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin-top: 10px;">Digital scanning grid visualizes the "Pending" state during async cycles.</p>
|
|
338
713
|
</div>
|
|
339
714
|
</div>
|
|
340
715
|
|
|
341
|
-
<div style="background: white; padding: 32px; border-radius: 20px; border:
|
|
342
|
-
<h4 style="margin: 0 0 20px 0; font-size: 12px; color:
|
|
716
|
+
<div style="background: var(--bg-primary, white); padding: 32px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
717
|
+
<h4 style="margin: 0 0 20px 0; font-size: 12px; color:var(--accent-yellow,#f59e0b); text-transform: uppercase; font-weight: 800;">Mixed Selection Support</h4>
|
|
343
718
|
<div style="display: flex; flex-direction: column; gap: 20px;">
|
|
344
719
|
<ui-switch label="Mixed Sub-states" indeterminate="true" color="warning"></ui-switch>
|
|
345
|
-
<p style="font-size: 11px; color:
|
|
720
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin-top: 10px;">Visual archetype for "Partial Selection" in hierarchical dashboard systems.</p>
|
|
346
721
|
</div>
|
|
347
722
|
</div>
|
|
348
723
|
|
|
349
|
-
<div style="background: white; padding: 32px; border-radius: 20px; border:
|
|
350
|
-
<h4 style="margin: 0 0 20px 0; font-size: 12px; color:
|
|
724
|
+
<div style="background: var(--bg-primary, white); padding: 32px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
725
|
+
<h4 style="margin: 0 0 20px 0; font-size: 12px; color:var(--text-secondary,#64748b); text-transform: uppercase; font-weight: 800;">Operational Restrictions</h4>
|
|
351
726
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
352
727
|
<ui-switch label="Read-Only Mode" checked readonly color="success"></ui-switch>
|
|
353
728
|
<ui-switch label="Disabled Matrix" disabled checked></ui-switch>
|
|
@@ -355,18 +730,18 @@ export function initSwitchDemo() {
|
|
|
355
730
|
</div>
|
|
356
731
|
</div>
|
|
357
732
|
|
|
358
|
-
<div style="background: white; padding: 32px; border-radius: 20px; border:
|
|
359
|
-
<h4 style="margin: 0 0 20px 0; font-size: 12px; color:
|
|
733
|
+
<div style="background: var(--bg-primary, white); padding: 32px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
734
|
+
<h4 style="margin: 0 0 20px 0; font-size: 12px; color:var(--accent-red,#ef4444); text-transform: uppercase; font-weight: 800;">Validation Substrate</h4>
|
|
360
735
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
361
736
|
<ui-switch label="Security Violation" invalid error-message="Token validation failed" checked color="danger"></ui-switch>
|
|
362
737
|
<ui-switch label="Operational Hint" helper-text="Secondary auth required" color="info"></ui-switch>
|
|
363
738
|
</div>
|
|
364
739
|
</div>
|
|
365
740
|
|
|
366
|
-
<div style="background:
|
|
367
|
-
<h4 style="margin: 0; font-size: 12px; color:
|
|
741
|
+
<div style="background: var(--bg-secondary,#f8fafc); padding: 32px; border-radius: 24px; display: flex; flex-direction: column; gap: 32px; border: 1px solid var(--border-default,#e2e8f0);">
|
|
742
|
+
<h4 style="margin: 0; font-size: 12px; color: var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 1px; font-weight: 800;">Apex Life-cycle & Veto</h4>
|
|
368
743
|
<div style="display: flex; flex-direction: column; gap: 24px;">
|
|
369
|
-
<div style="background:
|
|
744
|
+
<div style="background: var(--bg-primary,white); padding: 20px; border-radius: 16px; border: 1px solid var(--border-default,#e2e8f0);">
|
|
370
745
|
<ui-switch
|
|
371
746
|
label="Async Promise Flow"
|
|
372
747
|
async="true"
|
|
@@ -374,9 +749,9 @@ export function initSwitchDemo() {
|
|
|
374
749
|
color="success"
|
|
375
750
|
glow>
|
|
376
751
|
</ui-switch>
|
|
377
|
-
<p style="font-size: 10px;
|
|
752
|
+
<p style="font-size: 10px; color: var(--text-secondary,#94a3b8); margin-top: 10px;">Enters 'Pending' state until server-side ACK (2s latency simulated).</p>
|
|
378
753
|
</div>
|
|
379
|
-
<div style="background:
|
|
754
|
+
<div style="background: var(--bg-primary,white); padding: 20px; border-radius: 16px; border: 1px solid var(--border-default,#e2e8f0);">
|
|
380
755
|
<ui-switch
|
|
381
756
|
label="Security Veto (Shake)"
|
|
382
757
|
async="true"
|
|
@@ -386,13 +761,13 @@ export function initSwitchDemo() {
|
|
|
386
761
|
glow
|
|
387
762
|
haptic="true">
|
|
388
763
|
</ui-switch>
|
|
389
|
-
<p style="font-size: 10px;
|
|
764
|
+
<p style="font-size: 10px; color: var(--text-secondary,#94a3b8); margin-top: 10px;">Rejects toggle with visual shake and tactical vibration pattern.</p>
|
|
390
765
|
</div>
|
|
391
766
|
</div>
|
|
392
767
|
</div>
|
|
393
768
|
|
|
394
|
-
<div style="background: white; padding: 32px; border-radius: 20px; border:
|
|
395
|
-
<h4 style="margin: 0 0 20px 0; font-size: 12px; color:
|
|
769
|
+
<div style="background: var(--bg-primary, white); padding: 32px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
770
|
+
<h4 style="margin: 0 0 20px 0; font-size: 12px; color:var(--accent-indigo,#6366f1); text-transform: uppercase; font-weight: 800;">Interaction Tier (A11y)</h4>
|
|
396
771
|
<div style="display: flex; flex-direction: column; gap: 20px;">
|
|
397
772
|
<ui-switch label="Focus Mastery" description="Tab here for color-synced ring"></ui-switch>
|
|
398
773
|
<ui-switch label="Tactile Press" description="Hold for scale-down effect" color="warning"></ui-switch>
|
|
@@ -417,56 +792,56 @@ export function initSwitchDemo() {
|
|
|
417
792
|
<div style="position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%); filter: blur(50px);"></div>
|
|
418
793
|
|
|
419
794
|
<!-- Icon Examples -->
|
|
420
|
-
<div class="demo-specimen" style="background:
|
|
795
|
+
<div class="demo-specimen" style="background: var(--bg-primary, #ffffff); backdrop-filter: blur(20px); padding: 32px; border-radius: 24px; border: 1px solid var(--border-default, rgba(0,0,0,0.08)); display: flex; flex-direction: column; gap: 32px; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);">
|
|
421
796
|
<div style="display: flex; justify-content: space-between; align-items: center;">
|
|
422
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
423
|
-
<div style="padding: 4px 10px; background: rgba(99, 102, 241, 0.1); border-radius: 8px; color:
|
|
797
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--accent-indigo,#6366f1); text-transform: uppercase; letter-spacing: 1px; font-weight: 800;">Dynamic Symbol Systems</h4>
|
|
798
|
+
<div style="padding: 4px 10px; background: rgba(99, 102, 241, 0.1); border-radius: 8px; color:var(--accent-indigo,#6366f1); font-size: 10px; font-weight: 700;">VECTOR GLYPHS</div>
|
|
424
799
|
</div>
|
|
425
|
-
<p style="font-size: 12px; color:
|
|
800
|
+
<p style="font-size: 12px; color:var(--text-secondary,#64748b); margin: -16px 0 0 0; line-height: 1.5;">Expressive symbols to enhance cognitive state recognition and accessibility.</p>
|
|
426
801
|
|
|
427
802
|
<div style="display: flex; flex-direction: column; gap: 24px;">
|
|
428
|
-
<div style="background: white; padding: 20px; border-radius: 20px; border:
|
|
803
|
+
<div style="background: var(--bg-primary, white); padding: 20px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9); position: relative;">
|
|
429
804
|
<ui-switch label="Audio Matrix" checked icon-on="volume-high" icon-off="volume-mute" size="large" glow color="primary"></ui-switch>
|
|
430
805
|
<div style="position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 10px; opacity: 0.3; font-weight: 700;">70% GAIN</div>
|
|
431
806
|
</div>
|
|
432
|
-
<div style="background: white; padding: 20px; border-radius: 20px; border:
|
|
807
|
+
<div style="background: var(--bg-primary, white); padding: 20px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9); position: relative;">
|
|
433
808
|
<ui-switch label="Emergency Protocol" icon-on="nuclear" icon-off="lock-open" size="large" glow color="danger"></ui-switch>
|
|
434
809
|
<div style="position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 10px; opacity: 0.3; font-weight: 700;">STANDBY</div>
|
|
435
810
|
</div>
|
|
436
|
-
<div style="background: white; padding: 20px; border-radius: 20px; border:
|
|
811
|
+
<div style="background: var(--bg-primary, white); padding: 20px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
437
812
|
<ui-switch label="Wide Status Matrix" width="160px" checked show-track-text="true" checked-text="OPERATIONAL" unchecked-text="STANDBY" icon-on="pulse" icon-off="infinite" size="large" glow color="success"></ui-switch>
|
|
438
813
|
</div>
|
|
439
814
|
</div>
|
|
440
815
|
</div>
|
|
441
816
|
|
|
442
817
|
<!-- Image Examples -->
|
|
443
|
-
<div class="demo-specimen" style="background:
|
|
444
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
818
|
+
<div class="demo-specimen" style="background: var(--bg-primary, #ffffff); backdrop-filter: blur(20px); padding: 32px; border-radius: 24px; border: 1px solid var(--border-default, rgba(0,0,0,0.08)); display: flex; flex-direction: column; gap: 32px; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);">
|
|
819
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 1px; font-weight: 800;">Raster Texture Mapping</h4>
|
|
445
820
|
<div style="display: flex; flex-direction: column; gap: 24px;">
|
|
446
|
-
<div style="background: white; padding: 16px; border-radius: 16px; border:
|
|
821
|
+
<div style="background: var(--bg-primary, white); padding: 16px; border-radius: 16px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
447
822
|
<ui-switch
|
|
448
823
|
label="Regional Cluster"
|
|
449
824
|
checked
|
|
450
825
|
size="xl"
|
|
451
|
-
checked-image="
|
|
452
|
-
unchecked-image="
|
|
826
|
+
checked-image="/build/assets/images/nature_desert_3.png"
|
|
827
|
+
unchecked-image="/build/assets/images/nature_forest_1.png"
|
|
453
828
|
></ui-switch>
|
|
454
829
|
</div>
|
|
455
|
-
<div style="background: white; padding: 16px; border-radius: 16px; border:
|
|
830
|
+
<div style="background: var(--bg-primary, white); padding: 16px; border-radius: 16px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
456
831
|
<ui-switch
|
|
457
832
|
label="Identity Matrix"
|
|
458
833
|
size="xl"
|
|
459
|
-
checked-image="
|
|
460
|
-
unchecked-image="
|
|
834
|
+
checked-image="/build/assets/images/logo.png"
|
|
835
|
+
unchecked-image="/build/assets/images/logo.png"
|
|
461
836
|
></ui-switch>
|
|
462
837
|
</div>
|
|
463
838
|
</div>
|
|
464
839
|
</div>
|
|
465
840
|
|
|
466
841
|
<!-- Multi-State Fusion -->
|
|
467
|
-
<div class="demo-specimen" style="background: #
|
|
468
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
469
|
-
<div style="display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(
|
|
842
|
+
<div class="demo-specimen" style="background: var(--bg-tertiary, #f1f5f9); padding: 32px; border-radius: 24px; color: var(--text-primary); display: flex; flex-direction: column; gap: 32px; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); grid-column: span 1;">
|
|
843
|
+
<h4 style="margin: 0; font-size: 13px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; font-weight: 800;">Atmospheric Fusion</h4>
|
|
844
|
+
<div style="display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--bg-secondary, rgba(0,0,0,0.04)); border-radius: 16px; border: 1px solid var(--border-default);">
|
|
470
845
|
<ui-switch
|
|
471
846
|
label="Orbital Mode"
|
|
472
847
|
checked
|
|
@@ -488,19 +863,80 @@ export function initSwitchDemo() {
|
|
|
488
863
|
window.showSwitchSizes = function () {
|
|
489
864
|
const container = document.getElementById('switchDemoContainer');
|
|
490
865
|
container.innerHTML = `
|
|
491
|
-
<div class="demo-block reveal-slide-up">
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
<
|
|
496
|
-
<
|
|
497
|
-
<
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
866
|
+
<div class="demo-block reveal-slide-up" style="display: flex; flex-direction: column; gap: 40px;">
|
|
867
|
+
|
|
868
|
+
<!-- Panel 1: Scale Ladder -->
|
|
869
|
+
<div>
|
|
870
|
+
<h3 class="specimen-title">📏 Scale Ladder</h3>
|
|
871
|
+
<p class="specimen-description">All 9 sizes compared across four visual states.</p>
|
|
872
|
+
<div style="background: var(--bg-primary,white); border: 1px solid var(--border-default,#e2e8f0); border-radius: 16px; overflow: hidden;">
|
|
873
|
+
<div style="display: grid; grid-template-columns: 120px 1fr 1fr 1fr 1fr; background: var(--bg-secondary,#f8fafc); padding: 12px 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary,#64748b); border-bottom: 1px solid var(--border-default,#e2e8f0);">
|
|
874
|
+
<span>Size</span><span>Off</span><span>On</span><span>Glow</span><span>Raised</span>
|
|
875
|
+
</div>
|
|
876
|
+
${[
|
|
877
|
+
['xxxs', 'XXX Small'], ['xxs', 'XX Small'], ['xs', 'X Small'], ['sm', 'Small'],
|
|
878
|
+
['md', 'Medium'], ['lg', 'Large'], ['xl', 'X Large'], ['xxl', 'XX Large'], ['xxxl', 'XXX Large']
|
|
879
|
+
].map(([s, label], i) => `
|
|
880
|
+
<div style="display: grid; grid-template-columns: 120px 1fr 1fr 1fr 1fr; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border-subtle,#f1f5f9); background: ${i % 2 === 1 ? 'var(--bg-secondary,#f8fafc)' : 'transparent'};">
|
|
881
|
+
<span style="font-size: 11px; font-weight: 700; color: var(--text-secondary,#64748b); font-family: monospace;">${s}</span>
|
|
882
|
+
<div><ui-switch size="${s}"></ui-switch></div>
|
|
883
|
+
<div><ui-switch size="${s}" checked color="primary"></ui-switch></div>
|
|
884
|
+
<div><ui-switch size="${s}" checked color="success" glow></ui-switch></div>
|
|
885
|
+
<div><ui-switch size="${s}" checked variant="raised" color="info"></ui-switch></div>
|
|
886
|
+
</div>`).join('')}
|
|
887
|
+
</div>
|
|
888
|
+
</div>
|
|
889
|
+
|
|
890
|
+
<!-- Panel 2: Visual Comparison Row -->
|
|
891
|
+
<div>
|
|
892
|
+
<h3 class="specimen-title">🔭 Visual Comparison</h3>
|
|
893
|
+
<p class="specimen-description">All 9 sizes side-by-side to feel the scale progression.</p>
|
|
894
|
+
<div style="background: var(--bg-secondary,#f8fafc); border: 1px solid var(--border-default,#e2e8f0); border-radius: 16px; padding: 32px 24px; display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap;">
|
|
895
|
+
${[
|
|
896
|
+
['xxxs', 'xxxs'], ['xxs', 'xxs'], ['xs', 'xs'], ['sm', 'sm'], ['md', 'md'],
|
|
897
|
+
['lg', 'lg'], ['xl', 'xl'], ['xxl', 'xxl'], ['xxxl', 'xxxl']
|
|
898
|
+
].map(([s]) => `
|
|
899
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
900
|
+
<ui-switch size="${s}" checked color="primary" glow></ui-switch>
|
|
901
|
+
<span style="font-size: 10px; font-weight: 700; color: var(--text-secondary,#64748b); font-family: monospace;">${s}</span>
|
|
902
|
+
</div>`).join('')}
|
|
903
|
+
</div>
|
|
904
|
+
</div>
|
|
905
|
+
|
|
906
|
+
<!-- Panel 3: Sizes × Variants Matrix -->
|
|
907
|
+
<div>
|
|
908
|
+
<h3 class="specimen-title">🧩 Sizes × Variants</h3>
|
|
909
|
+
<p class="specimen-description">Core sizes against all four visual variants.</p>
|
|
910
|
+
<div style="background: var(--bg-primary,white); border: 1px solid var(--border-default,#e2e8f0); border-radius: 16px; overflow: hidden;">
|
|
911
|
+
<div style="display: grid; grid-template-columns: 80px repeat(4, 1fr); background: var(--bg-secondary,#f8fafc); padding: 12px 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary,#64748b); border-bottom: 1px solid var(--border-default,#e2e8f0);">
|
|
912
|
+
<span>Size</span><span>Solid</span><span>Glass</span><span>Raised</span><span>Outlined</span>
|
|
913
|
+
</div>
|
|
914
|
+
${[['xs', 'X Small'], ['sm', 'Small'], ['md', 'Medium'], ['lg', 'Large'], ['xl', 'X Large'], ['xxl', 'XX Large']].map(([s,], i) => `
|
|
915
|
+
<div style="display: grid; grid-template-columns: 80px repeat(4, 1fr); align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border-subtle,#f1f5f9); background: ${i % 2 === 1 ? 'var(--bg-secondary,#f8fafc)' : 'transparent'};">
|
|
916
|
+
<span style="font-size: 11px; font-weight: 700; color: var(--text-secondary,#64748b); font-family: monospace;">${s}</span>
|
|
917
|
+
<div><ui-switch size="${s}" variant="solid" checked color="primary"></ui-switch></div>
|
|
918
|
+
<div class="dark" style="padding: 8px; border-radius: 8px; background: #1e293b; display:inline-block;"><ui-switch size="${s}" variant="glass" checked color="info" ></ui-switch></div>
|
|
919
|
+
<div><ui-switch size="${s}" variant="raised" checked color="success"></ui-switch></div>
|
|
920
|
+
<div><ui-switch size="${s}" variant="outlined" checked color="warning"></ui-switch></div>
|
|
921
|
+
</div>`).join('')}
|
|
922
|
+
</div>
|
|
503
923
|
</div>
|
|
924
|
+
|
|
925
|
+
<!-- Panel 4: Icon Thumb at All Sizes -->
|
|
926
|
+
<div>
|
|
927
|
+
<h3 class="specimen-title">🎨 Icon Thumb at Every Size</h3>
|
|
928
|
+
<p class="specimen-description">Check/X icons scale proportionally with the thumb.</p>
|
|
929
|
+
<div style="background: var(--bg-secondary,#f8fafc); border: 1px solid var(--border-default,#e2e8f0); border-radius: 16px; padding: 32px 24px; display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap;">
|
|
930
|
+
${[
|
|
931
|
+
['xs', 'xs'], ['sm', 'sm'], ['md', 'md'], ['lg', 'lg'], ['xl', 'xl'], ['xxl', 'xxl'], ['xxxl', 'xxxl']
|
|
932
|
+
].map(([s]) => `
|
|
933
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
934
|
+
<ui-switch size="${s}" checked icon-on="checkmark" icon-off="close" color="success" glow></ui-switch>
|
|
935
|
+
<span style="font-size: 10px; font-weight: 700; color: var(--text-secondary,#64748b); font-family: monospace;">${s}</span>
|
|
936
|
+
</div>`).join('')}
|
|
937
|
+
</div>
|
|
938
|
+
</div>
|
|
939
|
+
|
|
504
940
|
</div>
|
|
505
941
|
`;
|
|
506
942
|
};
|
|
@@ -514,49 +950,49 @@ export function initSwitchDemo() {
|
|
|
514
950
|
<h3 class="specimen-title">🧬 Precision Mechanical Engines</h3>
|
|
515
951
|
<p class="specimen-description">High-fidelity kinematic archetypes for tactical state management.</p>
|
|
516
952
|
|
|
517
|
-
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; background: #
|
|
953
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; background: var(--bg-secondary, #f8fafc); padding: 60px; border-radius: 40px; position: relative; overflow: hidden;">
|
|
518
954
|
<!-- Scanning grid effect -->
|
|
519
955
|
<div style="position: absolute; inset: 0; background-image: radial-gradient(rgba(var(--primary-rgb), 0.1) 1px, transparent 1px); background-size: 32px 32px; opacity: 0.5;"></div>
|
|
520
956
|
|
|
521
|
-
<div class="demo-specimen" style="background:
|
|
957
|
+
<div class="demo-specimen" style="background: var(--bg-primary, #ffffff); backdrop-filter: blur(12px); padding: 32px; border-radius: 24px; border: 1px solid var(--border-default); color: var(--text-primary); transition: all 0.3s;">
|
|
522
958
|
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;">
|
|
523
959
|
<h4 style="margin: 0; font-size: 12px; color: #10b981; text-transform: uppercase; letter-spacing: 1px; font-weight: 800;">Kinetic Engine: Liquid</h4>
|
|
524
960
|
<ui-icon name="water" library="ionicons" size="18px"></ui-icon>
|
|
525
961
|
</div>
|
|
526
|
-
<div style="background: rgba(
|
|
962
|
+
<div style="background: var(--bg-secondary, rgba(0,0,0,0.03)); padding: 24px; border-radius: 16px; border: 1px solid var(--border-subtle); margin-bottom: 20px;">
|
|
527
963
|
<ui-switch label="Fluid Interaction" physics="liquid" checked glow color="info" size="large" icon-on="sparkles" icon-off="zap"></ui-switch>
|
|
528
964
|
</div>
|
|
529
965
|
<p style="font-size: 11px; opacity: 0.5; line-height: 1.6;">Optimal viscosity. 400ms balanced response time suitable for standard utility toggles.</p>
|
|
530
966
|
</div>
|
|
531
967
|
|
|
532
|
-
<div class="demo-specimen" style="background:
|
|
968
|
+
<div class="demo-specimen" style="background: var(--bg-primary, #ffffff); backdrop-filter: blur(12px); padding: 32px; border-radius: 24px; border: 1px solid var(--border-default); color: var(--text-primary); transition: all 0.3s;">
|
|
533
969
|
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;">
|
|
534
970
|
<h4 style="margin: 0; font-size: 12px; color: #f43f5e; text-transform: uppercase; letter-spacing: 1px; font-weight: 800;">Kinetic Engine: Stiff</h4>
|
|
535
971
|
<ui-icon name="flash" library="ionicons" size="18px"></ui-icon>
|
|
536
972
|
</div>
|
|
537
|
-
<div style="background: rgba(
|
|
973
|
+
<div style="background: var(--bg-secondary, rgba(0,0,0,0.03)); padding: 24px; border-radius: 16px; border: 1px solid var(--border-subtle); margin-bottom: 20px;">
|
|
538
974
|
<ui-switch label="Rapid Engagement" physics="stiff" checked glow color="danger" size="large" icon-on="lock-closed" icon-off="lock-open"></ui-switch>
|
|
539
975
|
</div>
|
|
540
976
|
<p style="font-size: 11px; opacity: 0.5; line-height: 1.6;">High-tension spring. 200ms instantaneous response for pro-tools and rapid state changes.</p>
|
|
541
977
|
</div>
|
|
542
978
|
|
|
543
|
-
<div class="demo-specimen" style="background:
|
|
979
|
+
<div class="demo-specimen" style="background: var(--bg-primary, #ffffff); backdrop-filter: blur(12px); padding: 32px; border-radius: 24px; border: 1px solid var(--border-default); color: var(--text-primary); transition: all 0.3s;">
|
|
544
980
|
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;">
|
|
545
|
-
<h4 style="margin: 0; font-size: 12px; color:
|
|
981
|
+
<h4 style="margin: 0; font-size: 12px; color:var(--accent-yellow,#f59e0b); text-transform: uppercase; letter-spacing: 1px; font-weight: 800;">Kinetic Engine: Bouncy</h4>
|
|
546
982
|
<ui-icon name="notifications" library="ionicons" size="18px"></ui-icon>
|
|
547
983
|
</div>
|
|
548
|
-
<div style="background: rgba(
|
|
984
|
+
<div style="background: var(--bg-secondary, rgba(0,0,0,0.03)); padding: 24px; border-radius: 16px; border: 1px solid var(--border-subtle); margin-bottom: 20px;">
|
|
549
985
|
<ui-switch label="Elastic Feedback" physics="bouncy" checked glow color="warning" size="large" icon-on="notifications" icon-off="notifications-off"></ui-switch>
|
|
550
986
|
</div>
|
|
551
987
|
<p style="font-size: 11px; opacity: 0.5; line-height: 1.6;">Undamped physics. 500ms overshoot with settling oscillation for playful interactions.</p>
|
|
552
988
|
</div>
|
|
553
989
|
|
|
554
|
-
<div class="demo-specimen" style="background:
|
|
990
|
+
<div class="demo-specimen" style="background: var(--bg-primary, #ffffff); backdrop-filter: blur(12px); padding: 32px; border-radius: 24px; border: 1px solid var(--border-default); color: var(--text-primary); transition: all 0.3s;">
|
|
555
991
|
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;">
|
|
556
|
-
<h4 style="margin: 0; font-size: 12px; color:
|
|
992
|
+
<h4 style="margin: 0; font-size: 12px; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 1px; font-weight: 800;">Kinetic Engine: Linear</h4>
|
|
557
993
|
<ui-icon name="settings" library="ionicons" size="18px"></ui-icon>
|
|
558
994
|
</div>
|
|
559
|
-
<div style="background: rgba(
|
|
995
|
+
<div style="background: var(--bg-secondary, rgba(0,0,0,0.03)); padding: 24px; border-radius: 16px; border: 1px solid var(--border-subtle); margin-bottom: 20px;">
|
|
560
996
|
<ui-switch label="Mechanical Steady" physics="linear" checked color="secondary" glow size="large" icon-on="checkmark" icon-off="close"></ui-switch>
|
|
561
997
|
</div>
|
|
562
998
|
<p style="font-size: 11px; opacity: 0.5; line-height: 1.6;">Zero-acceleration. Industrial constant-velocity movement for strictly mechanical feeling.</p>
|
|
@@ -578,11 +1014,11 @@ export function initSwitchDemo() {
|
|
|
578
1014
|
<div style="display: flex; flex-direction: column; gap: 50px;">
|
|
579
1015
|
|
|
580
1016
|
<!-- Layout Orchestration -->
|
|
581
|
-
<div style="background: white; padding: 32px; border-radius: 20px; border:
|
|
582
|
-
<h4 style="margin: 0 0 24px 0; font-size: 13px; color:
|
|
1017
|
+
<div style="background: var(--bg-primary, white); padding: 32px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9); box-shadow: 0 4px 20px rgba(0,0,0,0.02);">
|
|
1018
|
+
<h4 style="margin: 0 0 24px 0; font-size: 13px; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 1px;">Layout Orchestration</h4>
|
|
583
1019
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px;">
|
|
584
1020
|
<div>
|
|
585
|
-
<p style="font-size: 11px; margin-bottom: 12px; color:
|
|
1021
|
+
<p style="font-size: 11px; margin-bottom: 12px; color:var(--text-secondary,#64748b); font-weight: 600;">HORIZONTAL (DEFAULT)</p>
|
|
586
1022
|
<ui-toggle-group
|
|
587
1023
|
value="prod"
|
|
588
1024
|
variant="primary"
|
|
@@ -596,7 +1032,7 @@ export function initSwitchDemo() {
|
|
|
596
1032
|
|
|
597
1033
|
<!-- Segmented Morphing Substrate (Apex Tier) -->
|
|
598
1034
|
<div>
|
|
599
|
-
<p style="font-size: 11px; margin-bottom: 12px; color:
|
|
1035
|
+
<p style="font-size: 11px; margin-bottom: 12px; color:var(--accent-indigo,#6366f1); font-weight: 800;">SEGMENTED KINETIC SYSTEM</p>
|
|
600
1036
|
<ui-toggle-group
|
|
601
1037
|
value="weekly"
|
|
602
1038
|
variant="segmented"
|
|
@@ -611,7 +1047,7 @@ export function initSwitchDemo() {
|
|
|
611
1047
|
</div>
|
|
612
1048
|
|
|
613
1049
|
<div>
|
|
614
|
-
<p style="font-size: 11px; margin-bottom: 12px; color:
|
|
1050
|
+
<p style="font-size: 11px; margin-bottom: 12px; color:var(--text-secondary,#64748b); font-weight: 600;">VERTICAL (PERMISSION MATRIX)</p>
|
|
615
1051
|
<ui-toggle-group
|
|
616
1052
|
layout="vertical"
|
|
617
1053
|
selection-mode="multiple"
|
|
@@ -625,7 +1061,7 @@ export function initSwitchDemo() {
|
|
|
625
1061
|
></ui-toggle-group>
|
|
626
1062
|
</div>
|
|
627
1063
|
<div style="grid-column: span 1;">
|
|
628
|
-
<p style="font-size: 11px; margin-bottom: 12px; color:
|
|
1064
|
+
<p style="font-size: 11px; margin-bottom: 12px; color:var(--text-secondary,#64748b); font-weight: 600;">GRID (3 COLUMNS)</p>
|
|
629
1065
|
<ui-toggle-group
|
|
630
1066
|
layout="grid"
|
|
631
1067
|
columns="3"
|
|
@@ -645,11 +1081,11 @@ export function initSwitchDemo() {
|
|
|
645
1081
|
</div>
|
|
646
1082
|
|
|
647
1083
|
<!-- Interactive Features -->
|
|
648
|
-
<div style="background: #f8fafc; padding: 32px; border-radius: 20px; border:
|
|
649
|
-
<h4 style="margin: 0 0 24px 0; font-size: 13px; color:
|
|
1084
|
+
<div style="background: var(--bg-secondary, #f8fafc); padding: 32px; border-radius: 20px; border:1px solid var(--border-default,#e2e8f0);">
|
|
1085
|
+
<h4 style="margin: 0 0 24px 0; font-size: 13px; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 1px;">Advanced Capabilities</h4>
|
|
650
1086
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px;">
|
|
651
|
-
<div style="background: white; padding: 24px; border-radius: 16px; border:
|
|
652
|
-
<p style="font-size: 11px; margin-bottom: 16px; color:
|
|
1087
|
+
<div style="background: var(--bg-primary, white); padding: 24px; border-radius: 16px; border:1px solid var(--border-default,#e2e8f0);">
|
|
1088
|
+
<p style="font-size: 11px; margin-bottom: 16px; color:var(--text-secondary,#64748b); font-weight: 600;">SEARCHABLE & MULTI-SELECT</p>
|
|
653
1089
|
<ui-toggle-group
|
|
654
1090
|
label="Fleet Management"
|
|
655
1091
|
searchable="true"
|
|
@@ -666,8 +1102,8 @@ export function initSwitchDemo() {
|
|
|
666
1102
|
]'
|
|
667
1103
|
></ui-toggle-group>
|
|
668
1104
|
</div>
|
|
669
|
-
<div style="background: white; padding: 24px; border-radius: 16px; border:
|
|
670
|
-
<p style="font-size: 11px; margin-bottom: 16px; color:
|
|
1105
|
+
<div style="background: var(--bg-primary, white); padding: 24px; border-radius: 16px; border:1px solid var(--border-default,#e2e8f0);">
|
|
1106
|
+
<p style="font-size: 11px; margin-bottom: 16px; color:var(--text-secondary,#64748b); font-weight: 600;">COLLAPSIBLE & DRAGGABLE</p>
|
|
671
1107
|
<ui-toggle-group
|
|
672
1108
|
label="System Modules"
|
|
673
1109
|
collapsible="true"
|
|
@@ -686,11 +1122,11 @@ export function initSwitchDemo() {
|
|
|
686
1122
|
</div>
|
|
687
1123
|
|
|
688
1124
|
<!-- Semantic States -->
|
|
689
|
-
<div style="background: white; padding: 32px; border-radius: 20px; border:
|
|
690
|
-
<h4 style="margin: 0 0 24px 0; font-size: 13px; color:
|
|
1125
|
+
<div style="background: var(--bg-primary, white); padding: 32px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
1126
|
+
<h4 style="margin: 0 0 24px 0; font-size: 13px; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 1px;">Visual Archetypes</h4>
|
|
691
1127
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px;">
|
|
692
1128
|
<div>
|
|
693
|
-
<p style="font-size: 11px; margin-bottom: 12px; color:
|
|
1129
|
+
<p style="font-size: 11px; margin-bottom: 12px; color:var(--text-secondary,#64748b); font-weight: 600;">SHAPE: PILL (FLAGSHIP)</p>
|
|
694
1130
|
<ui-toggle-group
|
|
695
1131
|
shape="pill"
|
|
696
1132
|
color="primary"
|
|
@@ -702,7 +1138,7 @@ export function initSwitchDemo() {
|
|
|
702
1138
|
></ui-toggle-group>
|
|
703
1139
|
</div>
|
|
704
1140
|
<div>
|
|
705
|
-
<p style="font-size: 11px; margin-bottom: 12px; color:
|
|
1141
|
+
<p style="font-size: 11px; margin-bottom: 12px; color:var(--text-secondary,#64748b); font-weight: 600;">SHAPE: ROUNDED (SOFT)</p>
|
|
706
1142
|
<ui-toggle-group
|
|
707
1143
|
shape="rounded"
|
|
708
1144
|
color="success"
|
|
@@ -714,7 +1150,7 @@ export function initSwitchDemo() {
|
|
|
714
1150
|
></ui-toggle-group>
|
|
715
1151
|
</div>
|
|
716
1152
|
<div>
|
|
717
|
-
<p style="font-size: 11px; margin-bottom: 12px; color:
|
|
1153
|
+
<p style="font-size: 11px; margin-bottom: 12px; color:var(--text-secondary,#64748b); font-weight: 600;">SHAPE: SQUARE (INDUSTRIAL)</p>
|
|
718
1154
|
<ui-toggle-group
|
|
719
1155
|
shape="square"
|
|
720
1156
|
color="info"
|
|
@@ -726,7 +1162,7 @@ export function initSwitchDemo() {
|
|
|
726
1162
|
></ui-toggle-group>
|
|
727
1163
|
</div>
|
|
728
1164
|
<div>
|
|
729
|
-
<p style="font-size: 11px; margin-bottom: 12px; color:
|
|
1165
|
+
<p style="font-size: 11px; margin-bottom: 12px; color:var(--text-secondary,#64748b); font-weight: 600;">SKELETON LOADING</p>
|
|
730
1166
|
<ui-toggle-group
|
|
731
1167
|
show-skeleton="true"
|
|
732
1168
|
skeleton-count="2"
|