atomicuilibrary 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/category-section.cjs.entry.js +1 -1
- package/dist/cjs/exploration-project-tailwind.cjs.js +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/library-card.cjs.entry.js +1 -1
- package/dist/cjs/lm-container_2.cjs.entry.js +1 -1
- package/dist/cjs/lm-panel_3.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/my-step.cjs.entry.js +1 -1
- package/dist/cjs/nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/{security-E1JcwxGc.js → security-CNaNip8F.js} +88 -154
- package/dist/cjs/smart-step.cjs.entry.js +2 -2
- package/dist/cjs/timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/{ui-accordion_10.cjs.entry.js → ui-accordion_11.cjs.entry.js} +613 -26
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +1 -1
- package/dist/cjs/ui-anchor.cjs.entry.js +1 -1
- package/dist/cjs/ui-aside-panel.cjs.entry.js +5 -5
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +5 -5
- package/dist/cjs/ui-callout-banner.cjs.entry.js +1 -1
- package/dist/cjs/ui-card.cjs.entry.js +26 -4
- package/dist/cjs/ui-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ui-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/ui-code-preview.cjs.entry.js +1 -1
- package/dist/cjs/ui-color-controller.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-box.cjs.entry.js +1 -1
- package/dist/cjs/ui-dock-host.cjs.entry.js +3 -3
- package/dist/cjs/ui-drag-drop.cjs.entry.js +1 -1
- package/dist/cjs/ui-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ui-fab-item.cjs.entry.js +1 -1
- package/dist/cjs/ui-fab.cjs.entry.js +2 -2
- package/dist/cjs/ui-library.cjs.entry.js +1 -1
- package/dist/cjs/ui-list-group_2.cjs.entry.js +9 -5
- package/dist/cjs/ui-list.cjs.entry.js +4 -4
- package/dist/cjs/ui-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-otp-input.cjs.entry.js +2 -2
- package/dist/cjs/{ui-pagination_3.cjs.entry.js → ui-pagination_4.cjs.entry.js} +202 -0
- package/dist/cjs/ui-pattern-input.cjs.entry.js +5 -5
- package/dist/cjs/ui-popover.cjs.entry.js +1 -1
- package/dist/cjs/ui-progress.cjs.entry.js +101 -17
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ui-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/ui-step.cjs.entry.js +1 -1
- package/dist/cjs/ui-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ui-switch.cjs.entry.js +9 -9
- package/dist/cjs/ui-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ui-timeline.cjs.entry.js +1 -1
- package/dist/cjs/ui-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/ui-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/ui-transfer-list.cjs.entry.js +1 -1
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +1 -1
- package/dist/collection/assets/js/demo-loader.js +0 -1
- package/dist/collection/assets/js/demos/accordion-demo.js +189 -0
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +213 -214
- package/dist/collection/assets/js/demos/aside-panel-demo.js +6 -6
- package/dist/collection/assets/js/demos/button-demo.js +60 -1
- package/dist/collection/assets/js/demos/callout-banner-demo.js +324 -34
- package/dist/collection/assets/js/demos/card-demo.js +108 -61
- package/dist/collection/assets/js/demos/context-menu-demo.js +433 -12
- package/dist/collection/assets/js/demos/dock-demo.js +80 -60
- package/dist/collection/assets/js/demos/documentation-demo.js +227 -22
- package/dist/collection/assets/js/demos/empty-state-demo.js +10 -10
- package/dist/collection/assets/js/demos/list-demo.js +41 -18
- package/dist/collection/assets/js/demos/masonry-demo.js +164 -0
- package/dist/collection/assets/js/demos/progress-demo.js +701 -8
- package/dist/collection/assets/js/demos/radio-demo.js +1 -1
- package/dist/collection/assets/js/demos/splitter-demo.js +137 -0
- package/dist/collection/assets/js/demos/tag-demo.js +48 -18
- package/dist/collection/assets/js/demos/timeline-demo.js +20 -7
- package/dist/collection/assets/js/demos/tooltip-demo.js +26 -26
- package/dist/collection/assets/js/demos/tree-demo.js +28 -10
- package/dist/collection/collection-manifest.json +1 -4
- package/dist/collection/components/accordion/accordion.css +301 -0
- package/dist/collection/components/accordion/accordion.js +40 -8
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +19 -5
- package/dist/collection/components/anchor/anchor.css +0 -2
- package/dist/collection/components/aside-panel/aside-panel.css +1 -3
- package/dist/collection/components/aside-panel/aside-panel.js +5 -5
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/badge/badge.css +1 -0
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/button/button.css +131 -0
- package/dist/collection/components/button/button.js +128 -9
- package/dist/collection/components/card/card.css +83 -31
- package/dist/collection/components/card/card.js +46 -3
- package/dist/collection/components/checkbox/checkbox.css +8 -10
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/code-preview/ui-code-preview.js +1 -1
- package/dist/collection/components/color-controller/color-controller.js +1 -1
- package/dist/collection/components/context-menu/context-menu.css +3 -3
- package/dist/collection/components/dialog-box/dialog-box.js +1 -1
- package/dist/collection/components/dialog-header/dialog-header.js +1 -1
- package/dist/collection/components/dock-host/ui-dock-host.js +3 -3
- package/dist/collection/components/drag-drop/drag-drop.js +1 -1
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-item/fab-item.js +1 -1
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +1 -1
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +1 -1
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +1 -1
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +1 -1
- package/dist/collection/components/library/category-section.js +1 -1
- package/dist/collection/components/library/library-card.js +1 -1
- package/dist/collection/components/library/library.js +1 -1
- package/dist/collection/components/list/list.js +4 -4
- package/dist/collection/components/list-item/list-item.css +24 -0
- package/dist/collection/components/list-item/list-item.js +35 -4
- package/dist/collection/components/loader/loader.css +1635 -0
- package/dist/collection/components/loader/loader.js +1120 -0
- package/dist/collection/components/my-step/my-step.js +1 -1
- package/dist/collection/components/nav-bar/nav-bar.js +6 -6
- package/dist/collection/components/otp-input/otp-input.js +2 -2
- package/dist/collection/components/pattern-input/pattern-input.js +5 -5
- package/dist/collection/components/progress/progress.css +150 -15
- package/dist/collection/components/progress/progress.js +180 -18
- package/dist/collection/components/radio/radio.css +3 -3
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +2 -2
- package/dist/collection/components/smart-stepper/smart-step.js +2 -2
- package/dist/collection/components/smart-stepper/smart-stepper.js +1 -1
- package/dist/collection/components/snackbar/snackbar.js +1 -1
- package/dist/collection/components/speed-dial/speed-dial.js +1 -1
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/step/step.js +1 -1
- package/dist/collection/components/switch/switch.js +10 -10
- package/dist/collection/components/tag-group/tag-group.js +2 -2
- package/dist/collection/components/timeline-item/timeline-item.js +1 -1
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/top-bar/top-bar.js +2 -2
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +19 -4
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +6 -6
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
- package/dist/collection/components.js +1 -0
- package/dist/components/avatar-group.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/button-toggle.js +1 -1
- package/dist/components/category-section2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/dialog-header.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/library-card2.js +1 -1
- package/dist/components/list-group.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/lm-container2.js +1 -1
- package/dist/components/lm-floating-window2.js +1 -1
- package/dist/components/lm-panel2.js +1 -1
- package/dist/components/lm-splitter2.js +1 -1
- package/dist/components/lm-tabs2.js +1 -1
- package/dist/components/loader.js +1 -0
- package/dist/components/my-step.js +1 -1
- package/dist/components/nav-bar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/range-slider.js +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/resizable-panel.js +1 -1
- package/dist/components/skeleton-loader.js +1 -1
- package/dist/components/smart-step.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag-group.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/timeline-item.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/ui-accordion.js +1 -1
- package/dist/components/ui-advanced-data-table.js +1 -1
- package/dist/components/ui-anchor.js +1 -1
- package/dist/components/ui-aside-panel.js +1 -1
- package/dist/components/ui-breadcrumb-item.js +1 -1
- package/dist/components/ui-breadcrumb.js +1 -1
- package/dist/components/ui-button-toggle-group.js +1 -1
- package/dist/components/ui-callout-banner.js +1 -1
- package/dist/components/ui-card.js +1 -1
- package/dist/components/ui-carousel.js +1 -1
- package/dist/components/ui-code-editor.js +1 -1
- package/dist/components/ui-code-preview.js +1 -1
- package/dist/components/ui-color-controller.js +1 -1
- package/dist/components/ui-color-picker.js +1 -1
- package/dist/components/ui-command-palette.js +1 -1
- package/dist/components/ui-dialog-box.js +1 -1
- package/dist/components/ui-divider.js +1 -1
- package/dist/components/ui-dock-host.js +1 -1
- package/dist/components/ui-dock.js +1 -1
- package/dist/components/ui-drag-drop.js +1 -1
- package/dist/components/ui-empty-state.js +1 -1
- package/dist/components/ui-fab-item.js +1 -1
- package/dist/components/ui-fab.js +1 -1
- package/dist/components/ui-file-upload.js +1 -1
- package/dist/components/ui-horizontal-nav.js +1 -1
- package/dist/components/ui-knob.js +1 -1
- package/dist/components/ui-library.js +1 -1
- package/dist/components/ui-list.js +1 -1
- package/dist/components/{ui-input-pair.d.ts → ui-loader.d.ts} +4 -4
- package/dist/components/ui-loader.js +1 -0
- package/dist/components/ui-masonry.js +1 -1
- package/dist/components/ui-meter-group.js +1 -1
- package/dist/components/ui-navigation-bar.js +1 -1
- package/dist/components/ui-navigation-item.js +1 -1
- package/dist/components/ui-number-input.js +1 -1
- package/dist/components/ui-otp-input.js +1 -1
- package/dist/components/ui-panel.js +1 -1
- package/dist/components/ui-pattern-input.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-scroll-top.js +1 -1
- package/dist/components/ui-smart-context-menu.js +1 -1
- package/dist/components/ui-smart-location-dropdown.js +1 -1
- package/dist/components/ui-smart-stepper.js +1 -1
- package/dist/components/ui-snackbar.js +1 -1
- package/dist/components/ui-speed-dial.js +1 -1
- package/dist/components/ui-splitter.js +1 -1
- package/dist/components/ui-step.js +1 -1
- package/dist/components/ui-stepper.js +1 -1
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-timeline.js +1 -1
- package/dist/components/ui-timer.js +1 -1
- package/dist/components/ui-toolbar.js +1 -1
- package/dist/components/ui-top-bar.js +1 -1
- package/dist/components/ui-transfer-list.js +1 -1
- package/dist/components/ui-tree.js +1 -1
- package/dist/components/ui-workspace-manager.js +1 -1
- package/dist/esm/category-section.entry.js +1 -1
- package/dist/esm/exploration-project-tailwind.js +1 -1
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/library-card.entry.js +1 -1
- package/dist/esm/lm-container_2.entry.js +1 -1
- package/dist/esm/lm-panel_3.entry.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/my-step.entry.js +1 -1
- package/dist/esm/nav-bar.entry.js +2 -2
- package/dist/esm/{security-D2WzX6vR.js → security-Dyu3Nplq.js} +88 -154
- package/dist/esm/smart-step.entry.js +2 -2
- package/dist/esm/timeline-item.entry.js +1 -1
- package/dist/esm/{ui-accordion_10.entry.js → ui-accordion_11.entry.js} +613 -27
- package/dist/esm/ui-advanced-data-table.entry.js +1 -1
- package/dist/esm/ui-anchor.entry.js +1 -1
- package/dist/esm/ui-aside-panel.entry.js +5 -5
- package/dist/esm/ui-avatar-group_3.entry.js +5 -5
- package/dist/esm/ui-callout-banner.entry.js +1 -1
- package/dist/esm/ui-card.entry.js +26 -4
- package/dist/esm/ui-checkbox.entry.js +2 -2
- package/dist/esm/ui-code-editor.entry.js +2 -2
- package/dist/esm/ui-code-preview.entry.js +1 -1
- package/dist/esm/ui-color-controller.entry.js +1 -1
- package/dist/esm/ui-dialog-box.entry.js +1 -1
- package/dist/esm/ui-dock-host.entry.js +3 -3
- package/dist/esm/ui-drag-drop.entry.js +1 -1
- package/dist/esm/ui-empty-state.entry.js +1 -1
- package/dist/esm/ui-fab-item.entry.js +1 -1
- package/dist/esm/ui-fab.entry.js +2 -2
- package/dist/esm/ui-library.entry.js +1 -1
- package/dist/esm/ui-list-group_2.entry.js +9 -5
- package/dist/esm/ui-list.entry.js +4 -4
- package/dist/esm/ui-navigation-item.entry.js +3 -3
- package/dist/esm/ui-otp-input.entry.js +2 -2
- package/dist/esm/{ui-pagination_3.entry.js → ui-pagination_4.entry.js} +202 -1
- package/dist/esm/ui-pattern-input.entry.js +5 -5
- package/dist/esm/ui-popover.entry.js +1 -1
- package/dist/esm/ui-progress.entry.js +101 -17
- package/dist/esm/ui-resizable-panel.entry.js +1 -1
- package/dist/esm/ui-smart-location-dropdown.entry.js +2 -2
- package/dist/esm/ui-smart-stepper.entry.js +1 -1
- package/dist/esm/ui-snackbar.entry.js +1 -1
- package/dist/esm/ui-step.entry.js +1 -1
- package/dist/esm/ui-stepper.entry.js +1 -1
- package/dist/esm/ui-switch.entry.js +9 -9
- package/dist/esm/ui-tabs.entry.js +1 -1
- package/dist/esm/ui-timeline.entry.js +1 -1
- package/dist/esm/ui-toolbar.entry.js +1 -1
- package/dist/esm/ui-tooltip.entry.js +4 -4
- package/dist/esm/ui-transfer-list.entry.js +1 -1
- package/dist/esm/ui-workspace-manager.entry.js +1 -1
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
- package/dist/exploration-project-tailwind/{p-c7e87fbb.entry.js → p-036d2a44.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-62352ef2.entry.js → p-05a436d3.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a4f52a76.entry.js → p-16bdd162.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85bf89fd.entry.js → p-20ecc116.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-2347d21b.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3d381f75.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-e5322e59.entry.js → p-4288c158.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-2f1aebb3.entry.js → p-4417a9d8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-049744f9.entry.js → p-44742ddd.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-73d29a4a.entry.js → p-4aaa8e40.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-6fa9dc15.entry.js → p-4bef8bed.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-64e3a484.entry.js → p-4efd63ce.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c5ddc817.entry.js → p-54965530.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-5c835d90.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-4de419d5.entry.js → p-6b838549.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c174a372.entry.js → p-6ddbee42.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7515b1e3.entry.js → p-70bacda8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-9fa70359.entry.js → p-71d95bb1.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-2d273118.entry.js → p-7889bfc4.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-0b004861.entry.js → p-790556f0.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-f5719913.entry.js → p-7ba2258a.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-81961fb1.entry.js → p-81ebba11.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-5e3e80ae.entry.js → p-8578b616.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-3d3d48fd.entry.js → p-8b57fe4e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ffb1754a.entry.js → p-97af03cc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-f0830120.entry.js → p-98e91da5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d2308a00.entry.js → p-9bd14f69.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-Dyu3Nplq.js +2 -0
- package/dist/exploration-project-tailwind/{p-ba21fed3.entry.js → p-a27f59d2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-70d82d79.entry.js → p-a7b07cf4.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-5508874f.entry.js → p-bd89d060.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-9d0c8760.entry.js → p-c02284ea.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d419eaf0.entry.js → p-c1c8ac28.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c63c522e.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c90722ec.entry.js → p-cbee2607.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-287dbf09.entry.js → p-d114a347.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-8d951aef.entry.js → p-d2e45c5e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77cc333a.entry.js → p-d59da767.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-46596a28.entry.js → p-d6ce9721.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-875be805.entry.js → p-dc92a343.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4f6bba75.entry.js → p-e22317c1.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d16c9635.entry.js → p-e76318c7.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-e8c6d395.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c2ca71ac.entry.js → p-eab5ad36.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-f0bc5d7e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f1beee72.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f543392f.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-46efdea3.entry.js → p-f61cfb7c.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77124686.entry.js → p-fb4aca69.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +10 -2
- package/dist/types/components/button/button.d.ts +9 -0
- package/dist/types/components/card/card.d.ts +4 -0
- package/dist/types/components/list-item/list-item.d.ts +1 -0
- package/dist/types/components/loader/loader.d.ts +145 -0
- package/dist/types/components/progress/progress.d.ts +34 -2
- package/dist/types/components.d.ts +509 -993
- package/dist/types/types/common.d.ts +1 -1
- package/dist/types/types/common.type.d.ts +1 -1
- package/package.json +8 -7
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +0 -330
- package/dist/cjs/ui-image-button.cjs.entry.js +0 -67
- package/dist/cjs/ui-input-pair.cjs.entry.js +0 -44
- package/dist/cjs/ui-radio-group.cjs.entry.js +0 -205
- package/dist/cjs/ui-radio.cjs.entry.js +0 -206
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -223
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -1001
- package/dist/collection/components/checkbox-group/types.js +0 -1
- package/dist/collection/components/image-button/image-button.css +0 -154
- package/dist/collection/components/image-button/image-button.js +0 -310
- package/dist/collection/components/image-button/types.js +0 -1
- package/dist/collection/components/input-pair/input-pair.css +0 -72
- package/dist/collection/components/input-pair/input-pair.js +0 -309
- package/dist/collection/components/radio-group/radio-group.css +0 -202
- package/dist/collection/components/radio-group/radio-group.js +0 -903
- package/dist/collection/components/radio-group/types.js +0 -1
- package/dist/components/ui-checkbox-group.d.ts +0 -11
- package/dist/components/ui-checkbox-group.js +0 -1
- package/dist/components/ui-image-button.d.ts +0 -11
- package/dist/components/ui-image-button.js +0 -1
- package/dist/components/ui-input-pair.js +0 -1
- package/dist/components/ui-radio-group.d.ts +0 -11
- package/dist/components/ui-radio-group.js +0 -1
- package/dist/esm/ui-checkbox-group.entry.js +0 -328
- package/dist/esm/ui-image-button.entry.js +0 -65
- package/dist/esm/ui-input-pair.entry.js +0 -42
- package/dist/esm/ui-radio-group.entry.js +0 -203
- package/dist/esm/ui-radio.entry.js +0 -204
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-7f91d949.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +0 -2
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +0 -1
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -87
- package/dist/types/components/checkbox-group/types.d.ts +0 -8
- package/dist/types/components/image-button/image-button.d.ts +0 -31
- package/dist/types/components/image-button/types.d.ts +0 -1
- package/dist/types/components/input-pair/input-pair.d.ts +0 -28
- package/dist/types/components/radio-group/radio-group.d.ts +0 -74
- package/dist/types/components/radio-group/types.d.ts +0 -2
|
@@ -282,7 +282,7 @@ export function initRadioDemo() {
|
|
|
282
282
|
<p class="specimen-description">High-fidelity radio archetypes for exclusive state management.</p>
|
|
283
283
|
|
|
284
284
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;">
|
|
285
|
-
<div style="padding: 32px; background: #0f172a; border-radius: 20px; color: white;">
|
|
285
|
+
<div style="padding: 32px; background: #0f172a; border-radius: 20px; color: white; --label-color: white; --label-subtitle-color: rgba(255,255,255,0.7); --text-primary: white; --text-secondary: rgba(255,255,255,0.7);">
|
|
286
286
|
<h4 style="margin: 0 0 20px 0; font-size: 14px; opacity: 0.6; text-transform: uppercase;">Glassmorphism</h4>
|
|
287
287
|
<ui-radio
|
|
288
288
|
label="Frosted Sphere"
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
// Splitter Layout Demo
|
|
2
|
+
export function initSplitterDemo() {
|
|
3
|
+
const section = document.getElementById('splitter');
|
|
4
|
+
if (!section) return;
|
|
5
|
+
|
|
6
|
+
section.innerHTML = `
|
|
7
|
+
<div style="display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;">
|
|
8
|
+
<h2 style="margin: 0; display: flex; align-items: center; gap: 10px;">
|
|
9
|
+
<ui-icon name="columns" library="lucide" size="24px"></ui-icon> Splitter Partition Container
|
|
10
|
+
</h2>
|
|
11
|
+
<div style="display: flex; gap: 10px;">
|
|
12
|
+
<ui-button onclick="showHorizontalSplitter()"
|
|
13
|
+
style="background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); color: white; border: none; padding: 8px 16px; border-radius: 6px; font-size: 13px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 6px;">
|
|
14
|
+
<ui-icon name="rotate-ccw" library="lucide" size="14px"></ui-icon> Reset View
|
|
15
|
+
</ui-button>
|
|
16
|
+
<ui-button onclick="showSection('home')"
|
|
17
|
+
style="background-color: #6b7280; color: white; border: none; padding: 6px 12px; border-radius: 4px; font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 6px;">
|
|
18
|
+
<ui-icon name="arrow-left" library="lucide" size="12px"></ui-icon> Back to Home
|
|
19
|
+
</ui-button>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<p>Flexible split views supporting proportional sizing, gutter customize colors, drag resize, snap boundaries, and double-click collapse states.</p>
|
|
23
|
+
|
|
24
|
+
<div class="demo-controls" style="margin: 20px 0; display: flex; gap: 10px; flex-wrap: wrap;">
|
|
25
|
+
<ui-button onclick="showHorizontalSplitter()" variant="outline"><ui-icon name="columns" library="lucide" size="16px"></ui-icon> Horizontal Split</ui-button>
|
|
26
|
+
<ui-button onclick="showVerticalSplitter()" variant="outline"><ui-icon name="rows" library="lucide" size="16px"></ui-icon> Vertical Split</ui-button>
|
|
27
|
+
<ui-button onclick="showNestedSplitter()" variant="outline"><ui-icon name="layout" library="lucide" size="16px"></ui-icon> Nested Layout Zones</ui-button>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div id="splitterDemoContainer" style="margin-top: 20px;"></div>
|
|
31
|
+
`;
|
|
32
|
+
|
|
33
|
+
setTimeout(() => {
|
|
34
|
+
showHorizontalSplitter();
|
|
35
|
+
}, 100);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Horizontal Splitter Demo
|
|
39
|
+
window.showHorizontalSplitter = function () {
|
|
40
|
+
const container = document.getElementById('splitterDemoContainer');
|
|
41
|
+
if (!container) return;
|
|
42
|
+
|
|
43
|
+
container.innerHTML = `
|
|
44
|
+
<div class="demo-block" style="background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);">
|
|
45
|
+
<h3 style="margin-top: 0; display: flex; align-items: center; gap: 10px;">
|
|
46
|
+
<span style="font-size: 24px;">⚖️</span>
|
|
47
|
+
Proportional Horizontal Splitter
|
|
48
|
+
</h3>
|
|
49
|
+
<p style="color: #6b7280; margin-bottom: 20px;">Two side-by-side content containers. Grab the vertical bar and drag left or right.</p>
|
|
50
|
+
|
|
51
|
+
<div style="border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; height: 350px; background: #0f172a;">
|
|
52
|
+
<ui-splitter direction="horizontal" gutter-size="10" gutter-color="#1e293b" gutter-hover-color="#3b82f6" snap-threshold="15">
|
|
53
|
+
<div slot="panel-0" style="padding: 24px; background: #1e293b; color: white; height: 100%; box-sizing: border-box;">
|
|
54
|
+
<h4 style="margin-top: 0; color: #3b82f6;">Left Panel</h4>
|
|
55
|
+
<p style="font-size: 14px; color: #94a3b8; line-height: 1.6;">This is the left zone. Dragging the center splitter handles resizing in real-time using proportional percentage calculation.</p>
|
|
56
|
+
</div>
|
|
57
|
+
<div slot="panel-1" style="padding: 24px; background: #0f172a; color: white; height: 100%; box-sizing: border-box;">
|
|
58
|
+
<h4 style="margin-top: 0; color: #10b981;">Right Panel</h4>
|
|
59
|
+
<p style="font-size: 14px; color: #94a3b8; line-height: 1.6;">This is the right zone. It automatically shrinks or expands to occupy all remaining width space in the parent component.</p>
|
|
60
|
+
</div>
|
|
61
|
+
</ui-splitter>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
`;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
// Vertical Splitter Demo
|
|
68
|
+
window.showVerticalSplitter = function () {
|
|
69
|
+
const container = document.getElementById('splitterDemoContainer');
|
|
70
|
+
if (!container) return;
|
|
71
|
+
|
|
72
|
+
container.innerHTML = `
|
|
73
|
+
<div class="demo-block" style="background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);">
|
|
74
|
+
<h3 style="margin-top: 0; display: flex; align-items: center; gap: 10px;">
|
|
75
|
+
<span style="font-size: 24px;">↕️</span>
|
|
76
|
+
Vertical Stack Splitter
|
|
77
|
+
</h3>
|
|
78
|
+
<p style="color: #6b7280; margin-bottom: 20px;">Top and bottom stacked containers divided by a horizontal gutter. Drag up or down.</p>
|
|
79
|
+
|
|
80
|
+
<div style="border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; height: 350px; background: #0f172a;">
|
|
81
|
+
<ui-splitter direction="vertical" gutter-size="10" gutter-color="#1e293b" gutter-hover-color="#10b981" snap-threshold="15">
|
|
82
|
+
<div slot="panel-0" style="padding: 24px; background: #1e293b; color: white; height: 100%; box-sizing: border-box;">
|
|
83
|
+
<h4 style="margin-top: 0; color: #10b981;">Top Console</h4>
|
|
84
|
+
<p style="font-size: 14px; color: #94a3b8; line-height: 1.6;">This is the upper console pane. Excellent for code, workspace canvases, or visualization boards.</p>
|
|
85
|
+
</div>
|
|
86
|
+
<div slot="panel-1" style="padding: 24px; background: #0f172a; color: white; height: 100%; box-sizing: border-box;">
|
|
87
|
+
<h4 style="margin-top: 0; color: #f59e0b;">Bottom Terminal Output</h4>
|
|
88
|
+
<p style="font-size: 14px; color: #94a3b8; line-height: 1.6;">This is the lower output pane. Ideal for terminal interfaces, logs, build stats, and problems lists.</p>
|
|
89
|
+
</div>
|
|
90
|
+
</ui-splitter>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
`;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
// Nested Splitter Demo
|
|
97
|
+
window.showNestedSplitter = function () {
|
|
98
|
+
const container = document.getElementById('splitterDemoContainer');
|
|
99
|
+
if (!container) return;
|
|
100
|
+
|
|
101
|
+
container.innerHTML = `
|
|
102
|
+
<div class="demo-block" style="background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);">
|
|
103
|
+
<h3 style="margin-top: 0; display: flex; align-items: center; gap: 10px;">
|
|
104
|
+
<span style="font-size: 24px;">💠</span>
|
|
105
|
+
Nested Layout Zones
|
|
106
|
+
</h3>
|
|
107
|
+
<p style="color: #6b7280; margin-bottom: 20px;">Combining horizontal and vertical splitters inside each other to create complete app workspace mockups.</p>
|
|
108
|
+
|
|
109
|
+
<div style="border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; height: 400px; background: #0f172a;">
|
|
110
|
+
<ui-splitter direction="horizontal" gutter-size="8" gutter-color="#0f172a" gutter-hover-color="#a855f7">
|
|
111
|
+
<!-- Sidebar -->
|
|
112
|
+
<div slot="panel-0" style="padding: 20px; background: #1e1b4b; color: white; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid #312e81;">
|
|
113
|
+
<ui-icon name="folder-tree" library="lucide" size="24px"></ui-icon>
|
|
114
|
+
<h5 style="margin: 10px 0 0; color: #c084fc;">Files</h5>
|
|
115
|
+
<span style="font-size: 12px; color: #818cf8;">Sidebar Pane</span>
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<!-- Main Content split vertically -->
|
|
119
|
+
<div slot="panel-1" style="height: 100%;">
|
|
120
|
+
<ui-splitter direction="vertical" gutter-size="8" gutter-color="#0f172a" gutter-hover-color="#3b82f6">
|
|
121
|
+
<div slot="panel-0" style="padding: 24px; background: #1e293b; color: white; height: 100%; box-sizing: border-box;">
|
|
122
|
+
<h4 style="margin-top: 0; color: #3b82f6;">Code Editor Workspace</h4>
|
|
123
|
+
<pre style="margin: 10px 0; padding: 12px; background: #0f172a; border-radius: 6px; color: #38bdf8; font-family: monospace; font-size: 13px;">const splitter = document.querySelector('ui-splitter');</pre>
|
|
124
|
+
</div>
|
|
125
|
+
<div slot="panel-1" style="padding: 20px; background: #0f172a; color: white; height: 100%; box-sizing: border-box; border-top: 1px solid #1e293b;">
|
|
126
|
+
<h5 style="margin-top: 0; color: #f43f5e; display: flex; align-items: center; gap: 6px;">
|
|
127
|
+
<ui-icon name="terminal" library="lucide" size="14px"></ui-icon> Terminal Console
|
|
128
|
+
</h5>
|
|
129
|
+
<span style="font-size: 12px; color: #94a3b8; font-family: monospace;">$ npm run dev --host</span>
|
|
130
|
+
</div>
|
|
131
|
+
</ui-splitter>
|
|
132
|
+
</div>
|
|
133
|
+
</ui-splitter>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
`;
|
|
137
|
+
};
|
|
@@ -7,29 +7,36 @@ export function initTagDemo() {
|
|
|
7
7
|
<p>Flexible tags for labels, categories, and status indicators.</p>
|
|
8
8
|
|
|
9
9
|
<div class="demo-controls" style="margin: 20px 0; display: flex; gap: 12px; flex-wrap: wrap;">
|
|
10
|
-
<ui-button label="Variants"
|
|
11
|
-
<ui-button label="Interactive"
|
|
12
|
-
<ui-button label="Media & Icons"
|
|
13
|
-
<ui-button label="Removable"
|
|
14
|
-
<ui-button label="Badges"
|
|
15
|
-
<ui-button label="Premium Features"
|
|
16
|
-
<ui-button label="Advanced (Chip/Pill Mode)"
|
|
17
|
-
<ui-button label="Design Guide (32px)"
|
|
18
|
-
<ui-button label="Shape Showcase"
|
|
19
|
-
<ui-button label="Ticket Shapes"
|
|
20
|
-
<ui-button label="Auto Coloring"
|
|
21
|
-
<ui-button label="Tag Groups"
|
|
22
|
-
<ui-button label="Selection (Premium)"
|
|
23
|
-
<ui-button label="Interactive (Premium)"
|
|
24
|
-
<ui-button label="Input Validation"
|
|
25
|
-
<ui-button label="Rich Gradients"
|
|
26
|
-
<ui-button label="Playground"
|
|
10
|
+
<ui-button label="Variants" data-demo="variants" onclick="showTagVariants()" variant="outline"></ui-button>
|
|
11
|
+
<ui-button label="Interactive" data-demo="interactive" onclick="showCheckableTags()" variant="outline"></ui-button>
|
|
12
|
+
<ui-button label="Media & Icons" data-demo="media" onclick="showMediaTags()" variant="outline"></ui-button>
|
|
13
|
+
<ui-button label="Removable" data-demo="removable" onclick="showRemovableTags()" variant="outline"></ui-button>
|
|
14
|
+
<ui-button label="Badges" data-demo="badges" onclick="showTagBadges()" variant="outline"></ui-button>
|
|
15
|
+
<ui-button label="Premium Features" data-demo="premium" onclick="showPremiumTags()" variant="outline"></ui-button>
|
|
16
|
+
<ui-button label="Advanced (Chip/Pill Mode)" data-demo="advanced" onclick="showTagAdvancedFeatures()" variant="outline"></ui-button>
|
|
17
|
+
<ui-button label="Design Guide (32px)" data-demo="design" onclick="showDesignGuide()" variant="outline"></ui-button>
|
|
18
|
+
<ui-button label="Shape Showcase" data-demo="shapes" onclick="showShapeShowcase()" variant="outline"></ui-button>
|
|
19
|
+
<ui-button label="Ticket Shapes" data-demo="ticket" onclick="showTicketDemo()" variant="outline"></ui-button>
|
|
20
|
+
<ui-button label="Auto Coloring" data-demo="autocolor" onclick="showAutoColorTags()" variant="outline"></ui-button>
|
|
21
|
+
<ui-button label="Tag Groups" data-demo="groups" onclick="showTagGroups()" variant="outline"></ui-button>
|
|
22
|
+
<ui-button label="Selection (Premium)" data-demo="selection" onclick="showSelectionGroups()" variant="outline"></ui-button>
|
|
23
|
+
<ui-button label="Interactive (Premium)" data-demo="premiumgroups" onclick="showPremiumGroups()" variant="outline"></ui-button>
|
|
24
|
+
<ui-button label="Input Validation" data-demo="validation" onclick="showTagsInputValidation()" variant="outline"></ui-button>
|
|
25
|
+
<ui-button label="Rich Gradients" data-demo="gradients" onclick="showRichGradients()" variant="outline"></ui-button>
|
|
26
|
+
<ui-button label="Playground" data-demo="playground" onclick="showTagPlayground()" variant="outline"></ui-button>
|
|
27
27
|
</div>
|
|
28
28
|
|
|
29
29
|
<div id="tagDemoContainer" style="margin-top: 20px;"></div>
|
|
30
30
|
`;
|
|
31
31
|
|
|
32
|
+
const updateTagActiveBtn = demoName => {
|
|
33
|
+
section.querySelectorAll('.demo-controls ui-button').forEach(btn => {
|
|
34
|
+
btn.selected = btn.getAttribute('data-demo') === demoName;
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
|
|
32
38
|
window.showTagVariants = () => {
|
|
39
|
+
updateTagActiveBtn('variants');
|
|
33
40
|
const container = document.getElementById('tagDemoContainer');
|
|
34
41
|
if (!container) return;
|
|
35
42
|
container.innerHTML = `
|
|
@@ -47,6 +54,7 @@ export function initTagDemo() {
|
|
|
47
54
|
};
|
|
48
55
|
|
|
49
56
|
window.showCheckableTags = () => {
|
|
57
|
+
updateTagActiveBtn('interactive');
|
|
50
58
|
const container = document.getElementById('tagDemoContainer');
|
|
51
59
|
if (!container) return;
|
|
52
60
|
container.innerHTML = `
|
|
@@ -62,6 +70,7 @@ export function initTagDemo() {
|
|
|
62
70
|
};
|
|
63
71
|
|
|
64
72
|
window.showMediaTags = () => {
|
|
73
|
+
updateTagActiveBtn('media');
|
|
65
74
|
const container = document.getElementById('tagDemoContainer');
|
|
66
75
|
if (!container) return;
|
|
67
76
|
container.innerHTML = `
|
|
@@ -94,6 +103,7 @@ export function initTagDemo() {
|
|
|
94
103
|
};
|
|
95
104
|
|
|
96
105
|
window.showRemovableTags = () => {
|
|
106
|
+
updateTagActiveBtn('removable');
|
|
97
107
|
const container = document.getElementById('tagDemoContainer');
|
|
98
108
|
if (!container) return;
|
|
99
109
|
container.innerHTML = `
|
|
@@ -138,6 +148,7 @@ export function initTagDemo() {
|
|
|
138
148
|
};
|
|
139
149
|
|
|
140
150
|
window.showTagBadges = () => {
|
|
151
|
+
updateTagActiveBtn('badges');
|
|
141
152
|
const container = document.getElementById('tagDemoContainer');
|
|
142
153
|
if (!container) return;
|
|
143
154
|
container.innerHTML = `
|
|
@@ -151,16 +162,24 @@ export function initTagDemo() {
|
|
|
151
162
|
</div>
|
|
152
163
|
|
|
153
164
|
<h3>Counters & Metadata</h3>
|
|
154
|
-
<div style="display: flex; gap: 12px; flex-wrap: wrap;">
|
|
165
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px;">
|
|
155
166
|
<ui-tag label="Comments" counter="24" color="secondary" variant="light"></ui-tag>
|
|
156
167
|
<ui-tag label="Likes" counter="1.2k" color="primary" variant="outlined"></ui-tag>
|
|
157
168
|
<ui-tag label="Shared" counter="8" color="success" variant="light"></ui-tag>
|
|
158
169
|
</div>
|
|
170
|
+
|
|
171
|
+
<h3>Both Badge & Counter</h3>
|
|
172
|
+
<p style="color: #6b7280; margin-bottom: 20px;">Tags can display both an overlay badge (e.g. Danger/Red, Success/Green) and an inline counter (default gray) with distinct, different colors.</p>
|
|
173
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap;">
|
|
174
|
+
<ui-tag label="Inbox Messages" badge="5" badge-color="danger" counter="12" color="primary" variant="light"></ui-tag>
|
|
175
|
+
<ui-tag label="System Health" badge="Critical" badge-color="warning" counter="99.9%" color="success" variant="outlined"></ui-tag>
|
|
176
|
+
</div>
|
|
159
177
|
</div>
|
|
160
178
|
`;
|
|
161
179
|
};
|
|
162
180
|
|
|
163
181
|
window.showTagAdvancedFeatures = () => {
|
|
182
|
+
updateTagActiveBtn('advanced');
|
|
164
183
|
const container = document.getElementById('tagDemoContainer');
|
|
165
184
|
if (!container) return;
|
|
166
185
|
container.innerHTML = `
|
|
@@ -205,6 +224,7 @@ export function initTagDemo() {
|
|
|
205
224
|
};
|
|
206
225
|
|
|
207
226
|
window.showDesignGuide = () => {
|
|
227
|
+
updateTagActiveBtn('design');
|
|
208
228
|
const container = document.getElementById('tagDemoContainer');
|
|
209
229
|
if (!container) return;
|
|
210
230
|
container.innerHTML = `
|
|
@@ -244,6 +264,7 @@ export function initTagDemo() {
|
|
|
244
264
|
};
|
|
245
265
|
|
|
246
266
|
window.showShapeShowcase = () => {
|
|
267
|
+
updateTagActiveBtn('shapes');
|
|
247
268
|
const container = document.getElementById('tagDemoContainer');
|
|
248
269
|
if (!container) return;
|
|
249
270
|
container.innerHTML = `
|
|
@@ -299,6 +320,7 @@ export function initTagDemo() {
|
|
|
299
320
|
};
|
|
300
321
|
|
|
301
322
|
window.showTicketDemo = () => {
|
|
323
|
+
updateTagActiveBtn('ticket');
|
|
302
324
|
const container = document.getElementById('tagDemoContainer');
|
|
303
325
|
if (!container) return;
|
|
304
326
|
container.innerHTML = `
|
|
@@ -333,6 +355,7 @@ export function initTagDemo() {
|
|
|
333
355
|
};
|
|
334
356
|
|
|
335
357
|
window.showAutoColorTags = () => {
|
|
358
|
+
updateTagActiveBtn('autocolor');
|
|
336
359
|
const container = document.getElementById('tagDemoContainer');
|
|
337
360
|
if (!container) return;
|
|
338
361
|
container.innerHTML = `
|
|
@@ -352,6 +375,7 @@ export function initTagDemo() {
|
|
|
352
375
|
};
|
|
353
376
|
|
|
354
377
|
window.showPremiumTags = () => {
|
|
378
|
+
updateTagActiveBtn('premium');
|
|
355
379
|
const container = document.getElementById('tagDemoContainer');
|
|
356
380
|
if (!container) return;
|
|
357
381
|
container.innerHTML = `
|
|
@@ -442,6 +466,7 @@ export function initTagDemo() {
|
|
|
442
466
|
};
|
|
443
467
|
|
|
444
468
|
window.showTagGroups = () => {
|
|
469
|
+
updateTagActiveBtn('groups');
|
|
445
470
|
const container = document.getElementById('tagDemoContainer');
|
|
446
471
|
if (!container) return;
|
|
447
472
|
container.innerHTML = `
|
|
@@ -527,6 +552,7 @@ export function initTagDemo() {
|
|
|
527
552
|
};
|
|
528
553
|
|
|
529
554
|
window.showSelectionGroups = () => {
|
|
555
|
+
updateTagActiveBtn('selection');
|
|
530
556
|
const container = document.getElementById('tagDemoContainer');
|
|
531
557
|
if (!container) return;
|
|
532
558
|
container.innerHTML = `
|
|
@@ -557,6 +583,7 @@ export function initTagDemo() {
|
|
|
557
583
|
};
|
|
558
584
|
|
|
559
585
|
window.showPremiumGroups = () => {
|
|
586
|
+
updateTagActiveBtn('premiumgroups');
|
|
560
587
|
const container = document.getElementById('tagDemoContainer');
|
|
561
588
|
if (!container) return;
|
|
562
589
|
container.innerHTML = `
|
|
@@ -591,6 +618,7 @@ export function initTagDemo() {
|
|
|
591
618
|
};
|
|
592
619
|
|
|
593
620
|
window.showTagsInputValidation = () => {
|
|
621
|
+
updateTagActiveBtn('validation');
|
|
594
622
|
const container = document.getElementById('tagDemoContainer');
|
|
595
623
|
if (!container) return;
|
|
596
624
|
container.innerHTML = `
|
|
@@ -618,6 +646,7 @@ export function initTagDemo() {
|
|
|
618
646
|
};
|
|
619
647
|
|
|
620
648
|
window.showRichGradients = () => {
|
|
649
|
+
updateTagActiveBtn('gradients');
|
|
621
650
|
const container = document.getElementById('tagDemoContainer');
|
|
622
651
|
if (!container) return;
|
|
623
652
|
container.innerHTML = `
|
|
@@ -643,6 +672,7 @@ export function initTagDemo() {
|
|
|
643
672
|
};
|
|
644
673
|
|
|
645
674
|
window.showTagPlayground = () => {
|
|
675
|
+
updateTagActiveBtn('playground');
|
|
646
676
|
const container = document.getElementById('tagDemoContainer');
|
|
647
677
|
if (!container) return;
|
|
648
678
|
container.innerHTML = `
|
|
@@ -13,20 +13,27 @@ export function initTimelineDemo() {
|
|
|
13
13
|
<p style="margin-top: 0; opacity: 0.7; font-size: 14px; margin-bottom: 24px;">Displays a sequence of events in vertical or horizontal orientation.</p>
|
|
14
14
|
|
|
15
15
|
<div class="demo-controls" style="margin: 20px 0; display: flex; gap: 10px; flex-wrap: wrap;">
|
|
16
|
-
<ui-button label="🎮 Interactive Playground"
|
|
17
|
-
<ui-button label="Vertical Layouts"
|
|
18
|
-
<ui-button label="Horizontal Layouts"
|
|
19
|
-
<ui-button label="Overflow & Scroll"
|
|
20
|
-
<ui-button label="Multi-line Grid"
|
|
21
|
-
<ui-button label="Panels & Markers"
|
|
22
|
-
<ui-button label="Filtering (Premium)"
|
|
16
|
+
<ui-button label="🎮 Interactive Playground" data-demo="playground" onclick="showInteractiveTimeline()" style="--ui-button-bg: #8b5cf6; --ui-button-text-color: white;" variant="outline"></ui-button>
|
|
17
|
+
<ui-button label="Vertical Layouts" data-demo="vertical" onclick="showVerticalTimeline()" variant="outline"></ui-button>
|
|
18
|
+
<ui-button label="Horizontal Layouts" data-demo="horizontal" onclick="showHorizontalTimeline()" variant="outline"></ui-button>
|
|
19
|
+
<ui-button label="Overflow & Scroll" data-demo="overflow" onclick="showOverflowTimeline()" variant="outline"></ui-button>
|
|
20
|
+
<ui-button label="Multi-line Grid" data-demo="multiline" style="--ui-button-bg: #ec4899; --ui-button-text-color: white;" onclick="showMultilineTimeline()" variant="outline"></ui-button>
|
|
21
|
+
<ui-button label="Panels & Markers" data-demo="panels" style="--ui-button-bg: #6366f1; --ui-button-text-color: white;" onclick="showAdvancedTimeline()" variant="outline"></ui-button>
|
|
22
|
+
<ui-button label="Filtering (Premium)" data-demo="filtering" style="--ui-button-bg: #f43f5e; --ui-button-text-color: white;" onclick="showFilteringTimeline()" variant="outline"></ui-button>
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
25
|
<div id="timelineDemoContainer" style="margin-top: 20px;"></div>
|
|
26
26
|
`;
|
|
27
27
|
|
|
28
|
+
const updateTimelineActiveBtn = demoName => {
|
|
29
|
+
section.querySelectorAll('.demo-controls ui-button').forEach(btn => {
|
|
30
|
+
btn.selected = btn.getAttribute('data-demo') === demoName;
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
|
|
28
34
|
// Place showAdvancedTimeline here before others to minimize context shift issues
|
|
29
35
|
window.showAdvancedTimeline = () => {
|
|
36
|
+
updateTimelineActiveBtn('panels');
|
|
30
37
|
const container = document.getElementById('timelineDemoContainer');
|
|
31
38
|
if (!container) return;
|
|
32
39
|
|
|
@@ -69,6 +76,7 @@ export function initTimelineDemo() {
|
|
|
69
76
|
};
|
|
70
77
|
|
|
71
78
|
window.showInteractiveTimeline = () => {
|
|
79
|
+
updateTimelineActiveBtn('playground');
|
|
72
80
|
const container = document.getElementById('timelineDemoContainer');
|
|
73
81
|
if (!container) return;
|
|
74
82
|
|
|
@@ -115,6 +123,7 @@ export function initTimelineDemo() {
|
|
|
115
123
|
};
|
|
116
124
|
|
|
117
125
|
window.showMultilineTimeline = () => {
|
|
126
|
+
updateTimelineActiveBtn('multiline');
|
|
118
127
|
const container = document.getElementById('timelineDemoContainer');
|
|
119
128
|
if (!container) return;
|
|
120
129
|
|
|
@@ -140,6 +149,7 @@ export function initTimelineDemo() {
|
|
|
140
149
|
};
|
|
141
150
|
|
|
142
151
|
window.showOverflowTimeline = () => {
|
|
152
|
+
updateTimelineActiveBtn('overflow');
|
|
143
153
|
const container = document.getElementById('timelineDemoContainer');
|
|
144
154
|
if (!container) return;
|
|
145
155
|
|
|
@@ -281,6 +291,7 @@ export function initTimelineDemo() {
|
|
|
281
291
|
};
|
|
282
292
|
|
|
283
293
|
window.showFilteringTimeline = () => {
|
|
294
|
+
updateTimelineActiveBtn('filtering');
|
|
284
295
|
const container = document.getElementById('timelineDemoContainer');
|
|
285
296
|
if (!container) return;
|
|
286
297
|
|
|
@@ -307,6 +318,7 @@ export function initTimelineDemo() {
|
|
|
307
318
|
};
|
|
308
319
|
|
|
309
320
|
window.showVerticalTimeline = () => {
|
|
321
|
+
updateTimelineActiveBtn('vertical');
|
|
310
322
|
const container = document.getElementById('timelineDemoContainer');
|
|
311
323
|
if (!container) return;
|
|
312
324
|
container.innerHTML = `
|
|
@@ -331,6 +343,7 @@ export function initTimelineDemo() {
|
|
|
331
343
|
};
|
|
332
344
|
|
|
333
345
|
window.showHorizontalTimeline = () => {
|
|
346
|
+
updateTimelineActiveBtn('horizontal');
|
|
334
347
|
const container = document.getElementById('timelineDemoContainer');
|
|
335
348
|
if (!container) return;
|
|
336
349
|
container.innerHTML = `
|
|
@@ -60,17 +60,17 @@ export const initTooltipDemo = () => {
|
|
|
60
60
|
<p>9 directional points + smart <code>auto</code> positioning with flip & shift logic.</p>
|
|
61
61
|
<div style="display: flex; justify-content: center; padding: 40px 20px;">
|
|
62
62
|
<div style="display: grid; grid-template-columns: repeat(3, 120px); gap: 20px; justify-items: center;">
|
|
63
|
-
<ui-tooltip content="Top-Left" position="top-left"><ui-button slot="target" variant="outline" size="md"</ui-button></ui-tooltip>
|
|
64
|
-
<ui-tooltip content="Top Center" position="top"><ui-button slot="target" variant="outline" size="md"
|
|
65
|
-
<ui-tooltip content="Top-Right" position="top-right"><ui-button slot="target" variant="outline" size="md"</ui-button></ui-tooltip>
|
|
63
|
+
<ui-tooltip content="Top-Left" position="top-left"><ui-button slot="target" variant="outline" size="md">Top-Left</ui-button></ui-tooltip>
|
|
64
|
+
<ui-tooltip content="Top Center" position="top"><ui-button slot="target" variant="outline" size="md">Top Center</ui-button></ui-tooltip>
|
|
65
|
+
<ui-tooltip content="Top-Right" position="top-right"><ui-button slot="target" variant="outline" size="md">Top-Right</ui-button></ui-tooltip>
|
|
66
66
|
|
|
67
|
-
<ui-tooltip content="Left Center" position="left"><ui-button slot="target" variant="outline" size="md"
|
|
68
|
-
<ui-tooltip content="Auto Position (Flipped)" position="auto" variant="error"><ui-button slot="target" variant="danger" size="md"
|
|
69
|
-
<ui-tooltip content="Right Center" position="right"><ui-button slot="target" variant="outline" size="md"
|
|
67
|
+
<ui-tooltip content="Left Center" position="left"><ui-button slot="target" variant="outline" size="md">Left Center</ui-button></ui-tooltip>
|
|
68
|
+
<ui-tooltip content="Auto Position (Flipped)" position="auto" variant="error"><ui-button slot="target" variant="danger" size="md">Auto</ui-button></ui-tooltip>
|
|
69
|
+
<ui-tooltip content="Right Center" position="right"><ui-button slot="target" variant="outline" size="md">Right Center</ui-button></ui-tooltip>
|
|
70
70
|
|
|
71
|
-
<ui-tooltip content="Bottom-Left" position="bottom-left"><ui-button slot="target" variant="outline" size="md"</ui-button></ui-tooltip>
|
|
72
|
-
<ui-tooltip content="Bottom Center" position="bottom"><ui-button slot="target" variant="outline" size="md"
|
|
73
|
-
<ui-tooltip content="Bottom-Right" position="bottom-right"><ui-button slot="target" variant="outline" size="md"</ui-button></ui-tooltip>
|
|
71
|
+
<ui-tooltip content="Bottom-Left" position="bottom-left"><ui-button slot="target" variant="outline" size="md">Bottom-Left</ui-button></ui-tooltip>
|
|
72
|
+
<ui-tooltip content="Bottom Center" position="bottom"><ui-button slot="target" variant="outline" size="md">Bottom Center</ui-button></ui-tooltip>
|
|
73
|
+
<ui-tooltip content="Bottom-Right" position="bottom-right"><ui-button slot="target" variant="outline" size="md">Bottom-Right</ui-button></ui-tooltip>
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
76
76
|
</section>
|
|
@@ -80,13 +80,13 @@ export const initTooltipDemo = () => {
|
|
|
80
80
|
<div class="card-header-icon"><ui-icon name="palette" library="lucide" size="18px"></ui-icon> Variants & Glassmorphism</div>
|
|
81
81
|
<p>Semantic themes and modern visual effects for elite-tier interfaces.</p>
|
|
82
82
|
<div class="demo-flex-wrap">
|
|
83
|
-
<ui-tooltip content="Dark theme (Default)" variant="dark"><ui-button slot="target" size="md"
|
|
84
|
-
<ui-tooltip content="Light theme" variant="light"><ui-button slot="target" size="md"
|
|
85
|
-
<ui-tooltip content="Primary theme" variant="primary"><ui-button slot="target" size="md"
|
|
86
|
-
<ui-tooltip content="Info theme" variant="info"><ui-button slot="target" size="md"
|
|
87
|
-
<ui-tooltip content="Success theme" variant="success"><ui-button slot="target" size="md"
|
|
88
|
-
<ui-tooltip content="Warning theme" variant="warning"><ui-button slot="target" size="md"
|
|
89
|
-
<ui-tooltip content="Error theme" variant="error"><ui-button slot="target" size="md"
|
|
83
|
+
<ui-tooltip content="Dark theme (Default)" variant="dark"><ui-button slot="target" size="md" variant="outline">Dark</ui-button></ui-tooltip>
|
|
84
|
+
<ui-tooltip content="Light theme" variant="light"><ui-button slot="target" size="md" variant="outline">Light</ui-button></ui-tooltip>
|
|
85
|
+
<ui-tooltip content="Primary theme" variant="primary"><ui-button slot="target" size="md" variant="primary">Primary</ui-button></ui-tooltip>
|
|
86
|
+
<ui-tooltip content="Info theme" variant="info"><ui-button slot="target" size="md" variant="info">Info</ui-button></ui-tooltip>
|
|
87
|
+
<ui-tooltip content="Success theme" variant="success"><ui-button slot="target" size="md" variant="success">Success</ui-button></ui-tooltip>
|
|
88
|
+
<ui-tooltip content="Warning theme" variant="warning"><ui-button slot="target" size="md" variant="warning">Warning</ui-button></ui-tooltip>
|
|
89
|
+
<ui-tooltip content="Error theme" variant="error"><ui-button slot="target" size="md" variant="danger">Error</ui-button></ui-tooltip>
|
|
90
90
|
</div>
|
|
91
91
|
|
|
92
92
|
<div class="demo-grid-3" style="margin-top: 32px;">
|
|
@@ -137,16 +137,16 @@ export const initTooltipDemo = () => {
|
|
|
137
137
|
|
|
138
138
|
<div class="demo-grid-4" style="margin-top: 32px;">
|
|
139
139
|
<ui-tooltip content="Linear timing (300ms)" transition-timing="linear" transition-duration="300" variant="error">
|
|
140
|
-
<ui-button slot="target" variant="danger" size="md"
|
|
140
|
+
<ui-button slot="target" variant="danger" size="md">Linear Timing</ui-button>
|
|
141
141
|
</ui-tooltip>
|
|
142
142
|
<ui-tooltip content="Ease-in timing" transition-timing="ease-in" variant="success">
|
|
143
|
-
<ui-button slot="target" variant="success" size="md"
|
|
143
|
+
<ui-button slot="target" variant="success" size="md">Ease-In</ui-button>
|
|
144
144
|
</ui-tooltip>
|
|
145
145
|
<ui-tooltip content="Scale animation (500ms)" animation="scale" transition-duration="500" variant="primary">
|
|
146
|
-
<ui-button slot="target" variant="primary" size="md"
|
|
146
|
+
<ui-button slot="target" variant="primary" size="md">Scale Timing</ui-button>
|
|
147
147
|
</ui-tooltip>
|
|
148
148
|
<ui-tooltip content="Bounce effect" animation="bounce" variant="warning">
|
|
149
|
-
<ui-button slot="target" variant="warning" size="md"
|
|
149
|
+
<ui-button slot="target" variant="warning" size="md">Bounce Effect</ui-button>
|
|
150
150
|
</ui-tooltip>
|
|
151
151
|
</div>
|
|
152
152
|
</section>
|
|
@@ -182,10 +182,10 @@ export const initTooltipDemo = () => {
|
|
|
182
182
|
|
|
183
183
|
<div style="display:grid; grid-template-columns: 1fr 1fr; gap:12px">
|
|
184
184
|
<ui-tooltip content="Wait for 1.2 seconds..." show-delay="1200" variant="dark">
|
|
185
|
-
<ui-button slot="target" variant="outline" size="md"
|
|
185
|
+
<ui-button slot="target" variant="outline" size="md">Slow Delay (1.2s)</ui-button>
|
|
186
186
|
</ui-tooltip>
|
|
187
187
|
<ui-tooltip content="Hidden after 2 seconds..." hide-delay="2000" variant="dark">
|
|
188
|
-
<ui-button slot="target" variant="outline" size="md"
|
|
188
|
+
<ui-button slot="target" variant="outline" size="md">Hide Delay (2s)</ui-button>
|
|
189
189
|
</ui-tooltip>
|
|
190
190
|
</div>
|
|
191
191
|
</div>
|
|
@@ -202,25 +202,25 @@ export const initTooltipDemo = () => {
|
|
|
202
202
|
<!-- Corners -->
|
|
203
203
|
<div style="position: absolute; top: 20px; left: 20px;">
|
|
204
204
|
<ui-tooltip content="Auto-shifts horizontally to stay in view" position="top-left" auto-shift="true" variant="primary">
|
|
205
|
-
<ui-button slot="target" size="md"
|
|
205
|
+
<ui-button slot="target" size="md">Top Left Corner</ui-button>
|
|
206
206
|
</ui-tooltip>
|
|
207
207
|
</div>
|
|
208
208
|
|
|
209
209
|
<div style="position: absolute; top: 20px; right: 20px;">
|
|
210
210
|
<ui-tooltip content="Automatically flips to bottom if no space" position="top-right" auto-flip="true" variant="info">
|
|
211
|
-
<ui-button slot="target" size="md"
|
|
211
|
+
<ui-button slot="target" size="md" variant="info">Top Right Corner</ui-button>
|
|
212
212
|
</ui-tooltip>
|
|
213
213
|
</div>
|
|
214
214
|
|
|
215
215
|
<div style="position: absolute; bottom: 20px; left: 20px;">
|
|
216
216
|
<ui-tooltip content="Shifts and flips as needed dynamically" position="bottom-left" auto-shift="true" auto-flip="true" variant="success">
|
|
217
|
-
<ui-button slot="target" size="md"
|
|
217
|
+
<ui-button slot="target" size="md" variant="success">Bottom Left</ui-button>
|
|
218
218
|
</ui-tooltip>
|
|
219
219
|
</div>
|
|
220
220
|
|
|
221
221
|
<div style="position: absolute; bottom: 20px; right: 20px;">
|
|
222
222
|
<ui-tooltip content="Smart positioning with viewport bounds" position="bottom-right" auto-shift="true" auto-flip="true" variant="warning">
|
|
223
|
-
<ui-button slot="target" size="md"
|
|
223
|
+
<ui-button slot="target" size="md" variant="warning">Bottom Right</ui-button>
|
|
224
224
|
</ui-tooltip>
|
|
225
225
|
</div>
|
|
226
226
|
|