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
|
@@ -8,7 +8,7 @@ export const initTooltipDemo = () => {
|
|
|
8
8
|
<ui-icon name="message-square" library="lucide" size="24px" style="color: #10b981;"></ui-icon>
|
|
9
9
|
<h2 style="margin: 0;">Tooltip Component</h2>
|
|
10
10
|
</div>
|
|
11
|
-
<p style="color:
|
|
11
|
+
<p style="color:var(--text-secondary,#64748b); font-size: 15px; margin-bottom: 30px;">
|
|
12
12
|
High-performance, accessible contextual overlays with advanced portaling, mouse tracking, and elite aesthetics.
|
|
13
13
|
</p>
|
|
14
14
|
</div>
|
|
@@ -117,13 +117,13 @@ export const initTooltipDemo = () => {
|
|
|
117
117
|
<div class="demo-grid-3">
|
|
118
118
|
<div class="demo-item">
|
|
119
119
|
<ui-tooltip content="Vibrant pink background" custom-color="#ec4899" text-color="#ffffff">
|
|
120
|
-
<ui-button slot="target" style="background
|
|
120
|
+
<ui-button slot="target" style="background:var(--accent-pink,#ec4899); color:white; border:none">Vibrant Pink</ui-button>
|
|
121
121
|
</ui-tooltip>
|
|
122
122
|
<span>Custom BG Color</span>
|
|
123
123
|
</div>
|
|
124
124
|
<div class="demo-item">
|
|
125
125
|
<ui-tooltip content="Custom text color override" custom-color="#f1f5f9" text-color="#6366f1">
|
|
126
|
-
<ui-button slot="target" variant="outline" style="color
|
|
126
|
+
<ui-button slot="target" variant="outline" style="color:var(--accent-indigo,#6366f1)">Indigo Text</ui-button>
|
|
127
127
|
</ui-tooltip>
|
|
128
128
|
<span>Custom Text Color</span>
|
|
129
129
|
</div>
|
|
@@ -157,40 +157,40 @@ export const initTooltipDemo = () => {
|
|
|
157
157
|
<p>Advanced interactions including cursor following, open at mouse position, and proximity tracking.</p>
|
|
158
158
|
|
|
159
159
|
<div class="demo-grid-2">
|
|
160
|
-
<div class="demo-box" style="background
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</div>
|
|
166
|
-
</ui-tooltip>
|
|
167
|
-
</div>
|
|
168
|
-
|
|
169
|
-
<div class="demo-box" style="background:#f8fafc; padding:30px; border-radius:16px; border:1px solid #e2e8f0;">
|
|
170
|
-
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
171
|
-
<ui-tooltip content="Opens at exact click position" trigger="click" open-at-mouse-position="true" variant="info">
|
|
172
|
-
<ui-button slot="target" variant="info" style="width: 100%;">Open at Click Position</ui-button>
|
|
173
|
-
</ui-tooltip>
|
|
174
|
-
|
|
175
|
-
<ui-tooltip content="High-frequency track (8ms)" track-mouse="true" track-interval="8" variant="success">
|
|
176
|
-
<ui-button slot="target" variant="success" style="width: 100%;">Fast Track (8ms)</ui-button>
|
|
177
|
-
</ui-tooltip>
|
|
178
|
-
|
|
179
|
-
<ui-tooltip content="Follows cursor smoothly" follow-cursor="true" variant="error">
|
|
180
|
-
<ui-button slot="target" variant="danger" style="width: 100%;">Smooth Follow Cursor</ui-button>
|
|
181
|
-
</ui-tooltip>
|
|
182
|
-
|
|
183
|
-
<div style="display:grid; grid-template-columns: 1fr 1fr; gap:12px">
|
|
184
|
-
<ui-tooltip content="Wait for 1.2 seconds..." show-delay="1200" variant="dark">
|
|
185
|
-
<ui-button slot="target" variant="outline" size="md">Slow Delay (1.2s)</ui-button>
|
|
186
|
-
</ui-tooltip>
|
|
187
|
-
<ui-tooltip content="Hidden after 2 seconds..." hide-delay="2000" variant="dark">
|
|
188
|
-
<ui-button slot="target" variant="outline" size="md">Hide Delay (2s)</ui-button>
|
|
189
|
-
</ui-tooltip>
|
|
160
|
+
<div class="demo-box" style="background: var(--bg-secondary); padding:40px; border-radius:16px; border:2px dashed var(--border-default); text-align:center;">
|
|
161
|
+
<ui-tooltip content="Tracks mouse movement dynamically!" trackMouse="true" variant="primary">
|
|
162
|
+
<div slot="target" style="height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: crosshair; color: var(--text-secondary); font-weight:700;">
|
|
163
|
+
<ui-icon name="move" library="lucide" size="32px" style="margin-bottom:12px"></ui-icon>
|
|
164
|
+
<span>Dynamic Mouse Tracking</span>
|
|
190
165
|
</div>
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
166
|
+
</ui-tooltip>
|
|
167
|
+
</div>
|
|
168
|
+
|
|
169
|
+
<div class="demo-box" style="background: var(--bg-secondary); padding:30px; border-radius:16px; border:1px solid var(--border-default);">
|
|
170
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
171
|
+
<ui-tooltip content="Opens at exact click position" trigger="click" open-at-mouse-position="true" variant="info">
|
|
172
|
+
<ui-button slot="target" variant="info" style="width: 100%;">Open at Click Position</ui-button>
|
|
173
|
+
</ui-tooltip>
|
|
174
|
+
|
|
175
|
+
<ui-tooltip content="High-frequency track (8ms)" track-mouse="true" track-interval="8" variant="success">
|
|
176
|
+
<ui-button slot="target" variant="success" style="width: 100%;">Fast Track (8ms)</ui-button>
|
|
177
|
+
</ui-tooltip>
|
|
178
|
+
|
|
179
|
+
<ui-tooltip content="Follows cursor smoothly" follow-cursor="true" variant="error">
|
|
180
|
+
<ui-button slot="target" variant="danger" style="width: 100%;">Smooth Follow Cursor</ui-button>
|
|
181
|
+
</ui-tooltip>
|
|
182
|
+
|
|
183
|
+
<div style="display:grid; grid-template-columns: 1fr 1fr; gap:12px">
|
|
184
|
+
<ui-tooltip content="Wait for 1.2 seconds..." show-delay="1200" variant="dark">
|
|
185
|
+
<ui-button slot="target" variant="outline" size="md">Slow Delay (1.2s)</ui-button>
|
|
186
|
+
</ui-tooltip>
|
|
187
|
+
<ui-tooltip content="Hidden after 2 seconds..." hide-delay="2000" variant="dark">
|
|
188
|
+
<ui-button slot="target" variant="outline" size="md">Hide Delay (2s)</ui-button>
|
|
189
|
+
</ui-tooltip>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
194
|
</section>
|
|
195
195
|
|
|
196
196
|
<!-- Section: Auto-Shift & Auto-Flip -->
|
|
@@ -198,7 +198,7 @@ export const initTooltipDemo = () => {
|
|
|
198
198
|
<div class="card-header-icon"><ui-icon name="maximize" library="lucide" size="18px"></ui-icon> Auto-Shift & Auto-Flip</div>
|
|
199
199
|
<p>Intelligent positioning system that adapts to viewport constraints and handles portal rendering fixes.</p>
|
|
200
200
|
|
|
201
|
-
<div style="padding: 40px; background:
|
|
201
|
+
<div style="padding: 40px; background: var(--bg-secondary); border-radius: 20px; position: relative; height: 350px; border:1px solid var(--border-default)">
|
|
202
202
|
<!-- Corners -->
|
|
203
203
|
<div style="position: absolute; top: 20px; left: 20px;">
|
|
204
204
|
<ui-tooltip content="Auto-shifts horizontally to stay in view" position="top-left" auto-shift="true" variant="primary">
|
|
@@ -225,11 +225,11 @@ export const initTooltipDemo = () => {
|
|
|
225
225
|
</div>
|
|
226
226
|
|
|
227
227
|
<!-- Portal Fix Demonstration -->
|
|
228
|
-
<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 30px; border: 2px dashed
|
|
228
|
+
<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 30px; border: 2px dashed var(--border-default); border-radius: 16px; background: var(--bg-primary); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);">
|
|
229
229
|
<ui-tooltip content="Correctly positioned via document body portal!" position="top" auto-shift="true" auto-flip="true" variant="error" show-glow="true" portal="true">
|
|
230
230
|
<ui-button slot="target" variant="danger">Portal Fix Demonstration</ui-button>
|
|
231
231
|
</ui-tooltip>
|
|
232
|
-
<div style="margin-top:12px; font-size:11px; color
|
|
232
|
+
<div style="margin-top:12px; font-size:11px; color: var(--text-muted); font-weight:700">TRANSFORMED CONTAINER</div>
|
|
233
233
|
</div>
|
|
234
234
|
</div>
|
|
235
235
|
</section>
|
|
@@ -241,18 +241,18 @@ export const initTooltipDemo = () => {
|
|
|
241
241
|
|
|
242
242
|
<div class="demo-grid-3">
|
|
243
243
|
<!-- Alex Horizon -->
|
|
244
|
-
<div class="demo-item" style="border: 1px solid
|
|
244
|
+
<div class="demo-item" style="border: 1px solid var(--border-default); padding: 24px; border-radius: 16px; background: var(--bg-secondary);">
|
|
245
245
|
<ui-tooltip interactive="true" variant="light" max-width="320" show-header="true" show-footer="true" elevation="3">
|
|
246
246
|
<ui-button slot="target" variant="primary">👤 User Profile Slot</ui-button>
|
|
247
247
|
<div slot="header">Identity Management</div>
|
|
248
248
|
<div style="display: flex; gap: 14px; align-items: center;">
|
|
249
|
-
<ui-avatar src="
|
|
249
|
+
<ui-avatar src="/build/assets/images/logo.png" shape="circle" size="md"></ui-avatar>
|
|
250
250
|
<div style="text-align:left">
|
|
251
|
-
<div style="font-weight: 800; color:
|
|
252
|
-
<div style="display:inline-block; padding:2px 6px; background
|
|
251
|
+
<div style="font-weight: 800; color: var(--text-primary); font-size:15px; margin-bottom:2px">Alex Horizon</div>
|
|
252
|
+
<div style="display:inline-block; padding:2px 6px; background: var(--bg-primary); border-radius:4px; font-size:10px; color: var(--text-secondary); font-weight:700">SENIOR ARCHITECT</div>
|
|
253
253
|
</div>
|
|
254
254
|
</div>
|
|
255
|
-
<div style="margin-top: 14px; font-size: 13px; color:
|
|
255
|
+
<div style="margin-top: 14px; font-size: 13px; color: var(--text-secondary); text-align:left; line-height:1.5">
|
|
256
256
|
Managing <b>Elite Tier</b> infrastructure across 12 availability zones.
|
|
257
257
|
</div>
|
|
258
258
|
<div slot="footer" style="display: flex; gap: 8px; justify-content: flex-end; width: 100%;">
|
|
@@ -264,7 +264,7 @@ export const initTooltipDemo = () => {
|
|
|
264
264
|
</div>
|
|
265
265
|
|
|
266
266
|
<!-- Special Offer -->
|
|
267
|
-
<div class="demo-item" style="border: 1px solid
|
|
267
|
+
<div class="demo-item" style="border: 1px solid var(--border-default); padding: 24px; border-radius: 16px; background: var(--bg-secondary);">
|
|
268
268
|
<ui-tooltip variant="dark" interactive="true" show-glow="true" max-width="240">
|
|
269
269
|
<ui-button slot="target" variant="warning">
|
|
270
270
|
<ui-icon name="award" library="lucide" style="margin-right:8px"></ui-icon> Special Offer
|
|
@@ -272,7 +272,7 @@ export const initTooltipDemo = () => {
|
|
|
272
272
|
<div style="text-align:center;">
|
|
273
273
|
<div style="font-size: 24px; margin-bottom: 8px;">🔥</div>
|
|
274
274
|
<div style="font-weight:800; color:#fbbf24; font-size:16px; margin-bottom:4px">EXCLUSIVE DEAL</div>
|
|
275
|
-
<p style="font-size:12px; color
|
|
275
|
+
<p style="font-size:12px; color: var(--text-muted); margin-bottom:12px">Unlock the full API suite with <b>50% OFF</b> for the first 3 months.</p>
|
|
276
276
|
<ui-button size="xsmall" variant="warning" style="width:100%">Claim Upgrade</ui-button>
|
|
277
277
|
</div>
|
|
278
278
|
</ui-tooltip>
|
|
@@ -280,21 +280,21 @@ export const initTooltipDemo = () => {
|
|
|
280
280
|
</div>
|
|
281
281
|
|
|
282
282
|
<!-- Multi-Step List -->
|
|
283
|
-
<div class="demo-item" style="border: 1px solid
|
|
283
|
+
<div class="demo-item" style="border: 1px solid var(--border-default); padding: 24px; border-radius: 16px; background: var(--bg-secondary);">
|
|
284
284
|
<ui-tooltip variant="light" interactive="true" max-width="260">
|
|
285
285
|
<ui-button slot="target" variant="outline">
|
|
286
286
|
<ui-icon name="list-checks" library="lucide" style="margin-right:8px"></ui-icon> Project Roadmap
|
|
287
287
|
</ui-button>
|
|
288
288
|
<div style="text-align:left">
|
|
289
|
-
<strong style="display:block; margin-bottom:10px; color
|
|
289
|
+
<strong style="display:block; margin-bottom:10px; color: var(--text-primary); border-bottom:1px solid var(--border-default); padding-bottom:6px">Current Milestone</strong>
|
|
290
290
|
<ul style="margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:8px">
|
|
291
|
-
<li style="display:flex; align-items:center; gap:8px; font-size:12px; color
|
|
291
|
+
<li style="display:flex; align-items:center; gap:8px; font-size:12px; color: var(--text-secondary)">
|
|
292
292
|
<ui-icon name="check-circle" library="lucide" size="14px" style="color:#10b981"></ui-icon> Core Component Logic
|
|
293
293
|
</li>
|
|
294
294
|
<li style="display:flex; align-items:center; gap:8px; font-size:12px; color:#10b981">
|
|
295
295
|
<ui-icon name="refresh-cw" library="lucide" size="14px" style="color:#10b981"></ui-icon> Accessibility Audit
|
|
296
296
|
</li>
|
|
297
|
-
<li style="display:flex; align-items:center; gap:8px; font-size:12px; color
|
|
297
|
+
<li style="display:flex; align-items:center; gap:8px; font-size:12px; color: var(--text-muted)">
|
|
298
298
|
<ui-icon name="circle" library="lucide" size="14px"></ui-icon> Production Deployment
|
|
299
299
|
</li>
|
|
300
300
|
</ul>
|
|
@@ -309,10 +309,10 @@ export const initTooltipDemo = () => {
|
|
|
309
309
|
<section id="demo-cases" class="demo-card-elite">
|
|
310
310
|
<div class="card-header-icon"><ui-icon name="check-square" library="lucide" size="18px"></ui-icon> Practical Use Cases</div>
|
|
311
311
|
<p>Real-world integration patterns for everyday UI challenges.</p>
|
|
312
|
-
<div style="background:
|
|
312
|
+
<div style="background: var(--bg-secondary); padding: 24px; border-radius: 16px; border: 1px solid var(--border-default);">
|
|
313
313
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
314
314
|
<!-- Glossary -->
|
|
315
|
-
<div style="display: flex; align-items: center; gap: 8px; color:
|
|
315
|
+
<div style="display: flex; align-items: center; gap: 8px; color: var(--text-primary); font-size:14px">
|
|
316
316
|
Understanding
|
|
317
317
|
<ui-tooltip content="A statistical measure of the dispersion of returns for a given security." variant="dark" max-width="220">
|
|
318
318
|
<span style="border-bottom: 2px dotted #6366f1; cursor: help; font-weight:700" slot="target">Market Volatility</span>
|
|
@@ -358,7 +358,7 @@ export const initTooltipDemo = () => {
|
|
|
358
358
|
<span>Disabled State</span>
|
|
359
359
|
</div>
|
|
360
360
|
<div class="demo-item">
|
|
361
|
-
<div id="boundaryContainer" style="width:100%; height:80px; background
|
|
361
|
+
<div id="boundaryContainer" style="width:100%; height:80px; background: var(--bg-secondary); border:1px solid var(--border-default); border-radius:8px; display:flex; align-items:center; justify-content:center; overflow:hidden">
|
|
362
362
|
<ui-tooltip content="I am constrained to this box!" boundary="#boundaryContainer" position="top">
|
|
363
363
|
<ui-button slot="target" size="xsmall" variant="secondary">Boundary Control</ui-button>
|
|
364
364
|
</ui-tooltip>
|
|
@@ -367,11 +367,11 @@ export const initTooltipDemo = () => {
|
|
|
367
367
|
</div>
|
|
368
368
|
</div>
|
|
369
369
|
|
|
370
|
-
<div style="margin-top:40px; background
|
|
370
|
+
<div style="margin-top:40px; background: var(--bg-secondary); padding:32px; border-radius:20px; border:1px solid var(--border-default);">
|
|
371
371
|
<div style="display:flex; align-items:center; justify-content:space-between">
|
|
372
372
|
<div style="text-align:left">
|
|
373
|
-
<h4 style="margin:0; font-weight:800; color
|
|
374
|
-
<p style="margin:4px 0 0; font-size:13px; color
|
|
373
|
+
<h4 style="margin:0; font-weight:800; color: var(--text-primary)">Manual Life-cycle Control</h4>
|
|
374
|
+
<p style="margin:4px 0 0; font-size:13px; color: var(--text-secondary)">Programmatically toggle visibility regardless of mouse state.</p>
|
|
375
375
|
</div>
|
|
376
376
|
<div style="display:flex; gap:12px">
|
|
377
377
|
<ui-tooltip id="manualTooltip" content="Mastered by user logic" trigger="manual" variant="error">
|
|
@@ -380,19 +380,19 @@ export const initTooltipDemo = () => {
|
|
|
380
380
|
<ui-button id="manualToggleBtn" variant="primary" onclick="toggleManualTooltip()">Show Tooltip</ui-button>
|
|
381
381
|
</div>
|
|
382
382
|
</div>
|
|
383
|
-
</div>
|
|
383
|
+
</div> </div>
|
|
384
384
|
</section>
|
|
385
385
|
|
|
386
386
|
<!-- Section: Playground -->
|
|
387
|
-
<section id="demo-playground" class="demo-card-elite" style="background:
|
|
387
|
+
<section id="demo-playground" class="demo-card-elite" style="background: var(--bg-secondary); color: var(--text-primary);">
|
|
388
388
|
<div style="display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px;">
|
|
389
|
-
<h3 style="color:
|
|
389
|
+
<h3 style="color: var(--text-primary); margin: 0;">🎮 Elite Interactive Playground</h3>
|
|
390
390
|
<ui-button onclick="copyTooltipCode()" variant="outline" color="success" label="Copy Implementation"></ui-button>
|
|
391
391
|
</div>
|
|
392
392
|
|
|
393
393
|
<div style="display: grid; grid-template-columns: 1fr 340px; gap: 32px;">
|
|
394
394
|
<!-- Area 1: Trigger -->
|
|
395
|
-
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; background:
|
|
395
|
+
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg-primary); border: 2px dashed var(--border-default); border-radius: 16px; padding: 60px;">
|
|
396
396
|
<ui-tooltip
|
|
397
397
|
id="pgTooltip"
|
|
398
398
|
content="Configurable Playground Tooltip"
|
|
@@ -404,8 +404,8 @@ export const initTooltipDemo = () => {
|
|
|
404
404
|
</ui-tooltip>
|
|
405
405
|
|
|
406
406
|
<div style="margin-top: 48px; width: 100%;">
|
|
407
|
-
<div style="color:
|
|
408
|
-
<div id="pgCodeBlock" style="background:
|
|
407
|
+
<div style="color: var(--text-secondary,#64748b); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px;">Implementation Code:</div>
|
|
408
|
+
<div id="pgCodeBlock" style="background: var(--bg-code,#020617); padding: 20px; border-radius: 12px; font-family: 'Fira Code', monospace; font-size: 13px; color: #22d3ee; border: 1px solid var(--border-default); overflow-x: auto; white-space: pre;">
|
|
409
409
|
</div>
|
|
410
410
|
</div>
|
|
411
411
|
</div>
|
|
@@ -482,21 +482,21 @@ export const initTooltipDemo = () => {
|
|
|
482
482
|
<div style="display:flex; flex-direction:column; gap:12px;">
|
|
483
483
|
<ui-checkbox id="pgUseColor" label="Enable Custom Styling"></ui-checkbox>
|
|
484
484
|
<div style="display:grid; grid-template-columns: 1fr 1fr; gap:16px;">
|
|
485
|
-
<div style="display:flex; align-items:center; gap:8px; background:
|
|
486
|
-
<span style="font-size:10px; color
|
|
485
|
+
<div style="display:flex; align-items:center; gap:8px; background:var(--bg-primary); padding:6px 10px; border-radius:8px; border:1px solid var(--border-default)">
|
|
486
|
+
<span style="font-size:10px; color:var(--text-secondary,#64748b); width:20px">BG</span>
|
|
487
487
|
<ui-color-picker id="pgColor" value="#6366f1" style="--picker-width: 24px; --picker-height: 24px;"></ui-color-picker>
|
|
488
|
-
<ui-input id="pgColorHex" value="#6366f1" style="width:70px; --input-background: transparent; --input-border: none; color:
|
|
488
|
+
<ui-input id="pgColorHex" value="#6366f1" style="width:70px; --input-background: transparent; --input-border: none; color:var(--text-primary); font-family:monospace; font-size:11px;"></ui-input>
|
|
489
489
|
</div>
|
|
490
|
-
<div style="display:flex; align-items:center; gap:8px; background:
|
|
491
|
-
<span style="font-size:10px; color
|
|
490
|
+
<div style="display:flex; align-items:center; gap:8px; background:var(--bg-primary); padding:6px 10px; border-radius:8px; border:1px solid var(--border-default)">
|
|
491
|
+
<span style="font-size:10px; color:var(--text-secondary,#64748b); width:24px">TXT</span>
|
|
492
492
|
<ui-color-picker id="pgTextColor" value="#ffffff" style="--picker-width: 24px; --picker-height: 24px;"></ui-color-picker>
|
|
493
|
-
<ui-input id="pgTextColorHex" value="#ffffff" style="width:70px; --input-background: transparent; --input-border: none; color:
|
|
493
|
+
<ui-input id="pgTextColorHex" value="#ffffff" style="width:70px; --input-background: transparent; --input-border: none; color:var(--text-primary); font-family:monospace; font-size:11px;"></ui-input>
|
|
494
494
|
</div>
|
|
495
495
|
</div>
|
|
496
496
|
</div>
|
|
497
497
|
</div>
|
|
498
498
|
|
|
499
|
-
<div class="pg-options-card" style="grid-column: span 2; background:
|
|
499
|
+
<div class="pg-options-card" style="grid-column: span 2; background: var(--bg-primary); padding: 12px; border-radius: 8px; margin-top: 8px; border: 1px solid var(--border-default);">
|
|
500
500
|
<div class="pg-check-grid" style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
501
501
|
<ui-checkbox id="pgGlow" checked="true" label="Pulsing Glow"></ui-checkbox>
|
|
502
502
|
<ui-checkbox id="pgArrow" checked="true" label="Show Arrow"></ui-checkbox>
|
|
@@ -520,23 +520,23 @@ export const initTooltipDemo = () => {
|
|
|
520
520
|
to { opacity: 1; transform: translateY(0); }
|
|
521
521
|
}
|
|
522
522
|
|
|
523
|
-
.demo-section-header { margin-bottom: 32px; border-bottom: 1px solid
|
|
524
|
-
.demo-section-header h2 { font-size: 28px; font-weight: 800; color:
|
|
525
|
-
.demo-section-header p { color:
|
|
523
|
+
.demo-section-header { margin-bottom: 32px; border-bottom: 1px solid var(--border-default); padding-bottom: 24px; }
|
|
524
|
+
.demo-section-header h2 { font-size: 28px; font-weight: 800; color: var(--text-primary); margin: 0; }
|
|
525
|
+
.demo-section-header p { color: var(--text-secondary); font-size: 15px; margin: 8px 0 0; }
|
|
526
526
|
|
|
527
|
-
.pill-btn { padding: 8px 18px; background:
|
|
527
|
+
.pill-btn { padding: 8px 18px; background: var(--bg-secondary); border: 1px solid var(--border-default); border-radius: 24px; font-size: 13px; font-weight: 700; color: var(--text-primary); cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
|
|
528
528
|
.pill-btn:hover { border-color: #10b981; color: #10b981; transform: translateY(-2px); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
|
|
529
529
|
.pill-btn.primary { background: #10b981; color: white; border: none; }
|
|
530
|
-
.pill-btn.secondary { background:
|
|
530
|
+
.pill-btn.secondary { background: var(--bg-primary); color: var(--text-primary); }
|
|
531
531
|
.pill-btn.info { background: #10b981; color: white; border: none; }
|
|
532
532
|
.pill-btn.success { background: #10b981; color: white; border: none; }
|
|
533
|
-
.pill-btn.warning { background:
|
|
534
|
-
.pill-btn.error { background:
|
|
533
|
+
.pill-btn.warning { background: var(--accent-yellow,#f59e0b); color: white; border: none; }
|
|
534
|
+
.pill-btn.error { background: var(--accent-red,#ef4444); color: white; border: none; }
|
|
535
535
|
|
|
536
536
|
|
|
537
|
-
.demo-card-elite { background:
|
|
538
|
-
.demo-card-elite h3 { margin: 0 0 12px; font-size: 22px; font-weight: 800; color:
|
|
539
|
-
.demo-card-elite p { margin: 0 0 40px; font-size: 15px; color:
|
|
537
|
+
.demo-card-elite { background: var(--bg-secondary); padding: 40px; border-radius: 24px; border: 1px solid var(--border-default); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); color: var(--text-primary); }
|
|
538
|
+
.demo-card-elite h3 { margin: 0 0 12px; font-size: 22px; font-weight: 800; color: var(--text-emphasized); }
|
|
539
|
+
.demo-card-elite p { margin: 0 0 40px; font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
|
|
540
540
|
|
|
541
541
|
.card-header-icon { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; color: #10b981; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
|
|
542
542
|
|
|
@@ -544,22 +544,22 @@ export const initTooltipDemo = () => {
|
|
|
544
544
|
.demo-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
|
|
545
545
|
.demo-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
|
|
546
546
|
|
|
547
|
-
.demo-flex-wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; background:
|
|
547
|
+
.demo-flex-wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; background: var(--bg-primary); padding: 24px; border-radius: 16px; border: 1px dashed var(--border-default); }
|
|
548
548
|
|
|
549
549
|
.demo-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
|
|
550
|
-
.demo-item span { font-size: 11px; color:
|
|
550
|
+
.demo-item span { font-size: 11px; color:var(--text-secondary,#64748b); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
|
|
551
551
|
|
|
552
552
|
.demo-item-glass { background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%); padding: 48px; border-radius: 20px; display: flex; justify-content: center; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
|
|
553
553
|
|
|
554
|
-
.pg-field label { display: block; margin-bottom: 6px; font-weight: 800; color:
|
|
555
|
-
.pg-field select, .pg-field input:not([type="checkbox"]) { width: 100%; background:
|
|
554
|
+
.pg-field label { display: block; margin-bottom: 6px; font-weight: 800; color:var(--text-secondary,#64748b); text-transform: uppercase; font-size: 10px; letter-spacing: 0.05em; }
|
|
555
|
+
.pg-field select, .pg-field input:not([type="checkbox"]) { width: 100%; background: var(--bg-primary); border: 1px solid var(--border-default); color: var(--text-primary); padding: 10px; border-radius: 8px; font-size: 13px; outline:none; transition: border-color 0.2s; }
|
|
556
556
|
.pg-field select:focus, .pg-field input:focus { border-color: #06b6d4; }
|
|
557
557
|
|
|
558
558
|
.pg-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
|
559
|
-
.pg-check-grid label { display: flex; align-items: center; gap: 8px; cursor: pointer; color:
|
|
559
|
+
.pg-check-grid label { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text-primary); font-weight: 600; }
|
|
560
560
|
|
|
561
561
|
.pg-copy-btn { background: #10b981; border: none; color: white; padding: 8px 16px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
|
|
562
|
-
.pg-copy-btn:hover { background:
|
|
562
|
+
.pg-copy-btn:hover { background: var(--accent-green,#059669); transform: translateY(-1px); }
|
|
563
563
|
</style>
|
|
564
564
|
`;
|
|
565
565
|
|
|
@@ -572,8 +572,10 @@ export const initTooltipDemo = () => {
|
|
|
572
572
|
sections.forEach(s => {
|
|
573
573
|
if (s.id === `demo-${id}`) {
|
|
574
574
|
s.classList.add('active-section');
|
|
575
|
+
s.style.display = 'block';
|
|
575
576
|
} else {
|
|
576
577
|
s.classList.remove('active-section');
|
|
578
|
+
s.style.display = 'none';
|
|
577
579
|
}
|
|
578
580
|
});
|
|
579
581
|
|
|
@@ -681,8 +683,8 @@ export const initTooltipDemo = () => {
|
|
|
681
683
|
|
|
682
684
|
// Initial render
|
|
683
685
|
setTimeout(() => {
|
|
684
|
-
window.updatePg();
|
|
685
686
|
window.scrollToDemo('basic');
|
|
687
|
+
window.updatePg();
|
|
686
688
|
|
|
687
689
|
// Setup listeners
|
|
688
690
|
const pgContent = document.getElementById('pgContent');
|
|
@@ -706,10 +708,10 @@ export const initTooltipDemo = () => {
|
|
|
706
708
|
const pgShift = document.getElementById('pgShift');
|
|
707
709
|
|
|
708
710
|
if (pgContent) pgContent.addEventListener('inputChange', updatePg);
|
|
709
|
-
if (pgPos) pgPos.addEventListener('
|
|
710
|
-
if (pgVariant) pgVariant.addEventListener('
|
|
711
|
-
if (pgAnim) pgAnim.addEventListener('
|
|
712
|
-
if (pgShape) pgShape.addEventListener('
|
|
711
|
+
if (pgPos) pgPos.addEventListener('valueChange', updatePg);
|
|
712
|
+
if (pgVariant) pgVariant.addEventListener('valueChange', updatePg);
|
|
713
|
+
if (pgAnim) pgAnim.addEventListener('valueChange', updatePg);
|
|
714
|
+
if (pgShape) pgShape.addEventListener('valueChange', updatePg);
|
|
713
715
|
if (pgElevation) pgElevation.addEventListener('numberInputChange', updatePg);
|
|
714
716
|
if (pgOffset) pgOffset.addEventListener('numberInputChange', updatePg);
|
|
715
717
|
if (pgShowDelay) pgShowDelay.addEventListener('numberInputChange', updatePg);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Top Bar Demo
|
|
1
|
+
// Top Bar Demo
|
|
2
2
|
export function initTopBarDemo() {
|
|
3
3
|
const section = document.getElementById('top-bar');
|
|
4
4
|
if (!section) return;
|
|
@@ -8,10 +8,10 @@ export function initTopBarDemo() {
|
|
|
8
8
|
<p>Sticky top navigation bar with company branding, action icons, and user profile menu.</p>
|
|
9
9
|
|
|
10
10
|
<div class="demo-controls" style="margin: 20px 0; display: flex; gap: 10px; flex-wrap: wrap;">
|
|
11
|
-
<ui-button onclick="showTopBarPlayground()" label="🎮 Playground" style="background-color:
|
|
11
|
+
<ui-button onclick="showTopBarPlayground()" label="🎮 Playground" style="background-color:var(--accent-purple,#8b5cf6);" variant="outline"></ui-button>
|
|
12
12
|
<ui-button onclick="showBasicTopBar()" label="Basic" style="background-color: #10b981;" variant="outline"></ui-button>
|
|
13
13
|
<ui-button onclick="showTopBarWithActions()" label="With Actions" style="background-color: #10b981;" variant="outline"></ui-button>
|
|
14
|
-
<ui-button onclick="showTopBarThemes()" label="Themes" style="background-color:
|
|
14
|
+
<ui-button onclick="showTopBarThemes()" label="Themes" style="background-color:var(--accent-yellow,#f59e0b);" variant="outline"></ui-button>
|
|
15
15
|
</div>
|
|
16
16
|
|
|
17
17
|
<div id="topBarDemoContainer" style="margin-top: 20px;"></div>
|
|
@@ -34,7 +34,7 @@ export function initTopBarDemo() {
|
|
|
34
34
|
<h3>Basic Top Bar</h3>
|
|
35
35
|
<p>A sticky top bar with company branding and user profile menu.</p>
|
|
36
36
|
|
|
37
|
-
<div style="position: relative; background:
|
|
37
|
+
<div style="position: relative; background:var(--bg-secondary,#f9fafb); border: 2px solid #e5e7eb; border-radius: 8px; overflow: hidden;">
|
|
38
38
|
<ui-top-bar id="basicTopBar"
|
|
39
39
|
company-name="Acme Corp"
|
|
40
40
|
company-logo="🏢"
|
|
@@ -85,7 +85,7 @@ export function initTopBarDemo() {
|
|
|
85
85
|
<h3>Top Bar with Action Icons</h3>
|
|
86
86
|
<p>Includes action buttons with badges and a comprehensive user menu.</p>
|
|
87
87
|
|
|
88
|
-
<div style="position: relative; background:
|
|
88
|
+
<div style="position: relative; background:var(--bg-secondary,#f9fafb); border: 2px solid #e5e7eb; border-radius: 8px; overflow: hidden;">
|
|
89
89
|
<ui-top-bar id="actionsTopBar"
|
|
90
90
|
company-name="TechFlow"
|
|
91
91
|
company-logo="⚡"
|
|
@@ -97,7 +97,7 @@ export function initTopBarDemo() {
|
|
|
97
97
|
<div style="padding: 40px 24px; min-height: 200px;">
|
|
98
98
|
<h4 style="margin: 0 0 12px;">Application Dashboard</h4>
|
|
99
99
|
<p style="color: #6b7280; margin: 0 0 16px;">Click on notification or message icons to see badges. Hover over user profile for menu.</p>
|
|
100
|
-
<div id="actionLog" style="background:
|
|
100
|
+
<div id="actionLog" style="background:var(--bg-primary,white); padding: 12px; border-radius: 6px; border:1px solid var(--border-default,#e5e7eb); font-family: monospace; font-size: 12px; color: #6b7280; min-height: 60px;">
|
|
101
101
|
<div style="color: #9ca3af;">Click on action icons or menu items...</div>
|
|
102
102
|
</div>
|
|
103
103
|
</div>
|
|
@@ -42,8 +42,8 @@ export function initTransferListDemo() {
|
|
|
42
42
|
<p>Efficiently move and reorder items between lists with advanced modes and premium features.</p>
|
|
43
43
|
|
|
44
44
|
<div class="demo-controls" style="margin: 20px 0; display: flex; gap: 10px; flex-wrap: wrap;">
|
|
45
|
-
<ui-button onclick="window.showGodTierDemo()" label="🌌 God Tier"
|
|
46
|
-
<ui-button onclick="showTransferPlayground()" label="🎮 Playground"
|
|
45
|
+
<ui-button onclick="window.showGodTierDemo()" label="🌌 God Tier" variant="outline"></ui-button>
|
|
46
|
+
<ui-button onclick="showTransferPlayground()" label="🎮 Playground" variant="outline"></ui-button>
|
|
47
47
|
<ui-button onclick="showDragDemo()" label="Drag & Drop" variant="outline"></ui-button>
|
|
48
48
|
<ui-button onclick="showTreeDemo()" label="Tree Mode" variant="outline"></ui-button>
|
|
49
49
|
<ui-button onclick="showTableDemo()" label="Table Mode" variant="outline"></ui-button>
|
|
@@ -72,27 +72,25 @@ export function initTransferListDemo() {
|
|
|
72
72
|
border-color: #9ca3af;
|
|
73
73
|
}
|
|
74
74
|
.playground-btn {
|
|
75
|
-
background-color:
|
|
75
|
+
background-color:var(--accent-purple,#8b5cf6);
|
|
76
76
|
color: white;
|
|
77
|
-
border-color:
|
|
77
|
+
border-color:var(--accent-purple,#7c3aed);
|
|
78
78
|
}
|
|
79
79
|
.playground-btn:hover {
|
|
80
|
-
background-color:
|
|
80
|
+
background-color:var(--accent-purple,#7c3aed);
|
|
81
81
|
}
|
|
82
82
|
.premium-btn {
|
|
83
83
|
background-color: #ecfdf5;
|
|
84
|
-
color:
|
|
84
|
+
color:var(--accent-green,#047857);
|
|
85
85
|
border-color: #a7f3d0;
|
|
86
86
|
}
|
|
87
87
|
.premium-btn:hover {
|
|
88
|
-
background-color:
|
|
88
|
+
background-color: var(--accent-green-soft,#d1fae5);
|
|
89
89
|
border-color: #34d399;
|
|
90
90
|
}
|
|
91
91
|
.playground-settings {
|
|
92
|
-
background: #f9fafb;
|
|
93
92
|
padding: 20px;
|
|
94
93
|
border-radius: 8px;
|
|
95
|
-
border: 1px solid #e5e7eb;
|
|
96
94
|
margin-bottom: 20px;
|
|
97
95
|
}
|
|
98
96
|
.settings-grid {
|
|
@@ -108,13 +106,15 @@ export function initTransferListDemo() {
|
|
|
108
106
|
.setting-item label {
|
|
109
107
|
font-size: 13px;
|
|
110
108
|
font-weight: 600;
|
|
111
|
-
color: #374151;
|
|
109
|
+
color: var(--text-secondary, #374151);
|
|
112
110
|
}
|
|
113
111
|
.setting-item select, .setting-item input[type="text"], .setting-item input[type="number"] {
|
|
114
112
|
padding: 6px 10px;
|
|
115
|
-
border: 1px solid #d1d5db;
|
|
113
|
+
border: 1px solid var(--border-default, #d1d5db);
|
|
116
114
|
border-radius: 4px;
|
|
117
115
|
font-size: 14px;
|
|
116
|
+
background-color: var(--bg-primary, white);
|
|
117
|
+
color: var(--text-primary, black);
|
|
118
118
|
}
|
|
119
119
|
.setting-row {
|
|
120
120
|
display: flex;
|
|
@@ -135,7 +135,7 @@ export function initTransferListDemo() {
|
|
|
135
135
|
container.innerHTML = `
|
|
136
136
|
<div class="demo-block">
|
|
137
137
|
<h3>🎮 Interactive Playground</h3>
|
|
138
|
-
<p style="color: #6b7280; margin-bottom: 20px;">Toggle props and see the Transfer List in action.</p>
|
|
138
|
+
<p style="color: var(--text-secondary, #6b7280); margin-bottom: 20px;">Toggle props and see the Transfer List in action.</p>
|
|
139
139
|
|
|
140
140
|
<div class="playground-settings" style="background: var(--bg-secondary); border: 1px solid var(--border-default);">
|
|
141
141
|
<div class="settings-grid">
|
|
@@ -168,12 +168,12 @@ export function initTransferListDemo() {
|
|
|
168
168
|
</div>
|
|
169
169
|
</div>
|
|
170
170
|
|
|
171
|
-
<div id="playgroundPreview" style="
|
|
171
|
+
<div id="playgroundPreview" class="playground-preview" style="padding: 20px;">
|
|
172
172
|
<ui-transfer-list id="playground-component" icon-library="lucide"></ui-transfer-list>
|
|
173
173
|
</div>
|
|
174
174
|
|
|
175
|
-
<div id="pg-events" style="margin-top: 20px; padding: 15px; background: #f8fafc; border-radius: 6px; font-family: monospace; font-size: 12px; max-height: 150px; overflow: auto; border: 1px solid #e2e8f0;">
|
|
176
|
-
<div style="color: #64748b; margin-bottom: 5px;">Events Log:</div>
|
|
175
|
+
<div id="pg-events" style="margin-top: 20px; padding: 15px; background: var(--bg-secondary, #f8fafc); border-radius: 6px; font-family: monospace; font-size: 12px; max-height: 150px; overflow: auto; border: 1px solid var(--border-default, #e2e8f0); color: var(--text-primary);">
|
|
176
|
+
<div style="color: var(--text-secondary, #64748b); margin-bottom: 5px;">Events Log:</div>
|
|
177
177
|
<div id="pg-log-content"></div>
|
|
178
178
|
</div>
|
|
179
179
|
|
|
@@ -271,10 +271,10 @@ export function initTransferListDemo() {
|
|
|
271
271
|
} else {
|
|
272
272
|
el.sourceItems = pagination
|
|
273
273
|
? Array.from({ length: 30 }, (_, i) => ({
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
274
|
+
key: i,
|
|
275
|
+
label: `Item ${i + 1}`,
|
|
276
|
+
description: `Pageable item ${i + 1}`,
|
|
277
|
+
}))
|
|
278
278
|
: sourceItems;
|
|
279
279
|
el.targetItems = [];
|
|
280
280
|
}
|
|
@@ -479,7 +479,7 @@ export function initTransferListDemo() {
|
|
|
479
479
|
<div style="display: flex; align-items: center; width: 100%;">
|
|
480
480
|
<span style="font-size: 20px; margin-right: 8px;">${item.icon || 'file'}</span>
|
|
481
481
|
<div style="display: flex; flex-direction: column;">
|
|
482
|
-
<span style="font-weight: bold; color:
|
|
482
|
+
<span style="font-weight: bold; color:var(--text-primary,#111827);">${item.label}</span>
|
|
483
483
|
<span style="font-size: 11px; color: #6b7280; font-style: italic;">${item.description} (Key: ${item.key})</span>
|
|
484
484
|
</div>
|
|
485
485
|
</div>
|