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
|
@@ -13,7 +13,7 @@ export function initPopoverDemo() {
|
|
|
13
13
|
<ui-button id="btnVariants" label="Variants" variant="outline"></ui-button>
|
|
14
14
|
<ui-button id="btnRich" label="🧩 Rich Content" variant="outline"></ui-button>
|
|
15
15
|
<ui-button id="btnIcon" label="Icon Toolbar" variant="outline"></ui-button>
|
|
16
|
-
<ui-button id="btnPremium" label="✨ Premium" style="--ui-button-bg:
|
|
16
|
+
<ui-button id="btnPremium" label="✨ Premium" style="--ui-button-bg: var(--accent-pink,#ec4899); --ui-button-border: none;" variant="outline"></ui-button>
|
|
17
17
|
<ui-button id="btnEdge" label="Edge Detection" style="--ui-button-bg: #64748b; --ui-button-border: none;" variant="outline"></ui-button>
|
|
18
18
|
</div>
|
|
19
19
|
|
|
@@ -32,9 +32,13 @@ export function initPopoverDemo() {
|
|
|
32
32
|
btnEdge: showEdgeCases,
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
const controls = document.getElementById('popoverDemoControls');
|
|
36
|
+
if (controls) {
|
|
37
|
+
controls.addEventListener('buttonClick', (e) => {
|
|
38
|
+
const fn = navMap[e.target?.id];
|
|
39
|
+
if (fn) fn();
|
|
40
|
+
});
|
|
41
|
+
}
|
|
38
42
|
|
|
39
43
|
showInteractivePopover();
|
|
40
44
|
}, 100);
|
|
@@ -108,54 +112,54 @@ function showTriggersDemo() {
|
|
|
108
112
|
|
|
109
113
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-top:24px;">
|
|
110
114
|
|
|
111
|
-
<div style="background
|
|
112
|
-
<h4 style="margin:0 0 8px;">click</h4>
|
|
113
|
-
<p style="font-size:13px;color
|
|
115
|
+
<div style="background:var(--bg-secondary,#f9fafb);padding:20px;border-radius:12px;border:1px solid var(--border-default,#e5e7eb);color:var(--text-primary,#1f2937);">
|
|
116
|
+
<h4 style="margin:0 0 8px;color:inherit;">click</h4>
|
|
117
|
+
<p style="font-size:13px;color:var(--text-muted,#6b7280);margin-bottom:16px;">Toggle on click, close on outside click or Esc.</p>
|
|
114
118
|
<ui-popover trigger="click" placement="bottom" heading="Click Trigger" content="<p>Opened by clicking the button.</p>">
|
|
115
119
|
${btn('Click Me', '#10b981')}
|
|
116
120
|
</ui-popover>
|
|
117
121
|
</div>
|
|
118
122
|
|
|
119
|
-
<div style="background
|
|
120
|
-
<h4 style="margin:0 0 8px;">hover</h4>
|
|
121
|
-
<p style="font-size:13px;color
|
|
123
|
+
<div style="background:var(--bg-secondary,#f9fafb);padding:20px;border-radius:12px;border:1px solid var(--border-default,#e5e7eb);color:var(--text-primary,#1f2937);">
|
|
124
|
+
<h4 style="margin:0 0 8px;color:inherit;">hover</h4>
|
|
125
|
+
<p style="font-size:13px;color:var(--text-muted,#6b7280);margin-bottom:16px;">Opens on mouse enter, closes after <code>hide-delay</code> ms. Move cursor into popover body — it stays open (<code>interactive</code>).</p>
|
|
122
126
|
<ui-popover trigger="hover" placement="bottom" show-delay="200" hide-delay="400" heading="Hover Trigger" content="<p>Hover into this area — it stays open!</p>">
|
|
123
127
|
${btn('Hover Me', '#10b981')}
|
|
124
128
|
</ui-popover>
|
|
125
129
|
</div>
|
|
126
130
|
|
|
127
|
-
<div style="background
|
|
128
|
-
<h4 style="margin:0 0 8px;">focus</h4>
|
|
129
|
-
<p style="font-size:13px;color
|
|
131
|
+
<div style="background:var(--bg-secondary,#f9fafb);padding:20px;border-radius:12px;border:1px solid var(--border-default,#e5e7eb);color:var(--text-primary,#1f2937);">
|
|
132
|
+
<h4 style="margin:0 0 8px;color:inherit;">focus</h4>
|
|
133
|
+
<p style="font-size:13px;color:var(--text-muted,#6b7280);margin-bottom:16px;">Opens when trigger receives keyboard focus. Great for form field hints.</p>
|
|
130
134
|
<ui-popover trigger="focus" placement="bottom" content="<p>Tab to focus this input to see the hint.</p>">
|
|
131
135
|
<ui-input placeholder="Focus me..." style="padding:10px 14px;border:2px solid #93c5fd;border-radius:8px;outline:none;font-size:14px;width:100%;box-sizing:border-box;">
|
|
132
136
|
</ui-popover>
|
|
133
137
|
</div>
|
|
134
138
|
|
|
135
|
-
<div style="background
|
|
136
|
-
<h4 style="margin:0 0 8px;">manual</h4>
|
|
137
|
-
<p style="font-size:13px;color
|
|
139
|
+
<div style="background:var(--bg-secondary,#f9fafb);padding:20px;border-radius:12px;border:1px solid var(--border-default,#e5e7eb);color:var(--text-primary,#1f2937);">
|
|
140
|
+
<h4 style="margin:0 0 8px;color:inherit;">manual</h4>
|
|
141
|
+
<p style="font-size:13px;color:var(--text-muted,#6b7280);margin-bottom:16px;">No automatic trigger — control via <code>show()</code> / <code>hide()</code> methods.</p>
|
|
138
142
|
<div style="display:flex;gap:8px;margin-bottom:16px;">
|
|
139
143
|
<ui-button label="Show" variant="outline" color="primary" onclick="document.getElementById('manualPop').show()" style="flex:1;"></ui-button>
|
|
140
144
|
<ui-button label="Hide" variant="outline" color="secondary" onclick="document.getElementById('manualPop').hide()" style="flex:1;"></ui-button>
|
|
141
145
|
<ui-button label="Toggle" variant="outline" color="primary" onclick="document.getElementById('manualPop').toggle()" style="flex:1;"></ui-button>
|
|
142
146
|
</div>
|
|
143
147
|
<ui-popover id="manualPop" trigger="manual" placement="bottom" heading="Manual Mode" content="<p>I'm fully controlled programmatically.</p>">
|
|
144
|
-
<div style="padding:12px;background
|
|
148
|
+
<div style="padding:12px;background:var(--bg-tertiary,#ede9fe);border-radius:8px;text-align:center;font-size:13px;color:var(--color-primary,#6d28d9);border:2px dashed var(--border-default,#c4b5fd);">Target Element</div>
|
|
145
149
|
</ui-popover>
|
|
146
150
|
</div>
|
|
147
151
|
|
|
148
|
-
<div style="background
|
|
149
|
-
<h4 style="margin:0 0 8px;">interactive: false</h4>
|
|
150
|
-
<p style="font-size:13px;color
|
|
152
|
+
<div style="background:var(--bg-secondary,#f9fafb);padding:20px;border-radius:12px;border:1px solid var(--border-default,#e5e7eb);color:var(--text-primary,#1f2937);">
|
|
153
|
+
<h4 style="margin:0 0 8px;color:inherit;">interactive: false</h4>
|
|
154
|
+
<p style="font-size:13px;color:var(--text-muted,#6b7280);margin-bottom:16px;">In hover mode with <code>interactive="false"</code> — popover closes immediately when cursor leaves trigger (pure tooltip).</p>
|
|
151
155
|
<ui-popover trigger="hover" interactive="false" placement="bottom" hide-delay="0" content="<p>I close instantly when you leave me.</p>">
|
|
152
156
|
${btn('Hover (non-interactive)', '#ea580c')}
|
|
153
157
|
</ui-popover>
|
|
154
158
|
</div>
|
|
155
159
|
|
|
156
|
-
<div style="background
|
|
157
|
-
<h4 style="margin:0 0 8px;">closeOnScroll</h4>
|
|
158
|
-
<p style="font-size:13px;color
|
|
160
|
+
<div style="background:var(--bg-secondary,#f9fafb);padding:20px;border-radius:12px;border:1px solid var(--border-default,#e5e7eb);color:var(--text-primary,#1f2937);">
|
|
161
|
+
<h4 style="margin:0 0 8px;color:inherit;">closeOnScroll</h4>
|
|
162
|
+
<p style="font-size:13px;color:var(--text-muted,#6b7280);margin-bottom:16px;">Popover closes automatically when the page is scrolled — ideal for popovers inside scrollable lists.</p>
|
|
159
163
|
<ui-popover trigger="click" close-on-scroll="true" placement="bottom" content="<p>Scroll the page — I'll close automatically.</p>">
|
|
160
164
|
${btn('Open + Scroll closes', '#16a34a')}
|
|
161
165
|
</ui-popover>
|
|
@@ -223,12 +227,12 @@ function showVariantsDemo() {
|
|
|
223
227
|
<ui-popover id="footerPop2" trigger="click" variant="info" placement="bottom" heading="Keyboard Shortcuts">
|
|
224
228
|
${btn('Shortcuts', '#2563eb')}
|
|
225
229
|
<div slot="content" style="font-size:13px;">
|
|
226
|
-
<div style="display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #bfdbfe;"><span>Save</span><kbd style="background
|
|
227
|
-
<div style="display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #bfdbfe;"><span>Undo</span><kbd style="background
|
|
228
|
-
<div style="display:flex;justify-content:space-between;padding:6px 0;"><span>Search</span><kbd style="background
|
|
230
|
+
<div style="display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #bfdbfe;"><span>Save</span><kbd style="background:var(--accent-blue-soft,#dbeafe);padding:2px 6px;border-radius:4px;">Ctrl+S</kbd></div>
|
|
231
|
+
<div style="display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #bfdbfe;"><span>Undo</span><kbd style="background:var(--accent-blue-soft,#dbeafe);padding:2px 6px;border-radius:4px;">Ctrl+Z</kbd></div>
|
|
232
|
+
<div style="display:flex;justify-content:space-between;padding:6px 0;"><span>Search</span><kbd style="background:var(--accent-blue-soft,#dbeafe);padding:2px 6px;border-radius:4px;">Ctrl+K</kbd></div>
|
|
229
233
|
</div>
|
|
230
|
-
<div slot="footer" style="text-align:center;font-size:12px;color
|
|
231
|
-
<a href="#" style="color
|
|
234
|
+
<div slot="footer" style="text-align:center;font-size:12px;color:var(--accent-blue,#1e40af);">
|
|
235
|
+
<a href="#" style="color:var(--accent-blue,#2563eb);">View all shortcuts →</a>
|
|
232
236
|
</div>
|
|
233
237
|
</ui-popover>
|
|
234
238
|
</div>
|
|
@@ -272,7 +276,7 @@ function showAdvancedSlotted() {
|
|
|
272
276
|
<h4>Notifications Panel</h4>
|
|
273
277
|
<ui-popover trigger="click" placement="bottom-end" width="320px" heading="Notifications" show-close-button="true" max-height="240px">
|
|
274
278
|
<ui-button variant="outline" color="secondary" shape="circle" icon="bell" icon-library="lucide" style="position:relative;">
|
|
275
|
-
<span style="position:absolute;top:-4px;right:-4px;width:18px;height:18px;background
|
|
279
|
+
<span style="position:absolute;top:-4px;right:-4px;width:18px;height:18px;background:var(--accent-red,#ef4444);border-radius:50%;color:white;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;z-index:10;">3</span>
|
|
276
280
|
</ui-button>
|
|
277
281
|
<div slot="content" style="padding:0;">
|
|
278
282
|
${['Sarah sent you a message', 'Deployment successful', 'Storage at 90%']
|
|
@@ -307,7 +311,7 @@ function showAdvancedSlotted() {
|
|
|
307
311
|
${['#ef4444', '#f97316', '#eab308', '#22c55e', '#10b981', '#8b5cf6', '#ec4899', '#0ea5e9', '#14b8a6', '#6b7280', '#1f2937', '#ffffff']
|
|
308
312
|
.map(
|
|
309
313
|
c =>
|
|
310
|
-
`<
|
|
314
|
+
`<div onclick="this.closest('ui-popover').hide()" style="width:28px;height:28px;background:${c};border:2px solid var(--border-default,#e5e7eb);border-radius:6px;cursor:pointer;transition:transform 0.15s;box-sizing:border-box;" onmouseover="this.style.transform='scale(1.2)'" onmouseout="this.style.transform=''"></div>`,
|
|
311
315
|
)
|
|
312
316
|
.join('')}
|
|
313
317
|
</div>
|
|
@@ -367,7 +371,7 @@ function showIconPopover() {
|
|
|
367
371
|
)
|
|
368
372
|
.join('')}
|
|
369
373
|
<div style="height:1px;background:#f3f4f6;margin:4px 0;"></div>
|
|
370
|
-
<a href="#" style="display:flex;align-items:center;gap:10px;padding:10px 14px;text-decoration:none;color
|
|
374
|
+
<a href="#" style="display:flex;align-items:center;gap:10px;padding:10px 14px;text-decoration:none;color:var(--accent-red,#ef4444);font-size:14px;border-radius:6px;margin:2px 4px;" onmouseover="this.style.background='#fef2f2'" onmouseout="this.style.background=''">
|
|
371
375
|
<ui-icon name="log-out" library="lucide" size="15px"></ui-icon>Sign out
|
|
372
376
|
</a>
|
|
373
377
|
</div>
|
|
@@ -375,12 +379,12 @@ function showIconPopover() {
|
|
|
375
379
|
|
|
376
380
|
<ui-popover trigger="click" placement="bottom" width="240px" show-arrow="false" animation="slide">
|
|
377
381
|
<ui-button variant="outline" color="secondary" shape="circle" icon="bell" icon-library="lucide" style="position:relative;">
|
|
378
|
-
<span style="position:absolute;top:-2px;right:-2px;width:14px;height:14px;background
|
|
382
|
+
<span style="position:absolute;top:-2px;right:-2px;width:14px;height:14px;background:var(--accent-red,#ef4444);border-radius:50%;border:2px solid white;z-index:10;"></span>
|
|
379
383
|
</ui-button>
|
|
380
384
|
<div slot="content" style="padding:4px 0;">
|
|
381
385
|
<div style="padding:8px 12px;font-size:12px;font-weight:700;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;">Notifications</div>
|
|
382
|
-
<div style="padding:10px 12px;font-size:13px;border-radius:6px;background
|
|
383
|
-
<div style="font-weight:600;color
|
|
386
|
+
<div style="padding:10px 12px;font-size:13px;border-radius:6px;background:var(--accent-blue-soft,#eff6ff);margin:4px;">
|
|
387
|
+
<div style="font-weight:600;color:var(--accent-blue,#1e40af);">Build passed ✓</div>
|
|
384
388
|
<div style="color:#10b981;font-size:12px;">pipeline #247 · 1m ago</div>
|
|
385
389
|
</div>
|
|
386
390
|
</div>
|
|
@@ -388,7 +392,7 @@ function showIconPopover() {
|
|
|
388
392
|
</div>
|
|
389
393
|
|
|
390
394
|
<h4 style="margin-top:40px;">Compact Text Toolbar</h4>
|
|
391
|
-
<div style="background:white;border:1px solid
|
|
395
|
+
<div style="background:var(--bg-primary,white);border:1px solid var(--border-default,#e5e7eb);border-radius:8px;padding:6px;display:inline-flex;gap:2px;box-shadow:0 2px 8px rgba(0,0,0,0.07);margin-top:12px;">
|
|
392
396
|
${[
|
|
393
397
|
{ icon: 'bold', library: 'lucide', label: 'Bold (Ctrl+B)' },
|
|
394
398
|
{ icon: 'italic', library: 'lucide', label: 'Italic (Ctrl+I)' },
|
|
@@ -404,8 +408,8 @@ function showIconPopover() {
|
|
|
404
408
|
.map(item =>
|
|
405
409
|
item === null
|
|
406
410
|
? `<div style="width:1px;background:#e5e7eb;margin:4px 2px;"></div>`
|
|
407
|
-
: `<ui-popover trigger="hover" placement="
|
|
408
|
-
<ui-button-toggle variant="ghost" icon="${item.icon}" icon-library="${item.library}" icon-only="true" size="md"
|
|
411
|
+
: `<ui-popover trigger="hover" placement="top" interactive="false" hide-delay="0" content="<p style='white-space:nowrap;font-size:12px;'>${item.label}</p>">
|
|
412
|
+
<ui-button-toggle variant="ghost" icon="${item.icon}" icon-library="${item.library}" icon-only="true" size="md" style="width:30px;height:30px;--button-min-width:30px;color:#374151;"></ui-button-toggle>
|
|
409
413
|
</ui-popover>`,
|
|
410
414
|
)
|
|
411
415
|
.join('')}
|
|
@@ -448,7 +452,7 @@ function showPremiumPopover() {
|
|
|
448
452
|
<ui-popover id="cancelShowPop" trigger="click" placement="bottom" heading="Before-Show Gated" content="<p>You confirmed you want to open me!</p>">
|
|
449
453
|
${btn('Gated Open', '#059669')}
|
|
450
454
|
</ui-popover>
|
|
451
|
-
<div id="cancelEventLog" style="padding:8px 12px;background
|
|
455
|
+
<div id="cancelEventLog" style="padding:8px 12px;background:var(--bg-secondary,#f9fafb);border:1px solid var(--border-default,#e5e7eb);border-radius:8px;font-size:13px;color:#374151;min-width:220px;display:flex;align-items:center;">Waiting for events…</div>
|
|
452
456
|
</div>
|
|
453
457
|
|
|
454
458
|
<h4 style="margin-top:40px;">Disabled</h4>
|
|
@@ -473,121 +477,220 @@ function showEdgeCases() {
|
|
|
473
477
|
el.remove();
|
|
474
478
|
});
|
|
475
479
|
|
|
480
|
+
// All 8 placements
|
|
481
|
+
const placements = [
|
|
482
|
+
{ key: 'top-start', label: 'top-start', area: 'ts', color: '#6366f1' },
|
|
483
|
+
{ key: 'top', label: 'top', area: 'tc', color: '#10b981' },
|
|
484
|
+
{ key: 'top-end', label: 'top-end', area: 'te', color: '#8b5cf6' },
|
|
485
|
+
{ key: 'left', label: 'left', area: 'ml', color: '#f59e0b' },
|
|
486
|
+
{ key: 'right', label: 'right', area: 'mr', color: '#ec4899' },
|
|
487
|
+
{ key: 'bottom-start', label: 'bottom-start', area: 'bs', color: '#0ea5e9' },
|
|
488
|
+
{ key: 'bottom', label: 'bottom', area: 'bc', color: '#10b981' },
|
|
489
|
+
{ key: 'bottom-end', label: 'bottom-end', area: 'be', color: '#f43f5e' },
|
|
490
|
+
];
|
|
491
|
+
|
|
492
|
+
const compassBtns = placements.map(p => `
|
|
493
|
+
<div style="grid-area:${p.area};display:flex;align-items:center;justify-content:center;">
|
|
494
|
+
<ui-popover trigger="click" placement="${p.key}" width="220px"
|
|
495
|
+
heading="${p.key}"
|
|
496
|
+
content="<p style='font-size:13px;margin:0;line-height:1.7;'>Opens to <strong>${p.key}</strong>. If space is insufficient the engine flips to the opposite side and clamps to stay in-viewport.</p><p style='font-size:11px;color:#6b7280;margin:8px 0 0;'>Arrow re-tracks the trigger after any shift.</p>">
|
|
497
|
+
<ui-button
|
|
498
|
+
label="${p.label}"
|
|
499
|
+
variant="outline"
|
|
500
|
+
size="sm"
|
|
501
|
+
style="font-size:11px;min-width:96px;border-color:${p.color};color:${p.color};"
|
|
502
|
+
></ui-button>
|
|
503
|
+
</ui-popover>
|
|
504
|
+
</div>
|
|
505
|
+
`).join('');
|
|
506
|
+
|
|
476
507
|
container.innerHTML = `
|
|
477
508
|
<div class="demo-block">
|
|
478
|
-
<h3>Edge Detection & Auto-Positioning</h3>
|
|
479
|
-
<p>
|
|
480
|
-
|
|
481
|
-
<code>position:fixed</code
|
|
482
|
-
— the engine automatically flips and clamps so the panel stays visible.
|
|
509
|
+
<h3>Edge Detection & Auto-Positioning — All 8 Placements</h3>
|
|
510
|
+
<p style="color:var(--text-secondary,#6b7280);font-size:14px;margin-bottom:8px;">
|
|
511
|
+
Click any placement button to open its popover. Buttons at the viewport edge are pinned
|
|
512
|
+
with <code>position:fixed</code> so the engine is forced to flip or clamp.
|
|
483
513
|
</p>
|
|
484
514
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
515
|
+
<!-- ── Section 1: Compass dial ── -->
|
|
516
|
+
<h4 style="margin-top:28px;margin-bottom:4px;">① Placement compass</h4>
|
|
517
|
+
<p style="color:var(--text-secondary,#6b7280);font-size:13px;margin-bottom:16px;">
|
|
518
|
+
All 8 named positions around a reference element. Click each label to see the panel open.
|
|
519
|
+
</p>
|
|
520
|
+
|
|
521
|
+
<div style="
|
|
522
|
+
display: grid;
|
|
523
|
+
grid-template-columns: 1fr auto 1fr;
|
|
524
|
+
grid-template-rows: auto auto auto auto auto;
|
|
525
|
+
grid-template-areas:
|
|
526
|
+
'ts tc te'
|
|
527
|
+
'ml cx mr'
|
|
528
|
+
'bs bc be';
|
|
529
|
+
gap: 8px;
|
|
530
|
+
align-items: center;
|
|
531
|
+
justify-items: center;
|
|
532
|
+
max-width: 560px;
|
|
533
|
+
margin: 0 auto 32px;
|
|
534
|
+
padding: 24px;
|
|
535
|
+
background: var(--bg-secondary,#f8fafc);
|
|
536
|
+
border: 1px solid var(--border-default,#e2e8f0);
|
|
537
|
+
border-radius: 16px;
|
|
538
|
+
">
|
|
539
|
+
${compassBtns}
|
|
540
|
+
|
|
541
|
+
<!-- Centre reference box -->
|
|
542
|
+
<div style="
|
|
543
|
+
grid-area: cx;
|
|
544
|
+
width: 110px; height: 70px;
|
|
545
|
+
background: var(--bg-primary,white);
|
|
546
|
+
border: 2px solid var(--color-primary,#10b981);
|
|
547
|
+
border-radius: 10px;
|
|
548
|
+
display: flex; flex-direction: column;
|
|
549
|
+
align-items: center; justify-content: center;
|
|
550
|
+
gap: 2px;
|
|
551
|
+
box-shadow: 0 4px 12px rgba(16,185,129,0.15);
|
|
552
|
+
">
|
|
553
|
+
<span style="font-size:18px;">🎯</span>
|
|
554
|
+
<span style="font-size:10px;font-weight:700;color:var(--color-primary,#10b981);letter-spacing:.05em;">TRIGGER</span>
|
|
509
555
|
</div>
|
|
510
556
|
</div>
|
|
511
557
|
|
|
512
|
-
|
|
558
|
+
<!-- ── Section 2: Live viewport edge buttons ── -->
|
|
559
|
+
<h4 style="margin-top:8px;margin-bottom:4px;">② Live viewport edge flip demo</h4>
|
|
560
|
+
<p style="color:var(--text-secondary,#6b7280);font-size:13px;margin-bottom:16px;">
|
|
561
|
+
Eight buttons are pinned to the actual browser viewport edges and corners using
|
|
562
|
+
<code>position:fixed</code>. Each requests a placement that would clip off-screen
|
|
563
|
+
— the engine auto-flips and clamps the panel to stay visible.
|
|
564
|
+
</p>
|
|
565
|
+
|
|
566
|
+
<div style="display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px;">
|
|
567
|
+
${[
|
|
568
|
+
{ pos: 'Top-Left corner', placement: 'top-start', color: '#6366f1', bg: '#eef2ff', border: '#c7d2fe' },
|
|
569
|
+
{ pos: 'Top centre', placement: 'top', color: '#10b981', bg: '#f0fdf4', border: '#bbf7d0' },
|
|
570
|
+
{ pos: 'Top-Right corner', placement: 'top-end', color: '#8b5cf6', bg: '#faf5ff', border: '#ddd6fe' },
|
|
571
|
+
{ pos: 'Bottom-Left corner', placement: 'bottom-start', color: '#0ea5e9', bg: '#f0f9ff', border: '#bae6fd' },
|
|
572
|
+
{ pos: 'Bottom centre', placement: 'bottom', color: '#10b981', bg: '#f0fdf4', border: '#bbf7d0' },
|
|
573
|
+
{ pos: 'Bottom-Right corner', placement: 'bottom-end', color: '#f43f5e', bg: '#fff1f2', border: '#fecdd3' },
|
|
574
|
+
{ pos: 'Left centre', placement: 'left', color: '#f59e0b', bg: '#fffbeb', border: '#fde68a' },
|
|
575
|
+
{ pos: 'Right centre', placement: 'right', color: '#ec4899', bg: '#fdf2f8', border: '#fbcfe8' },
|
|
576
|
+
].map(d => `
|
|
577
|
+
<div style="background:${d.bg};border:1px solid ${d.border};border-radius:10px;padding:12px;">
|
|
578
|
+
<div style="font-size:10px;font-weight:700;color:${d.color};letter-spacing:.05em;margin-bottom:4px;">${d.pos.toUpperCase()}</div>
|
|
579
|
+
<p style="font-size:12px;color:${d.color};margin:0;line-height:1.5;">
|
|
580
|
+
Prefers <code>${d.placement}</code><br>→ flips to stay visible
|
|
581
|
+
</p>
|
|
582
|
+
</div>
|
|
583
|
+
`).join('')}
|
|
584
|
+
</div>
|
|
585
|
+
|
|
586
|
+
<div style="padding:14px 18px;background:#fefce8;border:1px solid #fde68a;border-radius:10px;display:flex;align-items:center;gap:12px;margin-bottom:28px;">
|
|
513
587
|
<span style="font-size:22px;">👆</span>
|
|
514
588
|
<span style="font-size:13px;color:#78350f;">
|
|
515
|
-
<strong>
|
|
516
|
-
|
|
589
|
+
<strong>8 coloured buttons have been pinned to the edges & corners of your browser window.</strong>
|
|
590
|
+
Click each one to see the flip + clamping in action. Scroll to reach the top and bottom buttons.
|
|
517
591
|
</span>
|
|
518
592
|
</div>
|
|
519
593
|
|
|
520
|
-
|
|
521
|
-
<
|
|
522
|
-
<
|
|
523
|
-
<
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
<li><strong>Top ↔ Bottom flip</strong> — triggered when vertical overflow is detected</li>
|
|
544
|
-
<li><strong>Left ↔ Right flip</strong> — triggered when horizontal overflow is detected</li>
|
|
545
|
-
<li><strong>Horizontal clamping</strong> — guarantees no pixel bleeds off-screen left or right</li>
|
|
546
|
-
<li><strong>Vertical clamping</strong> — applied in both directions for tall content</li>
|
|
547
|
-
<li><strong>First-render safe</strong> — falls back to prop width when layout isn't ready yet</li>
|
|
548
|
-
<li><strong>Arrow compensation</strong> — arrow re-tracks the trigger after clamping</li>
|
|
549
|
-
</ul>
|
|
594
|
+
<!-- ── Section 3: Engine features ── -->
|
|
595
|
+
<div style="background:var(--accent-blue-soft,#eff6ff);border-radius:10px;padding:20px;border:1px solid #bfdbfe;">
|
|
596
|
+
<h4 style="margin:0 0 10px;color:var(--accent-blue,#1e40af);">💡 Positioning engine capabilities</h4>
|
|
597
|
+
<div style="display:grid;grid-template-columns:1fr 1fr;gap:8px;">
|
|
598
|
+
${[
|
|
599
|
+
['Top ↔ Bottom flip', 'Triggered when vertical overflow is detected'],
|
|
600
|
+
['Left ↔ Right flip', 'Triggered when horizontal overflow is detected'],
|
|
601
|
+
['start ↔ end shift', 'Cross-axis alignment adapts near corners'],
|
|
602
|
+
['Horizontal clamping', 'No pixel bleeds off left or right edge'],
|
|
603
|
+
['Vertical clamping', 'Applied in both directions for tall content'],
|
|
604
|
+
['Arrow compensation', 'Arrow re-tracks trigger after any clamping'],
|
|
605
|
+
['First-render safe', 'Falls back to prop width before layout is ready'],
|
|
606
|
+
['All 8 placements', 'top, bottom, left, right + 4 corner variants'],
|
|
607
|
+
].map(([title, desc]) => `
|
|
608
|
+
<div style="display:flex;gap:8px;align-items:flex-start;padding:8px 0;">
|
|
609
|
+
<span style="color:var(--color-primary,#10b981);font-weight:700;flex-shrink:0;">✓</span>
|
|
610
|
+
<div>
|
|
611
|
+
<div style="font-size:13px;font-weight:600;color:var(--accent-blue,#1e40af);">${title}</div>
|
|
612
|
+
<div style="font-size:12px;color:#3b82f6;">${desc}</div>
|
|
613
|
+
</div>
|
|
614
|
+
</div>
|
|
615
|
+
`).join('')}
|
|
616
|
+
</div>
|
|
550
617
|
</div>
|
|
551
618
|
</div>
|
|
552
619
|
`;
|
|
553
620
|
|
|
554
|
-
// ── Inject real fixed-position triggers at
|
|
621
|
+
// ── Inject all 8 real fixed-position triggers at viewport edges/corners ──
|
|
555
622
|
var edgeDefs = [
|
|
623
|
+
{
|
|
624
|
+
id: 'edgeFixedTopLeft',
|
|
625
|
+
cssText: 'position:fixed;top:0;left:0;z-index:50000;',
|
|
626
|
+
placement: 'top-start',
|
|
627
|
+
bg: '#6366f1',
|
|
628
|
+
label: '↙ TL',
|
|
629
|
+
heading: 'Top-Left — flips to bottom-start',
|
|
630
|
+
body: 'Preferred <em>top-start</em> but no room above or left. Flips to <strong>bottom</strong> and clamps right.',
|
|
631
|
+
},
|
|
556
632
|
{
|
|
557
633
|
id: 'edgeFixedTop',
|
|
558
634
|
cssText: 'position:fixed;top:0;left:50%;transform:translateX(-50%);z-index:50000;',
|
|
559
635
|
placement: 'top',
|
|
560
636
|
bg: '#10b981',
|
|
561
|
-
label: '
|
|
562
|
-
heading: 'Top
|
|
563
|
-
body:
|
|
637
|
+
label: '↓ TOP',
|
|
638
|
+
heading: 'Top Centre — flips to bottom',
|
|
639
|
+
body: 'Preferred <em>top</em> but no room above. Flipped to <strong>bottom</strong>.',
|
|
564
640
|
},
|
|
565
641
|
{
|
|
566
|
-
id: '
|
|
567
|
-
cssText: 'position:fixed;
|
|
568
|
-
placement: '
|
|
569
|
-
bg: '#
|
|
570
|
-
label: '
|
|
571
|
-
heading: '
|
|
572
|
-
body:
|
|
642
|
+
id: 'edgeFixedTopRight',
|
|
643
|
+
cssText: 'position:fixed;top:0;right:0;z-index:50000;',
|
|
644
|
+
placement: 'top-end',
|
|
645
|
+
bg: '#8b5cf6',
|
|
646
|
+
label: '↙ TR',
|
|
647
|
+
heading: 'Top-Right — flips to bottom-end',
|
|
648
|
+
body: 'Preferred <em>top-end</em> but no room above or right. Flips to <strong>bottom</strong> and clamps left.',
|
|
573
649
|
},
|
|
574
650
|
{
|
|
575
651
|
id: 'edgeFixedLeft',
|
|
576
652
|
cssText: 'position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:50000;',
|
|
577
653
|
placement: 'left',
|
|
578
|
-
bg: '#
|
|
654
|
+
bg: '#f59e0b',
|
|
579
655
|
label: '▶ LEFT',
|
|
580
|
-
heading: 'Left Edge —
|
|
581
|
-
body:
|
|
656
|
+
heading: 'Left Edge — flips to right',
|
|
657
|
+
body: 'Preferred <em>left</em> but no room. Flipped to <strong>right</strong>.',
|
|
582
658
|
},
|
|
583
659
|
{
|
|
584
660
|
id: 'edgeFixedRight',
|
|
585
661
|
cssText: 'position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:50000;',
|
|
586
662
|
placement: 'right',
|
|
587
|
-
bg: '#
|
|
663
|
+
bg: '#ec4899',
|
|
588
664
|
label: '◀ RIGHT',
|
|
589
|
-
heading: 'Right Edge —
|
|
590
|
-
body:
|
|
665
|
+
heading: 'Right Edge — flips to left',
|
|
666
|
+
body: 'Preferred <em>right</em> but no room. Flipped to <strong>left</strong>.',
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
id: 'edgeFixedBottomLeft',
|
|
670
|
+
cssText: 'position:fixed;bottom:0;left:0;z-index:50000;',
|
|
671
|
+
placement: 'bottom-start',
|
|
672
|
+
bg: '#0ea5e9',
|
|
673
|
+
label: '↖ BL',
|
|
674
|
+
heading: 'Bottom-Left — flips to top-start',
|
|
675
|
+
body: 'Preferred <em>bottom-start</em> but no room below. Flips to <strong>top</strong> and clamps right.',
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
id: 'edgeFixedBottom',
|
|
679
|
+
cssText: 'position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:50000;',
|
|
680
|
+
placement: 'bottom',
|
|
681
|
+
bg: '#10b981',
|
|
682
|
+
label: '↑ BTM',
|
|
683
|
+
heading: 'Bottom Centre — flips to top',
|
|
684
|
+
body: 'Preferred <em>bottom</em> but no room below. Flipped to <strong>top</strong>.',
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
id: 'edgeFixedBottomRight',
|
|
688
|
+
cssText: 'position:fixed;bottom:0;right:0;z-index:50000;',
|
|
689
|
+
placement: 'bottom-end',
|
|
690
|
+
bg: '#f43f5e',
|
|
691
|
+
label: '↖ BR',
|
|
692
|
+
heading: 'Bottom-Right — flips to top-end',
|
|
693
|
+
body: 'Preferred <em>bottom-end</em> but no room below or right. Flips to <strong>top</strong> and clamps left.',
|
|
591
694
|
},
|
|
592
695
|
];
|
|
593
696
|
|
|
@@ -596,25 +699,13 @@ function showEdgeCases() {
|
|
|
596
699
|
wrap.className = 'edge-demo-fixed';
|
|
597
700
|
wrap.style.cssText = def.cssText;
|
|
598
701
|
wrap.innerHTML =
|
|
599
|
-
'<ui-popover id="' +
|
|
600
|
-
def.
|
|
601
|
-
'"
|
|
602
|
-
def.
|
|
603
|
-
'
|
|
604
|
-
def.
|
|
605
|
-
'
|
|
606
|
-
'<ui-button slot="trigger" label="' +
|
|
607
|
-
def.label +
|
|
608
|
-
'" color="secondary" variant="outline" style="box-shadow:0 2px 10px rgba(0,0,0,0.25); background:' +
|
|
609
|
-
def.bg +
|
|
610
|
-
'"></ui-button>' +
|
|
611
|
-
'<div slot="content"><p style="font-size:13px;margin:0;line-height:1.7;">' +
|
|
612
|
-
def.body +
|
|
613
|
-
'</p>' +
|
|
614
|
-
'<p style="font-size:11px;color:#6b7280;margin:8px 0 0;">Preferred: <code>' +
|
|
615
|
-
def.placement +
|
|
616
|
-
'</code></p>' +
|
|
617
|
-
'</div>' +
|
|
702
|
+
'<ui-popover id="' + def.id + '" trigger="click" placement="' + def.placement +
|
|
703
|
+
'" heading="' + def.heading + '" width="260px">' +
|
|
704
|
+
'<ui-button label="' + def.label + '" size="sm" color="secondary" variant="outline"' +
|
|
705
|
+
' style="box-shadow:0 2px 10px rgba(0,0,0,0.3);background:' + def.bg + ';color:#fff;border-color:' + def.bg + ';font-size:11px;min-width:52px;font-weight:700;">' +
|
|
706
|
+
'</ui-button>' +
|
|
707
|
+
'<div slot="content"><p style="font-size:13px;margin:0;line-height:1.7;">' + def.body + '</p>' +
|
|
708
|
+
'<p style="font-size:11px;color:#6b7280;margin:8px 0 0;">Preferred: <code>' + def.placement + '</code></p></div>' +
|
|
618
709
|
'</ui-popover>';
|
|
619
710
|
document.body.appendChild(wrap);
|
|
620
711
|
});
|
|
@@ -625,7 +716,7 @@ function showEdgeCases() {
|
|
|
625
716
|
el.remove();
|
|
626
717
|
});
|
|
627
718
|
}
|
|
628
|
-
document.querySelectorAll('#
|
|
719
|
+
document.querySelectorAll('#popoverDemoControls ui-button').forEach(function (b) {
|
|
629
720
|
b.addEventListener('click', cleanup, { once: true });
|
|
630
721
|
});
|
|
631
722
|
}
|
|
@@ -636,17 +727,17 @@ function showInteractivePopover() {
|
|
|
636
727
|
if (!container) return;
|
|
637
728
|
|
|
638
729
|
container.innerHTML = `
|
|
639
|
-
<div style="background:white;border-radius:14px;padding:30px;box-shadow:0 4px 24px rgba(0,0,0,0.
|
|
640
|
-
<h3 style="margin-top:0;display:flex;align-items:center;gap:10px;">
|
|
730
|
+
<div style="background:var(--bg-primary,white);border-radius:14px;padding:30px;box-shadow:0 4px 24px rgba(0,0,0,0.4);border:1px solid var(--border-default,#e2e8f0);">
|
|
731
|
+
<h3 style="margin-top:0;display:flex;align-items:center;gap:10px;color:var(--text-primary,#1e293b);">
|
|
641
732
|
<span style="font-size:26px;">🎮</span> Interactive Playground
|
|
642
733
|
</h3>
|
|
643
|
-
<p style="color
|
|
734
|
+
<p style="color:var(--text-secondary,#64748b);margin-bottom:28px;">Configure every property and see changes in real-time.</p>
|
|
644
735
|
|
|
645
736
|
<div style="display:grid;grid-template-columns:360px 1fr;gap:28px;">
|
|
646
737
|
|
|
647
738
|
<!-- Config panel -->
|
|
648
|
-
<div style="background
|
|
649
|
-
<h4 style="margin:0 0 4px;color
|
|
739
|
+
<div style="background:var(--bg-secondary,#f8fafc);padding:24px;border-radius:10px;border:1px solid var(--border-default,#e2e8f0);height:fit-content;display:flex;flex-direction:column;gap:18px;">
|
|
740
|
+
<h4 style="margin:0 0 4px;color:var(--text-secondary,#64748b);font-size:13px;text-transform:uppercase;letter-spacing:.06em;">⚙️ Properties</h4>
|
|
650
741
|
|
|
651
742
|
<ui-dropdown id="ppTrigger" label="Trigger" value="click" options='[
|
|
652
743
|
{"label": "Click", "value": "click"},
|
|
@@ -689,7 +780,7 @@ function showInteractivePopover() {
|
|
|
689
780
|
|
|
690
781
|
<ui-input id="ppContent" label="Content (HTML)" multiline="true" rows="4" value="<p>Edit me to change the <strong>content</strong>!</p>"></ui-input>
|
|
691
782
|
|
|
692
|
-
<div style="background:
|
|
783
|
+
<div style="background:var(--bg-tertiary,#f1f5f9);padding:12px;border-radius:8px;border:1px solid var(--border-subtle,#f1f5f9);display:grid;grid-template-columns:1fr 1fr;gap:8px;">
|
|
693
784
|
<ui-checkbox id="ppShowArrow" label="Show Arrow" checked></ui-checkbox>
|
|
694
785
|
<ui-checkbox id="ppShowClose" label="Show Close Button"></ui-checkbox>
|
|
695
786
|
<ui-checkbox id="ppBackdrop" label="Backdrop"></ui-checkbox>
|
|
@@ -711,9 +802,9 @@ function showInteractivePopover() {
|
|
|
711
802
|
|
|
712
803
|
<!-- Preview panel -->
|
|
713
804
|
<div style="display:flex;flex-direction:column;gap:16px;">
|
|
714
|
-
<div style="background
|
|
805
|
+
<div style="background:var(--bg-secondary,#f8fafc);border-radius:10px;border:2px solid #1e2938;padding:40px;display:flex;justify-content:center;align-items:center;min-height:280px;position:relative;" id="pgPreview"></div>
|
|
715
806
|
|
|
716
|
-
<div id="pgEventLog" style="background:#0f172a;border-radius:10px;padding:14px 18px;font-family:monospace;font-size:12px;color
|
|
807
|
+
<div id="pgEventLog" style="background:#0f172a;border-radius:10px;padding:14px 18px;font-family:monospace;font-size:12px;color:var(--text-secondary,#64748b);min-height:60px;">
|
|
717
808
|
<div style="color:#475569;font-size:10px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:6px;">Event Log</div>
|
|
718
809
|
<div id="pgEventContent">Waiting for events…</div>
|
|
719
810
|
</div>
|
|
@@ -735,7 +826,7 @@ function showInteractivePopover() {
|
|
|
735
826
|
const checkboxes = ['ppShowArrow', 'ppShowClose', 'ppBackdrop', 'ppInteractive', 'ppCloseOnScroll', 'ppCloseOnEsc', 'ppDisabled', 'ppLoading', 'ppSkeleton'];
|
|
736
827
|
|
|
737
828
|
inputs.forEach(id => document.getElementById(id)?.addEventListener('inputChange', () => updateInteractivePopover()));
|
|
738
|
-
dropdowns.forEach(id => document.getElementById(id)?.addEventListener('
|
|
829
|
+
dropdowns.forEach(id => document.getElementById(id)?.addEventListener('valueChange', () => updateInteractivePopover()));
|
|
739
830
|
checkboxes.forEach(id => document.getElementById(id)?.addEventListener('checkboxChange', () => updateInteractivePopover()));
|
|
740
831
|
|
|
741
832
|
updateInteractivePopover();
|
|
@@ -780,8 +871,8 @@ function updateInteractivePopover() {
|
|
|
780
871
|
const triggerLabel = { click: 'Click Me', hover: 'Hover Me', focus: 'Focus Me', manual: 'Target Element' }[trigger] || 'Open';
|
|
781
872
|
const triggerEl =
|
|
782
873
|
trigger === 'manual'
|
|
783
|
-
? `<div style="padding:14px 20px;background
|
|
784
|
-
: `<ui-button >${triggerLabel}</ui-button>`;
|
|
874
|
+
? `<div slot="trigger" style="padding:14px 20px;background:var(--accent-purple-soft,#ede9fe);border:2px dashed #a78bfa;border-radius:8px;color:var(--accent-purple,#6d28d9);font-size:13px;cursor:default;">Target Element (use controls above)</div>`
|
|
875
|
+
: `<ui-button slot="trigger">${triggerLabel}</ui-button>`;
|
|
785
876
|
|
|
786
877
|
const escaped = rawContent.replace(/'/g, ''').replace(/"/g, '"');
|
|
787
878
|
|
|
@@ -808,7 +899,7 @@ function updateInteractivePopover() {
|
|
|
808
899
|
loading="${loading}"
|
|
809
900
|
skeleton="${skeleton}"
|
|
810
901
|
>
|
|
811
|
-
|
|
902
|
+
${triggerEl}
|
|
812
903
|
<div slot="content">${rawContent}</div>
|
|
813
904
|
</ui-popover>
|
|
814
905
|
`;
|