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
|
@@ -22,7 +22,7 @@ export class FabItem {
|
|
|
22
22
|
// }
|
|
23
23
|
// }
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '7551f6761b90f6ead01bdd37d5f07f6277c867cc', class: { 'is-disabled': this.disabled, 'is-loading': this.loading } }, this.label && h("div", { key: 'fe90271cf5bb4443b54c01b82274c6e60686766a', class: "fab-item-label", "aria-hidden": "true" }, this.label), h("ui-button", { key: 'da7aef396488d1c527dce3ec6559e36b78df0505', variant: "primary", shape: "circle", class: "fab-item-trigger", disabled: this.disabled || this.loading, loading: this.loading, onClick: this.handleClick, ariaLabel: this.tooltip || this.label || this.icon, title: this.tooltip, icon: this.icon, iconOnly: true, size: "sm" }, !this.icon && h("slot", { key: 'a59d4c4a925bcb81ab54d305c7310095a24160a2', name: "icon" }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "ui-fab-item"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -143,7 +143,7 @@ export class HorizontalNav {
|
|
|
143
143
|
"references": {
|
|
144
144
|
"HorizontalNavItem": {
|
|
145
145
|
"location": "local",
|
|
146
|
-
"path": "
|
|
146
|
+
"path": "C:/Praveen/Personal-repo/kmn/atomicUILibrary/library/src/components/horizontal-nav/horizontal-nav.tsx",
|
|
147
147
|
"id": "src/components/horizontal-nav/horizontal-nav.tsx::HorizontalNavItem"
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -365,7 +365,7 @@ export class HorizontalNav {
|
|
|
365
365
|
"references": {
|
|
366
366
|
"HorizontalNavItem": {
|
|
367
367
|
"location": "local",
|
|
368
|
-
"path": "
|
|
368
|
+
"path": "C:/Praveen/Personal-repo/kmn/atomicUILibrary/library/src/components/horizontal-nav/horizontal-nav.tsx",
|
|
369
369
|
"id": "src/components/horizontal-nav/horizontal-nav.tsx::HorizontalNavItem"
|
|
370
370
|
}
|
|
371
371
|
}
|
|
@@ -289,7 +289,7 @@ export class Icon {
|
|
|
289
289
|
const accessibilityAttrs = this.label
|
|
290
290
|
? { role: 'img', 'aria-label': this.label }
|
|
291
291
|
: { 'aria-hidden': 'true' };
|
|
292
|
-
return (h(Host, { key: '
|
|
292
|
+
return (h(Host, { key: 'b32e0ca5263061b4fc29bd78648d3f4906095d4b', style: containerStyle, ...accessibilityAttrs }, h("div", { key: 'a483ab48abea1360f97875d6e92c2a37324d34ec', class: `icon-container ${this.spin ? 'fa-spin' : ''}` }, (this.loading || this.isFetching)
|
|
293
293
|
? h("ui-loader", { size: "0.8em", color: "currentColor", type: "spinner" })
|
|
294
294
|
: this.renderIconContent(lib, parsedSize))));
|
|
295
295
|
}
|
|
@@ -971,7 +971,7 @@ export class Input {
|
|
|
971
971
|
onKeyDown: this.handleKeydown,
|
|
972
972
|
onKeyUp: this.handleKeyup,
|
|
973
973
|
};
|
|
974
|
-
return (h(Host, { key: '
|
|
974
|
+
return (h(Host, { key: '3a051e8a9e1f0139e4657d60ef8164856307104a', class: {
|
|
975
975
|
[`variant-${this.variant}`]: true,
|
|
976
976
|
[`size-${this.size}`]: true,
|
|
977
977
|
'full-width': this.fullWidth,
|
|
@@ -979,13 +979,13 @@ export class Input {
|
|
|
979
979
|
[`input-color-${isCustomColor ? 'custom' : this.color}`]: true,
|
|
980
980
|
'shake-animation': this.shake,
|
|
981
981
|
'focused': this.isFocused,
|
|
982
|
-
}, style: hostStyles }, h("div", { key: '
|
|
982
|
+
}, style: hostStyles }, h("div", { key: 'e3e095ca40775b9c8acebea74563510d1ce53783', class: { ...inputClasses, 'input-ripple': this.rippleEffect } }, this.label && !this.floatingLabel && !isOtp && h("label", { key: '80cf74ffcb51ab88a4b741735f0dd2e605dd6093', class: "input-label" }, this.label, this.required && '*'), h("div", { key: 'ab7fd102b717f98310a33f852941193eff690429', class: "input-container", onMouseDown: this.handleMouseDown, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, h("div", { key: '33ac5d37c8424e3676f0ff3aa7fcc56022234a7a', class: "clipping-layer" }, this.showRipple && h("div", { key: '04ce9c9370ba75eccc571b6a77fdc9d0d85aa414', class: "liquid-ripple", style: { left: `${this.rippleX}px`, top: `${this.rippleY}px` } }), this.linearLoading && h("div", { key: '57fae93bef66ce2442cff10d8c1047c06534f2f4', class: "linear-loading-bar" }), this.backdropSheen && h("div", { key: '4cc4cda3894e58b5de70ee5769c8dcdab7660394', class: "backdrop-sheen-effect" })), this.renderAutocomplete(), (this.badge || (this.dirtyTracking && this.isDirty)) && (h("span", { key: '0d81a8f25b0a5f8d657334be35fd6265b0a6d517', class: `input-badge ${!this.badge ? 'dot-mode' : ''}` }, this.badge || '')), this.renderPrefixIcon(), this.floatingLabel && !isOtp && h("label", { key: '21b3824bad5426b981cd4c3e24f0d72b11f42800', class: "floating-label" }, this.label, this.required && '*'), this.multiline ? (h("textarea", { ...commonProps, style: { resize: this.autoResize ? 'none' : this.resize }, value: this.value })) : isOtp ? (h("div", { class: "otp-container" }, Array.from({ length: this.otpLength }).map((_, i) => (h("div", { class: { 'otp-box': true, 'filled': this.value.length > i, 'active': this.value.length === i && this.isFocused } }, this.value[i] || ''))), h("input", { ...commonProps, style: { opacity: '0', position: 'absolute', inset: '0', caretColor: 'transparent' } }))) : this.type === 'range' ? (h("div", { class: "range-input-wrapper", style: { '--range-progress': `${this.getRangePercentage()}%` } }, h("input", { ...commonProps, type: "range", value: this.rangeValue, min: this.min || 0, max: this.max || 100, step: this.step || 1 }), h("div", { class: "range-manual-adornment" }, h("input", { type: "number", class: "range-manual-input", value: this.rangeValue, min: this.min || 0, max: this.max || 100, step: this.step || 1, onInput: this.handleRangeManualInput })))) : (h("div", { class: "input-field-stack" }, h("input", { ...commonProps, type: inputType, value: isFile ? this.selectedFileNames : this.value }), this.currentGhost && h("span", { class: "ghost-text-overlay", onClick: () => (this.value = this.ghostText) }, this.currentGhost))), isColor && (h("input", { key: '92a94bf2a1b15d0619402459af2042568d1b41e1', type: "color", style: { opacity: '0', position: 'absolute', inset: '0', pointerEvents: 'none' }, value: this.value || '#000000', onInput: (e) => { this.value = e.target.value; this.inputChange.emit(this.value); }, ref: (el) => (this.colorPickerElement = el) })), isFile && (h("input", { key: 'd03600aa9ed340b7aee6d8cc67f85b5d9bffef11', type: "file", style: { opacity: '0', position: 'absolute', inset: '0', cursor: 'pointer', zIndex: '1' }, accept: this.accept, multiple: this.multiple, onInput: this.handleInput, ref: (el) => (this.filePickerElement = el) })), this.suffixText && h("span", { key: 'e41d89f9aa5e3f776152bb3571dfe791bb190429', class: { 'suffix-text': true, [`block-color-${this.suffixColor}`]: !!this.suffixColor } }, this.suffixText), (this.statusIndicator !== 'none' || this.isRecording || this._voiceOffLabel) && (h("div", { key: '97c5bb06c3cd3c415ae269de07d15e9cae37bc11', class: `status-indicator status-${this.isRecording ? 'listening' : this._voiceOffLabel ? 'offline' : this.statusIndicator}` }, !this.voiceEnabled && !this.voiceInput && (this.statusIndicator === 'listening' || this.isRecording) && (h("ui-icon", { key: '13305b3242980ce30f7ddb011f9c293f65520bff', library: "lucide", name: "mic", class: "mic-pulse" })), this.statusIndicator !== 'listening' && !this.isRecording && !this._voiceOffLabel && (h("span", { key: '287f8784f85a1c8ce18185668ded6be9abdfe521', class: "status-dot" })), h("span", { key: 'dcf8414fd07f22c907d8f0a44e2f291bd8d9e06a', class: "status-label" }, this.isRecording
|
|
983
983
|
? 'Listening'
|
|
984
984
|
: this._voiceOffLabel
|
|
985
985
|
? 'Not listening'
|
|
986
986
|
: this.statusIndicator !== 'none'
|
|
987
987
|
? this.statusIndicator.charAt(0).toUpperCase() + this.statusIndicator.slice(1)
|
|
988
|
-
: null), this.statusIndicator === 'typing' && h("span", { key: '
|
|
988
|
+
: null), this.statusIndicator === 'typing' && h("span", { key: '97e33fe463f2614ad1d50434113f901295476388', class: "typing-animation" }, h("span", { key: '6a4deee492deb251b6d9166932f9bf39575dc7ae' }), h("span", { key: '7cfec2336ffed51a4a807f59d9acadf242d6eba1' }), h("span", { key: '537aee8e7a731ebe94a9a9d2782211c2ed27ee74' })))), this.renderSuffixContent(), this.renderSteppers(), this.hintTooltip && h("div", { key: '0e823d9672e91e3f3e73fee5f3b3b7ffb852d124', class: "hint-tooltip-icon", title: this.hintTooltip }, h("ui-icon", { key: 'ddbdd7627df9b9e0b5f21549555478957b987acb', library: "lucide", name: "help-circle" }))), (validationMessage || this.showCounter || this.minLengthIndicator || this.maxLengthIndicator || (this.type === 'password' && this.value && this.showPasswordStrength)) && (h("div", { key: 'b744601318eb4bc5591c46b55c7bb6c695b53e0d', class: "input-footer" }, this.type === 'password' && this.value && this.showPasswordStrength && (h("div", { key: '0a53061d23adf47ed76c9f136208fa6d1aea24ba', class: "password-strength-meter" }, h("div", { key: 'bb04a6a647595ac406a19f66d2070709d9d70427', class: `strength-bar strength-${this.passwordStrength}` }))), validationMessage && (h("span", { key: 'b2afa105430243ed422fbba82f3411becb889a65', class: `helper-text ${this.validationState !== 'none' ? this.validationState + '-text' : ''}` }, this.validationState === 'error' && h("ui-icon", { key: 'ada379d68e13611f58892c386133633ca52eb20f', library: "lucide", name: "alert-circle", class: "validation-icon" }), this.validationState === 'warning' && h("ui-icon", { key: '28b17d21ea957ba6e9c7fc556737182c11894d8f', library: "lucide", name: "alert-triangle", class: "validation-icon" }), this.validationState === 'success' && h("ui-icon", { key: '3ea20f412b2a859070585d2cbafade0f692bbbad', library: "lucide", name: "check-circle-2", class: "validation-icon" }), this.validationState === 'info' && h("ui-icon", { key: 'f6cfbfbe60bcf78ea2dcd50b75bda182bc8133a1', library: "lucide", name: "info", class: "validation-icon" }), validationMessage)), this.relativeTime && this.type === 'date' && this.value && (h("span", { key: 'f952bbb2fc1d5833b64e90717b1c0b8c2ed88e69', class: "relative-time-overlay" }, this.getRelativeTimeString(this.value))), this.showCounter && this.maxLength && h("span", { key: '86521b16722af6200a90d99d97b5d41fb601cc88', class: "character-counter" }, this.currentLength, "/", this.maxLength), this.renderLengthIndicator())))));
|
|
989
989
|
}
|
|
990
990
|
static get is() { return "ui-input"; }
|
|
991
991
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1754,7 +1754,7 @@ export class Input {
|
|
|
1754
1754
|
"mutable": false,
|
|
1755
1755
|
"complexType": {
|
|
1756
1756
|
"original": "InputVariant",
|
|
1757
|
-
"resolved": "\"bordered\" | \"borderless\" | \"color\" | \"danger\" | \"dark\" | \"default\" | \"dots-only\" | \"elevated\" | \"error\" | \"filled\" | \"flat\" | \"ghost\" | \"glass\" | \"gradient\" | \"info\" | \"inverse\" | \"light\" | \"minimal\" | \"neutral\" | \"outlined\" | \"panel\" | \"plain\" | \"primary\" | \"quaternary\" | \"raised\" | \"secondary\" | \"segmented\" | \"soft\" | \"solid\" | \"standard\" | \"success\" | \"surface\" | \"tertiary\" | \"text\" | \"underlined\" | \"warning\"",
|
|
1757
|
+
"resolved": "\"bordered\" | \"borderless\" | \"color\" | \"danger\" | \"dark\" | \"default\" | \"dots-only\" | \"elevated\" | \"error\" | \"filled\" | \"flat\" | \"ghost\" | \"glass\" | \"gradient\" | \"info\" | \"inverse\" | \"light\" | \"minimal\" | \"neutral\" | \"outlined\" | \"panel\" | \"plain\" | \"primary\" | \"quaternary\" | \"raised\" | \"secondary\" | \"segmented\" | \"soft\" | \"solid\" | \"standard\" | \"status\" | \"success\" | \"surface\" | \"tertiary\" | \"text\" | \"underlined\" | \"warning\"",
|
|
1758
1758
|
"references": {
|
|
1759
1759
|
"InputVariant": {
|
|
1760
1760
|
"location": "import",
|
|
@@ -346,7 +346,7 @@ export class LayoutManager {
|
|
|
346
346
|
document.removeEventListener('mouseup', this.onGlobalMouseUp);
|
|
347
347
|
};
|
|
348
348
|
render() {
|
|
349
|
-
return (h("div", { key: '
|
|
349
|
+
return (h("div", { key: 'a7d960702919a492c0f69534926d1a3eb3be72dd', class: "lm-root" }, h("lm-container", { key: '065dad724b014066c553e9eedc8f43f893d7d573', node: this.layout.root }), this.dropIndicator && h("div", { key: '8ed57f7562cdaf20c5d65f79cc16c638d8450b95', class: `lm-drop-indicator ${this.dropIndicator.zone}`, style: this.getIndicatorStyle() }), h("div", { key: '001e3f78b7e233858cad4ff5035849091dca554e', class: "lm-floating" }, this.layout.floating.map(f => (h("lm-floating-window", { "panel-id": f.id }))))));
|
|
350
350
|
}
|
|
351
351
|
static get is() { return "layout-manager"; }
|
|
352
352
|
static get originalStyleUrls() {
|
|
@@ -4,7 +4,7 @@ export class LmFloatingWindow {
|
|
|
4
4
|
x = 100;
|
|
5
5
|
y = 100;
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '127457de3888abc6cc985f0eb63c093c06d71734', class: "lm-float", style: { left: `${this.x}px`, top: `${this.y}px` }, "data-panel-id": this.panelId }, h("div", { key: '1413e834a512629ce51325aeb9a303d74fb9e39d', class: "lm-float-header" }, "Floating - ", this.panelId), h("div", { key: '4fe4b7599ade9297207575f36f3135bab34f012b', class: "lm-float-body" }, h("slot", { key: 'db60539be3bbe32fe8f3bd1900a6f43761be57ff' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "lm-floating-window"; }
|
|
10
10
|
static get originalStyleUrls() {
|
|
@@ -14,7 +14,7 @@ export class LmPanel {
|
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: 'ed9841ccbbf9405cce4768bfc6b95679e3073612', class: "lm-panel", "data-id": this.panel.id }, h("div", { key: 'da601613fad1f4fbbfe710dab28023641fc09e22', class: "lm-panel-header", onMouseDown: e => this.onHeaderMouseDown(e) }, h("div", { key: 'd5770de243fe1b56344cc7eac1747fb27fdac878', class: "lm-title", style: { display: 'flex', alignItems: 'center' } }, this.panel.icon && h("ui-icon", { key: 'ae016e3300eb49f9a57b455caf7507bd97436b41', name: this.panel.icon, library: "lucide", style: { width: '16px', height: '16px', marginRight: '8px' } }), this.panel.title), h("div", { key: '44f63e8f914ff8d2fc49159e6c4aea47a4bf9110', class: "lm-controls" }, this.panel.closable !== false && (h("ui-button", { key: 'ab22aed20eb1f50fca03ccd70e56eb502d150fe7', variant: "ghost", class: "lm-close", onClick: () => this.closePanel(), ariaLabel: "Close panel", icon: "x", iconLibrary: "lucide", iconOnly: true, size: "xxs" })))), h("div", { key: '7f7b24123c8ef2f29e854bde5bf021b8b269860b', class: "lm-panel-body" }, this.panel.content ? (h("div", { innerHTML: sanitizeHTML(this.panel.content) })) : (h("slot", null)))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "lm-panel"; }
|
|
20
20
|
static get originalStyleUrls() {
|
|
@@ -35,7 +35,7 @@ export class LmSplitter {
|
|
|
35
35
|
};
|
|
36
36
|
direction = 'horizontal'; // Default to horizontal (vertical bar) for row layout
|
|
37
37
|
render() {
|
|
38
|
-
return h("div", { key: '
|
|
38
|
+
return h("div", { key: '10a37bce5b34d39754a42339ece2fd8c1759ffec', class: `lm-splitter ${this.direction}`, onMouseDown: e => this.onDown(e) });
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "lm-splitter"; }
|
|
41
41
|
static get originalStyleUrls() {
|
|
@@ -21,7 +21,7 @@ export class LmTabs {
|
|
|
21
21
|
GlobalEventBus.emit('panel:dragstart', { panelId: id, x: e.clientX, y: e.clientY });
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h("div", { key: '
|
|
24
|
+
return (h("div", { key: 'febe482fbf5af159c3be293e1964d12eacf44ac2', class: `lm-tabs ${this.mode}` }, h("div", { key: '85a936ec854d5044ce2994b49fff517e5fe877e4', class: "lm-tab-list" }, this.panels.map(p => (h("div", { class: `lm-tab ${p.id === this.activeTabId ? 'active' : ''}`, "data-id": p.id, onClick: () => this.switchTab(p.id), onMouseDown: (e) => this.onTabMouseDown(e, p.id) }, h("span", { class: "lm-tab-title", style: { display: 'flex', alignItems: 'center' } }, p.icon && h("ui-icon", { name: p.icon, library: "lucide", style: { width: '14px', height: '14px', marginRight: '6px' } }), p.title), p.closable !== false && (h("span", { class: "lm-tab-close", onClick: (e) => this.closePanel(e, p.id) }, "\u00D7"))))))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "lm-tabs"; }
|
|
27
27
|
static get originalStyleUrls() {
|
|
@@ -14,7 +14,7 @@ export class CategorySection {
|
|
|
14
14
|
this.expanded = !this.expanded;
|
|
15
15
|
};
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'cbf8ccd3007f98bb7e60a16df0bc5e2297ca6169' }, h("div", { key: '26e8b469d968c65d6d3b27c9beebd41877e92ad8', class: { 'category': true, 'collapsed': !this.expanded } }, h("ui-button", { key: '7310a57de6db671d7cfabec3627fdb1bc350723c', class: "category-header", onButtonClick: this.toggleExpanded, variant: "plain", fullWidth: true, align: "start" }, h("span", { key: '5505829b31f4d0bd69c063159b056a8ba3403c2f', class: "category-icon" }, this.categoryIcon), h("h2", { key: 'bfead7dba3a483a23a2971747b31ff0466cb11af', class: "category-title" }, this.categoryName), h("span", { key: 'bb3017b79b6abf090af4589c79ee03738ecfc10f', class: "category-count" }, this.components.length), h("svg", { key: 'bb7785342b89e9e571707abc2b0c0637037eb0b2', class: { 'chevron': true, 'rotated': !this.expanded }, width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, h("polyline", { key: '625fc1dac9dffc486edf86dc3d5862e7e15e0fb1', points: "6,9 12,15 18,9" }))), h("div", { key: '8a4a7c7f42ac74396853b44e57fc7aaa38ddaf7d', class: "category-content" }, h("div", { key: '924bef66650d575f4cbfaf69d06b9e1ed76bcf08', class: "cards-grid" }, this.components.map(comp => (h("library-card", { key: comp.id, "component-id": comp.id, "card-title": comp.name, description: comp.description, icon: comp.icon, badge: comp.badge, docs: comp.docs, mode: this.mode }))))))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "category-section"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,7 +47,7 @@ export class LibraryCard {
|
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'e7edb6ead577044fd1f0fa6b7679be3dcfeabe2b' }, h("div", { key: '8ca7a57e9eaa74b7504e55e0babe472e38a0ec43', class: "card", onClick: this.handleViewDemo }, h("div", { key: '3fad5c6b2c77cf04368ed68ad98cd1839580a5c2', class: "card-icon" }, this.icon), h("div", { key: '4400e8559ff068d0eddba7e781498d583da9cb19', class: "card-content" }, h("h3", { key: '59003194f0804f32b304c57c1ea6d72469759264', class: "card-title" }, this.cardTitle, this.badge && h("span", { key: '906582ba015efb8c817b4cfa2171e6174c7342d6', class: "badge" }, this.badge)), h("p", { key: '0accb66ebbb468e22cffeaea5a1670f3c5a61922', class: "card-description" }, this.description)), h("div", { key: 'f62f8e4b3c46fdaa83797603874965ba891eb02a', class: "card-action" }, this.docs && (h("ui-button", { key: 'e8f3c1790fbb58887826012e0ffb79056de2cfaa', variant: "ghost", size: "md", icon: "file-text", "icon-library": "lucide", title: "View Documentation", onClick: this.handleViewDocs })), h("ui-button", { key: '098cb0afc2110dd502003e164478eb9595f212f3', variant: "filled", color: "primary", size: "md", icon: "play", "icon-library": "lucide", title: "View Demo" })))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "library-card"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,7 +44,7 @@ export class Library {
|
|
|
44
44
|
render() {
|
|
45
45
|
const filteredByCategory = this.getFilteredComponents();
|
|
46
46
|
const totalComponents = componentsData.length;
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '4c1dc7e15800d09ec6aa0133c8701d7da61ab655' }, h("div", { key: 'cae99305a344bafc11d001b4f4c2cb0c1fe0f542', class: "library-container" }, h("header", { key: '62e00d85aad197e14979d3dc1c5402de834c0eb0', class: "library-header" }, h("div", { key: '01a835fb6293e56c2944be028b1f0f9395144308', class: "header-content" }, h("div", { key: '696357260008450eff7bba75b7a49d7a6f2451f5', class: "logo-section" }, h("div", { key: 'ac0f7a864019b9d33c9b4fee9b7c263e29d0aed3', class: "logo" }, h("span", { key: '0daec32b5865d5ae6c81d9812952aef9a1a76fb5', class: "logo-icon" }, "\uD83C\uDFA8"), h("span", { key: '2e4d257808381b4fac4c391d3089cce08798e571', class: "logo-text" }, "App UI")), h("span", { key: '920ed50aabb207dc2ea90d6ef99da8132e986b16', class: "version-badge" }, "v0.1.0")), h("div", { key: 'c29d9d82ea126477b091e8b3a7f97f8ac3b5b369', class: "search-container" }, h("ui-input", { key: '5d38afc08cda8b1501f41585f010e300960fa30d', class: "search-input", placeholder: "Search components...", value: this.searchQuery, onInputChange: (e) => this.searchQuery = e.detail, "prefix-icon": "search", "icon-library": "lucide", clearable: true })), h("div", { key: '93bea43833d4531d146af1b87f9617b190d49a94', class: "header-stats" }, h("span", { key: 'c70cf9beb7e5ac45bb5f1ff81a6f7392e1798d73', class: "stat" }, totalComponents, " components"), h("span", { key: '9f8566888498ef1d8cf4225e879b3d8878b8102a', class: "stat" }, categories.length, " categories")))), h("nav", { key: '28830f9ed321730f42d699296bd7c881c4b1584d', class: "category-nav" }, h("ui-button", { key: '7d96d7165f81812ce2d40ab6527709ce99e006a3', label: "All", variant: this.selectedCategory === null ? 'filled' : 'ghost', color: "primary", size: "md", onClick: () => this.handleCategoryClick(null), style: { borderRadius: '20px' } }), categories.map(cat => (h("ui-button", { key: cat, label: `${this.getCategoryIcon(cat)} ${cat}`, variant: this.selectedCategory === cat ? 'filled' : 'ghost', color: "primary", size: "md", onClick: () => this.handleCategoryClick(cat), style: { borderRadius: '20px' } })))), h("main", { key: 'de56e287dde8103b7002774cfbcd03661ab1dd16', class: "library-content" }, Object.keys(filteredByCategory).length === 0 ? (h("div", { class: "no-results" }, h("ui-icon", { name: "search", library: "lucide", size: "2em", class: "no-results-icon" }), h("h3", null, "No components found"), h("p", null, "Try adjusting your search or filter criteria"))) : (Object.entries(filteredByCategory).map(([category, components]) => (h("category-section", { key: category, "category-name": category, "category-icon": this.getCategoryIcon(category), components: components, mode: this.mode }))))), h("footer", { key: '0054505d4de9a0d3b9bdc09e547e375839231b15', class: "library-footer" }, h("p", { key: '10b12d9827ca1d5d55c7bd0369fd5aeaef059a8f' }, "Built with \u2764\uFE0F using Stencil.js"), h("div", { key: '50cc149a78a8192c27264590f17268082ce5d0d6', class: "footer-links" }, h("a", { key: 'ea18fc69818bddda3a1405716f93d8660d9abef3', href: "#", class: "footer-link" }, "Documentation"), h("a", { key: '3e8d3dda249e3726d92b7b50423144402d297c31', href: "#", class: "footer-link" }, "GitHub"), h("a", { key: 'fa50f729f8d6021cf5ca60036ddc0adda4426b74', href: "#", class: "footer-link" }, "Changelog"))))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "ui-library"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -678,7 +678,7 @@ export class AppList {
|
|
|
678
678
|
...(this.maxHeight ? { maxHeight: this.maxHeight, overflowY: 'auto' } : {}),
|
|
679
679
|
...gridStyle
|
|
680
680
|
};
|
|
681
|
-
return (h("div", { key: '
|
|
681
|
+
return (h("div", { key: '4f41d5f9b82328c5e5b6b990d2cba0fb85d02aa5', class: containerClasses, onKeyDown: this.handleKeyDown, tabindex: "0" }, this.syncing && h("div", { key: 'b5ccede5c41d256002443a4212650290614978ab', class: "list-sync-bar" }), h("div", { key: 'ed6271a638dd129ac647487306f59be583d87e9e', class: "list-header-adaptive" }, h("div", { key: 'db465ed90ceb6591344a2ce62fb081c11d126309', class: "header-main-titles" }, this.label && h("div", { key: '84064fc69f3df5d1a36094c42c531f794375709a', class: "list-label" }, this.label), this.subheader && h("div", { key: '43b6852ce14d2a109e7d49f0ee4a2023b7b99476', class: "list-subheader" }, this.subheader)), this.renderViewTabs()), this.renderSearch(), this.filterChips.length > 0 && (h("div", { key: '755badc3efa061e5ef7f8be478813eb83df98cdc', class: "list-filter-chips" }, this.filterChips.map(chip => (h("ui-button", { variant: chip.active ? "primary" : "ghost", class: { 'filter-chip': true, 'active': chip.active }, label: `${chip.label} ${chip.count !== undefined ? chip.count : ''}`, size: "sm" }))))), this.showSortingHeaders && (h("div", { key: '978d41292344852cf0ee831127b66cd2ab742664', class: "list-sorting-headers" }, this.columns.map(col => (h("div", { class: "sort-header", onClick: () => { const dir = this._sortColumn === col.key && this._sortDir === 'asc' ? 'desc' : 'asc'; this._sortColumn = col.key; this._sortDir = dir; this.columnSort.emit({ key: col.key, direction: dir }); } }, h("span", null, col.label), col.sortable && h("ui-icon", { name: "sort", library: "fontawesome" })))))), this.showBulkHeader && this.multiSelect && (h("div", { key: '01ebcaf21ee576b05618c5614a3667af24644ec0', class: "list-bulk-header" }, h("div", { key: '4af56532d24827bf7509a5a45a484ce6d59115cd', class: "bulk-select-all" }, h("ui-check-box", { key: '7ae0e47d3dc1341e81b2ae57df4a6c4b5ec97838', checked: this.selectedValues.length === this.items.length && this.items.length > 0, indeterminate: this.selectedValues.length > 0 && this.selectedValues.length < this.items.length, onCheckChange: (e) => {
|
|
682
682
|
if (e.detail.checked) {
|
|
683
683
|
this.selectedValues = this.items.map((item, i) => item.value || item.id || i.toString());
|
|
684
684
|
}
|
|
@@ -686,15 +686,15 @@ export class AppList {
|
|
|
686
686
|
this.selectedValues = [];
|
|
687
687
|
}
|
|
688
688
|
this.listChange.emit({ values: this.selectedValues });
|
|
689
|
-
} }), h("span", { key: '
|
|
689
|
+
} }), h("span", { key: 'aaa3441cd736d78f9486cc0fd01053b109620615', class: "bulk-count" }, this.selectedValues.length, " selected")), this.selectedValues.length > 0 && (h("div", { key: '3e2c3dc520b207692f61a09afd786e4e4bfbe462', class: "bulk-actions" }, this.bulkActions.map(action => (h("ui-button", { variant: "ghost", onClick: () => this.bulkAction.emit({ action: action.action, values: this.selectedValues }), icon: action.icon, iconLibrary: "fontawesome", label: action.label, size: "sm" }))))))), this.floatingFAB && this.selectedValues.length > 0 && (h("div", { key: 'd79e22941c6125d0447cd2646bcef0cd32410ad3', class: "list-power-launcher-container" }, h("div", { key: '5428fc9a5d581c15b9a42977eae4f08f253c4845', class: { 'launcher-fab': true, 'active': this.isPowerLauncherOpen }, onClick: () => this.isPowerLauncherOpen = !this.isPowerLauncherOpen }, h("ui-icon", { key: '10dd1b7d30e8fb9e9f3c90b65779c888663452a4', name: this.isPowerLauncherOpen ? 'times' : 'bolt', library: "fontawesome" })), this.isPowerLauncherOpen && (h("div", { key: 'b6c35850477fac5716818e449500a39a3cf894ed', class: "launcher-menu" }, h("div", { key: 'db4d1a4e3077bdb5c804b0ca9a75b2aea21bf5a7', class: "l-item", onClick: () => this.bulkAction.emit({ action: 'rolling-restart', values: this.selectedValues }) }, h("ui-icon", { key: '76597b228c9ad53087cacd6dbc11a3e3d4f2b2c1', name: "redo" }), " Rolling Restart"), h("div", { key: '9ba4804ace67bb7503c8713e816b4bc6197270b2', class: "l-item", onClick: () => this.bulkAction.emit({ action: 'sync-cluster', values: this.selectedValues }) }, h("ui-icon", { key: 'b673a8122860064908af7f11dd018b263671fa7e', name: "sync" }), " Sync Cluster"), h("div", { key: 'e01d57b46a14199afa99138d86701fca24d99537', class: "l-item", onClick: () => this.bulkAction.emit({ action: 'patch-security', values: this.selectedValues }) }, h("ui-icon", { key: '0da91a692f0e54baf6db39eee99de7ebc45f793c', name: "shield-alt" }), " Patch Security"), h("div", { key: '34cb252b35171aa5357a78d0a0d608f51de56925', class: "l-item danger", onClick: () => this.bulkAction.emit({ action: 'delete', values: this.selectedValues }) }, h("ui-icon", { key: 'ab94d9a829f7be9a6ec8f907b6c3c7f59c8452e3', name: "trash" }), " Terminate Selected"))))), this.isPaletteOpen && (h("div", { key: '7672cd318acb612ac9585f47fee917d98a3677de', class: "list-shortcut-palette", onClick: () => this.isPaletteOpen = false }, h("div", { key: 'b309a9ebc87081a00c39cbcf1d401780985b948a', class: "palette-content", onClick: e => e.stopPropagation() }, h("h3", { key: '2523a0a5d0f15eed66626b600c165d9c0d53e2d2' }, "\u2328\uFE0F Keyboard Shortcuts"), h("div", { key: 'e5d8fb61bc6a0164f1d59212f35d0f0d6b7efab9', class: "shortcut-grid" }, h("div", { key: '084c0a83d39f91615d2a8452bc3c7efbe0df34ba', class: "s-row" }, h("kbd", { key: 'b3be0998858c61f71c30de13f6e9fd1c7d691eae' }, "J"), " / ", h("kbd", { key: '386cc175f72faddbf616a40bf68ce551ed3e9cf6' }, "K"), " ", h("span", { key: 'deaeb0b4ee946a4d85b142b05b8bebd10b2657f6' }, "Navigate Down / Up")), h("div", { key: 'cd1c0ff59b78ff48927dcb940a85a928bd9a7e9f', class: "s-row" }, h("kbd", { key: '01d28ed64ea5a5c25ae23227a4d0d2d485437486' }, "Shift"), " + ", h("kbd", { key: 'ebfe4726a80f0e3333d5712298ddd089c5098a21' }, "J/K"), " ", h("span", { key: '1bde7e50bb79bed0aae5ee15e1106c1479a5383a' }, "Select Range")), h("div", { key: 'c11efad0545b775bd5b1f0cfc4a085317c3ebfee', class: "s-row" }, h("kbd", { key: '45cf6bc72acb696ad2fbde766fc57d6e3c01c6b4' }, "X"), " ", h("span", { key: 'b86e2314e06fb7d8ff22c71bb231b3e828c96b5a' }, "Toggle Selection")), h("div", { key: '1767c7ba0256d1f6ba117c11f969071be099c73d', class: "s-row" }, h("kbd", { key: '28bf817768a742ffbaa0b87ac5ca78ec965c7e4c' }, "Enter"), " ", h("span", { key: '71640ceb7349f38f285ed64fb81f690f96005e62' }, "Activate / Open")), h("div", { key: 'b49d904e6303444b9b8e1fc7f611aad5e4a469e5', class: "s-row" }, h("kbd", { key: '493d94845640a0b0578f2e99fe07e16ae5ff92ee' }, "Space"), " ", h("span", { key: '14b9767880acf71e36d181b0e0c3ff1ab682f272' }, "Quick Look Preview")), h("div", { key: '782f31daa50b9329794da1845e14d4379700a5a5', class: "s-row" }, h("kbd", { key: 'ebd8dc3dc59cc388caf58d1287c86473ffd76b38' }, "["), " / ", h("kbd", { key: '0347ff672424c8db103e20f5ecf519b0b974d4de' }, "]"), " ", h("span", { key: 'b6f87b61cf822fdf6349bdb92849f0175029e4de' }, "Jump to Prev / Next Group")), h("div", { key: '0cfe752e9649c00712f22b780307084252c138cf', class: "s-row" }, h("kbd", { key: '9de296e60383b0b90d9696311eb5bc5bb64b889d' }, "?"), " ", h("span", { key: '1b33a99b0f72740380c869bfdee4ab656562b028' }, "Toggle this help")))))), this.isQuickLookOpen && (h("div", { key: '00db6f10e7905b7d70882985cc9089a6bbb4cfee', class: "list-quick-look-modal", onClick: () => this.isQuickLookOpen = false }, h("div", { key: '22bab4c4be5a1020ccfa34c7fee8f330d44d8bcd', class: "quick-look-content", onClick: e => e.stopPropagation() }, h("ui-icon", { key: '7c691ac455958af2f12d9ce764095b0aae950f70', name: "times", class: "close-look", onClick: () => this.isQuickLookOpen = false }), h("div", { key: 'c56f0449bfb3280b6dc7141bc14c91874f6ed35f', class: "look-header" }, h("h2", { key: '250cb1ecb5ebc771477659fbdcd83a27aee6145c' }, this.filteredItems[this.focusedIndex]?.label), h("span", { key: '1082b6cd8b3d2c56087e0ac9668e88932085f67d' }, this.filteredItems[this.focusedIndex]?.sublabel)), h("div", { key: '5258151eca6121d08a568a82b60b27c1055eb203', class: "look-body" }, h("p", { key: '496227a18a6a9b8aea97386e14544d6d66c0e3e8' }, "Comprehensive detail for Node ID: ", this.filteredItems[this.focusedIndex]?.value || 'N/A'), h("div", { key: 'ef427801b310f9ff61569c24b79046131f02b425', class: "look-stats" }, h("div", { key: '21f28568f90ba336e43f868b33bad2c9690cf19b', class: "l-stat" }, "Status: ", h("strong", { key: 'b05364c86b63383d5a3b1e2105a57564f36f90e0' }, this.filteredItems[this.focusedIndex]?.status || 'Idle')), h("div", { key: '9535c7091e299aa1a3c1c214cd6097024c8d304b', class: "l-stat" }, "Health: ", h("strong", { key: '0dd13ce8f148f8308a21054a78345ee61df47c36' }, this.filteredItems[this.focusedIndex]?.progress || 100, "%"))))))), h("div", { key: 'b995d870eed468e011dd91edd18b6527c7d1c72e', ref: el => this.listRef = el, class: listClasses, style: listStyle, role: "list", "aria-label": this.ariaLabel, "aria-busy": this.syncing ? 'true' : 'false', part: "list", onScroll: this.handleScroll, onMouseDown: this.handleLassoStart }, this.renderMinimap(), this.focusRingTop >= 0 && (h("div", { key: 'cb4547a1aab482125b7e80e6db56ec6a2ede865c', class: "list-focus-spring-ring", style: {
|
|
690
690
|
top: `${this.focusRingTop}px`,
|
|
691
691
|
height: `${this.focusRingHeight}px`
|
|
692
|
-
} })), this.lassoActive && (h("div", { key: '
|
|
692
|
+
} })), this.lassoActive && (h("div", { key: 'ec54df7225b07efc02cd87b5613c3ddb84e967d4', class: "list-lasso-box", style: {
|
|
693
693
|
left: `${Math.min(this.lassoStart.x, this.lassoEnd.x)}px`,
|
|
694
694
|
top: `${Math.min(this.lassoStart.y, this.lassoEnd.y)}px`,
|
|
695
695
|
width: `${Math.abs(this.lassoEnd.x - this.lassoStart.x)}px`,
|
|
696
696
|
height: `${Math.abs(this.lassoEnd.y - this.lassoStart.y)}px`
|
|
697
|
-
} })), this.renderContent()), this.renderPagination(), this.renderCommandPalette(), this.renderEKGWaveform(), this.renderConfetti(), this.showConfetti && h("div", { key: '
|
|
697
|
+
} })), this.renderContent()), this.renderPagination(), this.renderCommandPalette(), this.renderEKGWaveform(), this.renderConfetti(), this.showConfetti && h("div", { key: '2bf97fc32fb8863cb61df68a7bf152f66f2a5bdd', class: "a11y-sr-only", "aria-live": "assertive" }, "Industrial Batch Operation Completed Successfully"), this.syncing && h("div", { key: '955b2edcc60b8e6eeb1b35a0532956263ea3eb80', class: "a11y-sr-only", "aria-live": "polite" }, "Cluster data is currently synchronizing...")));
|
|
698
698
|
}
|
|
699
699
|
static get is() { return "ui-list"; }
|
|
700
700
|
static get encapsulation() { return "shadow"; }
|
|
@@ -818,6 +818,30 @@
|
|
|
818
818
|
margin-left: auto;
|
|
819
819
|
flex-shrink: 0;
|
|
820
820
|
}
|
|
821
|
+
.list-item-counter.counter-primary {
|
|
822
|
+
background: var(--color-primary, #10b981);
|
|
823
|
+
color: var(--text-standard, #ffffff);
|
|
824
|
+
}
|
|
825
|
+
.list-item-counter.counter-secondary {
|
|
826
|
+
background: var(--text-muted, #6b7280);
|
|
827
|
+
color: var(--text-standard, #ffffff);
|
|
828
|
+
}
|
|
829
|
+
.list-item-counter.counter-success {
|
|
830
|
+
background: var(--color-success, #3dcd58);
|
|
831
|
+
color: var(--text-standard, #ffffff);
|
|
832
|
+
}
|
|
833
|
+
.list-item-counter.counter-danger {
|
|
834
|
+
background: var(--color-danger, #ef4444);
|
|
835
|
+
color: var(--text-standard, #ffffff);
|
|
836
|
+
}
|
|
837
|
+
.list-item-counter.counter-warning {
|
|
838
|
+
background: var(--color-warning, #f59e0b);
|
|
839
|
+
color: var(--text-standard, #ffffff);
|
|
840
|
+
}
|
|
841
|
+
.list-item-counter.counter-info {
|
|
842
|
+
background: var(--color-info, #06b6d4);
|
|
843
|
+
color: var(--text-standard, #ffffff);
|
|
844
|
+
}
|
|
821
845
|
|
|
822
846
|
.list-item-right {
|
|
823
847
|
display: flex;
|
|
@@ -31,6 +31,7 @@ export class AppListItem {
|
|
|
31
31
|
badge = '';
|
|
32
32
|
badgeColor = 'default';
|
|
33
33
|
counter = '';
|
|
34
|
+
counterColor = 'success';
|
|
34
35
|
/** JSON string or array of tag objects */
|
|
35
36
|
tags = '';
|
|
36
37
|
/** Image URL for a square/landscape thumbnail */
|
|
@@ -474,23 +475,26 @@ export class AppListItem {
|
|
|
474
475
|
const paddingLeft = this.level * 24;
|
|
475
476
|
const parsedTags = this.parseTagsToItems();
|
|
476
477
|
const collaborators = typeof this.avatarGroup === 'string' ? JSON.parse(this.avatarGroup || '[]') : (this.avatarGroup || []);
|
|
477
|
-
return (h(Host, { key: '
|
|
478
|
+
return (h(Host, { key: '68703af536d1a333ea4729dde39a4b0a3a1a963a', onKeyDown: this.handleKeyDown, tabIndex: this.interactive && !this.disabled ? 0 : -1 }, h("div", { key: '9e02626ec81c7db9ce167cb5b32aaf4d4878bdde', class: containerClasses, onClick: this.handleClick, onContextMenu: this.handleContextMenu, onFocus: this.handleFocus, onBlur: this.handleBlur, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onMouseDown: () => {
|
|
478
479
|
this.longPressTimer = setTimeout(() => {
|
|
479
480
|
this.longPress.emit({ value: this.value });
|
|
480
481
|
}, this.longPressDelay);
|
|
481
482
|
}, onMouseUp: () => clearTimeout(this.longPressTimer), onTouchStart: this.handleTouchStart, onTouchMove: this.handleTouchMove, onTouchEnd: this.handleTouchEnd, tabindex: this.disabled ? -1 : 0, role: "listitem", "aria-label": this.a11yLabel || (this.skeleton ? 'Loading cluster node' : `${this.label}, status: ${this.status}, health: ${this.progress}%`), "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-haspopup": this.contextMenu ? 'menu' : undefined, "aria-expanded": this.contextMenuOpen ? 'true' : 'false', style: {
|
|
482
483
|
paddingLeft: `${paddingLeft + (this.level > 0 ? 32 : 16)}px`,
|
|
483
484
|
transform: `translateX(${this.swipeOffset}px)`
|
|
484
|
-
}, part: "list-item" }, this.priorityPulse && h("div", { key: '
|
|
485
|
+
}, part: "list-item" }, this.priorityPulse && h("div", { key: '29d6dd764bf04afdcf38425cdcd739585a2903af', class: "list-item-pulse" }), this.presence && this.presence.length > 0 && this.presence.map(p => (h("div", { class: `presence-halo presence-${p.color || 'blue'}`, title: `User ${p.id} active` }))), this.renderGhostLayer(), this.renderPresenceCursors(), this.swipeActions && this.swipeOffset !== 0 && (h("div", { key: 'b9d5129954d5021f5d47104d85557bb1006c2a28', class: "swipe-actions-container" }, this.swipeOffset > 0 && (h("div", { key: 'd94c942653b41cc7c404e5236d142cf392b3026e', class: "swipe-action-wrapper left" }, this.leftActions.length > 0 ? (this.leftActions.map(action => (h("div", { class: `swipe-action bg-${action.color}`, onClick: () => this.swipeAction.emit({ value: this.value, side: 'left', action: action.action }) }, h("ui-icon", { name: action.icon, library: "fontawesome" }))))) : (h("div", { class: `swipe-action left bg-${this.leftActionColor}` }, h("ui-icon", { name: this.leftActionIcon, library: "fontawesome" }))))), this.swipeOffset < 0 && (h("div", { key: 'ff0e3be9faefe1792b5bb5f2dac71639b8fc943b', class: "swipe-action-wrapper right" }, this.rightActions.length > 0 ? (this.rightActions.map(action => (h("div", { class: `swipe-action bg-${action.color}`, onClick: () => this.swipeAction.emit({ value: this.value, side: 'right', action: action.action }) }, h("ui-icon", { name: action.icon, library: "fontawesome" }))))) : (h("div", { class: `swipe-action right bg-${this.rightActionColor}` }, h("ui-icon", { name: this.rightActionIcon, library: "fontawesome" }))))))), this.skeleton && h("div", { key: '509fdfe2043cfa2c1584747a1cdff696e49e6e1c', class: "skeleton-pulse" }), this.showCheckbox && !this.skeleton && (h("div", { key: '3b94d917cda90a81674d30a01e058d7e1627cc15', class: "list-item-checkbox" }, h("ui-checkbox", { key: 'ed51e5443153fd04a454e785539f27c8d5d0d8fa', checked: this.checked, disabled: this.disabled, readonly: this.readonly, onCheckboxChange: (e) => this.handleCheckboxChange(e), size: "sm" }))), this.collapsible && !this.contextMenu && !this.skeleton && (h("ui-icon", { key: '40d4c58284448f55872a0d0a8fa6942bf5bf3d68', class: "collapse-icon", name: this.expanded ? 'chevron-down' : 'chevron-right', library: "fontawesome" })), this.avatarPosition === 'left' && (h("div", { key: '3a6d23758b12c51dc8b3b129a48a5ed4e4b03527', class: "list-item-left-media" }, this.userAvatar ? (h("div", { class: "list-item-avatar-container" }, h("ui-avatar", { class: { 'list-item-avatar': true, 'skeleton-circle': this.skeleton }, src: this.userAvatar, size: this.size === 'lg' ? 'md' : 'sm' }), this.status && !this.skeleton && (h("span", { class: `list-item-status status-${this.status} pos-${this.statusPosition}` })))) : this.image ? (h("div", { class: { 'list-item-image': true, 'skeleton-rect': this.skeleton } }, !this.skeleton && h("img", { src: this.image, alt: this.label }))) : this.icon ? (h("ui-icon", { class: "list-item-icon", name: this.icon, library: "fontawesome" })) : this.avatarGroup && this.avatarGroupPosition === 'media' ? (h("div", { class: "list-item-media-avatar-group" }, h("ui-avatar-group", { items: collaborators, size: "xs", spacing: "-12px", limit: 3 }))) : this.skeleton && (h("div", { class: "list-item-media-placeholder skeleton-circle" })))), h("div", { key: '7324255b937c72d9c0554551283752f5420873ad', class: "list-item-content" }, h("div", { key: '5228f2e36dc8dfd59846145283d92dfaddae02a1', class: "list-item-label-wrapper" }, this.showStar && !this.skeleton && (h("ui-icon", { key: '3be9af3d26463d813b16d72b64d50490c47f743c', class: { 'list-item-star-icon': true, 'is-starred': this.starred }, name: this.starred ? 'star' : 'star', library: "fontawesome", onClick: (e) => {
|
|
485
486
|
e.stopPropagation();
|
|
486
487
|
this.starred = !this.starred;
|
|
487
488
|
this.starToggle.emit({ value: this.value, starred: this.starred });
|
|
488
489
|
if (navigator.vibrate)
|
|
489
490
|
navigator.vibrate(20);
|
|
490
|
-
} })), h("span", { key: '
|
|
491
|
+
} })), h("span", { key: 'ce95f56be7c57cb22f18dbe29b563f23370c8ad4', class: { 'list-item-label': true, 'skeleton-text': this.skeleton } }, this.skeleton ? '' : this.renderLabel(this.label)), this.badge && !this.skeleton && (h("span", { key: 'a0f89fcb57de59bf532a08890e4320df97a20a8e', class: `list-item-badge badge-${this.badgeColor}` }, this.badge))), (this.sublabel || this.skeleton) && (h("div", { key: '3f7faa356828db1ae100e842817806c959df0793', class: "list-item-subline" }, h("span", { key: '8a44708f95a0fbc37e1cc423d7ec3ac1335013b3', class: { 'list-item-sublabel': true, 'skeleton-text': this.skeleton } }, this.skeleton ? '' : this.renderLabel(this.sublabel)), this.renderSparkline())), this.progress >= 0 && !this.skeleton && (h("div", { key: '88e4acf63cd5a2c41ed6a415dd6f507248b76932', class: "list-item-progress-container" }, h("div", { key: '47f6768a5fd86b2ab0cdc99c8f8d190722614cc1', class: "list-item-progress-bar", style: { width: `${this.progress}%` } }), h("span", { key: 'cccb5de1b94b9e4d5bc67404fa99cfb9da977ad2', class: "list-item-progress-text" }, this.progress, "%"))), this.avatarGroup && this.avatarGroupPosition === 'content' && !this.skeleton && (h("div", { key: 'af82b569419d754fad9c69e2897edec209021098', class: "list-item-collaborators" }, h("ui-avatar-group", { key: '6c9b9fe703202462dccf061df0b4348dcf6f6cf6', items: collaborators, size: "xs", spacing: "-8px" }))), parsedTags.length > 0 && !this.skeleton && (h("div", { key: '9d976bb0110f663b72bcc6043237ecc73df8b72a', class: "list-item-tags" }, h("ui-tag-group", { key: '96dcf37a09327a14126ccbf6076ab286a607aa02', spacing: "4px" }, parsedTags.map((tag) => (h("ui-tag", { label: typeof tag === 'string' ? tag : tag.label, color: tag.color || 'default', variant: tag.variant || 'light', size: "xs", shape: tag.shape || 'pill', icon: tag.icon }))))))), h("slot", { key: '09bf74616891faad73651171d6fe26c75abe3445' }), this.avatarPosition === 'right' && (h("div", { key: '834d8db05fa7e4f716ec8d7e68666d38de4f6cef', class: "list-item-right-media" }, this.userAvatar ? (h("div", { class: "list-item-avatar-container" }, h("ui-avatar", { class: { 'list-item-avatar': true, 'skeleton-circle': this.skeleton }, src: this.userAvatar, size: this.size === 'lg' ? 'md' : 'sm' }), this.status && !this.skeleton && (h("span", { class: `list-item-status status-${this.status} pos-${this.statusPosition}` })))) : this.image ? (h("div", { class: { 'list-item-image': true, 'skeleton-rect': this.skeleton } }, !this.skeleton && h("img", { src: this.image, alt: this.label }))) : this.icon ? (h("ui-icon", { class: "list-item-icon", name: this.icon, library: "fontawesome" })) : this.avatarGroup && this.avatarGroupPosition === 'media' ? (h("div", { class: "list-item-media-avatar-group" }, h("ui-avatar-group", { items: collaborators, size: "xs", spacing: "-12px", limit: 3 }))) : null)), this.avatarGroup && this.avatarGroupPosition === 'right' && !this.skeleton && (h("div", { key: '551ca783c0367ad8dbc84b24f6314c6887b041e7', class: "list-item-right-collaborators" }, h("ui-avatar-group", { key: 'f40c83478abf51489bedf99286938cd9a47d6dbe', items: collaborators, size: "xs", spacing: "-8px" }))), this.counter !== '' && !this.skeleton && (h("span", { key: '00aa9fe0ac7c99d4bfa0b1c4624d10e6894c57ca', class: {
|
|
492
|
+
'list-item-counter': true,
|
|
493
|
+
[`counter-${this.counterColor}`]: this.counterColor !== 'default'
|
|
494
|
+
}, part: "counter" }, this.counter)), this.locked && !this.skeleton && (h("ui-icon", { key: 'c80b721608132dea939c6b8f93f631b488aefa7f', class: "list-item-lock-icon", name: "lock", library: "fontawesome" })), this.showMenu && !this.skeleton && (h("div", { key: '1b518b506020c79e6627c16934c050a48aabe0d2', class: "list-item-menu", onClick: (e) => { e.stopPropagation(); this.toggleContextMenu(e); } }, h("ui-icon", { key: '01f76b775711b2e742255cbdd2b3dc15b4b2730f', name: "ellipsis-v", library: "fontawesome" })))), this.contextMenuOpen && (h("div", { key: '320e1f36c5d48e6aec081d1504a30519f5a7e05e', ref: el => this.contextMenuRef = el, class: "list-item-context-menu-container", style: {
|
|
491
495
|
top: `${this.contextMenuY}px`,
|
|
492
496
|
left: `${this.contextMenuX}px`
|
|
493
|
-
} }, h("slot", { key: '
|
|
497
|
+
} }, h("slot", { key: '1825b38bd66e89e24ce8cc4178d68503acfb984a', name: "context-menu" }, h("div", { key: '185c97398e040eb1a453357515c3f35613f8b212', class: "context-menu-default" }, h("div", { key: '7c42cfd7239776e53f964db28d929171c67eea90', class: "context-menu-item", onClick: () => this.closeContextMenu() }, h("ui-icon", { key: 'e6c186b90b24b646b6676d9c6a620bef8abd3e36', name: "info-circle", library: "fontawesome" }), h("span", { key: 'bc804dee80b4c031e3ab1ca2a8008a4ac892f1bd' }, "View Details")), h("div", { key: 'edc2215ead4093d378a1aa86145dcf2de45880ac', class: "context-menu-item", onClick: () => this.closeContextMenu() }, h("ui-icon", { key: '1e0c1666d0a81a8bf79836428ec4dd64193779c9', name: "edit", library: "fontawesome" }), h("span", { key: '8805f4641c23e9dd97b1aa7fa1b62cb0be5ac1ee' }, "Edit Item")), h("div", { key: '8c6076bbda9ffe77a6ed2d17d63542e9c945d316', class: "context-menu-divider" }), h("div", { key: 'b75413de809407021aa18bb45b77904a19434013', class: "context-menu-item danger", onClick: () => this.closeContextMenu() }, h("ui-icon", { key: 'bac87420c04683ec95c8a45c292348dfe2c1009c', name: "trash", library: "fontawesome" }), h("span", { key: '181d578e7817cf822e4a8c80b824cbf94d35240f' }, "Delete Node")))))), this.expandable && (h("div", { key: '081ffb4a8b6786ee42ed19d0506ac11b0108661a', class: { 'list-item-detail-panel': true, 'is-expanded': this.expandedDetail } }, h("slot", { key: '120fb4d707d9e39474c31cb3d8d9ed84a8bad003', name: "detail" })))));
|
|
494
498
|
}
|
|
495
499
|
static get is() { return "ui-list-item"; }
|
|
496
500
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1114,6 +1118,33 @@ export class AppListItem {
|
|
|
1114
1118
|
"attribute": "counter",
|
|
1115
1119
|
"defaultValue": "''"
|
|
1116
1120
|
},
|
|
1121
|
+
"counterColor": {
|
|
1122
|
+
"type": "string",
|
|
1123
|
+
"mutable": false,
|
|
1124
|
+
"complexType": {
|
|
1125
|
+
"original": "StatusColor",
|
|
1126
|
+
"resolved": "\"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\"",
|
|
1127
|
+
"references": {
|
|
1128
|
+
"StatusColor": {
|
|
1129
|
+
"location": "import",
|
|
1130
|
+
"path": "../../types/common.type",
|
|
1131
|
+
"id": "src/types/common.type.d.ts::StatusColor",
|
|
1132
|
+
"referenceLocation": "StatusColor"
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
"required": false,
|
|
1137
|
+
"optional": false,
|
|
1138
|
+
"docs": {
|
|
1139
|
+
"tags": [],
|
|
1140
|
+
"text": ""
|
|
1141
|
+
},
|
|
1142
|
+
"getter": false,
|
|
1143
|
+
"setter": false,
|
|
1144
|
+
"reflect": false,
|
|
1145
|
+
"attribute": "counter-color",
|
|
1146
|
+
"defaultValue": "'success'"
|
|
1147
|
+
},
|
|
1117
1148
|
"tags": {
|
|
1118
1149
|
"type": "string",
|
|
1119
1150
|
"mutable": false,
|