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,1223 @@
|
|
|
1
|
+
// Button Component Demo - Injects HTML and wires interactive examples
|
|
2
|
+
export function initButtonDemo() {
|
|
3
|
+
const section = document.getElementById('button') || document.getElementById('button-toggle');
|
|
4
|
+
if (!section) return;
|
|
5
|
+
|
|
6
|
+
section.innerHTML = `
|
|
7
|
+
<p style="margin-top: 0; opacity: 0.7; font-size: 14px; margin-bottom: 24px;">Comprehensive button component with multiple variants, sizes, states, and features.</p>
|
|
8
|
+
|
|
9
|
+
<div class="demo-controls-wrapper">
|
|
10
|
+
<div class="demo-grid-wrapper">
|
|
11
|
+
<ui-button id="btnPlayground" icon="play" label="Playground" variant="outline"></ui-button>
|
|
12
|
+
<ui-button id="btnForms" icon="file-text" label="Forms" variant="outline"></ui-button>
|
|
13
|
+
<ui-button id="btnVariants" icon="layers" label="Variants" variant="outline"></ui-button>
|
|
14
|
+
<ui-button id="btnSizes" icon="pencil-ruler" label="Sizes & Shapes" variant="outline"></ui-button>
|
|
15
|
+
<ui-button id="btnIcons" icon="component" label="Icons & Layouts" variant="outline"></ui-button>
|
|
16
|
+
<ui-button id="btnImageButtons" icon="image" label="Image Buttons" variant="outline"></ui-button>
|
|
17
|
+
<ui-button id="btnAvatarButtons" icon="user" label="Avatar Buttons" variant="outline"></ui-button>
|
|
18
|
+
<ui-button id="btnStates" icon="info" label="States" variant="outline"></ui-button>
|
|
19
|
+
<ui-button id="btnPremium" icon="sparkles" label="Premium" variant="outline"></ui-button>
|
|
20
|
+
<ui-button id="btnGradients" icon="component" label="Gradients" variant="outline"></ui-button>
|
|
21
|
+
<ui-button id="btnGodMode" icon="zap" label="God Mode" variant="outline"></ui-button>
|
|
22
|
+
<ui-button id="btnRichLayout" icon="layout" label="Rich Layouts" variant="outline"></ui-button>
|
|
23
|
+
<ui-button id="btnToggleGroups" icon="group" label="Selection Groups" variant="outline"></ui-button>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div id="buttonDemoContainer" style="margin-top: 32px; padding: 32px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-radius: 24px; border: 1px solid #e2e8f0; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);"></div>
|
|
28
|
+
`;
|
|
29
|
+
|
|
30
|
+
const updateActiveBtn = id => {
|
|
31
|
+
Object.keys(demoMap).forEach(btnId => {
|
|
32
|
+
const btn = document.getElementById(btnId);
|
|
33
|
+
if (btn) btn.selected = btnId === id;
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
// Map of buttons to functions
|
|
38
|
+
const demoMap = {
|
|
39
|
+
btnPlayground: () => showInteractiveButton(),
|
|
40
|
+
btnForms: () => showFormButtons(),
|
|
41
|
+
btnVariants: () => showBasicButtons(),
|
|
42
|
+
btnSizes: () => showButtonSizes(),
|
|
43
|
+
btnIcons: () => showButtonIcons(),
|
|
44
|
+
btnImageButtons: () => showImageButtons(),
|
|
45
|
+
btnAvatarButtons: () => showAvatarButtons(),
|
|
46
|
+
btnStates: () => showButtonStates(),
|
|
47
|
+
btnPremium: () => showPremiumButtons(),
|
|
48
|
+
btnGradients: () => showGradientButtons(),
|
|
49
|
+
btnGodMode: () => showGodModeButtons(),
|
|
50
|
+
btnRichLayout: () => showRichLayoutButtons(),
|
|
51
|
+
btnToggleGroups: () => showButtonToggleGroups(),
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
setTimeout(() => {
|
|
55
|
+
Object.entries(demoMap).forEach(([id, func]) => {
|
|
56
|
+
const btn = document.getElementById(id);
|
|
57
|
+
if (btn) {
|
|
58
|
+
btn.onclick = null; // Remove any inline onclick
|
|
59
|
+
btn.addEventListener('click', () => {
|
|
60
|
+
updateActiveBtn(id);
|
|
61
|
+
func();
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
updateActiveBtn('btnPlayground');
|
|
67
|
+
showInteractiveButton();
|
|
68
|
+
}, 100);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// ── Demo Functions ──────────────────────────────────────────────────────────
|
|
72
|
+
|
|
73
|
+
function showFormButtons() {
|
|
74
|
+
const container = document.getElementById('buttonDemoContainer');
|
|
75
|
+
if (!container) return;
|
|
76
|
+
|
|
77
|
+
container.innerHTML = `
|
|
78
|
+
<div class="demo-block">
|
|
79
|
+
<h3>Form Actions & Native Integration</h3>
|
|
80
|
+
<p style="color: #6b7280; margin-bottom: 24px;">Buttons can act as native form submitters, resets, or triggers for custom validation logic. They also support image and avatar modes for profile interactions.</p>
|
|
81
|
+
|
|
82
|
+
<div style="background: white; padding: 32px; border-radius: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); max-width: 500px; margin: 0 auto;">
|
|
83
|
+
<form id="demoForm" style="display: flex; flex-direction: column; gap: 20px;">
|
|
84
|
+
<div style="display: flex; flex-direction: column; gap: 8px;">
|
|
85
|
+
<label style="font-size: 13px; font-weight: 600; color: #475569;">Profile Picture</label>
|
|
86
|
+
<div style="display: flex; align-items: center; gap: 16px;">
|
|
87
|
+
<ui-button type="avatar" avatar-src="https://i.pravatar.cc/150?u=antigravity" avatar-alt="User" size="xl" status="online"></ui-button>
|
|
88
|
+
<ui-button variant="soft" size="md" icon="camera" label="Change Photo"></ui-button>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div style="display: flex; flex-direction: column; gap: 8px;">
|
|
93
|
+
<label style="font-size: 13px; font-weight: 600; color: #475569;">Username</label>
|
|
94
|
+
<ui-input placeholder="Enter username" value="antigravity_user" variant="filled"></ui-input>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<div style="display: flex; flex-direction: column; gap: 8px;">
|
|
98
|
+
<label style="font-size: 13px; font-weight: 600; color: #475569;">Bio</label>
|
|
99
|
+
<ui-input type="textarea" placeholder="Tell us about yourself..." variant="filled"></ui-input>
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
<div style="display: flex; justify-content: flex-end; gap: 12px; margin-top: 12px; padding-top: 20px; border-top: 1px solid #f1f5f9;">
|
|
103
|
+
<ui-button type="reset" variant="ghost" label="Reset"></ui-button>
|
|
104
|
+
<ui-button type="submit" variant="primary" label="Save Changes" icon="check" icon-library="lucide"></ui-button>
|
|
105
|
+
</div>
|
|
106
|
+
</form>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<div class="demo-block" style="margin-top: 40px;">
|
|
111
|
+
<h3>Specialized Form Buttons</h3>
|
|
112
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px;">
|
|
113
|
+
<div style="background: rgba(0,0,0,0.02); padding: 16px; border-radius: 12px; border: 1px dashed rgba(0,0,0,0.1); display: flex; flex-direction: column; gap: 10px; align-items: center;">
|
|
114
|
+
<span style="font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase;">Image Button</span>
|
|
115
|
+
<ui-button type="image" img-src="https://images.unsplash.com/photo-1579546929518-9e396f3cc809?w=200&h=100&fit=crop" img-alt="Banner" style="width: 200px; height: 100px;"></ui-button>
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<div style="background: rgba(0,0,0,0.02); padding: 16px; border-radius: 12px; border: 1px dashed rgba(0,0,0,0.1); display: flex; flex-direction: column; gap: 10px; align-items: center;">
|
|
119
|
+
<span style="font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase;">File Upload Trigger</span>
|
|
120
|
+
<ui-button variant="outline" icon="upload-cloud" label="Upload Document" dashed></ui-button>
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
<div style="background: rgba(0,0,0,0.02); padding: 16px; border-radius: 12px; border: 1px dashed rgba(0,0,0,0.1); display: flex; flex-direction: column; gap: 10px; align-items: center;">
|
|
124
|
+
<span style="font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase;">Destructive Action</span>
|
|
125
|
+
<ui-button variant="soft" color="danger" icon="trash-2" label="Delete Account"></ui-button>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
</div>
|
|
129
|
+
`;
|
|
130
|
+
|
|
131
|
+
setTimeout(() => {
|
|
132
|
+
const form = document.getElementById('demoForm');
|
|
133
|
+
if (form) {
|
|
134
|
+
form.addEventListener('submit', e => {
|
|
135
|
+
e.preventDefault();
|
|
136
|
+
alert('Form Submitted Successfully!');
|
|
137
|
+
});
|
|
138
|
+
form.addEventListener('reset', () => {
|
|
139
|
+
console.log('Form Reset');
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
}, 100);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
function showButtonSizes() {
|
|
146
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
147
|
+
if (!container) return;
|
|
148
|
+
|
|
149
|
+
const sizes = [
|
|
150
|
+
{ id: 'xxxs', label: 'xxxs (20px)', variant: 'primary', icon: 'zap' },
|
|
151
|
+
{ id: 'xxs', label: 'xxs (24px)', variant: 'secondary', icon: 'star' },
|
|
152
|
+
{ id: 'xs', label: 'xs (28px)', variant: 'success', icon: 'check' },
|
|
153
|
+
{ id: 'small', label: 'small (32px)', variant: 'info', icon: 'info' },
|
|
154
|
+
{ id: 'md', label: 'md (40px)', variant: 'primary', icon: 'play' },
|
|
155
|
+
{ id: 'large', label: 'large (48px)', variant: 'warning', icon: 'alert-triangle' },
|
|
156
|
+
{ id: 'xl', label: 'xl (56px)', variant: 'danger', icon: 'trash-2' },
|
|
157
|
+
{ id: 'xxl', label: 'xxl (64px)', variant: 'info', icon: 'cloud' },
|
|
158
|
+
{ id: 'xxxl', label: 'xxxl (80px)', variant: 'dark', icon: 'grid' },
|
|
159
|
+
];
|
|
160
|
+
|
|
161
|
+
container.innerHTML = `
|
|
162
|
+
<div class="demo-block">
|
|
163
|
+
<h3>Sizes & Height Consistency</h3>
|
|
164
|
+
<p style="color: #6b7280; margin-bottom: 24px;">Button height remains identical across different content combinations (label only, icon+label, and badge).</p>
|
|
165
|
+
|
|
166
|
+
<div style="display: flex; flex-direction: column; gap: 20px;">
|
|
167
|
+
${sizes
|
|
168
|
+
.map(
|
|
169
|
+
s => `
|
|
170
|
+
<div style="display: flex; align-items: center; gap: 16px; flex-wrap: wrap;">
|
|
171
|
+
<span style="min-width: 100px; font-size: 13px; font-weight: 600; color:#4b5563;">${s.label}:</span>
|
|
172
|
+
|
|
173
|
+
<ui-button size="${s.id}" variant="${s.variant}" label="Simple"></ui-button>
|
|
174
|
+
|
|
175
|
+
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" label="With Icon"></ui-button>
|
|
176
|
+
|
|
177
|
+
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" label="With Badge" badge="8"></ui-button>
|
|
178
|
+
|
|
179
|
+
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" icon-only shape="circle"></ui-button>
|
|
180
|
+
|
|
181
|
+
</div>
|
|
182
|
+
`,
|
|
183
|
+
)
|
|
184
|
+
.join('')}
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
|
|
188
|
+
<div class="demo-block">
|
|
189
|
+
<h3>Shapes & Specialized Styles</h3>
|
|
190
|
+
<div class="demo-grid-wrapper">
|
|
191
|
+
<ui-button variant="secondary" shape="square" label="Square"></ui-button>
|
|
192
|
+
<ui-button variant="secondary" shape="rounded" label="Rounded Corner"></ui-button>
|
|
193
|
+
<ui-button variant="secondary" shape="pill" label="Pill Shape"></ui-button>
|
|
194
|
+
<ui-button variant="secondary" shape="chip" label="Chip Style"></ui-button>
|
|
195
|
+
<ui-button variant="primary" shape="circle" icon="plus" icon-library="lucide"></ui-button>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
<div class="demo-block">
|
|
199
|
+
<h3>Premium Effects</h3>
|
|
200
|
+
<div class="demo-grid-wrapper">
|
|
201
|
+
<ui-button variant="glass" label="Premium Glass" icon="sparkles" icon-library="lucide"></ui-button>
|
|
202
|
+
<ui-button variant="raised" label="Raised Button" icon="layers" icon-library="lucide"></ui-button>
|
|
203
|
+
<ui-button variant="dark" label="Dark Theme" icon="moon" icon-library="lucide" shape="pill"></ui-button>
|
|
204
|
+
</div>
|
|
205
|
+
</div>
|
|
206
|
+
`;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
function showButtonIcons() {
|
|
210
|
+
const container = document.getElementById('buttonDemoContainer');
|
|
211
|
+
if (!container) return;
|
|
212
|
+
container.innerHTML = `
|
|
213
|
+
<div class="demo-block">
|
|
214
|
+
<h3>Icon Positions</h3>
|
|
215
|
+
<p style="color: #6b7280; margin-bottom: 12px;">Icons can be placed at any side of the label using the <code>icon-position</code> prop.</p>
|
|
216
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap;">
|
|
217
|
+
<ui-button label="Left Icon" icon="arrow-left" icon-library="lucide" icon-position="left" variant="outline" size="md"></ui-button>
|
|
218
|
+
<ui-button label="Right Icon" icon="arrow-right" icon-library="lucide" icon-position="right" variant="outline" size="md"></ui-button>
|
|
219
|
+
<ui-button label="Top Icon" icon="arrow-up" icon-library="lucide" icon-position="top" variant="outline" size="md"></ui-button>
|
|
220
|
+
<ui-button label="Bottom Icon" icon="arrow-down" icon-library="lucide" icon-position="bottom" variant="outline" size="md"></ui-button>
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
<div class="demo-block" style="margin-top: 24px;">
|
|
225
|
+
<h3>Icon Only Shape Masterclass</h3>
|
|
226
|
+
<p style="color: #6b7280; margin-bottom: 12px;">The <code>icon-only</code> prop now defaults to a <strong>Rounded Square</strong> (8px) for consistent branding. Use the <code>shape="circle"</code> or <code>circle</code> prop to achieve the classic circular look.</p>
|
|
227
|
+
<div style="display: flex; gap: 20px; align-items: center; flex-wrap: wrap; background: #f8fafc; padding: 20px; border-radius: 12px;">
|
|
228
|
+
|
|
229
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
230
|
+
<ui-button icon="settings" icon-library="lucide" icon-only variant="primary" size="lg" shape="circle"></ui-button>
|
|
231
|
+
<span style="font-size: 11px; font-weight: 700; color: #64748b;">SHAPE="CIRCLE"</span>
|
|
232
|
+
</div>
|
|
233
|
+
|
|
234
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
235
|
+
<ui-button icon="bell" icon-library="lucide" icon-only variant="success" size="lg"></ui-button>
|
|
236
|
+
<span style="font-size: 11px; font-weight: 700; color: #64748b;">DEFAULT (ROUNDED)</span>
|
|
237
|
+
</div>
|
|
238
|
+
|
|
239
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
240
|
+
<ui-button icon="share-2" icon-library="lucide" icon-only variant="warning" size="lg" shape="square"></ui-button>
|
|
241
|
+
<span style="font-size: 11px; font-weight: 700; color: #64748b;">SQUARE (SHARP)</span>
|
|
242
|
+
</div>
|
|
243
|
+
|
|
244
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
245
|
+
<ui-button icon="mail" icon-library="lucide" icon-only variant="danger" size="lg" pill></ui-button>
|
|
246
|
+
<span style="font-size: 11px; font-weight: 700; color: #64748b;">PILL EXTENDED</span>
|
|
247
|
+
</div>
|
|
248
|
+
|
|
249
|
+
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
250
|
+
<ui-button icon="plus" icon-library="lucide" variant="primary" shape="circle" size="lg" elevation="3" glow></ui-button>
|
|
251
|
+
<span style="font-size: 11px; font-weight: 700; color: #64748b;">FAB MODE</span>
|
|
252
|
+
</div>
|
|
253
|
+
|
|
254
|
+
</div>
|
|
255
|
+
</div>
|
|
256
|
+
|
|
257
|
+
<div class="demo-block" style="margin-top: 24px;">
|
|
258
|
+
<h3>Icon Libraries Support</h3>
|
|
259
|
+
<p style="color: #6b7280; margin-bottom: 12px;">Built-in support for popular icon font libraries and modern SVG-based systems.</p>
|
|
260
|
+
|
|
261
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;">
|
|
262
|
+
|
|
263
|
+
<!-- FontAwesome & Bootstrap -->
|
|
264
|
+
<div style="background: rgba(0,0,0,0.02); padding: 16px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05);">
|
|
265
|
+
<h4 style="margin: 0 0 12px 0;">Classic Font Libraries</h4>
|
|
266
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
267
|
+
<ui-button label="FontAwesome" icon="fa-solid fa-flag" icon-library="fontawesome" variant="primary" size="md"></ui-button>
|
|
268
|
+
<ui-button label="Bootstrap" icon="bi-lightning-fill" icon-library="bootstrap" variant="warning" size="md"></ui-button>
|
|
269
|
+
</div>
|
|
270
|
+
<div style="display: flex; gap: 10px;">
|
|
271
|
+
<ui-button icon="fa-brands fa-github" icon-library="fontawesome" variant="outline" icon-only rounded></ui-button>
|
|
272
|
+
<ui-button icon="bi-twitter-x" icon-library="bootstrap" variant="outline" icon-only rounded></ui-button>
|
|
273
|
+
</div>
|
|
274
|
+
</div>
|
|
275
|
+
|
|
276
|
+
<!-- Lucide & Ionicons -->
|
|
277
|
+
<div style="background: rgba(0,0,0,0.02); padding: 16px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05);">
|
|
278
|
+
<h4 style="margin: 0 0 12px 0;">Modern SVG Libraries</h4>
|
|
279
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
280
|
+
<ui-button label="Lucide" icon="zap" icon-library="lucide" variant="info" size="md"></ui-button>
|
|
281
|
+
<ui-button label="Ionicons" icon="logo-ionic" icon-library="ionicons" variant="secondary" size="md"></ui-button>
|
|
282
|
+
</div>
|
|
283
|
+
<div style="display: flex; gap: 10px;">
|
|
284
|
+
<ui-button icon="moon" icon-library="lucide" variant="ghost" icon-only rounded></ui-button>
|
|
285
|
+
<ui-button icon="sunny" icon-library="ionicons" variant="ghost" icon-only rounded></ui-button>
|
|
286
|
+
</div>
|
|
287
|
+
</div>
|
|
288
|
+
|
|
289
|
+
<!-- Iconoir & LineAwesome -->
|
|
290
|
+
<div style="background: rgba(0,0,0,0.02); padding: 16px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05);">
|
|
291
|
+
<h4 style="margin: 0 0 12px 0;">Designer Libraries</h4>
|
|
292
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
293
|
+
<ui-button label="Iconoir" icon="iconoir-bright-star" icon-library="iconoir" variant="success" size="md"></ui-button>
|
|
294
|
+
<ui-button label="LineAwesome" icon="las la-car" icon-library="icons8" variant="danger" size="md"></ui-button>
|
|
295
|
+
</div>
|
|
296
|
+
<div style="display: flex; gap: 10px;">
|
|
297
|
+
<ui-button icon="iconoir-fingerprint" icon-library="iconoir" variant="outline" icon-only pill></ui-button>
|
|
298
|
+
<ui-button icon="las la-carrot" icon-library="icons8" variant="outline" icon-only pill></ui-button>
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
|
|
302
|
+
<!-- Custom: URL, SVG, Emoji -->
|
|
303
|
+
<div style="background: rgba(0,0,0,0.02); padding: 16px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05);">
|
|
304
|
+
<h4 style="margin: 0 0 12px 0;">Custom Assets</h4>
|
|
305
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
306
|
+
<ui-button label="URL Image" icon="https://raw.githubusercontent.com/lucide-icons/lucide/main/icons/heart.svg" variant="outline" size="md"></ui-button>
|
|
307
|
+
<ui-button label="Emoji" icon="🚀" variant="outline" size="md"></ui-button>
|
|
308
|
+
</div>
|
|
309
|
+
<div style="display: flex; gap: 10px;">
|
|
310
|
+
<ui-button label="SVG Path" variant="outline" size="md" icon="M12 2L2 7l10 5l10-5zM2 17l10 5l10-5M2 12l10 5l10-5"></ui-button>
|
|
311
|
+
<ui-button label="QuartzDS" icon="house" icon-library="se" variant="outline" size="md"></ui-button>
|
|
312
|
+
</div>
|
|
313
|
+
</div>
|
|
314
|
+
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
|
|
318
|
+
<div class="demo-block" style="margin-top: 24px;">
|
|
319
|
+
<h3>Badge Masterclass</h3>
|
|
320
|
+
<p style="color: #6b7280; margin-bottom: 24px;">Badges now correctly overflow the button corners. Demonstrate different shapes, positions, and color variants.</p>
|
|
321
|
+
|
|
322
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; background: #f8fafc; padding: 24px; border-radius: 16px;">
|
|
323
|
+
|
|
324
|
+
<!-- Shapes & Badges -->
|
|
325
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
326
|
+
<h4 style="margin: 0; font-size: 13px; color: #64748b;">SHAPES & CORNERS</h4>
|
|
327
|
+
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
328
|
+
<ui-button icon="bell" icon-library="lucide" icon-only badge="9+" variant="primary"></ui-button>
|
|
329
|
+
<ui-button icon="mail" icon-library="lucide" icon-only badge="3" variant="success" shape="circle"></ui-button>
|
|
330
|
+
<ui-button icon="message-square" icon-library="lucide" icon-only badge="New" variant="info" pill></ui-button>
|
|
331
|
+
</div>
|
|
332
|
+
</div>
|
|
333
|
+
|
|
334
|
+
<!-- Variants & Colors -->
|
|
335
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
336
|
+
<h4 style="margin: 0; font-size: 13px; color: #64748b;">BADGE VARIANTS</h4>
|
|
337
|
+
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
338
|
+
<ui-button label="Alert" badge="!" variant="outline" badge-color="warning"></ui-button>
|
|
339
|
+
<ui-button label="Done" badge="✓" variant="outline" badge-color="success"></ui-button>
|
|
340
|
+
<ui-button label="Premium" badge="Gold" variant="outline" badge-custom-color="#8b5cf6" badge-custom-text-color="#ffffff"></ui-button>
|
|
341
|
+
</div>
|
|
342
|
+
</div>
|
|
343
|
+
|
|
344
|
+
<!-- Positions -->
|
|
345
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
346
|
+
<h4 style="margin: 0; font-size: 13px; color: #64748b;">POSITIONS</h4>
|
|
347
|
+
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
348
|
+
<ui-button icon="bell" icon-library="lucide" icon-only badge="TR" badge-position="top-right" variant="secondary"></ui-button>
|
|
349
|
+
<ui-button icon="bell" icon-library="lucide" icon-only badge="TL" badge-position="top-left" variant="secondary"></ui-button>
|
|
350
|
+
<ui-button icon="bell" icon-library="lucide" icon-only badge="BR" badge-position="bottom-right" variant="secondary"></ui-button>
|
|
351
|
+
<ui-button icon="bell" icon-library="lucide" icon-only badge="BL" badge-position="bottom-left" variant="secondary"></ui-button>
|
|
352
|
+
</div>
|
|
353
|
+
</div>
|
|
354
|
+
|
|
355
|
+
</div>
|
|
356
|
+
</div>
|
|
357
|
+
|
|
358
|
+
<div class="demo-block" style="margin-top: 24px;">
|
|
359
|
+
<h3>Interactive Counter</h3>
|
|
360
|
+
<p style="color: #6b7280; margin-bottom: 24px;">Click the button below to see the counter increment dynamically. This demonstrates real-time badge updates.</p>
|
|
361
|
+
<div style="display: flex; gap: 20px; align-items: center; background: #f8fafc; padding: 24px; border-radius: 16px;">
|
|
362
|
+
<ui-button id="counterBtn" icon="shopping-cart" icon-library="lucide" label="Add to Cart" badge="0" variant="primary"></ui-button>
|
|
363
|
+
<ui-button id="resetCounterBtn" label="Reset Counter" variant="ghost" size="sm" color="danger"></ui-button>
|
|
364
|
+
</div>
|
|
365
|
+
</div>
|
|
366
|
+
`;
|
|
367
|
+
|
|
368
|
+
setTimeout(() => {
|
|
369
|
+
const counterBtn = document.getElementById('counterBtn');
|
|
370
|
+
const resetBtn = document.getElementById('resetCounterBtn');
|
|
371
|
+
if (counterBtn) {
|
|
372
|
+
let count = 0;
|
|
373
|
+
counterBtn.addEventListener('buttonClick', () => {
|
|
374
|
+
count++;
|
|
375
|
+
counterBtn.badge = count;
|
|
376
|
+
});
|
|
377
|
+
if (resetBtn) {
|
|
378
|
+
resetBtn.addEventListener('buttonClick', () => {
|
|
379
|
+
count = 0;
|
|
380
|
+
counterBtn.badge = 0;
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}, 100);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
function showPremiumButtons() {
|
|
388
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
389
|
+
if (!container) return;
|
|
390
|
+
container.innerHTML = `
|
|
391
|
+
<div class="demo-block">
|
|
392
|
+
<h3>✨ Premium Features Dashboard</h3>
|
|
393
|
+
<p style="color: #6b7280; margin-bottom: 24px;">Advanced interaction and styling patterns for professional-grade applications.</p>
|
|
394
|
+
|
|
395
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;">
|
|
396
|
+
|
|
397
|
+
<!-- Soft Variants -->
|
|
398
|
+
<div class="demo-card-inner" style="padding: 20px; background: #fff; border: 1px solid #eef2f6; border-radius: 12px;">
|
|
399
|
+
<h4 style="margin: 0 0 16px 0;">☁️ Soft Variants</h4>
|
|
400
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap;">
|
|
401
|
+
<ui-button label="Primary" variant="outline" color="primary"></ui-button>
|
|
402
|
+
<ui-button label="Success" variant="outline" color="success"></ui-button>
|
|
403
|
+
<ui-button label="Danger" variant="outline" color="danger"></ui-button>
|
|
404
|
+
<ui-button label="Info" variant="outline" color="info"></ui-button>
|
|
405
|
+
</div>
|
|
406
|
+
</div>
|
|
407
|
+
|
|
408
|
+
<!-- Gradients -->
|
|
409
|
+
<div class="demo-card-inner" style="padding: 20px; background: #fff; border: 1px solid #eef2f6; border-radius: 12px;">
|
|
410
|
+
<h4 style="margin: 0 0 16px 0;">🌈 Gradient Variants</h4>
|
|
411
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap;">
|
|
412
|
+
<ui-button label="Brand" variant="gradient"></ui-button>
|
|
413
|
+
<ui-button label="Ocean" variant="gradient-ocean"></ui-button>
|
|
414
|
+
<ui-button label="Sunset" variant="gradient-sunset"></ui-button>
|
|
415
|
+
<ui-button label="Candy" variant="gradient-candy"></ui-button>
|
|
416
|
+
<ui-button label="Gold" variant="gradient-gold"></ui-button>
|
|
417
|
+
<ui-button label="Blue" variant="gradient-blue"></ui-button>
|
|
418
|
+
<ui-button label="Purple" variant="gradient-purple"></ui-button>
|
|
419
|
+
<ui-button label="Orange" variant="gradient-orange"></ui-button>
|
|
420
|
+
</div>
|
|
421
|
+
</div>
|
|
422
|
+
|
|
423
|
+
<!-- Shortcuts & Copy -->
|
|
424
|
+
<div class="demo-card-inner" style="padding: 20px; background: #fff; border: 1px solid #eef2f6; border-radius: 12px;">
|
|
425
|
+
<h4 style="margin: 0 0 16px 0;">📋 Utilities</h4>
|
|
426
|
+
<div style="display: grid; gap: 12px;">
|
|
427
|
+
<ui-button label="Copy API ID" icon="copy" icon-library="lucide" copy-value="ID_45920-X" variant="outline" full-width></ui-button>
|
|
428
|
+
<ui-button label="Quick Search" icon="search" icon-library="lucide" shortcut="/" variant="outline" full-width></ui-button>
|
|
429
|
+
<ui-button label="Save All" icon="save" icon-library="lucide" shortcut="ctrl+s" variant="primary" full-width></ui-button>
|
|
430
|
+
</div>
|
|
431
|
+
</div>
|
|
432
|
+
|
|
433
|
+
<!-- States -->
|
|
434
|
+
<div class="demo-card-inner" style="padding: 20px; background: #fff; border: 1px solid #eef2f6; border-radius: 12px;">
|
|
435
|
+
<h4 style="margin: 0 0 16px 0;">🦾 Advanced States</h4>
|
|
436
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; align-items: center;">
|
|
437
|
+
<ui-button label="Skeleton" skeleton variant="primary" width="120px"></ui-button>
|
|
438
|
+
<ui-button label="Export" has-dropdown variant="outline"></ui-button>
|
|
439
|
+
<ui-button label="Active Mode" active variant="success" icon="check" icon-library="lucide"></ui-button>
|
|
440
|
+
</div>
|
|
441
|
+
</div>
|
|
442
|
+
|
|
443
|
+
</div>
|
|
444
|
+
|
|
445
|
+
<div class="demo-block" style="margin-top: 32px; background: #f8fafc; padding: 24px; border-radius: 16px;">
|
|
446
|
+
<h3>📱 Responsive Labels</h3>
|
|
447
|
+
<p style="margin-bottom: 20px; opacity: 0.8;">Resize your browser below 640px. The label "Edit Profile" will automatically hide and the button will collapse to its icon.</p>
|
|
448
|
+
<ui-button label="Edit Profile" icon="user" icon-library="lucide" hide-label-on-mobile variant="primary" size="lg" shape="pill"></ui-button>
|
|
449
|
+
</div>
|
|
450
|
+
</div>
|
|
451
|
+
`;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
function showGodModeButtons() {
|
|
455
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
456
|
+
if (!container) return;
|
|
457
|
+
container.innerHTML = `
|
|
458
|
+
<div class="demo-block">
|
|
459
|
+
<h3>⚡ God Mode: The Future of Interactions</h3>
|
|
460
|
+
<p style="color: #6b7280; margin-bottom: 32px;">The absolute peak of UI engineering. A multi-sensory, hyper-safe experience.</p>
|
|
461
|
+
|
|
462
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px;">
|
|
463
|
+
|
|
464
|
+
<!-- Safety & Critical Flows -->
|
|
465
|
+
<div class="demo-card-inner" style="padding: 24px; background: #fff; border: 1px solid #eef2f6; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);">
|
|
466
|
+
<h4 style="margin: 0 0 20px 0; color: #ef4444;">🛡️ High-Stakes Safety</h4>
|
|
467
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
468
|
+
<ui-button label="Purge Memory" variant="danger" hold-time="2000" shake audio="error" haptic full-width></ui-button>
|
|
469
|
+
<ui-button label="Delete Cloud" variant="outline" color="danger" confirm-bubble confirm-label="Permanent Delete?" audio="error" full-width></ui-button>
|
|
470
|
+
<ui-button label="Resend OTP" timer="15" shake variant="outline" color="primary" full-width></ui-button>
|
|
471
|
+
</div>
|
|
472
|
+
</div>
|
|
473
|
+
|
|
474
|
+
<!-- Hyper-Premium Aesthetics -->
|
|
475
|
+
<div class="demo-card-inner" style="padding: 24px; background: #fff; border: 1px solid #eef2f6; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);">
|
|
476
|
+
<h4 style="margin: 0 0 20px 0; color: #8b5cf6;">🕹️ Hyper-Aesthetics</h4>
|
|
477
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
478
|
+
<ui-button label="VIP Rainbow Glow" variant="dark" glow rainbow glossy audio="click" full-width></ui-button>
|
|
479
|
+
<ui-button label="Liquid Wave Progress" variant="primary" progress="45" liquid audio="click" full-width></ui-button>
|
|
480
|
+
<ui-button label="Success Morph" variant="success" success-morph="2000" haptic full-width></ui-button>
|
|
481
|
+
</div>
|
|
482
|
+
</div>
|
|
483
|
+
|
|
484
|
+
<!-- Smart Branding & Toggling -->
|
|
485
|
+
<div class="demo-card-inner" style="padding: 24px; background: #fff; border: 1px solid #eef2f6; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);">
|
|
486
|
+
<h4 style="margin: 0 0 20px 0; color: #f59e0b;">🏗️ Orchestrated Motion</h4>
|
|
487
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
488
|
+
<div style="display: flex; gap: 10px;">
|
|
489
|
+
<ui-button label="1" variant="outline" reveal="slide-up" reveal-delay="0"></ui-button>
|
|
490
|
+
<ui-button label="2" variant="outline" reveal="slide-up" reveal-delay="150"></ui-button>
|
|
491
|
+
<ui-button label="3" variant="outline" reveal="slide-up" reveal-delay="300"></ui-button>
|
|
492
|
+
</div>
|
|
493
|
+
<ui-button label="Task in Progress" loading progress="65" variant="outline" color="primary" full-width></ui-button>
|
|
494
|
+
<ui-button label="Purge Memory" shatter variant="danger" audio="error" full-width></ui-button>
|
|
495
|
+
</div>
|
|
496
|
+
</div>
|
|
497
|
+
|
|
498
|
+
</div>
|
|
499
|
+
|
|
500
|
+
<div class="demo-block" style="margin-top: 40px; padding: 48px; background: #000; border-radius: 24px; text-align: center; color: #fff; overflow: hidden; position: relative;">
|
|
501
|
+
<h2 style="margin-bottom: 24px; font-weight: 800; font-size: 32px; letter-spacing: -0.5px;">🧬 The Final End-Game Component</h2>
|
|
502
|
+
<p style="margin-bottom: 40px; opacity: 0.6; font-size: 18px;">Shatter + Follow Glow + Spin + Slider + Rainbow + 3D Tilt</p>
|
|
503
|
+
|
|
504
|
+
<div style="display: flex; justify-content: center; gap: 40px;">
|
|
505
|
+
<ui-button
|
|
506
|
+
label="The Unstoppable Action"
|
|
507
|
+
mode="slider"
|
|
508
|
+
size="xxl"
|
|
509
|
+
shape="pill"
|
|
510
|
+
gradient-style="blaze"
|
|
511
|
+
animate-gradient
|
|
512
|
+
pulse follow-glow
|
|
513
|
+
tilt
|
|
514
|
+
magnetic
|
|
515
|
+
glow
|
|
516
|
+
haptic
|
|
517
|
+
celebrate
|
|
518
|
+
shatter spin-on-click
|
|
519
|
+
audio-src="https://www.soundjay.com/buttons/sounds/button-10.mp3"
|
|
520
|
+
></ui-button>
|
|
521
|
+
</div>
|
|
522
|
+
</div>
|
|
523
|
+
</div>
|
|
524
|
+
`;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
function showInteractiveButton() {
|
|
528
|
+
const container = document.getElementById('buttonDemoContainer');
|
|
529
|
+
if (!container) return;
|
|
530
|
+
|
|
531
|
+
container.innerHTML = `
|
|
532
|
+
<div class="playground-wrapper" style="display: flex; height: 800px; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.05);">
|
|
533
|
+
<!-- Left Sidebar: Component Workbench -->
|
|
534
|
+
<div class="playground-sidebar" style="width: 400px; flex-shrink: 0; border-right: 1px solid rgba(0,0,0,0.05); background: #fff; display: flex; flex-direction: column;">
|
|
535
|
+
<div style="padding: 28px; border-bottom: 1px solid rgba(0,0,0,0.05); flex-shrink: 0;">
|
|
536
|
+
<h3 style="margin: 0; font-size: 1.2rem; background: linear-gradient(to right, #1e293b, #64748b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em;">
|
|
537
|
+
<ui-icon name="tool" library="lucide" color="primary"></ui-icon>
|
|
538
|
+
Component Workbench
|
|
539
|
+
</h3>
|
|
540
|
+
</div>
|
|
541
|
+
|
|
542
|
+
<div class="playground-sidebar-scroll" style="flex: 1; overflow-y: auto; padding: 28px; display: flex; flex-direction: column; gap: 28px;">
|
|
543
|
+
<!-- Section: Aesthetics -->
|
|
544
|
+
<div class="setting-card">
|
|
545
|
+
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
546
|
+
<div style="width: 32px; height: 32px; border-radius: 8px; background: #f1f5f9; display: flex; align-items: center; justify-content: center;"><ui-icon name="palette" size="16px" color="primary"></ui-icon></div>
|
|
547
|
+
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: #475569; font-weight: 700;">Aesthetics & Branding</h4>
|
|
548
|
+
</div>
|
|
549
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
550
|
+
<ui-input id="btnLabel" label="Visual Label" value="Click Me!" size="md" variant="outlined"></ui-input>
|
|
551
|
+
<ui-dropdown id="btnVariant" label="Style Variant" value="primary" options='[
|
|
552
|
+
{"label": "Primary", "value": "primary"}, {"label": "Secondary", "value": "secondary"},
|
|
553
|
+
{"label": "Success", "value": "success"}, {"label": "Danger", "value": "danger"},
|
|
554
|
+
{"label": "Warning", "value": "warning"}, {"label": "Info", "value": "info"},
|
|
555
|
+
{"label": "Outline", "value": "outline"}, {"label": "Ghost", "value": "ghost"},
|
|
556
|
+
{"label": "Glass", "value": "glass"}, {"label": "Raised", "value": "raised"},
|
|
557
|
+
{"label": "Dark", "value": "dark"}, {"label": "Gradient (Brand)", "value": "gradient"}
|
|
558
|
+
]' size="md" variant="outlined"></ui-dropdown>
|
|
559
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
560
|
+
<ui-dropdown id="btnSize" label="Scale" value="md" options='[
|
|
561
|
+
{"label": "XS", "value": "xs"}, {"label": "Small", "value": "sm"},
|
|
562
|
+
{"label": "Medium", "value": "md"}, {"label": "Large", "value": "lg"},
|
|
563
|
+
{"label": "X-Large", "value": "xl"}, {"label": "2X-Large", "value": "xxl"}
|
|
564
|
+
]' size="md" variant="outlined"></ui-dropdown>
|
|
565
|
+
<ui-dropdown id="btnShape" label="Corner Engine" value="rounded" options='[
|
|
566
|
+
{"label": "Rounded", "value": "rounded"}, {"label": "Square", "value": "square"},
|
|
567
|
+
{"label": "Pill", "value": "pill"}, {"label": "Chip", "value": "chip"},
|
|
568
|
+
{"label": "Circle", "value": "circle"}
|
|
569
|
+
]' size="md" variant="outlined"></ui-dropdown>
|
|
570
|
+
</div>
|
|
571
|
+
</div>
|
|
572
|
+
</div>
|
|
573
|
+
|
|
574
|
+
<!-- Section: Icons -->
|
|
575
|
+
<div class="setting-card">
|
|
576
|
+
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
577
|
+
<div style="width: 32px; height: 32px; border-radius: 8px; background: #fdf2f8; display: flex; align-items: center; justify-content: center;"><ui-icon name="image" size="16px" color="danger"></ui-icon></div>
|
|
578
|
+
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: #be185d; font-weight: 700;">Icons & Adornments</h4>
|
|
579
|
+
</div>
|
|
580
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
581
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
582
|
+
<ui-input id="btnIcon" label="Glyph Name" value="star" size="md" variant="outlined"></ui-input>
|
|
583
|
+
<ui-dropdown id="btnIconLibrary" label="Library" value="lucide" options='[
|
|
584
|
+
{"label": "Lucide", "value": "lucide"}, {"label": "FontAwesome", "value": "fontawesome"},
|
|
585
|
+
{"label": "Bootstrap", "value": "bootstrap"}, {"label": "Ionicons", "value": "ionicons"},
|
|
586
|
+
{"label": "SE (Quartz)", "value": "se"}
|
|
587
|
+
]' size="md" variant="outlined"></ui-dropdown>
|
|
588
|
+
</div>
|
|
589
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
590
|
+
<ui-dropdown id="btnIconPosition" label="Position" value="left" options='[
|
|
591
|
+
{"label": "Left", "value": "left"}, {"label": "Right", "value": "right"},
|
|
592
|
+
{"label": "Top", "value": "top"}, {"label": "Bottom", "value": "bottom"}
|
|
593
|
+
]' size="md" variant="outlined"></ui-dropdown>
|
|
594
|
+
<ui-input id="btnBadge" label="Overlay Badge" value="" size="md" variant="outlined" placeholder="e.g. 9+"></ui-input>
|
|
595
|
+
</div>
|
|
596
|
+
</div>
|
|
597
|
+
</div>
|
|
598
|
+
|
|
599
|
+
<!-- Section: Advanced Behaviors -->
|
|
600
|
+
<div class="setting-card">
|
|
601
|
+
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
602
|
+
<div style="width: 32px; height: 32px; border-radius: 8px; background: #f0f9ff; display: flex; align-items: center; justify-content: center;"><ui-icon name="zap" size="16px" color="info"></ui-icon></div>
|
|
603
|
+
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: #0369a1; font-weight: 700;">Operational States</h4>
|
|
604
|
+
</div>
|
|
605
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
606
|
+
<ui-checkbox id="btnLoading" label="Loading Mode" size="md"></ui-checkbox>
|
|
607
|
+
<ui-checkbox id="btnDisabled" label="Deactivated" size="md"></ui-checkbox>
|
|
608
|
+
<ui-checkbox id="btnIconOnly" label="Icon Focus" size="md"></ui-checkbox>
|
|
609
|
+
<ui-checkbox id="btnFullWidth" label="Full Stretch" size="md"></ui-checkbox>
|
|
610
|
+
<ui-checkbox id="btnSkeleton" label="Ghost Skeleton" size="md"></ui-checkbox>
|
|
611
|
+
<ui-checkbox id="btnActive" label="Forced Active" size="md"></ui-checkbox>
|
|
612
|
+
</div>
|
|
613
|
+
</div>
|
|
614
|
+
|
|
615
|
+
<!-- Section: God Mode -->
|
|
616
|
+
<div class="setting-card" style="border-left: 4px solid #8b5cf6;">
|
|
617
|
+
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
618
|
+
<div style="width: 32px; height: 32px; border-radius: 8px; background: #f5f3ff; display: flex; align-items: center; justify-content: center;"><ui-icon name="sparkles" size="16px" color="primary"></ui-icon></div>
|
|
619
|
+
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: #7c3aed; font-weight: 700;">Zenith Features</h4>
|
|
620
|
+
</div>
|
|
621
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
622
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
623
|
+
<ui-number-input id="btnHoldTime" label="Hold (ms)" value="0" step="500" size="md" variant="outlined"></ui-number-input>
|
|
624
|
+
<ui-number-input id="btnTimer" label="Timer (s)" value="0" size="md" variant="outlined"></ui-number-input>
|
|
625
|
+
</div>
|
|
626
|
+
<ui-input id="btnConfirmLabel" label="Safe Confirmation" placeholder="e.g. Are you sure?" size="md" variant="outlined"></ui-input>
|
|
627
|
+
<ui-dropdown id="btnReveal" label="Entrance Reveal" value="none" options='[
|
|
628
|
+
{"label": "None", "value": "none"}, {"label": "Slide Up", "value": "slide-up"},
|
|
629
|
+
{"label": "Fade In", "value": "fade-in"}, {"label": "Zoom Master", "value": "zoom"}
|
|
630
|
+
]' size="md" variant="outlined"></ui-dropdown>
|
|
631
|
+
</div>
|
|
632
|
+
</div>
|
|
633
|
+
</div>
|
|
634
|
+
</div>
|
|
635
|
+
|
|
636
|
+
<!-- Main Preview Area -->
|
|
637
|
+
<div class="playground-main" style="flex: 1; display: flex; flex-direction: column; background: #f8fafc;">
|
|
638
|
+
<div style="padding: 20px 32px; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; background: #fff;">
|
|
639
|
+
<div style="display: flex; gap: 12px; align-items: center;">
|
|
640
|
+
<span style="font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; font-weight: 700;">Synthesis Visualizer</span>
|
|
641
|
+
</div>
|
|
642
|
+
</div>
|
|
643
|
+
|
|
644
|
+
<div style="flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px; position: relative;">
|
|
645
|
+
<div id="btnInteractiveContainer" style="transform: scale(1.2); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);"></div>
|
|
646
|
+
</div>
|
|
647
|
+
|
|
648
|
+
<!-- Code Artifact -->
|
|
649
|
+
<div style="padding: 32px; background: #fff; border-top: 1px solid rgba(0,0,0,0.05);">
|
|
650
|
+
<ui-code-preview id="buttonCodePreview" label="Snippet" language="html"></ui-code-preview>
|
|
651
|
+
</div>
|
|
652
|
+
</div>
|
|
653
|
+
</div>
|
|
654
|
+
`;
|
|
655
|
+
|
|
656
|
+
setTimeout(() => {
|
|
657
|
+
const ctrls = container.querySelectorAll('ui-input, ui-dropdown, ui-checkbox, ui-number-input');
|
|
658
|
+
ctrls.forEach(ctrl => {
|
|
659
|
+
let eventName;
|
|
660
|
+
if (ctrl.tagName === 'UI-CHECKBOX') {
|
|
661
|
+
eventName = 'checkboxChange';
|
|
662
|
+
} else if (ctrl.tagName === 'UI-DROPDOWN') {
|
|
663
|
+
eventName = 'valueChange';
|
|
664
|
+
} else if (ctrl.tagName === 'UI-NUMBER-INPUT') {
|
|
665
|
+
eventName = 'numberChange';
|
|
666
|
+
} else {
|
|
667
|
+
eventName = 'inputChange';
|
|
668
|
+
}
|
|
669
|
+
ctrl.addEventListener(eventName, () => {
|
|
670
|
+
updateInteractiveButton();
|
|
671
|
+
});
|
|
672
|
+
});
|
|
673
|
+
updateInteractiveButton();
|
|
674
|
+
}, 100);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
function updateInteractiveButton() {
|
|
678
|
+
const container = document.getElementById('btnInteractiveContainer');
|
|
679
|
+
const codeDisp = document.getElementById('buttonCodePreview');
|
|
680
|
+
if (!container) return;
|
|
681
|
+
|
|
682
|
+
const label = document.getElementById('btnLabel')?.value || 'Click Me!';
|
|
683
|
+
const variant = document.getElementById('btnVariant')?.value || 'primary';
|
|
684
|
+
const size = document.getElementById('btnSize')?.value || 'md';
|
|
685
|
+
const shape = document.getElementById('btnShape')?.value || 'rounded';
|
|
686
|
+
const icon = document.getElementById('btnIcon')?.value || '';
|
|
687
|
+
const iconLib = document.getElementById('btnIconLibrary')?.value || 'lucide';
|
|
688
|
+
const iconPos = document.getElementById('btnIconPosition')?.value || 'left';
|
|
689
|
+
const badge = document.getElementById('btnBadge')?.value || '';
|
|
690
|
+
|
|
691
|
+
const loading = document.getElementById('btnLoading')?.checked;
|
|
692
|
+
const disabled = document.getElementById('btnDisabled')?.checked;
|
|
693
|
+
const iconOnly = document.getElementById('btnIconOnly')?.checked;
|
|
694
|
+
const fullWidth = document.getElementById('btnFullWidth')?.checked;
|
|
695
|
+
const skeleton = document.getElementById('btnSkeleton')?.checked;
|
|
696
|
+
const active = document.getElementById('btnActive')?.checked;
|
|
697
|
+
|
|
698
|
+
const holdTime = document.getElementById('btnHoldTime')?.value || 0;
|
|
699
|
+
const timer = document.getElementById('btnTimer')?.value || 0;
|
|
700
|
+
const confirmLabel = document.getElementById('btnConfirmLabel')?.value || '';
|
|
701
|
+
const reveal = document.getElementById('btnReveal')?.value || 'none';
|
|
702
|
+
|
|
703
|
+
let props = ` label="${label}" variant="${variant}" size="${size}" shape="${shape}"`;
|
|
704
|
+
if (icon) props += ` icon="${icon}"`;
|
|
705
|
+
if (iconLib !== 'lucide') props += ` icon-library="${iconLib}"`;
|
|
706
|
+
if (iconPos !== 'left') props += ` icon-position="${iconPos}"`;
|
|
707
|
+
if (badge) props += ` badge="${badge}"`;
|
|
708
|
+
if (loading) props += ' loading';
|
|
709
|
+
if (disabled) props += ' disabled';
|
|
710
|
+
if (iconOnly) props += ' icon-only';
|
|
711
|
+
if (fullWidth) props += ' full-width';
|
|
712
|
+
if (skeleton) props += ' skeleton';
|
|
713
|
+
if (active) props += ' active';
|
|
714
|
+
if (holdTime > 0) props += ` hold-time="${holdTime}"`;
|
|
715
|
+
if (timer > 0) props += ` timer="${timer}"`;
|
|
716
|
+
if (confirmLabel) props += ` confirm-bubble confirm-label="${confirmLabel}"`;
|
|
717
|
+
if (reveal !== 'none') props += ` reveal="${reveal}"`;
|
|
718
|
+
|
|
719
|
+
const html = `<ui-button${props}></ui-button>`;
|
|
720
|
+
container.innerHTML = html;
|
|
721
|
+
if (codeDisp) codeDisp.htmlCode = html;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
function showGradientButtons() {
|
|
725
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
726
|
+
if (!container) return;
|
|
727
|
+
container.innerHTML = `
|
|
728
|
+
<div class="demo-block">
|
|
729
|
+
<h3>🌈 Gradient Buttons</h3>
|
|
730
|
+
<p style="color: #6b7280; margin-bottom: 24px;">Premium gradient variants with smooth hover effects and glow shadows. Use the <code>variant</code> prop with any gradient name.</p>
|
|
731
|
+
|
|
732
|
+
<div style="display: flex; flex-direction: column; gap: 28px;">
|
|
733
|
+
|
|
734
|
+
<!-- Row 1: Basic gradient buttons -->
|
|
735
|
+
<div>
|
|
736
|
+
<h4 style="margin: 0 0 12px 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #9ca3af;">Solid Gradients</h4>
|
|
737
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; align-items: center;">
|
|
738
|
+
<ui-button variant="gradient" label="Brand Green"></ui-button>
|
|
739
|
+
<ui-button variant="gradient-blue" label="Blue Purple"></ui-button>
|
|
740
|
+
<ui-button variant="gradient-purple" label="Purple Pink"></ui-button>
|
|
741
|
+
<ui-button variant="gradient-orange" label="Orange Red"></ui-button>
|
|
742
|
+
<ui-button variant="gradient-ocean" label="Ocean"></ui-button>
|
|
743
|
+
<ui-button variant="gradient-sunset" label="Sunset"></ui-button>
|
|
744
|
+
<ui-button variant="gradient-candy" label="Candy"></ui-button>
|
|
745
|
+
<ui-button variant="gradient-gold" label="Gold"></ui-button>
|
|
746
|
+
</div>
|
|
747
|
+
</div>
|
|
748
|
+
|
|
749
|
+
<!-- Row 2: With icons -->
|
|
750
|
+
<div>
|
|
751
|
+
<h4 style="margin: 0 0 12px 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #9ca3af;">With Icons</h4>
|
|
752
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; align-items: center;">
|
|
753
|
+
<ui-button variant="gradient" label="Dashboard" icon="layout-dashboard" icon-library="lucide"></ui-button>
|
|
754
|
+
<ui-button variant="gradient-blue" label="Analytics" icon="bar-chart-2" icon-library="lucide"></ui-button>
|
|
755
|
+
<ui-button variant="gradient-purple" label="Premium" icon="star" icon-library="lucide"></ui-button>
|
|
756
|
+
<ui-button variant="gradient-orange" label="Alert" icon="zap" icon-library="lucide"></ui-button>
|
|
757
|
+
<ui-button variant="gradient-ocean" label="Explore" icon="compass" icon-library="lucide"></ui-button>
|
|
758
|
+
<ui-button variant="gradient-candy" label="Like" icon="heart" icon-library="lucide"></ui-button>
|
|
759
|
+
<ui-button variant="gradient-gold" label="Award" icon="award" icon-library="lucide"></ui-button>
|
|
760
|
+
</div>
|
|
761
|
+
</div>
|
|
762
|
+
|
|
763
|
+
<!-- Row 3: Pill shape -->
|
|
764
|
+
<div>
|
|
765
|
+
<h4 style="margin: 0 0 12px 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #9ca3af;">Pill Shape</h4>
|
|
766
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; align-items: center;">
|
|
767
|
+
<ui-button variant="gradient" label="Green Pill" pill></ui-button>
|
|
768
|
+
<ui-button variant="gradient-blue" label="Blue Pill" pill></ui-button>
|
|
769
|
+
<ui-button variant="gradient-purple" label="Purple Pill" pill></ui-button>
|
|
770
|
+
<ui-button variant="gradient-sunset" label="Sunset Pill" pill></ui-button>
|
|
771
|
+
</div>
|
|
772
|
+
</div>
|
|
773
|
+
|
|
774
|
+
<!-- Row 4: Icon only -->
|
|
775
|
+
<div>
|
|
776
|
+
<h4 style="margin: 0 0 12px 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #9ca3af;">Icon Only</h4>
|
|
777
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; align-items: center;">
|
|
778
|
+
<ui-button variant="gradient" icon="zap" icon-library="lucide" icon-only pill></ui-button>
|
|
779
|
+
<ui-button variant="gradient-blue" icon="star" icon-library="lucide" icon-only pill></ui-button>
|
|
780
|
+
<ui-button variant="gradient-purple" icon="heart" icon-library="lucide" icon-only pill></ui-button>
|
|
781
|
+
<ui-button variant="gradient-orange" icon="flame" icon-library="lucide" icon-only pill></ui-button>
|
|
782
|
+
<ui-button variant="gradient-ocean" icon="waves" icon-library="lucide" icon-only pill></ui-button>
|
|
783
|
+
<ui-button variant="gradient-candy" icon="candy" icon-library="lucide" icon-only pill></ui-button>
|
|
784
|
+
<ui-button variant="gradient-gold" icon="award" icon-library="lucide" icon-only pill></ui-button>
|
|
785
|
+
</div>
|
|
786
|
+
</div>
|
|
787
|
+
|
|
788
|
+
<!-- Row 5: Sizes -->
|
|
789
|
+
<div>
|
|
790
|
+
<h4 style="margin: 0 0 12px 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #9ca3af;">Sizes</h4>
|
|
791
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; align-items: center;">
|
|
792
|
+
<ui-button variant="gradient-blue" label="Small" size="md"></ui-button>
|
|
793
|
+
<ui-button variant="gradient-blue" label="md" size="md"></ui-button>
|
|
794
|
+
<ui-button variant="gradient-blue" label="Large" size="large"></ui-button>
|
|
795
|
+
<ui-button variant="gradient-blue" label="XL" size="xl"></ui-button>
|
|
796
|
+
</div>
|
|
797
|
+
</div>
|
|
798
|
+
|
|
799
|
+
</div>
|
|
800
|
+
</div>
|
|
801
|
+
<div class="demo-block">
|
|
802
|
+
<h3>Button with Subtitle</h3>
|
|
803
|
+
<p style="color: #6b7280; margin-bottom: 24px;">You can add a subtitle below the main button label using the <code>subtitle</code> prop.</p>
|
|
804
|
+
<div style="display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start;">
|
|
805
|
+
<ui-button label="Main Action" subtitle="This is a subtitle" variant="primary"></ui-button>
|
|
806
|
+
<ui-button label="Main Action" subtitle="This is a subtitle" icon="zap" icon-library="lucide" variant="primary"></ui-button>
|
|
807
|
+
<ui-button label="Save" subtitle="Saves your changes" icon="save" icon-library="lucide" variant="success"></ui-button>
|
|
808
|
+
<ui-button label="Delete" subtitle="Cannot be undone" icon="trash-2" icon-library="lucide" variant="danger"></ui-button>
|
|
809
|
+
|
|
810
|
+
</div>
|
|
811
|
+
</div>
|
|
812
|
+
`;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
function showBasicButtons() {
|
|
816
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
817
|
+
if (!container) return;
|
|
818
|
+
|
|
819
|
+
container.innerHTML = `
|
|
820
|
+
<div class="demo-block">
|
|
821
|
+
<h3>Variants</h3>
|
|
822
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0;">
|
|
823
|
+
<ui-button label="Primary" variant="primary"></ui-button>
|
|
824
|
+
<ui-button label="Secondary" variant="secondary"></ui-button>
|
|
825
|
+
<ui-button label="Success" variant="success"></ui-button>
|
|
826
|
+
<ui-button label="Danger" variant="danger"></ui-button>
|
|
827
|
+
<ui-button label="Warning" variant="warning"></ui-button>
|
|
828
|
+
<ui-button label="Info" variant="info"></ui-button>
|
|
829
|
+
<ui-button label="Outline" variant="outline"></ui-button>
|
|
830
|
+
<ui-button label="Ghost" variant="ghost"></ui-button>
|
|
831
|
+
<ui-button label="Glass" variant="glass"></ui-button>
|
|
832
|
+
<ui-button label="Raised" variant="raised"></ui-button>
|
|
833
|
+
<ui-button label="Dark" variant="dark"></ui-button>
|
|
834
|
+
</div>
|
|
835
|
+
<h4 style="margin: 20px 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: #9ca3af;">🌈 Gradient Variants</h4>
|
|
836
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px;">
|
|
837
|
+
<ui-button label="Brand" variant="gradient"></ui-button>
|
|
838
|
+
<ui-button label="Blue Purple" variant="gradient-blue"></ui-button>
|
|
839
|
+
<ui-button label="Purple Pink" variant="gradient-purple"></ui-button>
|
|
840
|
+
<ui-button label="Orange Red" variant="gradient-orange"></ui-button>
|
|
841
|
+
<ui-button label="Ocean" variant="gradient-ocean"></ui-button>
|
|
842
|
+
<ui-button label="Sunset" variant="gradient-sunset"></ui-button>
|
|
843
|
+
<ui-button label="Candy" variant="gradient-candy"></ui-button>
|
|
844
|
+
<ui-button label="Gold" variant="gradient-gold"></ui-button>
|
|
845
|
+
</div>
|
|
846
|
+
</div>
|
|
847
|
+
<div class="demo-block">
|
|
848
|
+
<h3>Link Style</h3>
|
|
849
|
+
<ui-button label="Link Button" variant="ghost" style="text-decoration: underline; color: #10b981;"></ui-button>
|
|
850
|
+
<ui-button label="Real Anchor Link" href="https://example.com" target="_blank" variant="outline" icon="link" icon-library="lucide"></ui-button>
|
|
851
|
+
<ui-button label="No Ripple" no-ripple variant="secondary"></ui-button>
|
|
852
|
+
</div>
|
|
853
|
+
<div class="demo-block">
|
|
854
|
+
<h3>Width Configuration</h3>
|
|
855
|
+
<p style="color: #6b7280; margin-bottom: 12px;">Buttons can be set to <code>full-width</code> or custom <code>width</code> / <code>min-width</code> values.</p>
|
|
856
|
+
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
857
|
+
<ui-button label="Full Width Button" full-width variant="primary"></ui-button>
|
|
858
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap;">
|
|
859
|
+
<ui-button label="Width: 200px" width="200px" variant="outline"></ui-button>
|
|
860
|
+
<ui-button label="Width: 50%" width="50%" variant="info"></ui-button>
|
|
861
|
+
<ui-button label="Max-Fit" width="max-content" variant="primary"></ui-button>
|
|
862
|
+
<ui-button label="Min-Width: 150px" min-width="150px" variant="secondary"></ui-button>
|
|
863
|
+
</div>
|
|
864
|
+
</div>
|
|
865
|
+
</div>
|
|
866
|
+
`;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
function showImageButtons() {
|
|
870
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
871
|
+
if (!container) return;
|
|
872
|
+
|
|
873
|
+
container.innerHTML = `
|
|
874
|
+
<div class="demo-block">
|
|
875
|
+
<h3>Image Buttons</h3>
|
|
876
|
+
<p style="color: #6b7280; margin-bottom: 12px;">Buttons can use images alongside labels for rich visual interaction.</p>
|
|
877
|
+
<div style="display: flex; gap: 16px; flex-wrap: wrap;">
|
|
878
|
+
<ui-button type="image" img-src="https://picsum.photos/id/237/64/64" img-alt="Puppy" label="Adopt Me" variant="primary"></ui-button>
|
|
879
|
+
<ui-button type="image" img-src="https://picsum.photos/id/1025/64/64" img-alt="Pug" label="Pug Life" variant="outline"></ui-button>
|
|
880
|
+
<ui-button type="image" img-src="https://picsum.photos/id/200/64/64" img-alt="Cow" label="Moo!" variant="success" shape="rounded"></ui-button>
|
|
881
|
+
<ui-button type="image" img-src="https://picsum.photos/id/100/64/64" img-alt="Beach" label="Vacation" variant="info" shape="pill"></ui-button>
|
|
882
|
+
</div>
|
|
883
|
+
<div style="margin-top: 12px; background: #1e2937; color: #e2e8f0; padding: 16px; border-radius: 10px; font-size: 13px; overflow-x: auto;">
|
|
884
|
+
<code><ui-button type="image" img-src="..." label="Adopt Me" variant="primary"></ui-button></code>
|
|
885
|
+
</div>
|
|
886
|
+
</div>
|
|
887
|
+
`;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
function showAvatarButtons() {
|
|
891
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
892
|
+
if (!container) return;
|
|
893
|
+
|
|
894
|
+
container.innerHTML = `
|
|
895
|
+
<div class="demo-block">
|
|
896
|
+
<h3>Avatar Buttons</h3>
|
|
897
|
+
<p style="color: #6b7280; margin-bottom: 24px;">Buttons with circular profile images and real-time status indicators.</p>
|
|
898
|
+
|
|
899
|
+
<div style="display: flex; flex-direction: column; gap: 32px;">
|
|
900
|
+
<div>
|
|
901
|
+
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">User Profile Button</h4>
|
|
902
|
+
<div style="display: flex; gap: 16px; flex-wrap: wrap; align-items: center;">
|
|
903
|
+
<ui-button label="Praveen" avatar-src="https://i.pravatar.cc/100?u=praveen" avatar-status="online" variant="outline" shape="pill"></ui-button>
|
|
904
|
+
<ui-button label="Sarah Chen" avatar-src="https://i.pravatar.cc/100?u=sarah" avatar-status="busy" variant="outline" shape="rounded"></ui-button>
|
|
905
|
+
<ui-button label="System Admin" avatar-src="https://i.pravatar.cc/100?u=admin" avatar-status="offline" variant="dark" shape="pill"></ui-button>
|
|
906
|
+
</div>
|
|
907
|
+
</div>
|
|
908
|
+
|
|
909
|
+
<div>
|
|
910
|
+
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Various Sizes (Profile Card Concept)</h4>
|
|
911
|
+
<div style="display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-end;">
|
|
912
|
+
<ui-button size="md" label="Small" avatar-src="https://i.pravatar.cc/100?u=sm" avatar-status="away" variant="outline"></ui-button>
|
|
913
|
+
<ui-button size="md" label="md" avatar-src="https://i.pravatar.cc/100?u=md" avatar-status="online" variant="outline"></ui-button>
|
|
914
|
+
<ui-button size="lg" label="Large" avatar-src="https://i.pravatar.cc/100?u=lg" avatar-status="busy" variant="outline"></ui-button>
|
|
915
|
+
<ui-button size="xl" label="X-Large" avatar-src="https://i.pravatar.cc/100?u=xl" avatar-status="online" variant="outline"></ui-button>
|
|
916
|
+
</div>
|
|
917
|
+
</div>
|
|
918
|
+
|
|
919
|
+
<div>
|
|
920
|
+
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Avatar Only (Quick Select)</h4>
|
|
921
|
+
<div style="display: flex; gap: 16px; flex-wrap: wrap;">
|
|
922
|
+
<ui-button avatar-src="https://i.pravatar.cc/100?u=1" avatar-status="online" variant="ghost" title="User 1"></ui-button>
|
|
923
|
+
<ui-button avatar-src="https://i.pravatar.cc/100?u=2" avatar-status="away" variant="ghost" title="User 2"></ui-button>
|
|
924
|
+
<ui-button avatar-src="https://i.pravatar.cc/100?u=3" avatar-status="busy" variant="ghost" title="User 3"></ui-button>
|
|
925
|
+
<ui-button avatar-src="https://i.pravatar.cc/100?u=4" avatar-status="online" variant="ghost" title="User 4"></ui-button>
|
|
926
|
+
<ui-button variant="outline" shape="circle" icon="plus" icon-library="lucide" title="Add User"></ui-button>
|
|
927
|
+
</div>
|
|
928
|
+
</div>
|
|
929
|
+
|
|
930
|
+
<div>
|
|
931
|
+
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Explicitly Circle Shorthand</h4>
|
|
932
|
+
<div style="display: flex; gap: 16px; flex-wrap: wrap;">
|
|
933
|
+
<ui-button avatar-src="https://i.pravatar.cc/100?u=a1" circle variant="primary"></ui-button>
|
|
934
|
+
<ui-button avatar-src="https://i.pravatar.cc/100?u=a2" avatar-status="online" circle variant="secondary"></ui-button>
|
|
935
|
+
<ui-button avatar-src="https://i.pravatar.cc/100?u=a3" label="Circle with Label" circle variant="outline"></ui-button>
|
|
936
|
+
</div>
|
|
937
|
+
</div>
|
|
938
|
+
</div>
|
|
939
|
+
</div>
|
|
940
|
+
`;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
function showButtonStates() {
|
|
944
|
+
const container = document.getElementById('buttonDemoContainer');
|
|
945
|
+
if (!container) return;
|
|
946
|
+
|
|
947
|
+
container.innerHTML = `
|
|
948
|
+
<div class="demo-block">
|
|
949
|
+
<h3>Loading States</h3>
|
|
950
|
+
<p style="color: #6b7280; margin-bottom: 12px;">Spinners can be placed on either side of the label.</p>
|
|
951
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0;">
|
|
952
|
+
<ui-button label="Loading Left" loading loading-position="left" variant="primary"></ui-button>
|
|
953
|
+
<ui-button label="Loading Right" loading loading-position="right" variant="success"></ui-button>
|
|
954
|
+
<ui-button label="Outline Loading" loading variant="outline" shape="pill"></ui-button>
|
|
955
|
+
</div>
|
|
956
|
+
</div>
|
|
957
|
+
<div class="demo-block">
|
|
958
|
+
<h3>Inline Counters</h3>
|
|
959
|
+
<p style="color: #6b7280; margin-bottom: 12px;">Use <code>counter</code> for quantities within the button, distinct from status badges.</p>
|
|
960
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap;">
|
|
961
|
+
<ui-button label="Messages" counter="5" variant="primary"></ui-button>
|
|
962
|
+
<ui-button label="Tasks" counter="12" counter-color="success" counter-variant="outline" variant="outline"></ui-button>
|
|
963
|
+
<ui-button label="Alerts" counter="!" counter-color="warning" variant="glass"></ui-button>
|
|
964
|
+
</div>
|
|
965
|
+
</div>
|
|
966
|
+
<div class="demo-block">
|
|
967
|
+
<h3>Disabled States</h3>
|
|
968
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0;">
|
|
969
|
+
<ui-button label="Primary" disabled variant="primary"></ui-button>
|
|
970
|
+
<ui-button label="Success" disabled variant="success"></ui-button>
|
|
971
|
+
<ui-button label="Danger" disabled variant="danger"></ui-button>
|
|
972
|
+
</div>
|
|
973
|
+
</div>
|
|
974
|
+
`;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
function showRichLayoutButtons() {
|
|
978
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
979
|
+
if (!container) return;
|
|
980
|
+
|
|
981
|
+
container.innerHTML = `
|
|
982
|
+
<div class="demo-block">
|
|
983
|
+
<h3>Rich Typography & Metadata</h3>
|
|
984
|
+
<p style="color: #6b7280; margin-bottom: 24px;">The <code>ui-button</code> now natively supports <code>description</code> (or <code>subtitle</code>) with flexible placement.</p>
|
|
985
|
+
|
|
986
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;">
|
|
987
|
+
|
|
988
|
+
<div class="demo-card-inner" style="padding: 24px; border: 1px solid #e2e8f0; border-radius: 16px;">
|
|
989
|
+
<h4 style="margin-bottom: 16px; font-size: 14px; color: #64748b;">POSITION: BELOW (DEFAULT)</h4>
|
|
990
|
+
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
991
|
+
<ui-button label="Network Status" description="Connected to Enterprise-WiFi" icon="wifi" icon-library="lucide" variant="outline" full-width></ui-button>
|
|
992
|
+
<ui-button label="Save Changes" subtitle="Updating 12 parameters..." icon="save" icon-library="lucide" variant="success" full-width></ui-button>
|
|
993
|
+
</div>
|
|
994
|
+
</div>
|
|
995
|
+
|
|
996
|
+
<div class="demo-card-inner" style="padding: 24px; border: 1px solid #e2e8f0; border-radius: 16px;">
|
|
997
|
+
<h4 style="margin-bottom: 16px; font-size: 14px; color: #64748b;">POSITION: ABOVE</h4>
|
|
998
|
+
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
999
|
+
<ui-button description="SYSTEM CRITICAL" label="Shutdown Server" description-position="above" icon="power" icon-library="lucide" variant="danger" full-width></ui-button>
|
|
1000
|
+
<ui-button description="BETA FEATURE" label="Explore Labs" description-position="above" variant="outline" color="primary" full-width></ui-button>
|
|
1001
|
+
</div>
|
|
1002
|
+
</div>
|
|
1003
|
+
|
|
1004
|
+
<div class="demo-card-inner" style="padding: 24px; border: 1px solid #e2e8f0; border-radius: 16px;">
|
|
1005
|
+
<h4 style="margin-bottom: 16px; font-size: 14px; color: #64748b;">POSITION: LEFT (SIDE-BY-SIDE)</h4>
|
|
1006
|
+
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1007
|
+
<ui-button description="5.2GB" label="Download Data" description-position="left" icon="download" icon-library="lucide" variant="outline" full-width></ui-button>
|
|
1008
|
+
<ui-button description="v2.4.0" label="Deploy Model" description-position="left" icon="zap" icon-library="lucide" variant="outline" color="success" full-width></ui-button>
|
|
1009
|
+
</div>
|
|
1010
|
+
</div>
|
|
1011
|
+
|
|
1012
|
+
<div class="demo-card-inner" style="padding: 24px; border: 1px solid #e2e8f0; border-radius: 16px;">
|
|
1013
|
+
<h4 style="margin-bottom: 16px; font-size: 14px; color: #64748b;">POSITION: RIGHT (METADATA)</h4>
|
|
1014
|
+
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1015
|
+
<ui-button description="Locked" label="Admin Panel" description-position="right" icon="lock" icon-library="lucide" variant="outline" color="warning" full-width></ui-button>
|
|
1016
|
+
<ui-button description="2 min ago" label="Last Updated" description-position="right" icon="clock" icon-library="lucide" variant="ghost" full-width></ui-button>
|
|
1017
|
+
</div>
|
|
1018
|
+
</div>
|
|
1019
|
+
|
|
1020
|
+
<div class="demo-card-inner" style="padding: 24px; border: 1px solid #e2e8f0; border-radius: 16px; grid-column: span 2;">
|
|
1021
|
+
<h4 style="margin-bottom: 16px; font-size: 14px; color: #64748b;">PERFECTLY CENTERED (DEFAULT)</h4>
|
|
1022
|
+
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1023
|
+
<ui-button label="System Maintenance" subtitle="Scheduled for 2:00 AM UTC" icon="settings" variant="glass" full-width></ui-button>
|
|
1024
|
+
<ui-button label="Cloud Sync" description="All files are up to date" icon="cloud-check" color="success" shape="pill" full-width></ui-button>
|
|
1025
|
+
</div>
|
|
1026
|
+
</div>
|
|
1027
|
+
|
|
1028
|
+
</div>
|
|
1029
|
+
</div>
|
|
1030
|
+
|
|
1031
|
+
<div class="demo-block" style="margin-top: 32px;">
|
|
1032
|
+
<h3>Premium Contextual Buttons</h3>
|
|
1033
|
+
<p style="color: #6b7280; margin-bottom: 24px;">Combine avatars, status indicators, and descriptions for advanced profile actions.</p>
|
|
1034
|
+
<div style="display: flex; gap: 24px; flex-wrap: wrap;">
|
|
1035
|
+
<ui-button
|
|
1036
|
+
label="Praveen Kumar"
|
|
1037
|
+
description="Product Engineer • Seattle"
|
|
1038
|
+
avatar-src="https://i.pravatar.cc/100?u=p1"
|
|
1039
|
+
avatar-status="online"
|
|
1040
|
+
variant="outline"
|
|
1041
|
+
shape="rounded"
|
|
1042
|
+
style="padding: 12px 20px; height: auto;"
|
|
1043
|
+
></ui-button>
|
|
1044
|
+
|
|
1045
|
+
<ui-button
|
|
1046
|
+
label="Security Guard"
|
|
1047
|
+
description="Access Control Active"
|
|
1048
|
+
icon="shield-check"
|
|
1049
|
+
icon-library="lucide"
|
|
1050
|
+
variant="outline"
|
|
1051
|
+
color="success"
|
|
1052
|
+
shape="pill"
|
|
1053
|
+
style="padding: 10px 18px; height: auto;"
|
|
1054
|
+
></ui-button>
|
|
1055
|
+
</div>
|
|
1056
|
+
</div>
|
|
1057
|
+
`;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
function showButtonToggleGroups() {
|
|
1061
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
1062
|
+
if (!container) return;
|
|
1063
|
+
|
|
1064
|
+
container.innerHTML = `
|
|
1065
|
+
<div class="demo-block">
|
|
1066
|
+
<h3>Selection Groups (The New Engine)</h3>
|
|
1067
|
+
<p style="color: #6b7280; margin-bottom: 32px;">The <code>ui-button-toggle-group</code> now orchestrates standard <code>ui-button</code> atoms for high-fidelity selection interfaces.</p>
|
|
1068
|
+
|
|
1069
|
+
<div style="display: flex; flex-direction: column; gap: 48px;">
|
|
1070
|
+
|
|
1071
|
+
<!-- Staggered Entrance Reveal -->
|
|
1072
|
+
<div>
|
|
1073
|
+
<h4 style="margin-bottom:16px; font-size:14px; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em;">Staggered Entrance Reveal</h4>
|
|
1074
|
+
<div style="display: flex; gap: 24px; flex-wrap: wrap;">
|
|
1075
|
+
<ui-button-toggle-group value="r1" reveal="slide-up" reveal-delay="300" reveal-stagger="100">
|
|
1076
|
+
<ui-button value="r1" label="Development" icon="code" icon-library="lucide"></ui-button>
|
|
1077
|
+
<ui-button value="r2" label="Production" icon="ship" icon-library="lucide"></ui-button>
|
|
1078
|
+
<ui-button value="r3" label="Maintenance" icon="tool" icon-library="lucide"></ui-button>
|
|
1079
|
+
</ui-button-toggle-group>
|
|
1080
|
+
|
|
1081
|
+
<ui-button-toggle-group value="z1" reveal="zoom" reveal-delay="600" reveal-stagger="150" color="secondary" shape="pill" variant="glass">
|
|
1082
|
+
<ui-button value="z1" label="Alpha" icon="layers" icon-library="lucide"></ui-button>
|
|
1083
|
+
<ui-button value="z2" label="Beta" icon="layout" icon-library="lucide"></ui-button>
|
|
1084
|
+
</ui-button-toggle-group>
|
|
1085
|
+
</div>
|
|
1086
|
+
</div>
|
|
1087
|
+
|
|
1088
|
+
<!-- Gradient Groups -->
|
|
1089
|
+
<div>
|
|
1090
|
+
<h4 style="margin-bottom:16px; font-size:14px; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em;">✨ High-Fidelity Gradients</h4>
|
|
1091
|
+
<div style="display: flex; flex-direction: column; gap: 24px;">
|
|
1092
|
+
<ui-button-toggle-group color='{"from": "#6366f1", "to": "#ec4899"}' value="opt1" shape="rounded">
|
|
1093
|
+
<ui-button value="opt1" label="Launch" icon="rocket" icon-library="lucide"></ui-button>
|
|
1094
|
+
<ui-button value="opt2" label="Orbit" icon="orbit" icon-library="lucide"></ui-button>
|
|
1095
|
+
<ui-button value="opt3" label="Landing" icon="target" icon-library="lucide"></ui-button>
|
|
1096
|
+
</ui-button-toggle-group>
|
|
1097
|
+
|
|
1098
|
+
<ui-button-toggle-group color='{"from": "#10b981", "to": "#3b82f6"}' value="opt1" shape="pill" variant="outline">
|
|
1099
|
+
<ui-button value="opt1" label="Eco Plan" icon="leaf" icon-library="lucide"></ui-button>
|
|
1100
|
+
<ui-button value="opt2" label="Swift Flow" icon="zap" icon-library="lucide"></ui-button>
|
|
1101
|
+
</ui-button-toggle-group>
|
|
1102
|
+
</div>
|
|
1103
|
+
</div>
|
|
1104
|
+
|
|
1105
|
+
<!-- Avatar Groups -->
|
|
1106
|
+
<div>
|
|
1107
|
+
<h4 style="margin-bottom:16px; font-size:14px; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em;">Premium Avatar Status Select</h4>
|
|
1108
|
+
<ui-button-toggle-group value="online" color="info">
|
|
1109
|
+
<ui-button value="online" label="Online" avatar-src="https://i.pravatar.cc/150?u=1" avatar-status="online" icon="user-check" icon-library="lucide"></ui-button>
|
|
1110
|
+
<ui-button value="away" label="Away" avatar-src="https://i.pravatar.cc/150?u=2" avatar-status="away" icon="clock" icon-library="lucide"></ui-button>
|
|
1111
|
+
<ui-button value="busy" label="Do Not Disturb" avatar-src="https://i.pravatar.cc/150?u=3" avatar-status="busy" icon="minus-circle" icon-library="lucide"></ui-button>
|
|
1112
|
+
</ui-button-toggle-group>
|
|
1113
|
+
</div>
|
|
1114
|
+
|
|
1115
|
+
<!-- Multi-Select Description Side -->
|
|
1116
|
+
<div>
|
|
1117
|
+
<h4 style="margin-bottom:16px; font-size:14px; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em;">Rich Multi-Select (Side Descriptions)</h4>
|
|
1118
|
+
<ui-button-toggle-group multi-select value='["opt1"]' orientation="vertical" color="primary" style="max-width: 450px;">
|
|
1119
|
+
<ui-button value="opt1" label="Standard License" description="Personal projects only" description-position="right" variant="outline"></ui-button>
|
|
1120
|
+
<ui-button value="opt2" label="Commercial Pro" description="Corporate & Production use" description-position="right" variant="outline"></ui-button>
|
|
1121
|
+
<ui-button value="opt3" label="Enterprise Elite" description="Unlimited scale & 24/7 support" description-position="right" variant="outline"></ui-button>
|
|
1122
|
+
</ui-button-toggle-group>
|
|
1123
|
+
</div>
|
|
1124
|
+
|
|
1125
|
+
</div>
|
|
1126
|
+
</div>
|
|
1127
|
+
`;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
function showButtonGroupAuto() {
|
|
1131
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
1132
|
+
if (!container) return;
|
|
1133
|
+
|
|
1134
|
+
container.innerHTML = `
|
|
1135
|
+
<div class="demo-block">
|
|
1136
|
+
<h3>Automatic Width Management</h3>
|
|
1137
|
+
<p style="color: #6b7280; margin-bottom: 24px;">Using <code>ui-button-group</code> with the <code>fill</code> prop automatically manages button widths based on count.</p>
|
|
1138
|
+
|
|
1139
|
+
<div style="display: flex; flex-direction: column; gap: 40px;">
|
|
1140
|
+
<div>
|
|
1141
|
+
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Single Button (100% Width)</h4>
|
|
1142
|
+
<ui-button-group fill>
|
|
1143
|
+
<ui-button variant="primary" label="Confirm Purchase"></ui-button>
|
|
1144
|
+
</ui-button-group>
|
|
1145
|
+
</div>
|
|
1146
|
+
|
|
1147
|
+
<div>
|
|
1148
|
+
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Two Buttons (50% each)</h4>
|
|
1149
|
+
<ui-button-group fill gap="12px">
|
|
1150
|
+
<ui-button variant="outline" label="Cancel"></ui-button>
|
|
1151
|
+
<ui-button variant="primary" label="Submit"></ui-button>
|
|
1152
|
+
</ui-button-group>
|
|
1153
|
+
</div>
|
|
1154
|
+
|
|
1155
|
+
<div>
|
|
1156
|
+
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Three Buttons (33.3% each)</h4>
|
|
1157
|
+
<ui-button-group fill gap="12px">
|
|
1158
|
+
<ui-button variant="ghost" label="Later"></ui-button>
|
|
1159
|
+
<ui-button variant="outline" label="Skip"></ui-button>
|
|
1160
|
+
<ui-button variant="success" label="Finish"></ui-button>
|
|
1161
|
+
</ui-button-group>
|
|
1162
|
+
</div>
|
|
1163
|
+
|
|
1164
|
+
<div>
|
|
1165
|
+
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Individual "Grow" Property</h4>
|
|
1166
|
+
<p style="color: #6b7280; margin-bottom: 12px; font-size: 13px;">Applying <code>grow</code> to buttons inside a standard flex container allows them to occupy maximum possible space.</p>
|
|
1167
|
+
<div style="display: flex; gap: 12px;">
|
|
1168
|
+
<ui-button grow variant="primary" label="I expand (50%)"></ui-button>
|
|
1169
|
+
<ui-button grow variant="secondary" label="I expand (50%)"></ui-button>
|
|
1170
|
+
</div>
|
|
1171
|
+
<div style="display: flex; gap: 12px; margin-top: 12px;">
|
|
1172
|
+
<ui-button variant="outline" label="Static"></ui-button>
|
|
1173
|
+
<ui-button grow variant="primary" label="I take the rest of the space"></ui-button>
|
|
1174
|
+
</div>
|
|
1175
|
+
</div>
|
|
1176
|
+
|
|
1177
|
+
<div>
|
|
1178
|
+
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Connected Button Group (Standard Look)</h4>
|
|
1179
|
+
<p style="color: #6b7280; margin-bottom: 12px; font-size: 13px;">Set <code>gap="0"</code> and <code>connected</code> for segmented control style.</p>
|
|
1180
|
+
<ui-button-group fill connected gap="0">
|
|
1181
|
+
<ui-button variant="outline" label="Daily"></ui-button>
|
|
1182
|
+
<ui-button variant="primary" label="Weekly"></ui-button>
|
|
1183
|
+
<ui-button variant="outline" label="Monthly"></ui-button>
|
|
1184
|
+
</ui-button-group>
|
|
1185
|
+
</div>
|
|
1186
|
+
|
|
1187
|
+
<div>
|
|
1188
|
+
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Vertical Toggle Group (Consistent Length)</h4>
|
|
1189
|
+
<p style="color: #6b7280; margin-bottom: 12px; font-size: 13px;">Buttons in vertical mode now automatically have uniform width regardless of label content.</p>
|
|
1190
|
+
<div style="max-width: 280px; background: white; padding: 20px; border-radius: 12px; border: 1px solid #e5e7eb;">
|
|
1191
|
+
<ui-button-toggle-group label="Select View Mode" orientation="vertical" required value="grid" color="success">
|
|
1192
|
+
<ui-button-toggle value="list" label="List View" icon="fas fa-list"></ui-button-toggle>
|
|
1193
|
+
<ui-button-toggle value="grid" label="Grid View" icon="fas fa-th-large"></ui-button-toggle>
|
|
1194
|
+
<ui-button-toggle value="compact" label="Compact" icon="fas fa-compress"></ui-button-toggle>
|
|
1195
|
+
<ui-button-toggle value="cards" label="Cards View" icon="fas fa-id-card"></ui-button-toggle>
|
|
1196
|
+
</ui-button-toggle-group>
|
|
1197
|
+
</div>
|
|
1198
|
+
</div>
|
|
1199
|
+
</div>
|
|
1200
|
+
</div>
|
|
1201
|
+
`;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
// (Removed duplicate Subtitle button and mapping logic)
|
|
1205
|
+
|
|
1206
|
+
export function initButtonGroupDemo() {
|
|
1207
|
+
const section = document.getElementById('button-group');
|
|
1208
|
+
if (!section) return;
|
|
1209
|
+
|
|
1210
|
+
section.innerHTML = `
|
|
1211
|
+
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;">
|
|
1212
|
+
<h2>Button Group</h2>
|
|
1213
|
+
<div style="display: flex; gap: 8px;">
|
|
1214
|
+
<span style="padding: 4px 8px; background: #e0f2fe; color: #075985; border-radius: 4px; font-size: 11px; font-weight: 600;">NEW</span>
|
|
1215
|
+
</div>
|
|
1216
|
+
</div>
|
|
1217
|
+
<div id="buttonDemoContainer"></div>
|
|
1218
|
+
`;
|
|
1219
|
+
|
|
1220
|
+
// Use the same container but ensure we only show group stuff if needed
|
|
1221
|
+
// For now, let's just reuse showButtonGroupAuto but ensure it targets the right container
|
|
1222
|
+
showButtonGroupAuto();
|
|
1223
|
+
}
|