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,764 @@
|
|
|
1
|
+
// Component Demo Functions
|
|
2
|
+
export function initSpeedDialDemo() {
|
|
3
|
+
const section = document.getElementById('speed-dial');
|
|
4
|
+
if (!section) return;
|
|
5
|
+
|
|
6
|
+
section.innerHTML = `
|
|
7
|
+
|
|
8
|
+
<p>Floating action button with expandable menu for quick actions.</p>
|
|
9
|
+
|
|
10
|
+
<div class="demo-controls" style="margin: 20px 0; display: flex; gap: 10px; flex-wrap: wrap;">
|
|
11
|
+
<ui-button onclick="showBasicSpeedDial()" variant="outline">Basic</ui-button>
|
|
12
|
+
<ui-button onclick="showSpeedDialPositions()" variant="outline">Positions</ui-button>
|
|
13
|
+
<ui-button onclick="showSpeedDialColors()" variant="outline">Colors</ui-button>
|
|
14
|
+
<ui-button onclick="showSpeedDialApex()" variant="outline">🏆 Apex Showcase</ui-button>
|
|
15
|
+
<ui-button onclick="showSpeedDialCustom()" variant="outline">Custom</ui-button>
|
|
16
|
+
<ui-button onclick="showContainerPositioning()" variant="outline">Container</ui-button>
|
|
17
|
+
<ui-button onclick="showInteractiveSpeedDial()" variant="outline">🎮 Interactive Playground</ui-button>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<div id="speedDialDemoContainer" style="margin-top: 20px;"></div>
|
|
21
|
+
`;
|
|
22
|
+
|
|
23
|
+
// Initialize with basic speed dial
|
|
24
|
+
setTimeout(() => {
|
|
25
|
+
// Speed Dial Demo Functions
|
|
26
|
+
window.showBasicSpeedDial = function () {
|
|
27
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
28
|
+
if (!container) return;
|
|
29
|
+
container.innerHTML = `
|
|
30
|
+
<div style="text-align: center; padding: 40px;">
|
|
31
|
+
<h4>Basic Speed Dial</h4>
|
|
32
|
+
<p style="color: #6b7280;">Click the button in the bottom-right corner to see the actions</p>
|
|
33
|
+
</div>
|
|
34
|
+
`;
|
|
35
|
+
setTimeout(() => {
|
|
36
|
+
const dial = document.createElement('ui-speed-dial');
|
|
37
|
+
dial.setAttribute('position', 'bottom-right');
|
|
38
|
+
dial.setAttribute('color', 'primary');
|
|
39
|
+
dial.setAttribute('icon-library', 'lucide');
|
|
40
|
+
dial.setAttribute('action-library', 'lucide');
|
|
41
|
+
dial.actions = [
|
|
42
|
+
{ id: 'add', label: 'Add Item', icon: 'plus', color: '#10b981' },
|
|
43
|
+
{ id: 'edit', label: 'Edit', icon: 'pencil', color: '#10b981' },
|
|
44
|
+
{ id: 'share', label: 'Share', icon: 'share', color: '#f59e0b' },
|
|
45
|
+
{ id: 'delete', label: 'Delete', icon: 'trash-2', color: '#ef4444' },
|
|
46
|
+
];
|
|
47
|
+
container.appendChild(dial);
|
|
48
|
+
|
|
49
|
+
dial.addEventListener('actionClick', e => {
|
|
50
|
+
alert('Action clicked: ' + e.detail);
|
|
51
|
+
});
|
|
52
|
+
}, 100);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
window.showSpeedDialPositions = function () {
|
|
56
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
57
|
+
if (!container) return;
|
|
58
|
+
container.innerHTML = `
|
|
59
|
+
<div style="text-align: center; padding: 20px;">
|
|
60
|
+
<h4>Different Positions</h4>
|
|
61
|
+
<p style="color: #6b7280; margin-bottom: 20px;">Speed dials placed in all four corners</p>
|
|
62
|
+
<div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center;">
|
|
63
|
+
<div style="padding: 10px; background: #f3f4f6; border-radius: 6px;">
|
|
64
|
+
<strong>Top Left</strong>
|
|
65
|
+
</div>
|
|
66
|
+
<div style="padding: 10px; background: #f3f4f6; border-radius: 6px;">
|
|
67
|
+
<strong>Top Right</strong>
|
|
68
|
+
</div>
|
|
69
|
+
<div style="padding: 10px; background: #f3f4f6; border-radius: 6px;">
|
|
70
|
+
<strong>Bottom Left</strong>
|
|
71
|
+
</div>
|
|
72
|
+
<div style="padding: 10px; background: #f3f4f6; border-radius: 6px;">
|
|
73
|
+
<strong>Bottom Right</strong>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
`;
|
|
78
|
+
setTimeout(() => {
|
|
79
|
+
const positions = ['top-left', 'top-right', 'bottom-left', 'bottom-right'];
|
|
80
|
+
const colors = ['primary', 'success', 'warning', 'danger'];
|
|
81
|
+
|
|
82
|
+
positions.forEach((pos, idx) => {
|
|
83
|
+
const dial = document.createElement('ui-speed-dial');
|
|
84
|
+
dial.setAttribute('position', pos);
|
|
85
|
+
dial.setAttribute('color', colors[idx]);
|
|
86
|
+
dial.setAttribute('strategy', 'absolute');
|
|
87
|
+
dial.setAttribute('icon-library', 'lucide');
|
|
88
|
+
dial.setAttribute('action-library', 'lucide');
|
|
89
|
+
dial.setAttribute('size', 'sm');
|
|
90
|
+
dial.actions = [
|
|
91
|
+
{ id: 'action1', label: 'Action 1', icon: 'hash' },
|
|
92
|
+
{ id: 'action2', label: 'Action 2', icon: 'hash' },
|
|
93
|
+
{ id: 'action3', label: 'Action 3', icon: 'hash' },
|
|
94
|
+
];
|
|
95
|
+
container.appendChild(dial);
|
|
96
|
+
});
|
|
97
|
+
}, 100);
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
window.showSpeedDialDirections = function () {
|
|
101
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
102
|
+
if (!container) return;
|
|
103
|
+
container.innerHTML = `
|
|
104
|
+
<div style="text-align: center; padding: 40px;">
|
|
105
|
+
<h4>Custom Directions</h4>
|
|
106
|
+
<p style="color: #6b7280;">Force specific opening directions</p>
|
|
107
|
+
<div style="margin-top: 20px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;">
|
|
108
|
+
<div style="padding: 10px; background: #fef3c7; border-radius: 6px;">Up</div>
|
|
109
|
+
<div style="padding: 10px; background: #dbeafe; border-radius: 6px;">Down</div>
|
|
110
|
+
<div style="padding: 10px; background: #fce7f3; border-radius: 6px;">Left</div>
|
|
111
|
+
<div style="padding: 10px; background: #dcfce7; border-radius: 6px;">Right</div>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
`;
|
|
115
|
+
setTimeout(() => {
|
|
116
|
+
const directions = [
|
|
117
|
+
{ dir: 'up', pos: 'bottom-left', color: 'warning' },
|
|
118
|
+
{ dir: 'down', pos: 'top-left', color: 'info' },
|
|
119
|
+
{ dir: 'left', pos: 'bottom-right', color: 'danger' },
|
|
120
|
+
{ dir: 'right', pos: 'bottom-left', color: 'success' },
|
|
121
|
+
];
|
|
122
|
+
|
|
123
|
+
directions.forEach((config, idx) => {
|
|
124
|
+
const dial = document.createElement('ui-speed-dial');
|
|
125
|
+
dial.setAttribute('position', config.pos);
|
|
126
|
+
dial.setAttribute('direction', config.dir);
|
|
127
|
+
dial.setAttribute('color', config.color);
|
|
128
|
+
dial.setAttribute('icon-library', 'lucide');
|
|
129
|
+
dial.setAttribute('action-library', 'lucide');
|
|
130
|
+
dial.setAttribute('size', 'sm');
|
|
131
|
+
dial.actions = [
|
|
132
|
+
{ id: 'a1', label: config.dir.toUpperCase(), icon: 'arrow-right' },
|
|
133
|
+
{ id: 'a2', label: 'Action', icon: 'star' },
|
|
134
|
+
];
|
|
135
|
+
container.appendChild(dial);
|
|
136
|
+
});
|
|
137
|
+
}, 100);
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
window.showSpeedDialSizes = function () {
|
|
141
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
142
|
+
if (!container) return;
|
|
143
|
+
container.innerHTML = `
|
|
144
|
+
<div style="text-align: center; padding: 40px;">
|
|
145
|
+
<h4>Different Sizes</h4>
|
|
146
|
+
<p style="color: #6b7280;">Small, md, and Large speed dials</p>
|
|
147
|
+
</div>
|
|
148
|
+
`;
|
|
149
|
+
setTimeout(() => {
|
|
150
|
+
const sizes = ['sm', 'md', 'lg'];
|
|
151
|
+
const positions = ['bottom-left', 'bottom-right', 'top-right'];
|
|
152
|
+
|
|
153
|
+
sizes.forEach((size, idx) => {
|
|
154
|
+
const dial = document.createElement('ui-speed-dial');
|
|
155
|
+
dial.setAttribute('position', positions[idx]);
|
|
156
|
+
dial.setAttribute('size', size);
|
|
157
|
+
dial.setAttribute('color', 'primary');
|
|
158
|
+
dial.setAttribute('strategy', 'absolute');
|
|
159
|
+
dial.setAttribute('icon-library', 'lucide');
|
|
160
|
+
dial.setAttribute('action-library', 'lucide');
|
|
161
|
+
dial.actions = [
|
|
162
|
+
{ id: 'add', label: 'Add (' + size.toUpperCase() + ')', icon: 'plus' },
|
|
163
|
+
{ id: 'edit', label: 'Edit', icon: 'pencil' },
|
|
164
|
+
];
|
|
165
|
+
container.appendChild(dial);
|
|
166
|
+
});
|
|
167
|
+
}, 100);
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
window.showSpeedDialRadial = function () {
|
|
171
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
172
|
+
if (!container) return;
|
|
173
|
+
container.innerHTML = `
|
|
174
|
+
<div style="text-align: center; padding: 40px;">
|
|
175
|
+
<h4>Radial & Arc Layouts</h4>
|
|
176
|
+
<p style="color: #6b7280;">Modern circular and semi-circular action menus</p>
|
|
177
|
+
<div style="display: flex; gap: 40px; justify-content: center; height: 300px; align-items: center;">
|
|
178
|
+
<div style="position: relative; width: 100px; height: 100px; border: 1px dashed #ccc; border-radius: 50%;">
|
|
179
|
+
<p style="font-size: 10px;">Radial (360°)</p>
|
|
180
|
+
<ui-speed-dial id="dialRadial" position="center" layout="radial" color="primary" size="md" icon-library="lucide" action-library="lucide"></ui-speed-dial>
|
|
181
|
+
</div>
|
|
182
|
+
<div style="position: relative; width: 100px; height: 100px; border: 1px dashed #ccc; border-radius: 50%;">
|
|
183
|
+
<p style="font-size: 10px;">Arc (120°)</p>
|
|
184
|
+
<ui-speed-dial id="dialArc" position="center" layout="arc" direction="up" color="success" size="md" icon-library="lucide" action-library="lucide"></ui-speed-dial>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
`;
|
|
189
|
+
setTimeout(() => {
|
|
190
|
+
const actions = [
|
|
191
|
+
{ id: '1', label: 'Feature 1', icon: 'zap' },
|
|
192
|
+
{ id: '2', label: 'Feature 2', icon: 'star' },
|
|
193
|
+
{ id: '3', label: 'Feature 3', icon: 'heart' },
|
|
194
|
+
{ id: '4', label: 'Feature 4', icon: 'bell' },
|
|
195
|
+
{ id: '5', label: 'Feature 5', icon: 'cloud' },
|
|
196
|
+
];
|
|
197
|
+
document.getElementById('dialRadial').actions = actions;
|
|
198
|
+
document.getElementById('dialArc').actions = actions;
|
|
199
|
+
}, 100);
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
window.showSpeedDialColors = function () {
|
|
203
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
204
|
+
if (!container) return;
|
|
205
|
+
container.innerHTML = `
|
|
206
|
+
<div style="text-align: center; padding: 20px;">
|
|
207
|
+
<h4>Color Variants</h4>
|
|
208
|
+
<p style="color: #6b7280; margin-bottom: 20px;">All available color schemes</p>
|
|
209
|
+
<div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px;">
|
|
210
|
+
<div style="padding: 10px; background: #dbeafe; border-radius: 6px;">Primary</div>
|
|
211
|
+
<div style="padding: 10px; background: #e5e7eb; border-radius: 6px;">Secondary</div>
|
|
212
|
+
<div style="padding: 10px; background: #dcfce7; border-radius: 6px;">Success</div>
|
|
213
|
+
<div style="padding: 10px; background: #fee2e2; border-radius: 6px;">Danger</div>
|
|
214
|
+
<div style="padding: 10px; background: #fef3c7; border-radius: 6px;">Warning</div>
|
|
215
|
+
<div style="padding: 10px; background: #cffafe; border-radius: 6px;">Info</div>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
`;
|
|
219
|
+
setTimeout(() => {
|
|
220
|
+
const colors = ['primary', 'secondary', 'success', 'danger', 'warning', 'info'];
|
|
221
|
+
const positions = ['top-left', 'top-right', 'bottom-left', 'bottom-right', 'top-left', 'bottom-right'];
|
|
222
|
+
|
|
223
|
+
colors.forEach((color, idx) => {
|
|
224
|
+
const dial = document.createElement('ui-speed-dial');
|
|
225
|
+
dial.setAttribute('position', positions[idx]);
|
|
226
|
+
dial.setAttribute('color', color);
|
|
227
|
+
dial.setAttribute('strategy', 'absolute');
|
|
228
|
+
dial.setAttribute('icon-library', 'lucide');
|
|
229
|
+
dial.setAttribute('action-library', 'lucide');
|
|
230
|
+
dial.setAttribute('size', 'sm');
|
|
231
|
+
dial.actions = [
|
|
232
|
+
{ id: 'action1', label: color.toUpperCase(), icon: 'star' },
|
|
233
|
+
{ id: 'action2', label: 'Action', icon: 'zap' },
|
|
234
|
+
];
|
|
235
|
+
container.appendChild(dial);
|
|
236
|
+
});
|
|
237
|
+
}, 100);
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
window.showSpeedDialWithTooltips = function () {
|
|
241
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
242
|
+
if (!container) return;
|
|
243
|
+
container.innerHTML = `
|
|
244
|
+
<div style="text-align: center; padding: 40px;">
|
|
245
|
+
<h4>With Tooltips</h4>
|
|
246
|
+
<p style="color: #6b7280;">Hover over action buttons to see tooltips</p>
|
|
247
|
+
</div>
|
|
248
|
+
`;
|
|
249
|
+
setTimeout(() => {
|
|
250
|
+
const dial = document.createElement('ui-speed-dial');
|
|
251
|
+
dial.setAttribute('position', 'bottom-right');
|
|
252
|
+
dial.setAttribute('color', 'primary');
|
|
253
|
+
dial.setAttribute('show-tooltips', 'true');
|
|
254
|
+
dial.setAttribute('icon-library', 'lucide');
|
|
255
|
+
dial.setAttribute('action-library', 'lucide');
|
|
256
|
+
dial.setAttribute('size', 'md');
|
|
257
|
+
dial.actions = [
|
|
258
|
+
{ id: 'save', label: 'Save Document', icon: 'save' },
|
|
259
|
+
{ id: 'print', label: 'Print Document', icon: 'printer' },
|
|
260
|
+
{ id: 'email', label: 'Send via Email', icon: 'mail' },
|
|
261
|
+
{ id: 'download', label: 'Download File', icon: 'download' },
|
|
262
|
+
{ id: 'settings', label: 'Open Settings', icon: 'settings' },
|
|
263
|
+
];
|
|
264
|
+
container.appendChild(dial);
|
|
265
|
+
|
|
266
|
+
dial.addEventListener('actionClick', e => {
|
|
267
|
+
const actionLabels = {
|
|
268
|
+
save: 'Document saved!',
|
|
269
|
+
print: 'Printing...',
|
|
270
|
+
email: 'Opening email client...',
|
|
271
|
+
download: 'Download started',
|
|
272
|
+
settings: 'Opening settings...',
|
|
273
|
+
};
|
|
274
|
+
alert(actionLabels[e.detail] || 'Action: ' + e.detail);
|
|
275
|
+
});
|
|
276
|
+
}, 100);
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
// Initialize home speed dial demo
|
|
280
|
+
window.initHomeSpeedDial = function () {
|
|
281
|
+
const container = document.getElementById('homeSpeedDialDemo');
|
|
282
|
+
if (!container) return;
|
|
283
|
+
|
|
284
|
+
setTimeout(() => {
|
|
285
|
+
const dial = document.createElement('ui-speed-dial');
|
|
286
|
+
dial.setAttribute('position', 'bottom-right');
|
|
287
|
+
dial.setAttribute('color', 'primary');
|
|
288
|
+
dial.setAttribute('icon-library', 'lucide');
|
|
289
|
+
dial.setAttribute('action-library', 'lucide');
|
|
290
|
+
dial.setAttribute('size', 'md');
|
|
291
|
+
dial.actions = [
|
|
292
|
+
{ id: 'add', label: 'Add', icon: 'plus', color: '#10b981' },
|
|
293
|
+
{ id: 'edit', label: 'Edit', icon: 'pencil', color: '#10b981' },
|
|
294
|
+
{ id: 'share', label: 'Share', icon: 'share', color: '#f59e0b' },
|
|
295
|
+
];
|
|
296
|
+
container.appendChild(dial);
|
|
297
|
+
}, 200);
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
window.showTriggerModes = function () {
|
|
301
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
302
|
+
if (!container) return;
|
|
303
|
+
container.innerHTML = `
|
|
304
|
+
<div style="text-align: center; padding: 40px;">
|
|
305
|
+
<h4>Trigger Modes</h4>
|
|
306
|
+
<p style="color: #6b7280; margin-bottom: 20px;">Use Click (default) or Hover to open the menu</p>
|
|
307
|
+
<div style="display: flex; gap: 40px; justify-content: center;">
|
|
308
|
+
<div style="position: relative; width: 100px; height: 100px;">
|
|
309
|
+
<p><strong>Hover Me</strong></p>
|
|
310
|
+
<ui-speed-dial position="center" trigger="hover" color="success" size="md" show-tooltips="true" icon-library="lucide" action-library="lucide">
|
|
311
|
+
<!-- Actions added dynamically -->
|
|
312
|
+
</ui-speed-dial>
|
|
313
|
+
</div>
|
|
314
|
+
<div style="position: relative; width: 100px; height: 100px;">
|
|
315
|
+
<p><strong>Click Me</strong></p>
|
|
316
|
+
<ui-speed-dial position="center" trigger="click" color="primary" size="md" icon-library="lucide" action-library="lucide">
|
|
317
|
+
<!-- Actions added dynamically -->
|
|
318
|
+
</ui-speed-dial>
|
|
319
|
+
</div>
|
|
320
|
+
</div>
|
|
321
|
+
</div>
|
|
322
|
+
`;
|
|
323
|
+
setTimeout(() => {
|
|
324
|
+
document.querySelectorAll('ui-speed-dial').forEach(dial => {
|
|
325
|
+
dial.actions = [
|
|
326
|
+
{ id: '1', label: 'Like', icon: 'thumbs-up' },
|
|
327
|
+
{ id: '2', label: 'Share', icon: 'link' },
|
|
328
|
+
];
|
|
329
|
+
});
|
|
330
|
+
}, 100);
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
window.showSpeedDialApex = function () {
|
|
334
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
335
|
+
if (!container) return;
|
|
336
|
+
container.innerHTML = `
|
|
337
|
+
<div style="text-align: center; padding: 40px;">
|
|
338
|
+
<h4>Apex Elite Showcase</h4>
|
|
339
|
+
<p style="color: #6b7280;">Combining Radial Distribution, Glassmorphism, and Physics</p>
|
|
340
|
+
<div style="display: flex; gap: 60px; justify-content: center; height: 350px; align-items: center;">
|
|
341
|
+
<div style="position: relative; width: 120px; height: 120px; border: 1px dashed #ccc; border-radius: 50%;">
|
|
342
|
+
<p style="font-size: 10px; margin-top: -20px;">Radial Apex</p>
|
|
343
|
+
<ui-speed-dial id="dialApex1" position="center" strategy="absolute" layout="radial" magnetic="true" glassy="true" color="primary" size="md" icon-library="lucide" action-library="lucide"></ui-speed-dial>
|
|
344
|
+
</div>
|
|
345
|
+
<div style="position: relative; width: 120px; height: 120px; border: 1px dashed #ccc; border-radius: 50%;">
|
|
346
|
+
<p style="font-size: 10px; margin-top: -20px;">Arc Apex</p>
|
|
347
|
+
<ui-speed-dial id="dialApex2" position="center" strategy="absolute" layout="arc" direction="up" magnetic="true" is-draggable="true" toggle-icon="x" color="success" size="md" icon-library="lucide" action-library="lucide"></ui-speed-dial>
|
|
348
|
+
</div>
|
|
349
|
+
</div>
|
|
350
|
+
</div>
|
|
351
|
+
`;
|
|
352
|
+
setTimeout(() => {
|
|
353
|
+
const actions = [
|
|
354
|
+
{ id: '1', label: 'Feature 1', icon: 'zap', badge: '5', badgeColor: '#ef4444', shortcut: '1' },
|
|
355
|
+
{ id: '2', label: 'Feature 2', icon: 'star', badge: 'new', badgeColor: '#10b981', shortcut: '2' },
|
|
356
|
+
{ id: '3', label: 'Feature 3', icon: 'heart', shortcut: '3' },
|
|
357
|
+
{ id: '4', label: 'Feature 4', icon: 'bell', shortcut: '4' },
|
|
358
|
+
{ id: '5', label: 'Feature 5', icon: 'settings', shortcut: 's' },
|
|
359
|
+
];
|
|
360
|
+
document.getElementById('dialApex1').actions = actions;
|
|
361
|
+
document.getElementById('dialApex2').actions = actions;
|
|
362
|
+
}, 100);
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
window.showSpeedDialCustom = function () {
|
|
366
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
367
|
+
if (!container) return;
|
|
368
|
+
container.innerHTML = `
|
|
369
|
+
<div style="text-align: center; padding: 40px;">
|
|
370
|
+
<h4>Custom Speed Dial</h4>
|
|
371
|
+
<p style="color: #6b7280;">Fully customized speed dial with custom styling</p>
|
|
372
|
+
</div>
|
|
373
|
+
`;
|
|
374
|
+
setTimeout(() => {
|
|
375
|
+
const dial = document.createElement('ui-speed-dial');
|
|
376
|
+
dial.setAttribute('position', 'bottom-right');
|
|
377
|
+
dial.setAttribute('color', 'danger');
|
|
378
|
+
dial.setAttribute('size', 'lg');
|
|
379
|
+
dial.setAttribute('show-tooltips', 'true');
|
|
380
|
+
dial.setAttribute('icon-library', 'lucide');
|
|
381
|
+
dial.setAttribute('action-library', 'lucide');
|
|
382
|
+
dial.actions = [
|
|
383
|
+
{ id: 'custom1', label: 'Custom Action 1', icon: 'star', color: '#8b5cf6' },
|
|
384
|
+
{ id: 'custom2', label: 'Custom Action 2', icon: 'palette', color: '#ec4899' },
|
|
385
|
+
{ id: 'custom3', label: 'Custom Action 3', icon: 'rocket', color: '#06b6d4' },
|
|
386
|
+
];
|
|
387
|
+
container.appendChild(dial);
|
|
388
|
+
|
|
389
|
+
dial.addEventListener('actionClick', e => {
|
|
390
|
+
alert('Custom action clicked: ' + e.detail);
|
|
391
|
+
});
|
|
392
|
+
}, 100);
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
showBasicSpeedDial();
|
|
396
|
+
}, 100);
|
|
397
|
+
|
|
398
|
+
// Interactive Playground
|
|
399
|
+
window.showInteractiveSpeedDial = function () {
|
|
400
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
401
|
+
if (!container) return;
|
|
402
|
+
|
|
403
|
+
container.innerHTML = `
|
|
404
|
+
<div style="background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);">
|
|
405
|
+
<div style="display: flex; gap: 30px; flex-wrap: wrap;">
|
|
406
|
+
<div style="flex: 1; min-width: 300px;">
|
|
407
|
+
<h3>🎮 Interactive Playground</h3>
|
|
408
|
+
<div style="display: flex; flex-direction: column; gap: 15px; margin-top: 20px;">
|
|
409
|
+
<div>
|
|
410
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Position:</label>
|
|
411
|
+
<ui-dropdown id="speedDialPosition" onchange="updateInteractiveSpeedDial()" style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">
|
|
412
|
+
<option value="top-left">Top Left</option>
|
|
413
|
+
<option value="top-right">Top Right</option>
|
|
414
|
+
<option value="bottom-left">Bottom Left</option>
|
|
415
|
+
<option value="bottom-right" selected>Bottom Right</option>
|
|
416
|
+
</ui-dropdown>
|
|
417
|
+
</div>
|
|
418
|
+
|
|
419
|
+
<div>
|
|
420
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Layout:</label>
|
|
421
|
+
<ui-dropdown id="speedDialLayout" onchange="updateInteractiveSpeedDial()"
|
|
422
|
+
style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px;">
|
|
423
|
+
<option value="linear">Linear (Default)</option>
|
|
424
|
+
<option value="radial">Radial Circle</option>
|
|
425
|
+
<option value="arc">90° Arc</option>
|
|
426
|
+
</ui-dropdown>
|
|
427
|
+
</div>
|
|
428
|
+
|
|
429
|
+
<div>
|
|
430
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Size:</label>
|
|
431
|
+
<ui-dropdown id="speedDialSize" onchange="updateInteractiveSpeedDial()"
|
|
432
|
+
style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px;">
|
|
433
|
+
<option value="sm">Small (40px)</option>
|
|
434
|
+
<option value="md" selected>md (56px)</option>
|
|
435
|
+
<option value="lg">Large (72px)</option>
|
|
436
|
+
</ui-dropdown>
|
|
437
|
+
</div>
|
|
438
|
+
|
|
439
|
+
<div>
|
|
440
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Variant:</label>
|
|
441
|
+
<ui-dropdown id="speedDialVariant" onchange="updateInteractiveSpeedDial()"
|
|
442
|
+
style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px;">
|
|
443
|
+
<option value="ghost">Ghost</option>
|
|
444
|
+
</ui-dropdown>
|
|
445
|
+
</div>
|
|
446
|
+
|
|
447
|
+
<div>
|
|
448
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Shape:</label>
|
|
449
|
+
<ui-dropdown id="speedDialShape" onchange="updateInteractiveSpeedDial()"
|
|
450
|
+
style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px;">
|
|
451
|
+
<option value="rounded" selected>Rounded</option>
|
|
452
|
+
<option value="square">Square</option>
|
|
453
|
+
<option value="sharp">Sharp</option>
|
|
454
|
+
<option value="oval">Oval</option>
|
|
455
|
+
<option value="chip">Chip</option>
|
|
456
|
+
<option value="circle">Circle</option>
|
|
457
|
+
</ui-dropdown>
|
|
458
|
+
</div>
|
|
459
|
+
|
|
460
|
+
<div>
|
|
461
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Main Color:</label>
|
|
462
|
+
<ui-dropdown id="speedDialColor" onchange="updateInteractiveSpeedDial()" style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">
|
|
463
|
+
<option value="primary" selected>Primary</option>
|
|
464
|
+
<option value="secondary">Secondary</option>
|
|
465
|
+
<option value="success">Success</option>
|
|
466
|
+
<option value="danger">Danger</option>
|
|
467
|
+
<option value="warning">Warning</option>
|
|
468
|
+
<option value="info">Info</option>
|
|
469
|
+
</ui-dropdown>
|
|
470
|
+
</div>
|
|
471
|
+
|
|
472
|
+
<div>
|
|
473
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Strategy:</label>
|
|
474
|
+
<ui-dropdown id="speedDialStrategy" onchange="updateInteractiveSpeedDial()" style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">
|
|
475
|
+
<option value="fixed" selected>Fixed (Screen)</option>
|
|
476
|
+
<option value="absolute">Absolute (Container)</option>
|
|
477
|
+
</ui-dropdown>
|
|
478
|
+
</div>
|
|
479
|
+
|
|
480
|
+
<div>
|
|
481
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Trigger:</label>
|
|
482
|
+
<ui-dropdown id="speedDialTrigger" onchange="updateInteractiveSpeedDial()" style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">
|
|
483
|
+
<option value="click" selected>Click</option>
|
|
484
|
+
<option value="hover">Hover</option>
|
|
485
|
+
</ui-dropdown>
|
|
486
|
+
</div>
|
|
487
|
+
|
|
488
|
+
<div>
|
|
489
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Direction:</label>
|
|
490
|
+
<ui-dropdown id="speedDialDirection" onchange="updateInteractiveSpeedDial()" style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">
|
|
491
|
+
<option value="auto" selected>Auto</option>
|
|
492
|
+
<option value="up">Up</option>
|
|
493
|
+
<option value="down">Down</option>
|
|
494
|
+
<option value="left">Left</option>
|
|
495
|
+
<option value="right">Right</option>
|
|
496
|
+
</ui-dropdown>
|
|
497
|
+
</div>
|
|
498
|
+
|
|
499
|
+
<div>
|
|
500
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Tooltip Position:</label>
|
|
501
|
+
<ui-dropdown id="speedDialTooltipPosition" onchange="updateInteractiveSpeedDial()" style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px; cursor: pointer;">
|
|
502
|
+
<option value="auto" selected>Auto</option>
|
|
503
|
+
<option value="left">Left</option>
|
|
504
|
+
<option value="right">Right</option>
|
|
505
|
+
<option value="top">Top</option>
|
|
506
|
+
<option value="bottom">Bottom</option>
|
|
507
|
+
</ui-dropdown>
|
|
508
|
+
</div>
|
|
509
|
+
|
|
510
|
+
<div>
|
|
511
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Icon:</label>
|
|
512
|
+
<ui-input type="text" id="speedDialIcon" value="+" onchange="updateInteractiveSpeedDial()"
|
|
513
|
+
style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px;">
|
|
514
|
+
</div>
|
|
515
|
+
|
|
516
|
+
<ui-checkbox id="speedDialShowTooltips" checked label="Show Tooltips" oncheckboxchange="updateInteractiveSpeedDial()"></ui-checkbox>
|
|
517
|
+
|
|
518
|
+
<ui-checkbox id="speedDialGlassy" label="Glassy Effect" oncheckboxchange="updateInteractiveSpeedDial()"></ui-checkbox>
|
|
519
|
+
|
|
520
|
+
<ui-checkbox id="speedDialMagnetic" checked label="Magnetic (Apex)" oncheckboxchange="updateInteractiveSpeedDial()"></ui-checkbox>
|
|
521
|
+
|
|
522
|
+
<ui-checkbox id="speedDialDraggable" label="Draggable (Apex)" oncheckboxchange="updateInteractiveSpeedDial()"></ui-checkbox>
|
|
523
|
+
|
|
524
|
+
<ui-checkbox id="speedDialPersist" checked label="Persist Drag Position (Apex)" oncheckboxchange="updateInteractiveSpeedDial()"></ui-checkbox>
|
|
525
|
+
|
|
526
|
+
<div>
|
|
527
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Offset X (e.g. 50px):</label>
|
|
528
|
+
<ui-input type="text" id="speedDialOffsetX" placeholder="Default: 24px" onchange="updateInteractiveSpeedDial()"
|
|
529
|
+
style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px;">
|
|
530
|
+
</div>
|
|
531
|
+
|
|
532
|
+
<div>
|
|
533
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Offset Y (e.g. 50px):</label>
|
|
534
|
+
<ui-input type="text" id="speedDialOffsetY" placeholder="Default: 24px" onchange="updateInteractiveSpeedDial()"
|
|
535
|
+
style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px;">
|
|
536
|
+
</div>
|
|
537
|
+
|
|
538
|
+
<div>
|
|
539
|
+
<label style="display: block; margin-bottom: 5px; font-weight: 500;">Actions (JSON):</label>
|
|
540
|
+
<textarea id="speedDialActions" onchange="updateInteractiveSpeedDial()"
|
|
541
|
+
style="width: 100%; padding: 8px; border: 1px solid #d1d5db; border-radius: 4px; font-family: monospace; font-size: 12px; min-height: 150px;">[
|
|
542
|
+
{"id": "add", "label": "Add", "icon": "plus", "color": "#10b981"},
|
|
543
|
+
{"id": "edit", "label": "Edit", "icon": "pencil", "color": "#10b981"},
|
|
544
|
+
{"id": "share", "label": "Share", "icon": "share", "color": "#f59e0b"},
|
|
545
|
+
{"id": "delete", "label": "Delete", "icon": "trash-2", "color": "#ef4444"}
|
|
546
|
+
]
|
|
547
|
+
</textarea>
|
|
548
|
+
</div>
|
|
549
|
+
</div>
|
|
550
|
+
</div>
|
|
551
|
+
|
|
552
|
+
<div style="flex: 1; min-width: 300px; background-color: #f9fafb; padding: 20px; border-radius: 8px; border: 1px solid #e5e7eb; position: relative; min-height: 500px;">
|
|
553
|
+
<h4 style="margin-top: 0;">Preview:</h4>
|
|
554
|
+
<p style="color: #6b7280; font-size: 14px;">Click the button to see the speed dial actions</p>
|
|
555
|
+
<div id="interactiveSpeedDialContainer" style="margin-top: 20px;"></div>
|
|
556
|
+
<div id="speedDialOutput" style="margin-top: 20px; padding: 10px; background-color: white; border-radius: 4px; font-family: monospace; font-size: 12px; display: none;"></div>
|
|
557
|
+
|
|
558
|
+
<div style="margin-top: 20px; background: #1e293b; padding: 16px; border-radius: 8px; position: relative;">
|
|
559
|
+
<ui-button onclick="copySpeedDialCode()" id="copySpeedDialBtn" style="position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.1); color: white; border: none; padding: 4px 10px; border-radius: 4px; font-size: 11px; cursor: pointer; transition: all 0.2s;">Copy</ui-button>
|
|
560
|
+
<code id="speedDialCodeBlock" style="color: #e2e8f0; font-family: monospace; font-size: 13px; display: block; overflow-x: auto; padding-right: 50px; white-space: pre-wrap;">
|
|
561
|
+
<ui-speed-dial ...></ui-speed-dial>
|
|
562
|
+
</code>
|
|
563
|
+
</div>
|
|
564
|
+
</div>
|
|
565
|
+
</div>
|
|
566
|
+
</div>
|
|
567
|
+
`;
|
|
568
|
+
|
|
569
|
+
updateInteractiveSpeedDial();
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
window.showContainerPositioning = function () {
|
|
573
|
+
const container = document.getElementById('speedDialDemoContainer');
|
|
574
|
+
if (!container) return;
|
|
575
|
+
container.innerHTML = `
|
|
576
|
+
<div style="text-align: center; padding: 40px;">
|
|
577
|
+
<h4>Container-Based Positioning</h4>
|
|
578
|
+
<p style="color: #6b7280; margin-bottom: 20px;">
|
|
579
|
+
Using <code>strategy="absolute"</code> to confine the speed dial to a specific container.
|
|
580
|
+
</p>
|
|
581
|
+
|
|
582
|
+
<!-- The Container -->
|
|
583
|
+
<div style="
|
|
584
|
+
position: relative;
|
|
585
|
+
width: 300px;
|
|
586
|
+
height: 400px;
|
|
587
|
+
margin: 0 auto;
|
|
588
|
+
border: 2px dashed #cbd5e1;
|
|
589
|
+
border-radius: 8px;
|
|
590
|
+
background: #f8fafc;
|
|
591
|
+
display: flex;
|
|
592
|
+
align-items: center;
|
|
593
|
+
justify-content: center;
|
|
594
|
+
color: #94a3b8;
|
|
595
|
+
">
|
|
596
|
+
<p>I am a relative container</p>
|
|
597
|
+
|
|
598
|
+
<!-- Absolute Speed Dial inside Container -->
|
|
599
|
+
<ui-speed-dial
|
|
600
|
+
position="bottom-right"
|
|
601
|
+
strategy="absolute"
|
|
602
|
+
color="primary"
|
|
603
|
+
size="md"
|
|
604
|
+
style="--speed-dial-bottom: 16px; --speed-dial-right: 16px;"
|
|
605
|
+
id="container-dial"
|
|
606
|
+
icon-library="lucide"
|
|
607
|
+
action-library="lucide"
|
|
608
|
+
>
|
|
609
|
+
</ui-speed-dial>
|
|
610
|
+
</div>
|
|
611
|
+
</div>
|
|
612
|
+
`;
|
|
613
|
+
|
|
614
|
+
setTimeout(() => {
|
|
615
|
+
const dial = document.getElementById('container-dial');
|
|
616
|
+
if (dial) {
|
|
617
|
+
dial.actions = [
|
|
618
|
+
{ id: '1', label: 'In Container', icon: 'package' },
|
|
619
|
+
{ id: '2', label: 'Restricted', icon: 'zap' },
|
|
620
|
+
];
|
|
621
|
+
dial.addEventListener('actionClick', e => alert(e.detail));
|
|
622
|
+
}
|
|
623
|
+
}, 100);
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
window.updateInteractiveSpeedDial = function () {
|
|
627
|
+
const position = document.getElementById('speedDialPosition').value;
|
|
628
|
+
const size = document.getElementById('speedDialSize').value;
|
|
629
|
+
const color = document.getElementById('speedDialColor').value;
|
|
630
|
+
const layout = document.getElementById('speedDialLayout').value;
|
|
631
|
+
const variant = document.getElementById('speedDialVariant').value;
|
|
632
|
+
const shape = document.getElementById('speedDialShape').value;
|
|
633
|
+
const trigger = document.getElementById('speedDialTrigger').value;
|
|
634
|
+
const strategy = document.getElementById('speedDialStrategy').value;
|
|
635
|
+
const direction = document.getElementById('speedDialDirection').value;
|
|
636
|
+
const tooltipPosition = document.getElementById('speedDialTooltipPosition').value;
|
|
637
|
+
const icon = document.getElementById('speedDialIcon').value;
|
|
638
|
+
const offsetX = document.getElementById('speedDialOffsetX').value;
|
|
639
|
+
const offsetY = document.getElementById('speedDialOffsetY').value;
|
|
640
|
+
const showTooltips = document.getElementById('speedDialShowTooltips').checked;
|
|
641
|
+
const actionsText = document.getElementById('speedDialActions').value;
|
|
642
|
+
|
|
643
|
+
const container = document.getElementById('interactiveSpeedDialContainer');
|
|
644
|
+
const outputDiv = document.getElementById('speedDialOutput');
|
|
645
|
+
|
|
646
|
+
if (!container) return;
|
|
647
|
+
|
|
648
|
+
// Remove existing speed dial
|
|
649
|
+
const existingDial = container.querySelector('ui-speed-dial');
|
|
650
|
+
if (existingDial) {
|
|
651
|
+
existingDial.remove();
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
try {
|
|
655
|
+
const actions = JSON.parse(actionsText);
|
|
656
|
+
|
|
657
|
+
const dial = document.createElement('ui-speed-dial');
|
|
658
|
+
dial.setAttribute('position', position);
|
|
659
|
+
dial.setAttribute('size', size);
|
|
660
|
+
dial.setAttribute('color', color);
|
|
661
|
+
dial.setAttribute('layout', layout);
|
|
662
|
+
dial.setAttribute('variant', variant);
|
|
663
|
+
dial.setAttribute('shape', shape);
|
|
664
|
+
dial.setAttribute('trigger', trigger);
|
|
665
|
+
dial.setAttribute('strategy', strategy);
|
|
666
|
+
dial.setAttribute('direction', direction);
|
|
667
|
+
dial.setAttribute('tooltip-position', tooltipPosition);
|
|
668
|
+
dial.setAttribute('icon', icon);
|
|
669
|
+
dial.setAttribute('glassy', document.getElementById('speedDialGlassy').checked);
|
|
670
|
+
dial.setAttribute('magnetic', document.getElementById('speedDialMagnetic').checked);
|
|
671
|
+
dial.setAttribute('is-draggable', document.getElementById('speedDialDraggable').checked);
|
|
672
|
+
dial.setAttribute('persistence-id', document.getElementById('speedDialPersist').checked ? 'playground' : null);
|
|
673
|
+
dial.setAttribute('icon-library', 'lucide');
|
|
674
|
+
dial.setAttribute('action-library', 'lucide');
|
|
675
|
+
|
|
676
|
+
// Ensure container is relative if testing absolute strategy
|
|
677
|
+
if (strategy === 'absolute') {
|
|
678
|
+
container.style.position = 'relative';
|
|
679
|
+
container.style.overflow = 'hidden';
|
|
680
|
+
} else {
|
|
681
|
+
container.style.position = '';
|
|
682
|
+
container.style.overflow = '';
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
// Apply custom offsets via CSS variables
|
|
686
|
+
let style = '';
|
|
687
|
+
if (offsetX) {
|
|
688
|
+
style += `--speed-dial-left: ${offsetX}; --speed-dial-right: ${offsetX}; `;
|
|
689
|
+
}
|
|
690
|
+
if (offsetY) {
|
|
691
|
+
style += `--speed-dial-top: ${offsetY}; --speed-dial-bottom: ${offsetY}; `;
|
|
692
|
+
}
|
|
693
|
+
if (style) {
|
|
694
|
+
dial.setAttribute('style', style);
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
if (showTooltips) {
|
|
698
|
+
dial.setAttribute('show-tooltips', 'true');
|
|
699
|
+
}
|
|
700
|
+
dial.actions = actions;
|
|
701
|
+
|
|
702
|
+
container.appendChild(dial);
|
|
703
|
+
|
|
704
|
+
// Add event listener
|
|
705
|
+
dial.addEventListener('actionClick', event => {
|
|
706
|
+
outputDiv.style.display = 'block';
|
|
707
|
+
outputDiv.textContent = `Action clicked: ${event.detail}`;
|
|
708
|
+
});
|
|
709
|
+
|
|
710
|
+
dial.addEventListener('speedDialToggle', event => {
|
|
711
|
+
outputDiv.style.display = 'block';
|
|
712
|
+
outputDiv.textContent = `Speed dial ${event.detail ? 'opened' : 'closed'}`;
|
|
713
|
+
});
|
|
714
|
+
|
|
715
|
+
outputDiv.style.display = 'none';
|
|
716
|
+
|
|
717
|
+
// Generate code block
|
|
718
|
+
const codeBlock = document.getElementById('speedDialCodeBlock');
|
|
719
|
+
if (codeBlock) {
|
|
720
|
+
let code = `<ui-speed-dial icon-library="lucide" action-library="lucide"`;
|
|
721
|
+
if (position !== 'bottom-right') code += `\n position="${position}"`;
|
|
722
|
+
code += `\n size="${size}"`;
|
|
723
|
+
code += `\n variant="${variant}"`;
|
|
724
|
+
code += `\n shape="${shape}"`;
|
|
725
|
+
code += `\n layout="${layout}"`;
|
|
726
|
+
if (color !== 'primary') code += `\n color="${color}"`;
|
|
727
|
+
if (trigger !== 'click') code += `\n trigger="${trigger}"`;
|
|
728
|
+
if (strategy !== 'fixed') code += `\n strategy="${strategy}"`;
|
|
729
|
+
if (direction !== 'auto') code += `\n direction="${direction}"`;
|
|
730
|
+
if (tooltipPosition !== 'auto') code += `\n tooltip-position="${tooltipPosition}"`;
|
|
731
|
+
if (icon !== '+') code += `\n icon="${icon}"`;
|
|
732
|
+
if (dial.glassy) code += `\n glassy="true"`;
|
|
733
|
+
if (dial.magnetic) code += `\n magnetic="true"`;
|
|
734
|
+
if (dial.hasAttribute('is-draggable')) code += `\n is-draggable="true"`;
|
|
735
|
+
if (dial.persistenceId) code += `\n persistence-id="${dial.persistenceId}"`;
|
|
736
|
+
if (style) code += `\n style="${style.trim()}"`;
|
|
737
|
+
if (showTooltips) code += `\n show-tooltips="true"`;
|
|
738
|
+
code += `>\n</ui-speed-dial>\n\n<script>\n const dial = document.querySelector('ui-speed-dial');\n dial.actions = ${JSON.stringify(actions, null, 2)};\n</script>`;
|
|
739
|
+
codeBlock.innerText = code;
|
|
740
|
+
}
|
|
741
|
+
} catch (error) {
|
|
742
|
+
outputDiv.style.display = 'block';
|
|
743
|
+
outputDiv.style.color = '#ef4444';
|
|
744
|
+
outputDiv.textContent = `Invalid JSON: ${error.message}`;
|
|
745
|
+
}
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
window.copySpeedDialCode = function () {
|
|
749
|
+
const codeBlock = document.getElementById('speedDialCodeBlock');
|
|
750
|
+
const copyBtn = document.getElementById('copySpeedDialBtn');
|
|
751
|
+
if (!codeBlock || !copyBtn) return;
|
|
752
|
+
|
|
753
|
+
const code = codeBlock.innerText;
|
|
754
|
+
navigator.clipboard.writeText(code).then(() => {
|
|
755
|
+
const originalText = copyBtn.innerText;
|
|
756
|
+
copyBtn.innerText = 'Copied!';
|
|
757
|
+
copyBtn.style.backgroundColor = '#10b981';
|
|
758
|
+
setTimeout(() => {
|
|
759
|
+
copyBtn.innerText = originalText;
|
|
760
|
+
copyBtn.style.backgroundColor = 'rgba(255,255,255,0.1)';
|
|
761
|
+
}, 2000);
|
|
762
|
+
});
|
|
763
|
+
};
|
|
764
|
+
}
|