atomicuilibrary 0.0.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/category-section.cjs.entry.js +2 -2
- package/dist/cjs/dom-BvBb0kmW.js +267 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +2 -2
- package/dist/cjs/{index-ClkOYpT8.js → index-C32cWsm5.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/library-card.cjs.entry.js +2 -2
- package/dist/cjs/lm-container_2.cjs.entry.js +2 -2
- package/dist/cjs/lm-panel_3.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-step.cjs.entry.js +2 -2
- package/dist/cjs/nav-bar.cjs.entry.js +4 -4
- package/dist/cjs/{security-E1JcwxGc.js → security-CNaNip8F.js} +88 -154
- package/dist/cjs/smart-step.cjs.entry.js +3 -3
- package/dist/cjs/timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/{ui-accordion_10.cjs.entry.js → ui-accordion_11.cjs.entry.js} +730 -61
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2 -2
- package/dist/cjs/ui-anchor.cjs.entry.js +2 -2
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ui-aside-panel.cjs.entry.js +11 -12
- package/dist/cjs/ui-avatar-group_5.cjs.entry.js +1694 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ui-callout-banner.cjs.entry.js +3 -3
- package/dist/cjs/ui-card.cjs.entry.js +28 -5
- package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ui-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ui-code-editor.cjs.entry.js +3 -3
- package/dist/cjs/ui-code-preview.cjs.entry.js +2 -2
- package/dist/cjs/ui-color-picker.cjs.entry.js +256 -22
- package/dist/cjs/ui-command-palette.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-box.cjs.entry.js +86 -12
- package/dist/cjs/ui-dialog-content.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +1 -1
- package/dist/cjs/ui-divider.cjs.entry.js +1 -1
- package/dist/cjs/ui-dock-host.cjs.entry.js +4 -4
- package/dist/cjs/ui-dock.cjs.entry.js +2 -2
- package/dist/cjs/ui-drag-drop.cjs.entry.js +2 -2
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +104 -34
- package/dist/cjs/ui-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab.cjs.entry.js +4 -4
- package/dist/cjs/ui-file-upload.cjs.entry.js +143 -44
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +2 -2
- package/dist/cjs/ui-knob.cjs.entry.js +1 -1
- package/dist/cjs/ui-label.cjs.entry.js +473 -0
- package/dist/cjs/ui-library.cjs.entry.js +2 -2
- package/dist/cjs/ui-list-group_2.cjs.entry.js +351 -58
- package/dist/cjs/ui-list.cjs.entry.js +76 -42
- package/dist/cjs/ui-masonry.cjs.entry.js +1 -1
- package/dist/cjs/ui-meter-group.cjs.entry.js +5 -4
- package/dist/cjs/ui-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ui-number-input.cjs.entry.js +7 -3
- package/dist/cjs/ui-otp-input.cjs.entry.js +5 -5
- package/dist/cjs/ui-pagination_3.cjs.entry.js +235 -504
- package/dist/cjs/ui-panel.cjs.entry.js +1 -1
- package/dist/cjs/ui-pattern-input.cjs.entry.js +46 -11
- package/dist/cjs/ui-progress.cjs.entry.js +164 -23
- package/dist/cjs/ui-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +2 -2
- package/dist/cjs/ui-scroll-top.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-speed-dial.cjs.entry.js +1 -1
- package/dist/cjs/ui-speedometer.cjs.entry.js +28 -17
- package/dist/cjs/ui-splitter.cjs.entry.js +1 -1
- package/dist/cjs/ui-step.cjs.entry.js +2 -2
- package/dist/cjs/ui-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-switch.cjs.entry.js +14 -13
- package/dist/cjs/ui-tabs.cjs.entry.js +3 -3
- package/dist/cjs/ui-tag.cjs.entry.js +58 -13
- package/dist/cjs/ui-timeline.cjs.entry.js +11 -3
- package/dist/cjs/ui-timer.cjs.entry.js +2 -2
- package/dist/cjs/ui-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-transfer-list.cjs.entry.js +7 -7
- package/dist/cjs/ui-tree.cjs.entry.js +30 -15
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +3 -3
- package/dist/collection/assets/js/component-config.js +1 -0
- package/dist/collection/assets/js/demo-loader.js +2 -1
- package/dist/collection/assets/js/demos/about-demo.js +13 -13
- package/dist/collection/assets/js/demos/accordion-demo.js +238 -49
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +315 -316
- package/dist/collection/assets/js/demos/anchor-demo.js +27 -28
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +12 -12
- package/dist/collection/assets/js/demos/aside-panel-demo.js +57 -57
- package/dist/collection/assets/js/demos/avatar-demo.js +433 -95
- package/dist/collection/assets/js/demos/badge-demo.js +51 -52
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +7 -7
- package/dist/collection/assets/js/demos/button-demo.js +175 -106
- package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
- package/dist/collection/assets/js/demos/callout-banner-demo.js +332 -42
- package/dist/collection/assets/js/demos/card-demo.js +122 -74
- package/dist/collection/assets/js/demos/carousel-demo.js +632 -360
- package/dist/collection/assets/js/demos/checkbox-demo.js +124 -7
- package/dist/collection/assets/js/demos/color-picker-demo.js +394 -100
- package/dist/collection/assets/js/demos/command-palette-demo.js +182 -65
- package/dist/collection/assets/js/demos/complex-form-demo.js +5 -5
- package/dist/collection/assets/js/demos/context-menu-demo.js +476 -55
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +3 -3
- package/dist/collection/assets/js/demos/dialog-demo.js +336 -230
- package/dist/collection/assets/js/demos/divider-demo.js +59 -62
- package/dist/collection/assets/js/demos/dock-demo.js +92 -72
- package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
- package/dist/collection/assets/js/demos/documentation-demo.js +227 -22
- package/dist/collection/assets/js/demos/drag-drop-demo.js +2 -2
- package/dist/collection/assets/js/demos/dropdown-demo.js +140 -136
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +2 -2
- package/dist/collection/assets/js/demos/empty-state-demo.js +304 -88
- package/dist/collection/assets/js/demos/fab-demo.js +95 -11
- package/dist/collection/assets/js/demos/file-upload-demo.js +641 -171
- package/dist/collection/assets/js/demos/home-components.js +2 -2
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +6 -6
- package/dist/collection/assets/js/demos/icon-demo.js +17 -17
- package/dist/collection/assets/js/demos/input-demo.js +147 -143
- package/dist/collection/assets/js/demos/knob-demo.js +29 -30
- package/dist/collection/assets/js/demos/label-demo.js +697 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +55 -55
- package/dist/collection/assets/js/demos/list-demo.js +226 -140
- package/dist/collection/assets/js/demos/loader-demo.js +48 -48
- package/dist/collection/assets/js/demos/masonry-demo.js +592 -0
- package/dist/collection/assets/js/demos/meter-group-demo.js +14 -16
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +25 -25
- package/dist/collection/assets/js/demos/my-profile-demo.js +27 -27
- package/dist/collection/assets/js/demos/nav-bar-demo.js +1 -1
- package/dist/collection/assets/js/demos/number-input-demo.js +262 -211
- package/dist/collection/assets/js/demos/pagination-demo.js +29 -29
- package/dist/collection/assets/js/demos/panel-demo.js +18 -25
- package/dist/collection/assets/js/demos/pattern-input-demo.js +278 -40
- package/dist/collection/assets/js/demos/popover-demo.js +240 -149
- package/dist/collection/assets/js/demos/progress-demo.js +768 -61
- package/dist/collection/assets/js/demos/radio-demo.js +73 -12
- package/dist/collection/assets/js/demos/range-slider-demo.js +33 -33
- package/dist/collection/assets/js/demos/rating-demo.js +19 -19
- package/dist/collection/assets/js/demos/scroll-top-demo.js +8 -9
- package/dist/collection/assets/js/demos/skeleton-demo.js +110 -52
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +2 -2
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +12 -12
- package/dist/collection/assets/js/demos/smart-menu-demo.js +17 -17
- package/dist/collection/assets/js/demos/snackbar-demo.js +53 -53
- package/dist/collection/assets/js/demos/speed-dial-demo.js +14 -14
- package/dist/collection/assets/js/demos/speedometer-demo.js +40 -32
- package/dist/collection/assets/js/demos/split-button-demo.js +2 -2
- package/dist/collection/assets/js/demos/splitter-demo.js +137 -0
- package/dist/collection/assets/js/demos/stack-demo.js +27 -27
- package/dist/collection/assets/js/demos/stepper-demo.js +49 -49
- package/dist/collection/assets/js/demos/switch-demo.js +561 -125
- package/dist/collection/assets/js/demos/tabs-demo.js +22 -22
- package/dist/collection/assets/js/demos/tag-demo.js +110 -80
- package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
- package/dist/collection/assets/js/demos/timeline-demo.js +27 -14
- package/dist/collection/assets/js/demos/timeline-playground.js +2 -2
- package/dist/collection/assets/js/demos/timer-demo.js +10 -10
- package/dist/collection/assets/js/demos/toolbar-demo.js +17 -17
- package/dist/collection/assets/js/demos/tooltip-demo.js +116 -114
- package/dist/collection/assets/js/demos/top-bar-demo.js +6 -6
- package/dist/collection/assets/js/demos/transfer-list-demo.js +20 -20
- package/dist/collection/assets/js/demos/tree-demo.js +72 -70
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
- package/dist/collection/collection-manifest.json +2 -6
- package/dist/collection/components/accordion/accordion.css +576 -9
- package/dist/collection/components/accordion/accordion.js +47 -14
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +24 -10
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
- package/dist/collection/components/anchor/anchor.css +0 -1
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
- package/dist/collection/components/aside-panel/aside-panel.css +3 -5
- package/dist/collection/components/aside-panel/aside-panel.js +12 -13
- package/dist/collection/components/avatar/avatar.css +6 -6
- package/dist/collection/components/avatar/avatar.js +64 -12
- package/dist/collection/components/badge/badge.css +28 -17
- package/dist/collection/components/badge/badge.js +7 -4
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/button/button.css +132 -0
- package/dist/collection/components/button/button.js +130 -11
- package/dist/collection/components/button-toggle/button-toggle.js +2 -2
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +161 -14
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +2 -2
- package/dist/collection/components/callout-banner/callout-banner.css +75 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1 -1
- package/dist/collection/components/card/card.css +304 -40
- package/dist/collection/components/card/card.js +48 -4
- package/dist/collection/components/checkbox/checkbox.css +8 -10
- package/dist/collection/components/checkbox/checkbox.js +5 -5
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +110 -6
- package/dist/collection/components/color-picker/color-picker.js +302 -26
- package/dist/collection/components/context-menu/context-menu.css +8 -8
- package/dist/collection/components/dialog-box/dialog-box.js +117 -15
- package/dist/collection/components/dialog-header/dialog-header.js +2 -2
- package/dist/collection/components/dock/dock.css +116 -3
- package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
- package/dist/collection/components/drag-drop/drag-drop.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +101 -8
- package/dist/collection/components/dropdown/dropdown.js +94 -28
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/fab/fab.css +87 -15
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab-item/fab-item.js +1 -1
- package/dist/collection/components/file-upload/file-upload.css +1362 -31
- package/dist/collection/components/file-upload/file-upload.js +171 -50
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +9 -9
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.css +9 -0
- package/dist/collection/components/input/input.js +21 -10
- package/dist/collection/components/label/label.css +583 -0
- package/dist/collection/components/label/label.js +1669 -0
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
- package/dist/collection/components/library/category-section.js +1 -1
- package/dist/collection/components/library/library-card.js +1 -1
- package/dist/collection/components/library/library.js +1 -1
- package/dist/collection/components/list/list.css +46 -5
- package/dist/collection/components/list/list.js +76 -42
- package/dist/collection/components/list-group/list-group.css +0 -2
- package/dist/collection/components/list-group/list-group.js +11 -5
- package/dist/collection/components/list-item/list-item.css +427 -131
- package/dist/collection/components/list-item/list-item.js +373 -58
- package/dist/collection/components/loader/loader.css +1635 -0
- package/dist/collection/components/loader/loader.js +1120 -0
- package/dist/collection/components/meter-group/meter-group.css +5 -0
- package/dist/collection/components/meter-group/meter-group.js +3 -2
- package/dist/collection/components/my-step/my-step.js +1 -1
- package/dist/collection/components/nav-bar/nav-bar.css +4 -4
- package/dist/collection/components/nav-bar/nav-bar.js +6 -6
- package/dist/collection/components/number-input/number-input.js +6 -2
- package/dist/collection/components/otp-input/otp-input.css +10 -0
- package/dist/collection/components/otp-input/otp-input.js +3 -3
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pattern-input/pattern-input.css +0 -1
- package/dist/collection/components/pattern-input/pattern-input.js +44 -9
- package/dist/collection/components/popover/popover.css +35 -7
- package/dist/collection/components/popover/popover.js +64 -9
- package/dist/collection/components/progress/progress.css +307 -28
- package/dist/collection/components/progress/progress.js +244 -24
- package/dist/collection/components/radio/radio.css +5 -3
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/range-slider/range-slider.css +284 -31
- package/dist/collection/components/range-slider/range-slider.js +5 -5
- package/dist/collection/components/rating/rating.css +151 -65
- package/dist/collection/components/rating/rating.js +31 -13
- package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
- package/dist/collection/components/skeleton/skeleton-loader.css +144 -44
- package/dist/collection/components/skeleton/skeleton-loader.js +11 -7
- package/dist/collection/components/smart-stepper/smart-step.js +2 -2
- package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
- package/dist/collection/components/snackbar/snackbar.js +1 -1
- package/dist/collection/components/speed-dial/speed-dial.js +1 -1
- package/dist/collection/components/speedometer/speedometer.css +26 -6
- package/dist/collection/components/speedometer/speedometer.js +26 -15
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/switch/switch.css +367 -8
- package/dist/collection/components/switch/switch.js +14 -13
- package/dist/collection/components/tag/tag.css +38 -12
- package/dist/collection/components/tag/tag.js +58 -13
- package/dist/collection/components/tag-group/tag-group.css +0 -1
- package/dist/collection/components/tag-group/tag-group.js +3 -3
- package/dist/collection/components/timeline/timeline.css +380 -317
- package/dist/collection/components/timeline/timeline.js +8 -0
- package/dist/collection/components/timeline-item/timeline-item.js +1 -1
- package/dist/collection/components/timer/timer.js +1 -1
- package/dist/collection/components/toggle-group/toggle-group.css +7 -3
- package/dist/collection/components/toggle-group/toggle-group.js +7 -3
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/top-bar/top-bar.js +2 -2
- package/dist/collection/components/transfer-list/transfer-list.css +13 -13
- package/dist/collection/components/transfer-list/transfer-list.js +4 -4
- package/dist/collection/components/tree/tree.css +35 -21
- package/dist/collection/components/tree/tree.js +28 -13
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +53 -20
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +48 -13
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +7 -7
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
- package/dist/collection/components.js +1 -0
- package/dist/collection/utils/dom.js +151 -151
- package/dist/components/avatar-group.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-toggle.js +1 -1
- package/dist/components/button.js +1 -0
- package/dist/components/category-section2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/library-card2.js +1 -1
- package/dist/components/list-group.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/lm-container2.js +1 -1
- package/dist/components/lm-floating-window2.js +1 -1
- package/dist/components/lm-panel2.js +1 -1
- package/dist/components/lm-splitter2.js +1 -1
- package/dist/components/lm-tabs2.js +1 -1
- package/dist/components/loader.js +1 -0
- package/dist/components/my-step.js +1 -1
- package/dist/components/nav-bar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.js +1 -0
- package/dist/components/radio.js +1 -1
- package/dist/components/range-slider.js +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/resizable-panel.js +1 -1
- package/dist/components/skeleton-loader.js +1 -1
- package/dist/components/smart-step.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag-group.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/timeline-item.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/ui-accordion.js +1 -1
- package/dist/components/ui-advanced-data-table.js +1 -1
- package/dist/components/ui-anchor.js +1 -1
- package/dist/components/ui-animate-on-scroll.js +1 -1
- package/dist/components/ui-aside-panel.js +1 -1
- package/dist/components/ui-badge.js +1 -1
- package/dist/components/ui-breadcrumb-item.js +1 -1
- package/dist/components/ui-breadcrumb.js +1 -1
- package/dist/components/ui-button-toggle-group.js +1 -1
- package/dist/components/ui-button.js +1 -1
- package/dist/components/ui-callout-banner.js +1 -1
- package/dist/components/ui-card.js +1 -1
- package/dist/components/ui-carousel.js +1 -1
- package/dist/components/ui-code-editor.js +1 -1
- package/dist/components/ui-code-preview.js +1 -1
- package/dist/components/ui-color-picker.js +1 -1
- package/dist/components/ui-command-palette.js +1 -1
- package/dist/components/ui-dialog-box.js +1 -1
- package/dist/components/ui-divider.js +1 -1
- package/dist/components/ui-dock-host.js +1 -1
- package/dist/components/ui-dock.js +1 -1
- package/dist/components/ui-drag-drop.js +1 -1
- package/dist/components/ui-empty-state.js +1 -1
- package/dist/components/ui-fab-item.js +1 -1
- package/dist/components/ui-fab.js +1 -1
- package/dist/components/ui-file-upload.js +1 -1
- package/dist/components/ui-horizontal-nav.js +1 -1
- package/dist/components/ui-knob.js +1 -1
- package/dist/components/{ui-input-pair.d.ts → ui-label.d.ts} +4 -4
- package/dist/components/ui-label.js +1 -0
- package/dist/components/ui-library.js +1 -1
- package/dist/components/ui-list.js +1 -1
- package/dist/components/{ui-radio-group.d.ts → ui-loader.d.ts} +4 -4
- package/dist/components/ui-loader.js +1 -0
- package/dist/components/ui-masonry.js +1 -1
- package/dist/components/ui-meter-group.js +1 -1
- package/dist/components/ui-navigation-bar.js +1 -1
- package/dist/components/ui-navigation-item.js +1 -1
- package/dist/components/ui-number-input.js +1 -1
- package/dist/components/ui-otp-input.js +1 -1
- package/dist/components/ui-panel.js +1 -1
- package/dist/components/ui-pattern-input.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-scroll-top.js +1 -1
- package/dist/components/ui-smart-context-menu.js +1 -1
- package/dist/components/ui-smart-stepper.js +1 -1
- package/dist/components/ui-snackbar.js +1 -1
- package/dist/components/ui-speed-dial.js +1 -1
- package/dist/components/ui-speedometer.js +1 -1
- package/dist/components/ui-splitter.js +1 -1
- package/dist/components/ui-step.js +1 -1
- package/dist/components/ui-stepper.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-timeline.js +1 -1
- package/dist/components/ui-timer.js +1 -1
- package/dist/components/ui-toolbar.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-transfer-list.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/components/ui-workspace-manager.js +1 -1
- package/dist/esm/category-section.entry.js +2 -2
- package/dist/esm/dom-DFBTWhGw.js +262 -0
- package/dist/esm/exploration-project-tailwind.js +3 -3
- package/dist/esm/{index-DUsoYu9r.js → index-Dqu2zaH1.js} +1 -1
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/library-card.entry.js +2 -2
- package/dist/esm/lm-container_2.entry.js +2 -2
- package/dist/esm/lm-panel_3.entry.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-step.entry.js +2 -2
- package/dist/esm/nav-bar.entry.js +4 -4
- package/dist/esm/{security-D2WzX6vR.js → security-Dyu3Nplq.js} +88 -154
- package/dist/esm/smart-step.entry.js +3 -3
- package/dist/esm/timeline-item.entry.js +2 -2
- package/dist/esm/{ui-accordion_10.entry.js → ui-accordion_11.entry.js} +730 -62
- package/dist/esm/ui-advanced-data-table.entry.js +2 -2
- package/dist/esm/ui-anchor.entry.js +2 -2
- package/dist/esm/ui-animate-on-scroll.entry.js +3 -3
- package/dist/esm/ui-aside-panel.entry.js +11 -12
- package/dist/esm/ui-avatar-group_5.entry.js +1688 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +3 -3
- package/dist/esm/ui-breadcrumb.entry.js +1 -1
- package/dist/esm/ui-callout-banner.entry.js +3 -3
- package/dist/esm/ui-card.entry.js +28 -5
- package/dist/esm/ui-carousel.entry.js +1 -1
- package/dist/esm/ui-checkbox.entry.js +5 -5
- package/dist/esm/ui-code-editor.entry.js +3 -3
- package/dist/esm/ui-code-preview.entry.js +2 -2
- package/dist/esm/ui-color-picker.entry.js +256 -22
- package/dist/esm/ui-command-palette.entry.js +1 -1
- package/dist/esm/ui-dialog-box.entry.js +86 -12
- package/dist/esm/ui-dialog-content.entry.js +1 -1
- package/dist/esm/ui-dialog-footer_2.entry.js +1 -1
- package/dist/esm/ui-divider.entry.js +1 -1
- package/dist/esm/ui-dock-host.entry.js +4 -4
- package/dist/esm/ui-dock.entry.js +2 -2
- package/dist/esm/ui-drag-drop.entry.js +2 -2
- package/dist/esm/ui-dropdown_2.entry.js +104 -34
- package/dist/esm/ui-empty-state.entry.js +2 -2
- package/dist/esm/ui-fab-item.entry.js +2 -2
- package/dist/esm/ui-fab.entry.js +4 -4
- package/dist/esm/ui-file-upload.entry.js +143 -44
- package/dist/esm/ui-horizontal-nav.entry.js +2 -2
- package/dist/esm/ui-knob.entry.js +1 -1
- package/dist/esm/ui-label.entry.js +471 -0
- package/dist/esm/ui-library.entry.js +2 -2
- package/dist/esm/ui-list-group_2.entry.js +351 -58
- package/dist/esm/ui-list.entry.js +76 -42
- package/dist/esm/ui-masonry.entry.js +1 -1
- package/dist/esm/ui-meter-group.entry.js +5 -4
- package/dist/esm/ui-navigation-item.entry.js +5 -5
- package/dist/esm/ui-number-input.entry.js +7 -3
- package/dist/esm/ui-otp-input.entry.js +5 -5
- package/dist/esm/ui-pagination_3.entry.js +235 -504
- package/dist/esm/ui-panel.entry.js +1 -1
- package/dist/esm/ui-pattern-input.entry.js +46 -11
- package/dist/esm/ui-progress.entry.js +164 -23
- package/dist/esm/ui-range-slider.entry.js +2 -2
- package/dist/esm/ui-resizable-panel.entry.js +2 -2
- package/dist/esm/ui-scroll-top.entry.js +1 -1
- package/dist/esm/ui-smart-context-menu.entry.js +1 -1
- package/dist/esm/ui-smart-stepper.entry.js +2 -2
- package/dist/esm/ui-snackbar.entry.js +2 -2
- package/dist/esm/ui-speed-dial.entry.js +1 -1
- package/dist/esm/ui-speedometer.entry.js +28 -17
- package/dist/esm/ui-splitter.entry.js +1 -1
- package/dist/esm/ui-step.entry.js +2 -2
- package/dist/esm/ui-stepper.entry.js +2 -2
- package/dist/esm/ui-switch.entry.js +14 -13
- package/dist/esm/ui-tabs.entry.js +3 -3
- package/dist/esm/ui-tag.entry.js +58 -13
- package/dist/esm/ui-timeline.entry.js +11 -3
- package/dist/esm/ui-timer.entry.js +2 -2
- package/dist/esm/ui-toolbar.entry.js +2 -2
- package/dist/esm/ui-tooltip.entry.js +5 -5
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-transfer-list.entry.js +7 -7
- package/dist/esm/ui-tree.entry.js +30 -15
- package/dist/esm/ui-workspace-manager.entry.js +3 -3
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -1
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
- package/dist/exploration-project-tailwind/{p-f5719913.entry.js → p-024a299a.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-0a71896a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-35296877.entry.js → p-0cdeb8d8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a42fdc33.entry.js → p-139cefbc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c7e87fbb.entry.js → p-198c83e5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-236f47b1.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-81961fb1.entry.js → p-25530d0d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-41cd6bf0.entry.js → p-298f2057.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85e36111.entry.js → p-2b5a8e3e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-2b6aa7bc.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-7515b1e3.entry.js → p-2cfba753.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c90722ec.entry.js → p-2fe22958.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85bf89fd.entry.js → p-3012e780.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-321c3f46.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-3d3d48fd.entry.js → p-3ab43638.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-3ad7e47e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3b1ca826.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3ee8ddae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-4f6bba75.entry.js → p-3efb44c8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-36861546.entry.js → p-42e3bc28.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4360331a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-2f961934.entry.js → p-443de32b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-898dd0fa.entry.js → p-44d15451.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e5322e59.entry.js → p-46071679.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a3f465d9.entry.js → p-497d6182.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4ad8c55c.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-73d29a4a.entry.js → p-4c46ac0b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-f0830120.entry.js → p-5042ddaa.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-60190e0e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-60530874.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-200241f8.entry.js → p-6108565d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77124686.entry.js → p-62889cfe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-9d0c8760.entry.js → p-66f71613.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-2d273118.entry.js → p-67c440b2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d419eaf0.entry.js → p-6f09503f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-721bdbc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-747b02ea.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c6fd72e1.entry.js → p-754cb046.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ffb1754a.entry.js → p-7ed3bba2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77cc333a.entry.js → p-864cebb7.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4d73c143.entry.js → p-96ee3196.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c5ddc817.entry.js → p-97086868.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-287dbf09.entry.js → p-9c5ced88.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9d3044d4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9e079be6.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-0b004861.entry.js → p-9e4c45f5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9eee7394.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-DFBTWhGw.js +1 -0
- package/dist/exploration-project-tailwind/p-Dqu2zaH1.js +2 -0
- package/dist/exploration-project-tailwind/p-Dyu3Nplq.js +2 -0
- package/dist/exploration-project-tailwind/p-a7bdedc2.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c87aeab6.entry.js → p-a8ec29de.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c174a372.entry.js → p-ae617f62.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-62352ef2.entry.js → p-aef76052.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-b5f043fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-b637b91b.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8d951aef.entry.js → p-bc49a088.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4de419d5.entry.js → p-bd9a631f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8ba0c95.entry.js → p-bf4b6767.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c0fa400e.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-5e3e80ae.entry.js → p-c4f3d990.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c68ddb2f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c79574c4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c840098d.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-a1ad32a2.entry.js → p-c8663cbe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7f91d949.entry.js → p-cb6e38a6.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-cb9f2df1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cfe8b696.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d00e13ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c4ba7e52.entry.js → p-d01ed934.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-aa85ff78.entry.js → p-d4e57d94.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ccb5c737.entry.js → p-d5bd3a3f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-45482d86.entry.js → p-d987cebe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-d9ae77c0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e9bae5c7.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f516fabc.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f68e2794.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d30e24bd.entry.js → p-fa034f69.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +10 -2
- package/dist/types/components/aside-panel/aside-panel.d.ts +0 -3
- package/dist/types/components/avatar/avatar.d.ts +3 -0
- package/dist/types/components/avatar/types.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +9 -0
- package/dist/types/components/card/card.d.ts +4 -0
- package/dist/types/components/color-picker/color-picker.d.ts +35 -2
- package/dist/types/components/dialog-box/dialog-box.d.ts +10 -0
- package/dist/types/components/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/file-upload/file-upload.d.ts +23 -6
- package/dist/types/components/label/label.d.ts +290 -0
- package/dist/types/components/label/types.d.ts +39 -0
- package/dist/types/components/list/list.d.ts +2 -1
- package/dist/types/components/list-group/list-group.d.ts +1 -0
- package/dist/types/components/list-item/list-item.d.ts +46 -17
- package/dist/types/components/loader/loader.d.ts +145 -0
- package/dist/types/components/pattern-input/pattern-input.d.ts +6 -0
- package/dist/types/components/popover/popover.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +41 -2
- package/dist/types/components/range-slider/range-slider.d.ts +2 -2
- package/dist/types/components/rating/rating.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +1 -1
- package/dist/types/components/speedometer/speedometer.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +4 -0
- package/dist/types/components/tree/tree.d.ts +1 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +1 -1
- package/dist/types/components.d.ts +1214 -1381
- package/dist/types/types/common.d.ts +2 -2
- package/dist/types/types/common.type.d.ts +3 -1
- package/dist/types/utils/dom.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cjs/dom-oP1E4Rd3.js +0 -267
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +0 -330
- package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
- package/dist/cjs/ui-image-button.cjs.entry.js +0 -67
- package/dist/cjs/ui-input-pair.cjs.entry.js +0 -44
- package/dist/cjs/ui-popover.cjs.entry.js +0 -517
- package/dist/cjs/ui-radio-group.cjs.entry.js +0 -205
- package/dist/cjs/ui-radio.cjs.entry.js +0 -206
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -223
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -1001
- package/dist/collection/components/color-controller/color-controller.css +0 -108
- package/dist/collection/components/color-controller/color-controller.js +0 -224
- package/dist/collection/components/image-button/image-button.css +0 -154
- package/dist/collection/components/image-button/image-button.js +0 -310
- package/dist/collection/components/image-button/types.js +0 -1
- package/dist/collection/components/input-pair/input-pair.css +0 -72
- package/dist/collection/components/input-pair/input-pair.js +0 -309
- package/dist/collection/components/radio-group/radio-group.css +0 -202
- package/dist/collection/components/radio-group/radio-group.js +0 -903
- package/dist/collection/components/radio-group/types.js +0 -1
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +0 -357
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
- package/dist/collection/components/smart-location-dropdown/types.js +0 -1
- package/dist/components/ui-checkbox-group.d.ts +0 -11
- package/dist/components/ui-checkbox-group.js +0 -1
- package/dist/components/ui-color-controller.d.ts +0 -11
- package/dist/components/ui-color-controller.js +0 -1
- package/dist/components/ui-image-button.d.ts +0 -11
- package/dist/components/ui-image-button.js +0 -1
- package/dist/components/ui-input-pair.js +0 -1
- package/dist/components/ui-radio-group.js +0 -1
- package/dist/components/ui-smart-location-dropdown.d.ts +0 -11
- package/dist/components/ui-smart-location-dropdown.js +0 -1
- package/dist/esm/dom-BMFah5q3.js +0 -262
- package/dist/esm/ui-avatar-group_3.entry.js +0 -630
- package/dist/esm/ui-checkbox-group.entry.js +0 -328
- package/dist/esm/ui-color-controller.entry.js +0 -148
- package/dist/esm/ui-image-button.entry.js +0 -65
- package/dist/esm/ui-input-pair.entry.js +0 -42
- package/dist/esm/ui-popover.entry.js +0 -515
- package/dist/esm/ui-radio-group.entry.js +0 -203
- package/dist/esm/ui-radio.entry.js +0 -204
- package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-64e3a484.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-875be805.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fa70359.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +0 -1
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +0 -2
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +0 -1
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -87
- package/dist/types/components/checkbox-group/types.d.ts +0 -8
- package/dist/types/components/color-controller/color-controller.d.ts +0 -24
- package/dist/types/components/image-button/image-button.d.ts +0 -31
- package/dist/types/components/image-button/types.d.ts +0 -1
- package/dist/types/components/input-pair/input-pair.d.ts +0 -28
- package/dist/types/components/radio-group/radio-group.d.ts +0 -74
- package/dist/types/components/radio-group/types.d.ts +0 -2
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +0 -119
- package/dist/types/components/smart-location-dropdown/types.d.ts +0 -37
- /package/dist/collection/components/{checkbox-group → label}/types.js +0 -0
|
@@ -1,360 +1,632 @@
|
|
|
1
|
-
export function initCarouselDemo() {
|
|
2
|
-
const section = document.getElementById('carousel');
|
|
3
|
-
if (!section) return;
|
|
4
|
-
|
|
5
|
-
const assetPath = '/build/assets/images/';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<div
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
const
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
<
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
<
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
1
|
+
export function initCarouselDemo() {
|
|
2
|
+
const section = document.getElementById('carousel');
|
|
3
|
+
if (!section) return;
|
|
4
|
+
|
|
5
|
+
const assetPath = '/build/assets/images/';
|
|
6
|
+
|
|
7
|
+
section.innerHTML = `
|
|
8
|
+
<div class="demo-header" style="margin-bottom: 32px;">
|
|
9
|
+
<p style="margin-top: 0; opacity: 0.7; font-size: 14px;">Master-tier responsive carousel system featuring advanced 3D transitions, continuous seamless ticker engines, Ken-Burns panning, stories-style segmented progress indicators, and absolute accessibility alignment.</p>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<div id="carouselNav" class="demo-controls" style="margin: 20px 0; display: flex; gap: 12px; flex-wrap: wrap;">
|
|
13
|
+
<ui-button label="🎮 Playground" onclick="showCarouselPlayground()"></ui-button>
|
|
14
|
+
<ui-button label="✨ Elite Specimens" onclick="showCarouselEliteSpecimens()"></ui-button>
|
|
15
|
+
<ui-button label="🎬 3D Transitions" onclick="showCarouselTransitions()"></ui-button>
|
|
16
|
+
<ui-button label="📈 Industrial Ticker" onclick="showCarouselContinuousTicker()"></ui-button>
|
|
17
|
+
<ui-button label="📱 Mobile Stories" onclick="showCarouselMobileStories()"></ui-button>
|
|
18
|
+
<ui-button label="⚡ Features & A11y" onclick="showCarouselControlsAndA11y()"></ui-button>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<div id="carouselDemoContainer" style="margin-top: 20px;"></div>
|
|
22
|
+
|
|
23
|
+
<style>
|
|
24
|
+
:root {
|
|
25
|
+
--bg-glass-card: rgba(255, 255, 255, 0.55);
|
|
26
|
+
--border-glass-card: rgba(255, 255, 255, 0.25);
|
|
27
|
+
--text-glass-card: #1f2937;
|
|
28
|
+
}
|
|
29
|
+
html.dark {
|
|
30
|
+
--bg-glass-card: rgba(18, 18, 18, 0.65);
|
|
31
|
+
--border-glass-card: rgba(255, 255, 255, 0.08);
|
|
32
|
+
--text-glass-card: #f3f4f6;
|
|
33
|
+
}
|
|
34
|
+
.specimen-glass-card {
|
|
35
|
+
background: var(--bg-glass-card);
|
|
36
|
+
border: 1px solid var(--border-glass-card);
|
|
37
|
+
color: var(--text-glass-card);
|
|
38
|
+
backdrop-filter: blur(24px);
|
|
39
|
+
-webkit-backdrop-filter: blur(24px);
|
|
40
|
+
}
|
|
41
|
+
.phone-wrap {
|
|
42
|
+
width: 320px;
|
|
43
|
+
height: 580px;
|
|
44
|
+
border: 14px solid #1a1a1a;
|
|
45
|
+
border-radius: 48px;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
position: relative;
|
|
48
|
+
box-shadow: 0 30px 70px rgba(0,0,0,0.6);
|
|
49
|
+
background: black;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@keyframes pulse {
|
|
53
|
+
0%, 100% { opacity: 0.6; transform: scale(1); }
|
|
54
|
+
50% { opacity: 1; transform: scale(1.15); }
|
|
55
|
+
}
|
|
56
|
+
</style>
|
|
57
|
+
`;
|
|
58
|
+
|
|
59
|
+
const updateActiveBtn = (funcName) => {
|
|
60
|
+
const nav = document.getElementById('carouselNav');
|
|
61
|
+
if (!nav) return;
|
|
62
|
+
nav.querySelectorAll('ui-button').forEach(btn => {
|
|
63
|
+
const onclick = btn.getAttribute('onclick') || '';
|
|
64
|
+
btn.selected = onclick.includes(funcName);
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const slideData = [
|
|
69
|
+
{ bg: 'linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%)', icon: '🚀', title: 'Apex Performance', desc: 'Accelerated 3D hardware transition layers' },
|
|
70
|
+
{ bg: 'linear-gradient(135deg, #06b6d4 0%, #0891b2 100%)', icon: '✨', title: 'Adaptive Theming', desc: 'Seamlessly adapts to your active palette' },
|
|
71
|
+
{ bg: 'linear-gradient(135deg, #10b981 0%, #059669 100%)', icon: '🛡️', title: 'A11y Compliant', desc: 'Built-in keyboard, screen reader, and RTL support' },
|
|
72
|
+
{ bg: 'linear-gradient(135deg, #f59e0b 0%, #d97706 100%)', icon: '⚡', title: 'Physics Engine', desc: 'Elastic spring swipe and drag dynamics' },
|
|
73
|
+
{ bg: 'linear-gradient(135deg, #ec4899 0%, #db2777 100%)', icon: '🎨', title: 'Endless Playbook', desc: 'Cube, coverflow, stack, wheel, flip, and more' },
|
|
74
|
+
{ bg: 'linear-gradient(135deg, #3b82f6 0%, #2563eb 100%)', icon: '🌌', title: 'Ken-Burns Cinematic', desc: 'Atmospheric zooming and panning effects' },
|
|
75
|
+
];
|
|
76
|
+
|
|
77
|
+
const pgSlidesHTML = slideData.map((s) => `
|
|
78
|
+
<div style="height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; background:${s.bg}; color:white; padding:40px; text-align:center; position:relative; overflow:hidden;">
|
|
79
|
+
<div style="position:absolute; inset:0; opacity:0.1; background:radial-gradient(circle, white 10%, transparent 60%);"></div>
|
|
80
|
+
<div style="font-size:3.5rem; margin-bottom:16px; filter:drop-shadow(0 8px 16px rgba(0,0,0,0.25));">${s.icon}</div>
|
|
81
|
+
<h3 style="font-size:1.75rem; font-weight:800; margin:0 0 10px; text-shadow:0 2px 4px rgba(0,0,0,0.3);">${s.title}</h3>
|
|
82
|
+
<p style="font-size:1rem; opacity:0.9; margin:0; max-width:280px; text-shadow:0 1px 2px rgba(0,0,0,0.25);">${s.desc}</p>
|
|
83
|
+
</div>
|
|
84
|
+
`).join('');
|
|
85
|
+
|
|
86
|
+
window.showCarouselPlayground = function () {
|
|
87
|
+
updateActiveBtn('showCarouselPlayground');
|
|
88
|
+
const container = document.getElementById('carouselDemoContainer');
|
|
89
|
+
if (!container) return;
|
|
90
|
+
|
|
91
|
+
container.innerHTML = `
|
|
92
|
+
<div class="demo-block reveal-fade-in" style="background:var(--bg-primary); border:1px solid var(--border-default); border-radius:24px; padding:32px; box-shadow:var(--shadow-lg);">
|
|
93
|
+
<h3 class="specimen-title" style="margin-bottom:8px; font-weight:800; font-size:1.5rem; color:var(--text-primary); display:flex; align-items:center; gap:10px;">
|
|
94
|
+
<span>🎮 Carousel Studio Playground</span>
|
|
95
|
+
</h3>
|
|
96
|
+
<p style="font-size:13px; color:var(--text-secondary); margin-bottom:24px; max-width:600px;">
|
|
97
|
+
Configure all reactive properties of the carousel. The Stencil runtime dynamically updates attributes and re-renders transition pipelines on the fly.
|
|
98
|
+
</p>
|
|
99
|
+
|
|
100
|
+
<div style="display:grid; grid-template-columns:320px 1fr; gap:32px;">
|
|
101
|
+
<!-- Controls Panel -->
|
|
102
|
+
<div class="playground-settings" style="background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:18px; padding:24px; display:flex; flex-direction:column; gap:20px; max-height:720px; overflow-y:auto;">
|
|
103
|
+
|
|
104
|
+
<div>
|
|
105
|
+
<div style="font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.1em; color:var(--color-primary); margin-bottom:12px; display:flex; align-items:center; gap:6px;">
|
|
106
|
+
<span>📐 Structure & Feed</span>
|
|
107
|
+
</div>
|
|
108
|
+
<div style="display:flex; flex-direction:column; gap:12px;">
|
|
109
|
+
<ui-dropdown id="pgSlidesToShow" label="Slides to Show" value="1" size="md" options='[{"label":"1 Slide","value":"1"},{"label":"2 Slides","value":"2"},{"label":"3 Slides","value":"3"},{"label":"4 Slides","value":"4"}]'></ui-dropdown>
|
|
110
|
+
<ui-dropdown id="pgSlidesToScroll" label="Slides to Scroll" value="1" size="md" options='[{"label":"Scroll 1","value":"1"},{"label":"Scroll 2","value":"2"},{"label":"Scroll 3","value":"3"}]'></ui-dropdown>
|
|
111
|
+
<ui-dropdown id="pgOrientation" label="Orientation" value="horizontal" size="md" options='[{"label":"Horizontal","value":"horizontal"},{"label":"Vertical","value":"vertical"}]'></ui-dropdown>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
|
|
115
|
+
<div>
|
|
116
|
+
<div style="font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.1em; color:var(--color-primary); margin-bottom:12px; display:flex; align-items:center; gap:6px;">
|
|
117
|
+
<span>🎬 Motion & Transitions</span>
|
|
118
|
+
</div>
|
|
119
|
+
<div style="display:flex; flex-direction:column; gap:12px;">
|
|
120
|
+
<ui-dropdown id="pgEffect" label="Transition Effect" value="slide" size="md" options='[
|
|
121
|
+
{"label":"Standard Slide","value":"slide"},
|
|
122
|
+
{"label":"Cinematic Fade","value":"fade"},
|
|
123
|
+
{"label":"3D Cube","value":"cube"},
|
|
124
|
+
{"label":"3D Flip","value":"flip"},
|
|
125
|
+
{"label":"3D Coverflow","value":"coverflow"},
|
|
126
|
+
{"label":"Depth Stack","value":"depth"},
|
|
127
|
+
{"label":"Ken-Burns Zoom","value":"ken-burns"},
|
|
128
|
+
{"label":"Vertical Wheel","value":"wheel"},
|
|
129
|
+
{"label":"Vertical Stack","value":"stack"}
|
|
130
|
+
]'></ui-dropdown>
|
|
131
|
+
<ui-input id="pgDuration" label="Duration (ms)" value="500" size="md"></ui-input>
|
|
132
|
+
<ui-input id="pgInterval" label="Autoplay Interval (ms)" value="3000" size="md"></ui-input>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
|
|
136
|
+
<div>
|
|
137
|
+
<div style="font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.1em; color:var(--color-primary); margin-bottom:12px; display:flex; align-items:center; gap:6px;">
|
|
138
|
+
<span>📊 Indicators & Navigation</span>
|
|
139
|
+
</div>
|
|
140
|
+
<div style="display:flex; flex-direction:column; gap:12px;">
|
|
141
|
+
<ui-dropdown id="pgIndicatorsType" label="Indicators Type" value="dots" size="md" options='[{"label":"Dots Indicator","value":"dots"},{"label":"Stories Segments","value":"segments"},{"label":"Pie Timer","value":"pie"}]'></ui-dropdown>
|
|
142
|
+
<ui-dropdown id="pgArrowsPosition" label="Arrows Position" value="sides" size="md" options='[{"label":"Sides (Center)","value":"sides"},{"label":"Top Right Group","value":"top-right"}]'></ui-dropdown>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
<div>
|
|
147
|
+
<div style="font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.1em; color:var(--color-primary); margin-bottom:12px;">
|
|
148
|
+
<span>⚡ Behavior Flags</span>
|
|
149
|
+
</div>
|
|
150
|
+
<div style="display:grid; grid-template-columns:1fr; gap:10px;">
|
|
151
|
+
<ui-checkbox id="pgAutoplay" label="Auto-play loop" checked size="md"></ui-checkbox>
|
|
152
|
+
<ui-checkbox id="pgInfinite" label="Infinite scroll" checked size="md"></ui-checkbox>
|
|
153
|
+
<ui-checkbox id="pgArrows" label="Show Arrows" checked size="md"></ui-checkbox>
|
|
154
|
+
<ui-checkbox id="pgIndicators" label="Show Indicators" checked size="md"></ui-checkbox>
|
|
155
|
+
<ui-checkbox id="pgSwipe" label="Touch Swiping" checked size="md"></ui-checkbox>
|
|
156
|
+
<ui-checkbox id="pgDraggable" label="Mouse Draggable" checked size="md"></ui-checkbox>
|
|
157
|
+
<ui-checkbox id="pgCenterMode" label="Center Focus (Peek)" size="md"></ui-checkbox>
|
|
158
|
+
<ui-checkbox id="pgVariableWidth" label="Variable Width" size="md"></ui-checkbox>
|
|
159
|
+
<ui-checkbox id="pgProgress" label="Autoplay Progress Bar" size="md"></ui-checkbox>
|
|
160
|
+
<ui-checkbox id="pgCounter" label="Show Slide Counter" size="md"></ui-checkbox>
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
|
|
164
|
+
</div>
|
|
165
|
+
|
|
166
|
+
<!-- Preview & Code Output -->
|
|
167
|
+
<div style="display:flex; flex-direction:column; gap:24px;">
|
|
168
|
+
<div style="border:1px solid var(--border-default); border-radius:18px; overflow:hidden; background:var(--bg-secondary); padding:24px; display:flex; flex-direction:column; justify-content:center; min-height:420px; position:relative;">
|
|
169
|
+
<div style="position:absolute; top:12px; left:20px; font-size:11px; font-weight:800; text-transform:uppercase; color:var(--text-secondary); letter-spacing:0.05em;">Live Preview Screen</div>
|
|
170
|
+
|
|
171
|
+
<div id="pgCarouselWrapper" style="width:100%;">
|
|
172
|
+
<ui-carousel id="pgCarousel" autoplay="true" autoplay-interval="3000" indicators="true" arrows="true" infinite="true" height="340px">
|
|
173
|
+
${pgSlidesHTML}
|
|
174
|
+
</ui-carousel>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
|
|
178
|
+
<div>
|
|
179
|
+
<ui-code-preview id="carouselCodePreview" label="Implementation Code" expanded="false"></ui-code-preview>
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
|
|
184
|
+
</div>
|
|
185
|
+
`;
|
|
186
|
+
|
|
187
|
+
setTimeout(() => {
|
|
188
|
+
const dropdowns = ['pgSlidesToShow', 'pgSlidesToScroll', 'pgOrientation', 'pgEffect', 'pgIndicatorsType', 'pgArrowsPosition'];
|
|
189
|
+
const inputs = ['pgDuration', 'pgInterval'];
|
|
190
|
+
const checkboxes = ['pgAutoplay', 'pgInfinite', 'pgArrows', 'pgIndicators', 'pgSwipe', 'pgDraggable', 'pgCenterMode', 'pgVariableWidth', 'pgProgress', 'pgCounter'];
|
|
191
|
+
|
|
192
|
+
dropdowns.forEach(id => document.getElementById(id)?.addEventListener('dropdownChange', () => updateCarouselPlayground()));
|
|
193
|
+
inputs.forEach(id => document.getElementById(id)?.addEventListener('inputChange', () => updateCarouselPlayground()));
|
|
194
|
+
checkboxes.forEach(id => document.getElementById(id)?.addEventListener('checkboxChange', () => updateCarouselPlayground()));
|
|
195
|
+
|
|
196
|
+
updateCarouselPlayground();
|
|
197
|
+
}, 100);
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
window.updateCarouselPlayground = function () {
|
|
201
|
+
const getVal = id => document.getElementById(id)?.value || '';
|
|
202
|
+
const getChecked = id => document.getElementById(id)?.checked || false;
|
|
203
|
+
|
|
204
|
+
const slidesToShow = getVal('pgSlidesToShow');
|
|
205
|
+
const slidesToScroll = getVal('pgSlidesToScroll');
|
|
206
|
+
const orientation = getVal('pgOrientation');
|
|
207
|
+
const effect = getVal('pgEffect');
|
|
208
|
+
const duration = getVal('pgDuration');
|
|
209
|
+
const interval = getVal('pgInterval');
|
|
210
|
+
const indicatorsType = getVal('pgIndicatorsType');
|
|
211
|
+
const arrowsPosition = getVal('pgArrowsPosition');
|
|
212
|
+
|
|
213
|
+
const autoplay = getChecked('pgAutoplay');
|
|
214
|
+
const infinite = getChecked('pgInfinite');
|
|
215
|
+
const arrows = getChecked('pgArrows');
|
|
216
|
+
const indicators = getChecked('pgIndicators');
|
|
217
|
+
const swipe = getChecked('pgSwipe');
|
|
218
|
+
const draggable = getChecked('pgDraggable');
|
|
219
|
+
const centerMode = getChecked('pgCenterMode');
|
|
220
|
+
const variableWidth = getChecked('pgVariableWidth');
|
|
221
|
+
const progress = getChecked('pgProgress');
|
|
222
|
+
const counter = getChecked('pgCounter');
|
|
223
|
+
|
|
224
|
+
const carousel = document.getElementById('pgCarousel');
|
|
225
|
+
if (carousel) {
|
|
226
|
+
carousel.setAttribute('slides-to-show', slidesToShow);
|
|
227
|
+
carousel.setAttribute('slides-to-scroll', slidesToScroll);
|
|
228
|
+
carousel.setAttribute('vertical', orientation === 'vertical');
|
|
229
|
+
carousel.setAttribute('effect', effect);
|
|
230
|
+
carousel.setAttribute('animation-duration', duration);
|
|
231
|
+
carousel.setAttribute('autoplay-interval', interval);
|
|
232
|
+
carousel.setAttribute('indicators-type', indicatorsType);
|
|
233
|
+
carousel.setAttribute('arrows-position', arrowsPosition);
|
|
234
|
+
|
|
235
|
+
// Boolean settings
|
|
236
|
+
carousel.autoplay = autoplay;
|
|
237
|
+
carousel.infinite = infinite;
|
|
238
|
+
carousel.arrows = arrows;
|
|
239
|
+
carousel.indicators = indicators;
|
|
240
|
+
carousel.swipe = swipe;
|
|
241
|
+
carousel.enableDrag = draggable;
|
|
242
|
+
carousel.centerMode = centerMode;
|
|
243
|
+
carousel.variableWidth = variableWidth;
|
|
244
|
+
carousel.showProgress = progress;
|
|
245
|
+
carousel.showCounter = counter;
|
|
246
|
+
|
|
247
|
+
// Handle custom padding for center peeking
|
|
248
|
+
if (centerMode) {
|
|
249
|
+
carousel.setAttribute('center-padding', '60px');
|
|
250
|
+
} else {
|
|
251
|
+
carousel.removeAttribute('center-padding');
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
carousel.refresh();
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// Code Preview Generator
|
|
258
|
+
const codePreview = document.getElementById('carouselCodePreview');
|
|
259
|
+
if (codePreview) {
|
|
260
|
+
let code = `<ui-carousel\n`;
|
|
261
|
+
code += ` height="360px"\n`;
|
|
262
|
+
if (slidesToShow !== '1') code += ` slides-to-show="${slidesToShow}"\n`;
|
|
263
|
+
if (slidesToScroll !== '1') code += ` slides-to-scroll="${slidesToScroll}"\n`;
|
|
264
|
+
if (orientation === 'vertical') code += ` vertical="true"\n`;
|
|
265
|
+
if (effect !== 'slide') code += ` effect="${effect}"\n`;
|
|
266
|
+
if (duration !== '500') code += ` animation-duration="${duration}"\n`;
|
|
267
|
+
if (autoplay) {
|
|
268
|
+
code += ` autoplay="true"\n`;
|
|
269
|
+
if (interval !== '3000') code += ` autoplay-interval="${interval}"\n`;
|
|
270
|
+
}
|
|
271
|
+
if (indicatorsType !== 'dots') code += ` indicators-type="${indicatorsType}"\n`;
|
|
272
|
+
if (arrowsPosition !== 'sides') code += ` arrows-position="${arrowsPosition}"\n`;
|
|
273
|
+
if (!infinite) code += ` infinite="false"\n`;
|
|
274
|
+
if (!arrows) code += ` arrows="false"\n`;
|
|
275
|
+
if (!indicators) code += ` indicators="false"\n`;
|
|
276
|
+
if (!swipe) code += ` swipe="false"\n`;
|
|
277
|
+
if (!draggable) code += ` enable-drag="false"\n`;
|
|
278
|
+
if (centerMode) code += ` center-mode="true"\n center-padding="60px"\n`;
|
|
279
|
+
if (variableWidth) code += ` variable-width="true"\n`;
|
|
280
|
+
if (progress) code += ` show-progress="true"\n`;
|
|
281
|
+
if (counter) code += ` show-counter="true"\n`;
|
|
282
|
+
|
|
283
|
+
code += `>\n`;
|
|
284
|
+
code += ` <div><img src="slide1.jpg" /></div>\n`;
|
|
285
|
+
code += ` <div><img src="slide2.jpg" /></div>\n`;
|
|
286
|
+
code += ` <div><img src="slide3.jpg" /></div>\n`;
|
|
287
|
+
code += `</ui-carousel>`;
|
|
288
|
+
|
|
289
|
+
codePreview.setAttribute('html-code', code);
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
window.showCarouselEliteSpecimens = function () {
|
|
294
|
+
updateActiveBtn('showCarouselEliteSpecimens');
|
|
295
|
+
const container = document.getElementById('carouselDemoContainer');
|
|
296
|
+
if (!container) return;
|
|
297
|
+
|
|
298
|
+
container.innerHTML = `
|
|
299
|
+
<div class="demo-block reveal-slide-up" style="display:flex; flex-direction:column; gap:40px;">
|
|
300
|
+
|
|
301
|
+
<div>
|
|
302
|
+
<h3 class="specimen-title" style="margin-bottom:8px; font-weight:800; font-size:1.5rem; color:var(--text-primary);">✨ Elite Material Specimens</h3>
|
|
303
|
+
<p style="font-size:13px; color:var(--text-secondary); max-width:600px;">
|
|
304
|
+
A collection of premium material design substrates and high-end visual patterns optimized for enterprise layouts.
|
|
305
|
+
</p>
|
|
306
|
+
</div>
|
|
307
|
+
|
|
308
|
+
<div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(400px, 1fr)); gap:32px;">
|
|
309
|
+
<!-- Specimen 1: Premium Glassmorphic Parallax -->
|
|
310
|
+
<div style="padding:24px; background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:24px; display:flex; flex-direction:column; gap:16px;">
|
|
311
|
+
<h4 style="margin:0; font-size:14px; font-weight:800; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.05em; display:flex; align-items:center; gap:8px;">
|
|
312
|
+
<span style="color:#d946ef;">💎</span> Glassmorphic Overlay
|
|
313
|
+
</h4>
|
|
314
|
+
<ui-carousel autoplay="true" infinite="true" height="340px" indicators="true" arrows="true" parallax="true" animate-content="true" style="border-radius:16px; overflow:hidden; border:1px solid var(--border-default);">
|
|
315
|
+
${[1, 2, 3].map(i => `
|
|
316
|
+
<div style="height:100%; position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center;">
|
|
317
|
+
<div style="position:absolute; inset:0; background:linear-gradient(135deg, #1e1b4b 0%, #311042 100%); z-index:1;"></div>
|
|
318
|
+
<img src="${assetPath}nature_forest_1.png" style="position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:2; opacity:0.6;" onerror="this.style.display='none';" />
|
|
319
|
+
|
|
320
|
+
<div class="specimen-glass-card" style="position:relative; z-index:10; width:80%; max-width:340px; padding:32px; border-radius:20px; box-shadow:0 20px 50px rgba(0,0,0,0.3); text-align:center;">
|
|
321
|
+
<div style="background:var(--color-primary); color:white; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.1em; padding:4px 12px; border-radius:20px; width:fit-content; margin:0 auto 16px;">Glass Variant</div>
|
|
322
|
+
<h3 style="font-size:1.5rem; font-weight:800; margin:0 0 10px; color:var(--text-glass-card);">Frosted Glass #${i}</h3>
|
|
323
|
+
<p style="font-size:13px; opacity:0.8; margin:0; line-height:1.5; color:var(--text-glass-card);">Backdrop-filter refraction substrate adapting perfectly to theme variables.</p>
|
|
324
|
+
</div>
|
|
325
|
+
</div>
|
|
326
|
+
`).join('')}
|
|
327
|
+
</ui-carousel>
|
|
328
|
+
</div>
|
|
329
|
+
|
|
330
|
+
<!-- Specimen 2: Cinematic Ken-Burns Panning -->
|
|
331
|
+
<div style="padding:24px; background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:24px; display:flex; flex-direction:column; gap:16px;">
|
|
332
|
+
<h4 style="margin:0; font-size:14px; font-weight:800; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.05em; display:flex; align-items:center; gap:8px;">
|
|
333
|
+
<span style="color:#06b6d4;">🎬</span> Ken-Burns Cinematic Panning
|
|
334
|
+
</h4>
|
|
335
|
+
<ui-carousel effect="ken-burns" autoplay="true" infinite="true" height="340px" indicators="true" arrows="false" style="border-radius:16px; overflow:hidden; border:1px solid var(--border-default);">
|
|
336
|
+
${['nature_desert_3.png', 'nature_ocean_4.png', 'nature_lake_2.png'].map((img, idx) => `
|
|
337
|
+
<div style="height:100%; position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; padding:40px; color:white;">
|
|
338
|
+
<div style="position:absolute; inset:0; background:linear-gradient(135deg, #124e8c 0%, #0c335e 100%); z-index:1;"></div>
|
|
339
|
+
<img src="${assetPath}${img}" style="position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:2;" onerror="this.style.display='none';" />
|
|
340
|
+
<div style="position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,0.85), transparent 70%); z-index:3;"></div>
|
|
341
|
+
|
|
342
|
+
<div style="position:relative; z-index:10;">
|
|
343
|
+
<div style="font-size:11px; font-weight:800; background:#f59e0b; color:black; padding:3px 10px; border-radius:10px; width:fit-content; margin-bottom:8px;">CINEMATIC VIEW</div>
|
|
344
|
+
<h3 style="font-size:1.6rem; font-weight:800; margin:0 0 6px;">Exotic Landscape #${idx + 1}</h3>
|
|
345
|
+
<p style="font-size:13px; opacity:0.8; margin:0; max-width:320px;">Ken-Burns smooth scaling and panning transition layer is applied.</p>
|
|
346
|
+
</div>
|
|
347
|
+
</div>
|
|
348
|
+
`).join('')}
|
|
349
|
+
</ui-carousel>
|
|
350
|
+
</div>
|
|
351
|
+
|
|
352
|
+
</div>
|
|
353
|
+
|
|
354
|
+
</div>
|
|
355
|
+
`;
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
window.showCarouselTransitions = function () {
|
|
359
|
+
updateActiveBtn('showCarouselTransitions');
|
|
360
|
+
const container = document.getElementById('carouselDemoContainer');
|
|
361
|
+
if (!container) return;
|
|
362
|
+
|
|
363
|
+
container.innerHTML = `
|
|
364
|
+
<div class="demo-block reveal-slide-up" style="display:flex; flex-direction:column; gap:40px;">
|
|
365
|
+
|
|
366
|
+
<div>
|
|
367
|
+
<h3 class="specimen-title" style="margin-bottom:8px; font-weight:800; font-size:1.5rem; color:var(--text-primary);">🎬 High-Performance 3D Transitions</h3>
|
|
368
|
+
<p style="font-size:13px; color:var(--text-secondary); max-width:600px;">
|
|
369
|
+
Leveraging GPU-accelerated CSS 3D transform matrices to deliver incredibly smooth flips, wheel spins, and perspective folds.
|
|
370
|
+
</p>
|
|
371
|
+
</div>
|
|
372
|
+
|
|
373
|
+
<div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(360px, 1fr)); gap:32px;">
|
|
374
|
+
|
|
375
|
+
<!-- Effect 1: 3D Coverflow -->
|
|
376
|
+
<div style="padding:24px; background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:24px; display:flex; flex-direction:column; gap:16px; overflow:hidden;">
|
|
377
|
+
<h4 style="margin:0; font-size:13px; font-weight:800; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.05em; display:flex; justify-content:space-between;">
|
|
378
|
+
<span>⚡ 3D Coverflow</span>
|
|
379
|
+
<span style="color:var(--color-primary); font-size:11px;">effect="coverflow" center-mode="true"</span>
|
|
380
|
+
</h4>
|
|
381
|
+
<ui-carousel effect="coverflow" height="280px" autoplay="true" slides-to-show="3" center-mode="true" arrows="false" style="border-radius:16px;">
|
|
382
|
+
${[1,2,3,4,5].map(i => `
|
|
383
|
+
<div style="height:100%; padding:0 8px;">
|
|
384
|
+
<div style="height:100%; border-radius:16px; display:flex; flex-direction:column; justify-content:center; align-items:center; background:linear-gradient(135deg, #a855f7 0%, #6b21a8 100%); color:white; font-size:2rem; font-weight:800; box-shadow:var(--shadow-md);">
|
|
385
|
+
<span>💎 Card ${i}</span>
|
|
386
|
+
</div>
|
|
387
|
+
</div>
|
|
388
|
+
`).join('')}
|
|
389
|
+
</ui-carousel>
|
|
390
|
+
</div>
|
|
391
|
+
|
|
392
|
+
<!-- Effect 2: 3D Cube -->
|
|
393
|
+
<div style="padding:24px; background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:24px; display:flex; flex-direction:column; gap:16px; overflow:hidden;">
|
|
394
|
+
<h4 style="margin:0; font-size:13px; font-weight:800; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.05em; display:flex; justify-content:space-between;">
|
|
395
|
+
<span>🧊 3D Cube Rotation</span>
|
|
396
|
+
<span style="color:var(--color-primary); font-size:11px;">effect="cube"</span>
|
|
397
|
+
</h4>
|
|
398
|
+
<ui-carousel effect="cube" height="280px" indicators="true" arrows="true" style="border-radius:16px; overflow:visible;">
|
|
399
|
+
${[
|
|
400
|
+
{ bg: 'linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%)', label: 'Front Face' },
|
|
401
|
+
{ bg: 'linear-gradient(135deg, #10b981 0%, #047857 100%)', label: 'Right Face' },
|
|
402
|
+
{ bg: 'linear-gradient(135deg, #f59e0b 0%, #b45309 100%)', label: 'Back Face' },
|
|
403
|
+
{ bg: 'linear-gradient(135deg, #ef4444 0%, #b91c1c 100%)', label: 'Left Face' }
|
|
404
|
+
].map(face => `
|
|
405
|
+
<div style="height:100%; background:${face.bg}; color:white; display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:16px; box-shadow:var(--shadow-lg);">
|
|
406
|
+
<div style="font-size:3rem; margin-bottom:8px;">📦</div>
|
|
407
|
+
<h3 style="font-size:1.5rem; font-weight:800; margin:0;">${face.label}</h3>
|
|
408
|
+
</div>
|
|
409
|
+
`).join('')}
|
|
410
|
+
</ui-carousel>
|
|
411
|
+
</div>
|
|
412
|
+
|
|
413
|
+
<!-- Effect 3: 3D Flip -->
|
|
414
|
+
<div style="padding:24px; background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:24px; display:flex; flex-direction:column; gap:16px; overflow:hidden;">
|
|
415
|
+
<h4 style="margin:0; font-size:13px; font-weight:800; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.05em; display:flex; justify-content:space-between;">
|
|
416
|
+
<span>🎴 3D Perspective Flip</span>
|
|
417
|
+
<span style="color:var(--color-primary); font-size:11px;">effect="flip"</span>
|
|
418
|
+
</h4>
|
|
419
|
+
<ui-carousel effect="flip" height="280px" indicators="true" arrows="true" style="border-radius:16px; overflow:visible;">
|
|
420
|
+
${[
|
|
421
|
+
{ bg: 'linear-gradient(135deg, #ec4899 0%, #be185d 100%)', title: 'Interactive Slide A' },
|
|
422
|
+
{ bg: 'linear-gradient(135deg, #8b5cf6 0%, #5b21b6 100%)', title: 'Interactive Slide B' },
|
|
423
|
+
{ bg: 'linear-gradient(135deg, #06b6d4 0%, #0891b2 100%)', title: 'Interactive Slide C' }
|
|
424
|
+
].map(slide => `
|
|
425
|
+
<div style="height:100%; background:${slide.bg}; color:white; display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:16px; box-shadow:var(--shadow-lg);">
|
|
426
|
+
<div style="font-size:3rem; margin-bottom:8px;">🚀</div>
|
|
427
|
+
<h3 style="font-size:1.5rem; font-weight:800; margin:0;">${slide.title}</h3>
|
|
428
|
+
</div>
|
|
429
|
+
`).join('')}
|
|
430
|
+
</ui-carousel>
|
|
431
|
+
</div>
|
|
432
|
+
|
|
433
|
+
<!-- Effect 4: Vertical Wheel -->
|
|
434
|
+
<div style="padding:24px; background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:24px; display:flex; flex-direction:column; gap:16px; overflow:hidden;">
|
|
435
|
+
<h4 style="margin:0; font-size:13px; font-weight:800; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.05em; display:flex; justify-content:space-between;">
|
|
436
|
+
<span>☸️ 3D Vertical Wheel</span>
|
|
437
|
+
<span style="color:var(--color-primary); font-size:11px;">effect="wheel" vertical="true"</span>
|
|
438
|
+
</h4>
|
|
439
|
+
<ui-carousel effect="wheel" vertical="true" height="280px" autoplay="true" arrows="false" indicators="true" style="border-radius:16px;">
|
|
440
|
+
${[1, 2, 3, 4].map(i => `
|
|
441
|
+
<div style="height:100%; border-radius:16px; display:flex; flex-direction:column; justify-content:center; align-items:center; background:linear-gradient(135deg, #14b8a6 0%, #0f766e 100%); color:white; font-size:1.8rem; font-weight:800; box-shadow:var(--shadow-md);">
|
|
442
|
+
<span>🎡 Rotor Card ${i}</span>
|
|
443
|
+
</div>
|
|
444
|
+
`).join('')}
|
|
445
|
+
</ui-carousel>
|
|
446
|
+
</div>
|
|
447
|
+
|
|
448
|
+
</div>
|
|
449
|
+
|
|
450
|
+
</div>
|
|
451
|
+
`;
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
window.showCarouselContinuousTicker = function () {
|
|
455
|
+
updateActiveBtn('showCarouselContinuousTicker');
|
|
456
|
+
const container = document.getElementById('carouselDemoContainer');
|
|
457
|
+
if (!container) return;
|
|
458
|
+
|
|
459
|
+
container.innerHTML = `
|
|
460
|
+
<div class="demo-block reveal-slide-up" style="display:flex; flex-direction:column; gap:40px;">
|
|
461
|
+
|
|
462
|
+
<div>
|
|
463
|
+
<h3 class="specimen-title" style="margin-bottom:8px; font-weight:800; font-size:1.5rem; color:var(--text-primary);">📈 Industrial Ticker & Banners</h3>
|
|
464
|
+
<p style="font-size:13px; color:var(--text-secondary); max-width:600px;">
|
|
465
|
+
Continuous, pixel-perfect scrolling ticker lanes that animate continuously at customizable speeds. Ideal for telemetry monitors, announcement streams, or brand partnerships.
|
|
466
|
+
</p>
|
|
467
|
+
</div>
|
|
468
|
+
|
|
469
|
+
<div style="display:flex; flex-direction:column; gap:32px;">
|
|
470
|
+
|
|
471
|
+
<!-- Continuous Telemetry Ticker -->
|
|
472
|
+
<div style="padding:24px; background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:24px; display:flex; flex-direction:column; gap:16px;">
|
|
473
|
+
<div style="display:flex; justify-content:space-between; align-items:center;">
|
|
474
|
+
<h4 style="margin:0; font-size:13px; font-weight:800; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.05em; display:flex; align-items:center; gap:8px;">
|
|
475
|
+
<span style="color:#10b981; display:inline-block; width:8px; height:8px; border-radius:50%; background:#10b981; animation:pulse 1.5s infinite;"></span>
|
|
476
|
+
Live Telemetry Node Ticker
|
|
477
|
+
</h4>
|
|
478
|
+
<span style="background:var(--color-primary-subtle, rgba(99,102,241,0.15)); color:var(--color-primary); font-size:10px; font-weight:800; padding:4px 10px; border-radius:10px;">ticker-speed="1.2"</span>
|
|
479
|
+
</div>
|
|
480
|
+
<ui-carousel ticker="true" ticker-speed="1.2" height="110px" arrows="false" indicators="false" slides-to-show="4" infinite="true" style="border-radius:12px;">
|
|
481
|
+
${Array.from({ length: 8 }, (_, i) => `
|
|
482
|
+
<div style="padding:8px; height:100%;">
|
|
483
|
+
<div style="background:var(--bg-primary); border:1px solid var(--border-default); border-radius:12px; padding:16px; display:flex; align-items:center; gap:12px; height:100%; box-shadow:var(--shadow-sm);">
|
|
484
|
+
<div style="width:10px; height:10px; border-radius:50%; background:#10b981;"></div>
|
|
485
|
+
<div>
|
|
486
|
+
<div style="font-size:13px; font-weight:800; color:var(--text-primary);">NODE_${i + 1}</div>
|
|
487
|
+
<div style="font-size:11px; color:var(--text-secondary);">PING: ${10 + Math.floor(Math.random() * 20)}ms</div>
|
|
488
|
+
</div>
|
|
489
|
+
</div>
|
|
490
|
+
</div>
|
|
491
|
+
`).join('')}
|
|
492
|
+
</ui-carousel>
|
|
493
|
+
</div>
|
|
494
|
+
|
|
495
|
+
<!-- Industrial Announcement Banner -->
|
|
496
|
+
<div style="padding:24px; background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:24px; display:flex; flex-direction:column; gap:16px;">
|
|
497
|
+
<div style="display:flex; justify-content:space-between; align-items:center;">
|
|
498
|
+
<h4 style="margin:0; font-size:13px; font-weight:800; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.05em;">
|
|
499
|
+
📣 Industrial Warning Banner
|
|
500
|
+
</h4>
|
|
501
|
+
<span style="background:rgba(239,68,68,0.15); color:#ef4444; font-size:10px; font-weight:800; padding:4px 10px; border-radius:10px;">ticker-speed="2.5"</span>
|
|
502
|
+
</div>
|
|
503
|
+
<ui-carousel ticker="true" ticker-speed="2.5" height="80px" arrows="false" indicators="false" infinite="true" style="border-radius:12px;">
|
|
504
|
+
<div style="padding:10px; height:100%;">
|
|
505
|
+
<div style="height:100%; background:linear-gradient(to right, #7f1d1d, #ef4444); color:white; display:flex; align-items:center; justify-content:center; border-radius:8px; font-weight:800; font-size:1.15rem; letter-spacing:0.05em; padding:0 30px;">
|
|
506
|
+
⚠️ DANGER: UNCOMPRESSIBLE FEED PIPELINE OVERLOAD OVER 98% CAPACITY - SHIELD ACTIVE
|
|
507
|
+
</div>
|
|
508
|
+
</div>
|
|
509
|
+
<div style="padding:10px; height:100%;">
|
|
510
|
+
<div style="height:100%; background:linear-gradient(to right, #ef4444, #b91c1c); color:white; display:flex; align-items:center; justify-content:center; border-radius:8px; font-weight:800; font-size:1.15rem; letter-spacing:0.05em; padding:0 30px;">
|
|
511
|
+
⚡ SYSTEM WARNING: INTEGRATED KINEMATIC MOTORS RUNNING TEMPERATURE EXCEEDS SAFE MARGINS
|
|
512
|
+
</div>
|
|
513
|
+
</div>
|
|
514
|
+
</ui-carousel>
|
|
515
|
+
</div>
|
|
516
|
+
|
|
517
|
+
</div>
|
|
518
|
+
|
|
519
|
+
</div>
|
|
520
|
+
`;
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
window.showCarouselMobileStories = function () {
|
|
524
|
+
updateActiveBtn('showCarouselMobileStories');
|
|
525
|
+
const container = document.getElementById('carouselDemoContainer');
|
|
526
|
+
if (!container) return;
|
|
527
|
+
|
|
528
|
+
container.innerHTML = `
|
|
529
|
+
<div class="demo-block reveal-slide-up" style="display:flex; flex-direction:column; align-items:center; gap:32px;">
|
|
530
|
+
|
|
531
|
+
<div style="text-align:center;">
|
|
532
|
+
<h3 class="specimen-title" style="margin-bottom:8px; font-weight:800; font-size:1.5rem; color:var(--text-primary);">📱 Mobile Story Segment Progress</h3>
|
|
533
|
+
<p style="font-size:13px; color:var(--text-secondary); max-width:600px; margin:0 auto;">
|
|
534
|
+
Configuring stories-style progress segment bars with autoplay tick intervals. Perfect for quick news digests, onboarding tutorials, or reels.
|
|
535
|
+
</p>
|
|
536
|
+
</div>
|
|
537
|
+
|
|
538
|
+
<!-- Phone Shell Mockup -->
|
|
539
|
+
<div style="background:var(--bg-secondary); padding:40px; border-radius:40px; border:1px solid var(--border-default); box-shadow:var(--shadow-lg); display:flex; justify-content:center; width:100%; max-width:440px;">
|
|
540
|
+
<div class="phone-wrap">
|
|
541
|
+
|
|
542
|
+
<ui-carousel indicators="true" indicators-type="segments" autoplay="true" height="100%" effect="fade" infinite="true" autoplay-interval="4000" arrows="false" show-progress="true">
|
|
543
|
+
${[
|
|
544
|
+
{ bg: 'linear-gradient(to top, #0f172a, #1e293b)', text: 'Unlock Unlimited Potential', step: '01' },
|
|
545
|
+
{ bg: 'linear-gradient(to top, #1e1b4b, #311042)', text: 'Ultra Lightweight Layouts', step: '02' },
|
|
546
|
+
{ bg: 'linear-gradient(to top, #022c22, #064e3b)', text: 'Pixel Perfect Mechanics', step: '03' },
|
|
547
|
+
{ bg: 'linear-gradient(to top, #3c0764, #12005e)', text: 'Elite Developer Experience', step: '04' }
|
|
548
|
+
].map(slide => `
|
|
549
|
+
<div style="height:100%; position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; padding:40px; color:white; background:${slide.bg};">
|
|
550
|
+
<div style="position:absolute; top:-20%; left:-20%; width:100%; height:60%; background:radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%); pointer-events:none;"></div>
|
|
551
|
+
|
|
552
|
+
<div style="position:relative; z-index:10;">
|
|
553
|
+
<div style="font-size:3rem; font-weight:900; color:rgba(255,255,255,0.15); margin-bottom:12px; letter-spacing:-2px;">STEP ${slide.step}</div>
|
|
554
|
+
<h3 style="font-weight:800; font-size:1.6rem; letter-spacing:-0.5px; margin:0 0 12px; line-height:1.2; color:white;">${slide.text}</h3>
|
|
555
|
+
<p style="opacity:0.75; font-size:13px; margin:0 0 24px; line-height:1.5;">Witness the cinematic crossfade and stories segmented progress engine.</p>
|
|
556
|
+
|
|
557
|
+
<ui-button label="NEXT TUTORIAL →" size="md" color="primary" variant="solid" style="width:100%;" onclick="this.closest('ui-carousel').next()"></ui-button>
|
|
558
|
+
</div>
|
|
559
|
+
</div>
|
|
560
|
+
`).join('')}
|
|
561
|
+
</ui-carousel>
|
|
562
|
+
|
|
563
|
+
</div>
|
|
564
|
+
</div>
|
|
565
|
+
|
|
566
|
+
</div>
|
|
567
|
+
`;
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
window.showCarouselControlsAndA11y = function () {
|
|
571
|
+
updateActiveBtn('showCarouselControlsAndA11y');
|
|
572
|
+
const container = document.getElementById('carouselDemoContainer');
|
|
573
|
+
if (!container) return;
|
|
574
|
+
|
|
575
|
+
container.innerHTML = `
|
|
576
|
+
<div class="demo-block reveal-slide-up" style="display:flex; flex-direction:column; gap:40px;">
|
|
577
|
+
|
|
578
|
+
<div>
|
|
579
|
+
<h3 class="specimen-title" style="margin-bottom:8px; font-weight:800; font-size:1.5rem; color:var(--text-primary);">⚡ Advanced Controls & Accessibility</h3>
|
|
580
|
+
<p style="font-size:13px; color:var(--text-secondary); max-width:600px;">
|
|
581
|
+
Enterprise features including peeking center-mode, precise slide counters, mouse dragging, wheel scrolling, and synced carousels.
|
|
582
|
+
</p>
|
|
583
|
+
</div>
|
|
584
|
+
|
|
585
|
+
<div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(400px, 1fr)); gap:32px;">
|
|
586
|
+
|
|
587
|
+
<!-- Card 1: Center Mode Peeking + Drag -->
|
|
588
|
+
<div style="padding:24px; background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:24px; display:flex; flex-direction:column; gap:16px;">
|
|
589
|
+
<h4 style="margin:0; font-size:14px; font-weight:800; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.05em;">
|
|
590
|
+
🖱️ Center Mode Peeking & Dragging
|
|
591
|
+
</h4>
|
|
592
|
+
<p style="font-size:12px; color:var(--text-secondary); margin:0;">
|
|
593
|
+
<code>center-mode</code> allows adjacent slides to partially peek in. Combined with <code>enable-drag</code>, users can swipe cards smoothly.
|
|
594
|
+
</p>
|
|
595
|
+
<ui-carousel center-mode="true" center-padding="60px" height="240px" indicators="true" arrows="true" style="border-radius:16px;">
|
|
596
|
+
${[1, 2, 3, 4].map(i => `
|
|
597
|
+
<div style="height:100%; padding:0 8px;">
|
|
598
|
+
<div style="height:100%; border-radius:12px; display:flex; flex-direction:column; justify-content:center; align-items:center; background:linear-gradient(135deg, #fb7185 0%, #e11d48 100%); color:white; font-size:1.6rem; font-weight:800; box-shadow:var(--shadow-sm);">
|
|
599
|
+
<span>📇 Slide ${i}</span>
|
|
600
|
+
</div>
|
|
601
|
+
</div>
|
|
602
|
+
`).join('')}
|
|
603
|
+
</ui-carousel>
|
|
604
|
+
</div>
|
|
605
|
+
|
|
606
|
+
<!-- Card 2: Interactive Counter & Progress Indicators -->
|
|
607
|
+
<div style="padding:24px; background:var(--bg-secondary); border:1px solid var(--border-default); border-radius:24px; display:flex; flex-direction:column; gap:16px;">
|
|
608
|
+
<h4 style="margin:0; font-size:14px; font-weight:800; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.05em;">
|
|
609
|
+
📊 Slide Counter & Autoplay Progress
|
|
610
|
+
</h4>
|
|
611
|
+
<p style="font-size:12px; color:var(--text-secondary); margin:0;">
|
|
612
|
+
Enable <code>show-counter</code> to render progress counts (e.g. 1 / 4) and <code>show-progress</code> for top-aligned timer bars.
|
|
613
|
+
</p>
|
|
614
|
+
<ui-carousel show-counter="true" show-progress="true" autoplay="true" autoplay-interval="4000" height="240px" indicators="true" arrows="true" style="border-radius:16px;">
|
|
615
|
+
${['#0284c7', '#059669', '#d97706', '#dc2626'].map((bg, idx) => `
|
|
616
|
+
<div style="height:100%; background:${bg}; color:white; display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:16px;">
|
|
617
|
+
<h3 style="font-size:1.5rem; font-weight:800; margin:0;">Visual Page #${idx + 1}</h3>
|
|
618
|
+
<p style="font-size:12px; opacity:0.8; margin-top:4px;">Watch the top-aligned linear loader fill up.</p>
|
|
619
|
+
</div>
|
|
620
|
+
`).join('')}
|
|
621
|
+
</ui-carousel>
|
|
622
|
+
</div>
|
|
623
|
+
|
|
624
|
+
</div>
|
|
625
|
+
|
|
626
|
+
</div>
|
|
627
|
+
`;
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
// Render playground by default
|
|
631
|
+
setTimeout(() => window.showCarouselPlayground(), 50);
|
|
632
|
+
}
|