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
|
@@ -86,16 +86,16 @@ export const initSnackbarDemo = () => {
|
|
|
86
86
|
window.showInteractiveSnackbar = () => {
|
|
87
87
|
updateActiveBtn('btnSnackPlayground');
|
|
88
88
|
container.innerHTML = `
|
|
89
|
-
<div class="demo-block">
|
|
89
|
+
<div class="demo-block" style="background:var(--bg-primary,white);border-radius:20px;padding:28px;border:1px solid var(--border-default,#e2e8f0);">
|
|
90
90
|
<h3>🎮 Interactive Playground</h3>
|
|
91
|
-
<p style="margin-bottom: 20px; color:
|
|
91
|
+
<p style="margin-bottom: 20px; color:var(--text-secondary,#64748b); font-size: 14px;">Configure every property of the Snackbar system in real-time.</p>
|
|
92
92
|
|
|
93
|
-
<div style="background-color:
|
|
93
|
+
<div style="background-color:var(--bg-secondary,#f8fafc); padding: 24px; border-radius: 12px; margin-bottom: 20px; border:1px solid var(--border-default,#e2e8f0); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.4);">
|
|
94
94
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;">
|
|
95
95
|
|
|
96
96
|
<!-- Column 1: Container Props -->
|
|
97
97
|
<div style="display: flex; flex-direction: column; gap: 14px;">
|
|
98
|
-
<h4 style="margin: 0; font-size: 11px; color:
|
|
98
|
+
<h4 style="margin: 0; font-size: 11px; color:var(--accent-pink,#ec4899); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800;">Container Props</h4>
|
|
99
99
|
|
|
100
100
|
<ui-dropdown label="Position" id="pgPosition" value="bottom-right">
|
|
101
101
|
<option value="bottom-right">Bottom Right</option>
|
|
@@ -127,7 +127,7 @@ export const initSnackbarDemo = () => {
|
|
|
127
127
|
|
|
128
128
|
<ui-input type="number" label="Global Duration (ms)" id="pgGlobalDuration" value="5000" step="500"></ui-input>
|
|
129
129
|
|
|
130
|
-
<div style="display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding: 10px; background:
|
|
130
|
+
<div style="display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding: 10px; background:var(--bg-tertiary,#f1f5f9); border-radius: 8px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
131
131
|
<ui-checkbox label="Card Stacking" id="pgCardStack"></ui-checkbox>
|
|
132
132
|
<ui-checkbox label="Smart Grouping" id="pgCoalesce"></ui-checkbox>
|
|
133
133
|
<ui-checkbox label="Pause on Focus Loss" id="pgPauseFocus" checked></ui-checkbox>
|
|
@@ -203,7 +203,7 @@ export const initSnackbarDemo = () => {
|
|
|
203
203
|
<option value="custom">Custom URL</option>
|
|
204
204
|
</ui-dropdown>
|
|
205
205
|
|
|
206
|
-
<div style="display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding: 10px; background:
|
|
206
|
+
<div style="display: flex; flex-direction: column; gap: 10px; margin-top: 4px; padding: 10px; background:var(--bg-tertiary,#f1f5f9); border-radius: 8px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
207
207
|
<ui-checkbox label="Closable" id="pgClosable" checked></ui-checkbox>
|
|
208
208
|
<ui-checkbox label="Haptic Feedback" id="pgHaptic"></ui-checkbox>
|
|
209
209
|
<ui-checkbox label="Slot Support" id="pgEnableSlots"></ui-checkbox>
|
|
@@ -216,25 +216,25 @@ export const initSnackbarDemo = () => {
|
|
|
216
216
|
</div>
|
|
217
217
|
|
|
218
218
|
<div style="margin-top: 20px; background: #0f172a; padding: 20px; border-radius: 12px; position: relative; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);">
|
|
219
|
-
<div style="color:
|
|
219
|
+
<div style="color:var(--text-secondary,#64748b); font-size: 11px; position: absolute; top: 12px; left: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;">Usage Code</div>
|
|
220
220
|
<ui-button onclick="copyPgCode()" style="position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 6px; font-size: 11px; cursor: pointer;">Copy</ui-button>
|
|
221
221
|
<code id="snackbarCodeBlock" style="color: #f8fafc; font-family: 'Fira Code', monospace; font-size: 13px; display: block; overflow-x: auto; white-space: pre-wrap; line-height: 1.6; margin-top: 20px;"></code>
|
|
222
222
|
</div>
|
|
223
223
|
|
|
224
|
-
<div id="eventLog" style="margin-top: 24px; padding: 16px; background-color:
|
|
225
|
-
<h4 style="margin: 0 0 12px; font-size: 14px; color:
|
|
226
|
-
<div id="eventLogContent" style="font-family: 'Fira Code', monospace; font-size: 12px; color:
|
|
227
|
-
<div style="color:
|
|
224
|
+
<div id="eventLog" style="margin-top: 24px; padding: 16px; background-color:var(--bg-secondary,#f8fafc); border-radius: 10px; border:1px solid var(--border-default,#e2e8f0);">
|
|
225
|
+
<h4 style="margin: 0 0 12px; font-size: 14px; color:var(--text-secondary,#64748b); font-weight: 700;">Event Log:</h4>
|
|
226
|
+
<div id="eventLogContent" style="font-family: 'Fira Code', monospace; font-size: 12px; color:var(--text-secondary,#64748b); max-height: 120px; overflow-y: auto;">
|
|
227
|
+
<div style="color:var(--text-secondary,#64748b);">Waiting for events...</div>
|
|
228
228
|
</div>
|
|
229
229
|
</div>
|
|
230
230
|
</div>
|
|
231
231
|
|
|
232
232
|
<style>
|
|
233
|
-
.pg-label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color:
|
|
234
|
-
.pg-select, .pg-input { padding: 10px 12px; border:
|
|
235
|
-
.pg-select:focus, .pg-input:focus { border-color:
|
|
236
|
-
.pg-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; cursor: pointer; color:
|
|
237
|
-
.demo-block h3 { margin-bottom: 8px; font-size: 24px; font-weight: 800; color:
|
|
233
|
+
.pg-label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color:var(--text-secondary,#64748b); }
|
|
234
|
+
.pg-select, .pg-input { padding: 10px 12px; border:1px solid var(--border-default,#e2e8f0); border-radius: 8px; font-size: 13px; font-family: inherit; color:var(--text-primary,#1e293b); background:var(--bg-secondary,#f8fafc); outline: none; transition: border-color 0.2s; }
|
|
235
|
+
.pg-select:focus, .pg-input:focus { border-color:var(--accent-pink,#ec4899); }
|
|
236
|
+
.pg-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; cursor: pointer; color:var(--text-secondary,#64748b); }
|
|
237
|
+
.demo-block h3 { margin-bottom: 8px; font-size: 24px; font-weight: 800; color:var(--text-primary,#1e293b); }
|
|
238
238
|
</style>
|
|
239
239
|
`;
|
|
240
240
|
|
|
@@ -464,7 +464,7 @@ snackbar.add({
|
|
|
464
464
|
<h3>🎴 Card Stacking Mode</h3>
|
|
465
465
|
<p>Visual stacking engine where notifications occupy less space and expand logically. Highly optimized for mobile and clean dashboards.</p>
|
|
466
466
|
|
|
467
|
-
<div style="display: flex; gap: 12px; margin-top: 20px; background:
|
|
467
|
+
<div style="display: flex; gap: 12px; margin-top: 20px; background:var(--bg-secondary,#f8fafc); padding: 20px; border-radius: 12px; border:1px solid var(--border-default,#e2e8f0);">
|
|
468
468
|
<div style="flex: 1;">
|
|
469
469
|
<h4 style="margin: 0 0 8px; font-weight: 700;">Global Toggle</h4>
|
|
470
470
|
<div style="display: flex; gap: 10px;">
|
|
@@ -476,7 +476,7 @@ snackbar.add({
|
|
|
476
476
|
|
|
477
477
|
<div style="margin-top: 30px;">
|
|
478
478
|
<h4 style="margin: 0 0 12px; font-weight: 700;">Orientation Playground</h4>
|
|
479
|
-
<p style="font-size: 13px; color:
|
|
479
|
+
<p style="font-size: 13px; color:var(--text-secondary,#64748b); margin-bottom: 16px;">Test how the Material Tray adapts to different screen anchors.</p>
|
|
480
480
|
|
|
481
481
|
<div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 600px;">
|
|
482
482
|
<ui-button onclick="testStackedPosition('top-left')" >Top Left</ui-button>
|
|
@@ -566,19 +566,19 @@ snackbar.add({
|
|
|
566
566
|
<div class="demo-block">
|
|
567
567
|
<h3>Intelligent Workflows</h3>
|
|
568
568
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px;">
|
|
569
|
-
<div style="background:
|
|
569
|
+
<div style="background:var(--bg-secondary,#f8fafc); padding: 20px; border-radius: 12px; border:1px solid var(--border-default,#e2e8f0);">
|
|
570
570
|
<h4 style="margin: 0 0 8px; font-weight: 700;">Async Promise</h4>
|
|
571
|
-
<p style="font-size: 13px; color:
|
|
571
|
+
<p style="font-size: 13px; color:var(--text-secondary,#64748b); margin-bottom: 12px;">Automatic Loading -> Success/Error state.</p>
|
|
572
572
|
<ui-button onclick="testSnackbarPromise()" >Run Job</ui-button>
|
|
573
573
|
</div>
|
|
574
|
-
<div style="background:
|
|
574
|
+
<div style="background:var(--bg-secondary,#f8fafc); padding: 20px; border-radius: 12px; border:1px solid var(--border-default,#e2e8f0);">
|
|
575
575
|
<h4 style="margin: 0 0 8px; font-weight: 700;">Undoable Action</h4>
|
|
576
|
-
<p style="font-size: 13px; color:
|
|
576
|
+
<p style="font-size: 13px; color:var(--text-secondary,#64748b); margin-bottom: 12px;">Archive or Delete with a 6s rollback window.</p>
|
|
577
577
|
<ui-button onclick="testSnackbarUndoable()" >Delete Item</ui-button>
|
|
578
578
|
</div>
|
|
579
|
-
<div style="background:
|
|
579
|
+
<div style="background:var(--bg-secondary,#f8fafc); padding: 20px; border-radius: 12px; border:1px solid var(--border-default,#e2e8f0);">
|
|
580
580
|
<h4 style="margin: 0 0 8px; font-weight: 700;">Quick Input</h4>
|
|
581
|
-
<p style="font-size: 13px; color:
|
|
581
|
+
<p style="font-size: 13px; color:var(--text-secondary,#64748b); margin-bottom: 12px;">Collect data directly within the popup.</p>
|
|
582
582
|
<ui-button onclick="testSnackbarInput()" >Add Tag</ui-button>
|
|
583
583
|
</div>
|
|
584
584
|
</div>
|
|
@@ -595,23 +595,23 @@ snackbar.add({
|
|
|
595
595
|
|
|
596
596
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px;">
|
|
597
597
|
<!-- Smart Coalescing -->
|
|
598
|
-
<div style="background:
|
|
599
|
-
<h4 style="color:
|
|
600
|
-
<p style="font-size: 13px; color:
|
|
598
|
+
<div style="background:var(--accent-yellow-soft,#fffbeb); padding: 20px; border-radius: 12px; border: 1px solid #fde68a;">
|
|
599
|
+
<h4 style="color:var(--accent-yellow,#92400e); margin: 0 0 8px;">Smart Coalescing</h4>
|
|
600
|
+
<p style="font-size: 13px; color:var(--accent-yellow,#b45309); margin-bottom: 15px;">Automatically groups identical messages into a single entry with a counter.</p>
|
|
601
601
|
<ui-button onclick="testCoalesce()" ">Spam 10 Messages</ui-button>
|
|
602
602
|
</div>
|
|
603
603
|
|
|
604
604
|
<!-- Priority Reordering -->
|
|
605
|
-
<div style="background:
|
|
606
|
-
<h4 style="color:
|
|
607
|
-
<p style="font-size: 13px; color:
|
|
605
|
+
<div style="background:var(--accent-green-soft,#f0fdf4); padding: 20px; border-radius: 12px; border: 1px solid #bbf7d0;">
|
|
606
|
+
<h4 style="color: var(--accent-green,#166534); margin: 0 0 8px;">Priority Reordering</h4>
|
|
607
|
+
<p style="font-size: 13px; color:var(--accent-green,#15803d); margin-bottom: 15px;">Trigger 5 normal messages, then jump the line with a High priority alert.</p>
|
|
608
608
|
<ui-button onclick="testPriorityJam()" ">Priority Jam Demo</ui-button>
|
|
609
609
|
</div>
|
|
610
610
|
|
|
611
611
|
<!-- Animation Lab -->
|
|
612
|
-
<div style="background:
|
|
612
|
+
<div style="background:var(--accent-purple-soft,#f5f3ff); padding: 20px; border-radius: 12px; border: 1px solid #ddd6fe;">
|
|
613
613
|
<h4 style="color: #5b21b6; margin: 0 0 8px;">Animation Lab</h4>
|
|
614
|
-
<p style="font-size: 13px; color:
|
|
614
|
+
<p style="font-size: 13px; color:var(--accent-purple,#6d28d9); margin-bottom: 15px;">Cycle through all entry physics systems sequentially.</p>
|
|
615
615
|
<ui-button onclick="testAnimationLab()" ">Run Animation Cycle</ui-button>
|
|
616
616
|
</div>
|
|
617
617
|
</div>
|
|
@@ -664,21 +664,21 @@ snackbar.add({
|
|
|
664
664
|
|
|
665
665
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px;">
|
|
666
666
|
<!-- Light Theme -->
|
|
667
|
-
<div style="background:
|
|
667
|
+
<div style="background:var(--bg-secondary,#f8fafc); padding: 20px; border-radius: 12px; border:1px solid var(--border-default,#e2e8f0);">
|
|
668
668
|
<h4 style="margin: 0 0 12px;">Adaptive Themes</h4>
|
|
669
669
|
<ui-button onclick="testTheme('light')" -weight: 600; margin-bottom: 8px;">Force Light Mode</ui-button>
|
|
670
670
|
<ui-button onclick="testTheme('dark')" ">Force Dark Mode</ui-button>
|
|
671
671
|
</div>
|
|
672
672
|
|
|
673
673
|
<!-- Component Sizing -->
|
|
674
|
-
<div style="background:
|
|
674
|
+
<div style="background:var(--bg-secondary,#f8fafc); padding: 20px; border-radius: 12px; border:1px solid var(--border-default,#e2e8f0);">
|
|
675
675
|
<h4 style="margin: 0 0 12px;">Component Scaling</h4>
|
|
676
676
|
<div style="display: flex; gap: 8px;">
|
|
677
677
|
<ui-button onclick="testSize('sm')" >Small</ui-button>
|
|
678
678
|
<ui-button onclick="testSize('md')" >md</ui-button>
|
|
679
679
|
<ui-button onclick="testSize('lg')" >Large</ui-button>
|
|
680
680
|
</div>
|
|
681
|
-
<p style="font-size: 11px; color:
|
|
681
|
+
<p style="font-size: 11px; color:var(--text-secondary,#64748b); margin-top: 10px;">Dynamically rescales padding, fonts, and icon sizes for global parity.</p>
|
|
682
682
|
</div>
|
|
683
683
|
</div>
|
|
684
684
|
</div>
|
|
@@ -736,16 +736,16 @@ snackbar.add({
|
|
|
736
736
|
const slotDiv = document.createElement('div');
|
|
737
737
|
slotDiv.id = slotId;
|
|
738
738
|
slotDiv.innerHTML = `
|
|
739
|
-
<div style="background:
|
|
739
|
+
<div style="background:var(--bg-primary,white); padding: 20px; border-radius: 16px; box-shadow: 0 15px 30px -10px rgba(0,0,0,0.2); border:1px solid var(--border-default,#e2e8f0); min-width: 360px; animation: slideUp 0.5s ease; position: relative; pointer-events: auto; margin-bottom: 10px;">
|
|
740
740
|
<div style="display: flex; gap: 16px; align-items: start; margin-bottom: 16px;">
|
|
741
741
|
<div style="width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #10b981, #10b981); display: flex; align-items: center; justify-content: center; color: white;">
|
|
742
742
|
<ui-icon library="lucide" name="file-text" size="24px"></ui-icon>
|
|
743
743
|
</div>
|
|
744
744
|
<div style="flex: 1;">
|
|
745
|
-
<div style="font-weight: 800; color:
|
|
746
|
-
<div style="font-size: 13px; color:
|
|
745
|
+
<div style="font-weight: 800; color:var(--text-primary,#0f172a); font-size: 15px;">New Shared Document</div>
|
|
746
|
+
<div style="font-size: 13px; color:var(--text-secondary,#64748b); margin-top: 2px;">"Q1_Report_Final.pdf" shared by <b>Sarah</b></div>
|
|
747
747
|
</div>
|
|
748
|
-
<ui-button onclick="this.closest('div[id^=slot-]').remove()" style="border: none; background:
|
|
748
|
+
<ui-button onclick="this.closest('div[id^=slot-]').remove()" style="border: none; background:var(--bg-tertiary,#f1f5f9); color:var(--text-secondary,#64748b); width: 24px; height: 24px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 10px;">✕</ui-button>
|
|
749
749
|
</div>
|
|
750
750
|
<div style="display: flex; gap: 10px;">
|
|
751
751
|
<ui-button onclick="alert('Downloading...')" ; cursor: pointer;">Download</ui-button>
|
|
@@ -802,21 +802,21 @@ snackbar.add({
|
|
|
802
802
|
container.innerHTML = `
|
|
803
803
|
<div class="demo-block">
|
|
804
804
|
<h3>🆕 New Features Showcase</h3>
|
|
805
|
-
<p style="color
|
|
805
|
+
<p style="color:var(--text-secondary,#64748b); font-size:14px; margin-bottom:24px;">All 7 newly implemented capabilities in one place.</p>
|
|
806
806
|
|
|
807
807
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;">
|
|
808
808
|
|
|
809
809
|
<!-- Events -->
|
|
810
|
-
<div style="background
|
|
811
|
-
<h4 style="color
|
|
812
|
-
<p style="font-size:13px;color
|
|
810
|
+
<div style="background:var(--accent-green-soft,#f0fdf4); padding:20px; border-radius:12px; border:1px solid #bbf7d0;">
|
|
811
|
+
<h4 style="color:var(--accent-green,#166534); margin:0 0 6px;">📡 snackbarAdded / Updated Events</h4>
|
|
812
|
+
<p style="font-size:13px;color:var(--accent-green,#15803d);margin-bottom:12px;">Fire a notification — both events are logged in the Playground event log.</p>
|
|
813
813
|
<ui-button onclick="testEventsDemo()" >Fire & Observe Events</ui-button>
|
|
814
814
|
</div>
|
|
815
815
|
|
|
816
816
|
<!-- getAll() -->
|
|
817
|
-
<div style="background
|
|
818
|
-
<h4 style="color
|
|
819
|
-
<p style="font-size:13px;color
|
|
817
|
+
<div style="background:var(--accent-blue-soft,#eff6ff); padding:20px; border-radius:12px; border:1px solid #bfdbfe;">
|
|
818
|
+
<h4 style="color:var(--accent-blue,#1e40af); margin:0 0 6px;">📋 getAll()</h4>
|
|
819
|
+
<p style="font-size:13px;color:var(--accent-blue,#1d4ed8);margin-bottom:12px;">Query all current notifications programmatically.</p>
|
|
820
820
|
<ui-button onclick="testGetAll()" >getAll() Snapshot</ui-button>
|
|
821
821
|
<pre id="getAllOutput" style="margin-top:10px;background:#1e3a5f;color:#93c5fd;padding:10px;border-radius:6px;font-size:11px;max-height:100px;overflow-y:auto;display:none;"></pre>
|
|
822
822
|
</div>
|
|
@@ -832,15 +832,15 @@ snackbar.add({
|
|
|
832
832
|
</div>
|
|
833
833
|
|
|
834
834
|
<!-- replace() -->
|
|
835
|
-
<div style="background
|
|
835
|
+
<div style="background:var(--accent-orange-soft,#fff7ed); padding:20px; border-radius:12px; border:1px solid #fed7aa;">
|
|
836
836
|
<h4 style="color:#9a3412; margin:0 0 6px;">🔄 replace(id, newItem)</h4>
|
|
837
|
-
<p style="font-size:13px;color
|
|
837
|
+
<p style="font-size:13px;color:var(--accent-orange,#c2410c);margin-bottom:12px;">Completely swap an existing notification with new content.</p>
|
|
838
838
|
<ui-button onclick="testReplaceDemo()" >Replace in 2s</ui-button>
|
|
839
839
|
</div>
|
|
840
840
|
|
|
841
841
|
<!-- closeNext() fix -->
|
|
842
|
-
<div style="background
|
|
843
|
-
<h4 style="color
|
|
842
|
+
<div style="background:var(--bg-tertiary,#f1f5f9); padding:20px; border-radius:12px; border:1px solid #cbd5e1;">
|
|
843
|
+
<h4 style="color:var(--text-primary,#0f172a); margin:0 0 6px;">🗂 closeNext() — Fixed FIFO/LIFO</h4>
|
|
844
844
|
<p style="font-size:13px;color:#475569;margin-bottom:12px;">Queue mode closes oldest first; Stack removes newest.</p>
|
|
845
845
|
<div style="display:flex;gap:8px;">
|
|
846
846
|
<ui-button onclick="testCloseNext('queue')" >Queue FIFO</ui-button>
|
|
@@ -851,7 +851,7 @@ snackbar.add({
|
|
|
851
851
|
<!-- pauseOnHover -->
|
|
852
852
|
<div style="background:#fefce8; padding:20px; border-radius:12px; border:1px solid #fde68a;">
|
|
853
853
|
<h4 style="color:#854d0e; margin:0 0 6px;">🖱️ pauseOnHover Prop</h4>
|
|
854
|
-
<p style="font-size:13px;color
|
|
854
|
+
<p style="font-size:13px;color:var(--accent-yellow,#92400e);margin-bottom:12px;">Toggle whether hovering pauses auto-dismiss timers.</p>
|
|
855
855
|
<div style="display:flex;gap:8px;">
|
|
856
856
|
<ui-button onclick="setPauseOnHover(true)" >Pause ON</ui-button>
|
|
857
857
|
<ui-button onclick="setPauseOnHover(false)" >Pause OFF</ui-button>
|
|
@@ -1020,9 +1020,9 @@ snackbar.add({
|
|
|
1020
1020
|
</div>
|
|
1021
1021
|
|
|
1022
1022
|
<!-- RTL -->
|
|
1023
|
-
<div style="background
|
|
1023
|
+
<div style="background:var(--accent-purple-soft,#f5f3ff); padding:20px; border-radius:12px; border:1px solid #ddd6fe;">
|
|
1024
1024
|
<h4 style="color:#5b21b6; margin:0 0 6px;">🌐 RTL Support</h4>
|
|
1025
|
-
<p style="font-size:13px;color
|
|
1025
|
+
<p style="font-size:13px;color:var(--accent-purple,#6d28d9);margin-bottom:12px;">Auto-detected from <code>dir="rtl"</code>. Positions and slide animations are mirrored.</p>
|
|
1026
1026
|
<div style="display:flex;gap:8px;">
|
|
1027
1027
|
<ui-button onclick="testRTL(true)" >Enable RTL</ui-button>
|
|
1028
1028
|
<ui-button onclick="testRTL(false)" >Back to LTR</ui-button>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Component Demo Functions
|
|
1
|
+
// Component Demo Functions
|
|
2
2
|
export function initSpeedDialDemo() {
|
|
3
3
|
const section = document.getElementById('speed-dial');
|
|
4
4
|
if (!section) return;
|
|
@@ -105,10 +105,10 @@ export function initSpeedDialDemo() {
|
|
|
105
105
|
<h4>Custom Directions</h4>
|
|
106
106
|
<p style="color: #6b7280;">Force specific opening directions</p>
|
|
107
107
|
<div style="margin-top: 20px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;">
|
|
108
|
-
<div style="padding: 10px; background:
|
|
109
|
-
<div style="padding: 10px; background:
|
|
110
|
-
<div style="padding: 10px; background:
|
|
111
|
-
<div style="padding: 10px; background:
|
|
108
|
+
<div style="padding: 10px; background:var(--accent-yellow-soft,#fef3c7); border-radius: 6px;">Up</div>
|
|
109
|
+
<div style="padding: 10px; background:var(--accent-blue-soft,#dbeafe); border-radius: 6px;">Down</div>
|
|
110
|
+
<div style="padding: 10px; background:var(--accent-pink-soft,#fce7f3); border-radius: 6px;">Left</div>
|
|
111
|
+
<div style="padding: 10px; background:var(--accent-green-soft,#dcfce7); border-radius: 6px;">Right</div>
|
|
112
112
|
</div>
|
|
113
113
|
</div>
|
|
114
114
|
`;
|
|
@@ -207,11 +207,11 @@ export function initSpeedDialDemo() {
|
|
|
207
207
|
<h4>Color Variants</h4>
|
|
208
208
|
<p style="color: #6b7280; margin-bottom: 20px;">All available color schemes</p>
|
|
209
209
|
<div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px;">
|
|
210
|
-
<div style="padding: 10px; background:
|
|
210
|
+
<div style="padding: 10px; background:var(--accent-blue-soft,#dbeafe); border-radius: 6px;">Primary</div>
|
|
211
211
|
<div style="padding: 10px; background: #e5e7eb; border-radius: 6px;">Secondary</div>
|
|
212
|
-
<div style="padding: 10px; background:
|
|
213
|
-
<div style="padding: 10px; background:
|
|
214
|
-
<div style="padding: 10px; background:
|
|
212
|
+
<div style="padding: 10px; background:var(--accent-green-soft,#dcfce7); border-radius: 6px;">Success</div>
|
|
213
|
+
<div style="padding: 10px; background:var(--accent-red-soft,#fee2e2); border-radius: 6px;">Danger</div>
|
|
214
|
+
<div style="padding: 10px; background:var(--accent-yellow-soft,#fef3c7); border-radius: 6px;">Warning</div>
|
|
215
215
|
<div style="padding: 10px; background: #cffafe; border-radius: 6px;">Info</div>
|
|
216
216
|
</div>
|
|
217
217
|
</div>
|
|
@@ -401,7 +401,7 @@ export function initSpeedDialDemo() {
|
|
|
401
401
|
if (!container) return;
|
|
402
402
|
|
|
403
403
|
container.innerHTML = `
|
|
404
|
-
<div style="background-color:
|
|
404
|
+
<div style="background-color:var(--bg-primary,white); border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);">
|
|
405
405
|
<div style="display: flex; gap: 30px; flex-wrap: wrap;">
|
|
406
406
|
<div style="flex: 1; min-width: 300px;">
|
|
407
407
|
<h3>🎮 Interactive Playground</h3>
|
|
@@ -549,11 +549,11 @@ export function initSpeedDialDemo() {
|
|
|
549
549
|
</div>
|
|
550
550
|
</div>
|
|
551
551
|
|
|
552
|
-
<div style="flex: 1; min-width: 300px; background-color: #f9fafb; padding: 20px; border-radius: 8px; border:
|
|
552
|
+
<div style="flex: 1; min-width: 300px; background-color: #f9fafb; padding: 20px; border-radius: 8px; border:1px solid var(--border-default,#e5e7eb); position: relative; min-height: 500px;">
|
|
553
553
|
<h4 style="margin-top: 0;">Preview:</h4>
|
|
554
554
|
<p style="color: #6b7280; font-size: 14px;">Click the button to see the speed dial actions</p>
|
|
555
555
|
<div id="interactiveSpeedDialContainer" style="margin-top: 20px;"></div>
|
|
556
|
-
<div id="speedDialOutput" style="margin-top: 20px; padding: 10px; background-color:
|
|
556
|
+
<div id="speedDialOutput" style="margin-top: 20px; padding: 10px; background-color:var(--bg-primary,white); border-radius: 4px; font-family: monospace; font-size: 12px; display: none;"></div>
|
|
557
557
|
|
|
558
558
|
<div style="margin-top: 20px; background: #1e293b; padding: 16px; border-radius: 8px; position: relative;">
|
|
559
559
|
<ui-button onclick="copySpeedDialCode()" id="copySpeedDialBtn" style="position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.1); color: white; border: none; padding: 4px 10px; border-radius: 4px; font-size: 11px; cursor: pointer; transition: all 0.2s;">Copy</ui-button>
|
|
@@ -587,11 +587,11 @@ export function initSpeedDialDemo() {
|
|
|
587
587
|
margin: 0 auto;
|
|
588
588
|
border: 2px dashed #cbd5e1;
|
|
589
589
|
border-radius: 8px;
|
|
590
|
-
background:
|
|
590
|
+
background:var(--bg-secondary,#f8fafc);
|
|
591
591
|
display: flex;
|
|
592
592
|
align-items: center;
|
|
593
593
|
justify-content: center;
|
|
594
|
-
color:
|
|
594
|
+
color:var(--text-secondary,#64748b);
|
|
595
595
|
">
|
|
596
596
|
<p>I am a relative container</p>
|
|
597
597
|
|
|
@@ -49,7 +49,7 @@ window.showSpeedometerPlayground = function () {
|
|
|
49
49
|
<div class="demo-block">
|
|
50
50
|
<h3>Interactive Playground</h3>
|
|
51
51
|
<div style="display: grid; grid-template-columns: 360px 1fr; gap: 32px;">
|
|
52
|
-
<div class="control-panel" style="padding: 24px; background:
|
|
52
|
+
<div class="control-panel" style="padding: 24px; background:var(--bg-secondary,#f9fafb); border-radius: 12px; border:1px solid var(--border-default,#e5e7eb); box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05); display: flex; flex-direction: column; gap: 20px;">
|
|
53
53
|
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px;">
|
|
54
54
|
<ui-input id="playValue" label="Target Value" type="number" value="65"></ui-input>
|
|
55
55
|
<ui-input id="playSecondaryValue" label="Secondary Value" type="number" value="45"></ui-input>
|
|
@@ -74,21 +74,21 @@ window.showSpeedometerPlayground = function () {
|
|
|
74
74
|
id="playNeedleShape"
|
|
75
75
|
label="Needle Style"
|
|
76
76
|
value="triangle"
|
|
77
|
-
|
|
77
|
+
options='[{"label": "Triangle", "value": "triangle"}, {"label": "Arrow", "value": "arrow"}, {"label": "Line", "value": "line"}]'
|
|
78
78
|
></ui-dropdown>
|
|
79
79
|
|
|
80
|
-
<div style="display: flex; flex-direction: column; gap: 12px; padding: 12px; background:
|
|
80
|
+
<div style="display: flex; flex-direction: column; gap: 12px; padding: 12px; background:var(--bg-primary,white); border-radius: 8px; border:1px solid var(--border-default,#e2e8f0);">
|
|
81
81
|
<ui-checkbox id="playInteractive" label="Interactive Drag" checked></ui-checkbox>
|
|
82
82
|
<ui-checkbox id="playShowTicks" label="Show Scale Ticks" checked></ui-checkbox>
|
|
83
83
|
<ui-checkbox id="playGradient" label="Enable Premium Gradient"></ui-checkbox>
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
|
|
87
|
-
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; background:
|
|
87
|
+
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; background:var(--bg-primary,white); border:1px solid var(--border-default,#e5e7eb); border-radius: 16px; padding: 48px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);">
|
|
88
88
|
<div id="playgroundPreview"></div>
|
|
89
89
|
|
|
90
90
|
<div id="speedometerLog" style="margin-top: 40px; width: 100%; padding: 16px; background: #0f172a; color: #38bdf8; border-radius: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; height: 120px; overflow-y: auto; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);">
|
|
91
|
-
<div style="color:
|
|
91
|
+
<div style="color:var(--text-secondary,#64748b); margin-bottom: 8px; font-weight: 600; border-bottom: 1px solid #1e293b; padding-bottom: 4px;">System Event Log</div>
|
|
92
92
|
<div id="pg-log-content">Ready for interaction...</div>
|
|
93
93
|
</div>
|
|
94
94
|
</div>
|
|
@@ -101,7 +101,7 @@ window.showSpeedometerPlayground = function () {
|
|
|
101
101
|
const inputs = ['playValue', 'playSecondaryValue', 'playMinValue', 'playMaxValue'];
|
|
102
102
|
inputs.forEach(id => document.getElementById(id)?.addEventListener('inputChange', () => window.updatePlayground()));
|
|
103
103
|
|
|
104
|
-
document.getElementById('playNeedleShape')?.addEventListener('
|
|
104
|
+
document.getElementById('playNeedleShape')?.addEventListener('valueChange', () => globalThis.updatePlayground());
|
|
105
105
|
|
|
106
106
|
const checkboxes = ['playInteractive', 'playShowTicks', 'playGradient'];
|
|
107
107
|
checkboxes.forEach(id => document.getElementById(id)?.addEventListener('checkboxChange', () => window.updatePlayground()));
|
|
@@ -155,10 +155,10 @@ window.showDoubleNeedleDemo = function () {
|
|
|
155
155
|
container.innerHTML = `
|
|
156
156
|
<div class="demo-block">
|
|
157
157
|
<h3>Target vs Actual Analysis</h3>
|
|
158
|
-
<p style="color:
|
|
158
|
+
<p style="color:var(--text-secondary,#64748b); margin-bottom: 40px;">Utilize the secondary needle to provide context, such as targets, thresholds, or historical benchmarks.</p>
|
|
159
159
|
|
|
160
160
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; justify-items: center;">
|
|
161
|
-
<div style="text-align: center; background:
|
|
161
|
+
<div style="text-align: center; background:var(--bg-primary,white); padding: 32px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
|
|
162
162
|
<h4 style="margin-bottom: 32px;">Achievement Target</h4>
|
|
163
163
|
<ui-speedometer
|
|
164
164
|
value="82"
|
|
@@ -169,18 +169,18 @@ window.showDoubleNeedleDemo = function () {
|
|
|
169
169
|
size="220"
|
|
170
170
|
></ui-speedometer>
|
|
171
171
|
<div style="margin-top: 24px; font-size: 14px; display: flex; gap: 16px; justify-content: center; font-weight: 600;">
|
|
172
|
-
<span style="color:
|
|
173
|
-
<span style="width: 10px; height: 10px; border-radius: 2px; background:
|
|
172
|
+
<span style="color:var(--accent-purple,#8b5cf6); display: flex; align-items: center; gap: 6px;">
|
|
173
|
+
<span style="width: 10px; height: 10px; border-radius: 2px; background: var(--accent-purple,#8b5cf6);"></span>
|
|
174
174
|
Actual (82%)
|
|
175
175
|
</span>
|
|
176
|
-
<span style="color:
|
|
176
|
+
<span style="color:var(--text-secondary,#64748b); display: flex; align-items: center; gap: 6px;">
|
|
177
177
|
<span style="width: 10px; height: 10px; border-radius: 2px; background: #cbd5e1;"></span>
|
|
178
178
|
Target (95%)
|
|
179
179
|
</span>
|
|
180
180
|
</div>
|
|
181
181
|
</div>
|
|
182
182
|
|
|
183
|
-
<div style="text-align: center; background:
|
|
183
|
+
<div style="text-align: center; background:var(--bg-primary,white); padding: 32px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
|
|
184
184
|
<h4 style="margin-bottom: 32px;">Profit Variance</h4>
|
|
185
185
|
<ui-speedometer
|
|
186
186
|
value="42"
|
|
@@ -195,7 +195,7 @@ window.showDoubleNeedleDemo = function () {
|
|
|
195
195
|
<span style="width: 10px; height: 10px; border-radius: 2px; background: #10b981;"></span>
|
|
196
196
|
Q2 (42%)
|
|
197
197
|
</span>
|
|
198
|
-
<span style="color:
|
|
198
|
+
<span style="color:var(--text-secondary,#64748b); display: flex; align-items: center; gap: 6px;">
|
|
199
199
|
<span style="width: 10px; height: 10px; border-radius: 2px; background: #cbd5e1;"></span>
|
|
200
200
|
Q1 (38%)
|
|
201
201
|
</span>
|
|
@@ -214,31 +214,31 @@ window.showDynamicAnglesDemo = function () {
|
|
|
214
214
|
container.innerHTML = `
|
|
215
215
|
<div class="demo-block">
|
|
216
216
|
<h3>Custom Arc Geometry</h3>
|
|
217
|
-
<p style="color:
|
|
217
|
+
<p style="color:var(--text-secondary,#64748b); margin-bottom: 40px;">Define precise start and end angles to fit any UI design requirement, from semi-circles to full orbital displays.</p>
|
|
218
218
|
|
|
219
219
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; justify-items: center;">
|
|
220
220
|
<div style="text-align: center;">
|
|
221
221
|
<h4 style="font-size: 14px; color: #475569; margin-bottom: 16px;">180° Semi-circle</h4>
|
|
222
222
|
<ui-speedometer value="50" start-angle="-90" end-angle="90" size="180" label="Semi"></ui-speedometer>
|
|
223
|
-
<div style="margin-top: 12px; font-family: monospace; font-size: 11px; background:
|
|
223
|
+
<div style="margin-top: 12px; font-family: monospace; font-size: 11px; background:var(--bg-tertiary,#f1f5f9); padding: 4px 8px; border-radius: 4px; color:var(--text-secondary,#64748b);">-90° to 90°</div>
|
|
224
224
|
</div>
|
|
225
225
|
|
|
226
226
|
<div style="text-align: center;">
|
|
227
227
|
<h4 style="font-size: 14px; color: #475569; margin-bottom: 16px;">270° Modern Classic</h4>
|
|
228
228
|
<ui-speedometer value="50" start-angle="-135" end-angle="135" size="180" label="Classic"></ui-speedometer>
|
|
229
|
-
<div style="margin-top: 12px; font-family: monospace; font-size: 11px; background:
|
|
229
|
+
<div style="margin-top: 12px; font-family: monospace; font-size: 11px; background:var(--bg-tertiary,#f1f5f9); padding: 4px 8px; border-radius: 4px; color:var(--text-secondary,#64748b);">-135° to 135°</div>
|
|
230
230
|
</div>
|
|
231
231
|
|
|
232
232
|
<div style="text-align: center;">
|
|
233
233
|
<h4 style="font-size: 14px; color: #475569; margin-bottom: 16px;">360° Orbital Circular</h4>
|
|
234
234
|
<ui-speedometer value="75" start-angle="0" end-angle="360" size="180" label="Fuel"></ui-speedometer>
|
|
235
|
-
<div style="margin-top: 12px; font-family: monospace; font-size: 11px; background:
|
|
235
|
+
<div style="margin-top: 12px; font-family: monospace; font-size: 11px; background:var(--bg-tertiary,#f1f5f9); padding: 4px 8px; border-radius: 4px; color:var(--text-secondary,#64748b);">0° to 360°</div>
|
|
236
236
|
</div>
|
|
237
237
|
|
|
238
238
|
<div style="text-align: center;">
|
|
239
239
|
<h4 style="font-size: 14px; color: #475569; margin-bottom: 16px;">90° Vertical Sector</h4>
|
|
240
240
|
<ui-speedometer value="30" start-angle="-90" end-angle="0" size="180" label="Sector"></ui-speedometer>
|
|
241
|
-
<div style="margin-top: 12px; font-family: monospace; font-size: 11px; background:
|
|
241
|
+
<div style="margin-top: 12px; font-family: monospace; font-size: 11px; background:var(--bg-tertiary,#f1f5f9); padding: 4px 8px; border-radius: 4px; color:var(--text-secondary,#64748b);">-90° to 0°</div>
|
|
242
242
|
</div>
|
|
243
243
|
</div>
|
|
244
244
|
</div>
|
|
@@ -253,7 +253,7 @@ window.showInteractiveDashboard = function () {
|
|
|
253
253
|
container.innerHTML = `
|
|
254
254
|
<div class="demo-block">
|
|
255
255
|
<h3>Interactive Controller</h3>
|
|
256
|
-
<p style="color:
|
|
256
|
+
<p style="color:var(--text-secondary,#64748b); margin-bottom: 48px;">The speedometer can act as a high-fidelity input device. Drag the needle to control other system metrics.</p>
|
|
257
257
|
|
|
258
258
|
<div style="display: flex; gap: 64px; align-items: center; justify-content: center; flex-wrap: wrap;">
|
|
259
259
|
<div style="text-align: center;">
|
|
@@ -271,19 +271,19 @@ window.showInteractiveDashboard = function () {
|
|
|
271
271
|
</div>
|
|
272
272
|
|
|
273
273
|
<div style="flex: 1; min-width: 320px; display: flex; flex-direction: column; gap: 32px;">
|
|
274
|
-
<div style="background:
|
|
274
|
+
<div style="background:var(--bg-primary,white); padding: 24px; border-radius: 16px; border:1px solid var(--border-default,#e2e8f0); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
|
|
275
275
|
<div style="display: flex; justify-content: space-between; margin-bottom: 12px;">
|
|
276
|
-
<span style="font-weight: 700; color:
|
|
277
|
-
<span id="loadVal" style="font-family: monospace; font-weight: 700; color:
|
|
276
|
+
<span style="font-weight: 700; color:var(--text-primary,#1e293b);">Active Workload</span>
|
|
277
|
+
<span id="loadVal" style="font-family: monospace; font-weight: 700; color:var(--accent-green,#059669); background: #ecfdf5; padding: 2px 8px; border-radius: 4px;">45.0%</span>
|
|
278
278
|
</div>
|
|
279
|
-
<div style="height: 12px; background:
|
|
279
|
+
<div style="height: 12px; background:var(--bg-tertiary,#f1f5f9); border-radius: 6px; overflow: hidden; border:1px solid var(--border-default,#e2e8f0);">
|
|
280
280
|
<div id="loadBar" style="height: 100%; width: 45%; background: linear-gradient(90deg, #10b981, #34d399); transition: width 0.1s cubic-bezier(0.4, 0, 0.2, 1);"></div>
|
|
281
281
|
</div>
|
|
282
282
|
</div>
|
|
283
283
|
|
|
284
|
-
<div style="background:
|
|
284
|
+
<div style="background:var(--bg-primary,white); padding: 24px; border-radius: 16px; border:1px solid var(--border-default,#e2e8f0); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);">
|
|
285
285
|
<div style="display: flex; justify-content: space-between; margin-bottom: 16px;">
|
|
286
|
-
<span style="font-weight: 700; color:
|
|
286
|
+
<span style="font-weight: 700; color:var(--text-primary,#1e293b);">Optimization Intensity</span>
|
|
287
287
|
<span id="optVal" style="font-family: monospace; font-weight: 700; color: #0284c7; background: #f0f9ff; padding: 2px 8px; border-radius: 4px;">45</span>
|
|
288
288
|
</div>
|
|
289
289
|
<ui-meter-group id="meterEffect" value="45" max="100"></ui-meter-group>
|
|
@@ -320,6 +320,14 @@ window.showBasicSpeedometer = function () {
|
|
|
320
320
|
<ui-speedometer value="45" max-value="100" unit="km/h" label="Current Velocity" size="200"></ui-speedometer>
|
|
321
321
|
<ui-speedometer value="72" show-percentage label="Engine Efficiency" size="200" needle-color="#3b82f6"></ui-speedometer>
|
|
322
322
|
<ui-speedometer value="28" min-value="-20" max-value="50" unit="°C" label="Atmospheric Temp" size="200" needle-color="#f59e0b"></ui-speedometer>
|
|
323
|
+
<ui-speedometer
|
|
324
|
+
value="64"
|
|
325
|
+
max-value="100"
|
|
326
|
+
label="Single Color"
|
|
327
|
+
needle-color="#10b981"
|
|
328
|
+
ranges='[{"min":0,"max":100,"color":"#10b981"}]'
|
|
329
|
+
size="200"
|
|
330
|
+
></ui-speedometer>
|
|
323
331
|
</div>
|
|
324
332
|
</div>
|
|
325
333
|
`;
|
|
@@ -331,7 +339,7 @@ window.showCustomLabelsSpeedometer = function () {
|
|
|
331
339
|
container.innerHTML = `
|
|
332
340
|
<div class="demo-block">
|
|
333
341
|
<h3>Contextual Scale Mapping</h3>
|
|
334
|
-
<p style="color:
|
|
342
|
+
<p style="color:var(--text-secondary,#64748b); margin-bottom: 40px;">Replace numeric scale marks with semantic strings for better readability in specialized domains.</p>
|
|
335
343
|
|
|
336
344
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; justify-items: center;">
|
|
337
345
|
<div style="text-align: center;">
|
|
@@ -357,25 +365,25 @@ window.showSpeedometerGradients = function () {
|
|
|
357
365
|
container.innerHTML = `
|
|
358
366
|
<div class="demo-block">
|
|
359
367
|
<h3>Premium Chroma Gradients</h3>
|
|
360
|
-
<p style="color:
|
|
368
|
+
<p style="color:var(--text-secondary,#64748b); margin-bottom: 40px;">Apply multi-stop gradients across the gauge arc to visualize intensity, health, or progression.</p>
|
|
361
369
|
|
|
362
370
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; justify-items: center;">
|
|
363
|
-
<div style="text-align: center; background:
|
|
371
|
+
<div style="text-align: center; background:var(--bg-primary,white); padding: 24px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
364
372
|
<h4 style="margin-bottom: 24px; font-size: 15px;">Network Throughput</h4>
|
|
365
373
|
<ui-speedometer value="65" gradient-colors='["#3b82f6", "#2dd4bf"]' label="Bandwidth" unit="Mbps" size="200"></ui-speedometer>
|
|
366
374
|
</div>
|
|
367
375
|
|
|
368
|
-
<div style="text-align: center; background:
|
|
376
|
+
<div style="text-align: center; background:var(--bg-primary,white); padding: 24px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
369
377
|
<h4 style="margin-bottom: 24px; font-size: 15px;">Thermal Load</h4>
|
|
370
378
|
<ui-speedometer value="85" gradient-colors='["#f59e0b", "#ef4444"]' label="CPU Core 0" unit="°C" size="200"></ui-speedometer>
|
|
371
379
|
</div>
|
|
372
380
|
|
|
373
|
-
<div style="text-align: center; background:
|
|
381
|
+
<div style="text-align: center; background:var(--bg-primary,white); padding: 24px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
374
382
|
<h4 style="margin-bottom: 24px; font-size: 15px;">System Security</h4>
|
|
375
383
|
<ui-speedometer value="50" gradient-colors='["#8b5cf6", "#ec4899"]' label="Risk Index" size="200"></ui-speedometer>
|
|
376
384
|
</div>
|
|
377
385
|
|
|
378
|
-
<div style="text-align: center; background:
|
|
386
|
+
<div style="text-align: center; background:var(--bg-primary,white); padding: 24px; border-radius: 20px; border:1px solid var(--border-subtle,#f1f5f9);">
|
|
379
387
|
<h4 style="margin-bottom: 24px; font-size: 15px;">Eco Drive</h4>
|
|
380
388
|
<ui-speedometer value="70" gradient-colors='["#ef4444", "#fbbf24", "#10b981"]' label="Efficiency" size="200"></ui-speedometer>
|
|
381
389
|
</div>
|
|
@@ -390,7 +398,7 @@ window.showSpeedometerLive = function () {
|
|
|
390
398
|
container.innerHTML = `
|
|
391
399
|
<div class="demo-block">
|
|
392
400
|
<h3>Live Telemetry Simulation</h3>
|
|
393
|
-
<p style="color:
|
|
401
|
+
<p style="color:var(--text-secondary,#64748b); margin-bottom: 40px;">Simulate real-time data ingestion and observe the component's smooth interpolation and responsive updates.</p>
|
|
394
402
|
|
|
395
403
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; margin-top: 30px; justify-items: center;">
|
|
396
404
|
<ui-speedometer id="liveS1" value="30" label="Processor Load" unit="%" size="220" needle-color="#3b82f6"></ui-speedometer>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function initSplitButtonDemo() {
|
|
1
|
+
export function initSplitButtonDemo() {
|
|
2
2
|
const section = document.getElementById('split-button');
|
|
3
3
|
if (!section) return;
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ export function initSplitButtonDemo() {
|
|
|
19
19
|
<style>
|
|
20
20
|
.demo-btn { padding:8px 16px; background:#f3f4f6; color:#374151; border:1px solid #d1d5db; border-radius:6px; cursor:pointer; font-weight:500; transition:all .2s; }
|
|
21
21
|
.demo-btn:hover { background:#e5e7eb; }
|
|
22
|
-
.demo-block { background:white; padding:24px; border-radius:12px; border:1px solid
|
|
22
|
+
.demo-block { background:var(--bg-primary,white); padding:24px; border-radius:12px; border:1px solid var(--border-default,#e5e7eb); margin-bottom:24px; }
|
|
23
23
|
.demo-block h3 { margin-top:0; margin-bottom:8px; font-size:18px; }
|
|
24
24
|
.demo-block p { color:#6b7280; font-size:14px; margin-bottom:20px; }
|
|
25
25
|
.demo-row { display:flex; gap:16px; flex-wrap:wrap; align-items:flex-start; }
|