atomicuilibrary 0.0.1
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/LICENSE +21 -0
- package/README.md +111 -0
- package/dist/cjs/category-section.cjs.entry.js +30 -0
- package/dist/cjs/component-size-DsYFUZcz.js +29 -0
- package/dist/cjs/dom-oP1E4Rd3.js +267 -0
- package/dist/cjs/event-bus-B6M2f8CQ.js +23 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +24 -0
- package/dist/cjs/focus-trap-i9T6oXLc.js +139 -0
- package/dist/cjs/index-ClkOYpT8.js +2275 -0
- package/dist/cjs/index.cjs.js +260 -0
- package/dist/cjs/layout-manager.cjs.entry.js +616 -0
- package/dist/cjs/library-card.cjs.entry.js +63 -0
- package/dist/cjs/lm-container_2.cjs.entry.js +79 -0
- package/dist/cjs/lm-panel_3.cjs.entry.js +108 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/cjs/my-component.cjs.entry.js +33 -0
- package/dist/cjs/my-step.cjs.entry.js +29 -0
- package/dist/cjs/nav-bar.cjs.entry.js +247 -0
- package/dist/cjs/security-E1JcwxGc.js +1547 -0
- package/dist/cjs/smart-step.cjs.entry.js +47 -0
- package/dist/cjs/timeline-item.cjs.entry.js +29 -0
- package/dist/cjs/ui-accordion_10.cjs.entry.js +5733 -0
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2684 -0
- package/dist/cjs/ui-anchor.cjs.entry.js +558 -0
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +285 -0
- package/dist/cjs/ui-aside-panel.cjs.entry.js +638 -0
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +634 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +56 -0
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +201 -0
- package/dist/cjs/ui-callout-banner.cjs.entry.js +291 -0
- package/dist/cjs/ui-card.cjs.entry.js +411 -0
- package/dist/cjs/ui-carousel.cjs.entry.js +547 -0
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +330 -0
- package/dist/cjs/ui-checkbox.cjs.entry.js +260 -0
- package/dist/cjs/ui-code-editor.cjs.entry.js +961 -0
- package/dist/cjs/ui-code-preview.cjs.entry.js +315 -0
- package/dist/cjs/ui-color-controller.cjs.entry.js +150 -0
- package/dist/cjs/ui-color-picker.cjs.entry.js +658 -0
- package/dist/cjs/ui-command-palette.cjs.entry.js +178 -0
- package/dist/cjs/ui-dialog-box.cjs.entry.js +1808 -0
- package/dist/cjs/ui-dialog-content.cjs.entry.js +31 -0
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +193 -0
- package/dist/cjs/ui-divider.cjs.entry.js +481 -0
- package/dist/cjs/ui-dock-host.cjs.entry.js +128 -0
- package/dist/cjs/ui-dock.cjs.entry.js +221 -0
- package/dist/cjs/ui-drag-drop.cjs.entry.js +172 -0
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +1552 -0
- package/dist/cjs/ui-empty-state.cjs.entry.js +398 -0
- package/dist/cjs/ui-fab-item.cjs.entry.js +39 -0
- package/dist/cjs/ui-fab.cjs.entry.js +277 -0
- package/dist/cjs/ui-file-upload.cjs.entry.js +418 -0
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +135 -0
- package/dist/cjs/ui-image-button.cjs.entry.js +67 -0
- package/dist/cjs/ui-input-pair.cjs.entry.js +44 -0
- package/dist/cjs/ui-knob.cjs.entry.js +447 -0
- package/dist/cjs/ui-library.cjs.entry.js +134 -0
- package/dist/cjs/ui-list-group_2.cjs.entry.js +586 -0
- package/dist/cjs/ui-list.cjs.entry.js +732 -0
- package/dist/cjs/ui-masonry.cjs.entry.js +478 -0
- package/dist/cjs/ui-meter-group.cjs.entry.js +173 -0
- package/dist/cjs/ui-navigation-item.cjs.entry.js +104 -0
- package/dist/cjs/ui-number-input.cjs.entry.js +191 -0
- package/dist/cjs/ui-otp-input.cjs.entry.js +246 -0
- package/dist/cjs/ui-pagination_3.cjs.entry.js +1621 -0
- package/dist/cjs/ui-panel.cjs.entry.js +614 -0
- package/dist/cjs/ui-pattern-input.cjs.entry.js +278 -0
- package/dist/cjs/ui-popover.cjs.entry.js +517 -0
- package/dist/cjs/ui-progress.cjs.entry.js +516 -0
- package/dist/cjs/ui-radio-group.cjs.entry.js +205 -0
- package/dist/cjs/ui-radio.cjs.entry.js +206 -0
- package/dist/cjs/ui-range-slider.cjs.entry.js +637 -0
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +484 -0
- package/dist/cjs/ui-scroll-top.cjs.entry.js +459 -0
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +376 -0
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +565 -0
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +137 -0
- package/dist/cjs/ui-snackbar.cjs.entry.js +863 -0
- package/dist/cjs/ui-speed-dial.cjs.entry.js +520 -0
- package/dist/cjs/ui-speedometer.cjs.entry.js +428 -0
- package/dist/cjs/ui-splitter.cjs.entry.js +282 -0
- package/dist/cjs/ui-step.cjs.entry.js +30 -0
- package/dist/cjs/ui-stepper.cjs.entry.js +640 -0
- package/dist/cjs/ui-switch.cjs.entry.js +405 -0
- package/dist/cjs/ui-tabs.cjs.entry.js +703 -0
- package/dist/cjs/ui-tag.cjs.entry.js +299 -0
- package/dist/cjs/ui-timeline.cjs.entry.js +267 -0
- package/dist/cjs/ui-timer.cjs.entry.js +502 -0
- package/dist/cjs/ui-toolbar.cjs.entry.js +619 -0
- package/dist/cjs/ui-tooltip.cjs.entry.js +697 -0
- package/dist/cjs/ui-top-bar.cjs.entry.js +121 -0
- package/dist/cjs/ui-transfer-list.cjs.entry.js +592 -0
- package/dist/cjs/ui-tree.cjs.entry.js +874 -0
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +1201 -0
- package/dist/cjs/utils-DVZ6gul6.js +26 -0
- package/dist/collection/assets/js/component-config.js +41 -0
- package/dist/collection/assets/js/demo-loader.js +147 -0
- package/dist/collection/assets/js/demo-nav.js +273 -0
- package/dist/collection/assets/js/demos/about-demo.js +60 -0
- package/dist/collection/assets/js/demos/accordion-demo.js +1954 -0
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +2952 -0
- package/dist/collection/assets/js/demos/anchor-demo.js +527 -0
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +174 -0
- package/dist/collection/assets/js/demos/aside-panel-demo.js +1109 -0
- package/dist/collection/assets/js/demos/avatar-demo.js +508 -0
- package/dist/collection/assets/js/demos/badge-demo.js +620 -0
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +365 -0
- package/dist/collection/assets/js/demos/button-demo.js +1223 -0
- package/dist/collection/assets/js/demos/button-toggle-demo.js +978 -0
- package/dist/collection/assets/js/demos/callout-banner-demo.js +366 -0
- package/dist/collection/assets/js/demos/card-demo.js +427 -0
- package/dist/collection/assets/js/demos/carousel-demo.js +360 -0
- package/dist/collection/assets/js/demos/checkbox-demo.js +489 -0
- package/dist/collection/assets/js/demos/code-preview-demo.js +216 -0
- package/dist/collection/assets/js/demos/color-picker-demo.js +117 -0
- package/dist/collection/assets/js/demos/command-palette-demo.js +105 -0
- package/dist/collection/assets/js/demos/complex-form-demo.js +45 -0
- package/dist/collection/assets/js/demos/context-menu-data.js +436 -0
- package/dist/collection/assets/js/demos/context-menu-demo.js +829 -0
- package/dist/collection/assets/js/demos/dashboard-demo.js +5 -0
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +411 -0
- package/dist/collection/assets/js/demos/dialog-demo.js +2567 -0
- package/dist/collection/assets/js/demos/divider-demo.js +853 -0
- package/dist/collection/assets/js/demos/dock-demo.js +422 -0
- package/dist/collection/assets/js/demos/dock-host-init.js +117 -0
- package/dist/collection/assets/js/demos/dock-host-playground.js +59 -0
- package/dist/collection/assets/js/demos/documentation-demo.js +34 -0
- package/dist/collection/assets/js/demos/drag-drop-demo.js +132 -0
- package/dist/collection/assets/js/demos/dropdown-demo.js +1410 -0
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +18 -0
- package/dist/collection/assets/js/demos/empty-state-demo.js +580 -0
- package/dist/collection/assets/js/demos/fab-demo.js +374 -0
- package/dist/collection/assets/js/demos/file-upload-demo.js +171 -0
- package/dist/collection/assets/js/demos/home-components.js +750 -0
- package/dist/collection/assets/js/demos/home-demo.js +441 -0
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +277 -0
- package/dist/collection/assets/js/demos/icon-demo.js +380 -0
- package/dist/collection/assets/js/demos/input-demo.js +1932 -0
- package/dist/collection/assets/js/demos/knob-demo.js +570 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +918 -0
- package/dist/collection/assets/js/demos/list-demo.js +1402 -0
- package/dist/collection/assets/js/demos/loader-demo.js +453 -0
- package/dist/collection/assets/js/demos/meter-group-demo.js +499 -0
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +924 -0
- package/dist/collection/assets/js/demos/my-profile-demo.js +237 -0
- package/dist/collection/assets/js/demos/nav-bar-demo.js +187 -0
- package/dist/collection/assets/js/demos/number-input-demo.js +242 -0
- package/dist/collection/assets/js/demos/overview-demo.js +11 -0
- package/dist/collection/assets/js/demos/pagination-demo.js +1042 -0
- package/dist/collection/assets/js/demos/panel-demo.js +789 -0
- package/dist/collection/assets/js/demos/pattern-input-demo.js +241 -0
- package/dist/collection/assets/js/demos/popover-demo.js +882 -0
- package/dist/collection/assets/js/demos/progress-demo.js +462 -0
- package/dist/collection/assets/js/demos/radio-demo.js +413 -0
- package/dist/collection/assets/js/demos/range-slider-demo.js +1217 -0
- package/dist/collection/assets/js/demos/rating-demo.js +383 -0
- package/dist/collection/assets/js/demos/scroll-top-demo.js +353 -0
- package/dist/collection/assets/js/demos/skeleton-demo.js +490 -0
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +26 -0
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +552 -0
- package/dist/collection/assets/js/demos/smart-menu-demo.js +375 -0
- package/dist/collection/assets/js/demos/smart-stepper-demo.js +50 -0
- package/dist/collection/assets/js/demos/snackbar-demo.js +1040 -0
- package/dist/collection/assets/js/demos/speed-dial-demo.js +764 -0
- package/dist/collection/assets/js/demos/speedometer-demo.js +425 -0
- package/dist/collection/assets/js/demos/split-button-demo.js +201 -0
- package/dist/collection/assets/js/demos/stack-demo.js +228 -0
- package/dist/collection/assets/js/demos/stepper-demo.js +798 -0
- package/dist/collection/assets/js/demos/switch-demo.js +849 -0
- package/dist/collection/assets/js/demos/tabs-demo.js +1032 -0
- package/dist/collection/assets/js/demos/tag-demo.js +842 -0
- package/dist/collection/assets/js/demos/theme-selector-demo.js +466 -0
- package/dist/collection/assets/js/demos/timeline-demo.js +365 -0
- package/dist/collection/assets/js/demos/timeline-playground.js +59 -0
- package/dist/collection/assets/js/demos/timer-demo.js +313 -0
- package/dist/collection/assets/js/demos/toolbar-demo.js +643 -0
- package/dist/collection/assets/js/demos/tooltip-demo.js +730 -0
- package/dist/collection/assets/js/demos/top-bar-demo.js +417 -0
- package/dist/collection/assets/js/demos/transfer-list-demo.js +555 -0
- package/dist/collection/assets/js/demos/tree-demo.js +693 -0
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +241 -0
- package/dist/collection/assets/js/index-boot.js +104 -0
- package/dist/collection/assets/js/nav-bar-demo.js +20 -0
- package/dist/collection/assets/js/nav-bar-init.js +119 -0
- package/dist/collection/assets/js/utils/layout-loader.js +80 -0
- package/dist/collection/collection-manifest.json +113 -0
- package/dist/collection/components/accordion/accordion.css +2090 -0
- package/dist/collection/components/accordion/accordion.js +2955 -0
- package/dist/collection/components/accordion/types.js +1 -0
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +2606 -0
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +5394 -0
- package/dist/collection/components/advanced-data-table/types.js +1 -0
- package/dist/collection/components/anchor/anchor.css +395 -0
- package/dist/collection/components/anchor/anchor.js +1404 -0
- package/dist/collection/components/anchor/types.js +1 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.css +804 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +696 -0
- package/dist/collection/components/aside-panel/aside-panel.css +472 -0
- package/dist/collection/components/aside-panel/aside-panel.js +1697 -0
- package/dist/collection/components/avatar/avatar.css +696 -0
- package/dist/collection/components/avatar/avatar.js +2007 -0
- package/dist/collection/components/avatar/types.js +1 -0
- package/dist/collection/components/avatar-group/avatar-group.css +253 -0
- package/dist/collection/components/avatar-group/avatar-group.js +405 -0
- package/dist/collection/components/avatar-group/types.js +1 -0
- package/dist/collection/components/badge/badge.css +580 -0
- package/dist/collection/components/badge/badge.js +723 -0
- package/dist/collection/components/badge/types.js +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +231 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +313 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +510 -0
- package/dist/collection/components/breadcrumb/types.js +1 -0
- package/dist/collection/components/button/button.css +1862 -0
- package/dist/collection/components/button/button.js +1380 -0
- package/dist/collection/components/button/types.js +1 -0
- package/dist/collection/components/button-toggle/button-toggle.css +97 -0
- package/dist/collection/components/button-toggle/button-toggle.js +620 -0
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +401 -0
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +1572 -0
- package/dist/collection/components/button-toggle-group/types.js +1 -0
- package/dist/collection/components/callout-banner/callout-banner.css +684 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1076 -0
- package/dist/collection/components/callout-banner/types.js +1 -0
- package/dist/collection/components/card/card.css +663 -0
- package/dist/collection/components/card/card.js +1697 -0
- package/dist/collection/components/card/types.js +1 -0
- package/dist/collection/components/carousel/carousel.css +549 -0
- package/dist/collection/components/carousel/carousel.js +1512 -0
- package/dist/collection/components/carousel/types.js +1 -0
- package/dist/collection/components/checkbox/checkbox.css +863 -0
- package/dist/collection/components/checkbox/checkbox.js +1201 -0
- package/dist/collection/components/checkbox/types.js +1 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +223 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +1001 -0
- package/dist/collection/components/checkbox-group/types.js +1 -0
- package/dist/collection/components/code-editor/code-editor.css +1081 -0
- package/dist/collection/components/code-editor/code-editor.js +1211 -0
- package/dist/collection/components/code-editor/types.js +1 -0
- package/dist/collection/components/code-preview/types.js +1 -0
- package/dist/collection/components/code-preview/ui-code-preview.css +209 -0
- package/dist/collection/components/code-preview/ui-code-preview.js +548 -0
- package/dist/collection/components/color-controller/color-controller.css +108 -0
- package/dist/collection/components/color-controller/color-controller.js +224 -0
- package/dist/collection/components/color-picker/color-picker.css +323 -0
- package/dist/collection/components/color-picker/color-picker.js +1139 -0
- package/dist/collection/components/color-picker/types.js +1 -0
- package/dist/collection/components/command-palette/command-palette.css +260 -0
- package/dist/collection/components/command-palette/command-palette.js +429 -0
- package/dist/collection/components/command-palette/types.js +1 -0
- package/dist/collection/components/context-menu/context-menu.css +388 -0
- package/dist/collection/components/context-menu/context-menu.js +1412 -0
- package/dist/collection/components/context-menu/types.js +1 -0
- package/dist/collection/components/dialog-box/dialog-box.css +1261 -0
- package/dist/collection/components/dialog-box/dialog-box.js +4314 -0
- package/dist/collection/components/dialog-box/dialog-tray.css +268 -0
- package/dist/collection/components/dialog-box/types.js +1 -0
- package/dist/collection/components/dialog-content/dialog-content.css +83 -0
- package/dist/collection/components/dialog-content/dialog-content.js +96 -0
- package/dist/collection/components/dialog-footer/dialog-footer.css +89 -0
- package/dist/collection/components/dialog-footer/dialog-footer.js +94 -0
- package/dist/collection/components/dialog-footer/types.js +1 -0
- package/dist/collection/components/dialog-header/dialog-header.css +203 -0
- package/dist/collection/components/dialog-header/dialog-header.js +630 -0
- package/dist/collection/components/dialog-header/types.js +1 -0
- package/dist/collection/components/divider/divider.css +948 -0
- package/dist/collection/components/divider/divider.js +1612 -0
- package/dist/collection/components/divider/types.js +1 -0
- package/dist/collection/components/dock/dock.css +348 -0
- package/dist/collection/components/dock/dock.js +464 -0
- package/dist/collection/components/dock/types.js +1 -0
- package/dist/collection/components/dock-host/index.js +1 -0
- package/dist/collection/components/dock-host/types.js +1 -0
- package/dist/collection/components/dock-host/ui-dock-host.css +155 -0
- package/dist/collection/components/dock-host/ui-dock-host.js +226 -0
- package/dist/collection/components/drag-drop/drag-drop.css +103 -0
- package/dist/collection/components/drag-drop/drag-drop.js +385 -0
- package/dist/collection/components/drag-drop/types.js +1 -0
- package/dist/collection/components/dropdown/dropdown.css +1142 -0
- package/dist/collection/components/dropdown/dropdown.js +2033 -0
- package/dist/collection/components/dropdown/types.js +1 -0
- package/dist/collection/components/empty-state/empty-state.css +712 -0
- package/dist/collection/components/empty-state/empty-state.js +1256 -0
- package/dist/collection/components/empty-state/types.js +1 -0
- package/dist/collection/components/fab/fab.css +601 -0
- package/dist/collection/components/fab/fab.js +1124 -0
- package/dist/collection/components/fab-item/fab-item.css +107 -0
- package/dist/collection/components/fab-item/fab-item.js +177 -0
- package/dist/collection/components/fab-item/types.js +1 -0
- package/dist/collection/components/file-upload/file-upload.css +243 -0
- package/dist/collection/components/file-upload/file-upload.js +1022 -0
- package/dist/collection/components/file-upload/types.js +1 -0
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +394 -0
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +375 -0
- package/dist/collection/components/icon/icon.css +113 -0
- package/dist/collection/components/icon/icon.js +583 -0
- package/dist/collection/components/image-button/image-button.css +154 -0
- package/dist/collection/components/image-button/image-button.js +310 -0
- package/dist/collection/components/image-button/types.js +1 -0
- package/dist/collection/components/input/input.css +1544 -0
- package/dist/collection/components/input/input.js +3690 -0
- package/dist/collection/components/input/types.js +1 -0
- package/dist/collection/components/input-pair/input-pair.css +72 -0
- package/dist/collection/components/input-pair/input-pair.js +309 -0
- package/dist/collection/components/knob/knob.css +162 -0
- package/dist/collection/components/knob/knob.js +986 -0
- package/dist/collection/components/knob/types.js +1 -0
- package/dist/collection/components/layout-manager/layout-manager.css +41 -0
- package/dist/collection/components/layout-manager/layout-manager.js +525 -0
- package/dist/collection/components/layout-manager/lm-container/lm-container.css +117 -0
- package/dist/collection/components/layout-manager/lm-container/lm-container.js +110 -0
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.css +0 -0
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +49 -0
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.css +97 -0
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +58 -0
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.css +57 -0
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +120 -0
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.css +149 -0
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +130 -0
- package/dist/collection/components/layout-manager/types.js +1 -0
- package/dist/collection/components/library/category-section.css +147 -0
- package/dist/collection/components/library/category-section.js +139 -0
- package/dist/collection/components/library/data.js +74 -0
- package/dist/collection/components/library/library-card.css +181 -0
- package/dist/collection/components/library/library-card.js +203 -0
- package/dist/collection/components/library/library.css +358 -0
- package/dist/collection/components/library/library.js +91 -0
- package/dist/collection/components/list/list.css +1029 -0
- package/dist/collection/components/list/list.js +2167 -0
- package/dist/collection/components/list-group/list-group.css +275 -0
- package/dist/collection/components/list-group/list-group.js +356 -0
- package/dist/collection/components/list-item/list-item.css +1491 -0
- package/dist/collection/components/list-item/list-item.js +2184 -0
- package/dist/collection/components/masonry/masonry.css +414 -0
- package/dist/collection/components/masonry/masonry.js +1104 -0
- package/dist/collection/components/masonry/types.js +1 -0
- package/dist/collection/components/meter-group/meter-group.css +184 -0
- package/dist/collection/components/meter-group/meter-group.js +471 -0
- package/dist/collection/components/meter-group/types.js +1 -0
- package/dist/collection/components/my-component/my-component.css +27 -0
- package/dist/collection/components/my-component/my-component.js +95 -0
- package/dist/collection/components/my-step/my-step.css +25 -0
- package/dist/collection/components/my-step/my-step.js +237 -0
- package/dist/collection/components/nav-bar/nav-bar.css +448 -0
- package/dist/collection/components/nav-bar/nav-bar.js +608 -0
- package/dist/collection/components/number-input/number-input.css +200 -0
- package/dist/collection/components/number-input/number-input.js +695 -0
- package/dist/collection/components/otp-input/otp-input.css +243 -0
- package/dist/collection/components/otp-input/otp-input.js +761 -0
- package/dist/collection/components/otp-input/types.js +1 -0
- package/dist/collection/components/pagination/pagination.css +1399 -0
- package/dist/collection/components/pagination/pagination.js +2033 -0
- package/dist/collection/components/pagination/types.js +1 -0
- package/dist/collection/components/panel/panel.css +837 -0
- package/dist/collection/components/panel/panel.js +1842 -0
- package/dist/collection/components/panel/types.js +1 -0
- package/dist/collection/components/pattern-input/pattern-input.css +252 -0
- package/dist/collection/components/pattern-input/pattern-input.js +788 -0
- package/dist/collection/components/popover/popover.css +399 -0
- package/dist/collection/components/popover/popover.js +1449 -0
- package/dist/collection/components/popover/types.js +1 -0
- package/dist/collection/components/progress/progress.css +588 -0
- package/dist/collection/components/progress/progress.js +1414 -0
- package/dist/collection/components/progress/types.js +1 -0
- package/dist/collection/components/radio/radio.css +773 -0
- package/dist/collection/components/radio/radio.js +1059 -0
- package/dist/collection/components/radio/types.js +1 -0
- package/dist/collection/components/radio-group/radio-group.css +202 -0
- package/dist/collection/components/radio-group/radio-group.js +903 -0
- package/dist/collection/components/radio-group/types.js +1 -0
- package/dist/collection/components/range-slider/range-slider.css +602 -0
- package/dist/collection/components/range-slider/range-slider.js +1369 -0
- package/dist/collection/components/range-slider/types.js +1 -0
- package/dist/collection/components/rating/rating.css +768 -0
- package/dist/collection/components/rating/rating.js +1062 -0
- package/dist/collection/components/rating/types.js +1 -0
- package/dist/collection/components/resizable-panel/resizable-panel.css +247 -0
- package/dist/collection/components/resizable-panel/resizable-panel.js +874 -0
- package/dist/collection/components/resizable-panel/types.js +1 -0
- package/dist/collection/components/scroll-top/scroll-top.css +397 -0
- package/dist/collection/components/scroll-top/scroll-top.js +1178 -0
- package/dist/collection/components/scroll-top/types.js +1 -0
- package/dist/collection/components/skeleton/skeleton-loader.css +429 -0
- package/dist/collection/components/skeleton/skeleton-loader.js +1193 -0
- package/dist/collection/components/skeleton/types.js +1 -0
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +357 -0
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +1190 -0
- package/dist/collection/components/smart-location-dropdown/types.js +1 -0
- package/dist/collection/components/smart-menu/menu-item.interface.js +1 -0
- package/dist/collection/components/smart-menu/smart-menu.css +119 -0
- package/dist/collection/components/smart-menu/smart-menu.js +544 -0
- package/dist/collection/components/smart-stepper/smart-step.css +213 -0
- package/dist/collection/components/smart-stepper/smart-step.js +170 -0
- package/dist/collection/components/smart-stepper/smart-stepper.css +146 -0
- package/dist/collection/components/smart-stepper/smart-stepper.js +338 -0
- package/dist/collection/components/snackbar/snackbar.css +1480 -0
- package/dist/collection/components/snackbar/snackbar.js +1759 -0
- package/dist/collection/components/snackbar/types.js +1 -0
- package/dist/collection/components/speed-dial/speed-dial.css +478 -0
- package/dist/collection/components/speed-dial/speed-dial.js +1183 -0
- package/dist/collection/components/speed-dial/types.js +1 -0
- package/dist/collection/components/speedometer/speedometer.css +95 -0
- package/dist/collection/components/speedometer/speedometer.js +868 -0
- package/dist/collection/components/speedometer/types.js +1 -0
- package/dist/collection/components/splitter/splitter.css +269 -0
- package/dist/collection/components/splitter/splitter.js +713 -0
- package/dist/collection/components/splitter/types.js +1 -0
- package/dist/collection/components/stack/stack.css +269 -0
- package/dist/collection/components/stack/stack.js +297 -0
- package/dist/collection/components/stack/types.js +1 -0
- package/dist/collection/components/step/step.css +77 -0
- package/dist/collection/components/step/step.js +214 -0
- package/dist/collection/components/step/types.js +1 -0
- package/dist/collection/components/stepper/stepper.css +1079 -0
- package/dist/collection/components/stepper/stepper.js +1850 -0
- package/dist/collection/components/stepper/types.js +1 -0
- package/dist/collection/components/switch/switch.css +1099 -0
- package/dist/collection/components/switch/switch.js +1578 -0
- package/dist/collection/components/tabs/tabs.css +1355 -0
- package/dist/collection/components/tabs/tabs.js +1474 -0
- package/dist/collection/components/tabs/types.js +1 -0
- package/dist/collection/components/tag/tag.css +893 -0
- package/dist/collection/components/tag/tag.js +1119 -0
- package/dist/collection/components/tag/types.js +1 -0
- package/dist/collection/components/tag-group/tag-group.css +144 -0
- package/dist/collection/components/tag-group/tag-group.js +887 -0
- package/dist/collection/components/tag-group/types.js +1 -0
- package/dist/collection/components/timeline/timeline.css +1850 -0
- package/dist/collection/components/timeline/timeline.js +889 -0
- package/dist/collection/components/timeline/types.js +1 -0
- package/dist/collection/components/timeline/ui-timeline.stories.js +19 -0
- package/dist/collection/components/timeline-item/timeline-item.css +75 -0
- package/dist/collection/components/timeline-item/timeline-item.js +91 -0
- package/dist/collection/components/timer/timer.css +367 -0
- package/dist/collection/components/timer/timer.js +1292 -0
- package/dist/collection/components/timer/types.js +1 -0
- package/dist/collection/components/timer/ui-timer.stories.js +19 -0
- package/dist/collection/components/toggle-group/toggle-group.css +361 -0
- package/dist/collection/components/toggle-group/toggle-group.js +1212 -0
- package/dist/collection/components/toggle-group/types.js +1 -0
- package/dist/collection/components/toolbar/toolbar-types.js +1 -0
- package/dist/collection/components/toolbar/toolbar.css +1186 -0
- package/dist/collection/components/toolbar/toolbar.js +1635 -0
- package/dist/collection/components/tooltip/tooltip.css +609 -0
- package/dist/collection/components/tooltip/tooltip.js +1882 -0
- package/dist/collection/components/tooltip/types.js +1 -0
- package/dist/collection/components/top-bar/top-bar.css +274 -0
- package/dist/collection/components/top-bar/top-bar.js +383 -0
- package/dist/collection/components/transfer-list/transfer-list.css +520 -0
- package/dist/collection/components/transfer-list/transfer-list.js +1225 -0
- package/dist/collection/components/transfer-list/types.js +1 -0
- package/dist/collection/components/tree/tree.css +1197 -0
- package/dist/collection/components/tree/tree.js +2509 -0
- package/dist/collection/components/tree/types.js +1 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +830 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +1231 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-types.js +1 -0
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +679 -0
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +385 -0
- package/dist/collection/components/ui-navigation-bar/navigation-types.js +1 -0
- package/dist/collection/components/workspace-manager/types.js +1 -0
- package/dist/collection/components/workspace-manager/workspace-manager.css +1094 -0
- package/dist/collection/components/workspace-manager/workspace-manager.js +1914 -0
- package/dist/collection/components.js +51 -0
- package/dist/collection/index.js +108 -0
- package/dist/collection/service/drag-manager.js +23 -0
- package/dist/collection/service/event-bus.js +19 -0
- package/dist/collection/service/serialization.js +8 -0
- package/dist/collection/service/state-engine.js +247 -0
- package/dist/collection/service/theme-switcher.js +146 -0
- package/dist/collection/stories/Button.stories.js +15 -0
- package/dist/collection/types/common.js +1 -0
- package/dist/collection/types/index.js +4 -0
- package/dist/collection/utils/aria-live.js +60 -0
- package/dist/collection/utils/component-size.js +25 -0
- package/dist/collection/utils/dom.js +260 -0
- package/dist/collection/utils/focus-trap.js +135 -0
- package/dist/collection/utils/security.js +10 -0
- package/dist/collection/utils/test/setup-component-test-env.js +92 -0
- package/dist/collection/utils/utils.js +21 -0
- package/dist/collection/utils/validation.js +74 -0
- package/dist/components/avatar-group.js +1 -0
- package/dist/components/avatar.js +1 -0
- package/dist/components/badge.js +1 -0
- package/dist/components/button-toggle.js +1 -0
- package/dist/components/category-section.d.ts +11 -0
- package/dist/components/category-section.js +1 -0
- package/dist/components/category-section2.js +1 -0
- package/dist/components/checkbox.js +1 -0
- package/dist/components/context-menu.js +1 -0
- package/dist/components/dialog-footer.js +1 -0
- package/dist/components/dialog-header.js +1 -0
- package/dist/components/dom.js +1 -0
- package/dist/components/dropdown.js +1 -0
- package/dist/components/event-bus.js +1 -0
- package/dist/components/focus-trap.js +1 -0
- package/dist/components/icon.js +2 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/input.js +1 -0
- package/dist/components/layout-manager.d.ts +11 -0
- package/dist/components/layout-manager.js +1 -0
- package/dist/components/library-card.d.ts +11 -0
- package/dist/components/library-card.js +1 -0
- package/dist/components/library-card2.js +1 -0
- package/dist/components/list-group.js +1 -0
- package/dist/components/list-item.js +1 -0
- package/dist/components/lm-container.d.ts +11 -0
- package/dist/components/lm-container.js +1 -0
- package/dist/components/lm-container2.js +1 -0
- package/dist/components/lm-floating-window.d.ts +11 -0
- package/dist/components/lm-floating-window.js +1 -0
- package/dist/components/lm-floating-window2.js +1 -0
- package/dist/components/lm-panel.d.ts +11 -0
- package/dist/components/lm-panel.js +1 -0
- package/dist/components/lm-panel2.js +1 -0
- package/dist/components/lm-splitter.d.ts +11 -0
- package/dist/components/lm-splitter.js +1 -0
- package/dist/components/lm-splitter2.js +1 -0
- package/dist/components/lm-tabs.d.ts +11 -0
- package/dist/components/lm-tabs.js +1 -0
- package/dist/components/lm-tabs2.js +1 -0
- package/dist/components/my-component.d.ts +11 -0
- package/dist/components/my-component.js +1 -0
- package/dist/components/my-step.d.ts +11 -0
- package/dist/components/my-step.js +1 -0
- package/dist/components/nav-bar.d.ts +11 -0
- package/dist/components/nav-bar.js +1 -0
- package/dist/components/pagination.js +1 -0
- package/dist/components/radio.js +1 -0
- package/dist/components/range-slider.js +1 -0
- package/dist/components/rating.js +1 -0
- package/dist/components/resizable-panel.js +1 -0
- package/dist/components/skeleton-loader.js +1 -0
- package/dist/components/smart-step.d.ts +11 -0
- package/dist/components/smart-step.js +1 -0
- package/dist/components/stack.js +1 -0
- package/dist/components/switch.js +1 -0
- package/dist/components/tag-group.js +1 -0
- package/dist/components/tag.js +1 -0
- package/dist/components/timeline-item.d.ts +11 -0
- package/dist/components/timeline-item.js +1 -0
- package/dist/components/toggle-group.js +1 -0
- package/dist/components/tooltip.js +1 -0
- package/dist/components/ui-accordion.d.ts +11 -0
- package/dist/components/ui-accordion.js +1 -0
- package/dist/components/ui-advanced-data-table.d.ts +11 -0
- package/dist/components/ui-advanced-data-table.js +1 -0
- package/dist/components/ui-anchor.d.ts +11 -0
- package/dist/components/ui-anchor.js +1 -0
- package/dist/components/ui-animate-on-scroll.d.ts +11 -0
- package/dist/components/ui-animate-on-scroll.js +1 -0
- package/dist/components/ui-aside-panel.d.ts +11 -0
- package/dist/components/ui-aside-panel.js +1 -0
- package/dist/components/ui-avatar-group.d.ts +11 -0
- package/dist/components/ui-avatar-group.js +1 -0
- package/dist/components/ui-avatar.d.ts +11 -0
- package/dist/components/ui-avatar.js +1 -0
- package/dist/components/ui-badge.d.ts +11 -0
- package/dist/components/ui-badge.js +1 -0
- package/dist/components/ui-breadcrumb-item.d.ts +11 -0
- package/dist/components/ui-breadcrumb-item.js +1 -0
- package/dist/components/ui-breadcrumb.d.ts +11 -0
- package/dist/components/ui-breadcrumb.js +1 -0
- package/dist/components/ui-button-toggle-group.d.ts +11 -0
- package/dist/components/ui-button-toggle-group.js +1 -0
- package/dist/components/ui-button-toggle.d.ts +11 -0
- package/dist/components/ui-button-toggle.js +1 -0
- package/dist/components/ui-button.d.ts +11 -0
- package/dist/components/ui-button.js +1 -0
- package/dist/components/ui-callout-banner.d.ts +11 -0
- package/dist/components/ui-callout-banner.js +1 -0
- package/dist/components/ui-card.d.ts +11 -0
- package/dist/components/ui-card.js +1 -0
- package/dist/components/ui-carousel.d.ts +11 -0
- package/dist/components/ui-carousel.js +1 -0
- package/dist/components/ui-checkbox-group.d.ts +11 -0
- package/dist/components/ui-checkbox-group.js +1 -0
- package/dist/components/ui-checkbox.d.ts +11 -0
- package/dist/components/ui-checkbox.js +1 -0
- package/dist/components/ui-code-editor.d.ts +11 -0
- package/dist/components/ui-code-editor.js +1 -0
- package/dist/components/ui-code-preview.d.ts +11 -0
- package/dist/components/ui-code-preview.js +1 -0
- package/dist/components/ui-color-controller.d.ts +11 -0
- package/dist/components/ui-color-controller.js +1 -0
- package/dist/components/ui-color-picker.d.ts +11 -0
- package/dist/components/ui-color-picker.js +1 -0
- package/dist/components/ui-command-palette.d.ts +11 -0
- package/dist/components/ui-command-palette.js +1 -0
- package/dist/components/ui-context-menu.d.ts +11 -0
- package/dist/components/ui-context-menu.js +1 -0
- package/dist/components/ui-dialog-box.d.ts +11 -0
- package/dist/components/ui-dialog-box.js +1 -0
- package/dist/components/ui-dialog-content.d.ts +11 -0
- package/dist/components/ui-dialog-content.js +1 -0
- package/dist/components/ui-dialog-footer.d.ts +11 -0
- package/dist/components/ui-dialog-footer.js +1 -0
- package/dist/components/ui-dialog-header.d.ts +11 -0
- package/dist/components/ui-dialog-header.js +1 -0
- package/dist/components/ui-divider.d.ts +11 -0
- package/dist/components/ui-divider.js +1 -0
- package/dist/components/ui-dock-host.d.ts +11 -0
- package/dist/components/ui-dock-host.js +1 -0
- package/dist/components/ui-dock.d.ts +11 -0
- package/dist/components/ui-dock.js +1 -0
- package/dist/components/ui-drag-drop.d.ts +11 -0
- package/dist/components/ui-drag-drop.js +1 -0
- package/dist/components/ui-dropdown.d.ts +11 -0
- package/dist/components/ui-dropdown.js +1 -0
- package/dist/components/ui-empty-state.d.ts +11 -0
- package/dist/components/ui-empty-state.js +1 -0
- package/dist/components/ui-fab-item.d.ts +11 -0
- package/dist/components/ui-fab-item.js +1 -0
- package/dist/components/ui-fab.d.ts +11 -0
- package/dist/components/ui-fab.js +1 -0
- package/dist/components/ui-file-upload.d.ts +11 -0
- package/dist/components/ui-file-upload.js +1 -0
- package/dist/components/ui-horizontal-nav.d.ts +11 -0
- package/dist/components/ui-horizontal-nav.js +1 -0
- package/dist/components/ui-icon.d.ts +11 -0
- package/dist/components/ui-icon.js +1 -0
- package/dist/components/ui-image-button.d.ts +11 -0
- package/dist/components/ui-image-button.js +1 -0
- package/dist/components/ui-input-pair.d.ts +11 -0
- package/dist/components/ui-input-pair.js +1 -0
- package/dist/components/ui-input.d.ts +11 -0
- package/dist/components/ui-input.js +1 -0
- package/dist/components/ui-knob.d.ts +11 -0
- package/dist/components/ui-knob.js +1 -0
- package/dist/components/ui-library.d.ts +11 -0
- package/dist/components/ui-library.js +1 -0
- package/dist/components/ui-list-group.d.ts +11 -0
- package/dist/components/ui-list-group.js +1 -0
- package/dist/components/ui-list-item.d.ts +11 -0
- package/dist/components/ui-list-item.js +1 -0
- package/dist/components/ui-list.d.ts +11 -0
- package/dist/components/ui-list.js +1 -0
- package/dist/components/ui-masonry.d.ts +11 -0
- package/dist/components/ui-masonry.js +1 -0
- package/dist/components/ui-meter-group.d.ts +11 -0
- package/dist/components/ui-meter-group.js +1 -0
- package/dist/components/ui-navigation-bar.d.ts +11 -0
- package/dist/components/ui-navigation-bar.js +1 -0
- package/dist/components/ui-navigation-item.d.ts +11 -0
- package/dist/components/ui-navigation-item.js +1 -0
- package/dist/components/ui-number-input.d.ts +11 -0
- package/dist/components/ui-number-input.js +1 -0
- package/dist/components/ui-otp-input.d.ts +11 -0
- package/dist/components/ui-otp-input.js +1 -0
- package/dist/components/ui-pagination.d.ts +11 -0
- package/dist/components/ui-pagination.js +1 -0
- package/dist/components/ui-panel.d.ts +11 -0
- package/dist/components/ui-panel.js +1 -0
- package/dist/components/ui-pattern-input.d.ts +11 -0
- package/dist/components/ui-pattern-input.js +1 -0
- package/dist/components/ui-popover.d.ts +11 -0
- package/dist/components/ui-popover.js +1 -0
- package/dist/components/ui-progress.d.ts +11 -0
- package/dist/components/ui-progress.js +1 -0
- package/dist/components/ui-radio-group.d.ts +11 -0
- package/dist/components/ui-radio-group.js +1 -0
- package/dist/components/ui-radio.d.ts +11 -0
- package/dist/components/ui-radio.js +1 -0
- package/dist/components/ui-range-slider.d.ts +11 -0
- package/dist/components/ui-range-slider.js +1 -0
- package/dist/components/ui-rating.d.ts +11 -0
- package/dist/components/ui-rating.js +1 -0
- package/dist/components/ui-resizable-panel.d.ts +11 -0
- package/dist/components/ui-resizable-panel.js +1 -0
- package/dist/components/ui-scroll-top.d.ts +11 -0
- package/dist/components/ui-scroll-top.js +1 -0
- package/dist/components/ui-skeleton.d.ts +11 -0
- package/dist/components/ui-skeleton.js +1 -0
- package/dist/components/ui-smart-context-menu.d.ts +11 -0
- package/dist/components/ui-smart-context-menu.js +1 -0
- package/dist/components/ui-smart-location-dropdown.d.ts +11 -0
- package/dist/components/ui-smart-location-dropdown.js +1 -0
- package/dist/components/ui-smart-stepper.d.ts +11 -0
- package/dist/components/ui-smart-stepper.js +1 -0
- package/dist/components/ui-snackbar.d.ts +11 -0
- package/dist/components/ui-snackbar.js +1 -0
- package/dist/components/ui-speed-dial.d.ts +11 -0
- package/dist/components/ui-speed-dial.js +1 -0
- package/dist/components/ui-speedometer.d.ts +11 -0
- package/dist/components/ui-speedometer.js +1 -0
- package/dist/components/ui-splitter.d.ts +11 -0
- package/dist/components/ui-splitter.js +1 -0
- package/dist/components/ui-stack.d.ts +11 -0
- package/dist/components/ui-stack.js +1 -0
- package/dist/components/ui-step.d.ts +11 -0
- package/dist/components/ui-step.js +1 -0
- package/dist/components/ui-stepper.d.ts +11 -0
- package/dist/components/ui-stepper.js +1 -0
- package/dist/components/ui-switch.d.ts +11 -0
- package/dist/components/ui-switch.js +1 -0
- package/dist/components/ui-tabs.d.ts +11 -0
- package/dist/components/ui-tabs.js +1 -0
- package/dist/components/ui-tag-group.d.ts +11 -0
- package/dist/components/ui-tag-group.js +1 -0
- package/dist/components/ui-tag.d.ts +11 -0
- package/dist/components/ui-tag.js +1 -0
- package/dist/components/ui-timeline.d.ts +11 -0
- package/dist/components/ui-timeline.js +1 -0
- package/dist/components/ui-timer.d.ts +11 -0
- package/dist/components/ui-timer.js +1 -0
- package/dist/components/ui-toggle-group.d.ts +11 -0
- package/dist/components/ui-toggle-group.js +1 -0
- package/dist/components/ui-toolbar.d.ts +11 -0
- package/dist/components/ui-toolbar.js +1 -0
- package/dist/components/ui-tooltip.d.ts +11 -0
- package/dist/components/ui-tooltip.js +1 -0
- package/dist/components/ui-top-bar.d.ts +11 -0
- package/dist/components/ui-top-bar.js +1 -0
- package/dist/components/ui-transfer-list.d.ts +11 -0
- package/dist/components/ui-transfer-list.js +1 -0
- package/dist/components/ui-tree.d.ts +11 -0
- package/dist/components/ui-tree.js +1 -0
- package/dist/components/ui-workspace-manager.d.ts +11 -0
- package/dist/components/ui-workspace-manager.js +1 -0
- package/dist/components/utils.js +1 -0
- package/dist/esm/category-section.entry.js +28 -0
- package/dist/esm/component-size-C7gf39HE.js +27 -0
- package/dist/esm/dom-BMFah5q3.js +262 -0
- package/dist/esm/event-bus-vwwmWKs9.js +21 -0
- package/dist/esm/exploration-project-tailwind.js +20 -0
- package/dist/esm/focus-trap-BSQ8klD4.js +137 -0
- package/dist/esm/index-DUsoYu9r.js +2264 -0
- package/dist/esm/index.js +256 -0
- package/dist/esm/layout-manager.entry.js +614 -0
- package/dist/esm/library-card.entry.js +61 -0
- package/dist/esm/lm-container_2.entry.js +76 -0
- package/dist/esm/lm-panel_3.entry.js +104 -0
- package/dist/esm/loader.js +10 -0
- package/dist/esm/my-component.entry.js +31 -0
- package/dist/esm/my-step.entry.js +27 -0
- package/dist/esm/nav-bar.entry.js +245 -0
- package/dist/esm/security-D2WzX6vR.js +1545 -0
- package/dist/esm/smart-step.entry.js +45 -0
- package/dist/esm/timeline-item.entry.js +27 -0
- package/dist/esm/ui-accordion_10.entry.js +5722 -0
- package/dist/esm/ui-advanced-data-table.entry.js +2682 -0
- package/dist/esm/ui-anchor.entry.js +556 -0
- package/dist/esm/ui-animate-on-scroll.entry.js +283 -0
- package/dist/esm/ui-aside-panel.entry.js +636 -0
- package/dist/esm/ui-avatar-group_3.entry.js +630 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +54 -0
- package/dist/esm/ui-breadcrumb.entry.js +199 -0
- package/dist/esm/ui-callout-banner.entry.js +289 -0
- package/dist/esm/ui-card.entry.js +409 -0
- package/dist/esm/ui-carousel.entry.js +545 -0
- package/dist/esm/ui-checkbox-group.entry.js +328 -0
- package/dist/esm/ui-checkbox.entry.js +258 -0
- package/dist/esm/ui-code-editor.entry.js +959 -0
- package/dist/esm/ui-code-preview.entry.js +313 -0
- package/dist/esm/ui-color-controller.entry.js +148 -0
- package/dist/esm/ui-color-picker.entry.js +656 -0
- package/dist/esm/ui-command-palette.entry.js +176 -0
- package/dist/esm/ui-dialog-box.entry.js +1806 -0
- package/dist/esm/ui-dialog-content.entry.js +29 -0
- package/dist/esm/ui-dialog-footer_2.entry.js +190 -0
- package/dist/esm/ui-divider.entry.js +479 -0
- package/dist/esm/ui-dock-host.entry.js +126 -0
- package/dist/esm/ui-dock.entry.js +219 -0
- package/dist/esm/ui-drag-drop.entry.js +170 -0
- package/dist/esm/ui-dropdown_2.entry.js +1549 -0
- package/dist/esm/ui-empty-state.entry.js +396 -0
- package/dist/esm/ui-fab-item.entry.js +37 -0
- package/dist/esm/ui-fab.entry.js +275 -0
- package/dist/esm/ui-file-upload.entry.js +416 -0
- package/dist/esm/ui-horizontal-nav.entry.js +133 -0
- package/dist/esm/ui-image-button.entry.js +65 -0
- package/dist/esm/ui-input-pair.entry.js +42 -0
- package/dist/esm/ui-knob.entry.js +445 -0
- package/dist/esm/ui-library.entry.js +132 -0
- package/dist/esm/ui-list-group_2.entry.js +583 -0
- package/dist/esm/ui-list.entry.js +730 -0
- package/dist/esm/ui-masonry.entry.js +476 -0
- package/dist/esm/ui-meter-group.entry.js +171 -0
- package/dist/esm/ui-navigation-item.entry.js +102 -0
- package/dist/esm/ui-number-input.entry.js +189 -0
- package/dist/esm/ui-otp-input.entry.js +244 -0
- package/dist/esm/ui-pagination_3.entry.js +1617 -0
- package/dist/esm/ui-panel.entry.js +612 -0
- package/dist/esm/ui-pattern-input.entry.js +276 -0
- package/dist/esm/ui-popover.entry.js +515 -0
- package/dist/esm/ui-progress.entry.js +514 -0
- package/dist/esm/ui-radio-group.entry.js +203 -0
- package/dist/esm/ui-radio.entry.js +204 -0
- package/dist/esm/ui-range-slider.entry.js +635 -0
- package/dist/esm/ui-resizable-panel.entry.js +482 -0
- package/dist/esm/ui-scroll-top.entry.js +457 -0
- package/dist/esm/ui-smart-context-menu.entry.js +374 -0
- package/dist/esm/ui-smart-location-dropdown.entry.js +563 -0
- package/dist/esm/ui-smart-stepper.entry.js +135 -0
- package/dist/esm/ui-snackbar.entry.js +861 -0
- package/dist/esm/ui-speed-dial.entry.js +518 -0
- package/dist/esm/ui-speedometer.entry.js +426 -0
- package/dist/esm/ui-splitter.entry.js +280 -0
- package/dist/esm/ui-step.entry.js +28 -0
- package/dist/esm/ui-stepper.entry.js +638 -0
- package/dist/esm/ui-switch.entry.js +403 -0
- package/dist/esm/ui-tabs.entry.js +701 -0
- package/dist/esm/ui-tag.entry.js +297 -0
- package/dist/esm/ui-timeline.entry.js +265 -0
- package/dist/esm/ui-timer.entry.js +500 -0
- package/dist/esm/ui-toolbar.entry.js +617 -0
- package/dist/esm/ui-tooltip.entry.js +695 -0
- package/dist/esm/ui-top-bar.entry.js +119 -0
- package/dist/esm/ui-transfer-list.entry.js +590 -0
- package/dist/esm/ui-tree.entry.js +872 -0
- package/dist/esm/ui-workspace-manager.entry.js +1199 -0
- package/dist/esm/utils-Ck6jDuhz.js +23 -0
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -0
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -0
- package/dist/exploration-project-tailwind/index.esm.js +1 -0
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-0b004861.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-200241f8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-287dbf09.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2d273118.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2f961934.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-35296877.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-36861546.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3d3d48fd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-41cd6bf0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-45482d86.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4d73c143.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4de419d5.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4f6bba75.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5e3e80ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-61717490.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-62352ef2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-64e3a484.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-73d29a4a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7515b1e3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77124686.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77cc333a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7f91d949.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-81961fb1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-85bf89fd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-85e36111.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-875be805.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-898dd0fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-8d951aef.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9d0c8760.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9fa70359.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +1 -0
- package/dist/exploration-project-tailwind/p-BSQ8klD4.js +1 -0
- package/dist/exploration-project-tailwind/p-C7gf39HE.js +1 -0
- package/dist/exploration-project-tailwind/p-Ck6jDuhz.js +1 -0
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +2 -0
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +2 -0
- package/dist/exploration-project-tailwind/p-a1ad32a2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a3f465d9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a42fdc33.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-aa85ff78.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c174a372.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c4ba7e52.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c5ddc817.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c6fd72e1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c7e87fbb.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c87aeab6.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c90722ec.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ccb5c737.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d30e24bd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d419eaf0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-debede45.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e5322e59.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e8ba0c95.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f0830120.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f5719913.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ffb1754a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-vwwmWKs9.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/accordion/accordion.d.ts +352 -0
- package/dist/types/components/accordion/types.d.ts +69 -0
- package/dist/types/components/advanced-data-table/advanced-data-table.d.ts +697 -0
- package/dist/types/components/advanced-data-table/types.d.ts +120 -0
- package/dist/types/components/anchor/anchor.d.ts +133 -0
- package/dist/types/components/anchor/types.d.ts +17 -0
- package/dist/types/components/animate-on-scroll/animate-on-scroll.d.ts +101 -0
- package/dist/types/components/aside-panel/aside-panel.d.ts +249 -0
- package/dist/types/components/avatar/avatar.d.ts +201 -0
- package/dist/types/components/avatar/types.d.ts +132 -0
- package/dist/types/components/avatar-group/avatar-group.d.ts +52 -0
- package/dist/types/components/avatar-group/types.d.ts +31 -0
- package/dist/types/components/badge/badge.d.ts +109 -0
- package/dist/types/components/badge/types.d.ts +6 -0
- package/dist/types/components/breadcrumb/breadcrumb-item.d.ts +36 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +73 -0
- package/dist/types/components/breadcrumb/types.d.ts +5 -0
- package/dist/types/components/button/button.d.ts +133 -0
- package/dist/types/components/button/types.d.ts +1 -0
- package/dist/types/components/button-toggle/button-toggle.d.ts +64 -0
- package/dist/types/components/button-toggle-group/button-toggle-group.d.ts +141 -0
- package/dist/types/components/button-toggle-group/types.d.ts +7 -0
- package/dist/types/components/callout-banner/callout-banner.d.ts +115 -0
- package/dist/types/components/callout-banner/types.d.ts +7 -0
- package/dist/types/components/card/card.d.ts +160 -0
- package/dist/types/components/card/types.d.ts +13 -0
- package/dist/types/components/carousel/carousel.d.ts +150 -0
- package/dist/types/components/carousel/types.d.ts +8 -0
- package/dist/types/components/checkbox/checkbox.d.ts +92 -0
- package/dist/types/components/checkbox/types.d.ts +5 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +87 -0
- package/dist/types/components/checkbox-group/types.d.ts +8 -0
- package/dist/types/components/code-editor/code-editor.d.ts +147 -0
- package/dist/types/components/code-editor/types.d.ts +20 -0
- package/dist/types/components/code-preview/types.d.ts +5 -0
- package/dist/types/components/code-preview/ui-code-preview.d.ts +69 -0
- package/dist/types/components/color-controller/color-controller.d.ts +24 -0
- package/dist/types/components/color-picker/color-picker.d.ts +116 -0
- package/dist/types/components/color-picker/types.d.ts +24 -0
- package/dist/types/components/command-palette/command-palette.d.ts +41 -0
- package/dist/types/components/command-palette/types.d.ts +7 -0
- package/dist/types/components/context-menu/context-menu.d.ts +135 -0
- package/dist/types/components/context-menu/types.d.ts +20 -0
- package/dist/types/components/dialog-box/dialog-box.d.ts +648 -0
- package/dist/types/components/dialog-box/types.d.ts +1 -0
- package/dist/types/components/dialog-content/dialog-content.d.ts +9 -0
- package/dist/types/components/dialog-footer/dialog-footer.d.ts +9 -0
- package/dist/types/components/dialog-footer/types.d.ts +1 -0
- package/dist/types/components/dialog-header/dialog-header.d.ts +102 -0
- package/dist/types/components/dialog-header/types.d.ts +2 -0
- package/dist/types/components/divider/divider.d.ts +245 -0
- package/dist/types/components/divider/types.d.ts +14 -0
- package/dist/types/components/dock/dock.d.ts +37 -0
- package/dist/types/components/dock/types.d.ts +11 -0
- package/dist/types/components/dock-host/index.d.ts +1 -0
- package/dist/types/components/dock-host/types.d.ts +1 -0
- package/dist/types/components/dock-host/ui-dock-host.d.ts +23 -0
- package/dist/types/components/drag-drop/drag-drop.d.ts +52 -0
- package/dist/types/components/drag-drop/types.d.ts +9 -0
- package/dist/types/components/dropdown/dropdown.d.ts +264 -0
- package/dist/types/components/dropdown/types.d.ts +19 -0
- package/dist/types/components/empty-state/empty-state.d.ts +74 -0
- package/dist/types/components/empty-state/types.d.ts +13 -0
- package/dist/types/components/fab/fab.d.ts +73 -0
- package/dist/types/components/fab-item/fab-item.d.ts +14 -0
- package/dist/types/components/fab-item/types.d.ts +3 -0
- package/dist/types/components/file-upload/file-upload.d.ts +91 -0
- package/dist/types/components/file-upload/types.d.ts +15 -0
- package/dist/types/components/horizontal-nav/horizontal-nav.d.ts +68 -0
- package/dist/types/components/icon/icon.d.ts +66 -0
- package/dist/types/components/image-button/image-button.d.ts +31 -0
- package/dist/types/components/image-button/types.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +217 -0
- package/dist/types/components/input/types.d.ts +6 -0
- package/dist/types/components/input-pair/input-pair.d.ts +28 -0
- package/dist/types/components/knob/knob.d.ts +147 -0
- package/dist/types/components/knob/types.d.ts +4 -0
- package/dist/types/components/layout-manager/layout-manager.d.ts +32 -0
- package/dist/types/components/layout-manager/lm-container/lm-container.d.ts +7 -0
- package/dist/types/components/layout-manager/lm-floating-window/lm-floating-window.d.ts +6 -0
- package/dist/types/components/layout-manager/lm-panel/lm-panel.d.ts +7 -0
- package/dist/types/components/layout-manager/lm-splitter/lm-splitter.d.ts +12 -0
- package/dist/types/components/layout-manager/lm-tabs/lm-tabs.d.ts +12 -0
- package/dist/types/components/layout-manager/types.d.ts +1 -0
- package/dist/types/components/library/category-section.d.ts +15 -0
- package/dist/types/components/library/data.d.ts +11 -0
- package/dist/types/components/library/library-card.d.ts +19 -0
- package/dist/types/components/library/library.d.ts +9 -0
- package/dist/types/components/list/list.d.ts +183 -0
- package/dist/types/components/list-group/list-group.d.ts +28 -0
- package/dist/types/components/list-item/list-item.d.ts +200 -0
- package/dist/types/components/masonry/masonry.d.ts +105 -0
- package/dist/types/components/masonry/types.d.ts +5 -0
- package/dist/types/components/meter-group/meter-group.d.ts +66 -0
- package/dist/types/components/meter-group/types.d.ts +12 -0
- package/dist/types/components/my-component/my-component.d.ts +16 -0
- package/dist/types/components/my-step/index.d.ts +12 -0
- package/dist/types/components/my-step/my-step.d.ts +13 -0
- package/dist/types/components/nav-bar/nav-bar.d.ts +119 -0
- package/dist/types/components/number-input/number-input.d.ts +72 -0
- package/dist/types/components/otp-input/otp-input.d.ts +64 -0
- package/dist/types/components/otp-input/types.d.ts +3 -0
- package/dist/types/components/pagination/pagination.d.ts +295 -0
- package/dist/types/components/pagination/types.d.ts +1 -0
- package/dist/types/components/panel/panel.d.ts +275 -0
- package/dist/types/components/panel/types.d.ts +7 -0
- package/dist/types/components/pattern-input/pattern-input.d.ts +88 -0
- package/dist/types/components/popover/popover.d.ts +161 -0
- package/dist/types/components/popover/types.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +224 -0
- package/dist/types/components/progress/types.d.ts +6 -0
- package/dist/types/components/radio/radio.d.ts +87 -0
- package/dist/types/components/radio/types.d.ts +7 -0
- package/dist/types/components/radio-group/radio-group.d.ts +74 -0
- package/dist/types/components/radio-group/types.d.ts +2 -0
- package/dist/types/components/range-slider/range-slider.d.ts +201 -0
- package/dist/types/components/range-slider/types.d.ts +4 -0
- package/dist/types/components/rating/rating.d.ts +127 -0
- package/dist/types/components/rating/types.d.ts +1 -0
- package/dist/types/components/resizable-panel/resizable-panel.d.ts +59 -0
- package/dist/types/components/resizable-panel/types.d.ts +11 -0
- package/dist/types/components/scroll-top/scroll-top.d.ts +186 -0
- package/dist/types/components/scroll-top/types.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +149 -0
- package/dist/types/components/skeleton/types.d.ts +1 -0
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +119 -0
- package/dist/types/components/smart-location-dropdown/types.d.ts +37 -0
- package/dist/types/components/smart-menu/menu-item.interface.d.ts +10 -0
- package/dist/types/components/smart-menu/smart-menu.d.ts +64 -0
- package/dist/types/components/smart-stepper/smart-step.d.ts +29 -0
- package/dist/types/components/smart-stepper/smart-stepper.d.ts +53 -0
- package/dist/types/components/snackbar/snackbar.d.ts +223 -0
- package/dist/types/components/snackbar/types.d.ts +104 -0
- package/dist/types/components/speed-dial/speed-dial.d.ts +171 -0
- package/dist/types/components/speed-dial/types.d.ts +11 -0
- package/dist/types/components/speedometer/speedometer.d.ts +125 -0
- package/dist/types/components/speedometer/types.d.ts +8 -0
- package/dist/types/components/splitter/splitter.d.ts +63 -0
- package/dist/types/components/splitter/types.d.ts +9 -0
- package/dist/types/components/stack/stack.d.ts +34 -0
- package/dist/types/components/stack/types.d.ts +3 -0
- package/dist/types/components/step/step.d.ts +16 -0
- package/dist/types/components/step/types.d.ts +1 -0
- package/dist/types/components/stepper/stepper.d.ts +218 -0
- package/dist/types/components/stepper/types.d.ts +39 -0
- package/dist/types/components/switch/switch.d.ts +162 -0
- package/dist/types/components/tabs/tabs.d.ts +182 -0
- package/dist/types/components/tabs/types.d.ts +17 -0
- package/dist/types/components/tag/tag.d.ts +172 -0
- package/dist/types/components/tag/types.d.ts +4 -0
- package/dist/types/components/tag-group/tag-group.d.ts +107 -0
- package/dist/types/components/tag-group/types.d.ts +2 -0
- package/dist/types/components/timeline/timeline.d.ts +73 -0
- package/dist/types/components/timeline/types.d.ts +28 -0
- package/dist/types/components/timeline/ui-timeline.stories.d.ts +9 -0
- package/dist/types/components/timeline-item/timeline-item.d.ts +15 -0
- package/dist/types/components/timer/timer.d.ts +123 -0
- package/dist/types/components/timer/types.d.ts +18 -0
- package/dist/types/components/timer/ui-timer.stories.d.ts +9 -0
- package/dist/types/components/toggle-group/toggle-group.d.ts +136 -0
- package/dist/types/components/toggle-group/types.d.ts +5 -0
- package/dist/types/components/toolbar/toolbar-types.d.ts +189 -0
- package/dist/types/components/toolbar/toolbar.d.ts +150 -0
- package/dist/types/components/tooltip/tooltip.d.ts +166 -0
- package/dist/types/components/tooltip/types.d.ts +3 -0
- package/dist/types/components/top-bar/top-bar.d.ts +76 -0
- package/dist/types/components/transfer-list/transfer-list.d.ts +137 -0
- package/dist/types/components/transfer-list/types.d.ts +13 -0
- package/dist/types/components/tree/tree.d.ts +180 -0
- package/dist/types/components/tree/types.d.ts +76 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +108 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-types.d.ts +17 -0
- package/dist/types/components/ui-navigation-bar/navigation-item.d.ts +26 -0
- package/dist/types/components/ui-navigation-bar/navigation-types.d.ts +19 -0
- package/dist/types/components/workspace-manager/types.d.ts +48 -0
- package/dist/types/components/workspace-manager/workspace-manager.d.ts +211 -0
- package/dist/types/components.d.ts +29634 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/service/drag-manager.d.ts +8 -0
- package/dist/types/service/event-bus.d.ts +9 -0
- package/dist/types/service/serialization.d.ts +5 -0
- package/dist/types/service/state-engine.d.ts +25 -0
- package/dist/types/service/theme-switcher.d.ts +46 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/types/animation.type.d.ts +96 -0
- package/dist/types/types/common.d.ts +52 -0
- package/dist/types/types/common.type.d.ts +608 -0
- package/dist/types/types/index.d.ts +37 -0
- package/dist/types/types/text.type.d.ts +32 -0
- package/dist/types/utils/aria-live.d.ts +20 -0
- package/dist/types/utils/component-size.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +58 -0
- package/dist/types/utils/focus-trap.d.ts +35 -0
- package/dist/types/utils/security.d.ts +5 -0
- package/dist/types/utils/test/setup-component-test-env.d.ts +14 -0
- package/dist/types/utils/utils.d.ts +7 -0
- package/dist/types/utils/validation.d.ts +43 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +77 -0
|
@@ -0,0 +1,829 @@
|
|
|
1
|
+
// Component Demo Functions
|
|
2
|
+
import {
|
|
3
|
+
basicMenuItems,
|
|
4
|
+
nestedMenuItems,
|
|
5
|
+
iconMenuItems,
|
|
6
|
+
fourLevelMenuItems,
|
|
7
|
+
editorMenuItems,
|
|
8
|
+
fileMenuItems,
|
|
9
|
+
actionMenuItems,
|
|
10
|
+
homeContextMenuItems,
|
|
11
|
+
interactiveDefaultItems,
|
|
12
|
+
disabledItemsMenu,
|
|
13
|
+
} from './context-menu-data.js';
|
|
14
|
+
|
|
15
|
+
export function initContextMenuDemo() {
|
|
16
|
+
const section = document.getElementById('context-menu');
|
|
17
|
+
if (!section) return;
|
|
18
|
+
|
|
19
|
+
section.innerHTML = `
|
|
20
|
+
|
|
21
|
+
<p>Right-click context menus with customizable actions.</p>
|
|
22
|
+
|
|
23
|
+
<div class="demo-controls" style="margin: 20px 0; display: flex; gap: 8px; flex-wrap: wrap;">
|
|
24
|
+
<ui-button id="btnBasicMenu" label="Basic" size="md"riant="outline"></ui-button>
|
|
25
|
+
<ui-button id="btnIconMenu" label="With Icons" size="md"riant="outline"></ui-button>
|
|
26
|
+
<ui-button id="btnDisabledItems" label="Disabled Items" size="md"riant="outline"></ui-button>
|
|
27
|
+
<ui-button id="btnFourLevelMenu" label="4-Level Submenu" size="md"riant="outline"></ui-button>
|
|
28
|
+
<ui-button id="btnPremiumMenu" label="✨ Premium Features" size="md"riant="outline"></ui-button>
|
|
29
|
+
<ui-button id="btnSlotVirtualMenu" label="Slot + Virtual Menu" size="md"riant="outline"></ui-button>
|
|
30
|
+
<ui-button id="btnInteractiveMenu" label="🎮 Interactive Playground" size="md"riant="outline"></ui-button>
|
|
31
|
+
<ui-button id="btnValidationMenu" label="Validation" size="md"riant="outline"></ui-button>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div id="contextMenuDemoContainer" style="margin-top: 20px;"></div>
|
|
35
|
+
`;
|
|
36
|
+
|
|
37
|
+
setTimeout(() => {
|
|
38
|
+
const btnMap = {
|
|
39
|
+
btnBasicMenu: window.showBasicContextMenu,
|
|
40
|
+
btnIconMenu: window.showIconContextMenu,
|
|
41
|
+
btnDisabledItems: window.showDisabledItems,
|
|
42
|
+
btnFourLevelMenu: window.showFourLevelContextMenu,
|
|
43
|
+
btnPremiumMenu: window.showPremiumContextMenu,
|
|
44
|
+
btnSlotVirtualMenu: window.showSlotVirtualContextMenu,
|
|
45
|
+
btnInteractiveMenu: window.showInteractiveContextMenu,
|
|
46
|
+
btnValidationMenu: window.showMissingFeaturesValidation,
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
Object.entries(btnMap).forEach(([id, func]) => {
|
|
50
|
+
document.getElementById(id)?.addEventListener('click', () => func());
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
// Context Menu Demo Functions
|
|
54
|
+
window.showBasicContextMenu = function () {
|
|
55
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
56
|
+
if (!container) return;
|
|
57
|
+
container.innerHTML = `
|
|
58
|
+
<div style="max-width: 600px; margin: 0 auto;">
|
|
59
|
+
<h4>Basic Context Menu</h4>
|
|
60
|
+
<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: #f9fafb; cursor: context-menu; margin: 20px 0;">
|
|
62
|
+
<div style="text-align: center;">
|
|
63
|
+
<div style="margin-bottom: 10px;">
|
|
64
|
+
<ui-icon name="mouse-pointer-2" library="lucide" size="48px" style="color: #64748b;"></ui-icon>
|
|
65
|
+
</div>
|
|
66
|
+
<div style="color: #6b7280; font-size: 14px;">Right-click here to open menu</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
<div id="menuLog" style="margin-top: 20px; padding: 12px; background: #f0f9ff; border-radius: 6px; font-size: 13px;">
|
|
70
|
+
<strong>Event Log:</strong>
|
|
71
|
+
<div style="margin-top: 8px; color: #6b7280;">Right-click to trigger menu...</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
<ui-context-menu id="basicMenu" icon-library="lucide"></ui-context-menu>
|
|
75
|
+
`;
|
|
76
|
+
setTimeout(() => {
|
|
77
|
+
const menu = document.getElementById('basicMenu');
|
|
78
|
+
console.log('Basic menu element:', menu);
|
|
79
|
+
if (menu) {
|
|
80
|
+
function logAction(action) {
|
|
81
|
+
const log = document.querySelector('#menuLog div');
|
|
82
|
+
if (log) {
|
|
83
|
+
log.innerHTML = `<div style="color: #1e40af;"><strong>${action}</strong> clicked at ${new Date().toLocaleTimeString()}</div>`;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
// Add event listener for menu item clicks
|
|
87
|
+
menu.addEventListener('menuItemClick', e => {
|
|
88
|
+
console.log('Menu item clicked:', e.detail);
|
|
89
|
+
if (e.detail && e.detail.label) {
|
|
90
|
+
logAction(e.detail.label);
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
menu.setAttribute('items', JSON.stringify(basicMenuItems));
|
|
94
|
+
menu.setAttribute('target', '#basicTarget');
|
|
95
|
+
// Force re-attach if target is replaced
|
|
96
|
+
setTimeout(() => {
|
|
97
|
+
menu.setAttribute('target', '#basicTarget');
|
|
98
|
+
}, 0);
|
|
99
|
+
console.log('Menu items set:', menu.getAttribute('items'));
|
|
100
|
+
}
|
|
101
|
+
}, 100);
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
window.showNestedContextMenu = function () {
|
|
105
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
106
|
+
if (!container) return;
|
|
107
|
+
container.innerHTML = `
|
|
108
|
+
<div style="max-width: 600px; margin: 0 auto;">
|
|
109
|
+
<h4>Nested Submenus</h4>
|
|
110
|
+
<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: #f9fafb; cursor: context-menu; margin: 20px 0;">
|
|
112
|
+
<div style="text-align: center;">
|
|
113
|
+
<div style="margin-bottom: 10px;">
|
|
114
|
+
<ui-icon name="folder" library="lucide" size="48px" style="color: #64748b;"></ui-icon>
|
|
115
|
+
</div>
|
|
116
|
+
<div style="color: #6b7280; font-size: 14px;">Right-click for file operations</div>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
<ui-context-menu id="nestedMenu" icon-library="lucide"></ui-context-menu>
|
|
121
|
+
`;
|
|
122
|
+
setTimeout(() => {
|
|
123
|
+
const menu = document.getElementById('nestedMenu');
|
|
124
|
+
if (menu) {
|
|
125
|
+
menu.addEventListener('menuItemClick', e => {
|
|
126
|
+
console.log('Nested menu clicked:', e.detail);
|
|
127
|
+
});
|
|
128
|
+
menu.items = JSON.stringify(nestedMenuItems);
|
|
129
|
+
menu.setAttribute('target', '#nestedTarget');
|
|
130
|
+
setTimeout(() => {
|
|
131
|
+
menu.setAttribute('target', '#nestedTarget');
|
|
132
|
+
}, 0);
|
|
133
|
+
}
|
|
134
|
+
}, 100);
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
window.showIconContextMenu = function () {
|
|
138
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
139
|
+
if (!container) return;
|
|
140
|
+
container.innerHTML = `
|
|
141
|
+
<div style="max-width: 600px; margin: 0 auto;">
|
|
142
|
+
<h4>Context Menu with Rich Icons</h4>
|
|
143
|
+
<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: #f9fafb; cursor: context-menu; margin: 20px 0;">
|
|
145
|
+
<div style="text-align: center;">
|
|
146
|
+
<div style="margin-bottom: 10px;">
|
|
147
|
+
<ui-icon name="palette" library="lucide" size="48px" style="color: #64748b;"></ui-icon>
|
|
148
|
+
</div>
|
|
149
|
+
<div style="color: #6b7280; font-size: 14px;">Right-click for formatting options</div>
|
|
150
|
+
</div>
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
<ui-context-menu id="iconMenu" icon-library="lucide"></ui-context-menu>
|
|
154
|
+
`;
|
|
155
|
+
setTimeout(() => {
|
|
156
|
+
const menu = document.getElementById('iconMenu');
|
|
157
|
+
if (menu) {
|
|
158
|
+
menu.addEventListener('menuItemClick', e => {
|
|
159
|
+
console.log('Icon menu clicked:', e.detail);
|
|
160
|
+
});
|
|
161
|
+
menu.items = JSON.stringify(iconMenuItems);
|
|
162
|
+
menu.setAttribute('target', '#iconTarget');
|
|
163
|
+
setTimeout(() => {
|
|
164
|
+
menu.setAttribute('target', '#iconTarget');
|
|
165
|
+
}, 0);
|
|
166
|
+
}
|
|
167
|
+
}, 100);
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
window.showFourLevelContextMenu = function () {
|
|
171
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
172
|
+
if (!container) return;
|
|
173
|
+
container.innerHTML = `
|
|
174
|
+
<div style="max-width: 700px; margin: 0 auto;">
|
|
175
|
+
<h4>4-Level Submenu Example</h4>
|
|
176
|
+
<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: #f9fafb; cursor: context-menu; margin: 20px 0;">
|
|
178
|
+
<div style="text-align: center;">
|
|
179
|
+
<div style="margin-bottom: 10px;">
|
|
180
|
+
<ui-icon name="compass" library="lucide" size="48px" style="color: #64748b;"></ui-icon>
|
|
181
|
+
</div>
|
|
182
|
+
<div style="color: #6b7280; font-size: 14px;">Right-click to explore submenus</div>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
<ui-context-menu id="fourLevelMenu" icon-library="lucide"></ui-context-menu>
|
|
187
|
+
`;
|
|
188
|
+
setTimeout(() => {
|
|
189
|
+
const menu = document.getElementById('fourLevelMenu');
|
|
190
|
+
if (menu) {
|
|
191
|
+
menu.addEventListener('menuItemClick', e => {
|
|
192
|
+
console.log('4-Level menu clicked:', e.detail);
|
|
193
|
+
});
|
|
194
|
+
// 4-level nested structure
|
|
195
|
+
menu.items = JSON.stringify(fourLevelMenuItems);
|
|
196
|
+
menu.setAttribute('target', '#fourLevelTarget');
|
|
197
|
+
setTimeout(() => {
|
|
198
|
+
menu.setAttribute('target', '#fourLevelTarget');
|
|
199
|
+
}, 0);
|
|
200
|
+
}
|
|
201
|
+
}, 100);
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
window.showEditorContextMenu = function () {
|
|
205
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
206
|
+
if (!container) return;
|
|
207
|
+
container.innerHTML = `
|
|
208
|
+
<div style="max-width: 700px; margin: 0 auto;">
|
|
209
|
+
<h4>Rich Text Editor Menu</h4>
|
|
210
|
+
<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: white; cursor: text; margin: 20px 0; font-family: monospace; font-size: 14px;">
|
|
212
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
|
|
213
|
+
<br><br>
|
|
214
|
+
<strong>Right-click anywhere</strong> in this text area to access formatting and editing options.
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
<ui-context-menu id="editorMenu" icon-library="lucide"></ui-context-menu>
|
|
218
|
+
`;
|
|
219
|
+
setTimeout(() => {
|
|
220
|
+
const menu = document.getElementById('editorMenu');
|
|
221
|
+
if (menu) {
|
|
222
|
+
menu.addEventListener('menuItemClick', e => {
|
|
223
|
+
console.log('Editor menu clicked:', e.detail);
|
|
224
|
+
});
|
|
225
|
+
menu.items = JSON.stringify(editorMenuItems);
|
|
226
|
+
menu.setAttribute('target', '#editorTarget');
|
|
227
|
+
setTimeout(() => {
|
|
228
|
+
menu.setAttribute('target', '#editorTarget');
|
|
229
|
+
}, 0);
|
|
230
|
+
}
|
|
231
|
+
}, 100);
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
window.showFileContextMenu = function () {
|
|
235
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
236
|
+
if (!container) return;
|
|
237
|
+
container.innerHTML = `
|
|
238
|
+
<div style="max-width: 600px; margin: 0 auto;">
|
|
239
|
+
<h4>File Explorer Context Menu</h4>
|
|
240
|
+
<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: #f9fafb; cursor: context-menu; margin: 20px 0;">
|
|
242
|
+
<div style="text-align: center;">
|
|
243
|
+
<div style="margin-bottom: 10px;">
|
|
244
|
+
<ui-icon name="folder-open" library="lucide" size="48px" style="color: #64748b;"></ui-icon>
|
|
245
|
+
</div>
|
|
246
|
+
<div style="color: #6b7280; font-size: 14px; font-weight: 600;">Project Files</div>
|
|
247
|
+
<div style="color: #9ca3af; font-size: 12px; margin-top: 4px;">Right-click for file operations</div>
|
|
248
|
+
</div>
|
|
249
|
+
</div>
|
|
250
|
+
</div>
|
|
251
|
+
<ui-context-menu id="fileMenu" icon-library="lucide"></ui-context-menu>
|
|
252
|
+
`;
|
|
253
|
+
setTimeout(() => {
|
|
254
|
+
const menu = document.getElementById('fileMenu');
|
|
255
|
+
if (menu) {
|
|
256
|
+
menu.addEventListener('menuItemClick', e => {
|
|
257
|
+
console.log('File menu clicked:', e.detail);
|
|
258
|
+
});
|
|
259
|
+
menu.items = JSON.stringify(fileMenuItems);
|
|
260
|
+
menu.setAttribute('target', '#fileTarget');
|
|
261
|
+
setTimeout(() => {
|
|
262
|
+
menu.setAttribute('target', '#fileTarget');
|
|
263
|
+
}, 0);
|
|
264
|
+
}
|
|
265
|
+
}, 100);
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
window.showContextMenuActions = function () {
|
|
269
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
270
|
+
if (!container) return;
|
|
271
|
+
container.innerHTML = `
|
|
272
|
+
<div style="max-width: 600px; margin: 0 auto;">
|
|
273
|
+
<h4>Context Menu with Actions</h4>
|
|
274
|
+
<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: #f9fafb; cursor: context-menu; margin: 20px 0;">
|
|
276
|
+
<div style="text-align: center;">
|
|
277
|
+
<div style="margin-bottom: 10px;">
|
|
278
|
+
<ui-icon name="zap" library="lucide" size="48px" style="color: #64748b;"></ui-icon>
|
|
279
|
+
</div>
|
|
280
|
+
<div style="color: #6b7280; font-size: 14px;">Right-click to execute actions</div>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
<div id="actionLog" style="margin-top: 20px; padding: 16px; background: #f0f9ff; border-radius: 8px; border: 1px solid #bae6fd;">
|
|
284
|
+
<h5 style="margin: 0 0 12px 0; color: #1e3a8a; font-size: 14px;">Action Log:</h5>
|
|
285
|
+
<div id="actionLogContent" style="font-size: 13px; color: #6b7280; min-height: 60px; font-family: monospace;">
|
|
286
|
+
No actions performed yet...
|
|
287
|
+
</div>
|
|
288
|
+
<ui-button id="btnClearActionLog" variant="outline" color="success" label="Clear Log" size="md"yle="margin-top: 12px;"></ui-button>
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
<ui-context-menu id="actionMenu" icon-library="lucide"></ui-context-menu>
|
|
292
|
+
`;
|
|
293
|
+
|
|
294
|
+
window.clearActionLog = function () {
|
|
295
|
+
const log = document.getElementById('actionLogContent');
|
|
296
|
+
if (log) log.innerHTML = 'No actions performed yet...';
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
setTimeout(() => {
|
|
300
|
+
document.getElementById('btnClearActionLog')?.addEventListener('click', () => window.clearActionLog());
|
|
301
|
+
|
|
302
|
+
const menu = document.getElementById('actionMenu');
|
|
303
|
+
const logContent = document.getElementById('actionLogContent');
|
|
304
|
+
function addLog(message, type = 'info') {
|
|
305
|
+
if (!logContent) return;
|
|
306
|
+
const time = new Date().toLocaleTimeString();
|
|
307
|
+
const colors = {
|
|
308
|
+
info: '#1e40af',
|
|
309
|
+
success: '#059669',
|
|
310
|
+
warning: '#d97706',
|
|
311
|
+
error: '#dc2626',
|
|
312
|
+
};
|
|
313
|
+
const color = colors[type] || colors.info;
|
|
314
|
+
if (logContent.textContent === 'No actions performed yet...') {
|
|
315
|
+
logContent.innerHTML = '';
|
|
316
|
+
}
|
|
317
|
+
const entry = document.createElement('div');
|
|
318
|
+
entry.style.cssText = `margin-bottom: 6px; color: ${color};`;
|
|
319
|
+
entry.innerHTML = `<strong>[${time}]</strong> ${message}`;
|
|
320
|
+
logContent.insertBefore(entry, logContent.firstChild);
|
|
321
|
+
if (logContent.children.length > 10) {
|
|
322
|
+
logContent.removeChild(logContent.lastChild);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
if (menu) {
|
|
326
|
+
menu.addEventListener('menuItemClick', e => {
|
|
327
|
+
if (e.detail && e.detail.label) {
|
|
328
|
+
addLog(`${e.detail.label} action executed`, 'success');
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
menu.items = JSON.stringify(actionMenuItems);
|
|
332
|
+
menu.setAttribute('target', '#actionTarget');
|
|
333
|
+
setTimeout(() => {
|
|
334
|
+
menu.setAttribute('target', '#actionTarget');
|
|
335
|
+
}, 0);
|
|
336
|
+
}
|
|
337
|
+
}, 100);
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
window.showDisabledItems = function () {
|
|
341
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
342
|
+
if (!container) return;
|
|
343
|
+
container.innerHTML = `
|
|
344
|
+
<div style="max-width: 600px; margin: 0 auto;">
|
|
345
|
+
<h4>Context Menu with Disabled Items</h4>
|
|
346
|
+
<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: #f9fafb; cursor: context-menu; margin: 20px 0;">
|
|
348
|
+
<div style="text-align: center;">
|
|
349
|
+
<div style="margin-bottom: 10px;">
|
|
350
|
+
<ui-icon name="ban" library="lucide" size="48px" style="color: #64748b;"></ui-icon>
|
|
351
|
+
</div>
|
|
352
|
+
<div style="color: #6b7280; font-size: 14px;">Right-click to see disabled items</div>
|
|
353
|
+
</div>
|
|
354
|
+
</div>
|
|
355
|
+
</div>
|
|
356
|
+
<ui-context-menu id="disabledMenu" icon-library="lucide"></ui-context-menu>
|
|
357
|
+
`;
|
|
358
|
+
setTimeout(() => {
|
|
359
|
+
const menu = document.getElementById('disabledMenu');
|
|
360
|
+
if (menu) {
|
|
361
|
+
menu.addEventListener('menuItemClick', e => {
|
|
362
|
+
console.log('Disabled menu clicked:', e.detail);
|
|
363
|
+
});
|
|
364
|
+
menu.items = JSON.stringify(disabledItemsMenu);
|
|
365
|
+
menu.setAttribute('target', '#disabledTarget');
|
|
366
|
+
setTimeout(() => {
|
|
367
|
+
menu.setAttribute('target', '#disabledTarget');
|
|
368
|
+
}, 0);
|
|
369
|
+
}
|
|
370
|
+
}, 100);
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
// Initialize home context menu
|
|
374
|
+
window.initHomeContextMenu = function () {
|
|
375
|
+
const menu = document.getElementById('homeContextMenu');
|
|
376
|
+
if (!menu) return;
|
|
377
|
+
|
|
378
|
+
setTimeout(() => {
|
|
379
|
+
menu.items = JSON.stringify(homeContextMenuItems);
|
|
380
|
+
setTimeout(() => {
|
|
381
|
+
menu.setAttribute('target', '#homeContextMenuTarget');
|
|
382
|
+
}, 0);
|
|
383
|
+
}, 200);
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
window.showPremiumContextMenu = function () {
|
|
387
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
388
|
+
if (!container) return;
|
|
389
|
+
|
|
390
|
+
const premiumItems = [
|
|
391
|
+
{ type: 'header', label: 'View Options' },
|
|
392
|
+
{ label: 'Show Sidebar', type: 'checkbox', checked: true, description: 'Toggle left navigation panel' },
|
|
393
|
+
{ label: 'Show Activity Bar', type: 'checkbox', checked: false, description: 'Display activity indicators' },
|
|
394
|
+
{ type: 'separator' },
|
|
395
|
+
{ type: 'header', label: 'Account Actions' },
|
|
396
|
+
{ label: 'Profile Settings', icon: 'user', description: 'Manage your personal info' },
|
|
397
|
+
{
|
|
398
|
+
label: 'Billing',
|
|
399
|
+
icon: 'credit-card',
|
|
400
|
+
children: [{ label: 'Invoices' }, { label: 'Payment Methods' }],
|
|
401
|
+
},
|
|
402
|
+
{ type: 'separator' },
|
|
403
|
+
{ label: 'Log Out', icon: 'log-out', description: 'End your current session' },
|
|
404
|
+
{ label: 'Delete Account', icon: 'trash-2', variant: 'danger', description: 'Permanently remove your data' },
|
|
405
|
+
];
|
|
406
|
+
|
|
407
|
+
container.innerHTML = `
|
|
408
|
+
<div style="max-width: 600px; margin: 0 auto;">
|
|
409
|
+
<h4>Premium Context Menu Features</h4>
|
|
410
|
+
<p style="color: #6b7280; font-size: 13px;">Headers, Descriptions, Checkboxes & Danger Actions</p>
|
|
411
|
+
<div id="premiumTarget" style="min-height: 250px; border: 2px dashed #f43f5e; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #fff1f2; cursor: context-menu; margin: 20px 0;">
|
|
412
|
+
<div style="text-align: center;">
|
|
413
|
+
<div style="margin-bottom: 10px;">
|
|
414
|
+
<ui-icon name="sparkles" library="lucide" size="48px" style="color: #be123c;"></ui-icon>
|
|
415
|
+
</div>
|
|
416
|
+
<div style="color: #be123c; font-size: 14px; font-weight: 600;">Right-click for Premium Experience</div>
|
|
417
|
+
<div style="color: #fb7185; font-size: 12px; margin-top: 4px;">Experience the new menu types</div>
|
|
418
|
+
</div>
|
|
419
|
+
</div>
|
|
420
|
+
</div>
|
|
421
|
+
<ui-context-menu id="premiumMenu" icon-library="lucide"></ui-context-menu>
|
|
422
|
+
`;
|
|
423
|
+
setTimeout(() => {
|
|
424
|
+
const menu = document.getElementById('premiumMenu');
|
|
425
|
+
if (menu) {
|
|
426
|
+
menu.addEventListener('menuItemClick', e => {
|
|
427
|
+
console.log('Premium menu clicked:', e.detail);
|
|
428
|
+
});
|
|
429
|
+
menu.items = JSON.stringify(premiumItems);
|
|
430
|
+
menu.setAttribute('target', '#premiumTarget');
|
|
431
|
+
// Force re-attach
|
|
432
|
+
setTimeout(() => {
|
|
433
|
+
menu.setAttribute('target', '#premiumTarget');
|
|
434
|
+
}, 0);
|
|
435
|
+
}
|
|
436
|
+
}, 100);
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
window.showSlotVirtualContextMenu = function () {
|
|
440
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
441
|
+
if (!container) return;
|
|
442
|
+
|
|
443
|
+
container.innerHTML = `
|
|
444
|
+
<div class="demo-block" style="margin: 0 auto; max-width: 900px; display:flex; gap:24px; flex-wrap:wrap; align-items:flex-start;">
|
|
445
|
+
<div style="flex:1; min-width:280px;">
|
|
446
|
+
<h4 style="margin-top:0;">Slot + Virtual Menu</h4>
|
|
447
|
+
<p style="color:#6b7280; font-size:13px;">Custom item templates, lazy loading, virtualization, and beforeClose hooks combine for high-velocity actions.</p>
|
|
448
|
+
<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:#4338ca;">Log ready...</div>
|
|
450
|
+
</div>
|
|
451
|
+
</div>
|
|
452
|
+
<div style="flex:1; min-width:260px;">
|
|
453
|
+
<div id="slotVirtualTarget" style="min-height:220px; border:2px dashed #cbd5e1; border-radius:12px; background:#fff; display:flex; align-items:center; justify-content:center; font-size:14px; color:#475569; cursor:context-menu; box-shadow:0 4px 20px rgba(15,23,42,0.08);">
|
|
454
|
+
Right-click or long-press here
|
|
455
|
+
</div>
|
|
456
|
+
</div>
|
|
457
|
+
</div>
|
|
458
|
+
<ui-context-menu id="slotVirtualMenu" icon-library="lucide" close-on-select="false" visible-count="5" item-height="44">
|
|
459
|
+
<template slot="item" let-item let-index let-level let-active>
|
|
460
|
+
<div class="slot-template" part="slot-item">
|
|
461
|
+
<div>
|
|
462
|
+
<span class="slot-index">{index + 1}</span>
|
|
463
|
+
<strong class="slot-label">{item.label}</strong>
|
|
464
|
+
</div>
|
|
465
|
+
<small class="slot-description">{item.description || 'Quick action'}</small>
|
|
466
|
+
<div class="slot-meta">
|
|
467
|
+
Level {level + 1}
|
|
468
|
+
<span class="slot-state">{item.checked ? ' · Selected' : ''}</span>
|
|
469
|
+
</div>
|
|
470
|
+
<ui-icon name="sparkles" library="ionicons" size="16px"></ui-icon>
|
|
471
|
+
</div>
|
|
472
|
+
</template>
|
|
473
|
+
</ui-context-menu>
|
|
474
|
+
<style>
|
|
475
|
+
.slot-template {
|
|
476
|
+
display:flex;
|
|
477
|
+
flex-direction:column;
|
|
478
|
+
gap:2px;
|
|
479
|
+
padding:6px 12px;
|
|
480
|
+
border-radius:8px;
|
|
481
|
+
background:#f8fafc;
|
|
482
|
+
border:1px solid transparent;
|
|
483
|
+
}
|
|
484
|
+
.slot-template:hover {
|
|
485
|
+
border-color:#a5b4fc;
|
|
486
|
+
background:#eef2ff;
|
|
487
|
+
}
|
|
488
|
+
.slot-label {
|
|
489
|
+
font-size:14px;
|
|
490
|
+
color:#111827;
|
|
491
|
+
}
|
|
492
|
+
.slot-description {
|
|
493
|
+
color:#475569;
|
|
494
|
+
font-size:11px;
|
|
495
|
+
}
|
|
496
|
+
.slot-meta {
|
|
497
|
+
color:#2563eb;
|
|
498
|
+
font-size:11px;
|
|
499
|
+
display:flex;
|
|
500
|
+
justify-content:space-between;
|
|
501
|
+
align-items:center;
|
|
502
|
+
}
|
|
503
|
+
.slot-index {
|
|
504
|
+
font-size:10px;
|
|
505
|
+
color:#8b5cf6;
|
|
506
|
+
margin-right:6px;
|
|
507
|
+
}
|
|
508
|
+
.slot-state {
|
|
509
|
+
font-style:italic;
|
|
510
|
+
color:#10b981;
|
|
511
|
+
}
|
|
512
|
+
</style>
|
|
513
|
+
`;
|
|
514
|
+
|
|
515
|
+
const logArea = document.getElementById('slotVirtualLog');
|
|
516
|
+
const appendLog = message => {
|
|
517
|
+
if (!logArea) return;
|
|
518
|
+
const entry = document.createElement('div');
|
|
519
|
+
entry.style.marginBottom = '6px';
|
|
520
|
+
entry.style.color = '#312e81';
|
|
521
|
+
entry.textContent = `${new Date().toLocaleTimeString()} — ${message}`;
|
|
522
|
+
logArea.prepend(entry);
|
|
523
|
+
if (logArea.childElementCount > 10) {
|
|
524
|
+
logArea.removeChild(logArea.lastElementChild);
|
|
525
|
+
}
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
const menu = document.getElementById('slotVirtualMenu');
|
|
529
|
+
if (!menu) return;
|
|
530
|
+
menu.setAttribute('target', '#slotVirtualTarget');
|
|
531
|
+
menu.visibleCount = 5;
|
|
532
|
+
menu.itemHeight = 44;
|
|
533
|
+
|
|
534
|
+
const totalActions = 40;
|
|
535
|
+
menu.loadItems = async (offset, limit) => {
|
|
536
|
+
appendLog(`Loading actions ${offset + 1}-${Math.min(totalActions, offset + limit)}`);
|
|
537
|
+
return new Promise(resolve => {
|
|
538
|
+
setTimeout(() => {
|
|
539
|
+
const chunk = Math.max(0, Math.min(totalActions - offset, limit));
|
|
540
|
+
if (chunk <= 0) {
|
|
541
|
+
resolve([]);
|
|
542
|
+
return;
|
|
543
|
+
}
|
|
544
|
+
const items = Array.from({ length: chunk }, (_, idx) => ({
|
|
545
|
+
label: `Action ${offset + idx + 1}`,
|
|
546
|
+
description: `Lazy-loaded task ${offset + idx + 1}`,
|
|
547
|
+
icon: idx % 3 ? 'sparkles' : 'zap',
|
|
548
|
+
checked: idx % 5 === 0,
|
|
549
|
+
}));
|
|
550
|
+
resolve(items);
|
|
551
|
+
}, 420);
|
|
552
|
+
});
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
menu.beforeClose = () =>
|
|
556
|
+
new Promise(resolve => {
|
|
557
|
+
appendLog('Saving preferences before closing…');
|
|
558
|
+
setTimeout(() => {
|
|
559
|
+
appendLog('Preferences saved, closing menu.');
|
|
560
|
+
resolve(true);
|
|
561
|
+
}, 700);
|
|
562
|
+
});
|
|
563
|
+
|
|
564
|
+
menu.beforeOpen = () => {
|
|
565
|
+
appendLog('Preparing virtual menu…');
|
|
566
|
+
return true;
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
menu.addEventListener('menuItemClick', event => {
|
|
570
|
+
appendLog(`Action selected: ${event.detail.item?.label}`);
|
|
571
|
+
});
|
|
572
|
+
|
|
573
|
+
let lastScrollIndex = 0;
|
|
574
|
+
const attachScrollListener = () => {
|
|
575
|
+
const scrollEl = menu.shadowRoot?.querySelector('.ctx-virtual-scroll');
|
|
576
|
+
if (!scrollEl) return;
|
|
577
|
+
scrollEl.addEventListener('scroll', () => {
|
|
578
|
+
const index = Math.floor(scrollEl.scrollTop / Number(menu.itemHeight || 44));
|
|
579
|
+
if (index !== lastScrollIndex) {
|
|
580
|
+
lastScrollIndex = index;
|
|
581
|
+
appendLog(`Virtual window offset: ${index + 1}`);
|
|
582
|
+
}
|
|
583
|
+
});
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
setTimeout(attachScrollListener, 50);
|
|
587
|
+
menu.addEventListener('menuToggle', event => {
|
|
588
|
+
if (event.detail) {
|
|
589
|
+
setTimeout(attachScrollListener, 100);
|
|
590
|
+
}
|
|
591
|
+
});
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
showBasicContextMenu();
|
|
595
|
+
}, 100);
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
// Interactive Playground Functions
|
|
599
|
+
window.showInteractiveContextMenu = function () {
|
|
600
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
601
|
+
if (!container) return;
|
|
602
|
+
|
|
603
|
+
container.innerHTML = `
|
|
604
|
+
<div style="background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);">
|
|
605
|
+
<div style="display: flex; gap: 30px; flex-wrap: wrap;">
|
|
606
|
+
<div style="flex: 1; min-width: 250px;">
|
|
607
|
+
<h3 style="margin-top: 0;">🎮 Interactive Playground</h3>
|
|
608
|
+
<div style="display: flex; flex-direction: column; gap: 15px; margin-top: 20px;">
|
|
609
|
+
<div>
|
|
610
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Menu Items (JSON):</label>
|
|
611
|
+
<ui-input id="contextMenuItems" multiline="true" rows="15"
|
|
612
|
+
style="font-family: monospace; font-size: 12px;"></ui-input>
|
|
613
|
+
</div>
|
|
614
|
+
<div style="display:flex; gap:8px; flex-wrap:wrap;">
|
|
615
|
+
<ui-button id="addNewButton" variant="outline" color="success" label="➕ Add 'New' Button" size="md"ui-button>
|
|
616
|
+
<ui-button id="resetItems" variant="outline" color="secondary" label="Reset" size="md"ui-button>
|
|
617
|
+
</div>
|
|
618
|
+
|
|
619
|
+
<div style="padding: 10px; background: #f0f9ff; border-radius: 4px; font-size: 12px;">
|
|
620
|
+
<strong>💡 Tip:</strong> Right-click the preview area to open the menu
|
|
621
|
+
</div>
|
|
622
|
+
</div>
|
|
623
|
+
</div>
|
|
624
|
+
|
|
625
|
+
<div style="flex: 1; min-width: 300px; background-color: #f9fafb; padding: 20px; border-radius: 8px; border: 1px solid #e5e7eb;">
|
|
626
|
+
<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: white; cursor: context-menu;">
|
|
628
|
+
<div style="text-align: center;">
|
|
629
|
+
<div style="margin-bottom: 10px;">
|
|
630
|
+
<ui-icon name="mouse-pointer-2" library="lucide" size="48px" style="color: #64748b;"></ui-icon>
|
|
631
|
+
</div>
|
|
632
|
+
<div style="color: #6b7280; font-size: 14px;">Right-click here</div>
|
|
633
|
+
</div>
|
|
634
|
+
</div>
|
|
635
|
+
<div id="contextMenuOutput" style="margin-top: 20px; padding: 10px; background-color: white; border-radius: 4px; font-family: monospace; font-size: 12px; display: none;"></div>
|
|
636
|
+
|
|
637
|
+
<div style="margin-top: 20px; background: #1e293b; padding: 16px; border-radius: 8px; position: relative;">
|
|
638
|
+
<ui-button id="copyContextMenuBtn" variant="outline" color="secondary" label="Copy" size="md"yle="position: absolute; top: 10px; right: 10px;"></ui-button>
|
|
639
|
+
<code id="contextMenuCodeBlock" style="color: #e2e8f0; font-family: monospace; font-size: 13px; display: block; overflow-x: auto; padding-right: 50px; white-space: pre-wrap;">
|
|
640
|
+
<ui-context-menu ... icon-library="lucide"></ui-context-menu>
|
|
641
|
+
</code>
|
|
642
|
+
</div>
|
|
643
|
+
</div>
|
|
644
|
+
</div>
|
|
645
|
+
</div>
|
|
646
|
+
<ui-context-menu id="interactiveContextMenuComponent" icon-library="lucide"></ui-context-menu>
|
|
647
|
+
`;
|
|
648
|
+
|
|
649
|
+
// Set initial textarea value
|
|
650
|
+
const textarea = document.getElementById('contextMenuItems');
|
|
651
|
+
if (textarea) {
|
|
652
|
+
textarea.value = JSON.stringify(interactiveDefaultItems, null, 2);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
updateInteractiveContextMenu();
|
|
656
|
+
|
|
657
|
+
setTimeout(() => {
|
|
658
|
+
document.getElementById('copyContextMenuBtn')?.addEventListener('click', () => window.copyContextMenuCode());
|
|
659
|
+
document.getElementById('addNewButton')?.addEventListener('click', () => {
|
|
660
|
+
try {
|
|
661
|
+
const data = JSON.parse(textarea.value);
|
|
662
|
+
const hasNew = Array.isArray(data) && data.some(it => it && it.id === 'new');
|
|
663
|
+
if (!hasNew) {
|
|
664
|
+
data.unshift({
|
|
665
|
+
id: 'new',
|
|
666
|
+
label: 'New',
|
|
667
|
+
icon: 'plus',
|
|
668
|
+
children: [
|
|
669
|
+
{ id: 'new-file', label: 'File', icon: 'file' },
|
|
670
|
+
{ id: 'new-folder', label: 'Folder', icon: 'folder' },
|
|
671
|
+
],
|
|
672
|
+
});
|
|
673
|
+
textarea.value = JSON.stringify(data, null, 2);
|
|
674
|
+
window.updateInteractiveContextMenu();
|
|
675
|
+
}
|
|
676
|
+
} catch {}
|
|
677
|
+
});
|
|
678
|
+
document.getElementById('resetItems')?.addEventListener('click', () => {
|
|
679
|
+
textarea.value = JSON.stringify(interactiveDefaultItems, null, 2);
|
|
680
|
+
window.updateInteractiveContextMenu();
|
|
681
|
+
});
|
|
682
|
+
textarea?.addEventListener('inputChange', () => window.updateInteractiveContextMenu());
|
|
683
|
+
}, 100);
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
window.updateInteractiveContextMenu = function () {
|
|
687
|
+
const itemsText = document.getElementById('contextMenuItems').value;
|
|
688
|
+
const menu = document.getElementById('interactiveContextMenuComponent');
|
|
689
|
+
const outputDiv = document.getElementById('contextMenuOutput');
|
|
690
|
+
|
|
691
|
+
if (!menu) return;
|
|
692
|
+
|
|
693
|
+
try {
|
|
694
|
+
const items = JSON.parse(itemsText);
|
|
695
|
+
menu.items = JSON.stringify(items);
|
|
696
|
+
menu.setAttribute('target', '#interactiveContextMenuTarget');
|
|
697
|
+
|
|
698
|
+
// Update Code Block
|
|
699
|
+
const codeBlock = document.getElementById('contextMenuCodeBlock');
|
|
700
|
+
if (codeBlock) {
|
|
701
|
+
codeBlock.innerText = `<ui-context-menu target="#target-element" icon-library="lucide"></ui-context-menu>\n<script>\n const menu = document.querySelector('ui-context-menu');\n menu.items = ${JSON.stringify(items, null, 2)};\n</script>`;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
// Remove old listener and add new one
|
|
705
|
+
const newMenu = menu.cloneNode(true);
|
|
706
|
+
menu.parentNode.replaceChild(newMenu, menu);
|
|
707
|
+
|
|
708
|
+
setTimeout(() => {
|
|
709
|
+
const updatedMenu = document.getElementById('interactiveContextMenuComponent');
|
|
710
|
+
if (updatedMenu) {
|
|
711
|
+
updatedMenu.items = JSON.stringify(items);
|
|
712
|
+
updatedMenu.setAttribute('target', '#interactiveContextMenuTarget');
|
|
713
|
+
|
|
714
|
+
updatedMenu.addEventListener('menuItemClick', event => {
|
|
715
|
+
if (outputDiv) {
|
|
716
|
+
outputDiv.style.display = 'block';
|
|
717
|
+
outputDiv.textContent = `Menu item clicked: ${JSON.stringify(event.detail)}`;
|
|
718
|
+
}
|
|
719
|
+
});
|
|
720
|
+
}
|
|
721
|
+
}, 50);
|
|
722
|
+
} catch (error) {
|
|
723
|
+
if (outputDiv) {
|
|
724
|
+
outputDiv.style.display = 'block';
|
|
725
|
+
outputDiv.style.color = '#ef4444';
|
|
726
|
+
outputDiv.textContent = `Invalid JSON: ${error.message}`;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
window.copyContextMenuCode = () => {
|
|
732
|
+
const code = document.getElementById('contextMenuCodeBlock').innerText;
|
|
733
|
+
const btn = document.getElementById('copyContextMenuBtn');
|
|
734
|
+
navigator.clipboard.writeText(code).then(() => {
|
|
735
|
+
const originalText = btn.innerText;
|
|
736
|
+
btn.innerText = 'Copied!';
|
|
737
|
+
btn.style.background = '#10b981';
|
|
738
|
+
setTimeout(() => {
|
|
739
|
+
btn.innerText = originalText;
|
|
740
|
+
btn.style.background = 'rgba(255,255,255,0.1)';
|
|
741
|
+
}, 2000);
|
|
742
|
+
});
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
window.showMissingFeaturesValidation = () => {
|
|
746
|
+
const container = document.getElementById('contextMenuDemoContainer');
|
|
747
|
+
if (!container) return;
|
|
748
|
+
container.innerHTML = `
|
|
749
|
+
<div class="demo-block">
|
|
750
|
+
<h3>Context Menu Validation & Missing Features</h3>
|
|
751
|
+
<p style="color: #6b7280; margin-bottom: 20px;">Use this area to validate gaps identified in the analysis.</p>
|
|
752
|
+
|
|
753
|
+
<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: #fffbeb; cursor: context-menu;">
|
|
755
|
+
<div style="text-align: center;">
|
|
756
|
+
<div style="margin-bottom: 10px;">
|
|
757
|
+
<ui-icon name="flask-conical" library="lucide" size="48px" style="color: #92400e;"></ui-icon>
|
|
758
|
+
</div>
|
|
759
|
+
<div style="color: #92400e; font-size: 14px; font-weight: 600;">Right-Click for Test Menu</div>
|
|
760
|
+
<div style="color: #b45309; font-size: 12px; margin-top: 4px;">Test checkboxes & mobile trigger</div>
|
|
761
|
+
</div>
|
|
762
|
+
</div>
|
|
763
|
+
|
|
764
|
+
<div style="margin-top: 24px; padding: 16px; background: #fff1f2; border: 1px solid #fecdd3; border-radius: 8px;">
|
|
765
|
+
<h5 style="margin:0 0 12px 0; color: #be123c;">Missing Features Test Plan:</h5>
|
|
766
|
+
<ul style="margin:0; padding-left: 20px; color: #9f1239; font-size: 13px; line-height: 1.6;">
|
|
767
|
+
<li>
|
|
768
|
+
<strong>Unmanaged Checkboxes/Radios:</strong>
|
|
769
|
+
<br>Click "View Sidebar" or "Theme Options" in the menu.
|
|
770
|
+
<br><em>Expected:</em> Items should toggle state visually.
|
|
771
|
+
<br><em>Actual:</em> State does not change (Component is stateless/controlled only).
|
|
772
|
+
</li>
|
|
773
|
+
<li style="margin-top:8px">
|
|
774
|
+
<strong>Mobile Trigger:</strong>
|
|
775
|
+
<br>Touch and hold (Long Press) on the test area above (simulation).
|
|
776
|
+
<br><em>Expected:</em> Menu should open.
|
|
777
|
+
<br><em>Actual:</em> Likely native context menu or nothing (Needs <code>longpress</code> handling).
|
|
778
|
+
</li>
|
|
779
|
+
<li style="margin-top:8px">
|
|
780
|
+
<strong>Icon rendering:</strong>
|
|
781
|
+
<br>Icons are currently string-only (innerHTML). Unable to pass component slots for icons.
|
|
782
|
+
</li>
|
|
783
|
+
</ul>
|
|
784
|
+
</div>
|
|
785
|
+
</div>
|
|
786
|
+
<div id="contextMenuLog" style="margin-top: 12px; padding: 12px; border-radius: 8px; background: #f8fafc; border: 1px solid #e5e7eb; font-size: 13px; max-height: 160px; overflow-y: auto;"></div>
|
|
787
|
+
<ui-context-menu id="validationMenu" icon-library="lucide" persist-state="true" long-press-duration="600"></ui-context-menu>
|
|
788
|
+
`;
|
|
789
|
+
|
|
790
|
+
setTimeout(() => {
|
|
791
|
+
const menu = document.getElementById('validationMenu');
|
|
792
|
+
const logArea = document.getElementById('contextMenuLog');
|
|
793
|
+
const appendLog = msg => {
|
|
794
|
+
if (!logArea) return;
|
|
795
|
+
const entry = document.createElement('div');
|
|
796
|
+
entry.style.marginBottom = '4px';
|
|
797
|
+
entry.style.color = '#92400e';
|
|
798
|
+
entry.textContent = msg;
|
|
799
|
+
logArea.prepend(entry);
|
|
800
|
+
};
|
|
801
|
+
if (menu) {
|
|
802
|
+
menu.items = JSON.stringify([
|
|
803
|
+
{ type: 'header', label: 'State Test' },
|
|
804
|
+
{ label: 'View Sidebar', type: 'checkbox', checked: false, id: 'view-sidebar', iconTemplate: '<span style="font-size:14px; line-height:1;">📚</span>' },
|
|
805
|
+
{ label: 'View Activity', type: 'checkbox', checked: true, id: 'view-activity', iconTemplate: '<span style="font-size:14px; line-height:1;">📊</span>' },
|
|
806
|
+
{ type: 'separator' },
|
|
807
|
+
{ type: 'header', label: 'Radio Test (Theme)' },
|
|
808
|
+
{ label: 'Light', type: 'radio', checked: true, id: 'theme-light', iconTemplate: '<span style="font-size:14px; line-height:1;">🌝</span>' },
|
|
809
|
+
{ label: 'Dark', type: 'radio', checked: false, id: 'theme-dark', iconTemplate: '<span style="font-size:14px; line-height:1;">🌚</span>' },
|
|
810
|
+
{ label: 'Auto', type: 'radio', checked: false, id: 'theme-auto', iconTemplate: '<span style="font-size:14px; line-height:1;">⚙️</span>' },
|
|
811
|
+
]);
|
|
812
|
+
menu.setAttribute('target', '#validationTarget');
|
|
813
|
+
menu.addEventListener('itemSelect', event => {
|
|
814
|
+
const { item } = event.detail;
|
|
815
|
+
if (item.type === 'checkbox' || item.type === 'radio') {
|
|
816
|
+
appendLog(`State saved: ${item.label} is now ${item.checked ? 'on' : 'off'}`);
|
|
817
|
+
} else {
|
|
818
|
+
appendLog(`Selected: ${item.label}`);
|
|
819
|
+
}
|
|
820
|
+
});
|
|
821
|
+
menu.addEventListener('longPress', () => {
|
|
822
|
+
appendLog('Long press detected; mobile trigger working!');
|
|
823
|
+
});
|
|
824
|
+
setTimeout(() => {
|
|
825
|
+
menu.setAttribute('target', '#validationTarget');
|
|
826
|
+
}, 0);
|
|
827
|
+
}
|
|
828
|
+
}, 100);
|
|
829
|
+
};
|