atomicuilibrary 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/category-section.cjs.entry.js +2 -2
- package/dist/cjs/dom-BvBb0kmW.js +267 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +2 -2
- package/dist/cjs/{index-ClkOYpT8.js → index-C32cWsm5.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/library-card.cjs.entry.js +2 -2
- package/dist/cjs/lm-container_2.cjs.entry.js +2 -2
- package/dist/cjs/lm-panel_3.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-step.cjs.entry.js +2 -2
- package/dist/cjs/nav-bar.cjs.entry.js +4 -4
- package/dist/cjs/smart-step.cjs.entry.js +3 -3
- package/dist/cjs/timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-accordion_11.cjs.entry.js +132 -50
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2 -2
- package/dist/cjs/ui-anchor.cjs.entry.js +2 -2
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ui-aside-panel.cjs.entry.js +10 -11
- package/dist/cjs/ui-avatar-group_5.cjs.entry.js +1694 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ui-callout-banner.cjs.entry.js +2 -2
- package/dist/cjs/ui-card.cjs.entry.js +4 -3
- package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ui-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ui-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/ui-code-preview.cjs.entry.js +2 -2
- package/dist/cjs/ui-color-picker.cjs.entry.js +256 -22
- package/dist/cjs/ui-command-palette.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-box.cjs.entry.js +85 -11
- package/dist/cjs/ui-dialog-content.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +1 -1
- package/dist/cjs/ui-divider.cjs.entry.js +1 -1
- package/dist/cjs/ui-dock-host.cjs.entry.js +4 -4
- package/dist/cjs/ui-dock.cjs.entry.js +2 -2
- package/dist/cjs/ui-drag-drop.cjs.entry.js +2 -2
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +104 -34
- package/dist/cjs/ui-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab.cjs.entry.js +4 -4
- package/dist/cjs/ui-file-upload.cjs.entry.js +143 -44
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +2 -2
- package/dist/cjs/ui-knob.cjs.entry.js +1 -1
- package/dist/cjs/ui-label.cjs.entry.js +473 -0
- package/dist/cjs/ui-library.cjs.entry.js +2 -2
- package/dist/cjs/ui-list-group_2.cjs.entry.js +349 -60
- package/dist/cjs/ui-list.cjs.entry.js +76 -42
- package/dist/cjs/ui-masonry.cjs.entry.js +1 -1
- package/dist/cjs/ui-meter-group.cjs.entry.js +5 -4
- package/dist/cjs/ui-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ui-number-input.cjs.entry.js +7 -3
- package/dist/cjs/ui-otp-input.cjs.entry.js +5 -5
- package/dist/cjs/{ui-pagination_4.cjs.entry.js → ui-pagination_3.cjs.entry.js} +35 -506
- package/dist/cjs/ui-panel.cjs.entry.js +1 -1
- package/dist/cjs/ui-pattern-input.cjs.entry.js +46 -11
- package/dist/cjs/ui-progress.cjs.entry.js +66 -9
- package/dist/cjs/ui-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +2 -2
- package/dist/cjs/ui-scroll-top.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/ui-speed-dial.cjs.entry.js +1 -1
- package/dist/cjs/ui-speedometer.cjs.entry.js +28 -17
- package/dist/cjs/ui-splitter.cjs.entry.js +1 -1
- package/dist/cjs/ui-step.cjs.entry.js +2 -2
- package/dist/cjs/ui-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ui-switch.cjs.entry.js +14 -13
- package/dist/cjs/ui-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ui-tag.cjs.entry.js +58 -13
- package/dist/cjs/ui-timeline.cjs.entry.js +10 -2
- package/dist/cjs/ui-timer.cjs.entry.js +2 -2
- package/dist/cjs/ui-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-transfer-list.cjs.entry.js +6 -6
- package/dist/cjs/ui-tree.cjs.entry.js +30 -15
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +2 -2
- package/dist/collection/assets/js/component-config.js +1 -0
- package/dist/collection/assets/js/demo-loader.js +2 -0
- package/dist/collection/assets/js/demos/about-demo.js +13 -13
- package/dist/collection/assets/js/demos/accordion-demo.js +66 -66
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +102 -102
- package/dist/collection/assets/js/demos/anchor-demo.js +27 -28
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +12 -12
- package/dist/collection/assets/js/demos/aside-panel-demo.js +51 -51
- package/dist/collection/assets/js/demos/avatar-demo.js +433 -95
- package/dist/collection/assets/js/demos/badge-demo.js +51 -52
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +7 -7
- package/dist/collection/assets/js/demos/button-demo.js +117 -107
- package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
- package/dist/collection/assets/js/demos/callout-banner-demo.js +23 -23
- package/dist/collection/assets/js/demos/card-demo.js +23 -22
- package/dist/collection/assets/js/demos/carousel-demo.js +632 -360
- package/dist/collection/assets/js/demos/checkbox-demo.js +124 -7
- package/dist/collection/assets/js/demos/color-picker-demo.js +394 -100
- package/dist/collection/assets/js/demos/command-palette-demo.js +182 -65
- package/dist/collection/assets/js/demos/complex-form-demo.js +5 -5
- package/dist/collection/assets/js/demos/context-menu-demo.js +43 -43
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +3 -3
- package/dist/collection/assets/js/demos/dialog-demo.js +336 -230
- package/dist/collection/assets/js/demos/divider-demo.js +59 -62
- package/dist/collection/assets/js/demos/dock-demo.js +12 -12
- package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
- package/dist/collection/assets/js/demos/documentation-demo.js +34 -34
- package/dist/collection/assets/js/demos/drag-drop-demo.js +2 -2
- package/dist/collection/assets/js/demos/dropdown-demo.js +140 -136
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +2 -2
- package/dist/collection/assets/js/demos/empty-state-demo.js +294 -78
- package/dist/collection/assets/js/demos/fab-demo.js +95 -11
- package/dist/collection/assets/js/demos/file-upload-demo.js +641 -171
- package/dist/collection/assets/js/demos/home-components.js +2 -2
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +6 -6
- package/dist/collection/assets/js/demos/icon-demo.js +17 -17
- package/dist/collection/assets/js/demos/input-demo.js +147 -143
- package/dist/collection/assets/js/demos/knob-demo.js +29 -30
- package/dist/collection/assets/js/demos/label-demo.js +697 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +55 -55
- package/dist/collection/assets/js/demos/list-demo.js +185 -122
- package/dist/collection/assets/js/demos/loader-demo.js +48 -48
- package/dist/collection/assets/js/demos/masonry-demo.js +568 -140
- package/dist/collection/assets/js/demos/meter-group-demo.js +14 -16
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +25 -25
- package/dist/collection/assets/js/demos/my-profile-demo.js +27 -27
- package/dist/collection/assets/js/demos/nav-bar-demo.js +1 -1
- package/dist/collection/assets/js/demos/number-input-demo.js +262 -211
- package/dist/collection/assets/js/demos/pagination-demo.js +29 -29
- package/dist/collection/assets/js/demos/panel-demo.js +18 -25
- package/dist/collection/assets/js/demos/pattern-input-demo.js +278 -40
- package/dist/collection/assets/js/demos/popover-demo.js +240 -149
- package/dist/collection/assets/js/demos/progress-demo.js +170 -156
- package/dist/collection/assets/js/demos/radio-demo.js +73 -12
- package/dist/collection/assets/js/demos/range-slider-demo.js +33 -33
- package/dist/collection/assets/js/demos/rating-demo.js +19 -19
- package/dist/collection/assets/js/demos/scroll-top-demo.js +8 -9
- package/dist/collection/assets/js/demos/skeleton-demo.js +110 -52
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +2 -2
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +12 -12
- package/dist/collection/assets/js/demos/smart-menu-demo.js +17 -17
- package/dist/collection/assets/js/demos/snackbar-demo.js +53 -53
- package/dist/collection/assets/js/demos/speed-dial-demo.js +14 -14
- package/dist/collection/assets/js/demos/speedometer-demo.js +40 -32
- package/dist/collection/assets/js/demos/split-button-demo.js +2 -2
- package/dist/collection/assets/js/demos/splitter-demo.js +14 -14
- package/dist/collection/assets/js/demos/stack-demo.js +27 -27
- package/dist/collection/assets/js/demos/stepper-demo.js +49 -49
- package/dist/collection/assets/js/demos/switch-demo.js +561 -125
- package/dist/collection/assets/js/demos/tabs-demo.js +22 -22
- package/dist/collection/assets/js/demos/tag-demo.js +62 -62
- package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
- package/dist/collection/assets/js/demos/timeline-demo.js +10 -10
- package/dist/collection/assets/js/demos/timeline-playground.js +2 -2
- package/dist/collection/assets/js/demos/timer-demo.js +10 -10
- package/dist/collection/assets/js/demos/toolbar-demo.js +17 -17
- package/dist/collection/assets/js/demos/tooltip-demo.js +92 -90
- package/dist/collection/assets/js/demos/top-bar-demo.js +6 -6
- package/dist/collection/assets/js/demos/transfer-list-demo.js +20 -20
- package/dist/collection/assets/js/demos/tree-demo.js +50 -66
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/accordion/accordion.css +275 -9
- package/dist/collection/components/accordion/accordion.js +7 -6
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +5 -5
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
- package/dist/collection/components/anchor/anchor.css +1 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
- package/dist/collection/components/aside-panel/aside-panel.css +2 -2
- package/dist/collection/components/aside-panel/aside-panel.js +10 -11
- package/dist/collection/components/avatar/avatar.css +6 -6
- package/dist/collection/components/avatar/avatar.js +63 -11
- package/dist/collection/components/badge/badge.css +27 -17
- package/dist/collection/components/badge/badge.js +6 -3
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
- package/dist/collection/components/button/button.css +1 -0
- package/dist/collection/components/button/button.js +3 -3
- package/dist/collection/components/button-toggle/button-toggle.js +2 -2
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +161 -14
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +2 -2
- package/dist/collection/components/callout-banner/callout-banner.css +75 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1 -1
- package/dist/collection/components/card/card.css +221 -9
- package/dist/collection/components/card/card.js +3 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +110 -6
- package/dist/collection/components/color-picker/color-picker.js +302 -26
- package/dist/collection/components/context-menu/context-menu.css +9 -9
- package/dist/collection/components/dialog-box/dialog-box.js +116 -14
- package/dist/collection/components/dialog-header/dialog-header.js +1 -1
- package/dist/collection/components/dock/dock.css +116 -3
- package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
- package/dist/collection/components/drag-drop/drag-drop.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +101 -8
- package/dist/collection/components/dropdown/dropdown.js +94 -28
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/fab/fab.css +87 -15
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab-item/fab-item.js +1 -1
- package/dist/collection/components/file-upload/file-upload.css +1362 -31
- package/dist/collection/components/file-upload/file-upload.js +171 -50
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +9 -9
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.css +9 -0
- package/dist/collection/components/input/input.js +20 -9
- package/dist/collection/components/label/label.css +583 -0
- package/dist/collection/components/label/label.js +1669 -0
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
- package/dist/collection/components/library/category-section.js +1 -1
- package/dist/collection/components/library/library-card.js +1 -1
- package/dist/collection/components/library/library.js +1 -1
- package/dist/collection/components/list/list.css +46 -5
- package/dist/collection/components/list/list.js +76 -42
- package/dist/collection/components/list-group/list-group.css +0 -2
- package/dist/collection/components/list-group/list-group.js +11 -5
- package/dist/collection/components/list-item/list-item.css +403 -131
- package/dist/collection/components/list-item/list-item.js +345 -61
- package/dist/collection/components/loader/loader.css +1 -1
- package/dist/collection/components/loader/loader.js +2 -2
- package/dist/collection/components/meter-group/meter-group.css +5 -0
- package/dist/collection/components/meter-group/meter-group.js +3 -2
- package/dist/collection/components/my-step/my-step.js +1 -1
- package/dist/collection/components/nav-bar/nav-bar.css +4 -4
- package/dist/collection/components/nav-bar/nav-bar.js +6 -6
- package/dist/collection/components/number-input/number-input.js +6 -2
- package/dist/collection/components/otp-input/otp-input.css +10 -0
- package/dist/collection/components/otp-input/otp-input.js +3 -3
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pattern-input/pattern-input.css +0 -1
- package/dist/collection/components/pattern-input/pattern-input.js +44 -9
- package/dist/collection/components/popover/popover.css +35 -7
- package/dist/collection/components/popover/popover.js +64 -9
- package/dist/collection/components/progress/progress.css +176 -32
- package/dist/collection/components/progress/progress.js +66 -8
- package/dist/collection/components/radio/radio.css +2 -0
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/range-slider/range-slider.css +284 -31
- package/dist/collection/components/range-slider/range-slider.js +5 -5
- package/dist/collection/components/rating/rating.css +151 -65
- package/dist/collection/components/rating/rating.js +31 -13
- package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
- package/dist/collection/components/skeleton/skeleton-loader.css +144 -44
- package/dist/collection/components/skeleton/skeleton-loader.js +11 -7
- package/dist/collection/components/smart-stepper/smart-step.js +2 -2
- package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
- package/dist/collection/components/speedometer/speedometer.css +26 -6
- package/dist/collection/components/speedometer/speedometer.js +26 -15
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/switch/switch.css +367 -8
- package/dist/collection/components/switch/switch.js +13 -12
- package/dist/collection/components/tag/tag.css +38 -12
- package/dist/collection/components/tag/tag.js +58 -13
- package/dist/collection/components/tag-group/tag-group.css +0 -1
- package/dist/collection/components/tag-group/tag-group.js +3 -3
- package/dist/collection/components/timeline/timeline.css +380 -317
- package/dist/collection/components/timeline/timeline.js +8 -0
- package/dist/collection/components/timeline-item/timeline-item.js +1 -1
- package/dist/collection/components/timer/timer.js +1 -1
- package/dist/collection/components/toggle-group/toggle-group.css +7 -3
- package/dist/collection/components/toggle-group/toggle-group.js +7 -3
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/top-bar/top-bar.js +2 -2
- package/dist/collection/components/transfer-list/transfer-list.css +13 -13
- package/dist/collection/components/transfer-list/transfer-list.js +4 -4
- package/dist/collection/components/tree/tree.css +35 -21
- package/dist/collection/components/tree/tree.js +28 -13
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +34 -16
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +46 -11
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +7 -7
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
- package/dist/collection/utils/dom.js +151 -151
- package/dist/components/avatar-group.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-toggle.js +1 -1
- package/dist/components/button.js +1 -0
- package/dist/components/category-section2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/library-card2.js +1 -1
- package/dist/components/list-group.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/lm-container2.js +1 -1
- package/dist/components/lm-floating-window2.js +1 -1
- package/dist/components/lm-panel2.js +1 -1
- package/dist/components/lm-splitter2.js +1 -1
- package/dist/components/lm-tabs2.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/my-step.js +1 -1
- package/dist/components/nav-bar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.js +1 -0
- package/dist/components/radio.js +1 -1
- package/dist/components/range-slider.js +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/resizable-panel.js +1 -1
- package/dist/components/skeleton-loader.js +1 -1
- package/dist/components/smart-step.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag-group.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/timeline-item.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/ui-accordion.js +1 -1
- package/dist/components/ui-advanced-data-table.js +1 -1
- package/dist/components/ui-anchor.js +1 -1
- package/dist/components/ui-animate-on-scroll.js +1 -1
- package/dist/components/ui-aside-panel.js +1 -1
- package/dist/components/ui-badge.js +1 -1
- package/dist/components/ui-breadcrumb-item.js +1 -1
- package/dist/components/ui-breadcrumb.js +1 -1
- package/dist/components/ui-button-toggle-group.js +1 -1
- package/dist/components/ui-button.js +1 -1
- package/dist/components/ui-callout-banner.js +1 -1
- package/dist/components/ui-card.js +1 -1
- package/dist/components/ui-carousel.js +1 -1
- package/dist/components/ui-code-editor.js +1 -1
- package/dist/components/ui-code-preview.js +1 -1
- package/dist/components/ui-color-picker.js +1 -1
- package/dist/components/ui-command-palette.js +1 -1
- package/dist/components/ui-dialog-box.js +1 -1
- package/dist/components/ui-dock-host.js +1 -1
- package/dist/components/ui-dock.js +1 -1
- package/dist/components/ui-drag-drop.js +1 -1
- package/dist/components/ui-empty-state.js +1 -1
- package/dist/components/ui-fab-item.js +1 -1
- package/dist/components/ui-fab.js +1 -1
- package/dist/components/ui-file-upload.js +1 -1
- package/dist/components/ui-horizontal-nav.js +1 -1
- package/dist/components/ui-knob.js +1 -1
- package/dist/components/{ui-color-controller.d.ts → ui-label.d.ts} +4 -4
- package/dist/components/ui-label.js +1 -0
- package/dist/components/ui-library.js +1 -1
- package/dist/components/ui-list.js +1 -1
- package/dist/components/ui-masonry.js +1 -1
- package/dist/components/ui-meter-group.js +1 -1
- package/dist/components/ui-navigation-bar.js +1 -1
- package/dist/components/ui-navigation-item.js +1 -1
- package/dist/components/ui-number-input.js +1 -1
- package/dist/components/ui-otp-input.js +1 -1
- package/dist/components/ui-panel.js +1 -1
- package/dist/components/ui-pattern-input.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-scroll-top.js +1 -1
- package/dist/components/ui-smart-stepper.js +1 -1
- package/dist/components/ui-snackbar.js +1 -1
- package/dist/components/ui-speed-dial.js +1 -1
- package/dist/components/ui-speedometer.js +1 -1
- package/dist/components/ui-splitter.js +1 -1
- package/dist/components/ui-step.js +1 -1
- package/dist/components/ui-stepper.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-timeline.js +1 -1
- package/dist/components/ui-timer.js +1 -1
- package/dist/components/ui-toolbar.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-transfer-list.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/components/ui-workspace-manager.js +1 -1
- package/dist/esm/category-section.entry.js +2 -2
- package/dist/esm/dom-DFBTWhGw.js +262 -0
- package/dist/esm/exploration-project-tailwind.js +3 -3
- package/dist/esm/{index-DUsoYu9r.js → index-Dqu2zaH1.js} +1 -1
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/library-card.entry.js +2 -2
- package/dist/esm/lm-container_2.entry.js +2 -2
- package/dist/esm/lm-panel_3.entry.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-step.entry.js +2 -2
- package/dist/esm/nav-bar.entry.js +4 -4
- package/dist/esm/smart-step.entry.js +3 -3
- package/dist/esm/timeline-item.entry.js +2 -2
- package/dist/esm/ui-accordion_11.entry.js +132 -50
- package/dist/esm/ui-advanced-data-table.entry.js +2 -2
- package/dist/esm/ui-anchor.entry.js +2 -2
- package/dist/esm/ui-animate-on-scroll.entry.js +3 -3
- package/dist/esm/ui-aside-panel.entry.js +10 -11
- package/dist/esm/ui-avatar-group_5.entry.js +1688 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +3 -3
- package/dist/esm/ui-breadcrumb.entry.js +1 -1
- package/dist/esm/ui-callout-banner.entry.js +2 -2
- package/dist/esm/ui-card.entry.js +4 -3
- package/dist/esm/ui-carousel.entry.js +1 -1
- package/dist/esm/ui-checkbox.entry.js +3 -3
- package/dist/esm/ui-code-editor.entry.js +2 -2
- package/dist/esm/ui-code-preview.entry.js +2 -2
- package/dist/esm/ui-color-picker.entry.js +256 -22
- package/dist/esm/ui-command-palette.entry.js +1 -1
- package/dist/esm/ui-dialog-box.entry.js +85 -11
- package/dist/esm/ui-dialog-content.entry.js +1 -1
- package/dist/esm/ui-dialog-footer_2.entry.js +1 -1
- package/dist/esm/ui-divider.entry.js +1 -1
- package/dist/esm/ui-dock-host.entry.js +4 -4
- package/dist/esm/ui-dock.entry.js +2 -2
- package/dist/esm/ui-drag-drop.entry.js +2 -2
- package/dist/esm/ui-dropdown_2.entry.js +104 -34
- package/dist/esm/ui-empty-state.entry.js +2 -2
- package/dist/esm/ui-fab-item.entry.js +2 -2
- package/dist/esm/ui-fab.entry.js +4 -4
- package/dist/esm/ui-file-upload.entry.js +143 -44
- package/dist/esm/ui-horizontal-nav.entry.js +2 -2
- package/dist/esm/ui-knob.entry.js +1 -1
- package/dist/esm/ui-label.entry.js +471 -0
- package/dist/esm/ui-library.entry.js +2 -2
- package/dist/esm/ui-list-group_2.entry.js +349 -60
- package/dist/esm/ui-list.entry.js +76 -42
- package/dist/esm/ui-masonry.entry.js +1 -1
- package/dist/esm/ui-meter-group.entry.js +5 -4
- package/dist/esm/ui-navigation-item.entry.js +5 -5
- package/dist/esm/ui-number-input.entry.js +7 -3
- package/dist/esm/ui-otp-input.entry.js +5 -5
- package/dist/esm/{ui-pagination_4.entry.js → ui-pagination_3.entry.js} +36 -506
- package/dist/esm/ui-panel.entry.js +1 -1
- package/dist/esm/ui-pattern-input.entry.js +46 -11
- package/dist/esm/ui-progress.entry.js +66 -9
- package/dist/esm/ui-range-slider.entry.js +2 -2
- package/dist/esm/ui-resizable-panel.entry.js +2 -2
- package/dist/esm/ui-scroll-top.entry.js +1 -1
- package/dist/esm/ui-smart-context-menu.entry.js +1 -1
- package/dist/esm/ui-smart-stepper.entry.js +2 -2
- package/dist/esm/ui-snackbar.entry.js +1 -1
- package/dist/esm/ui-speed-dial.entry.js +1 -1
- package/dist/esm/ui-speedometer.entry.js +28 -17
- package/dist/esm/ui-splitter.entry.js +1 -1
- package/dist/esm/ui-step.entry.js +2 -2
- package/dist/esm/ui-stepper.entry.js +1 -1
- package/dist/esm/ui-switch.entry.js +14 -13
- package/dist/esm/ui-tabs.entry.js +2 -2
- package/dist/esm/ui-tag.entry.js +58 -13
- package/dist/esm/ui-timeline.entry.js +10 -2
- package/dist/esm/ui-timer.entry.js +2 -2
- package/dist/esm/ui-toolbar.entry.js +2 -2
- package/dist/esm/ui-tooltip.entry.js +4 -4
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-transfer-list.entry.js +6 -6
- package/dist/esm/ui-tree.entry.js +30 -15
- package/dist/esm/ui-workspace-manager.entry.js +2 -2
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -1
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
- package/dist/exploration-project-tailwind/{p-7ba2258a.entry.js → p-024a299a.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-0a71896a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-35296877.entry.js → p-0cdeb8d8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a42fdc33.entry.js → p-139cefbc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-036d2a44.entry.js → p-198c83e5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-236f47b1.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-81ebba11.entry.js → p-25530d0d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-41cd6bf0.entry.js → p-298f2057.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85e36111.entry.js → p-2b5a8e3e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8c6d395.entry.js → p-2b6aa7bc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-70bacda8.entry.js → p-2cfba753.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-cbee2607.entry.js → p-2fe22958.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-20ecc116.entry.js → p-3012e780.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-321c3f46.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8b57fe4e.entry.js → p-3ab43638.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-3ad7e47e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3b1ca826.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3ee8ddae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-e22317c1.entry.js → p-3efb44c8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-36861546.entry.js → p-42e3bc28.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4360331a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-2f961934.entry.js → p-443de32b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-898dd0fa.entry.js → p-44d15451.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4288c158.entry.js → p-46071679.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a3f465d9.entry.js → p-497d6182.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4ad8c55c.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-4aaa8e40.entry.js → p-4c46ac0b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-98e91da5.entry.js → p-5042ddaa.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-60190e0e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-60530874.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-200241f8.entry.js → p-6108565d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-fb4aca69.entry.js → p-62889cfe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c02284ea.entry.js → p-66f71613.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7889bfc4.entry.js → p-67c440b2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c1c8ac28.entry.js → p-6f09503f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-721bdbc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-747b02ea.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c6fd72e1.entry.js → p-754cb046.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-97af03cc.entry.js → p-7ed3bba2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d59da767.entry.js → p-864cebb7.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4d73c143.entry.js → p-96ee3196.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-54965530.entry.js → p-97086868.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d114a347.entry.js → p-9c5ced88.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9d3044d4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9e079be6.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-790556f0.entry.js → p-9e4c45f5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9eee7394.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-DFBTWhGw.js +1 -0
- package/dist/exploration-project-tailwind/p-Dqu2zaH1.js +2 -0
- package/dist/exploration-project-tailwind/p-a7bdedc2.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c87aeab6.entry.js → p-a8ec29de.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-6ddbee42.entry.js → p-ae617f62.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-05a436d3.entry.js → p-aef76052.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-b5f043fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-b637b91b.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d2e45c5e.entry.js → p-bc49a088.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-6b838549.entry.js → p-bd9a631f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8ba0c95.entry.js → p-bf4b6767.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c0fa400e.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8578b616.entry.js → p-c4f3d990.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c68ddb2f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c79574c4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c840098d.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-a1ad32a2.entry.js → p-c8663cbe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-cb6e38a6.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cb9f2df1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cfe8b696.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d00e13ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c4ba7e52.entry.js → p-d01ed934.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-aa85ff78.entry.js → p-d4e57d94.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ccb5c737.entry.js → p-d5bd3a3f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-45482d86.entry.js → p-d987cebe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-d9ae77c0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e9bae5c7.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f516fabc.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f68e2794.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d30e24bd.entry.js → p-fa034f69.entry.js} +1 -1
- package/dist/types/components/aside-panel/aside-panel.d.ts +0 -3
- package/dist/types/components/avatar/avatar.d.ts +3 -0
- package/dist/types/components/avatar/types.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/color-picker/color-picker.d.ts +35 -2
- package/dist/types/components/dialog-box/dialog-box.d.ts +10 -0
- package/dist/types/components/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/file-upload/file-upload.d.ts +23 -6
- package/dist/types/components/label/label.d.ts +290 -0
- package/dist/types/components/label/types.d.ts +39 -0
- package/dist/types/components/list/list.d.ts +2 -1
- package/dist/types/components/list-group/list-group.d.ts +1 -0
- package/dist/types/components/list-item/list-item.d.ts +45 -17
- package/dist/types/components/pattern-input/pattern-input.d.ts +6 -0
- package/dist/types/components/popover/popover.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +7 -0
- package/dist/types/components/range-slider/range-slider.d.ts +2 -2
- package/dist/types/components/rating/rating.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +1 -1
- package/dist/types/components/speedometer/speedometer.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +4 -0
- package/dist/types/components/tree/tree.d.ts +1 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +1 -1
- package/dist/types/components.d.ts +742 -425
- package/dist/types/types/common.d.ts +2 -2
- package/dist/types/types/common.type.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +4 -4
- package/package.json +4 -5
- package/dist/cjs/dom-oP1E4Rd3.js +0 -267
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
- package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
- package/dist/cjs/ui-popover.cjs.entry.js +0 -517
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
- package/dist/collection/components/color-controller/color-controller.css +0 -108
- package/dist/collection/components/color-controller/color-controller.js +0 -224
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +0 -357
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
- package/dist/components/ui-color-controller.js +0 -1
- package/dist/components/ui-smart-location-dropdown.d.ts +0 -11
- package/dist/components/ui-smart-location-dropdown.js +0 -1
- package/dist/esm/dom-BMFah5q3.js +0 -262
- package/dist/esm/ui-avatar-group_3.entry.js +0 -630
- package/dist/esm/ui-color-controller.entry.js +0 -148
- package/dist/esm/ui-popover.entry.js +0 -515
- package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-16bdd162.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-2347d21b.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-3d381f75.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4417a9d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-44742ddd.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4bef8bed.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4efd63ce.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5c835d90.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-71d95bb1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9bd14f69.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +0 -1
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
- package/dist/exploration-project-tailwind/p-a27f59d2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-a7b07cf4.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-bd89d060.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c63c522e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d6ce9721.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-dc92a343.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e76318c7.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-eab5ad36.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f0bc5d7e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f1beee72.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f543392f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f61cfb7c.entry.js +0 -1
- package/dist/types/components/color-controller/color-controller.d.ts +0 -24
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +0 -119
- package/dist/types/components/smart-location-dropdown/types.d.ts +0 -37
- /package/dist/collection/components/{smart-location-dropdown → label}/types.js +0 -0
|
@@ -18,6 +18,7 @@ export function initRadioDemo() {
|
|
|
18
18
|
<ui-button label="🎬 Staggered Reveal" onclick="showRadioRevealAnimations()" variant="outline"></ui-button>
|
|
19
19
|
<ui-button label="📖 Contextual Layouts" onclick="showRadioContextual()" variant="outline"></ui-button>
|
|
20
20
|
<ui-button label="States" onclick="showRadioStates()" variant="outline"></ui-button>
|
|
21
|
+
<ui-button label="🃏 Variants" onclick="showRadioVariants()" variant="outline"></ui-button>
|
|
21
22
|
</div>
|
|
22
23
|
|
|
23
24
|
<div id="radioDemoContainer" style="margin-top: 20px;"></div>
|
|
@@ -30,7 +31,7 @@ export function initRadioDemo() {
|
|
|
30
31
|
container.innerHTML = `
|
|
31
32
|
<div class="demo-block reveal-fade-in">
|
|
32
33
|
<h3 class="specimen-title">🎮 Interactive Playground</h3>
|
|
33
|
-
<div class="playground-settings" style="
|
|
34
|
+
<div class="playground-settings" style="padding: 24px; border-radius: 16px; margin-bottom: 24px;">
|
|
34
35
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;">
|
|
35
36
|
<div class="form-group">
|
|
36
37
|
<ui-input label="Label Text" id="radLabel" value="Tactical Priority" variant="outline" size="md"></ui-input>
|
|
@@ -87,7 +88,7 @@ export function initRadioDemo() {
|
|
|
87
88
|
</div>
|
|
88
89
|
</div>
|
|
89
90
|
|
|
90
|
-
<div class="playground-preview" style="padding: 60px;
|
|
91
|
+
<div class="playground-preview" style="padding: 60px; min-height: 200px; position: relative; overflow: hidden;">
|
|
91
92
|
<div id="radInteractivePreview"></div>
|
|
92
93
|
</div>
|
|
93
94
|
|
|
@@ -170,7 +171,7 @@ export function initRadioDemo() {
|
|
|
170
171
|
<p class="specimen-description">High-end filtering for rapid selection in dense data environments.</p>
|
|
171
172
|
|
|
172
173
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px;">
|
|
173
|
-
<div style="padding: 32px; background: white; border:
|
|
174
|
+
<div style="padding: 32px; background: var(--bg-primary, white); border:1px solid var(--border-subtle,#f1f5f9); border-radius: 24px;">
|
|
174
175
|
<h4 style="margin: 0 0 16px 0; font-size: 13px; opacity: 0.5;">Searchable Radio Cluster</h4>
|
|
175
176
|
<ui-radio-group
|
|
176
177
|
id="supremeRadioGroup"
|
|
@@ -219,8 +220,8 @@ export function initRadioDemo() {
|
|
|
219
220
|
<div style="padding: 24px; background: rgba(var(--primary-rgb, 139, 92, 246), 0.03); border-radius: 16px;">
|
|
220
221
|
<h4 style="margin: 0 0 16px 0; font-size: 13px; opacity: 0.5;">Visual Identity (Images)</h4>
|
|
221
222
|
<ui-radio-group value="user" size="md">
|
|
222
|
-
<ui-radio label="Profile Authenticated" custom-image="
|
|
223
|
-
<ui-radio label="Global Node" custom-image="
|
|
223
|
+
<ui-radio label="Profile Authenticated" custom-image="/build/assets/images/logo.png" color="info" value="user" checked haptic size="md"></ui-radio>
|
|
224
|
+
<ui-radio label="Global Node" custom-image="/build/assets/images/logo.png" color="primary" value="global" size="md"></ui-radio>
|
|
224
225
|
</ui-radio-group>
|
|
225
226
|
</div>
|
|
226
227
|
</div>
|
|
@@ -282,7 +283,7 @@ export function initRadioDemo() {
|
|
|
282
283
|
<p class="specimen-description">High-fidelity radio archetypes for exclusive state management.</p>
|
|
283
284
|
|
|
284
285
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;">
|
|
285
|
-
<div style="padding: 32px; background: #
|
|
286
|
+
<div style="padding: 32px; background: var(--bg-tertiary, #f1f5f9); border-radius: 20px; color: var(--text-primary); border: 1px solid var(--border-default);">
|
|
286
287
|
<h4 style="margin: 0 0 20px 0; font-size: 14px; opacity: 0.6; text-transform: uppercase;">Glassmorphism</h4>
|
|
287
288
|
<ui-radio
|
|
288
289
|
label="Frosted Sphere"
|
|
@@ -292,12 +293,12 @@ export function initRadioDemo() {
|
|
|
292
293
|
glow
|
|
293
294
|
checked>
|
|
294
295
|
</ui-radio>
|
|
295
|
-
<div style="margin-top: 16px; padding: 12px; background: rgba(
|
|
296
|
+
<div style="margin-top: 16px; padding: 12px; background: var(--bg-secondary, rgba(0,0,0,0.04)); border-radius: 8px; font-size: 12px;">
|
|
296
297
|
Atmospheric glow effects transition smoothly between states.
|
|
297
298
|
</div>
|
|
298
299
|
</div>
|
|
299
300
|
|
|
300
|
-
<div style="padding: 32px; background: #f8fafc; border-radius: 20px; border:
|
|
301
|
+
<div style="padding: 32px; background: var(--bg-secondary, #f8fafc); border-radius: 20px; border:1px solid var(--border-default,#e2e8f0);">
|
|
301
302
|
<h4 style="margin: 0 0 20px 0; font-size: 14px; opacity: 0.6; text-transform: uppercase;">Raised Relief</h4>
|
|
302
303
|
<ui-radio
|
|
303
304
|
label="Physical Toggle"
|
|
@@ -307,7 +308,7 @@ export function initRadioDemo() {
|
|
|
307
308
|
glow
|
|
308
309
|
checked>
|
|
309
310
|
</ui-radio>
|
|
310
|
-
<div style="margin-top: 16px; padding: 12px; background: white; border:
|
|
311
|
+
<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;">
|
|
311
312
|
Tactile sensation reinforced by liquid spring physics.
|
|
312
313
|
</div>
|
|
313
314
|
</div>
|
|
@@ -365,7 +366,7 @@ export function initRadioDemo() {
|
|
|
365
366
|
<h3 class="specimen-title">📖 Advanced Contextual Layouts</h3>
|
|
366
367
|
|
|
367
368
|
<div style="max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px;">
|
|
368
|
-
<div style="padding: 24px; border:
|
|
369
|
+
<div style="padding: 24px; border:1px solid var(--border-default,#e2e8f0); border-radius: 16px; background: var(--bg-primary, #fff);">
|
|
369
370
|
<h4 style="margin: 0 0 16px 0; font-size: 13px; opacity: 0.5;">Side-Metadata (Dense Mode)</h4>
|
|
370
371
|
<ui-radio-group value="stable">
|
|
371
372
|
<ui-radio label="Stable Release" description="• v1.0.4" description-position="side" color="success" checked haptic value="stable"></ui-radio>
|
|
@@ -374,7 +375,7 @@ export function initRadioDemo() {
|
|
|
374
375
|
</ui-radio-group>
|
|
375
376
|
</div>
|
|
376
377
|
|
|
377
|
-
<div style="padding: 24px; border:
|
|
378
|
+
<div style="padding: 24px; border:1px solid var(--border-default,#e2e8f0); border-radius: 16px; background: var(--bg-primary, #fff);">
|
|
378
379
|
<h4 style="margin: 0 0 16px 0; font-size: 13px; opacity: 0.5;">Premium Cards</h4>
|
|
379
380
|
<ui-radio-group value="card1">
|
|
380
381
|
<ui-radio value="card1" label="Hardware Isolation" description="Dedicated silicon-level security boundary" variant="card" color="primary"></ui-radio>
|
|
@@ -391,7 +392,7 @@ export function initRadioDemo() {
|
|
|
391
392
|
container.innerHTML = `
|
|
392
393
|
<div class="demo-block reveal-slide-up">
|
|
393
394
|
<h3 class="specimen-title">Standard Interactive States</h3>
|
|
394
|
-
<div style="display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 20px; background: #f8fafc; border-radius: 12px;">
|
|
395
|
+
<div style="display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 20px; background: var(--bg-secondary, #f8fafc); border-radius: 12px;">
|
|
395
396
|
<ui-radio label="Default" size="md"></ui-radio>
|
|
396
397
|
<ui-radio label="Checked" checked size="md"></ui-radio>
|
|
397
398
|
<ui-radio label="Disabled" disabled size="md"></ui-radio>
|
|
@@ -409,5 +410,65 @@ export function initRadioDemo() {
|
|
|
409
410
|
`;
|
|
410
411
|
};
|
|
411
412
|
|
|
413
|
+
window.showRadioVariants = function () {
|
|
414
|
+
const container = document.getElementById('radioDemoContainer');
|
|
415
|
+
if (!container) return;
|
|
416
|
+
container.innerHTML = `
|
|
417
|
+
<div style="display: flex; flex-direction: column; gap: 40px;">
|
|
418
|
+
|
|
419
|
+
<div class="demo-block">
|
|
420
|
+
<h3 class="specimen-title">🃏 All Variants Side-by-Side</h3>
|
|
421
|
+
<p class="specimen-description">Every built-in <code>variant</code> shown in default and checked states.</p>
|
|
422
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;">
|
|
423
|
+
${['default','bordered','underlined','card','glass','raised'].map(v => `
|
|
424
|
+
<div style="padding: 20px; background: ${v === 'glass' ? '#1e293b' : 'var(--bg-secondary,#f8fafc)'}; border-radius: 12px; border: 1px solid var(--border-default,#e2e8f0);" ${v === 'glass' ? 'class="dark"' : ''}>
|
|
425
|
+
<p style="font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: ${v === 'glass' ? 'rgba(255,255,255,0.4)' : 'var(--text-secondary,#64748b)'}; margin: 0 0 12px;">${v}</p>
|
|
426
|
+
<div style="display: flex; flex-direction: column; gap: 10px;">
|
|
427
|
+
<ui-radio label="Unchecked" variant="${v}" color="primary"></ui-radio>
|
|
428
|
+
<ui-radio label="Checked" variant="${v}" color="primary" checked></ui-radio>
|
|
429
|
+
</div>
|
|
430
|
+
</div>`).join('')}
|
|
431
|
+
</div>
|
|
432
|
+
</div>
|
|
433
|
+
|
|
434
|
+
<div class="demo-block">
|
|
435
|
+
<h3 class="specimen-title">🔘 Button Mode (<code>is-button</code>)</h3>
|
|
436
|
+
<p class="specimen-description">Renders radios as a segmented button group — ideal for settings panels and toolbars.</p>
|
|
437
|
+
<div style="display: flex; flex-direction: column; gap: 20px; padding: 24px; background: var(--bg-secondary,#f8fafc); border-radius: 12px;">
|
|
438
|
+
<div>
|
|
439
|
+
<p style="font-size: 11px; font-weight: 700; color: var(--text-secondary,#64748b); margin: 0 0 10px;">Horizontal button group</p>
|
|
440
|
+
<div style="display: flex; gap: 0;">
|
|
441
|
+
<ui-radio name="view" value="grid" label="Grid" is-button checked></ui-radio>
|
|
442
|
+
<ui-radio name="view" value="list" label="List" is-button></ui-radio>
|
|
443
|
+
<ui-radio name="view" value="card" label="Card" is-button></ui-radio>
|
|
444
|
+
</div>
|
|
445
|
+
</div>
|
|
446
|
+
<div>
|
|
447
|
+
<p style="font-size: 11px; font-weight: 700; color: var(--text-secondary,#64748b); margin: 0 0 10px;">With icons</p>
|
|
448
|
+
<div style="display: flex; gap: 0;">
|
|
449
|
+
<ui-radio name="theme" value="light" label="Light" is-button icon="sun" checked color="warning"></ui-radio>
|
|
450
|
+
<ui-radio name="theme" value="dark" label="Dark" is-button icon="moon" color="warning"></ui-radio>
|
|
451
|
+
<ui-radio name="theme" value="auto" label="Auto" is-button icon="contrast" color="warning"></ui-radio>
|
|
452
|
+
</div>
|
|
453
|
+
</div>
|
|
454
|
+
</div>
|
|
455
|
+
</div>
|
|
456
|
+
|
|
457
|
+
<div class="demo-block">
|
|
458
|
+
<h3 class="specimen-title">🏷️ Label Positions</h3>
|
|
459
|
+
<p class="specimen-description">The <code>label-position</code> prop controls where the label appears relative to the radio dot.</p>
|
|
460
|
+
<div style="display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 24px; background: var(--bg-secondary,#f8fafc); border-radius: 12px;">
|
|
461
|
+
${['right','left','top','bottom'].map(pos => `
|
|
462
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
463
|
+
<span style="font-size: 10px; font-weight: 700; color: var(--text-secondary,#64748b); font-family: monospace;">${pos}</span>
|
|
464
|
+
<ui-radio label="Option" label-position="${pos}" checked color="primary"></ui-radio>
|
|
465
|
+
</div>`).join('')}
|
|
466
|
+
</div>
|
|
467
|
+
</div>
|
|
468
|
+
|
|
469
|
+
</div>
|
|
470
|
+
`;
|
|
471
|
+
};
|
|
472
|
+
|
|
412
473
|
setTimeout(() => window.showInteractiveRadio(), 50);
|
|
413
474
|
}
|
|
@@ -141,7 +141,7 @@ export function initRangeSliderDemo() {
|
|
|
141
141
|
end-value="800"
|
|
142
142
|
display-format="$\${value}"
|
|
143
143
|
color="#10b981"></ui-range-slider>
|
|
144
|
-
<div id="rangeValue" style="margin-top: 12px; padding: 10px; background:
|
|
144
|
+
<div id="rangeValue" style="margin-top: 12px; padding: 10px; background:var(--accent-green-soft,#dcfce7); border-radius: 6px; text-align: center;">
|
|
145
145
|
Range: <strong>$200 - $800</strong>
|
|
146
146
|
</div>
|
|
147
147
|
</div>
|
|
@@ -235,7 +235,7 @@ export function initRangeSliderDemo() {
|
|
|
235
235
|
.map(
|
|
236
236
|
s => `
|
|
237
237
|
<div style="display: flex; align-items: center; gap: 16px;">
|
|
238
|
-
<span style="width: 80px; font-size: 11px; font-weight: 800; color:
|
|
238
|
+
<span style="width: 80px; font-size: 11px; font-weight: 800; color:var(--text-secondary,#64748b); text-transform: uppercase;">${s}</span>
|
|
239
239
|
<ui-range-slider size="${s}" value="${Math.floor(Math.random() * 100)}" style="flex: 1;"></ui-range-slider>
|
|
240
240
|
</div>
|
|
241
241
|
`,
|
|
@@ -261,19 +261,19 @@ export function initRangeSliderDemo() {
|
|
|
261
261
|
<ui-range-slider value="70" color="#10b981"></ui-range-slider>
|
|
262
262
|
</div>
|
|
263
263
|
<div>
|
|
264
|
-
<h4 style="color:
|
|
264
|
+
<h4 style="color:var(--accent-yellow,#f59e0b);">Orange</h4>
|
|
265
265
|
<ui-range-slider value="50" color="#f59e0b"></ui-range-slider>
|
|
266
266
|
</div>
|
|
267
267
|
<div>
|
|
268
|
-
<h4 style="color:
|
|
268
|
+
<h4 style="color:var(--accent-red,#ef4444);">Red</h4>
|
|
269
269
|
<ui-range-slider value="80" color="#ef4444"></ui-range-slider>
|
|
270
270
|
</div>
|
|
271
271
|
<div>
|
|
272
|
-
<h4 style="color:
|
|
272
|
+
<h4 style="color:var(--accent-purple,#8b5cf6);">Purple</h4>
|
|
273
273
|
<ui-range-slider value="45" color="#8b5cf6"></ui-range-slider>
|
|
274
274
|
</div>
|
|
275
275
|
<div>
|
|
276
|
-
<h4 style="color:
|
|
276
|
+
<h4 style="color:var(--accent-pink,#ec4899);">Pink</h4>
|
|
277
277
|
<ui-range-slider value="65" color="#ec4899"></ui-range-slider>
|
|
278
278
|
</div>
|
|
279
279
|
<div>
|
|
@@ -363,7 +363,7 @@ export function initRangeSliderDemo() {
|
|
|
363
363
|
color="#10b981"
|
|
364
364
|
start-icon="🔇"
|
|
365
365
|
end-icon="🔊"></ui-range-slider>
|
|
366
|
-
<div id="volumeValue" style="padding: 8px 16px; background:
|
|
366
|
+
<div id="volumeValue" style="padding: 8px 16px; background:var(--accent-blue-soft,#dbeafe); border-radius: 6px; font-size: 14px;">
|
|
367
367
|
<strong>70%</strong>
|
|
368
368
|
</div>
|
|
369
369
|
</div>
|
|
@@ -379,7 +379,7 @@ export function initRangeSliderDemo() {
|
|
|
379
379
|
color="#f59e0b"
|
|
380
380
|
start-icon="🌙"
|
|
381
381
|
end-icon="☀️"></ui-range-slider>
|
|
382
|
-
<div id="brightnessValue" style="padding: 8px 16px; background:
|
|
382
|
+
<div id="brightnessValue" style="padding: 8px 16px; background:var(--accent-yellow-soft,#fef3c7); border-radius: 6px; font-size: 14px;">
|
|
383
383
|
<strong>60%</strong>
|
|
384
384
|
</div>
|
|
385
385
|
</div>
|
|
@@ -395,7 +395,7 @@ export function initRangeSliderDemo() {
|
|
|
395
395
|
start-value="30"
|
|
396
396
|
end-value="70"
|
|
397
397
|
color="#ef4444"></ui-range-slider>
|
|
398
|
-
<div id="tempValue" style="padding: 8px 16px; background:
|
|
398
|
+
<div id="tempValue" style="padding: 8px 16px; background:var(--accent-red-soft,#fee2e2); border-radius: 6px; font-size: 14px;">
|
|
399
399
|
<strong>30-70°C</strong>
|
|
400
400
|
</div>
|
|
401
401
|
</div>
|
|
@@ -411,7 +411,7 @@ export function initRangeSliderDemo() {
|
|
|
411
411
|
step="1"
|
|
412
412
|
show-marks="true"
|
|
413
413
|
color="#8b5cf6"></ui-range-slider>
|
|
414
|
-
<div id="priorityValue" style="padding: 8px 16px; background:
|
|
414
|
+
<div id="priorityValue" style="padding: 8px 16px; background:var(--accent-purple-soft,#ede9fe); border-radius: 6px; font-size: 14px;">
|
|
415
415
|
<strong>md</strong>
|
|
416
416
|
</div>
|
|
417
417
|
</div>
|
|
@@ -428,13 +428,13 @@ export function initRangeSliderDemo() {
|
|
|
428
428
|
size="md"
|
|
429
429
|
start-icon="🐢"
|
|
430
430
|
end-icon="🚀"></ui-range-slider>
|
|
431
|
-
<div id="speedValue" style="padding: 8px 16px; background:
|
|
431
|
+
<div id="speedValue" style="padding: 8px 16px; background:var(--accent-green-soft,#d1fae5); border-radius: 6px; font-size: 14px;">
|
|
432
432
|
<strong>45%</strong>
|
|
433
433
|
</div>
|
|
434
434
|
</div>
|
|
435
435
|
</div>
|
|
436
436
|
|
|
437
|
-
<div style="margin-top: 30px; padding: 20px; background-color:
|
|
437
|
+
<div style="margin-top: 30px; padding: 20px; background-color:var(--bg-primary,white); border-radius: 8px; border:1px solid var(--border-default,#e5e7eb);">
|
|
438
438
|
<h4>Different Sizes</h4>
|
|
439
439
|
<div style="display: flex; gap: 40px; align-items: flex-end; justify-content: center; padding: 20px;">
|
|
440
440
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 12px;">
|
|
@@ -529,7 +529,7 @@ export function initRangeSliderDemo() {
|
|
|
529
529
|
<h3>🎮 Interactive Playground</h3>
|
|
530
530
|
<p style="color: #6b7280; margin-bottom: 16px;">Customize the slider properties and see changes in real-time!</p>
|
|
531
531
|
|
|
532
|
-
<div style="background-color:
|
|
532
|
+
<div style="background-color:var(--bg-primary,white); padding: 20px; border-radius: 8px; margin-bottom: 20px; border:1px solid var(--border-default,#e5e7eb);">
|
|
533
533
|
<h4 style="margin: 0 0 16px;">Settings</h4>
|
|
534
534
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;">
|
|
535
535
|
<label style="display: flex; flex-direction: column; gap: 4px;">
|
|
@@ -677,9 +677,9 @@ export function initRangeSliderDemo() {
|
|
|
677
677
|
</div>
|
|
678
678
|
</div>
|
|
679
679
|
|
|
680
|
-
<div style="padding: 20px; background-color: #f9fafb; border-radius: 8px; border:
|
|
680
|
+
<div style="padding: 20px; background-color: #f9fafb; border-radius: 8px; border:1px solid var(--border-default,#e5e7eb);">
|
|
681
681
|
<div id="interactiveSliderContainer" style="min-height: 100px; display: flex; align-items: center; justify-content: center;"></div>
|
|
682
|
-
<div id="sliderCurrentValue" style="margin-top: 16px; padding: 12px; background-color:
|
|
682
|
+
<div id="sliderCurrentValue" style="margin-top: 16px; padding: 12px; background-color: var(--accent-blue-soft,#dbeafe); border-radius: 6px; text-align: center; font-family: monospace;">
|
|
683
683
|
Value: <strong>50</strong>
|
|
684
684
|
</div>
|
|
685
685
|
|
|
@@ -885,7 +885,7 @@ export function initRangeSliderDemo() {
|
|
|
885
885
|
value="2"
|
|
886
886
|
show-marks="true"
|
|
887
887
|
color="#10b981"></ui-range-slider>
|
|
888
|
-
<div id="sizeValue" style="margin-top: 12px; padding: 10px; background:
|
|
888
|
+
<div id="sizeValue" style="margin-top: 12px; padding: 10px; background:var(--accent-blue-soft,#dbeafe); border-radius: 6px; text-align: center;">
|
|
889
889
|
Size: <strong>M</strong>
|
|
890
890
|
</div>
|
|
891
891
|
</div>
|
|
@@ -899,7 +899,7 @@ export function initRangeSliderDemo() {
|
|
|
899
899
|
value="2"
|
|
900
900
|
show-marks="true"
|
|
901
901
|
color="#ef4444"></ui-range-slider>
|
|
902
|
-
<div id="priorityValue" style="margin-top: 12px; padding: 10px; background:
|
|
902
|
+
<div id="priorityValue" style="margin-top: 12px; padding: 10px; background:var(--accent-red-soft,#fee2e2); border-radius: 6px; text-align: center;">
|
|
903
903
|
Priority: <strong>md</strong>
|
|
904
904
|
</div>
|
|
905
905
|
</div>
|
|
@@ -959,19 +959,19 @@ export function initRangeSliderDemo() {
|
|
|
959
959
|
<ui-range-slider value="70" color="#10b981"></ui-range-slider>
|
|
960
960
|
</div>
|
|
961
961
|
<div>
|
|
962
|
-
<h4 style="color:
|
|
962
|
+
<h4 style="color:var(--accent-yellow,#f59e0b);">Orange</h4>
|
|
963
963
|
<ui-range-slider value="50" color="#f59e0b"></ui-range-slider>
|
|
964
964
|
</div>
|
|
965
965
|
<div>
|
|
966
|
-
<h4 style="color:
|
|
966
|
+
<h4 style="color:var(--accent-red,#ef4444);">Red</h4>
|
|
967
967
|
<ui-range-slider value="80" color="#ef4444"></ui-range-slider>
|
|
968
968
|
</div>
|
|
969
969
|
<div>
|
|
970
|
-
<h4 style="color:
|
|
970
|
+
<h4 style="color:var(--accent-purple,#8b5cf6);">Purple</h4>
|
|
971
971
|
<ui-range-slider value="45" color="#8b5cf6"></ui-range-slider>
|
|
972
972
|
</div>
|
|
973
973
|
<div>
|
|
974
|
-
<h4 style="color:
|
|
974
|
+
<h4 style="color:var(--accent-pink,#ec4899);">Pink</h4>
|
|
975
975
|
<ui-range-slider value="65" color="#ec4899"></ui-range-slider>
|
|
976
976
|
</div>
|
|
977
977
|
<div>
|
|
@@ -1082,8 +1082,8 @@ export function initRangeSliderDemo() {
|
|
|
1082
1082
|
|
|
1083
1083
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 32px;">
|
|
1084
1084
|
<!-- Detailed Single -->
|
|
1085
|
-
<div style="background:
|
|
1086
|
-
<h4 style="margin: 0 0 24px 0; color:
|
|
1085
|
+
<div style="background:var(--bg-primary,white); padding: 32px; border-radius: 28px; border:1px solid var(--border-default,#e2e8f0); box-shadow: 0 10px 40px rgba(0,0,0,0.04);">
|
|
1086
|
+
<h4 style="margin: 0 0 24px 0; color:var(--text-primary,#1e293b); font-size: 18px; font-weight: 800;">Atmospheric Control</h4>
|
|
1087
1087
|
<ui-range-slider variant="detailed" label="OXYGEN LEVEL" value="82" suffix-text="%" gradient-track="true" show-tooltip="true" tooltip-always-visible="true"></ui-range-slider>
|
|
1088
1088
|
<div style="margin-top: 40px;">
|
|
1089
1089
|
<ui-range-slider variant="detailed" label="THERMAL INTENSITY" value="45" suffix-text="°C" color="#f43f5e" gradient-track="true" show-tooltip="true" tooltip-always-visible="true"></ui-range-slider>
|
|
@@ -1091,16 +1091,16 @@ export function initRangeSliderDemo() {
|
|
|
1091
1091
|
</div>
|
|
1092
1092
|
|
|
1093
1093
|
<!-- Detailed Range -->
|
|
1094
|
-
<div style="background:
|
|
1095
|
-
<h4 style="margin: 0 0 24px 0; color:
|
|
1094
|
+
<div style="background:var(--bg-primary,white); padding: 32px; border-radius: 28px; border:1px solid var(--border-default,#e2e8f0); box-shadow: 0 10px 40px rgba(0,0,0,0.04);">
|
|
1095
|
+
<h4 style="margin: 0 0 24px 0; color:var(--text-primary,#1e293b); font-size: 18px; font-weight: 800;">Bandwidth Allocation</h4>
|
|
1096
1096
|
<ui-range-slider variant="detailed" range="true" label="DATA PIPELINE" start-value="250" end-value="750" min="0" max="1000" suffix-text="MB" gradient-track="true" show-tooltip="true" tooltip-always-visible="true" show-marks="true" marks='[{"value":0},{"value":250},{"value":500},{"value":750},{"value":1000}]'></ui-range-slider>
|
|
1097
1097
|
</div>
|
|
1098
1098
|
|
|
1099
1099
|
<!-- Glass Slider -->
|
|
1100
|
-
|
|
1101
|
-
<h4 style="margin: 0 0 24px 0; color:
|
|
1100
|
+
<div style="background:var(--bg-primary,white); padding: 32px; border-radius: 28px; border:1px solid var(--border-default,#e2e8f0); box-shadow: 0 10px 40px rgba(0,0,0,0.04);">
|
|
1101
|
+
<h4 style="margin: 0 0 24px 0; color:var(--text-primary,#1e293b); font-size: 18px; font-weight: 800;">Cinematic Glass</h4>
|
|
1102
1102
|
<ui-range-slider variant="glass" label="NEBULA DENSITY" value="65" suffix-text="μ" show-tooltip="true" tooltip-always-visible="true" size="md"></ui-range-slider>
|
|
1103
|
-
<p style="margin-top: 20px; font-size: 12px; color:
|
|
1103
|
+
<p style="margin-top: 20px; font-size: 12px; color:var(--text-secondary,#64748b);">Frost-grade backdrop filter with atomic saturation.</p>
|
|
1104
1104
|
</div>
|
|
1105
1105
|
</div>
|
|
1106
1106
|
</div>
|
|
@@ -1171,8 +1171,8 @@ export function initRangeSliderDemo() {
|
|
|
1171
1171
|
if (!container) return;
|
|
1172
1172
|
container.innerHTML = `
|
|
1173
1173
|
<div style="max-width: 550px; margin: 0 auto;">
|
|
1174
|
-
<h4 style="font-weight: 800; color:
|
|
1175
|
-
<p style="color
|
|
1174
|
+
<h4 style="font-weight: 800; color:var(--text-primary,#1e293b);">Dual Range with Dynamic Step</h4>
|
|
1175
|
+
<p style="color:var(--text-secondary,#64748b); font-size: 13px; margin-bottom: 24px;">Adjust both boundaries. Step size adapts as handles cross threshold regions.</p>
|
|
1176
1176
|
|
|
1177
1177
|
<ui-range-slider
|
|
1178
1178
|
id="minMaxSlider"
|
|
@@ -1186,8 +1186,8 @@ export function initRangeSliderDemo() {
|
|
|
1186
1186
|
variant="success"
|
|
1187
1187
|
></ui-range-slider>
|
|
1188
1188
|
|
|
1189
|
-
<div id="minMaxSliderValue" style="padding: 14px; background:
|
|
1190
|
-
Range: <span style="font-weight: 800; color:
|
|
1189
|
+
<div id="minMaxSliderValue" style="padding: 14px; background:var(--accent-green-soft,#f0fdf4); border: 1px solid #dcfce7; border-radius: 12px; text-align: center; margin-top: 20px;">
|
|
1190
|
+
Range: <span style="font-weight: 800; color: var(--accent-green,#166534);">10 – 90</span>
|
|
1191
1191
|
</div>
|
|
1192
1192
|
</div>
|
|
1193
1193
|
`;
|
|
@@ -1207,7 +1207,7 @@ export function initRangeSliderDemo() {
|
|
|
1207
1207
|
else if (avg < 75) slider.step = 10;
|
|
1208
1208
|
else slider.step = 25;
|
|
1209
1209
|
|
|
1210
|
-
valueDiv.innerHTML = `Range: <span style="font-weight: 800; color:
|
|
1210
|
+
valueDiv.innerHTML = `Range: <span style="font-weight: 800; color: var(--accent-green,#166534);">${start} – ${end}</span>`;
|
|
1211
1211
|
});
|
|
1212
1212
|
}, 100);
|
|
1213
1213
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Component Demo Functions
|
|
1
|
+
// Component Demo Functions
|
|
2
2
|
export function initRatingDemo() {
|
|
3
3
|
const section = document.getElementById('rating');
|
|
4
4
|
if (!section) return;
|
|
@@ -31,7 +31,7 @@ export function initRatingDemo() {
|
|
|
31
31
|
container.innerHTML = `
|
|
32
32
|
<div class="demo-block reveal-fade-in">
|
|
33
33
|
<h3 class="specimen-title">🎮 Interactive Playground</h3>
|
|
34
|
-
<div class="playground-settings" style="
|
|
34
|
+
<div class="playground-settings" style="padding: 24px; border-radius: 16px; margin-bottom: 24px;">
|
|
35
35
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;">
|
|
36
36
|
<div class="form-group">
|
|
37
37
|
<label>Rating Type</label>
|
|
@@ -126,7 +126,7 @@ export function initRatingDemo() {
|
|
|
126
126
|
</div>
|
|
127
127
|
</div>
|
|
128
128
|
|
|
129
|
-
<div class="playground-preview" style="padding: 60px;
|
|
129
|
+
<div class="playground-preview" style="padding: 60px; min-height: 200px; position: relative; overflow: hidden;">
|
|
130
130
|
<ui-rating id="playgroundRating" value="3.5" allow-half glow victory-glow></ui-rating>
|
|
131
131
|
</div>
|
|
132
132
|
|
|
@@ -141,20 +141,20 @@ export function initRatingDemo() {
|
|
|
141
141
|
window.showEliteRatingSpecimens = function() {
|
|
142
142
|
const container = document.getElementById('ratingDemoContainer');
|
|
143
143
|
container.innerHTML = `
|
|
144
|
-
<div class="demo-block reveal-slide-up" style="background:
|
|
144
|
+
<div class="demo-block reveal-slide-up" style="background:var(--bg-secondary,#f8fafc); padding: 40px; border-radius: 32px; border:1px solid var(--border-default,#e2e8f0);">
|
|
145
145
|
<div style="display: flex; align-items: center; gap: 12px; margin-bottom: 8px;">
|
|
146
146
|
<span style="font-size: 2rem;">⭐</span>
|
|
147
|
-
<h2 style="font-size: 2.25rem; font-weight: 800; color:
|
|
147
|
+
<h2 style="font-size: 2.25rem; font-weight: 800; color:var(--text-primary,#1e293b); margin: 0;">Rating & Feedback</h2>
|
|
148
148
|
</div>
|
|
149
|
-
<p style="color:
|
|
149
|
+
<p style="color:var(--text-secondary,#64748b); font-size: 1.1rem; margin-bottom: 40px; max-width: 800px;">
|
|
150
150
|
Versatile feedback components supporting stars, smilies, and thumbs. Includes support for half-ratings and custom labels.
|
|
151
151
|
</p>
|
|
152
152
|
|
|
153
153
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 24px; margin-bottom: 24px;">
|
|
154
154
|
<!-- Star System -->
|
|
155
|
-
<div style="background:
|
|
155
|
+
<div style="background:var(--bg-primary,white); border-radius: 20px; padding: 24px; border:1px solid var(--border-default,#e2e8f0); display: flex; flex-direction: column; gap: 32px;">
|
|
156
156
|
<div>
|
|
157
|
-
<h4 style="color:
|
|
157
|
+
<h4 style="color:var(--text-primary,#1e293b); font-weight: 700; margin-bottom: 16px;">Star System</h4>
|
|
158
158
|
<div style="margin-bottom: 24px;">
|
|
159
159
|
<p style="color: #10b981; font-weight: 700; font-size: 13px; margin-bottom: 12px; text-transform: uppercase;">Standard Rating</p>
|
|
160
160
|
<ui-rating value="3" color="warning" size="md"></ui-rating>
|
|
@@ -174,9 +174,9 @@ export function initRatingDemo() {
|
|
|
174
174
|
</div>
|
|
175
175
|
|
|
176
176
|
<!-- Alternate Feedback -->
|
|
177
|
-
<div style="background:
|
|
177
|
+
<div style="background:var(--bg-primary,white); border-radius: 20px; padding: 24px; border:1px solid var(--border-default,#e2e8f0); display: flex; flex-direction: column; gap: 32px;">
|
|
178
178
|
<div>
|
|
179
|
-
<h4 style="color:
|
|
179
|
+
<h4 style="color:var(--text-primary,#1e293b); font-weight: 700; margin-bottom: 16px;">Alternate Feedback Types</h4>
|
|
180
180
|
<div style="margin-bottom: 24px;">
|
|
181
181
|
<p style="color: #10b981; font-weight: 700; font-size: 13px; margin-bottom: 12px; text-transform: uppercase;">How satisfied are you?</p>
|
|
182
182
|
<ui-rating
|
|
@@ -188,7 +188,7 @@ export function initRatingDemo() {
|
|
|
188
188
|
></ui-rating>
|
|
189
189
|
</div>
|
|
190
190
|
<div style="border-top: 1px solid #f1f5f9; padding-top: 24px;">
|
|
191
|
-
<p style="color:
|
|
191
|
+
<p style="color:var(--accent-indigo,#6366f1); font-weight: 700; font-size: 13px; margin-bottom: 12px; text-transform: uppercase;">Legacy Emoji Vibe (from DreamUI)</p>
|
|
192
192
|
<ui-rating
|
|
193
193
|
type="smiley"
|
|
194
194
|
use-emoji
|
|
@@ -206,23 +206,23 @@ export function initRatingDemo() {
|
|
|
206
206
|
</div>
|
|
207
207
|
|
|
208
208
|
<!-- Footnote comparison -->
|
|
209
|
-
<div style="background:
|
|
209
|
+
<div style="background:var(--bg-primary,white); border-radius: 20px; padding: 32px; border:1px solid var(--border-default,#e2e8f0); display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px;">
|
|
210
210
|
<div style="display: flex; gap: 60px; align-items: flex-end;">
|
|
211
211
|
<div style="text-align: center;">
|
|
212
212
|
<ui-rating value="3" color="warning" size="md" style="margin-bottom: 8px;"></ui-rating>
|
|
213
|
-
<p style="color:
|
|
213
|
+
<p style="color:var(--text-primary,#1e293b); font-size: 14px; font-weight: 600;">Small</p>
|
|
214
214
|
</div>
|
|
215
215
|
<div style="text-align: center;">
|
|
216
216
|
<ui-rating value="4" color="warning" size="md" style="margin-bottom: 8px;"></ui-rating>
|
|
217
|
-
<p style="color:
|
|
217
|
+
<p style="color:var(--text-primary,#1e293b); font-size: 14px; font-weight: 600;">md</p>
|
|
218
218
|
</div>
|
|
219
219
|
<div style="text-align: center;">
|
|
220
220
|
<ui-rating value="5" color="warning" size="lg" style="margin-bottom: 8px;"></ui-rating>
|
|
221
|
-
<p style="color:
|
|
221
|
+
<p style="color:var(--text-primary,#1e293b); font-size: 14px; font-weight: 600;">Large</p>
|
|
222
222
|
</div>
|
|
223
223
|
</div>
|
|
224
224
|
<div style="text-align: right;">
|
|
225
|
-
<p style="color:
|
|
225
|
+
<p style="color:var(--text-primary,#1e293b); font-weight: 700; font-size: 13px; margin-bottom: 12px;">Required Field <span style="color:var(--accent-red,#ef4444);">*</span></p>
|
|
226
226
|
<ui-rating value="0" invalid error-message="Please provide a rating" size="md"></ui-rating>
|
|
227
227
|
</div>
|
|
228
228
|
</div>
|
|
@@ -236,7 +236,7 @@ export function initRatingDemo() {
|
|
|
236
236
|
<div class="demo-block reveal-slide-up">
|
|
237
237
|
<h3 class="specimen-title">⭐ Precision Star Engine</h3>
|
|
238
238
|
<p class="specimen-description">Sub-pixel clipping for accurate fractional selection.</p>
|
|
239
|
-
<div style="display: flex; flex-direction: column; gap: 24px; padding: 32px; background:
|
|
239
|
+
<div style="display: flex; flex-direction: column; gap: 24px; padding: 32px; background:var(--bg-primary,white); border-radius: 16px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
240
240
|
<ui-rating value="1" color="warning" show-value labels='["Terrible", "Bad", "Average", "Good", "Excellent"]'></ui-rating>
|
|
241
241
|
<ui-rating value="2.5" allow-half color="warning" show-value labels='["Terrible", "Bad", "Average", "Good", "Excellent"]'></ui-rating>
|
|
242
242
|
<ui-rating value="4" color="warning" show-value labels='["Terrible", "Bad", "Average", "Good", "Excellent"]'></ui-rating>
|
|
@@ -252,7 +252,7 @@ export function initRatingDemo() {
|
|
|
252
252
|
<div class="demo-block reveal-slide-up">
|
|
253
253
|
<h3 class="specimen-title">😊 Expressive Smiley Sets</h3>
|
|
254
254
|
<p class="specimen-description">Lucide vector smileys with magnetic hover states.</p>
|
|
255
|
-
<div style="padding: 32px; background:
|
|
255
|
+
<div style="padding: 32px; background:var(--bg-primary,white); border-radius: 16px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
256
256
|
<ui-rating type="smiley" size="lg" color="primary" value="3" show-value labels='["Awful", "Poor", "Neutral", "Great", "Elite"]'></ui-rating>
|
|
257
257
|
</div>
|
|
258
258
|
</div>
|
|
@@ -264,7 +264,7 @@ export function initRatingDemo() {
|
|
|
264
264
|
container.innerHTML = `
|
|
265
265
|
<div class="demo-block reveal-slide-up">
|
|
266
266
|
<h3 class="specimen-title">👍 Sentinel Sentiment</h3>
|
|
267
|
-
<div style="padding: 32px; background:
|
|
267
|
+
<div style="padding: 32px; background:var(--bg-primary,white); border-radius: 16px; border:1px solid var(--border-subtle,#f1f5f9); display: flex; gap: 32px;">
|
|
268
268
|
<ui-rating type="thumb" size="lg" color="success" value="1" haptic></ui-rating>
|
|
269
269
|
<ui-rating type="thumb" size="lg" color="danger" value="-1" haptic></ui-rating>
|
|
270
270
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Component Demo Functions
|
|
1
|
+
// Component Demo Functions
|
|
2
2
|
export function initScrollTopDemo() {
|
|
3
3
|
const section = document.getElementById('scroll-top');
|
|
4
4
|
if (!section) return;
|
|
@@ -10,10 +10,9 @@ export function initScrollTopDemo() {
|
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
12
|
<div class="demo-controls" style="margin: 20px 0; display: flex; gap: 10px; flex-wrap: wrap;">
|
|
13
|
-
<ui-button onclick="showScrollTopStandard()"
|
|
14
|
-
<ui-button onclick="showScrollTopFeatures()"
|
|
15
|
-
<ui-button onclick="showSTInContainer()"
|
|
16
|
-
<ui-button onclick="showInteractiveST()" style="padding: 8px 16px; background-color: #ec4899; color: white; border: none; border-radius: 6px; cursor: pointer;" variant="outline">🎮 Interactive Playground</ui-button>
|
|
13
|
+
<ui-button onclick="showScrollTopStandard()" variant="outline">Standard</ui-button>
|
|
14
|
+
<ui-button onclick="showScrollTopFeatures()" variant="outline">Advanced Features</ui-button>
|
|
15
|
+
<ui-button onclick="showSTInContainer()" variant="outline">In-Container</ui-button>
|
|
17
16
|
</div>
|
|
18
17
|
|
|
19
18
|
<div id="scrollTopDemoContainer" class="demo-container"></div>
|
|
@@ -24,8 +23,8 @@ export function initScrollTopDemo() {
|
|
|
24
23
|
.demo-btn.secondary { background: #f3f4f6; color: #374151; }
|
|
25
24
|
.demo-btn.secondary:hover { background: #e5e7eb; }
|
|
26
25
|
.demo-container { margin-top: 24px; }
|
|
27
|
-
.demo-card { background:
|
|
28
|
-
.scroll-box { position: relative; height: 350px; overflow-y: auto; border:
|
|
26
|
+
.demo-card { background:var(--bg-primary,white); border:1px solid var(--border-default,#e5e7eb); border-radius: 12px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
|
|
27
|
+
.scroll-box { position: relative; height: 350px; overflow-y: auto; border:1px solid var(--border-default,#e5e7eb); border-radius: 8px; padding: 20px; background:var(--bg-secondary,#f9fafb); }
|
|
29
28
|
<section id="features-section" style="padding: 100px 0; border-bottom: 1px solid #eee;">
|
|
30
29
|
<h2 id="features">✨ Dynamic Features</h2>
|
|
31
30
|
<p>Explore the premium features of out Apex Tier components.</p>
|
|
@@ -247,7 +246,7 @@ export function initScrollTopDemo() {
|
|
|
247
246
|
|
|
248
247
|
<div style="flex: 1.5; min-width: 350px;">
|
|
249
248
|
<div id="stPreviewContainer" class="scroll-box" style="height: 450px;">
|
|
250
|
-
<h4 style="position: sticky; top: 0; background:
|
|
249
|
+
<h4 style="position: sticky; top: 0; background:var(--bg-secondary,#f9fafb); margin: 0; padding: 10px 0; z-index: 5;">Preview Area (Scroll Down)</h4>
|
|
251
250
|
${Array.from({ length: 80 }, (_, i) => `<p>Content line ${i + 1} - Notice the behavior as you scroll.</p>`).join('')}
|
|
252
251
|
</div>
|
|
253
252
|
<pre id="stCode" style="background: #1e293b; color: #f8fafc; padding: 16px; border-radius: 8px; font-size: 13px; margin-top: 16px; overflow-x: auto;"></pre>
|
|
@@ -274,7 +273,7 @@ export function initScrollTopDemo() {
|
|
|
274
273
|
<div style="text-align: center; padding: 20px;">
|
|
275
274
|
<h4>In-Container Navigation</h4>
|
|
276
275
|
<p style="color: #6b7280; margin-bottom: 20px;">Button stays relative to this box, not the screen</p>
|
|
277
|
-
<div id="scrollBoxDemo" style="position: relative; height: 300px; overflow-y: auto; border: 2px dashed #ccc; border-radius: 12px; background:
|
|
276
|
+
<div id="scrollBoxDemo" style="position: relative; height: 300px; overflow-y: auto; border: 2px dashed #ccc; border-radius: 12px; background:var(--bg-primary,white); margin: 0 auto; max-width: 500px;">
|
|
278
277
|
<div style="height: 1500px; padding: 20px; background: linear-gradient(to bottom, #fff, #f3f4f6);">
|
|
279
278
|
<p>Scroll down inside this box...</p>
|
|
280
279
|
<h1 id="box-top">Box Top</h1>
|