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
|
@@ -1540,45 +1540,45 @@ export function initAdvancedDataTableDemo() {
|
|
|
1540
1540
|
if (bSpin) bSpin.addEventListener('click', () => loadWithSpinner());
|
|
1541
1541
|
loadWithSkeleton();
|
|
1542
1542
|
}, 100);
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
function loadWithSkeleton() {
|
|
1546
|
-
const container = document.getElementById('skeletonDemo');
|
|
1547
|
-
if (container) {
|
|
1548
|
-
container.innerHTML = '<ui-advanced-data-table id="skeletonTable" loading="true" show-skeleton="true" skeleton-rows="5"></ui-advanced-data-table>';
|
|
1549
1543
|
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1544
|
+
function loadWithSkeleton() {
|
|
1545
|
+
const container = document.getElementById('skeletonDemo');
|
|
1546
|
+
if (container) {
|
|
1547
|
+
container.innerHTML = '<ui-advanced-data-table id="skeletonTable" loading="true" show-skeleton="true" skeleton-rows="5"></ui-advanced-data-table>';
|
|
1554
1548
|
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
table.
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1549
|
+
setTimeout(() => {
|
|
1550
|
+
const table = document.getElementById('skeletonTable');
|
|
1551
|
+
if (table) {
|
|
1552
|
+
table.columns = columns.slice(0, 5);
|
|
1553
|
+
|
|
1554
|
+
setTimeout(() => {
|
|
1555
|
+
table.data = sampleData.slice(0, 5);
|
|
1556
|
+
table.loading = false;
|
|
1557
|
+
table.pagination = false;
|
|
1558
|
+
}, 2000);
|
|
1559
|
+
}
|
|
1560
|
+
}, 100);
|
|
1561
|
+
}
|
|
1562
1562
|
}
|
|
1563
|
-
}
|
|
1564
1563
|
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1564
|
+
function loadWithSpinner() {
|
|
1565
|
+
const container = document.getElementById('skeletonDemo');
|
|
1566
|
+
if (container) {
|
|
1567
|
+
container.innerHTML = '<ui-advanced-data-table id="spinnerTable" loading="true" show-skeleton="false"></ui-advanced-data-table>';
|
|
1569
1568
|
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1569
|
+
setTimeout(() => {
|
|
1570
|
+
const table = document.getElementById('spinnerTable');
|
|
1571
|
+
if (table) {
|
|
1572
|
+
table.columns = columns.slice(0, 5);
|
|
1573
|
+
|
|
1574
|
+
setTimeout(() => {
|
|
1575
|
+
table.data = sampleData.slice(0, 5);
|
|
1576
|
+
table.loading = false;
|
|
1577
|
+
table.pagination = false;
|
|
1578
|
+
}, 2000);
|
|
1579
|
+
}
|
|
1580
|
+
}, 100);
|
|
1581
|
+
}
|
|
1582
1582
|
}
|
|
1583
1583
|
}
|
|
1584
1584
|
|
|
@@ -1694,32 +1694,32 @@ export function initAdvancedDataTableDemo() {
|
|
|
1694
1694
|
if (bClear) bClear.addEventListener('click', () => clearGrouping());
|
|
1695
1695
|
}
|
|
1696
1696
|
}, 100);
|
|
1697
|
-
}
|
|
1698
1697
|
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1698
|
+
function groupByDepartment() {
|
|
1699
|
+
const table = document.getElementById('rowGroupTable');
|
|
1700
|
+
if (table) {
|
|
1701
|
+
table.groupBy = 'department';
|
|
1702
|
+
table.expandGroupsByDefault = true;
|
|
1703
|
+
table.showGroupCount = true;
|
|
1704
|
+
}
|
|
1705
1705
|
}
|
|
1706
|
-
};
|
|
1707
1706
|
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1707
|
+
function groupByStatus() {
|
|
1708
|
+
const table = document.getElementById('rowGroupTable');
|
|
1709
|
+
if (table) {
|
|
1710
|
+
table.groupBy = 'status';
|
|
1711
|
+
table.expandGroupsByDefault = true;
|
|
1712
|
+
table.showGroupCount = true;
|
|
1713
|
+
}
|
|
1714
1714
|
}
|
|
1715
|
-
};
|
|
1716
1715
|
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1716
|
+
function clearGrouping() {
|
|
1717
|
+
const table = document.getElementById('rowGroupTable');
|
|
1718
|
+
if (table) {
|
|
1719
|
+
table.groupBy = '';
|
|
1720
|
+
}
|
|
1721
1721
|
}
|
|
1722
|
-
}
|
|
1722
|
+
}
|
|
1723
1723
|
|
|
1724
1724
|
function showInputTypes() {
|
|
1725
1725
|
tableContainer.innerHTML = `
|
|
@@ -1837,185 +1837,184 @@ export function initAdvancedDataTableDemo() {
|
|
|
1837
1837
|
|
|
1838
1838
|
loadCombinedDemo();
|
|
1839
1839
|
}, 100);
|
|
1840
|
-
}
|
|
1841
1840
|
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1841
|
+
function loadCombinedDemo() {
|
|
1842
|
+
const table = document.getElementById('combinedTable');
|
|
1843
|
+
if (table) {
|
|
1844
|
+
table.loading = true;
|
|
1845
|
+
updatePlaygroundStatus();
|
|
1847
1846
|
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
},
|
|
1864
|
-
{ id: 'name', field: 'name', label: 'Name', sortable: true, editable: true },
|
|
1865
|
-
{ id: 'email', field: 'email', label: 'Email', type: 'email', editable: true },
|
|
1866
|
-
],
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
id: 'work',
|
|
1870
|
-
label: 'Work Details',
|
|
1871
|
-
children: [
|
|
1872
|
-
{ id: 'department', field: 'department', label: 'Department', sortable: true, groupable: true },
|
|
1873
|
-
{ id: 'role', field: 'role', label: 'Role' },
|
|
1874
|
-
{
|
|
1875
|
-
id: 'salary',
|
|
1876
|
-
field: 'salary',
|
|
1877
|
-
label: 'Salary',
|
|
1878
|
-
format: function (v) {
|
|
1879
|
-
return '$' + v.toLocaleString();
|
|
1847
|
+
setTimeout(() => {
|
|
1848
|
+
table.columns = [
|
|
1849
|
+
{ id: 'id', field: 'id', label: 'ID', width: '70px', sortable: true },
|
|
1850
|
+
{
|
|
1851
|
+
id: 'personal',
|
|
1852
|
+
label: 'Personal Info',
|
|
1853
|
+
children: [
|
|
1854
|
+
{
|
|
1855
|
+
id: 'avatar',
|
|
1856
|
+
field: 'avatar',
|
|
1857
|
+
label: 'Avatar',
|
|
1858
|
+
type: 'image',
|
|
1859
|
+
align: 'center',
|
|
1860
|
+
width: '80px',
|
|
1861
|
+
imageStyle: { width: '40px', height: '40px', borderRadius: '50%' },
|
|
1880
1862
|
},
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1863
|
+
{ id: 'name', field: 'name', label: 'Name', sortable: true, editable: true },
|
|
1864
|
+
{ id: 'email', field: 'email', label: 'Email', type: 'email', editable: true },
|
|
1865
|
+
],
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
id: 'work',
|
|
1869
|
+
label: 'Work Details',
|
|
1870
|
+
children: [
|
|
1871
|
+
{ id: 'department', field: 'department', label: 'Department', sortable: true, groupable: true },
|
|
1872
|
+
{ id: 'role', field: 'role', label: 'Role' },
|
|
1873
|
+
{
|
|
1874
|
+
id: 'salary',
|
|
1875
|
+
field: 'salary',
|
|
1876
|
+
label: 'Salary',
|
|
1877
|
+
format: function (v) {
|
|
1878
|
+
return '$' + v.toLocaleString();
|
|
1879
|
+
},
|
|
1880
|
+
},
|
|
1881
|
+
],
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
id: 'status_group',
|
|
1885
|
+
label: 'Status & Performance',
|
|
1886
|
+
children: [
|
|
1887
|
+
{ id: 'status', field: 'status', label: 'Status', groupable: true },
|
|
1888
|
+
{ id: 'rating', field: 'rating', label: 'Rating', type: 'rating', editable: true, maxRating: 5, align: 'center' },
|
|
1889
|
+
{ id: 'active', field: 'active', label: 'Active', type: 'switch', editable: true, align: 'center' },
|
|
1890
|
+
],
|
|
1891
|
+
},
|
|
1892
|
+
];
|
|
1893
|
+
table.data = sampleData;
|
|
1894
|
+
table.loading = false;
|
|
1895
|
+
table.columnGrouping = true;
|
|
1896
|
+
table.sortable = true;
|
|
1897
|
+
table.filterable = true;
|
|
1898
|
+
table.searchable = true;
|
|
1899
|
+
table.pagination = true;
|
|
1900
|
+
table.pageSize = 5;
|
|
1901
|
+
table.editable = false;
|
|
1902
|
+
table.groupBy = '';
|
|
1903
|
+
table.showActions = false;
|
|
1904
|
+
updatePlaygroundStatus();
|
|
1905
|
+
}, 2000);
|
|
1906
|
+
}
|
|
1907
1907
|
}
|
|
1908
|
-
}
|
|
1909
1908
|
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
statusText.textContent = features.length > 0 ? features.join(', ') : 'None';
|
|
1929
|
-
}
|
|
1930
|
-
|
|
1931
|
-
const toggleSkeleton = function () {
|
|
1932
|
-
const table = document.getElementById('combinedTable');
|
|
1933
|
-
if (table) {
|
|
1934
|
-
table.loading = !table.loading;
|
|
1935
|
-
updatePlaygroundStatus();
|
|
1909
|
+
function updatePlaygroundStatus() {
|
|
1910
|
+
const table = document.getElementById('combinedTable');
|
|
1911
|
+
const statusText = document.getElementById('statusText');
|
|
1912
|
+
if (!table || !statusText) return;
|
|
1913
|
+
|
|
1914
|
+
const features = [];
|
|
1915
|
+
if (table.loading) features.push('Loading');
|
|
1916
|
+
if (table.selectable) features.push('Selection');
|
|
1917
|
+
if (table.editable) features.push('Editable');
|
|
1918
|
+
if (table.groupBy) features.push('Grouped by ' + table.groupBy);
|
|
1919
|
+
if (table.showActions) features.push('Row Actions');
|
|
1920
|
+
if (table.columnGrouping) features.push('Column Groups');
|
|
1921
|
+
if (table.sortable) features.push('Sortable');
|
|
1922
|
+
if (table.filterable) features.push('Filterable');
|
|
1923
|
+
if (table.pagination) features.push('Pagination');
|
|
1924
|
+
if (table.treeData) features.push('Tree Data');
|
|
1925
|
+
|
|
1926
|
+
statusText.textContent = features.length > 0 ? features.join(', ') : 'None';
|
|
1936
1927
|
}
|
|
1937
|
-
};
|
|
1938
1928
|
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
} else {
|
|
1945
|
-
table.groupBy = 'department';
|
|
1946
|
-
table.expandGroupsByDefault = true;
|
|
1947
|
-
table.showGroupCount = true;
|
|
1929
|
+
function toggleSkeleton() {
|
|
1930
|
+
const table = document.getElementById('combinedTable');
|
|
1931
|
+
if (table) {
|
|
1932
|
+
table.loading = !table.loading;
|
|
1933
|
+
updatePlaygroundStatus();
|
|
1948
1934
|
}
|
|
1949
|
-
updatePlaygroundStatus();
|
|
1950
1935
|
}
|
|
1951
|
-
};
|
|
1952
1936
|
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1937
|
+
function toggleGrouping() {
|
|
1938
|
+
const table = document.getElementById('combinedTable');
|
|
1939
|
+
if (table) {
|
|
1940
|
+
if (table.groupBy) {
|
|
1941
|
+
table.groupBy = '';
|
|
1942
|
+
} else {
|
|
1943
|
+
table.groupBy = 'department';
|
|
1944
|
+
table.expandGroupsByDefault = true;
|
|
1945
|
+
table.showGroupCount = true;
|
|
1946
|
+
}
|
|
1947
|
+
updatePlaygroundStatus();
|
|
1948
|
+
}
|
|
1958
1949
|
}
|
|
1959
|
-
};
|
|
1960
1950
|
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1951
|
+
function toggleSelection() {
|
|
1952
|
+
const table = document.getElementById('combinedTable');
|
|
1953
|
+
if (table) {
|
|
1954
|
+
table.selectable = !table.selectable;
|
|
1955
|
+
updatePlaygroundStatus();
|
|
1956
|
+
}
|
|
1966
1957
|
}
|
|
1967
|
-
};
|
|
1968
1958
|
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1959
|
+
function toggleActions() {
|
|
1960
|
+
const table = document.getElementById('combinedTable');
|
|
1961
|
+
if (table) {
|
|
1962
|
+
table.showActions = !table.showActions;
|
|
1963
|
+
updatePlaygroundStatus();
|
|
1964
|
+
}
|
|
1974
1965
|
}
|
|
1975
|
-
};
|
|
1976
1966
|
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1967
|
+
function toggleEditable() {
|
|
1968
|
+
const table = document.getElementById('combinedTable');
|
|
1969
|
+
if (table) {
|
|
1970
|
+
table.editable = !table.editable;
|
|
1971
|
+
updatePlaygroundStatus();
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1981
1974
|
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
1975
|
+
function toggleTreeMode() {
|
|
1976
|
+
const table = document.getElementById('combinedTable');
|
|
1977
|
+
if (table) {
|
|
1978
|
+
table.treeData = !table.treeData;
|
|
1979
|
+
|
|
1980
|
+
if (table.treeData) {
|
|
1981
|
+
// Switch to tree data structure
|
|
1982
|
+
table.data = [
|
|
1983
|
+
{
|
|
1984
|
+
id: 'd1',
|
|
1985
|
+
name: 'Engineering',
|
|
1986
|
+
role: 'Department',
|
|
1987
|
+
status: 'Active',
|
|
1988
|
+
children: [
|
|
1989
|
+
{ id: 1, name: 'John Doe', role: 'Senior Developer', status: 'Active' },
|
|
1990
|
+
{ id: 2, name: 'Jane Smith', role: 'Junior Developer', status: 'Active' },
|
|
1991
|
+
],
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
id: 'd2',
|
|
1995
|
+
name: 'Marketing',
|
|
1996
|
+
role: 'Department',
|
|
1997
|
+
status: 'Active',
|
|
1998
|
+
children: [{ id: 4, name: 'Alice Williams', role: 'Sales Rep', status: 'On Leave' }],
|
|
1999
|
+
},
|
|
2000
|
+
];
|
|
2001
|
+
// Simplified columns for tree view
|
|
2002
|
+
table.columns = [
|
|
2003
|
+
{ id: 'name', field: 'name', label: 'Name', sortable: true, width: '250px' },
|
|
2004
|
+
{ id: 'role', field: 'role', label: 'Role', sortable: true },
|
|
2005
|
+
{ id: 'status', field: 'status', label: 'Status', sortable: true },
|
|
2006
|
+
];
|
|
2007
|
+
table.pagination = false;
|
|
2008
|
+
} else {
|
|
2009
|
+
// Revert to sample flat data
|
|
2010
|
+
table.data = sampleData;
|
|
2011
|
+
table.columns = columns; // Reset to full columns
|
|
2012
|
+
table.pagination = true;
|
|
2013
|
+
}
|
|
2014
|
+
updatePlaygroundStatus();
|
|
2015
2015
|
}
|
|
2016
|
-
updatePlaygroundStatus();
|
|
2017
2016
|
}
|
|
2018
|
-
}
|
|
2017
|
+
}
|
|
2019
2018
|
|
|
2020
2019
|
// NEW ADVANCED FEATURES DEMOS
|
|
2021
2020
|
|
|
@@ -48,14 +48,14 @@ export function initAsidePanelDemo() {
|
|
|
48
48
|
<h4 style="margin: 0 0 8px; font-size: 10px; text-transform: uppercase; color: var(--text-secondary); letter-spacing: 0.1em;">🎬 Animation Mastery</h4>
|
|
49
49
|
<div style="display: grid; grid-template-columns: 1fr; gap: 6px;">
|
|
50
50
|
<div style="display: flex; gap: 4px;">
|
|
51
|
-
<ui-button id="btnAnimSlide" variant="outline" color="success" label="Slide In-Out" size="md"
|
|
52
|
-
<ui-button id="btnAnimFade" variant="outline" color="secondary" label="Fade" size="md"
|
|
53
|
-
<ui-button id="btnAnimScale" variant="outline" color="secondary" label="Scale" size="md"
|
|
51
|
+
<ui-button id="btnAnimSlide" variant="outline" color="success" label="Slide In-Out" size="md" style="flex:1"></ui-button>
|
|
52
|
+
<ui-button id="btnAnimFade" variant="outline" color="secondary" label="Fade" size="md" style="flex:1"></ui-button>
|
|
53
|
+
<ui-button id="btnAnimScale" variant="outline" color="secondary" label="Scale" size="md" style="flex:1"></ui-button>
|
|
54
54
|
</div>
|
|
55
55
|
<div style="display: flex; gap: 4px;">
|
|
56
|
-
<ui-button id="btnSpeed01" variant="outline" color="secondary" label="⚡ 0.1s" size="md"
|
|
57
|
-
<ui-button id="btnSpeed1" variant="outline" color="success" label="🎯 1s" size="md"
|
|
58
|
-
<ui-button id="btnSpeed2" variant="outline" color="secondary" label="🎬 2s" size="md"
|
|
56
|
+
<ui-button id="btnSpeed01" variant="outline" color="secondary" label="⚡ 0.1s" size="md" style="flex:1"></ui-button>
|
|
57
|
+
<ui-button id="btnSpeed1" variant="outline" color="success" label="🎯 1s" size="md" style="flex:1"></ui-button>
|
|
58
|
+
<ui-button id="btnSpeed2" variant="outline" color="secondary" label="🎬 2s" size="md" style="flex:1"></ui-button>
|
|
59
59
|
</div>
|
|
60
60
|
</div>
|
|
61
61
|
</div>
|
|
@@ -174,7 +174,9 @@ function showButtonSizes() {
|
|
|
174
174
|
|
|
175
175
|
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" label="With Icon"></ui-button>
|
|
176
176
|
|
|
177
|
-
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" label="With Badge" badge="8"></ui-button>
|
|
177
|
+
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" label="With Badge" badge="8" badge-color="danger"></ui-button>
|
|
178
|
+
|
|
179
|
+
<ui-button size="${s.id}" variant="${s.variant}" label="With Counter" counter="5" counter-color="info"></ui-button>
|
|
178
180
|
|
|
179
181
|
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" icon-only shape="circle"></ui-button>
|
|
180
182
|
|
|
@@ -352,6 +354,27 @@ function showButtonIcons() {
|
|
|
352
354
|
</div>
|
|
353
355
|
</div>
|
|
354
356
|
|
|
357
|
+
<!-- Inline Counters (Inside Button on Right Side) -->
|
|
358
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
359
|
+
<h4 style="margin: 0; font-size: 13px; color: #64748b;">INLINE COUNTERS</h4>
|
|
360
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap;">
|
|
361
|
+
<ui-button label="Inbox" counter="12" variant="outline" counter-color="primary"></ui-button>
|
|
362
|
+
<ui-button label="Alerts" counter="!" variant="outline" counter-color="danger"></ui-button>
|
|
363
|
+
<ui-button label="Done" counter="✓" variant="outline" counter-color="success"></ui-button>
|
|
364
|
+
<ui-button label="Custom" counter="Premium" variant="outline" counter-custom-color="#8b5cf6" counter-custom-text-color="#ffffff"></ui-button>
|
|
365
|
+
</div>
|
|
366
|
+
</div>
|
|
367
|
+
|
|
368
|
+
<!-- Both Overlay Badge and Inline Counter together with different colors -->
|
|
369
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
370
|
+
<h4 style="margin: 0; font-size: 13px; color: #64748b;">BOTH BADGE (OVERLAY) & COUNTER (INLINE)</h4>
|
|
371
|
+
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
372
|
+
<ui-button label="Inbox" badge="9+" badge-color="danger" counter="12" variant="outline" counter-color="primary"></ui-button>
|
|
373
|
+
<ui-button label="Notifications" badge="New" badge-color="success" counter="5" variant="outline" counter-color="info"></ui-button>
|
|
374
|
+
<ui-button label="Custom Styles" badge="PRO" badge-custom-color="#8b5cf6" badge-custom-text-color="#ffffff" counter="Hot" variant="outline" counter-color="warning"></ui-button>
|
|
375
|
+
</div>
|
|
376
|
+
</div>
|
|
377
|
+
|
|
355
378
|
</div>
|
|
356
379
|
</div>
|
|
357
380
|
|
|
@@ -593,6 +616,32 @@ function showInteractiveButton() {
|
|
|
593
616
|
]' size="md" variant="outlined"></ui-dropdown>
|
|
594
617
|
<ui-input id="btnBadge" label="Overlay Badge" value="" size="md" variant="outlined" placeholder="e.g. 9+"></ui-input>
|
|
595
618
|
</div>
|
|
619
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
620
|
+
<ui-dropdown id="btnBadgeColor" label="Badge Color" value="danger" options='[
|
|
621
|
+
{"label": "Primary", "value": "primary"},
|
|
622
|
+
{"label": "Secondary", "value": "secondary"},
|
|
623
|
+
{"label": "Success", "value": "success"},
|
|
624
|
+
{"label": "Danger", "value": "danger"},
|
|
625
|
+
{"label": "Warning", "value": "warning"},
|
|
626
|
+
{"label": "Info", "value": "info"}
|
|
627
|
+
]' size="md" variant="outlined"></ui-dropdown>
|
|
628
|
+
<ui-input id="btnCounter" label="Inline Counter" value="" size="md" variant="outlined" placeholder="e.g. 5"></ui-input>
|
|
629
|
+
</div>
|
|
630
|
+
<div style="display: grid; grid-template-columns: 1fr; gap: 12px;">
|
|
631
|
+
<ui-dropdown id="btnCounterColor" label="Counter Color" value="" options='[
|
|
632
|
+
{"label": "Default", "value": ""},
|
|
633
|
+
{"label": "Primary", "value": "primary"},
|
|
634
|
+
{"label": "Secondary", "value": "secondary"},
|
|
635
|
+
{"label": "Success", "value": "success"},
|
|
636
|
+
{"label": "Danger", "value": "danger"},
|
|
637
|
+
{"label": "Warning", "value": "warning"},
|
|
638
|
+
{"label": "Info", "value": "info"}
|
|
639
|
+
]' size="md" variant="outlined"></ui-dropdown>
|
|
640
|
+
</div>
|
|
641
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
642
|
+
<ui-input id="btnCounterCustomColor" label="Custom Bg" value="" size="md" variant="outlined" placeholder="e.g. #8b5cf6"></ui-input>
|
|
643
|
+
<ui-input id="btnCounterCustomTextColor" label="Custom Text" value="" size="md" variant="outlined" placeholder="e.g. #ffffff"></ui-input>
|
|
644
|
+
</div>
|
|
596
645
|
</div>
|
|
597
646
|
</div>
|
|
598
647
|
|
|
@@ -687,6 +736,11 @@ function updateInteractiveButton() {
|
|
|
687
736
|
const iconLib = document.getElementById('btnIconLibrary')?.value || 'lucide';
|
|
688
737
|
const iconPos = document.getElementById('btnIconPosition')?.value || 'left';
|
|
689
738
|
const badge = document.getElementById('btnBadge')?.value || '';
|
|
739
|
+
const badgeColor = document.getElementById('btnBadgeColor')?.value || '';
|
|
740
|
+
const counter = document.getElementById('btnCounter')?.value || '';
|
|
741
|
+
const counterColor = document.getElementById('btnCounterColor')?.value || '';
|
|
742
|
+
const counterCustomColor = document.getElementById('btnCounterCustomColor')?.value || '';
|
|
743
|
+
const counterCustomTextColor = document.getElementById('btnCounterCustomTextColor')?.value || '';
|
|
690
744
|
|
|
691
745
|
const loading = document.getElementById('btnLoading')?.checked;
|
|
692
746
|
const disabled = document.getElementById('btnDisabled')?.checked;
|
|
@@ -705,6 +759,11 @@ function updateInteractiveButton() {
|
|
|
705
759
|
if (iconLib !== 'lucide') props += ` icon-library="${iconLib}"`;
|
|
706
760
|
if (iconPos !== 'left') props += ` icon-position="${iconPos}"`;
|
|
707
761
|
if (badge) props += ` badge="${badge}"`;
|
|
762
|
+
if (badgeColor && badgeColor !== 'danger') props += ` badge-color="${badgeColor}"`;
|
|
763
|
+
if (counter) props += ` counter="${counter}"`;
|
|
764
|
+
if (counterColor) props += ` counter-color="${counterColor}"`;
|
|
765
|
+
if (counterCustomColor) props += ` counter-custom-color="${counterCustomColor}"`;
|
|
766
|
+
if (counterCustomTextColor) props += ` counter-custom-text-color="${counterCustomTextColor}"`;
|
|
708
767
|
if (loading) props += ' loading';
|
|
709
768
|
if (disabled) props += ' disabled';
|
|
710
769
|
if (iconOnly) props += ' icon-only';
|