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
|
@@ -149,6 +149,30 @@ export class Progress {
|
|
|
149
149
|
* Enable glassmorphism effect for the trail
|
|
150
150
|
*/
|
|
151
151
|
glass = false;
|
|
152
|
+
/**
|
|
153
|
+
* Status-bar variant: shows a lifecycle label (Not Started / Running / Interrupted / Completed)
|
|
154
|
+
* above the progress bar derived automatically from percent + status.
|
|
155
|
+
*/
|
|
156
|
+
statusBar = false;
|
|
157
|
+
/**
|
|
158
|
+
* Alignment of the status badge inside the status bar header.
|
|
159
|
+
* 'left' (default) — badge left, percent right.
|
|
160
|
+
* 'center' — badge and percent centered together.
|
|
161
|
+
* 'right' — badge right, percent left.
|
|
162
|
+
*/
|
|
163
|
+
statusBarAlign = 'left';
|
|
164
|
+
/**
|
|
165
|
+
* Position of the status chip/badge in status-bar mode.
|
|
166
|
+
* 'inside' (default) — inside the progress bar trail (requires minimum height of 32px).
|
|
167
|
+
* 'top' — above the progress bar (allows smaller progress bar heights).
|
|
168
|
+
*/
|
|
169
|
+
statusBarPosition = 'inside';
|
|
170
|
+
/**
|
|
171
|
+
* Custom text labels for each status-bar state.
|
|
172
|
+
* Pass any subset to override — unset keys keep their defaults.
|
|
173
|
+
* e.g. { notStarted: 'Pending', running: 'In Progress', interrupted: 'Paused', completed: 'Done' }
|
|
174
|
+
*/
|
|
175
|
+
statusLabels = {};
|
|
152
176
|
/**
|
|
153
177
|
* Enable dynamic glow effect based on status
|
|
154
178
|
*/
|
|
@@ -196,6 +220,8 @@ export class Progress {
|
|
|
196
220
|
if (typeof this.multiProgress === 'string') {
|
|
197
221
|
this.multiProgress = JSON.parse(this.multiProgress);
|
|
198
222
|
}
|
|
223
|
+
if (typeof this.statusLabels === 'string')
|
|
224
|
+
this.statusLabels = JSON.parse(this.statusLabels);
|
|
199
225
|
}
|
|
200
226
|
catch (e) {
|
|
201
227
|
console.warn('Failed to parse complex progress prop', e);
|
|
@@ -211,6 +237,9 @@ export class Progress {
|
|
|
211
237
|
handleStrokeColorChange() {
|
|
212
238
|
this.normalizeProps();
|
|
213
239
|
}
|
|
240
|
+
handleStatusChange(newStatus) {
|
|
241
|
+
this.currentStatus = newStatus;
|
|
242
|
+
}
|
|
214
243
|
applyThresholds(val) {
|
|
215
244
|
if (!this.thresholds.length)
|
|
216
245
|
return;
|
|
@@ -294,16 +323,54 @@ export class Progress {
|
|
|
294
323
|
}
|
|
295
324
|
return nodes;
|
|
296
325
|
}
|
|
326
|
+
getStatusInfo() {
|
|
327
|
+
const lbl = this.statusLabels || {};
|
|
328
|
+
if (this.currentStatus === 'interrupted') {
|
|
329
|
+
return { label: lbl.interrupted ?? 'Interrupted', cssClass: 'interrupted', iconName: 'ban' };
|
|
330
|
+
}
|
|
331
|
+
if (this.animatedPercent >= 100 || this.currentStatus === 'completed') {
|
|
332
|
+
return { label: lbl.completed ?? 'Completed', cssClass: 'completed', iconName: 'check-circle' };
|
|
333
|
+
}
|
|
334
|
+
if (this.animatedPercent <= 0) {
|
|
335
|
+
return { label: lbl.notStarted ?? 'Not Started', cssClass: 'not-started', iconName: 'circle' };
|
|
336
|
+
}
|
|
337
|
+
return { label: lbl.running ?? 'Running', cssClass: 'running', iconName: 'loader' };
|
|
338
|
+
}
|
|
339
|
+
renderStatusBarChip(isOnTop = false) {
|
|
340
|
+
const { label, cssClass, iconName } = this.getStatusInfo();
|
|
341
|
+
const pct = Number(this.animatedPercent.toFixed(this.decimalPrecision));
|
|
342
|
+
let style = {};
|
|
343
|
+
if (!isOnTop) {
|
|
344
|
+
style = { position: 'absolute', top: '50%', transform: 'translateY(-50%)', zIndex: '2' };
|
|
345
|
+
if (this.statusBarAlign === 'right') {
|
|
346
|
+
style.right = '8px';
|
|
347
|
+
}
|
|
348
|
+
else if (this.statusBarAlign === 'center') {
|
|
349
|
+
style.left = '50%';
|
|
350
|
+
style.transform = 'translate(-50%, -50%)';
|
|
351
|
+
}
|
|
352
|
+
else {
|
|
353
|
+
style.left = '8px';
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
return (h("div", { class: `progress-status-chip progress-status-chip--${cssClass}`, style: style }, h("ui-icon", { name: iconName, library: "lucide" }), h("span", null, label), h("span", { "aria-hidden": "true", style: { opacity: '0.45', margin: '0 1px' } }, "\u00B7"), h("span", null, pct, "%")));
|
|
357
|
+
}
|
|
297
358
|
getStrokeColor() {
|
|
298
|
-
if (this.currentStatus === 'success') {
|
|
359
|
+
if (this.currentStatus === 'success' || this.currentStatus === 'completed') {
|
|
299
360
|
return '#52c41a';
|
|
300
361
|
}
|
|
301
|
-
if (this.currentStatus === 'exception' || this.currentStatus === 'danger') {
|
|
362
|
+
if (this.currentStatus === 'exception' || this.currentStatus === 'danger' || this.currentStatus === 'interrupted') {
|
|
302
363
|
return '#ff4d4f';
|
|
303
364
|
}
|
|
304
365
|
if (this.currentStatus === 'warning') {
|
|
305
366
|
return '#faad14';
|
|
306
367
|
}
|
|
368
|
+
if (this.currentStatus === 'empty') {
|
|
369
|
+
return '#d9d9d9';
|
|
370
|
+
}
|
|
371
|
+
if (this.currentStatus === 'running') {
|
|
372
|
+
return '#1890ff';
|
|
373
|
+
}
|
|
307
374
|
const hasGradient = this.gradient || (typeof this.strokeColor === 'object' && this.strokeColor !== null);
|
|
308
375
|
if (hasGradient) {
|
|
309
376
|
return `url(#${this.gradientId})`;
|
|
@@ -335,27 +402,34 @@ export class Progress {
|
|
|
335
402
|
}
|
|
336
403
|
backgroundStyle = `linear-gradient(${direction}, ${fromColor}, ${toColor})`;
|
|
337
404
|
}
|
|
405
|
+
const showStatusOnTop = this.statusBar && this.statusBarPosition === 'top';
|
|
406
|
+
// When status-bar chip is active and inside, ensure the trail is at least 32px tall so the chip fits
|
|
407
|
+
const effectiveStrokeWidth = (this.statusBar && this.statusBarPosition === 'inside' && this.orientation !== 'vertical')
|
|
408
|
+
? Math.max(this.strokeWidth, 32) : this.strokeWidth;
|
|
338
409
|
const progressStyle = {
|
|
339
410
|
[this.orientation === 'vertical' ? 'height' : 'width']: this.indeterminate ? '100%' : `${Math.min(this.animatedPercent, 100)}%`,
|
|
340
411
|
[this.orientation === 'vertical' ? 'width' : 'height']: '100%',
|
|
341
|
-
borderRadius: this.strokeLinecap === 'round' ? `${
|
|
412
|
+
borderRadius: this.strokeLinecap === 'round' ? `${effectiveStrokeWidth}px` : '0',
|
|
342
413
|
background: backgroundStyle,
|
|
414
|
+
color: strokeColor,
|
|
343
415
|
...(this.orientation === 'vertical' ? { position: 'absolute', bottom: '0', left: '0' } : {})
|
|
344
416
|
};
|
|
345
417
|
const trailStyle = {
|
|
346
|
-
[this.orientation === 'vertical' ? 'width' : 'height']: `${
|
|
418
|
+
[this.orientation === 'vertical' ? 'width' : 'height']: `${effectiveStrokeWidth}px`,
|
|
347
419
|
[this.orientation === 'vertical' ? 'height' : 'width']: this.orientation === 'vertical'
|
|
348
420
|
? (typeof this.height === 'number' ? `${this.height}px` : this.height)
|
|
349
421
|
: (typeof this.width === 'number' ? `${this.width}px` : this.width),
|
|
350
|
-
borderRadius: this.strokeLinecap === 'round' ? `${
|
|
422
|
+
borderRadius: this.strokeLinecap === 'round' ? `${effectiveStrokeWidth}px` : '0',
|
|
351
423
|
background: this.trailColor,
|
|
352
424
|
cursor: this.interactive ? 'pointer' : 'default',
|
|
353
|
-
flex: '1'
|
|
425
|
+
flex: showStatusOnTop ? 'none' : '1'
|
|
354
426
|
};
|
|
355
427
|
return (h("div", { class: {
|
|
356
428
|
'progress-line-wrapper': true,
|
|
429
|
+
'progress-status-bar': this.statusBar,
|
|
430
|
+
'progress-status-bar--top': showStatusOnTop,
|
|
357
431
|
[`progress-orient-${this.orientation}`]: true
|
|
358
|
-
} }, this.labelPosition === 'top' && this.showInfo && this.renderProgressInfo(), h("div", { class: "progress-line-trail", style: trailStyle, onMouseDown: this.handleInteraction, onTouchStart: this.handleInteraction }, this.vitality && h("div", { class: "progress-vitality-pulse" }), this.renderTicks(), this.showBuffer && this.buffer > 0 && (h("div", { class: "progress-buffer-bar", style: {
|
|
432
|
+
} }, showStatusOnTop && (h("div", { class: `progress-status-header progress-status-header--${this.statusBarAlign}` }, this.renderStatusBarChip(true))), !this.statusBar && this.labelPosition === 'top' && this.showInfo && this.renderProgressInfo(), h("div", { class: "progress-line-trail", style: trailStyle, onMouseDown: this.handleInteraction, onTouchStart: this.handleInteraction }, this.statusBar && this.statusBarPosition === 'inside' && this.renderStatusBarChip(false), this.vitality && h("div", { class: "progress-vitality-pulse" }), this.renderTicks(), this.showBuffer && this.buffer > 0 && (h("div", { class: "progress-buffer-bar", style: {
|
|
359
433
|
[this.orientation === 'vertical' ? 'height' : 'width']: `${Math.min(this.buffer, 100)}%`,
|
|
360
434
|
[this.orientation === 'vertical' ? 'width' : 'height']: `${this.strokeWidth}px`,
|
|
361
435
|
background: `${strokeColor}33`,
|
|
@@ -371,7 +445,7 @@ export class Progress {
|
|
|
371
445
|
[this.orientation === 'vertical' ? 'height' : 'width']: `${((this.success.percent ?? 0) / this.animatedPercent) * 100}%`,
|
|
372
446
|
background: this.success.strokeColor || '#52c41a',
|
|
373
447
|
...(this.orientation === 'vertical' ? { position: 'absolute', bottom: '0', left: '0' } : {})
|
|
374
|
-
} }))), this.peakMarker > 0 && (h("div", { class: "progress-peak-marker", style: { [this.orientation === 'vertical' ? 'bottom' : 'left']: `${this.peakMarker}%` }, title: `Session Peak: ${this.peakMarker}%` })), this.milestones.map(milestone => (h("div", { class: "milestone-marker", style: { [this.orientation === 'vertical' ? 'bottom' : 'left']: `${milestone.percent}%` }, title: milestone.label }, milestone.icon ? h("ui-icon", { name: milestone.icon.replace(/^fa[sb]? fa-/, ''), library: "fontawesome" }) : h("div", { class: "milestone-dot" }))))), this.multiProgress.length > 0 && this.renderMultiProgress(), this.labelPosition !== 'top' && this.showInfo && this.renderProgressInfo(), this.showTimeEstimate && this.estimatedTime > 0 && this.renderTimeEstimate(), this.showPauseButton && this.renderPauseButton()));
|
|
448
|
+
} }))), this.peakMarker > 0 && (h("div", { class: "progress-peak-marker", style: { [this.orientation === 'vertical' ? 'bottom' : 'left']: `${this.peakMarker}%` }, title: `Session Peak: ${this.peakMarker}%` })), this.milestones.map(milestone => (h("div", { class: "milestone-marker", style: { [this.orientation === 'vertical' ? 'bottom' : 'left']: `${milestone.percent}%` }, title: milestone.label }, milestone.icon ? h("ui-icon", { name: milestone.icon.replace(/^fa[sb]? fa-/, ''), library: "fontawesome" }) : h("div", { class: "milestone-dot" }))))), this.multiProgress.length > 0 && this.renderMultiProgress(), !this.statusBar && this.labelPosition !== 'top' && this.showInfo && this.renderProgressInfo(), this.showTimeEstimate && this.estimatedTime > 0 && this.renderTimeEstimate(), this.showPauseButton && this.renderPauseButton()));
|
|
375
449
|
}
|
|
376
450
|
renderMultiProgress() {
|
|
377
451
|
return (h("div", { class: "multi-progress-container", style: { display: 'flex', flexDirection: 'column', gap: '8px', marginTop: '12px' } }, this.multiProgress.map((prog) => (h("div", { class: "multi-progress-item", style: { display: 'flex', alignItems: 'center', gap: '12px' } }, h("div", { class: "multi-progress-bar-wrap", style: { flex: '1', height: `${this.strokeWidth}px`, background: this.trailColor, borderRadius: '4px', overflow: 'hidden' } }, h("div", { class: "multi-progress-bar", style: {
|
|
@@ -433,7 +507,7 @@ export class Progress {
|
|
|
433
507
|
const isGradientProp = typeof this.strokeColor === 'object' && this.strokeColor !== null;
|
|
434
508
|
const gradientObj2 = isGradientProp ? this.strokeColor : null;
|
|
435
509
|
const hasGradient = this.gradient || isGradientProp;
|
|
436
|
-
return (h("div", { class: "progress-circle-wrapper", style: { width: `${size}px`, height: `${size}px` } }, h("svg", { width: size, height: size }, hasGradient && (h("defs", null, h("linearGradient", { id: this.gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "100%" }, h("stop", { offset: "0%", "stop-color": gradientObj2 ? (gradientObj2.from || strokeColor) : strokeColor }), h("stop", { offset: "100%", "stop-color": gradientObj2 ? (gradientObj2.to || '#52c41a') : (this.status === 'normal' ? '#69c0ff' : strokeColor) })))), h("path", { d: pathString, stroke: this.trailColor, "stroke-width": strokeWidth, fill: "none", "stroke-linecap": this.strokeLinecap }), h("path", { d: pathString, stroke: strokeColor, "stroke-width": strokeWidth, fill: "none", "stroke-linecap": this.strokeLinecap, "stroke-dasharray": circumference, "stroke-dashoffset": offset, class: {
|
|
510
|
+
return (h("div", { class: "progress-circle-wrapper", style: { width: `${size}px`, height: `${size}px` } }, h("svg", { width: size, height: size }, hasGradient && (h("defs", null, h("linearGradient", { id: this.gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "100%" }, h("stop", { offset: "0%", "stop-color": gradientObj2 ? (gradientObj2.from || strokeColor) : strokeColor }), h("stop", { offset: "100%", "stop-color": gradientObj2 ? (gradientObj2.to || '#52c41a') : (this.status === 'normal' ? '#69c0ff' : strokeColor) })))), h("path", { d: pathString, stroke: this.trailColor, "stroke-width": strokeWidth, fill: "none", "stroke-linecap": this.strokeLinecap }), h("path", { d: pathString, stroke: strokeColor, "stroke-width": strokeWidth, fill: "none", "stroke-linecap": this.strokeLinecap, "stroke-dasharray": circumference, "stroke-dashoffset": offset, style: { color: strokeColor }, class: {
|
|
437
511
|
'progress-circle-path': true,
|
|
438
512
|
'progress-indeterminate': this.indeterminate,
|
|
439
513
|
'progress-liquid': this.liquid
|
|
@@ -457,28 +531,35 @@ export class Progress {
|
|
|
457
531
|
const text = this.dataLabels || this.format(roundedPercent);
|
|
458
532
|
const infoStyle = this.percentageColor ? { color: this.percentageColor } : {};
|
|
459
533
|
const iconEl = this.icon ? h("ui-icon", { name: this.icon, library: this.iconLibrary, style: { marginRight: '6px' } }) : null;
|
|
460
|
-
if (this.
|
|
461
|
-
return (h("span", { class: "progress-text", style: infoStyle }, iconEl || h("ui-icon", { name: "check-circle", library: "fontawesome" }), this.labelPosition !== 'inside' && text));
|
|
534
|
+
if (this.currentStatus === 'success' || this.currentStatus === 'completed') {
|
|
535
|
+
return (h("span", { class: "progress-text progress-text-success", style: infoStyle }, iconEl || h("ui-icon", { name: "check-circle", library: "fontawesome" }), this.labelPosition !== 'inside' && (this.dataLabels || (this.currentStatus === 'completed' ? 'Completed' : text))));
|
|
462
536
|
}
|
|
463
|
-
if (this.
|
|
464
|
-
return (h("span", { class: "progress-text progress-text-exception", style: infoStyle }, iconEl || h("ui-icon", { name: "exclamation-triangle", library: "fontawesome" }), this.labelPosition !== 'inside' && text));
|
|
537
|
+
if (this.currentStatus === 'exception' || this.currentStatus === 'danger' || this.currentStatus === 'interrupted') {
|
|
538
|
+
return (h("span", { class: "progress-text progress-text-exception", style: infoStyle }, iconEl || h("ui-icon", { name: "exclamation-triangle", library: "fontawesome" }), this.labelPosition !== 'inside' && (this.dataLabels || (this.currentStatus === 'interrupted' ? 'Interrupted' : text))));
|
|
465
539
|
}
|
|
466
|
-
if (this.
|
|
540
|
+
if (this.currentStatus === 'warning') {
|
|
467
541
|
return (h("span", { class: "progress-text progress-text-warning", style: infoStyle }, iconEl || h("ui-icon", { name: "exclamation-circle", library: "fontawesome" }), text));
|
|
468
542
|
}
|
|
543
|
+
if (this.currentStatus === 'empty') {
|
|
544
|
+
return (h("span", { class: "progress-text progress-text-empty", style: infoStyle }, iconEl || h("ui-icon", { name: "circle", library: "fontawesome", style: { opacity: 0.4 } }), this.labelPosition !== 'inside' && (this.dataLabels || 'Empty')));
|
|
545
|
+
}
|
|
546
|
+
if (this.currentStatus === 'running') {
|
|
547
|
+
return (h("span", { class: "progress-text progress-text-running", style: infoStyle }, iconEl || h("ui-icon", { name: "sync", library: "fontawesome", class: "fa-spin", style: { color: '#1890ff' } }), this.labelPosition !== 'inside' && (this.dataLabels || `Running (${text})`)));
|
|
548
|
+
}
|
|
469
549
|
return (h("span", { class: "progress-text", style: infoStyle }, iconEl, text));
|
|
470
550
|
}
|
|
471
551
|
render() {
|
|
472
552
|
const progressClass = {
|
|
473
553
|
'progress': true,
|
|
474
554
|
[`progress-${this.type}`]: true,
|
|
475
|
-
'progress-active': this.status === 'active' || this.indeterminate,
|
|
555
|
+
'progress-active': this.status === 'active' || this.currentStatus === 'running' || this.indeterminate,
|
|
476
556
|
[`progress-${this.size}`]: this.type !== 'line',
|
|
477
557
|
'progress-indeterminate': this.indeterminate,
|
|
478
558
|
'progress-liquid': this.liquid,
|
|
479
559
|
'progress-glass': this.glass,
|
|
480
560
|
'progress-glow': this.glow,
|
|
481
561
|
'progress-skeleton': this.skeleton,
|
|
562
|
+
[`progress-${this.currentStatus}`]: true,
|
|
482
563
|
};
|
|
483
564
|
let content;
|
|
484
565
|
if (this.steps > 0 && this.type === 'line') {
|
|
@@ -491,7 +572,7 @@ export class Progress {
|
|
|
491
572
|
content = this.renderCircleProgress();
|
|
492
573
|
}
|
|
493
574
|
const roundedPercent = Number(this.animatedPercent.toFixed(this.decimalPrecision));
|
|
494
|
-
return (h(Host, { key: '
|
|
575
|
+
return (h(Host, { key: '21dcb1b89582338f185767a4301e4cf435c1842c', role: "progressbar", "aria-valuenow": roundedPercent, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": this.dataLabels || `Progress: ${this.percent}%`, style: this.orientation === 'vertical' ? { height: typeof this.height === 'number' ? `${this.height}px` : this.height } : {} }, h("div", { key: '7aebc6dc0cb2804300c171598c47699d8c8fabe8', class: progressClass }, content, (this.liquid || this.type === 'industrial') && (h("svg", { key: '7a70f4821a0752d1106107e9fa9618cf2b4de889', style: { position: 'absolute', width: '0', height: '0' } }, h("filter", { key: 'a899fcbc62ef322086eee654f24d0bf8b1cf83a6', id: "liquid-filter" }, h("feGaussianBlur", { key: '5b8dc993e949a4cddd661d3b45b9c44fe25e4f4d', in: "SourceGraphic", stdDeviation: "10", result: "blur" }), h("feColorMatrix", { key: '55da24d44b6cb35cd28e0f301d3c8316e3554e8d', in: "blur", mode: "matrix", values: "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7", result: "goo" }), h("feBlend", { key: 'e59ec2eda298c0796be6b28a1b2afd9a6dadab63', in: "SourceGraphic", in2: "goo" })))))));
|
|
495
576
|
}
|
|
496
577
|
static get is() { return "ui-progress"; }
|
|
497
578
|
static get encapsulation() { return "shadow"; }
|
|
@@ -551,8 +632,8 @@ export class Progress {
|
|
|
551
632
|
"type": "string",
|
|
552
633
|
"mutable": false,
|
|
553
634
|
"complexType": {
|
|
554
|
-
"original": "'success' | 'exception' | 'normal' | 'active' | 'warning' | 'danger'",
|
|
555
|
-
"resolved": "\"active\" | \"danger\" | \"exception\" | \"normal\" | \"success\" | \"warning\"",
|
|
635
|
+
"original": "'success' | 'exception' | 'normal' | 'active' | 'warning' | 'danger' | 'empty' | 'running' | 'completed' | 'interrupted'",
|
|
636
|
+
"resolved": "\"active\" | \"completed\" | \"danger\" | \"empty\" | \"exception\" | \"interrupted\" | \"normal\" | \"running\" | \"success\" | \"warning\"",
|
|
556
637
|
"references": {}
|
|
557
638
|
},
|
|
558
639
|
"required": false,
|
|
@@ -1259,6 +1340,84 @@ export class Progress {
|
|
|
1259
1340
|
"attribute": "glass",
|
|
1260
1341
|
"defaultValue": "false"
|
|
1261
1342
|
},
|
|
1343
|
+
"statusBar": {
|
|
1344
|
+
"type": "boolean",
|
|
1345
|
+
"mutable": false,
|
|
1346
|
+
"complexType": {
|
|
1347
|
+
"original": "boolean",
|
|
1348
|
+
"resolved": "boolean",
|
|
1349
|
+
"references": {}
|
|
1350
|
+
},
|
|
1351
|
+
"required": false,
|
|
1352
|
+
"optional": false,
|
|
1353
|
+
"docs": {
|
|
1354
|
+
"tags": [],
|
|
1355
|
+
"text": "Status-bar variant: shows a lifecycle label (Not Started / Running / Interrupted / Completed)\r\nabove the progress bar derived automatically from percent + status."
|
|
1356
|
+
},
|
|
1357
|
+
"getter": false,
|
|
1358
|
+
"setter": false,
|
|
1359
|
+
"reflect": false,
|
|
1360
|
+
"attribute": "status-bar",
|
|
1361
|
+
"defaultValue": "false"
|
|
1362
|
+
},
|
|
1363
|
+
"statusBarAlign": {
|
|
1364
|
+
"type": "string",
|
|
1365
|
+
"mutable": false,
|
|
1366
|
+
"complexType": {
|
|
1367
|
+
"original": "'left' | 'center' | 'right'",
|
|
1368
|
+
"resolved": "\"center\" | \"left\" | \"right\"",
|
|
1369
|
+
"references": {}
|
|
1370
|
+
},
|
|
1371
|
+
"required": false,
|
|
1372
|
+
"optional": false,
|
|
1373
|
+
"docs": {
|
|
1374
|
+
"tags": [],
|
|
1375
|
+
"text": "Alignment of the status badge inside the status bar header.\r\n'left' (default) \u2014 badge left, percent right.\r\n'center' \u2014 badge and percent centered together.\r\n'right' \u2014 badge right, percent left."
|
|
1376
|
+
},
|
|
1377
|
+
"getter": false,
|
|
1378
|
+
"setter": false,
|
|
1379
|
+
"reflect": false,
|
|
1380
|
+
"attribute": "status-bar-align",
|
|
1381
|
+
"defaultValue": "'left'"
|
|
1382
|
+
},
|
|
1383
|
+
"statusBarPosition": {
|
|
1384
|
+
"type": "string",
|
|
1385
|
+
"mutable": false,
|
|
1386
|
+
"complexType": {
|
|
1387
|
+
"original": "'inside' | 'top'",
|
|
1388
|
+
"resolved": "\"inside\" | \"top\"",
|
|
1389
|
+
"references": {}
|
|
1390
|
+
},
|
|
1391
|
+
"required": false,
|
|
1392
|
+
"optional": false,
|
|
1393
|
+
"docs": {
|
|
1394
|
+
"tags": [],
|
|
1395
|
+
"text": "Position of the status chip/badge in status-bar mode.\r\n'inside' (default) \u2014 inside the progress bar trail (requires minimum height of 32px).\r\n'top' \u2014 above the progress bar (allows smaller progress bar heights)."
|
|
1396
|
+
},
|
|
1397
|
+
"getter": false,
|
|
1398
|
+
"setter": false,
|
|
1399
|
+
"reflect": false,
|
|
1400
|
+
"attribute": "status-bar-position",
|
|
1401
|
+
"defaultValue": "'inside'"
|
|
1402
|
+
},
|
|
1403
|
+
"statusLabels": {
|
|
1404
|
+
"type": "unknown",
|
|
1405
|
+
"mutable": true,
|
|
1406
|
+
"complexType": {
|
|
1407
|
+
"original": "{\r\n notStarted?: string;\r\n running?: string;\r\n interrupted?: string;\r\n completed?: string;\r\n }",
|
|
1408
|
+
"resolved": "{ notStarted?: string; running?: string; interrupted?: string; completed?: string; }",
|
|
1409
|
+
"references": {}
|
|
1410
|
+
},
|
|
1411
|
+
"required": false,
|
|
1412
|
+
"optional": false,
|
|
1413
|
+
"docs": {
|
|
1414
|
+
"tags": [],
|
|
1415
|
+
"text": "Custom text labels for each status-bar state.\r\nPass any subset to override \u2014 unset keys keep their defaults.\r\ne.g. { notStarted: 'Pending', running: 'In Progress', interrupted: 'Paused', completed: 'Done' }"
|
|
1416
|
+
},
|
|
1417
|
+
"getter": false,
|
|
1418
|
+
"setter": false,
|
|
1419
|
+
"defaultValue": "{}"
|
|
1420
|
+
},
|
|
1262
1421
|
"glow": {
|
|
1263
1422
|
"type": "boolean",
|
|
1264
1423
|
"mutable": false,
|
|
@@ -1409,6 +1568,9 @@ export class Progress {
|
|
|
1409
1568
|
}, {
|
|
1410
1569
|
"propName": "strokeColor",
|
|
1411
1570
|
"methodName": "handleStrokeColorChange"
|
|
1571
|
+
}, {
|
|
1572
|
+
"propName": "status",
|
|
1573
|
+
"methodName": "handleStatusChange"
|
|
1412
1574
|
}];
|
|
1413
1575
|
}
|
|
1414
1576
|
}
|
|
@@ -132,8 +132,8 @@
|
|
|
132
132
|
overflow: hidden;
|
|
133
133
|
--ui-radio-border: var(--border-strong, #94a3b8);
|
|
134
134
|
--ui-radio-bg: var(--bg-primary, #ffffff);
|
|
135
|
-
--ui-radio-label: var(--label-color,
|
|
136
|
-
--ui-radio-description: var(--label-subtitle-color,
|
|
135
|
+
--ui-radio-label: var(--label-color, inherit);
|
|
136
|
+
--ui-radio-description: var(--label-subtitle-color, inherit);
|
|
137
137
|
--ui-radio-circle-hover: rgba(0, 0, 0, 0.05);
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
width: 100%;
|
|
156
156
|
box-sizing: border-box;
|
|
157
157
|
font-family: inherit;
|
|
158
|
-
color:
|
|
158
|
+
color: inherit;
|
|
159
159
|
}
|
|
160
160
|
.radio-container.radio-rtl {
|
|
161
161
|
direction: rtl;
|
|
@@ -186,7 +186,7 @@ export class Radio {
|
|
|
186
186
|
'radio-checked': this.checked,
|
|
187
187
|
'radio-ripple': this.rippleEffect && !this.disabled,
|
|
188
188
|
};
|
|
189
|
-
return (h("div", { key: '
|
|
189
|
+
return (h("div", { key: 'b54ecdd72f2dd25da0b654f53de87e122d893c5a', class: containerClasses, dir: this.rtl ? 'rtl' : 'ltr', style: { '--reveal-delay': `${this.revealDelay}ms` } }, h("label", { key: 'd8fa8d11513fc55e98988d64026bcfcd98a6935e', class: "radio-label", onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, (this.labelPosition === 'left' || this.labelPosition === 'top') && this.renderLabel(), h("div", { key: '88ebbd340c372a88c1303b3fd7658d50a5bccb7e', class: radioClasses }, h("input", { key: '7cb357282d3d6dbd096bf7d7e5e2283b3e06151e', type: "radio", class: "radio-input", checked: this.checked, disabled: this.disabled || this.skeleton, readonly: this.readonly, value: this.value, name: this.name, tabindex: this.radioTabIndex, "aria-label": this.ariaLabel || this.label, "aria-describedby": this.ariaDescribedBy, "aria-checked": this.checked.toString(), "aria-invalid": this.invalid.toString(), onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: el => this.inputElement = el }), h("div", { key: 'b3aee957eb560fc767647972f771ba737062d079', class: "radio-circle" }, h("div", { key: '0ffe9c1f0d68e9d51c3a1a8a28f8c749c04599b6', class: "glow-layer" }), this.renderDot()), this.badge && !this.skeleton && h("span", { key: 'e50c2be805ac926c3e219a0e48150d672f6f19fc', class: "radio-badge" }, this.badge), this.tooltip && !this.skeleton && (h("div", { key: '7ab0f9af0f637b05d53bab4e07d4abf914f4f213', class: `radio-tooltip radio-tooltip-${this.tooltipPosition}` }, this.tooltip))), (this.labelPosition === 'right' || this.labelPosition === 'bottom') && this.renderLabel(), this.skeleton && h("div", { key: '528ad8986ae65d7d6dc8bd23cb3789546ba6c2ee', class: "radio-skeleton-shimmer" })), (this.invalid || !this.internals.validity.valid) && (h("div", { key: '7e1e9296250290e022ca8003a1e35d2e1c403b72', class: "radio-error-message", role: "alert" }, this.internals.validationMessage || 'Selection required'))));
|
|
190
190
|
}
|
|
191
191
|
static get is() { return "ui-radio"; }
|
|
192
192
|
static get encapsulation() { return "shadow"; }
|
|
@@ -439,7 +439,7 @@ export class AppResizablePanel {
|
|
|
439
439
|
'resizable-dragging': this.isDragging,
|
|
440
440
|
'resizable-animated': this.animated && !this.isDragging,
|
|
441
441
|
};
|
|
442
|
-
return (h(Host, { key: '
|
|
442
|
+
return (h(Host, { key: 'e95db5c4b7d28becf543e44ab2d80a1fb5a34f5a' }, h("div", { key: 'c8c49f4e023ba66b1535447b567eebe685e9f464', class: containerClasses, ref: el => this.containerRef = el }, this.internalPanels.map((panel, index) => (h("div", { key: panel.id, class: "panel-wrapper", style: {
|
|
443
443
|
[this.direction === 'horizontal' ? 'width' : 'height']: panel.collapsed ? `${this.handleSize}px` : `${panel.size}%`,
|
|
444
444
|
} }, h("div", { class: {
|
|
445
445
|
'resizable-panel': true,
|
|
@@ -528,14 +528,14 @@ export class SmartLocationDropdown {
|
|
|
528
528
|
const filtered = this.filteredOptions;
|
|
529
529
|
const hasSelection = this.selectedIds.size > 0;
|
|
530
530
|
const canCreate = this.allowCustomValue && !!this.searchQuery.trim() && filtered.length === 0;
|
|
531
|
-
return (h("div", { key: '
|
|
531
|
+
return (h("div", { key: 'b1807bf502b50ae9fc48efa846426ab643d6516d', class: { 'location-dropdown': true, open: this.isOpen, disabled: this.disabled } }, h("div", { key: 'de7b775e9b312bd39da8927975e588648b4ca809', class: "location-trigger", role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", tabIndex: this.disabled ? -1 : 0, onClick: this.toggleDropdown, onKeyDown: this.handleKeyDown }, h("span", { key: 'e608f40b0ef1251ae3f9c303338ff415eb31b0cd', class: { 'trigger-text': true, placeholder: !hasSelection } }, this.getDisplayText()), h("div", { key: 'afbfc578336c32718d974e0ca2b28df8ae1bae2f', class: "trigger-icons" }, hasSelection && this.clearable && !this.disabled && (h("ui-button", { key: '65ce58563ea6447785f79325425f410ccac696b5', class: "clear-btn", onButtonClick: this.clearSelection, "aria-label": "Clear selected locations", variant: "plain", icon: "x", iconLibrary: "lucide", iconOnly: true })), h("ui-icon", { key: 'c30d26150e745053e5c64c7747692dc0e16de079', name: "chevron-down", library: "lucide", size: "16px", class: { arrow: true, open: this.isOpen } }))), this.renderSelectedChips(), this.isOpen && (h("div", { key: '17e2bda731910b2eacdcfa94c40697cb8cad6792', class: { menu: true, top: this.dropdownPosition === 'top' }, role: "listbox", ref: el => (this.menuElement = el), style: {
|
|
532
532
|
maxHeight: `${this.maxHeight}px`,
|
|
533
533
|
left: `${this.menuLeft}px`,
|
|
534
534
|
width: `${this.menuWidth}px`,
|
|
535
535
|
position: 'fixed',
|
|
536
536
|
zIndex: '10020',
|
|
537
537
|
top: `${this.menuTop}px`,
|
|
538
|
-
} }, this.searchable && (h("div", { key: '
|
|
538
|
+
} }, this.searchable && (h("div", { key: '927ac16ca61d07d1e0d9acf9cc6712ccd5e3be8a', class: "search-row" }, h("ui-input", { key: '95af520eb196a47d11ac31489237314049532bc2', ref: el => (this.searchInputRef = el), class: "search-input", value: this.searchQuery, placeholder: this.searchPlaceholder, onInputChange: (e) => this.onSearchInput_Custom(e.detail), onKeyDown: this.handleKeyDown, variant: "plain" }))), this.loading && h("div", { key: 'c5b48b1d0f1e08353dc8def6b7b962c15918f724', class: "status loading" }, "Loading locations..."), !this.loading && this.loadError && h("div", { key: '3a8f50555d86a4cf07fd27b810fe9c74168cac0e', class: "status error" }, this.loadError), !this.loading && filtered.length > 0 && (h("div", { key: '07298b5d440946c7a6d11e3ebae2d3c28d16c467', class: "options-list" }, filtered.map((option, index) => this.renderOption(option, index)))), !this.loading && filtered.length === 0 && !canCreate && h("div", { key: 'a01eb5729544c38466b7c16de2fe6e11baba36e4', class: "status empty" }, "No locations found"), canCreate && (h("ui-button", { key: '06c249712c8bf168d522678abe6fd68ae4d25949', class: "create-btn", onButtonClick: () => this.createCustomLocation(this.searchQuery.trim()), variant: "plain", align: "start", fullWidth: true, icon: "plus", iconLibrary: "lucide", label: `Create "${this.searchQuery.trim()}"` })), (this.showFavorites || this.showRecent) && !this.searchQuery && (h("div", { key: '0cfe965844fa111cb8888b1392e3dcac8b35c51a', class: "footer-meta" }, this.showFavorites && h("span", { key: '0b5f1c8816ed31ab7cdc5988f1271a2c7b384372' }, "Favorites: ", this.favoriteIds.length), this.showRecent && h("span", { key: 'aec4a486adee16e6100efa773475fc03d8b2f155' }, "Recent: ", this.recentIds.length)))))));
|
|
539
539
|
}
|
|
540
540
|
static get is() { return "ui-smart-location-dropdown"; }
|
|
541
541
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,11 +27,11 @@ export class SmartStep {
|
|
|
27
27
|
*/
|
|
28
28
|
disabled = false;
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: 'a2c117d2cec46a6f1fdafab7cb152026a1c637be', class: "smart-step-wrapper" }, h("div", { key: '470c34c7b17ad9b6e829ebfb30e1b4c3848d1c09', class: {
|
|
31
31
|
'step-header': true,
|
|
32
32
|
'disabled': this.disabled,
|
|
33
33
|
[`status-${this.status}`]: true
|
|
34
|
-
} }, h("div", { key: '
|
|
34
|
+
} }, h("div", { key: '6a6cbddfd46581cbdb2e22ba9dfddad491faf93b', class: "step-icon" }, this.icon ? (h("span", { class: "custom-icon" }, h("ui-icon", { name: this.icon, library: this.iconLibrary, size: "1.2rem" }))) : h("span", { class: "step-number" })), h("div", { key: '2d11b3d888e9cc500723d0be29a8c6fc580372b7', class: "step-text" }, h("span", { key: '8a13c5542cc413516b7a083e26330a34f7a43990', class: "step-title" }, this.label), this.description && h("span", { key: '1ad7e4e299a6d6faa338445a926279ec3d04c7b3', class: "step-desc" }, this.description))), h("div", { key: 'df61b0cb3ba51afbba28d4075c8e7a128616b74a', class: "stepper-content" }, h("slot", { key: '277c02deb6d5ee2c2ac992e3ea3da964cf8dd9e2' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "smart-step"; }
|
|
37
37
|
static get encapsulation() { return "scoped"; }
|
|
@@ -123,7 +123,7 @@ export class SmartStepper {
|
|
|
123
123
|
`stepper-${this.orientation}`,
|
|
124
124
|
`stepper-${this.size}`
|
|
125
125
|
].join(' ');
|
|
126
|
-
return (h("div", { key: '
|
|
126
|
+
return (h("div", { key: '5243803a66e8bfae497796c6bf73d4f006fa35e4', class: containerClasses }, h("div", { key: '6a7b4c7d81107e2f42ededb0e598c18ad0c8966a', class: "stepper-header", onClick: this.handleStepClick }, h("slot", { key: 'dcec321fde59e2b21f49344fd1d105a822d2d9c4' })), h("div", { key: 'd9fff061e8c196a8eef547c036ba9c9a384d59d8', class: "stepper-content-area" }, h("slot", { key: 'a89db3104943e20880b5633732e801dfdcd70dff', name: "content" }))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "ui-smart-stepper"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -951,7 +951,7 @@ export class Snackbar {
|
|
|
951
951
|
"mutable": false,
|
|
952
952
|
"complexType": {
|
|
953
953
|
"original": "ComponentVariant",
|
|
954
|
-
"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\"",
|
|
954
|
+
"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\"",
|
|
955
955
|
"references": {
|
|
956
956
|
"ComponentVariant": {
|
|
957
957
|
"location": "import",
|
|
@@ -739,7 +739,7 @@ export class SpeedDial {
|
|
|
739
739
|
"mutable": false,
|
|
740
740
|
"complexType": {
|
|
741
741
|
"original": "ComponentVariant",
|
|
742
|
-
"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\"",
|
|
742
|
+
"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\"",
|
|
743
743
|
"references": {
|
|
744
744
|
"ComponentVariant": {
|
|
745
745
|
"location": "import",
|
|
@@ -66,7 +66,7 @@ export class Stack {
|
|
|
66
66
|
const allChildren = Array.from(this.el.children);
|
|
67
67
|
// Update visibility after render to avoid layout thrashing
|
|
68
68
|
requestAnimationFrame(() => this.updateChildrenVisibility(actualMax));
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '6568eda1f5875356d720bc67a8c234f6f97effcf', class: {
|
|
70
70
|
'ui-stack': true,
|
|
71
71
|
[`stack-${this.direction}`]: true,
|
|
72
72
|
[`stack-wrap-${this.wrap}`]: true,
|
|
@@ -79,7 +79,7 @@ export class Stack {
|
|
|
79
79
|
'align-items': this.align,
|
|
80
80
|
'justify-content': this.justify,
|
|
81
81
|
'flex-wrap': this.wrap
|
|
82
|
-
} }, h("div", { key: '
|
|
82
|
+
} }, h("div", { key: '3363f516615fadfd894b42961f94d83a7a254011', class: "stack-container" }, h("slot", { key: '5f2c8cb4d62229c4439858f5433f30ed78d9bd71' }), overflowCount > 0 && (h("div", { key: 'eb7614444d0beba127e9d1a9ca125265dbcd5e43', class: "stack-overflow-indicator", onClick: (e) => { e.stopPropagation(); this.toggleRoster(); }, onKeyDown: (e) => {
|
|
83
83
|
if (e.key === 'Enter')
|
|
84
84
|
this.toggleRoster();
|
|
85
85
|
}, tabindex: "0", role: "button", title: `View ${overflowCount} more items` }, "+", overflowCount))), this.isRosterOpen && this.renderRoster(allChildren, this.childrenCount)));
|
|
@@ -14,7 +14,7 @@ export class Step {
|
|
|
14
14
|
/** optional custom renderer - parent will call if present */
|
|
15
15
|
renderContent;
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: '34d10339a1b9505e53b2adb8059cfeee2bbb0841', class: "ui-step-container", role: "presentation" }, h("div", { key: 'adfe6db495ad914bb066963d5d01f89ec4c8b500', class: "ui-step-slots-hidden", style: { display: 'none' } }, h("slot", { key: 'f00c0378d9cb2233b917e714ff9c3b73687fb43c', name: "icon" }), h("slot", { key: 'c8fe113292f4181096a2254012cef1c5f2ce9239', name: "title" }), h("slot", { key: '933b9f3adda9b05fa55fad607db3838329c540ed', name: "description" })), h("slot", { key: '16fa7b618483d991cfab40c55bb6e3f42cf431c0' })));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ui-step"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -306,8 +306,8 @@ export class UISwitch {
|
|
|
306
306
|
return (h("div", { class: "switch-confirm-overlay", onClick: this.handleCancel }, h("div", { class: "switch-confirm-dialog", onClick: e => e.stopPropagation() }, h("div", { class: "confirm-message" }, this.confirmationMessage), h("div", { class: "confirm-actions" }, h("ui-button", { variant: "ghost", size: "sm", onClick: this.handleCancel, label: "Cancel" }), h("ui-button", { variant: "primary", size: "sm", onClick: this.handleConfirm, label: "Confirm" })))));
|
|
307
307
|
}
|
|
308
308
|
render() {
|
|
309
|
-
const labelElement = this.label && (h("span", { key: '
|
|
310
|
-
const sideDescription = this.description && this.descriptionPosition === 'side' && (h("span", { key: '
|
|
309
|
+
const labelElement = this.label && (h("span", { key: '7ebf67ab54d6402ea0df0c4de0970d6cc2e43824', class: "switch-label" }, this.label, this.required && h("span", { key: '7044082ec79f25bd865e823bf0b4f8387dc18e11', class: "switch-required" }, "*"), this.description && this.descriptionPosition === 'bottom' && (h("span", { key: 'efe44feacd88bb77a6a8c128811610e7c9e45f16', class: "switch-description-bottom" }, this.description))));
|
|
310
|
+
const sideDescription = this.description && this.descriptionPosition === 'side' && (h("span", { key: '3fd19deb053caafb0b8482378067b1e0e7c6e93f', class: "switch-description-side" }, this.description));
|
|
311
311
|
const trackStyle = {};
|
|
312
312
|
if (this.gradient && this.gradientColors) {
|
|
313
313
|
try {
|
|
@@ -322,7 +322,7 @@ export class UISwitch {
|
|
|
322
322
|
if (this.width) {
|
|
323
323
|
hostStyle['--switch-track-width'] = this.width;
|
|
324
324
|
}
|
|
325
|
-
return (h(Host, { key: '
|
|
325
|
+
return (h(Host, { key: '2452fea25ee064d76b1255e099143b7c0c9b22da', style: hostStyle, class: {
|
|
326
326
|
'switch-host': true,
|
|
327
327
|
'switch-disabled': this.disabled || this.loading,
|
|
328
328
|
'switch-readonly': this.readonly,
|
|
@@ -339,7 +339,7 @@ export class UISwitch {
|
|
|
339
339
|
[`switch-elevation-${this.elevation}`]: this.elevation > 0,
|
|
340
340
|
[`switch-color-${this.color}`]: true,
|
|
341
341
|
[`switch-${this.variant}`]: true,
|
|
342
|
-
}, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: '
|
|
342
|
+
}, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: 'fbf20bb14cc99bd32eb4a52df4eefa60480804c4', part: "container", class: {
|
|
343
343
|
'switch-container-outer': true,
|
|
344
344
|
[`switch-${this.size}`]: true,
|
|
345
345
|
[`switch-color-${this.color}`]: true,
|
|
@@ -358,7 +358,7 @@ export class UISwitch {
|
|
|
358
358
|
'switch-shaking': this.isShaking,
|
|
359
359
|
'switch-animate': this.enableAnimation,
|
|
360
360
|
'switch-indeterminate': this.indeterminate,
|
|
361
|
-
} }, h("label", { key: '
|
|
361
|
+
} }, h("label", { key: 'e089fc07a8a05b88b7281756e8720f42e4e39dee', part: "label", class: {
|
|
362
362
|
'switch-container': true,
|
|
363
363
|
[`switch-${this.size}`]: true,
|
|
364
364
|
[`switch-color-${this.color}`]: true,
|
|
@@ -367,19 +367,19 @@ export class UISwitch {
|
|
|
367
367
|
[`thumb-${this.thumbShape}`]: true,
|
|
368
368
|
'switch-label-left': this.labelPosition === 'left',
|
|
369
369
|
'switch-label-right': this.labelPosition === 'right' || !this.labelPosition,
|
|
370
|
-
} }, this.labelPosition === 'left' && labelElement, h("div", { key: '
|
|
370
|
+
} }, this.labelPosition === 'left' && labelElement, h("div", { key: '3e1ca73f5839376c5effc92ad13686465dfe1c69', part: "wrapper", class: "switch-wrapper" }, h("input", { key: '620498359d8a26fdc9413e936b423ebc92e9e921', type: "checkbox", class: "switch-input", checked: this.checked, disabled: this.disabled || this.loading, readonly: this.readonly, name: this.name, value: this.value, required: this.required, tabindex: this.switchTabIndex, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, "aria-label": this.ariaLabel || this.label, "aria-checked": this.indeterminate ? 'mixed' : (this.checked ? 'true' : 'false'), "aria-disabled": (this.disabled || this.loading).toString(), "aria-invalid": this.invalid.toString(), ref: el => {
|
|
371
371
|
if (el && this.indeterminate)
|
|
372
372
|
el.indeterminate = true;
|
|
373
|
-
} }), h("div", { key: '
|
|
373
|
+
} }), h("div", { key: 'ed2db623b8d85ec19ec08b04d49f32ccbd22c2ca', part: "track", class: {
|
|
374
374
|
'switch-track': true,
|
|
375
375
|
'switch-track-checked': this.checked,
|
|
376
376
|
'switch-track-disabled': this.disabled || this.loading,
|
|
377
377
|
'switch-gradient': this.gradient,
|
|
378
|
-
}, style: trackStyle }, this.renderTrackText(), h("div", { key: '
|
|
378
|
+
}, style: trackStyle }, this.renderTrackText(), h("div", { key: 'f1fb7ac21b764239756664271a156a484d90ae71', part: "thumb", class: {
|
|
379
379
|
'switch-thumb': true,
|
|
380
380
|
'switch-thumb-checked': this.checked,
|
|
381
381
|
'switch-thumb-loading': this.loading,
|
|
382
|
-
} }, this.getIcon()), this.showRipple && h("div", { key: '
|
|
382
|
+
} }, this.getIcon()), this.showRipple && h("div", { key: '12e603dc7715a81be1b49e10f3ff08ecd95d5a25', class: "switch-ripple" }), this.loading && h("div", { key: 'c09738abdd1ee94b9fd7ccb69569ab8b432425ed', class: "switch-loading-overlay" }))), this.labelPosition === 'right' && labelElement, sideDescription, this.renderSuccessFeedback()), this.renderHelperText(), this.renderTooltip()), this.renderConfirmDialog()));
|
|
383
383
|
}
|
|
384
384
|
static get is() { return "ui-switch"; }
|
|
385
385
|
static get encapsulation() { return "shadow"; }
|
|
@@ -554,7 +554,7 @@ export class UISwitch {
|
|
|
554
554
|
"mutable": false,
|
|
555
555
|
"complexType": {
|
|
556
556
|
"original": "ComponentVariant",
|
|
557
|
-
"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\"",
|
|
557
|
+
"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\"",
|
|
558
558
|
"references": {
|
|
559
559
|
"ComponentVariant": {
|
|
560
560
|
"location": "import",
|
|
@@ -371,11 +371,11 @@ export class TagGroup {
|
|
|
371
371
|
const isEmpty = allTags.length === 0;
|
|
372
372
|
const noResults = allTags.length > 0 && visibleTags.length === 0;
|
|
373
373
|
const showInlineInput = (this.searchable || this.creatable) && !this.readOnly;
|
|
374
|
-
return (h(Host, { key: '
|
|
374
|
+
return (h(Host, { key: 'a27c92c78b6c9072b966c299c67ce1677ee9e036' }, h("div", { key: 'f043228fbbe2f79c2800384c2dacaa1cb0148505', class: {
|
|
375
375
|
'tag-group-container': true,
|
|
376
376
|
'is-readonly': this.readOnly,
|
|
377
377
|
'is-empty': isEmpty
|
|
378
|
-
} }, h("ui-stack", { key: '
|
|
378
|
+
} }, h("ui-stack", { key: 'ca9b9a02f7650193b1633fc4a1b0c5c37e51229a', spacing: this.spacing, overlap: this.overlap, max: this.isExpanded ? 0 : this.max, wrap: "wrap" }, h("slot", { key: 'd764e67e7dc971c7949d24db226ab9154a657e27' }), showInlineInput && (h("ui-input", { key: '271591fa4b6bdca9aa879a0179c87018bcd744fc', type: "text", class: "tag-group-inline-input", placeholder: isEmpty ? this.placeholder : '', value: this.searchQuery, onInputChange: this.handleSearch, onInputKeydown: this.handleAddTag, size: "sm", variant: "borderless", hideBorder: true, fullWidth: true }))), noResults && (h("div", { key: '32a338d6978df6192b25a0e98f27079aa3b39ef9', class: "tag-group-empty no-results" }, h("span", { key: 'ce1d744f56bbd0c85eab6e9c458fade4c1b12fd1' }, "No tags match \"", this.searchQuery, "\""))) || (isEmpty && this.readOnly && (h("div", { key: '306938778dae4c4c1890278a67a1df651850792b', class: "tag-group-empty" }, h("ui-icon", { key: 'b0d025b5476d3895ff968b72eb06d5afff79b870', name: "tag", library: "lucide", size: "1.4em" }), h("span", { key: '52debfaff2c840d1a8c56119f81ec22380082392' }, "No items assigned")))), this.collapsible && canShowExpand && (h("ui-button", { key: 'a689ec4aa7f4536f0babc1edf0edeae22a151630', variant: "ghost", size: "sm", class: "tag-group-overflow-toggle", onClick: this.toggleExpand, label: this.isExpanded ? 'Show less' : `View all ${allTags.length} items` })))));
|
|
379
379
|
}
|
|
380
380
|
static get is() { return "ui-tag-group"; }
|
|
381
381
|
static get encapsulation() { return "shadow"; }
|