atomicuilibrary 0.0.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/category-section.cjs.entry.js +2 -2
- package/dist/cjs/dom-BvBb0kmW.js +267 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +2 -2
- package/dist/cjs/{index-ClkOYpT8.js → index-C32cWsm5.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/library-card.cjs.entry.js +2 -2
- package/dist/cjs/lm-container_2.cjs.entry.js +2 -2
- package/dist/cjs/lm-panel_3.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-step.cjs.entry.js +2 -2
- package/dist/cjs/nav-bar.cjs.entry.js +4 -4
- package/dist/cjs/{security-E1JcwxGc.js → security-CNaNip8F.js} +88 -154
- package/dist/cjs/smart-step.cjs.entry.js +3 -3
- package/dist/cjs/timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/{ui-accordion_10.cjs.entry.js → ui-accordion_11.cjs.entry.js} +730 -61
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2 -2
- package/dist/cjs/ui-anchor.cjs.entry.js +2 -2
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ui-aside-panel.cjs.entry.js +11 -12
- package/dist/cjs/ui-avatar-group_5.cjs.entry.js +1694 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ui-callout-banner.cjs.entry.js +3 -3
- package/dist/cjs/ui-card.cjs.entry.js +28 -5
- package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ui-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ui-code-editor.cjs.entry.js +3 -3
- package/dist/cjs/ui-code-preview.cjs.entry.js +2 -2
- package/dist/cjs/ui-color-picker.cjs.entry.js +256 -22
- package/dist/cjs/ui-command-palette.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-box.cjs.entry.js +86 -12
- package/dist/cjs/ui-dialog-content.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +1 -1
- package/dist/cjs/ui-divider.cjs.entry.js +1 -1
- package/dist/cjs/ui-dock-host.cjs.entry.js +4 -4
- package/dist/cjs/ui-dock.cjs.entry.js +2 -2
- package/dist/cjs/ui-drag-drop.cjs.entry.js +2 -2
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +104 -34
- package/dist/cjs/ui-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab.cjs.entry.js +4 -4
- package/dist/cjs/ui-file-upload.cjs.entry.js +143 -44
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +2 -2
- package/dist/cjs/ui-knob.cjs.entry.js +1 -1
- package/dist/cjs/ui-label.cjs.entry.js +473 -0
- package/dist/cjs/ui-library.cjs.entry.js +2 -2
- package/dist/cjs/ui-list-group_2.cjs.entry.js +351 -58
- package/dist/cjs/ui-list.cjs.entry.js +76 -42
- package/dist/cjs/ui-masonry.cjs.entry.js +1 -1
- package/dist/cjs/ui-meter-group.cjs.entry.js +5 -4
- package/dist/cjs/ui-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ui-number-input.cjs.entry.js +7 -3
- package/dist/cjs/ui-otp-input.cjs.entry.js +5 -5
- package/dist/cjs/ui-pagination_3.cjs.entry.js +235 -504
- package/dist/cjs/ui-panel.cjs.entry.js +1 -1
- package/dist/cjs/ui-pattern-input.cjs.entry.js +46 -11
- package/dist/cjs/ui-progress.cjs.entry.js +164 -23
- package/dist/cjs/ui-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +2 -2
- package/dist/cjs/ui-scroll-top.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-speed-dial.cjs.entry.js +1 -1
- package/dist/cjs/ui-speedometer.cjs.entry.js +28 -17
- package/dist/cjs/ui-splitter.cjs.entry.js +1 -1
- package/dist/cjs/ui-step.cjs.entry.js +2 -2
- package/dist/cjs/ui-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-switch.cjs.entry.js +14 -13
- package/dist/cjs/ui-tabs.cjs.entry.js +3 -3
- package/dist/cjs/ui-tag.cjs.entry.js +58 -13
- package/dist/cjs/ui-timeline.cjs.entry.js +11 -3
- package/dist/cjs/ui-timer.cjs.entry.js +2 -2
- package/dist/cjs/ui-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-transfer-list.cjs.entry.js +7 -7
- package/dist/cjs/ui-tree.cjs.entry.js +30 -15
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +3 -3
- package/dist/collection/assets/js/component-config.js +1 -0
- package/dist/collection/assets/js/demo-loader.js +2 -1
- package/dist/collection/assets/js/demos/about-demo.js +13 -13
- package/dist/collection/assets/js/demos/accordion-demo.js +238 -49
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +315 -316
- package/dist/collection/assets/js/demos/anchor-demo.js +27 -28
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +12 -12
- package/dist/collection/assets/js/demos/aside-panel-demo.js +57 -57
- package/dist/collection/assets/js/demos/avatar-demo.js +433 -95
- package/dist/collection/assets/js/demos/badge-demo.js +51 -52
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +7 -7
- package/dist/collection/assets/js/demos/button-demo.js +175 -106
- package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
- package/dist/collection/assets/js/demos/callout-banner-demo.js +332 -42
- package/dist/collection/assets/js/demos/card-demo.js +122 -74
- package/dist/collection/assets/js/demos/carousel-demo.js +632 -360
- package/dist/collection/assets/js/demos/checkbox-demo.js +124 -7
- package/dist/collection/assets/js/demos/color-picker-demo.js +394 -100
- package/dist/collection/assets/js/demos/command-palette-demo.js +182 -65
- package/dist/collection/assets/js/demos/complex-form-demo.js +5 -5
- package/dist/collection/assets/js/demos/context-menu-demo.js +476 -55
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +3 -3
- package/dist/collection/assets/js/demos/dialog-demo.js +336 -230
- package/dist/collection/assets/js/demos/divider-demo.js +59 -62
- package/dist/collection/assets/js/demos/dock-demo.js +92 -72
- package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
- package/dist/collection/assets/js/demos/documentation-demo.js +227 -22
- package/dist/collection/assets/js/demos/drag-drop-demo.js +2 -2
- package/dist/collection/assets/js/demos/dropdown-demo.js +140 -136
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +2 -2
- package/dist/collection/assets/js/demos/empty-state-demo.js +304 -88
- package/dist/collection/assets/js/demos/fab-demo.js +95 -11
- package/dist/collection/assets/js/demos/file-upload-demo.js +641 -171
- package/dist/collection/assets/js/demos/home-components.js +2 -2
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +6 -6
- package/dist/collection/assets/js/demos/icon-demo.js +17 -17
- package/dist/collection/assets/js/demos/input-demo.js +147 -143
- package/dist/collection/assets/js/demos/knob-demo.js +29 -30
- package/dist/collection/assets/js/demos/label-demo.js +697 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +55 -55
- package/dist/collection/assets/js/demos/list-demo.js +226 -140
- package/dist/collection/assets/js/demos/loader-demo.js +48 -48
- package/dist/collection/assets/js/demos/masonry-demo.js +592 -0
- package/dist/collection/assets/js/demos/meter-group-demo.js +14 -16
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +25 -25
- package/dist/collection/assets/js/demos/my-profile-demo.js +27 -27
- package/dist/collection/assets/js/demos/nav-bar-demo.js +1 -1
- package/dist/collection/assets/js/demos/number-input-demo.js +262 -211
- package/dist/collection/assets/js/demos/pagination-demo.js +29 -29
- package/dist/collection/assets/js/demos/panel-demo.js +18 -25
- package/dist/collection/assets/js/demos/pattern-input-demo.js +278 -40
- package/dist/collection/assets/js/demos/popover-demo.js +240 -149
- package/dist/collection/assets/js/demos/progress-demo.js +768 -61
- package/dist/collection/assets/js/demos/radio-demo.js +73 -12
- package/dist/collection/assets/js/demos/range-slider-demo.js +33 -33
- package/dist/collection/assets/js/demos/rating-demo.js +19 -19
- package/dist/collection/assets/js/demos/scroll-top-demo.js +8 -9
- package/dist/collection/assets/js/demos/skeleton-demo.js +110 -52
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +2 -2
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +12 -12
- package/dist/collection/assets/js/demos/smart-menu-demo.js +17 -17
- package/dist/collection/assets/js/demos/snackbar-demo.js +53 -53
- package/dist/collection/assets/js/demos/speed-dial-demo.js +14 -14
- package/dist/collection/assets/js/demos/speedometer-demo.js +40 -32
- package/dist/collection/assets/js/demos/split-button-demo.js +2 -2
- package/dist/collection/assets/js/demos/splitter-demo.js +137 -0
- package/dist/collection/assets/js/demos/stack-demo.js +27 -27
- package/dist/collection/assets/js/demos/stepper-demo.js +49 -49
- package/dist/collection/assets/js/demos/switch-demo.js +561 -125
- package/dist/collection/assets/js/demos/tabs-demo.js +22 -22
- package/dist/collection/assets/js/demos/tag-demo.js +110 -80
- package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
- package/dist/collection/assets/js/demos/timeline-demo.js +27 -14
- package/dist/collection/assets/js/demos/timeline-playground.js +2 -2
- package/dist/collection/assets/js/demos/timer-demo.js +10 -10
- package/dist/collection/assets/js/demos/toolbar-demo.js +17 -17
- package/dist/collection/assets/js/demos/tooltip-demo.js +116 -114
- package/dist/collection/assets/js/demos/top-bar-demo.js +6 -6
- package/dist/collection/assets/js/demos/transfer-list-demo.js +20 -20
- package/dist/collection/assets/js/demos/tree-demo.js +72 -70
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
- package/dist/collection/collection-manifest.json +2 -6
- package/dist/collection/components/accordion/accordion.css +576 -9
- package/dist/collection/components/accordion/accordion.js +47 -14
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +24 -10
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
- package/dist/collection/components/anchor/anchor.css +0 -1
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
- package/dist/collection/components/aside-panel/aside-panel.css +3 -5
- package/dist/collection/components/aside-panel/aside-panel.js +12 -13
- package/dist/collection/components/avatar/avatar.css +6 -6
- package/dist/collection/components/avatar/avatar.js +64 -12
- package/dist/collection/components/badge/badge.css +28 -17
- package/dist/collection/components/badge/badge.js +7 -4
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/button/button.css +132 -0
- package/dist/collection/components/button/button.js +130 -11
- package/dist/collection/components/button-toggle/button-toggle.js +2 -2
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +161 -14
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +2 -2
- package/dist/collection/components/callout-banner/callout-banner.css +75 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1 -1
- package/dist/collection/components/card/card.css +304 -40
- package/dist/collection/components/card/card.js +48 -4
- package/dist/collection/components/checkbox/checkbox.css +8 -10
- package/dist/collection/components/checkbox/checkbox.js +5 -5
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +110 -6
- package/dist/collection/components/color-picker/color-picker.js +302 -26
- package/dist/collection/components/context-menu/context-menu.css +8 -8
- package/dist/collection/components/dialog-box/dialog-box.js +117 -15
- package/dist/collection/components/dialog-header/dialog-header.js +2 -2
- package/dist/collection/components/dock/dock.css +116 -3
- package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
- package/dist/collection/components/drag-drop/drag-drop.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +101 -8
- package/dist/collection/components/dropdown/dropdown.js +94 -28
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/fab/fab.css +87 -15
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab-item/fab-item.js +1 -1
- package/dist/collection/components/file-upload/file-upload.css +1362 -31
- package/dist/collection/components/file-upload/file-upload.js +171 -50
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +9 -9
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.css +9 -0
- package/dist/collection/components/input/input.js +21 -10
- package/dist/collection/components/label/label.css +583 -0
- package/dist/collection/components/label/label.js +1669 -0
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
- package/dist/collection/components/library/category-section.js +1 -1
- package/dist/collection/components/library/library-card.js +1 -1
- package/dist/collection/components/library/library.js +1 -1
- package/dist/collection/components/list/list.css +46 -5
- package/dist/collection/components/list/list.js +76 -42
- package/dist/collection/components/list-group/list-group.css +0 -2
- package/dist/collection/components/list-group/list-group.js +11 -5
- package/dist/collection/components/list-item/list-item.css +427 -131
- package/dist/collection/components/list-item/list-item.js +373 -58
- package/dist/collection/components/loader/loader.css +1635 -0
- package/dist/collection/components/loader/loader.js +1120 -0
- package/dist/collection/components/meter-group/meter-group.css +5 -0
- package/dist/collection/components/meter-group/meter-group.js +3 -2
- package/dist/collection/components/my-step/my-step.js +1 -1
- package/dist/collection/components/nav-bar/nav-bar.css +4 -4
- package/dist/collection/components/nav-bar/nav-bar.js +6 -6
- package/dist/collection/components/number-input/number-input.js +6 -2
- package/dist/collection/components/otp-input/otp-input.css +10 -0
- package/dist/collection/components/otp-input/otp-input.js +3 -3
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pattern-input/pattern-input.css +0 -1
- package/dist/collection/components/pattern-input/pattern-input.js +44 -9
- package/dist/collection/components/popover/popover.css +35 -7
- package/dist/collection/components/popover/popover.js +64 -9
- package/dist/collection/components/progress/progress.css +307 -28
- package/dist/collection/components/progress/progress.js +244 -24
- package/dist/collection/components/radio/radio.css +5 -3
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/range-slider/range-slider.css +284 -31
- package/dist/collection/components/range-slider/range-slider.js +5 -5
- package/dist/collection/components/rating/rating.css +151 -65
- package/dist/collection/components/rating/rating.js +31 -13
- package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
- package/dist/collection/components/skeleton/skeleton-loader.css +144 -44
- package/dist/collection/components/skeleton/skeleton-loader.js +11 -7
- package/dist/collection/components/smart-stepper/smart-step.js +2 -2
- package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
- package/dist/collection/components/snackbar/snackbar.js +1 -1
- package/dist/collection/components/speed-dial/speed-dial.js +1 -1
- package/dist/collection/components/speedometer/speedometer.css +26 -6
- package/dist/collection/components/speedometer/speedometer.js +26 -15
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/switch/switch.css +367 -8
- package/dist/collection/components/switch/switch.js +14 -13
- package/dist/collection/components/tag/tag.css +38 -12
- package/dist/collection/components/tag/tag.js +58 -13
- package/dist/collection/components/tag-group/tag-group.css +0 -1
- package/dist/collection/components/tag-group/tag-group.js +3 -3
- package/dist/collection/components/timeline/timeline.css +380 -317
- package/dist/collection/components/timeline/timeline.js +8 -0
- package/dist/collection/components/timeline-item/timeline-item.js +1 -1
- package/dist/collection/components/timer/timer.js +1 -1
- package/dist/collection/components/toggle-group/toggle-group.css +7 -3
- package/dist/collection/components/toggle-group/toggle-group.js +7 -3
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/top-bar/top-bar.js +2 -2
- package/dist/collection/components/transfer-list/transfer-list.css +13 -13
- package/dist/collection/components/transfer-list/transfer-list.js +4 -4
- package/dist/collection/components/tree/tree.css +35 -21
- package/dist/collection/components/tree/tree.js +28 -13
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +53 -20
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +48 -13
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +7 -7
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
- package/dist/collection/components.js +1 -0
- package/dist/collection/utils/dom.js +151 -151
- package/dist/components/avatar-group.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-toggle.js +1 -1
- package/dist/components/button.js +1 -0
- package/dist/components/category-section2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/library-card2.js +1 -1
- package/dist/components/list-group.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/lm-container2.js +1 -1
- package/dist/components/lm-floating-window2.js +1 -1
- package/dist/components/lm-panel2.js +1 -1
- package/dist/components/lm-splitter2.js +1 -1
- package/dist/components/lm-tabs2.js +1 -1
- package/dist/components/loader.js +1 -0
- package/dist/components/my-step.js +1 -1
- package/dist/components/nav-bar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.js +1 -0
- package/dist/components/radio.js +1 -1
- package/dist/components/range-slider.js +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/resizable-panel.js +1 -1
- package/dist/components/skeleton-loader.js +1 -1
- package/dist/components/smart-step.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag-group.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/timeline-item.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/ui-accordion.js +1 -1
- package/dist/components/ui-advanced-data-table.js +1 -1
- package/dist/components/ui-anchor.js +1 -1
- package/dist/components/ui-animate-on-scroll.js +1 -1
- package/dist/components/ui-aside-panel.js +1 -1
- package/dist/components/ui-badge.js +1 -1
- package/dist/components/ui-breadcrumb-item.js +1 -1
- package/dist/components/ui-breadcrumb.js +1 -1
- package/dist/components/ui-button-toggle-group.js +1 -1
- package/dist/components/ui-button.js +1 -1
- package/dist/components/ui-callout-banner.js +1 -1
- package/dist/components/ui-card.js +1 -1
- package/dist/components/ui-carousel.js +1 -1
- package/dist/components/ui-code-editor.js +1 -1
- package/dist/components/ui-code-preview.js +1 -1
- package/dist/components/ui-color-picker.js +1 -1
- package/dist/components/ui-command-palette.js +1 -1
- package/dist/components/ui-dialog-box.js +1 -1
- package/dist/components/ui-divider.js +1 -1
- package/dist/components/ui-dock-host.js +1 -1
- package/dist/components/ui-dock.js +1 -1
- package/dist/components/ui-drag-drop.js +1 -1
- package/dist/components/ui-empty-state.js +1 -1
- package/dist/components/ui-fab-item.js +1 -1
- package/dist/components/ui-fab.js +1 -1
- package/dist/components/ui-file-upload.js +1 -1
- package/dist/components/ui-horizontal-nav.js +1 -1
- package/dist/components/ui-knob.js +1 -1
- package/dist/components/{ui-input-pair.d.ts → ui-label.d.ts} +4 -4
- package/dist/components/ui-label.js +1 -0
- package/dist/components/ui-library.js +1 -1
- package/dist/components/ui-list.js +1 -1
- package/dist/components/{ui-radio-group.d.ts → ui-loader.d.ts} +4 -4
- package/dist/components/ui-loader.js +1 -0
- package/dist/components/ui-masonry.js +1 -1
- package/dist/components/ui-meter-group.js +1 -1
- package/dist/components/ui-navigation-bar.js +1 -1
- package/dist/components/ui-navigation-item.js +1 -1
- package/dist/components/ui-number-input.js +1 -1
- package/dist/components/ui-otp-input.js +1 -1
- package/dist/components/ui-panel.js +1 -1
- package/dist/components/ui-pattern-input.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-scroll-top.js +1 -1
- package/dist/components/ui-smart-context-menu.js +1 -1
- package/dist/components/ui-smart-stepper.js +1 -1
- package/dist/components/ui-snackbar.js +1 -1
- package/dist/components/ui-speed-dial.js +1 -1
- package/dist/components/ui-speedometer.js +1 -1
- package/dist/components/ui-splitter.js +1 -1
- package/dist/components/ui-step.js +1 -1
- package/dist/components/ui-stepper.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-timeline.js +1 -1
- package/dist/components/ui-timer.js +1 -1
- package/dist/components/ui-toolbar.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-transfer-list.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/components/ui-workspace-manager.js +1 -1
- package/dist/esm/category-section.entry.js +2 -2
- package/dist/esm/dom-DFBTWhGw.js +262 -0
- package/dist/esm/exploration-project-tailwind.js +3 -3
- package/dist/esm/{index-DUsoYu9r.js → index-Dqu2zaH1.js} +1 -1
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/library-card.entry.js +2 -2
- package/dist/esm/lm-container_2.entry.js +2 -2
- package/dist/esm/lm-panel_3.entry.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-step.entry.js +2 -2
- package/dist/esm/nav-bar.entry.js +4 -4
- package/dist/esm/{security-D2WzX6vR.js → security-Dyu3Nplq.js} +88 -154
- package/dist/esm/smart-step.entry.js +3 -3
- package/dist/esm/timeline-item.entry.js +2 -2
- package/dist/esm/{ui-accordion_10.entry.js → ui-accordion_11.entry.js} +730 -62
- package/dist/esm/ui-advanced-data-table.entry.js +2 -2
- package/dist/esm/ui-anchor.entry.js +2 -2
- package/dist/esm/ui-animate-on-scroll.entry.js +3 -3
- package/dist/esm/ui-aside-panel.entry.js +11 -12
- package/dist/esm/ui-avatar-group_5.entry.js +1688 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +3 -3
- package/dist/esm/ui-breadcrumb.entry.js +1 -1
- package/dist/esm/ui-callout-banner.entry.js +3 -3
- package/dist/esm/ui-card.entry.js +28 -5
- package/dist/esm/ui-carousel.entry.js +1 -1
- package/dist/esm/ui-checkbox.entry.js +5 -5
- package/dist/esm/ui-code-editor.entry.js +3 -3
- package/dist/esm/ui-code-preview.entry.js +2 -2
- package/dist/esm/ui-color-picker.entry.js +256 -22
- package/dist/esm/ui-command-palette.entry.js +1 -1
- package/dist/esm/ui-dialog-box.entry.js +86 -12
- package/dist/esm/ui-dialog-content.entry.js +1 -1
- package/dist/esm/ui-dialog-footer_2.entry.js +1 -1
- package/dist/esm/ui-divider.entry.js +1 -1
- package/dist/esm/ui-dock-host.entry.js +4 -4
- package/dist/esm/ui-dock.entry.js +2 -2
- package/dist/esm/ui-drag-drop.entry.js +2 -2
- package/dist/esm/ui-dropdown_2.entry.js +104 -34
- package/dist/esm/ui-empty-state.entry.js +2 -2
- package/dist/esm/ui-fab-item.entry.js +2 -2
- package/dist/esm/ui-fab.entry.js +4 -4
- package/dist/esm/ui-file-upload.entry.js +143 -44
- package/dist/esm/ui-horizontal-nav.entry.js +2 -2
- package/dist/esm/ui-knob.entry.js +1 -1
- package/dist/esm/ui-label.entry.js +471 -0
- package/dist/esm/ui-library.entry.js +2 -2
- package/dist/esm/ui-list-group_2.entry.js +351 -58
- package/dist/esm/ui-list.entry.js +76 -42
- package/dist/esm/ui-masonry.entry.js +1 -1
- package/dist/esm/ui-meter-group.entry.js +5 -4
- package/dist/esm/ui-navigation-item.entry.js +5 -5
- package/dist/esm/ui-number-input.entry.js +7 -3
- package/dist/esm/ui-otp-input.entry.js +5 -5
- package/dist/esm/ui-pagination_3.entry.js +235 -504
- package/dist/esm/ui-panel.entry.js +1 -1
- package/dist/esm/ui-pattern-input.entry.js +46 -11
- package/dist/esm/ui-progress.entry.js +164 -23
- package/dist/esm/ui-range-slider.entry.js +2 -2
- package/dist/esm/ui-resizable-panel.entry.js +2 -2
- package/dist/esm/ui-scroll-top.entry.js +1 -1
- package/dist/esm/ui-smart-context-menu.entry.js +1 -1
- package/dist/esm/ui-smart-stepper.entry.js +2 -2
- package/dist/esm/ui-snackbar.entry.js +2 -2
- package/dist/esm/ui-speed-dial.entry.js +1 -1
- package/dist/esm/ui-speedometer.entry.js +28 -17
- package/dist/esm/ui-splitter.entry.js +1 -1
- package/dist/esm/ui-step.entry.js +2 -2
- package/dist/esm/ui-stepper.entry.js +2 -2
- package/dist/esm/ui-switch.entry.js +14 -13
- package/dist/esm/ui-tabs.entry.js +3 -3
- package/dist/esm/ui-tag.entry.js +58 -13
- package/dist/esm/ui-timeline.entry.js +11 -3
- package/dist/esm/ui-timer.entry.js +2 -2
- package/dist/esm/ui-toolbar.entry.js +2 -2
- package/dist/esm/ui-tooltip.entry.js +5 -5
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-transfer-list.entry.js +7 -7
- package/dist/esm/ui-tree.entry.js +30 -15
- package/dist/esm/ui-workspace-manager.entry.js +3 -3
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -1
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
- package/dist/exploration-project-tailwind/{p-f5719913.entry.js → p-024a299a.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-0a71896a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-35296877.entry.js → p-0cdeb8d8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a42fdc33.entry.js → p-139cefbc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c7e87fbb.entry.js → p-198c83e5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-236f47b1.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-81961fb1.entry.js → p-25530d0d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-41cd6bf0.entry.js → p-298f2057.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85e36111.entry.js → p-2b5a8e3e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-2b6aa7bc.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-7515b1e3.entry.js → p-2cfba753.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c90722ec.entry.js → p-2fe22958.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85bf89fd.entry.js → p-3012e780.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-321c3f46.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-3d3d48fd.entry.js → p-3ab43638.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-3ad7e47e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3b1ca826.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3ee8ddae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-4f6bba75.entry.js → p-3efb44c8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-36861546.entry.js → p-42e3bc28.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4360331a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-2f961934.entry.js → p-443de32b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-898dd0fa.entry.js → p-44d15451.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e5322e59.entry.js → p-46071679.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a3f465d9.entry.js → p-497d6182.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4ad8c55c.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-73d29a4a.entry.js → p-4c46ac0b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-f0830120.entry.js → p-5042ddaa.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-60190e0e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-60530874.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-200241f8.entry.js → p-6108565d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77124686.entry.js → p-62889cfe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-9d0c8760.entry.js → p-66f71613.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-2d273118.entry.js → p-67c440b2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d419eaf0.entry.js → p-6f09503f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-721bdbc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-747b02ea.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c6fd72e1.entry.js → p-754cb046.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ffb1754a.entry.js → p-7ed3bba2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77cc333a.entry.js → p-864cebb7.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4d73c143.entry.js → p-96ee3196.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c5ddc817.entry.js → p-97086868.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-287dbf09.entry.js → p-9c5ced88.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9d3044d4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9e079be6.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-0b004861.entry.js → p-9e4c45f5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9eee7394.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-DFBTWhGw.js +1 -0
- package/dist/exploration-project-tailwind/p-Dqu2zaH1.js +2 -0
- package/dist/exploration-project-tailwind/p-Dyu3Nplq.js +2 -0
- package/dist/exploration-project-tailwind/p-a7bdedc2.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c87aeab6.entry.js → p-a8ec29de.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c174a372.entry.js → p-ae617f62.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-62352ef2.entry.js → p-aef76052.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-b5f043fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-b637b91b.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8d951aef.entry.js → p-bc49a088.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4de419d5.entry.js → p-bd9a631f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8ba0c95.entry.js → p-bf4b6767.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c0fa400e.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-5e3e80ae.entry.js → p-c4f3d990.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c68ddb2f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c79574c4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c840098d.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-a1ad32a2.entry.js → p-c8663cbe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7f91d949.entry.js → p-cb6e38a6.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-cb9f2df1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cfe8b696.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d00e13ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c4ba7e52.entry.js → p-d01ed934.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-aa85ff78.entry.js → p-d4e57d94.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ccb5c737.entry.js → p-d5bd3a3f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-45482d86.entry.js → p-d987cebe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-d9ae77c0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e9bae5c7.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f516fabc.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f68e2794.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d30e24bd.entry.js → p-fa034f69.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +10 -2
- package/dist/types/components/aside-panel/aside-panel.d.ts +0 -3
- package/dist/types/components/avatar/avatar.d.ts +3 -0
- package/dist/types/components/avatar/types.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +9 -0
- package/dist/types/components/card/card.d.ts +4 -0
- package/dist/types/components/color-picker/color-picker.d.ts +35 -2
- package/dist/types/components/dialog-box/dialog-box.d.ts +10 -0
- package/dist/types/components/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/file-upload/file-upload.d.ts +23 -6
- package/dist/types/components/label/label.d.ts +290 -0
- package/dist/types/components/label/types.d.ts +39 -0
- package/dist/types/components/list/list.d.ts +2 -1
- package/dist/types/components/list-group/list-group.d.ts +1 -0
- package/dist/types/components/list-item/list-item.d.ts +46 -17
- package/dist/types/components/loader/loader.d.ts +145 -0
- package/dist/types/components/pattern-input/pattern-input.d.ts +6 -0
- package/dist/types/components/popover/popover.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +41 -2
- package/dist/types/components/range-slider/range-slider.d.ts +2 -2
- package/dist/types/components/rating/rating.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +1 -1
- package/dist/types/components/speedometer/speedometer.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +4 -0
- package/dist/types/components/tree/tree.d.ts +1 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +1 -1
- package/dist/types/components.d.ts +1214 -1381
- package/dist/types/types/common.d.ts +2 -2
- package/dist/types/types/common.type.d.ts +3 -1
- package/dist/types/utils/dom.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cjs/dom-oP1E4Rd3.js +0 -267
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +0 -330
- package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
- package/dist/cjs/ui-image-button.cjs.entry.js +0 -67
- package/dist/cjs/ui-input-pair.cjs.entry.js +0 -44
- package/dist/cjs/ui-popover.cjs.entry.js +0 -517
- package/dist/cjs/ui-radio-group.cjs.entry.js +0 -205
- package/dist/cjs/ui-radio.cjs.entry.js +0 -206
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -223
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -1001
- package/dist/collection/components/color-controller/color-controller.css +0 -108
- package/dist/collection/components/color-controller/color-controller.js +0 -224
- package/dist/collection/components/image-button/image-button.css +0 -154
- package/dist/collection/components/image-button/image-button.js +0 -310
- package/dist/collection/components/image-button/types.js +0 -1
- package/dist/collection/components/input-pair/input-pair.css +0 -72
- package/dist/collection/components/input-pair/input-pair.js +0 -309
- package/dist/collection/components/radio-group/radio-group.css +0 -202
- package/dist/collection/components/radio-group/radio-group.js +0 -903
- package/dist/collection/components/radio-group/types.js +0 -1
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +0 -357
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
- package/dist/collection/components/smart-location-dropdown/types.js +0 -1
- package/dist/components/ui-checkbox-group.d.ts +0 -11
- package/dist/components/ui-checkbox-group.js +0 -1
- package/dist/components/ui-color-controller.d.ts +0 -11
- package/dist/components/ui-color-controller.js +0 -1
- package/dist/components/ui-image-button.d.ts +0 -11
- package/dist/components/ui-image-button.js +0 -1
- package/dist/components/ui-input-pair.js +0 -1
- package/dist/components/ui-radio-group.js +0 -1
- package/dist/components/ui-smart-location-dropdown.d.ts +0 -11
- package/dist/components/ui-smart-location-dropdown.js +0 -1
- package/dist/esm/dom-BMFah5q3.js +0 -262
- package/dist/esm/ui-avatar-group_3.entry.js +0 -630
- package/dist/esm/ui-checkbox-group.entry.js +0 -328
- package/dist/esm/ui-color-controller.entry.js +0 -148
- package/dist/esm/ui-image-button.entry.js +0 -65
- package/dist/esm/ui-input-pair.entry.js +0 -42
- package/dist/esm/ui-popover.entry.js +0 -515
- package/dist/esm/ui-radio-group.entry.js +0 -203
- package/dist/esm/ui-radio.entry.js +0 -204
- package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-64e3a484.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-875be805.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fa70359.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +0 -1
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +0 -2
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +0 -1
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -87
- package/dist/types/components/checkbox-group/types.d.ts +0 -8
- package/dist/types/components/color-controller/color-controller.d.ts +0 -24
- package/dist/types/components/image-button/image-button.d.ts +0 -31
- package/dist/types/components/image-button/types.d.ts +0 -1
- package/dist/types/components/input-pair/input-pair.d.ts +0 -28
- package/dist/types/components/radio-group/radio-group.d.ts +0 -74
- package/dist/types/components/radio-group/types.d.ts +0 -2
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +0 -119
- package/dist/types/components/smart-location-dropdown/types.d.ts +0 -37
- /package/dist/collection/components/{checkbox-group → label}/types.js +0 -0
|
@@ -1,16 +1,437 @@
|
|
|
1
|
-
// Component Demo Functions
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
// Component Demo Functions
|
|
2
|
+
const basicMenuItems = [
|
|
3
|
+
{ id: 'cut', label: 'Cut', icon: 'scissors' },
|
|
4
|
+
{ id: 'copy', label: 'Copy', icon: 'copy' },
|
|
5
|
+
{ id: 'paste', label: 'Paste', icon: 'clipboard' },
|
|
6
|
+
{ id: 'sep1', separator: true },
|
|
7
|
+
{
|
|
8
|
+
id: 'more',
|
|
9
|
+
label: 'More Options',
|
|
10
|
+
icon: 'more-horizontal',
|
|
11
|
+
children: [
|
|
12
|
+
{ id: 'select-all', label: 'Select All', icon: 'check-square' },
|
|
13
|
+
{ id: 'sep2', separator: true },
|
|
14
|
+
{
|
|
15
|
+
id: 'format',
|
|
16
|
+
label: 'Format',
|
|
17
|
+
icon: 'palette',
|
|
18
|
+
children: [
|
|
19
|
+
{ id: 'bold', label: 'Bold', icon: 'bold' },
|
|
20
|
+
{ id: 'italic', label: 'Italic', icon: 'italic' },
|
|
21
|
+
{ id: 'underline', label: 'Underline', icon: 'underline' },
|
|
22
|
+
{ id: 'sep3', separator: true },
|
|
23
|
+
{
|
|
24
|
+
id: 'color',
|
|
25
|
+
label: 'Text Color',
|
|
26
|
+
icon: 'droplet',
|
|
27
|
+
children: [
|
|
28
|
+
{ id: 'red', label: 'Red', icon: 'circle' },
|
|
29
|
+
{ id: 'green', label: 'Green', icon: 'circle' },
|
|
30
|
+
{ id: 'blue', label: 'Blue', icon: 'circle' }
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
id: 'share',
|
|
37
|
+
label: 'Share',
|
|
38
|
+
icon: 'share-2',
|
|
39
|
+
children: [
|
|
40
|
+
{ id: 'email', label: 'Email', icon: 'mail' },
|
|
41
|
+
{ id: 'link', label: 'Copy Link', icon: 'link' }
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{ id: 'sep4', separator: true },
|
|
47
|
+
{ id: 'delete', label: 'Delete', icon: 'trash-2' }
|
|
48
|
+
];
|
|
49
|
+
|
|
50
|
+
const nestedMenuItems = [
|
|
51
|
+
{
|
|
52
|
+
id: 'new',
|
|
53
|
+
label: 'New',
|
|
54
|
+
icon: 'plus',
|
|
55
|
+
children: [
|
|
56
|
+
{ id: 'file', label: 'File', icon: 'file' },
|
|
57
|
+
{ id: 'folder', label: 'Folder', icon: 'folder' },
|
|
58
|
+
{ id: 'sep1', separator: true },
|
|
59
|
+
{
|
|
60
|
+
id: 'more',
|
|
61
|
+
label: 'More Options',
|
|
62
|
+
icon: 'more-horizontal',
|
|
63
|
+
children: [
|
|
64
|
+
{ id: 'text', label: 'Text Document', icon: 'file-text' },
|
|
65
|
+
{ id: 'image', label: 'Image', icon: 'image' },
|
|
66
|
+
{ id: 'video', label: 'Video', icon: 'video' }
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
id: 'open',
|
|
73
|
+
label: 'Open With',
|
|
74
|
+
icon: 'folder-open',
|
|
75
|
+
children: [
|
|
76
|
+
{ id: 'notepad', label: 'Notepad', icon: 'file-text' },
|
|
77
|
+
{ id: 'vscode', label: 'VS Code', icon: 'code' },
|
|
78
|
+
{ id: 'browser', label: 'Browser', icon: 'globe' }
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{ id: 'sep2', separator: true },
|
|
82
|
+
{
|
|
83
|
+
id: 'share',
|
|
84
|
+
label: 'Share',
|
|
85
|
+
icon: 'share-2',
|
|
86
|
+
children: [
|
|
87
|
+
{ id: 'email', label: 'Email', icon: 'mail' },
|
|
88
|
+
{ id: 'link', label: 'Copy Link', icon: 'link' },
|
|
89
|
+
{
|
|
90
|
+
id: 'social',
|
|
91
|
+
label: 'Social Media',
|
|
92
|
+
icon: 'smartphone',
|
|
93
|
+
children: [
|
|
94
|
+
{ id: 'twitter', label: 'Twitter', icon: 'twitter' },
|
|
95
|
+
{ id: 'facebook', label: 'Facebook', icon: 'facebook' }
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
];
|
|
101
|
+
|
|
102
|
+
const iconMenuItems = [
|
|
103
|
+
{
|
|
104
|
+
id: 'format',
|
|
105
|
+
label: 'Format',
|
|
106
|
+
icon: 'palette',
|
|
107
|
+
children: [
|
|
108
|
+
{ id: 'bold', label: 'Bold', icon: 'bold' },
|
|
109
|
+
{ id: 'italic', label: 'Italic', icon: 'italic' },
|
|
110
|
+
{ id: 'underline', label: 'Underline', icon: 'underline' }
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: 'align',
|
|
115
|
+
label: 'Alignment',
|
|
116
|
+
icon: 'align-justify',
|
|
117
|
+
children: [
|
|
118
|
+
{ id: 'left', label: 'Left', icon: 'align-left' },
|
|
119
|
+
{ id: 'center', label: 'Center', icon: 'align-center' },
|
|
120
|
+
{ id: 'right', label: 'Right', icon: 'align-right' },
|
|
121
|
+
{ id: 'justify', label: 'Justify', icon: 'align-justify' }
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{ id: 'sep1', separator: true },
|
|
125
|
+
{
|
|
126
|
+
id: 'insert',
|
|
127
|
+
label: 'Insert',
|
|
128
|
+
icon: 'plus-circle',
|
|
129
|
+
children: [
|
|
130
|
+
{ id: 'image', label: 'Image', icon: 'image' },
|
|
131
|
+
{ id: 'table', label: 'Table', icon: 'table' },
|
|
132
|
+
{ id: 'link', label: 'Link', icon: 'link' },
|
|
133
|
+
{ id: 'emoji', label: 'Emoji', icon: 'smile' }
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
];
|
|
137
|
+
|
|
138
|
+
const fourLevelMenuItems = [
|
|
139
|
+
{
|
|
140
|
+
id: 'level-1',
|
|
141
|
+
label: 'Level 1',
|
|
142
|
+
icon: 'layers',
|
|
143
|
+
children: [
|
|
144
|
+
{
|
|
145
|
+
id: 'level-2',
|
|
146
|
+
label: 'Level 2',
|
|
147
|
+
icon: 'layers',
|
|
148
|
+
children: [
|
|
149
|
+
{
|
|
150
|
+
id: 'level-3',
|
|
151
|
+
label: 'Level 3',
|
|
152
|
+
icon: 'layers',
|
|
153
|
+
children: [
|
|
154
|
+
{ id: 'level-4-a', label: 'Level 4 - A', icon: 'type' },
|
|
155
|
+
{ id: 'level-4-b', label: 'Level 4 - B', icon: 'bold' },
|
|
156
|
+
{ id: 'level-4-c', label: 'Level 4 - C', icon: 'case-sensitive' }
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{ id: 'sep1', separator: true },
|
|
164
|
+
{
|
|
165
|
+
id: 'tools',
|
|
166
|
+
label: 'Tools',
|
|
167
|
+
icon: 'tool',
|
|
168
|
+
children: [
|
|
169
|
+
{
|
|
170
|
+
id: 'format',
|
|
171
|
+
label: 'Format',
|
|
172
|
+
icon: 'palette',
|
|
173
|
+
children: [
|
|
174
|
+
{
|
|
175
|
+
id: 'colors',
|
|
176
|
+
label: 'Colors',
|
|
177
|
+
icon: 'droplet',
|
|
178
|
+
children: [
|
|
179
|
+
{ id: 'red', label: 'Red', icon: 'circle' },
|
|
180
|
+
{ id: 'green', label: 'Green', icon: 'circle' },
|
|
181
|
+
{ id: 'blue', label: 'Blue', icon: 'circle' }
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: 'export',
|
|
188
|
+
label: 'Export',
|
|
189
|
+
icon: 'download',
|
|
190
|
+
children: [
|
|
191
|
+
{ id: 'pdf', label: 'Export as PDF', icon: 'file-text' },
|
|
192
|
+
{ id: 'html', label: 'Export as HTML', icon: 'globe' }
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{ id: 'sep2', separator: true },
|
|
198
|
+
{ id: 'help', label: 'Help', icon: 'help-circle' }
|
|
199
|
+
];
|
|
200
|
+
|
|
201
|
+
const editorMenuItems = [
|
|
202
|
+
{ id: 'undo', label: 'Undo', icon: 'undo' },
|
|
203
|
+
{ id: 'redo', label: 'Redo', icon: 'redo' },
|
|
204
|
+
{ id: 'sep1', separator: true },
|
|
205
|
+
{ id: 'cut', label: 'Cut', icon: 'scissors' },
|
|
206
|
+
{ id: 'copy', label: 'Copy', icon: 'copy' },
|
|
207
|
+
{ id: 'paste', label: 'Paste', icon: 'clipboard' },
|
|
208
|
+
{ id: 'sep2', separator: true },
|
|
209
|
+
{
|
|
210
|
+
id: 'text',
|
|
211
|
+
label: 'Text Style',
|
|
212
|
+
icon: 'type',
|
|
213
|
+
children: [
|
|
214
|
+
{ id: 'bold', label: 'Bold', icon: 'bold' },
|
|
215
|
+
{ id: 'italic', label: 'Italic', icon: 'italic' },
|
|
216
|
+
{ id: 'underline', label: 'Underline', icon: 'underline' },
|
|
217
|
+
{ id: 'strike', label: 'Strikethrough', icon: 'strikethrough' },
|
|
218
|
+
{ id: 'sep3', separator: true },
|
|
219
|
+
{
|
|
220
|
+
id: 'font',
|
|
221
|
+
label: 'Font Family',
|
|
222
|
+
icon: 'type',
|
|
223
|
+
children: [
|
|
224
|
+
{ id: 'arial', label: 'Arial' },
|
|
225
|
+
{ id: 'times', label: 'Times New Roman' },
|
|
226
|
+
{ id: 'courier', label: 'Courier New' }
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
id: 'size',
|
|
231
|
+
label: 'Font Size',
|
|
232
|
+
icon: 'maximize',
|
|
233
|
+
children: [
|
|
234
|
+
{ id: 'small', label: 'Small' },
|
|
235
|
+
{ id: 'md', label: 'md' },
|
|
236
|
+
{ id: 'large', label: 'Large' }
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
id: 'paragraph',
|
|
243
|
+
label: 'Paragraph',
|
|
244
|
+
icon: 'align-justify',
|
|
245
|
+
children: [
|
|
246
|
+
{
|
|
247
|
+
id: 'align',
|
|
248
|
+
label: 'Alignment',
|
|
249
|
+
icon: 'align-justify',
|
|
250
|
+
children: [
|
|
251
|
+
{ id: 'left', label: 'Left', icon: 'align-left' },
|
|
252
|
+
{ id: 'center', label: 'Center', icon: 'align-center' },
|
|
253
|
+
{ id: 'right', label: 'Right', icon: 'align-right' }
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
id: 'spacing',
|
|
258
|
+
label: 'Line Spacing',
|
|
259
|
+
icon: 'arrow-up-down',
|
|
260
|
+
children: [
|
|
261
|
+
{ id: '1', label: 'Single' },
|
|
262
|
+
{ id: '1.5', label: '1.5 Lines' },
|
|
263
|
+
{ id: '2', label: 'Double' }
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
];
|
|
269
|
+
|
|
270
|
+
const fileMenuItems = [
|
|
271
|
+
{ id: 'open', label: 'Open', icon: 'folder-open' },
|
|
272
|
+
{
|
|
273
|
+
id: 'open-with',
|
|
274
|
+
label: 'Open With',
|
|
275
|
+
icon: 'settings',
|
|
276
|
+
children: [
|
|
277
|
+
{ id: 'notepad', label: 'Notepad', icon: 'file-text' },
|
|
278
|
+
{ id: 'vscode', label: 'VS Code', icon: 'code' },
|
|
279
|
+
{ id: 'browser', label: 'Web Browser', icon: 'globe' },
|
|
280
|
+
{ id: 'sep1', separator: true },
|
|
281
|
+
{ id: 'choose', label: 'Choose Program...', icon: 'more-horizontal' }
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{ id: 'sep2', separator: true },
|
|
285
|
+
{ id: 'cut', label: 'Cut', icon: 'scissors' },
|
|
286
|
+
{ id: 'copy', label: 'Copy', icon: 'copy' },
|
|
287
|
+
{ id: 'paste', label: 'Paste', icon: 'clipboard' },
|
|
288
|
+
{ id: 'sep3', separator: true },
|
|
289
|
+
{
|
|
290
|
+
id: 'share',
|
|
291
|
+
label: 'Share',
|
|
292
|
+
icon: 'share-2',
|
|
293
|
+
children: [
|
|
294
|
+
{ id: 'email', label: 'Send to Email', icon: 'mail' },
|
|
295
|
+
{ id: 'compress', label: 'Compress & Share', icon: 'package' },
|
|
296
|
+
{ id: 'cloud', label: 'Upload to Cloud', icon: 'cloud' }
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
id: 'export',
|
|
301
|
+
label: 'Export As',
|
|
302
|
+
icon: 'save',
|
|
303
|
+
children: [
|
|
304
|
+
{ id: 'pdf', label: 'PDF Document', icon: 'file-text' },
|
|
305
|
+
{ id: 'csv', label: 'CSV File', icon: 'bar-chart-2' },
|
|
306
|
+
{ id: 'json', label: 'JSON Data', icon: 'file-json' },
|
|
307
|
+
{ id: 'xml', label: 'XML File', icon: 'database' }
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
{ id: 'sep4', separator: true },
|
|
311
|
+
{ id: 'rename', label: 'Rename', icon: 'edit-2' },
|
|
312
|
+
{ id: 'delete', label: 'Delete', icon: 'trash-2' },
|
|
313
|
+
{ id: 'sep5', separator: true },
|
|
314
|
+
{ id: 'properties', label: 'Properties', icon: 'settings' }
|
|
315
|
+
];
|
|
316
|
+
|
|
317
|
+
const actionMenuItems = [
|
|
318
|
+
{
|
|
319
|
+
id: 'quick',
|
|
320
|
+
label: 'Quick Actions',
|
|
321
|
+
icon: 'zap',
|
|
322
|
+
children: [
|
|
323
|
+
{ id: 'save', label: 'Save', icon: 'save' },
|
|
324
|
+
{ id: 'refresh', label: 'Refresh', icon: 'refresh-cw' },
|
|
325
|
+
{ id: 'print', label: 'Print', icon: 'printer' }
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
id: 'edit',
|
|
330
|
+
label: 'Edit',
|
|
331
|
+
icon: 'edit',
|
|
332
|
+
children: [
|
|
333
|
+
{ id: 'undo', label: 'Undo', icon: 'undo' },
|
|
334
|
+
{ id: 'redo', label: 'Redo', icon: 'redo' },
|
|
335
|
+
{ id: 'sep1', separator: true },
|
|
336
|
+
{ id: 'cut', label: 'Cut', icon: 'scissors' },
|
|
337
|
+
{ id: 'copy', label: 'Copy', icon: 'copy' },
|
|
338
|
+
{ id: 'paste', label: 'Paste', icon: 'clipboard' }
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
id: 'tools',
|
|
343
|
+
label: 'Tools',
|
|
344
|
+
icon: 'tool',
|
|
345
|
+
children: [
|
|
346
|
+
{
|
|
347
|
+
id: 'validate',
|
|
348
|
+
label: 'Validate',
|
|
349
|
+
icon: 'check-circle',
|
|
350
|
+
children: [
|
|
351
|
+
{ id: 'html', label: 'HTML' },
|
|
352
|
+
{ id: 'css', label: 'CSS' },
|
|
353
|
+
{ id: 'js', label: 'JavaScript' }
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
id: 'optimize',
|
|
358
|
+
label: 'Optimize',
|
|
359
|
+
icon: 'sliders',
|
|
360
|
+
children: [
|
|
361
|
+
{ id: 'minify', label: 'Minify' },
|
|
362
|
+
{ id: 'compress', label: 'Compress' }
|
|
363
|
+
]
|
|
364
|
+
}
|
|
365
|
+
]
|
|
366
|
+
},
|
|
367
|
+
{ id: 'sep2', separator: true },
|
|
368
|
+
{ id: 'help', label: 'Help', icon: 'help-circle' }
|
|
369
|
+
];
|
|
370
|
+
|
|
371
|
+
const homeContextMenuItems = [
|
|
372
|
+
{ id: 'cut', label: 'Cut', icon: 'scissors' },
|
|
373
|
+
{ id: 'copy', label: 'Copy', icon: 'copy' },
|
|
374
|
+
{ id: 'paste', label: 'Paste', icon: 'clipboard' },
|
|
375
|
+
{ id: 'sep1', separator: true },
|
|
376
|
+
{ id: 'delete', label: 'Delete', icon: 'trash-2' }
|
|
377
|
+
];
|
|
378
|
+
|
|
379
|
+
const interactiveDefaultItems = [
|
|
380
|
+
{"id": "cut", "label": "Cut", "icon": "scissors"},
|
|
381
|
+
{"id": "copy", "label": "Copy", "icon": "copy"},
|
|
382
|
+
{"id": "paste", "label": "Paste", "icon": "clipboard"},
|
|
383
|
+
{"id": "sep1", "separator": true},
|
|
384
|
+
{
|
|
385
|
+
"id": "more",
|
|
386
|
+
"label": "More Options",
|
|
387
|
+
"icon": "more-horizontal",
|
|
388
|
+
"children": [
|
|
389
|
+
{"id": "select-all", "label": "Select All", "icon": "check-square"},
|
|
390
|
+
{"id": "sep2", "separator": true},
|
|
391
|
+
{
|
|
392
|
+
"id": "format",
|
|
393
|
+
"label": "Format",
|
|
394
|
+
"icon": "palette",
|
|
395
|
+
"children": [
|
|
396
|
+
{"id": "bold", "label": "Bold", "icon": "bold"},
|
|
397
|
+
{"id": "italic", "label": "Italic", "icon": "italic"},
|
|
398
|
+
{"id": "underline", "label": "Underline", "icon": "underline"}
|
|
399
|
+
]
|
|
400
|
+
}
|
|
401
|
+
]
|
|
402
|
+
},
|
|
403
|
+
{"id": "sep3", "separator": true},
|
|
404
|
+
{"id": "delete", "label": "Delete", "icon": "trash-2"}
|
|
405
|
+
];
|
|
406
|
+
|
|
407
|
+
const disabledItemsMenu = [
|
|
408
|
+
{ id: 'cut', label: 'Cut', icon: 'scissors' },
|
|
409
|
+
{ id: 'copy', label: 'Copy', icon: 'copy' },
|
|
410
|
+
{ id: 'paste', label: 'Paste', icon: 'clipboard', disabled: true },
|
|
411
|
+
{ id: 'sep1', separator: true },
|
|
412
|
+
{
|
|
413
|
+
id: 'more',
|
|
414
|
+
label: 'More Options',
|
|
415
|
+
icon: 'more-horizontal',
|
|
416
|
+
children: [
|
|
417
|
+
{ id: 'select-all', label: 'Select All', icon: 'check-square' },
|
|
418
|
+
{ id: 'sep2', separator: true },
|
|
419
|
+
{ id: 'disabled-item', label: 'Disabled Item', icon: 'ban', disabled: true },
|
|
420
|
+
{
|
|
421
|
+
id: 'format',
|
|
422
|
+
label: 'Format',
|
|
423
|
+
icon: 'palette',
|
|
424
|
+
children: [
|
|
425
|
+
{ id: 'bold', label: 'Bold', icon: 'bold' },
|
|
426
|
+
{ id: 'italic', label: 'Italic', icon: 'italic', disabled: true },
|
|
427
|
+
{ id: 'underline', label: 'Underline', icon: 'underline' }
|
|
428
|
+
]
|
|
429
|
+
}
|
|
430
|
+
]
|
|
431
|
+
},
|
|
432
|
+
{ id: 'sep3', separator: true },
|
|
433
|
+
{ id: 'delete', label: 'Delete', icon: 'trash-2', disabled: true }
|
|
434
|
+
];
|
|
14
435
|
|
|
15
436
|
export function initContextMenuDemo() {
|
|
16
437
|
const section = document.getElementById('context-menu');
|
|
@@ -36,18 +457,18 @@ export function initContextMenuDemo() {
|
|
|
36
457
|
|
|
37
458
|
setTimeout(() => {
|
|
38
459
|
const btnMap = {
|
|
39
|
-
btnBasicMenu:
|
|
40
|
-
btnIconMenu:
|
|
41
|
-
btnDisabledItems:
|
|
42
|
-
btnFourLevelMenu:
|
|
43
|
-
btnPremiumMenu:
|
|
44
|
-
btnSlotVirtualMenu:
|
|
45
|
-
btnInteractiveMenu:
|
|
46
|
-
btnValidationMenu:
|
|
460
|
+
btnBasicMenu: 'showBasicContextMenu',
|
|
461
|
+
btnIconMenu: 'showIconContextMenu',
|
|
462
|
+
btnDisabledItems: 'showDisabledItems',
|
|
463
|
+
btnFourLevelMenu: 'showFourLevelContextMenu',
|
|
464
|
+
btnPremiumMenu: 'showPremiumContextMenu',
|
|
465
|
+
btnSlotVirtualMenu: 'showSlotVirtualContextMenu',
|
|
466
|
+
btnInteractiveMenu: 'showInteractiveContextMenu',
|
|
467
|
+
btnValidationMenu: 'showMissingFeaturesValidation',
|
|
47
468
|
};
|
|
48
469
|
|
|
49
|
-
Object.entries(btnMap).forEach(([id,
|
|
50
|
-
document.getElementById(id)?.addEventListener('click', () =>
|
|
470
|
+
Object.entries(btnMap).forEach(([id, funcName]) => {
|
|
471
|
+
document.getElementById(id)?.addEventListener('click', () => window[funcName]?.());
|
|
51
472
|
});
|
|
52
473
|
|
|
53
474
|
// Context Menu Demo Functions
|
|
@@ -58,10 +479,10 @@ export function initContextMenuDemo() {
|
|
|
58
479
|
<div style="max-width: 600px; margin: 0 auto;">
|
|
59
480
|
<h4>Basic Context Menu</h4>
|
|
60
481
|
<p style="color: #6b7280; font-size: 13px;">Right-click on the area below</p>
|
|
61
|
-
<div id="basicTarget" style="min-height: 200px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:
|
|
482
|
+
<div id="basicTarget" style="min-height: 200px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:var(--bg-secondary,#f9fafb); cursor: context-menu; margin: 20px 0;">
|
|
62
483
|
<div style="text-align: center;">
|
|
63
484
|
<div style="margin-bottom: 10px;">
|
|
64
|
-
<ui-icon name="mouse-pointer-2" library="lucide" size="48px" style="color:
|
|
485
|
+
<ui-icon name="mouse-pointer-2" library="lucide" size="48px" style="color:var(--text-secondary,#64748b);"></ui-icon>
|
|
65
486
|
</div>
|
|
66
487
|
<div style="color: #6b7280; font-size: 14px;">Right-click here to open menu</div>
|
|
67
488
|
</div>
|
|
@@ -80,7 +501,7 @@ export function initContextMenuDemo() {
|
|
|
80
501
|
function logAction(action) {
|
|
81
502
|
const log = document.querySelector('#menuLog div');
|
|
82
503
|
if (log) {
|
|
83
|
-
log.innerHTML = `<div style="color:
|
|
504
|
+
log.innerHTML = `<div style="color:var(--accent-blue,#1e40af);"><strong>${action}</strong> clicked at ${new Date().toLocaleTimeString()}</div>`;
|
|
84
505
|
}
|
|
85
506
|
}
|
|
86
507
|
// Add event listener for menu item clicks
|
|
@@ -108,10 +529,10 @@ export function initContextMenuDemo() {
|
|
|
108
529
|
<div style="max-width: 600px; margin: 0 auto;">
|
|
109
530
|
<h4>Nested Submenus</h4>
|
|
110
531
|
<p style="color: #6b7280; font-size: 13px;">Multi-level cascading menu</p>
|
|
111
|
-
<div id="nestedTarget" style="min-height: 200px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:
|
|
532
|
+
<div id="nestedTarget" style="min-height: 200px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:var(--bg-secondary,#f9fafb); cursor: context-menu; margin: 20px 0;">
|
|
112
533
|
<div style="text-align: center;">
|
|
113
534
|
<div style="margin-bottom: 10px;">
|
|
114
|
-
<ui-icon name="folder" library="lucide" size="48px" style="color:
|
|
535
|
+
<ui-icon name="folder" library="lucide" size="48px" style="color:var(--text-secondary,#64748b);"></ui-icon>
|
|
115
536
|
</div>
|
|
116
537
|
<div style="color: #6b7280; font-size: 14px;">Right-click for file operations</div>
|
|
117
538
|
</div>
|
|
@@ -141,10 +562,10 @@ export function initContextMenuDemo() {
|
|
|
141
562
|
<div style="max-width: 600px; margin: 0 auto;">
|
|
142
563
|
<h4>Context Menu with Rich Icons</h4>
|
|
143
564
|
<p style="color: #6b7280; font-size: 13px;">Emoji icons with visual hierarchy</p>
|
|
144
|
-
<div id="iconTarget" style="min-height: 200px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:
|
|
565
|
+
<div id="iconTarget" style="min-height: 200px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:var(--bg-secondary,#f9fafb); cursor: context-menu; margin: 20px 0;">
|
|
145
566
|
<div style="text-align: center;">
|
|
146
567
|
<div style="margin-bottom: 10px;">
|
|
147
|
-
<ui-icon name="palette" library="lucide" size="48px" style="color:
|
|
568
|
+
<ui-icon name="palette" library="lucide" size="48px" style="color:var(--text-secondary,#64748b);"></ui-icon>
|
|
148
569
|
</div>
|
|
149
570
|
<div style="color: #6b7280; font-size: 14px;">Right-click for formatting options</div>
|
|
150
571
|
</div>
|
|
@@ -174,10 +595,10 @@ export function initContextMenuDemo() {
|
|
|
174
595
|
<div style="max-width: 700px; margin: 0 auto;">
|
|
175
596
|
<h4>4-Level Submenu Example</h4>
|
|
176
597
|
<p style="color: #6b7280; font-size: 13px;">Demonstrates a deep submenu structure with 4 levels</p>
|
|
177
|
-
<div id="fourLevelTarget" style="min-height: 220px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:
|
|
598
|
+
<div id="fourLevelTarget" style="min-height: 220px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:var(--bg-secondary,#f9fafb); cursor: context-menu; margin: 20px 0;">
|
|
178
599
|
<div style="text-align: center;">
|
|
179
600
|
<div style="margin-bottom: 10px;">
|
|
180
|
-
<ui-icon name="compass" library="lucide" size="48px" style="color:
|
|
601
|
+
<ui-icon name="compass" library="lucide" size="48px" style="color:var(--text-secondary,#64748b);"></ui-icon>
|
|
181
602
|
</div>
|
|
182
603
|
<div style="color: #6b7280; font-size: 14px;">Right-click to explore submenus</div>
|
|
183
604
|
</div>
|
|
@@ -208,7 +629,7 @@ export function initContextMenuDemo() {
|
|
|
208
629
|
<div style="max-width: 700px; margin: 0 auto;">
|
|
209
630
|
<h4>Rich Text Editor Menu</h4>
|
|
210
631
|
<p style="color: #6b7280; font-size: 13px;">Complete editor context menu with nested options</p>
|
|
211
|
-
<div id="editorTarget" style="min-height: 250px; border: 2px solid #cbd5e1; border-radius: 8px; padding: 20px; background:
|
|
632
|
+
<div id="editorTarget" style="min-height: 250px; border: 2px solid #cbd5e1; border-radius: 8px; padding: 20px; background:var(--bg-primary,white); cursor: text; margin: 20px 0; font-family: monospace; font-size: 14px;">
|
|
212
633
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
|
|
213
634
|
<br><br>
|
|
214
635
|
<strong>Right-click anywhere</strong> in this text area to access formatting and editing options.
|
|
@@ -238,10 +659,10 @@ export function initContextMenuDemo() {
|
|
|
238
659
|
<div style="max-width: 600px; margin: 0 auto;">
|
|
239
660
|
<h4>File Explorer Context Menu</h4>
|
|
240
661
|
<p style="color: #6b7280; font-size: 13px;">File system operations with nested actions</p>
|
|
241
|
-
<div id="fileTarget" style="min-height: 200px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:
|
|
662
|
+
<div id="fileTarget" style="min-height: 200px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:var(--bg-secondary,#f9fafb); cursor: context-menu; margin: 20px 0;">
|
|
242
663
|
<div style="text-align: center;">
|
|
243
664
|
<div style="margin-bottom: 10px;">
|
|
244
|
-
<ui-icon name="folder-open" library="lucide" size="48px" style="color:
|
|
665
|
+
<ui-icon name="folder-open" library="lucide" size="48px" style="color:var(--text-secondary,#64748b);"></ui-icon>
|
|
245
666
|
</div>
|
|
246
667
|
<div style="color: #6b7280; font-size: 14px; font-weight: 600;">Project Files</div>
|
|
247
668
|
<div style="color: #9ca3af; font-size: 12px; margin-top: 4px;">Right-click for file operations</div>
|
|
@@ -272,10 +693,10 @@ export function initContextMenuDemo() {
|
|
|
272
693
|
<div style="max-width: 600px; margin: 0 auto;">
|
|
273
694
|
<h4>Context Menu with Actions</h4>
|
|
274
695
|
<p style="color: #6b7280; font-size: 13px;">Interactive menu with live action feedback</p>
|
|
275
|
-
<div id="actionTarget" style="min-height: 150px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:
|
|
696
|
+
<div id="actionTarget" style="min-height: 150px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:var(--bg-secondary,#f9fafb); cursor: context-menu; margin: 20px 0;">
|
|
276
697
|
<div style="text-align: center;">
|
|
277
698
|
<div style="margin-bottom: 10px;">
|
|
278
|
-
<ui-icon name="zap" library="lucide" size="48px" style="color:
|
|
699
|
+
<ui-icon name="zap" library="lucide" size="48px" style="color:var(--text-secondary,#64748b);"></ui-icon>
|
|
279
700
|
</div>
|
|
280
701
|
<div style="color: #6b7280; font-size: 14px;">Right-click to execute actions</div>
|
|
281
702
|
</div>
|
|
@@ -344,10 +765,10 @@ export function initContextMenuDemo() {
|
|
|
344
765
|
<div style="max-width: 600px; margin: 0 auto;">
|
|
345
766
|
<h4>Context Menu with Disabled Items</h4>
|
|
346
767
|
<p style="color: #6b7280; font-size: 13px;">Some menu items are disabled and cannot be clicked</p>
|
|
347
|
-
<div id="disabledTarget" style="min-height: 150px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:
|
|
768
|
+
<div id="disabledTarget" style="min-height: 150px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:var(--bg-secondary,#f9fafb); cursor: context-menu; margin: 20px 0;">
|
|
348
769
|
<div style="text-align: center;">
|
|
349
770
|
<div style="margin-bottom: 10px;">
|
|
350
|
-
<ui-icon name="ban" library="lucide" size="48px" style="color:
|
|
771
|
+
<ui-icon name="ban" library="lucide" size="48px" style="color:var(--text-secondary,#64748b);"></ui-icon>
|
|
351
772
|
</div>
|
|
352
773
|
<div style="color: #6b7280; font-size: 14px;">Right-click to see disabled items</div>
|
|
353
774
|
</div>
|
|
@@ -446,7 +867,7 @@ export function initContextMenuDemo() {
|
|
|
446
867
|
<h4 style="margin-top:0;">Slot + Virtual Menu</h4>
|
|
447
868
|
<p style="color:#6b7280; font-size:13px;">Custom item templates, lazy loading, virtualization, and beforeClose hooks combine for high-velocity actions.</p>
|
|
448
869
|
<div id="slotVirtualLog" style="margin-top:12px; padding:12px; border-radius:8px; background:#f4f5ff; border:1px solid #c7d2fe; font-family:monospace; font-size:12px; height:180px; overflow-y:auto;">
|
|
449
|
-
<div style="color
|
|
870
|
+
<div style="color:var(--accent-indigo,#4338ca);">Log ready...</div>
|
|
450
871
|
</div>
|
|
451
872
|
</div>
|
|
452
873
|
<div style="flex:1; min-width:260px;">
|
|
@@ -478,23 +899,23 @@ export function initContextMenuDemo() {
|
|
|
478
899
|
gap:2px;
|
|
479
900
|
padding:6px 12px;
|
|
480
901
|
border-radius:8px;
|
|
481
|
-
background
|
|
902
|
+
background:var(--bg-secondary,#f8fafc);
|
|
482
903
|
border:1px solid transparent;
|
|
483
904
|
}
|
|
484
905
|
.slot-template:hover {
|
|
485
906
|
border-color:#a5b4fc;
|
|
486
|
-
background
|
|
907
|
+
background:var(--accent-indigo-soft,#eef2ff);
|
|
487
908
|
}
|
|
488
909
|
.slot-label {
|
|
489
910
|
font-size:14px;
|
|
490
|
-
color
|
|
911
|
+
color:var(--text-primary,#111827);
|
|
491
912
|
}
|
|
492
913
|
.slot-description {
|
|
493
914
|
color:#475569;
|
|
494
915
|
font-size:11px;
|
|
495
916
|
}
|
|
496
917
|
.slot-meta {
|
|
497
|
-
color
|
|
918
|
+
color:var(--accent-blue,#2563eb);
|
|
498
919
|
font-size:11px;
|
|
499
920
|
display:flex;
|
|
500
921
|
justify-content:space-between;
|
|
@@ -502,7 +923,7 @@ export function initContextMenuDemo() {
|
|
|
502
923
|
}
|
|
503
924
|
.slot-index {
|
|
504
925
|
font-size:10px;
|
|
505
|
-
color
|
|
926
|
+
color:var(--accent-purple,#8b5cf6);
|
|
506
927
|
margin-right:6px;
|
|
507
928
|
}
|
|
508
929
|
.slot-state {
|
|
@@ -601,7 +1022,7 @@ window.showInteractiveContextMenu = function () {
|
|
|
601
1022
|
if (!container) return;
|
|
602
1023
|
|
|
603
1024
|
container.innerHTML = `
|
|
604
|
-
<div style="background-color:
|
|
1025
|
+
<div style="background-color:var(--bg-primary,white); border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);">
|
|
605
1026
|
<div style="display: flex; gap: 30px; flex-wrap: wrap;">
|
|
606
1027
|
<div style="flex: 1; min-width: 250px;">
|
|
607
1028
|
<h3 style="margin-top: 0;">🎮 Interactive Playground</h3>
|
|
@@ -622,17 +1043,17 @@ window.showInteractiveContextMenu = function () {
|
|
|
622
1043
|
</div>
|
|
623
1044
|
</div>
|
|
624
1045
|
|
|
625
|
-
<div style="flex: 1; min-width: 300px; background-color: #f9fafb; padding: 20px; border-radius: 8px; border:
|
|
1046
|
+
<div style="flex: 1; min-width: 300px; background-color: #f9fafb; padding: 20px; border-radius: 8px; border:1px solid var(--border-default,#e5e7eb);">
|
|
626
1047
|
<h4 style="margin-top: 0;">Preview:</h4>
|
|
627
|
-
<div id="interactiveContextMenuTarget" style="margin-top: 20px; min-height: 300px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:
|
|
1048
|
+
<div id="interactiveContextMenuTarget" style="margin-top: 20px; min-height: 300px; border: 2px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:var(--bg-primary,white); cursor: context-menu;">
|
|
628
1049
|
<div style="text-align: center;">
|
|
629
1050
|
<div style="margin-bottom: 10px;">
|
|
630
|
-
<ui-icon name="mouse-pointer-2" library="lucide" size="48px" style="color:
|
|
1051
|
+
<ui-icon name="mouse-pointer-2" library="lucide" size="48px" style="color:var(--text-secondary,#64748b);"></ui-icon>
|
|
631
1052
|
</div>
|
|
632
1053
|
<div style="color: #6b7280; font-size: 14px;">Right-click here</div>
|
|
633
1054
|
</div>
|
|
634
1055
|
</div>
|
|
635
|
-
<div id="contextMenuOutput" style="margin-top: 20px; padding: 10px; background-color:
|
|
1056
|
+
<div id="contextMenuOutput" style="margin-top: 20px; padding: 10px; background-color:var(--bg-primary,white); border-radius: 4px; font-family: monospace; font-size: 12px; display: none;"></div>
|
|
636
1057
|
|
|
637
1058
|
<div style="margin-top: 20px; background: #1e293b; padding: 16px; border-radius: 8px; position: relative;">
|
|
638
1059
|
<ui-button id="copyContextMenuBtn" variant="outline" color="secondary" label="Copy" size="md"yle="position: absolute; top: 10px; right: 10px;"></ui-button>
|
|
@@ -751,13 +1172,13 @@ window.showMissingFeaturesValidation = () => {
|
|
|
751
1172
|
<p style="color: #6b7280; margin-bottom: 20px;">Use this area to validate gaps identified in the analysis.</p>
|
|
752
1173
|
|
|
753
1174
|
<div style="max-width: 600px; margin: 0 auto;">
|
|
754
|
-
<div id="validationTarget" style="min-height: 200px; border: 2px dashed #f59e0b; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:
|
|
1175
|
+
<div id="validationTarget" style="min-height: 200px; border: 2px dashed #f59e0b; border-radius: 8px; display: flex; align-items: center; justify-content: center; background:var(--accent-yellow-soft,#fffbeb); cursor: context-menu;">
|
|
755
1176
|
<div style="text-align: center;">
|
|
756
1177
|
<div style="margin-bottom: 10px;">
|
|
757
|
-
<ui-icon name="flask-conical" library="lucide" size="48px" style="color:
|
|
1178
|
+
<ui-icon name="flask-conical" library="lucide" size="48px" style="color:var(--accent-yellow,#92400e);"></ui-icon>
|
|
758
1179
|
</div>
|
|
759
|
-
<div style="color:
|
|
760
|
-
<div style="color:
|
|
1180
|
+
<div style="color:var(--accent-yellow,#92400e); font-size: 14px; font-weight: 600;">Right-Click for Test Menu</div>
|
|
1181
|
+
<div style="color:var(--accent-yellow,#b45309); font-size: 12px; margin-top: 4px;">Test checkboxes & mobile trigger</div>
|
|
761
1182
|
</div>
|
|
762
1183
|
</div>
|
|
763
1184
|
|
|
@@ -783,7 +1204,7 @@ window.showMissingFeaturesValidation = () => {
|
|
|
783
1204
|
</ul>
|
|
784
1205
|
</div>
|
|
785
1206
|
</div>
|
|
786
|
-
<div id="contextMenuLog" style="margin-top: 12px; padding: 12px; border-radius: 8px; background:
|
|
1207
|
+
<div id="contextMenuLog" style="margin-top: 12px; padding: 12px; border-radius: 8px; background:var(--bg-secondary,#f8fafc); border:1px solid var(--border-default,#e5e7eb); font-size: 13px; max-height: 160px; overflow-y: auto;"></div>
|
|
787
1208
|
<ui-context-menu id="validationMenu" icon-library="lucide" persist-state="true" long-press-duration="600"></ui-context-menu>
|
|
788
1209
|
`;
|
|
789
1210
|
|