atomicuilibrary 0.0.1 → 0.1.3
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 +2 -2
- package/dist/cjs/dom-BvBb0kmW.js +267 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +2 -2
- package/dist/cjs/{index-ClkOYpT8.js → index-C32cWsm5.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/library-card.cjs.entry.js +2 -2
- package/dist/cjs/lm-container_2.cjs.entry.js +2 -2
- package/dist/cjs/lm-panel_3.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/my-step.cjs.entry.js +2 -2
- package/dist/cjs/nav-bar.cjs.entry.js +4 -4
- package/dist/cjs/{security-E1JcwxGc.js → security-CNaNip8F.js} +88 -154
- package/dist/cjs/smart-step.cjs.entry.js +3 -3
- package/dist/cjs/timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/{ui-accordion_10.cjs.entry.js → ui-accordion_11.cjs.entry.js} +730 -61
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2 -2
- package/dist/cjs/ui-anchor.cjs.entry.js +2 -2
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ui-aside-panel.cjs.entry.js +11 -12
- package/dist/cjs/ui-avatar-group_5.cjs.entry.js +1694 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ui-callout-banner.cjs.entry.js +3 -3
- package/dist/cjs/ui-card.cjs.entry.js +28 -5
- package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ui-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ui-code-editor.cjs.entry.js +3 -3
- package/dist/cjs/ui-code-preview.cjs.entry.js +2 -2
- package/dist/cjs/ui-color-picker.cjs.entry.js +256 -22
- package/dist/cjs/ui-command-palette.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-box.cjs.entry.js +86 -12
- package/dist/cjs/ui-dialog-content.cjs.entry.js +1 -1
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +1 -1
- package/dist/cjs/ui-divider.cjs.entry.js +1 -1
- package/dist/cjs/ui-dock-host.cjs.entry.js +4 -4
- package/dist/cjs/ui-dock.cjs.entry.js +2 -2
- package/dist/cjs/ui-drag-drop.cjs.entry.js +2 -2
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +104 -34
- package/dist/cjs/ui-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-fab.cjs.entry.js +4 -4
- package/dist/cjs/ui-file-upload.cjs.entry.js +143 -44
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +2 -2
- package/dist/cjs/ui-knob.cjs.entry.js +1 -1
- package/dist/cjs/ui-label.cjs.entry.js +473 -0
- package/dist/cjs/ui-library.cjs.entry.js +2 -2
- package/dist/cjs/ui-list-group_2.cjs.entry.js +351 -58
- package/dist/cjs/ui-list.cjs.entry.js +76 -42
- package/dist/cjs/ui-masonry.cjs.entry.js +1 -1
- package/dist/cjs/ui-meter-group.cjs.entry.js +5 -4
- package/dist/cjs/ui-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ui-number-input.cjs.entry.js +7 -3
- package/dist/cjs/ui-otp-input.cjs.entry.js +5 -5
- package/dist/cjs/ui-pagination_3.cjs.entry.js +235 -504
- package/dist/cjs/ui-panel.cjs.entry.js +1 -1
- package/dist/cjs/ui-pattern-input.cjs.entry.js +46 -11
- package/dist/cjs/ui-progress.cjs.entry.js +164 -23
- package/dist/cjs/ui-range-slider.cjs.entry.js +2 -2
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +2 -2
- package/dist/cjs/ui-scroll-top.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-speed-dial.cjs.entry.js +1 -1
- package/dist/cjs/ui-speedometer.cjs.entry.js +28 -17
- package/dist/cjs/ui-splitter.cjs.entry.js +1 -1
- package/dist/cjs/ui-step.cjs.entry.js +2 -2
- package/dist/cjs/ui-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ui-switch.cjs.entry.js +14 -13
- package/dist/cjs/ui-tabs.cjs.entry.js +3 -3
- package/dist/cjs/ui-tag.cjs.entry.js +58 -13
- package/dist/cjs/ui-timeline.cjs.entry.js +11 -3
- package/dist/cjs/ui-timer.cjs.entry.js +2 -2
- package/dist/cjs/ui-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/ui-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-transfer-list.cjs.entry.js +7 -7
- package/dist/cjs/ui-tree.cjs.entry.js +30 -15
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +3 -3
- package/dist/collection/assets/js/component-config.js +1 -0
- package/dist/collection/assets/js/demo-loader.js +2 -1
- package/dist/collection/assets/js/demos/about-demo.js +13 -13
- package/dist/collection/assets/js/demos/accordion-demo.js +238 -49
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +315 -316
- package/dist/collection/assets/js/demos/anchor-demo.js +27 -28
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +12 -12
- package/dist/collection/assets/js/demos/aside-panel-demo.js +57 -57
- package/dist/collection/assets/js/demos/avatar-demo.js +433 -95
- package/dist/collection/assets/js/demos/badge-demo.js +51 -52
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +7 -7
- package/dist/collection/assets/js/demos/button-demo.js +175 -106
- package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
- package/dist/collection/assets/js/demos/callout-banner-demo.js +332 -42
- package/dist/collection/assets/js/demos/card-demo.js +122 -74
- package/dist/collection/assets/js/demos/carousel-demo.js +632 -360
- package/dist/collection/assets/js/demos/checkbox-demo.js +124 -7
- package/dist/collection/assets/js/demos/color-picker-demo.js +394 -100
- package/dist/collection/assets/js/demos/command-palette-demo.js +182 -65
- package/dist/collection/assets/js/demos/complex-form-demo.js +5 -5
- package/dist/collection/assets/js/demos/context-menu-demo.js +476 -55
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +3 -3
- package/dist/collection/assets/js/demos/dialog-demo.js +336 -230
- package/dist/collection/assets/js/demos/divider-demo.js +59 -62
- package/dist/collection/assets/js/demos/dock-demo.js +92 -72
- package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
- package/dist/collection/assets/js/demos/documentation-demo.js +227 -22
- package/dist/collection/assets/js/demos/drag-drop-demo.js +2 -2
- package/dist/collection/assets/js/demos/dropdown-demo.js +140 -136
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +2 -2
- package/dist/collection/assets/js/demos/empty-state-demo.js +304 -88
- package/dist/collection/assets/js/demos/fab-demo.js +95 -11
- package/dist/collection/assets/js/demos/file-upload-demo.js +641 -171
- package/dist/collection/assets/js/demos/home-components.js +2 -2
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +6 -6
- package/dist/collection/assets/js/demos/icon-demo.js +17 -17
- package/dist/collection/assets/js/demos/input-demo.js +147 -143
- package/dist/collection/assets/js/demos/knob-demo.js +29 -30
- package/dist/collection/assets/js/demos/label-demo.js +697 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +55 -55
- package/dist/collection/assets/js/demos/list-demo.js +226 -140
- package/dist/collection/assets/js/demos/loader-demo.js +48 -48
- package/dist/collection/assets/js/demos/masonry-demo.js +592 -0
- package/dist/collection/assets/js/demos/meter-group-demo.js +14 -16
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +25 -25
- package/dist/collection/assets/js/demos/my-profile-demo.js +27 -27
- package/dist/collection/assets/js/demos/nav-bar-demo.js +1 -1
- package/dist/collection/assets/js/demos/number-input-demo.js +262 -211
- package/dist/collection/assets/js/demos/pagination-demo.js +29 -29
- package/dist/collection/assets/js/demos/panel-demo.js +18 -25
- package/dist/collection/assets/js/demos/pattern-input-demo.js +278 -40
- package/dist/collection/assets/js/demos/popover-demo.js +240 -149
- package/dist/collection/assets/js/demos/progress-demo.js +768 -61
- package/dist/collection/assets/js/demos/radio-demo.js +73 -12
- package/dist/collection/assets/js/demos/range-slider-demo.js +33 -33
- package/dist/collection/assets/js/demos/rating-demo.js +19 -19
- package/dist/collection/assets/js/demos/scroll-top-demo.js +8 -9
- package/dist/collection/assets/js/demos/skeleton-demo.js +110 -52
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +2 -2
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +12 -12
- package/dist/collection/assets/js/demos/smart-menu-demo.js +17 -17
- package/dist/collection/assets/js/demos/snackbar-demo.js +53 -53
- package/dist/collection/assets/js/demos/speed-dial-demo.js +14 -14
- package/dist/collection/assets/js/demos/speedometer-demo.js +40 -32
- package/dist/collection/assets/js/demos/split-button-demo.js +2 -2
- package/dist/collection/assets/js/demos/splitter-demo.js +137 -0
- package/dist/collection/assets/js/demos/stack-demo.js +27 -27
- package/dist/collection/assets/js/demos/stepper-demo.js +49 -49
- package/dist/collection/assets/js/demos/switch-demo.js +561 -125
- package/dist/collection/assets/js/demos/tabs-demo.js +22 -22
- package/dist/collection/assets/js/demos/tag-demo.js +110 -80
- package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
- package/dist/collection/assets/js/demos/timeline-demo.js +27 -14
- package/dist/collection/assets/js/demos/timeline-playground.js +2 -2
- package/dist/collection/assets/js/demos/timer-demo.js +10 -10
- package/dist/collection/assets/js/demos/toolbar-demo.js +17 -17
- package/dist/collection/assets/js/demos/tooltip-demo.js +116 -114
- package/dist/collection/assets/js/demos/top-bar-demo.js +6 -6
- package/dist/collection/assets/js/demos/transfer-list-demo.js +20 -20
- package/dist/collection/assets/js/demos/tree-demo.js +72 -70
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
- package/dist/collection/collection-manifest.json +2 -6
- package/dist/collection/components/accordion/accordion.css +576 -9
- package/dist/collection/components/accordion/accordion.js +47 -14
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +24 -10
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
- package/dist/collection/components/anchor/anchor.css +0 -1
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
- package/dist/collection/components/aside-panel/aside-panel.css +3 -5
- package/dist/collection/components/aside-panel/aside-panel.js +12 -13
- package/dist/collection/components/avatar/avatar.css +6 -6
- package/dist/collection/components/avatar/avatar.js +64 -12
- package/dist/collection/components/badge/badge.css +28 -17
- package/dist/collection/components/badge/badge.js +7 -4
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/button/button.css +132 -0
- package/dist/collection/components/button/button.js +130 -11
- package/dist/collection/components/button-toggle/button-toggle.js +2 -2
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +161 -14
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +2 -2
- package/dist/collection/components/callout-banner/callout-banner.css +75 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1 -1
- package/dist/collection/components/card/card.css +304 -40
- package/dist/collection/components/card/card.js +48 -4
- package/dist/collection/components/checkbox/checkbox.css +8 -10
- package/dist/collection/components/checkbox/checkbox.js +5 -5
- 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-picker/color-picker.css +110 -6
- package/dist/collection/components/color-picker/color-picker.js +302 -26
- package/dist/collection/components/context-menu/context-menu.css +8 -8
- package/dist/collection/components/dialog-box/dialog-box.js +117 -15
- package/dist/collection/components/dialog-header/dialog-header.js +2 -2
- package/dist/collection/components/dock/dock.css +116 -3
- 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/dropdown/dropdown.css +101 -8
- package/dist/collection/components/dropdown/dropdown.js +94 -28
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/fab/fab.css +87 -15
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab-item/fab-item.js +1 -1
- package/dist/collection/components/file-upload/file-upload.css +1362 -31
- package/dist/collection/components/file-upload/file-upload.js +171 -50
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +9 -9
- 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.css +9 -0
- package/dist/collection/components/input/input.js +21 -10
- package/dist/collection/components/label/label.css +583 -0
- package/dist/collection/components/label/label.js +1669 -0
- 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.css +46 -5
- package/dist/collection/components/list/list.js +76 -42
- package/dist/collection/components/list-group/list-group.css +0 -2
- package/dist/collection/components/list-group/list-group.js +11 -5
- package/dist/collection/components/list-item/list-item.css +427 -131
- package/dist/collection/components/list-item/list-item.js +373 -58
- package/dist/collection/components/loader/loader.css +1635 -0
- package/dist/collection/components/loader/loader.js +1120 -0
- package/dist/collection/components/meter-group/meter-group.css +5 -0
- package/dist/collection/components/meter-group/meter-group.js +3 -2
- package/dist/collection/components/my-step/my-step.js +1 -1
- package/dist/collection/components/nav-bar/nav-bar.css +4 -4
- package/dist/collection/components/nav-bar/nav-bar.js +6 -6
- package/dist/collection/components/number-input/number-input.js +6 -2
- package/dist/collection/components/otp-input/otp-input.css +10 -0
- package/dist/collection/components/otp-input/otp-input.js +3 -3
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pattern-input/pattern-input.css +0 -1
- package/dist/collection/components/pattern-input/pattern-input.js +44 -9
- package/dist/collection/components/popover/popover.css +35 -7
- package/dist/collection/components/popover/popover.js +64 -9
- package/dist/collection/components/progress/progress.css +307 -28
- package/dist/collection/components/progress/progress.js +244 -24
- package/dist/collection/components/radio/radio.css +5 -3
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/range-slider/range-slider.css +284 -31
- package/dist/collection/components/range-slider/range-slider.js +5 -5
- package/dist/collection/components/rating/rating.css +151 -65
- package/dist/collection/components/rating/rating.js +31 -13
- package/dist/collection/components/resizable-panel/resizable-panel.js +1 -1
- package/dist/collection/components/skeleton/skeleton-loader.css +144 -44
- package/dist/collection/components/skeleton/skeleton-loader.js +11 -7
- 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/speedometer/speedometer.css +26 -6
- package/dist/collection/components/speedometer/speedometer.js +26 -15
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/switch/switch.css +367 -8
- package/dist/collection/components/switch/switch.js +14 -13
- package/dist/collection/components/tag/tag.css +38 -12
- package/dist/collection/components/tag/tag.js +58 -13
- package/dist/collection/components/tag-group/tag-group.css +0 -1
- package/dist/collection/components/tag-group/tag-group.js +3 -3
- package/dist/collection/components/timeline/timeline.css +380 -317
- package/dist/collection/components/timeline/timeline.js +8 -0
- package/dist/collection/components/timeline-item/timeline-item.js +1 -1
- package/dist/collection/components/timer/timer.js +1 -1
- package/dist/collection/components/toggle-group/toggle-group.css +7 -3
- package/dist/collection/components/toggle-group/toggle-group.js +7 -3
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/top-bar/top-bar.js +2 -2
- package/dist/collection/components/transfer-list/transfer-list.css +13 -13
- package/dist/collection/components/transfer-list/transfer-list.js +4 -4
- package/dist/collection/components/tree/tree.css +35 -21
- package/dist/collection/components/tree/tree.js +28 -13
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +53 -20
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +48 -13
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +7 -7
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +3 -3
- package/dist/collection/components.js +1 -0
- package/dist/collection/utils/dom.js +151 -151
- 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/button.js +1 -0
- 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/dom.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/popover.js +1 -0
- 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-animate-on-scroll.js +1 -1
- package/dist/components/ui-aside-panel.js +1 -1
- package/dist/components/ui-badge.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-button.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-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-input-pair.d.ts → ui-label.d.ts} +4 -4
- package/dist/components/ui-label.js +1 -0
- package/dist/components/ui-library.js +1 -1
- package/dist/components/ui-list.js +1 -1
- package/dist/components/{ui-radio-group.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-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-speedometer.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 +2 -2
- package/dist/esm/dom-DFBTWhGw.js +262 -0
- package/dist/esm/exploration-project-tailwind.js +3 -3
- package/dist/esm/{index-DUsoYu9r.js → index-Dqu2zaH1.js} +1 -1
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/library-card.entry.js +2 -2
- package/dist/esm/lm-container_2.entry.js +2 -2
- package/dist/esm/lm-panel_3.entry.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/my-step.entry.js +2 -2
- package/dist/esm/nav-bar.entry.js +4 -4
- package/dist/esm/{security-D2WzX6vR.js → security-Dyu3Nplq.js} +88 -154
- package/dist/esm/smart-step.entry.js +3 -3
- package/dist/esm/timeline-item.entry.js +2 -2
- package/dist/esm/{ui-accordion_10.entry.js → ui-accordion_11.entry.js} +730 -62
- package/dist/esm/ui-advanced-data-table.entry.js +2 -2
- package/dist/esm/ui-anchor.entry.js +2 -2
- package/dist/esm/ui-animate-on-scroll.entry.js +3 -3
- package/dist/esm/ui-aside-panel.entry.js +11 -12
- package/dist/esm/ui-avatar-group_5.entry.js +1688 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +3 -3
- package/dist/esm/ui-breadcrumb.entry.js +1 -1
- package/dist/esm/ui-callout-banner.entry.js +3 -3
- package/dist/esm/ui-card.entry.js +28 -5
- package/dist/esm/ui-carousel.entry.js +1 -1
- package/dist/esm/ui-checkbox.entry.js +5 -5
- package/dist/esm/ui-code-editor.entry.js +3 -3
- package/dist/esm/ui-code-preview.entry.js +2 -2
- package/dist/esm/ui-color-picker.entry.js +256 -22
- package/dist/esm/ui-command-palette.entry.js +1 -1
- package/dist/esm/ui-dialog-box.entry.js +86 -12
- package/dist/esm/ui-dialog-content.entry.js +1 -1
- package/dist/esm/ui-dialog-footer_2.entry.js +1 -1
- package/dist/esm/ui-divider.entry.js +1 -1
- package/dist/esm/ui-dock-host.entry.js +4 -4
- package/dist/esm/ui-dock.entry.js +2 -2
- package/dist/esm/ui-drag-drop.entry.js +2 -2
- package/dist/esm/ui-dropdown_2.entry.js +104 -34
- package/dist/esm/ui-empty-state.entry.js +2 -2
- package/dist/esm/ui-fab-item.entry.js +2 -2
- package/dist/esm/ui-fab.entry.js +4 -4
- package/dist/esm/ui-file-upload.entry.js +143 -44
- package/dist/esm/ui-horizontal-nav.entry.js +2 -2
- package/dist/esm/ui-knob.entry.js +1 -1
- package/dist/esm/ui-label.entry.js +471 -0
- package/dist/esm/ui-library.entry.js +2 -2
- package/dist/esm/ui-list-group_2.entry.js +351 -58
- package/dist/esm/ui-list.entry.js +76 -42
- package/dist/esm/ui-masonry.entry.js +1 -1
- package/dist/esm/ui-meter-group.entry.js +5 -4
- package/dist/esm/ui-navigation-item.entry.js +5 -5
- package/dist/esm/ui-number-input.entry.js +7 -3
- package/dist/esm/ui-otp-input.entry.js +5 -5
- package/dist/esm/ui-pagination_3.entry.js +235 -504
- package/dist/esm/ui-panel.entry.js +1 -1
- package/dist/esm/ui-pattern-input.entry.js +46 -11
- package/dist/esm/ui-progress.entry.js +164 -23
- package/dist/esm/ui-range-slider.entry.js +2 -2
- package/dist/esm/ui-resizable-panel.entry.js +2 -2
- package/dist/esm/ui-scroll-top.entry.js +1 -1
- package/dist/esm/ui-smart-context-menu.entry.js +1 -1
- package/dist/esm/ui-smart-stepper.entry.js +2 -2
- package/dist/esm/ui-snackbar.entry.js +2 -2
- package/dist/esm/ui-speed-dial.entry.js +1 -1
- package/dist/esm/ui-speedometer.entry.js +28 -17
- package/dist/esm/ui-splitter.entry.js +1 -1
- package/dist/esm/ui-step.entry.js +2 -2
- package/dist/esm/ui-stepper.entry.js +2 -2
- package/dist/esm/ui-switch.entry.js +14 -13
- package/dist/esm/ui-tabs.entry.js +3 -3
- package/dist/esm/ui-tag.entry.js +58 -13
- package/dist/esm/ui-timeline.entry.js +11 -3
- package/dist/esm/ui-timer.entry.js +2 -2
- package/dist/esm/ui-toolbar.entry.js +2 -2
- package/dist/esm/ui-tooltip.entry.js +5 -5
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-transfer-list.entry.js +7 -7
- package/dist/esm/ui-tree.entry.js +30 -15
- package/dist/esm/ui-workspace-manager.entry.js +3 -3
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -1
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -1
- package/dist/exploration-project-tailwind/{p-f5719913.entry.js → p-024a299a.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-0a71896a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-35296877.entry.js → p-0cdeb8d8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a42fdc33.entry.js → p-139cefbc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c7e87fbb.entry.js → p-198c83e5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-236f47b1.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-81961fb1.entry.js → p-25530d0d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-41cd6bf0.entry.js → p-298f2057.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85e36111.entry.js → p-2b5a8e3e.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-2b6aa7bc.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-7515b1e3.entry.js → p-2cfba753.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c90722ec.entry.js → p-2fe22958.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-85bf89fd.entry.js → p-3012e780.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-321c3f46.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-3d3d48fd.entry.js → p-3ab43638.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-3ad7e47e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3b1ca826.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3ee8ddae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-4f6bba75.entry.js → p-3efb44c8.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-36861546.entry.js → p-42e3bc28.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4360331a.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-2f961934.entry.js → p-443de32b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-898dd0fa.entry.js → p-44d15451.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e5322e59.entry.js → p-46071679.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-a3f465d9.entry.js → p-497d6182.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-4ad8c55c.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-73d29a4a.entry.js → p-4c46ac0b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-f0830120.entry.js → p-5042ddaa.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-60190e0e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-60530874.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-200241f8.entry.js → p-6108565d.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77124686.entry.js → p-62889cfe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-9d0c8760.entry.js → p-66f71613.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-2d273118.entry.js → p-67c440b2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d419eaf0.entry.js → p-6f09503f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-721bdbc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-747b02ea.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c6fd72e1.entry.js → p-754cb046.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ffb1754a.entry.js → p-7ed3bba2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-77cc333a.entry.js → p-864cebb7.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4d73c143.entry.js → p-96ee3196.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c5ddc817.entry.js → p-97086868.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-287dbf09.entry.js → p-9c5ced88.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9d3044d4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9e079be6.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-0b004861.entry.js → p-9e4c45f5.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-9eee7394.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-DFBTWhGw.js +1 -0
- package/dist/exploration-project-tailwind/p-Dqu2zaH1.js +2 -0
- package/dist/exploration-project-tailwind/p-Dyu3Nplq.js +2 -0
- package/dist/exploration-project-tailwind/p-a7bdedc2.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c87aeab6.entry.js → p-a8ec29de.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c174a372.entry.js → p-ae617f62.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-62352ef2.entry.js → p-aef76052.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-b5f043fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-b637b91b.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-8d951aef.entry.js → p-bc49a088.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-4de419d5.entry.js → p-bd9a631f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-e8ba0c95.entry.js → p-bf4b6767.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c0fa400e.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-5e3e80ae.entry.js → p-c4f3d990.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-c68ddb2f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c79574c4.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c840098d.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-a1ad32a2.entry.js → p-c8663cbe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7f91d949.entry.js → p-cb6e38a6.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-cb9f2df1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-cfe8b696.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d00e13ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-c4ba7e52.entry.js → p-d01ed934.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-aa85ff78.entry.js → p-d4e57d94.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-ccb5c737.entry.js → p-d5bd3a3f.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-45482d86.entry.js → p-d987cebe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/p-d9ae77c0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e9bae5c7.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f516fabc.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f68e2794.entry.js +1 -0
- package/dist/exploration-project-tailwind/{p-d30e24bd.entry.js → p-fa034f69.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +10 -2
- package/dist/types/components/aside-panel/aside-panel.d.ts +0 -3
- package/dist/types/components/avatar/avatar.d.ts +3 -0
- package/dist/types/components/avatar/types.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +9 -0
- package/dist/types/components/card/card.d.ts +4 -0
- package/dist/types/components/color-picker/color-picker.d.ts +35 -2
- package/dist/types/components/dialog-box/dialog-box.d.ts +10 -0
- package/dist/types/components/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/file-upload/file-upload.d.ts +23 -6
- package/dist/types/components/label/label.d.ts +290 -0
- package/dist/types/components/label/types.d.ts +39 -0
- package/dist/types/components/list/list.d.ts +2 -1
- package/dist/types/components/list-group/list-group.d.ts +1 -0
- package/dist/types/components/list-item/list-item.d.ts +46 -17
- package/dist/types/components/loader/loader.d.ts +145 -0
- package/dist/types/components/pattern-input/pattern-input.d.ts +6 -0
- package/dist/types/components/popover/popover.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +41 -2
- package/dist/types/components/range-slider/range-slider.d.ts +2 -2
- package/dist/types/components/rating/rating.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +1 -1
- package/dist/types/components/speedometer/speedometer.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +4 -0
- package/dist/types/components/tree/tree.d.ts +1 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +1 -1
- package/dist/types/components.d.ts +1214 -1381
- package/dist/types/types/common.d.ts +2 -2
- package/dist/types/types/common.type.d.ts +3 -1
- package/dist/types/utils/dom.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cjs/dom-oP1E4Rd3.js +0 -267
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +0 -330
- package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
- 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-popover.cjs.entry.js +0 -517
- package/dist/cjs/ui-radio-group.cjs.entry.js +0 -205
- package/dist/cjs/ui-radio.cjs.entry.js +0 -206
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
- 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/color-controller/color-controller.css +0 -108
- package/dist/collection/components/color-controller/color-controller.js +0 -224
- 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/collection/components/smart-location-dropdown/smart-location-dropdown.css +0 -357
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
- package/dist/collection/components/smart-location-dropdown/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-color-controller.d.ts +0 -11
- package/dist/components/ui-color-controller.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.js +0 -1
- package/dist/components/ui-smart-location-dropdown.d.ts +0 -11
- package/dist/components/ui-smart-location-dropdown.js +0 -1
- package/dist/esm/dom-BMFah5q3.js +0 -262
- package/dist/esm/ui-avatar-group_3.entry.js +0 -630
- package/dist/esm/ui-checkbox-group.entry.js +0 -328
- package/dist/esm/ui-color-controller.entry.js +0 -148
- package/dist/esm/ui-image-button.entry.js +0 -65
- package/dist/esm/ui-input-pair.entry.js +0 -42
- package/dist/esm/ui-popover.entry.js +0 -515
- package/dist/esm/ui-radio-group.entry.js +0 -203
- package/dist/esm/ui-radio.entry.js +0 -204
- package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-64e3a484.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-6fa9dc15.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-717dad1f.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-807c6555.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-875be805.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fa70359.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +0 -1
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +0 -2
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +0 -2
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ea51c5d8.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/color-controller/color-controller.d.ts +0 -24
- 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
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +0 -119
- package/dist/types/components/smart-location-dropdown/types.d.ts +0 -37
- /package/dist/collection/components/{checkbox-group → label}/types.js +0 -0
|
@@ -134,7 +134,8 @@ export class MeterGroup {
|
|
|
134
134
|
const percentage = this.getPercentage(item.value);
|
|
135
135
|
const color = item.color || this.getDefaultColor(index);
|
|
136
136
|
return (h("div", { class: "meter-segment", style: {
|
|
137
|
-
|
|
137
|
+
width: this.orientation === 'horizontal' ? `${percentage}%` : undefined,
|
|
138
|
+
height: this.orientation === 'vertical' ? `${percentage}%` : undefined,
|
|
138
139
|
background: (() => {
|
|
139
140
|
const isColorObject = typeof item.color === 'object' && item.color !== null;
|
|
140
141
|
if (item.gradient || isColorObject) {
|
|
@@ -147,7 +148,7 @@ export class MeterGroup {
|
|
|
147
148
|
cursor: this.interactive ? 'pointer' : 'default',
|
|
148
149
|
transition: this.animated ? 'width 0.5s ease, height 0.5s ease' : 'none',
|
|
149
150
|
}, title: `${item.label}: ${item.value}`, onClick: () => this.handleSegmentClick(item) }, this.showValues && (h("span", { class: "meter-value" }, item.value))));
|
|
150
|
-
}))), (this.showLabels || this.showLegend) && (h("div", { key: '
|
|
151
|
+
}))), (this.showLabels || this.showLegend) && (h("div", { key: 'b171d4c53a8154a0ca13b84c4e73d699b5c612bc', class: "meter-legend" }, values.map((item, index) => {
|
|
151
152
|
const color = item.color || this.getDefaultColor(index);
|
|
152
153
|
const percentage = ((item.value / total) * 100).toFixed(1);
|
|
153
154
|
return (h("div", { class: "legend-item", onClick: () => this.handleSegmentClick(item), style: { cursor: this.interactive ? 'pointer' : 'default' } }, h("span", { class: "legend-color", style: { backgroundColor: typeof color === 'object' && color !== null ? color.from : color } }), item.icon && (h("span", { class: "legend-icon", style: { marginRight: '6px' } }, h("ui-icon", { name: item.icon, library: item.iconLibrary || this.iconLibrary, size: "1.1em" }))), h("span", { class: "legend-label" }, item.label), this.showValues && (h("span", { class: "legend-value" }, item.value, " (", percentage, "%)"))));
|
|
@@ -13,7 +13,7 @@ export class MyStep {
|
|
|
13
13
|
return h("slot", null);
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return h("slot", { key: '
|
|
16
|
+
return h("slot", { key: '07c09e3d2857a1d05a6e96a4b1d8aede882ea1f5' });
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "my-step"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
--nav-bg: #0f172a;
|
|
34
34
|
--nav-text: #f8fafc;
|
|
35
35
|
--nav-text-muted: #94a3b8;
|
|
36
|
-
--nav-accent: #3b82f6;
|
|
37
|
-
--nav-accent-glow: rgba(59, 130, 246, 0.4);
|
|
36
|
+
--nav-accent: var(--color-primary, #3b82f6);
|
|
37
|
+
--nav-accent-glow: var(--color-primary-subtle, rgba(59, 130, 246, 0.4));
|
|
38
38
|
--nav-hover-bg: rgba(255, 255, 255, 0.05);
|
|
39
|
-
--nav-active-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(
|
|
39
|
+
--nav-active-bg: linear-gradient(135deg, var(--color-primary-subtle, rgba(59, 130, 246, 0.2)) 0%, rgba(var(--color-primary-rgb, 59, 130, 246), 0.1) 100%);
|
|
40
40
|
--nav-border: rgba(255, 255, 255, 0.08);
|
|
41
41
|
--nav-width-expanded: 280px;
|
|
42
42
|
--nav-width-collapsed: 80px;
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
.active > .nav-item-link {
|
|
266
266
|
background: var(--nav-active-bg);
|
|
267
267
|
color: var(--nav-accent);
|
|
268
|
-
box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.3);
|
|
268
|
+
box-shadow: inset 0 0 0 1px rgba(var(--color-primary-rgb, 59, 130, 246), 0.3);
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.active > .nav-item-link::after {
|
|
@@ -203,12 +203,12 @@ export class NavBar {
|
|
|
203
203
|
connectedCallback() {
|
|
204
204
|
}
|
|
205
205
|
render() {
|
|
206
|
-
return (h(Host, { key: '
|
|
206
|
+
return (h(Host, { key: '1ca084a87b49b22d83f87e90cd0cadffbc311eae', collapsed: this.collapsed }, h("nav", { key: 'bcc0a9d86c7191111ed9997c40eef0a0b5c236e4', class: `nav-bar ${this.collapsed ? 'collapsed' : 'expanded'}` }, h("div", { key: 'c18e36e8919eb471554111e7d5ee690f044519d3', class: "nav-header" }, this.logoUrl && (h("img", { key: '3ef3c38c0a156bbda0890bba01df49a06afdb0b9', src: this.logoUrl, alt: this.logoAlt, class: "nav-logo" })), this.appTitle && (h("span", { key: '4140fce5cca693439044369924ba42f80bfd3148', class: "nav-title" }, this.appTitle)), this.showHamburger && (h("button", { key: '58f7a102b5185528ac328c47318fa4caf83ae154', class: "nav-hamburger", onClick: this.handleHamburgerClick, "aria-label": this.collapsed ? 'Expand navigation' : 'Collapse navigation' }, this.collapsed ? (h("ui-icon", { name: "menu", library: this.iconLibrary, size: "1.5rem" })) : (h("ui-icon", { name: "x", library: this.iconLibrary, size: "1.5rem" }))))), this.showSearch && !this.collapsed && (h("div", { key: '8145564546ad325086238964931b4a48e81ee805', class: "nav-search" }, h("input", { key: '61a66f0f1ef1e759205994c1dc0139b4c89f8dac', type: "text", class: "nav-search-input", placeholder: this.searchPlaceholder, onInput: this.handleSearchInput }))), h("div", { key: 'aab420232ec9816e08926d1ca7b057741e5dc2f6', class: "nav-content" }, this.renderSection(this.topItems, 'nav-section-top')), this.hoveredIcon && (h("div", { key: 'f1cd79267d143e1b4f2ade642da7199b380741d8', class: "nav-tooltip visible", style: {
|
|
207
207
|
top: `${this.tooltipPos.top}px`,
|
|
208
208
|
left: `${this.tooltipPos.left}px`
|
|
209
209
|
} }, [...this.topItems, ...this.bottomItems, ...this.bottomItemsSecondary]
|
|
210
210
|
.flatMap(i => [i, ...(i.children || [])])
|
|
211
|
-
.find(i => i.id === this.hoveredIcon)?.label)), h("div", { key: '
|
|
211
|
+
.find(i => i.id === this.hoveredIcon)?.label)), h("div", { key: '993ce0f63b1ad5acf1226741f65437208d6bd3b9', class: "nav-footer" }, this.renderSection(this.bottomItems, 'nav-section-bottom'), this.renderSection(this.bottomItemsSecondary, 'nav-section-bottom-secondary')))));
|
|
212
212
|
}
|
|
213
213
|
renderSection(items, sectionClass) {
|
|
214
214
|
if (!items || items.length === 0)
|
|
@@ -257,7 +257,7 @@ export class NavBar {
|
|
|
257
257
|
"references": {
|
|
258
258
|
"NavItem": {
|
|
259
259
|
"location": "local",
|
|
260
|
-
"path": "
|
|
260
|
+
"path": "C:/Naveen/PersonalRepo/atomicUILibrary/library/src/components/nav-bar/nav-bar.tsx",
|
|
261
261
|
"id": "src/components/nav-bar/nav-bar.tsx::NavItem"
|
|
262
262
|
}
|
|
263
263
|
}
|
|
@@ -281,7 +281,7 @@ export class NavBar {
|
|
|
281
281
|
"references": {
|
|
282
282
|
"NavItem": {
|
|
283
283
|
"location": "local",
|
|
284
|
-
"path": "
|
|
284
|
+
"path": "C:/Naveen/PersonalRepo/atomicUILibrary/library/src/components/nav-bar/nav-bar.tsx",
|
|
285
285
|
"id": "src/components/nav-bar/nav-bar.tsx::NavItem"
|
|
286
286
|
}
|
|
287
287
|
}
|
|
@@ -305,7 +305,7 @@ export class NavBar {
|
|
|
305
305
|
"references": {
|
|
306
306
|
"NavItem": {
|
|
307
307
|
"location": "local",
|
|
308
|
-
"path": "
|
|
308
|
+
"path": "C:/Naveen/PersonalRepo/atomicUILibrary/library/src/components/nav-bar/nav-bar.tsx",
|
|
309
309
|
"id": "src/components/nav-bar/nav-bar.tsx::NavItem"
|
|
310
310
|
}
|
|
311
311
|
}
|
|
@@ -528,7 +528,7 @@ export class NavBar {
|
|
|
528
528
|
"references": {
|
|
529
529
|
"NavItem": {
|
|
530
530
|
"location": "local",
|
|
531
|
-
"path": "
|
|
531
|
+
"path": "C:/Naveen/PersonalRepo/atomicUILibrary/library/src/components/nav-bar/nav-bar.tsx",
|
|
532
532
|
"id": "src/components/nav-bar/nav-bar.tsx::NavItem"
|
|
533
533
|
}
|
|
534
534
|
}
|
|
@@ -127,6 +127,10 @@ export class NumberInput {
|
|
|
127
127
|
this.decrement();
|
|
128
128
|
};
|
|
129
129
|
handleKeyDown = (e) => {
|
|
130
|
+
// ui-input already handles ArrowUp/Down for type="number" via stepValue()
|
|
131
|
+
// and calls preventDefault() — bail out here to avoid double-stepping.
|
|
132
|
+
if (e.defaultPrevented)
|
|
133
|
+
return;
|
|
130
134
|
if (e.key === 'ArrowUp') {
|
|
131
135
|
e.preventDefault();
|
|
132
136
|
this.increment();
|
|
@@ -139,7 +143,7 @@ export class NumberInput {
|
|
|
139
143
|
render() {
|
|
140
144
|
const isError = !!this.errorText;
|
|
141
145
|
const isRight = this.stepperLayout === 'right';
|
|
142
|
-
return (h(Host, { key: '
|
|
146
|
+
return (h(Host, { key: '7d6621c867480c767237c3ceaffcf830a27263e8', class: { 'full-width': this.fullWidth } }, this.label && h("label", { key: 'fc320df3b4d7cfd4606ea5a806409a8ac006f9bb', class: "ni-label" }, this.label), h("div", { key: '1d35868e9fbfc0b619b7908f91720eb219f2d3cf', class: {
|
|
143
147
|
'ni-wrapper': true,
|
|
144
148
|
[`ni-${this.size}`]: true,
|
|
145
149
|
'ni-error': isError,
|
|
@@ -148,7 +152,7 @@ export class NumberInput {
|
|
|
148
152
|
'ni-right': isRight,
|
|
149
153
|
'ni-rtl': this.rtl,
|
|
150
154
|
'ni-plain': this.variant === 'plain',
|
|
151
|
-
}, dir: this.rtl ? 'rtl' : 'ltr' }, this.showStepper && this.stepperLayout === 'sides' && (h("ui-button", { key: '
|
|
155
|
+
}, dir: this.rtl ? 'rtl' : 'ltr' }, this.showStepper && this.stepperLayout === 'sides' && (h("ui-button", { key: '7fe957464bd26a0aee2c36fc0ab7c4a16a69d9e6', variant: "ghost", onMouseDown: () => this.startStepping('dec'), onMouseUp: this.stopStepping, onMouseLeave: this.stopStepping, onTouchStart: () => this.startStepping('dec'), onTouchEnd: this.stopStepping, onClick: (e) => e.preventDefault(), disabled: this.disabled || this.value <= this.min, tabIndex: -1, ariaLabel: "Decrease", icon: "minus", iconLibrary: "lucide", iconOnly: true, size: this.size === 'sm' || this.size === 'xs' ? 'sm' : 'md' })), this.renderPrefix(), h("ui-input", { key: '520c1bfb3d2a283788e0833bd3c4683f7d0f9991', class: "ni-input", type: "number", value: this.inputValue, min: this.min === -Infinity ? undefined : this.min, max: this.max === Infinity ? undefined : this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, onInputChange: this.handleInput, onInputBlur: this.handleBlur, onFocusInternal: () => (this.isFocused = true), onWheel: (e) => this.handleWheel(e), onInputKeydown: (e) => this.handleKeyDown(e.detail), fullWidth: true, size: this.size, variant: "plain", showTypeIcon: false }), this.renderSuffix(), this.showStepper && isRight && (h("div", { key: '43e78c6e315cb773a7e72e72f12fc67b7652d443', class: "ni-stacker" }, h("ui-button", { key: 'bff9e2be12324bf23ba904c230ed34aca476573e', variant: "ghost", onMouseDown: () => this.startStepping('inc'), onMouseUp: this.stopStepping, onMouseLeave: this.stopStepping, onTouchStart: () => this.startStepping('inc'), onTouchEnd: this.stopStepping, onClick: (e) => e.preventDefault(), disabled: this.disabled || this.value >= this.max, tabIndex: -1, ariaLabel: "Increase", icon: "chevron-up", iconLibrary: "lucide", iconOnly: true, size: "xxs" }), h("ui-button", { key: 'a6a5dcaeac986df1028882fa605f41bef9979bae', variant: "ghost", onMouseDown: () => this.startStepping('dec'), onMouseUp: this.stopStepping, onMouseLeave: this.stopStepping, onTouchStart: () => this.startStepping('dec'), onTouchEnd: this.stopStepping, onClick: (e) => e.preventDefault(), disabled: this.disabled || this.value <= this.min, tabIndex: -1, ariaLabel: "Decrease", icon: "chevron-down", iconLibrary: "lucide", iconOnly: true, size: "xxs" }))), this.showStepper && this.stepperLayout === 'sides' && (h("ui-button", { key: '36d111a0bed7715ffee7fd6b5cd41f1d18ca33a4', variant: "ghost", onMouseDown: () => this.startStepping('inc'), onMouseUp: this.stopStepping, onMouseLeave: this.stopStepping, onTouchStart: () => this.startStepping('inc'), onTouchEnd: this.stopStepping, onClick: (e) => e.preventDefault(), disabled: this.disabled || this.value >= this.max, tabIndex: -1, ariaLabel: "Increase", icon: "plus", iconLibrary: "lucide", iconOnly: true, size: this.size === 'sm' || this.size === 'xs' ? 'sm' : 'md' }))), (this.helperText || this.errorText) && (h("div", { key: '75f9167fa983543f97efbfbf4eae8e66e71a6635', class: { 'ni-helper': true, 'ni-helper-error': isError } }, isError ? this.errorText : this.helperText))));
|
|
152
156
|
}
|
|
153
157
|
renderPrefix() {
|
|
154
158
|
const hasPrefix = this.prefixText || this.prefixIcon;
|
|
@@ -69,6 +69,16 @@
|
|
|
69
69
|
outline: none;
|
|
70
70
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
71
71
|
caret-color: var(--primary-color, var(--color-success, #3dcd58));
|
|
72
|
+
/* Reset inner ui-input container layout details to prevent clipping */
|
|
73
|
+
--ui-input-padding: 0px !important;
|
|
74
|
+
--ui-input-padding-x: 0px !important;
|
|
75
|
+
--input-padding-vertical: 0px !important;
|
|
76
|
+
--input-padding-horizontal: 0px !important;
|
|
77
|
+
--input-height: 100% !important;
|
|
78
|
+
--ui-input-text-align: center;
|
|
79
|
+
display: flex !important;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: center;
|
|
72
82
|
}
|
|
73
83
|
.otp-input-field:hover:not(:disabled) {
|
|
74
84
|
border-color: var(--border-hover, #bbb);
|
|
@@ -214,14 +214,14 @@ export class OtpInput {
|
|
|
214
214
|
'otp-input-invalid': isInvalid,
|
|
215
215
|
'otp-input-skeleton': this.skeleton,
|
|
216
216
|
};
|
|
217
|
-
return (h("div", { key: '
|
|
217
|
+
return (h("div", { key: '927ec2b491c04d013470a0449dea64d4aaaffc76', class: containerClasses, dir: this.rtl ? 'rtl' : 'ltr' }, this.label && h("label", { key: '043dfca110af5012d56b444d7427eb647f851e1b', class: "otp-label" }, this.label), h("div", { key: 'e2e7ab669e26d49206f85afd1f48c9ea7614f591', class: "otp-inputs-container" }, this.otpValues.map((val, index) => {
|
|
218
218
|
const showDivider = this.groupSize > 0 && (index + 1) % this.groupSize === 0 && index !== this.length - 1;
|
|
219
|
-
return (h(Fragment, null, h("ui-input", { ref: el => (this.inputRefs[index] = el), type: this.secure ? 'password' : 'text', inputMode: this.type === 'number' || this.type === 'numeric' ? 'numeric' : 'text', pattern: this.type === 'number' || this.type === 'numeric' ? '[0-9]*' : undefined, maxLength: 1, class: {
|
|
219
|
+
return (h(Fragment, null, h("ui-input", { ref: el => (this.inputRefs[index] = el), type: this.secure ? 'password' : 'text', variant: "plain", inputMode: this.type === 'number' || this.type === 'numeric' ? 'numeric' : 'text', pattern: this.type === 'number' || this.type === 'numeric' ? '[0-9]*' : undefined, maxLength: 1, class: {
|
|
220
220
|
'otp-input-field': true,
|
|
221
221
|
'focused': this.focusedIndex === index,
|
|
222
222
|
'filled': !!val,
|
|
223
223
|
}, value: val, placeholder: this.placeholder, disabled: this.disabled || this.skeleton, readonly: this.readonly, onInputChange: e => this.handleInput(e, index), onInputKeydown: e => this.handleKeyDown(e.detail, index), onPasteInternal: e => (index === 0 ? this.handlePaste(e.detail) : e.detail.preventDefault()), onFocusInternal: () => this.handleFocus(index), onInputBlur: this.handleBlur, ariaLabel: `Digit ${index + 1}`, size: this.size, align: "center" }), showDivider && h("div", { class: "otp-divider" })));
|
|
224
|
-
})), isInvalid && currentErrorText && (h("div", { key: '
|
|
224
|
+
})), isInvalid && currentErrorText && (h("div", { key: '251b384b6cf48e4f0dfa1e64fd128674fb6cfbbb', class: "error-text" }, h("ui-icon", { key: '0c0f65b8e1748e546737710d373ed9ae2cef07cc', name: "exclamation-circle", library: "fontawesome" }), currentErrorText)), !isInvalid && this.helperText && h("div", { key: '740959aeb1bff5f5f20829d953fab02303f83b35', class: "helper-text" }, this.helperText), h("div", { key: 'baeee4149c7086ed794b30957e00cb0d68986368', class: "otp-resend-container" }, h("ui-button", { key: '6ed86116570e10766b3510ab4e024dc4b8933321', variant: "ghost", size: "sm", onClick: this.handleResend, disabled: this.resendTimer > 0 || this.disabled, label: `${this.resendLabel} ${this.resendTimer > 0 ? `(${this.resendTimer}s)` : ''}` }))));
|
|
225
225
|
}
|
|
226
226
|
static get is() { return "ui-otp-input"; }
|
|
227
227
|
static get encapsulation() { return "shadow"; }
|
|
@@ -958,7 +958,7 @@ export class Pagination {
|
|
|
958
958
|
"mutable": false,
|
|
959
959
|
"complexType": {
|
|
960
960
|
"original": "StatusColor",
|
|
961
|
-
"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\"",
|
|
961
|
+
"resolved": "\"black\" | \"borderless\" | \"danger\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\" | \"white\"",
|
|
962
962
|
"references": {
|
|
963
963
|
"StatusColor": {
|
|
964
964
|
"location": "import",
|
|
@@ -102,15 +102,47 @@ export class UIPatternInput {
|
|
|
102
102
|
for (let i = 0; i < this.pattern.length && rawIndex < raw.length; i++) {
|
|
103
103
|
const patternChar = this.pattern[i];
|
|
104
104
|
if (patternChar === this.maskChar) {
|
|
105
|
+
// Primary mask slot (#) — consume one raw character
|
|
106
|
+
formatted += raw[rawIndex];
|
|
107
|
+
rawIndex++;
|
|
108
|
+
}
|
|
109
|
+
else if (patternChar === 'A' && this.maskChar !== 'A') {
|
|
110
|
+
// Secondary mask slot (A) for alphanumeric — consume one raw character
|
|
105
111
|
formatted += raw[rawIndex];
|
|
106
112
|
rawIndex++;
|
|
107
113
|
}
|
|
108
114
|
else {
|
|
115
|
+
// Literal separator — insert as-is without consuming input
|
|
109
116
|
formatted += patternChar;
|
|
110
117
|
}
|
|
111
118
|
}
|
|
112
119
|
return formatted;
|
|
113
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Builds a structural completion regex from the pattern.
|
|
123
|
+
* maskChar (#) → \d | A → [A-Za-z0-9] | other chars → escaped literals.
|
|
124
|
+
* Used as the fallback when no validationRegex prop is supplied.
|
|
125
|
+
*/
|
|
126
|
+
generateFallbackRegex() {
|
|
127
|
+
if (!this.pattern || !this.autoFormat)
|
|
128
|
+
return null;
|
|
129
|
+
let regexStr = '^';
|
|
130
|
+
for (const char of this.pattern) {
|
|
131
|
+
if (char === this.maskChar) {
|
|
132
|
+
regexStr += '\\d';
|
|
133
|
+
}
|
|
134
|
+
else if (char === 'A' && this.maskChar !== 'A') {
|
|
135
|
+
// Conventional secondary mask char for alphanumeric slots
|
|
136
|
+
regexStr += '[A-Za-z0-9]';
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
// Literal separator — escape regex special characters
|
|
140
|
+
regexStr += char.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
regexStr += '$';
|
|
144
|
+
return new RegExp(regexStr);
|
|
145
|
+
}
|
|
114
146
|
validateInput(value) {
|
|
115
147
|
if (!value && !this.required) {
|
|
116
148
|
this.isValid = true;
|
|
@@ -120,20 +152,23 @@ export class UIPatternInput {
|
|
|
120
152
|
this.isValid = false;
|
|
121
153
|
return false;
|
|
122
154
|
}
|
|
155
|
+
let regex = null;
|
|
123
156
|
if (this.validationRegex) {
|
|
157
|
+
// Custom regex provided — use it for semantic validation
|
|
124
158
|
try {
|
|
125
|
-
|
|
126
|
-
const rawValue = this.extractRawValue(value);
|
|
127
|
-
this.isValid = regex.test(rawValue);
|
|
159
|
+
regex = new RegExp(this.validationRegex);
|
|
128
160
|
}
|
|
129
161
|
catch (e) {
|
|
130
162
|
console.error('Invalid validation regex:', e);
|
|
131
163
|
this.isValid = false;
|
|
164
|
+
return false;
|
|
132
165
|
}
|
|
133
166
|
}
|
|
134
167
|
else {
|
|
135
|
-
|
|
168
|
+
// No custom regex — fall back to pattern-completion check
|
|
169
|
+
regex = this.generateFallbackRegex();
|
|
136
170
|
}
|
|
171
|
+
this.isValid = regex ? regex.test(value) : true;
|
|
137
172
|
return this.isValid;
|
|
138
173
|
}
|
|
139
174
|
handleInput = (event) => {
|
|
@@ -233,26 +268,26 @@ export class UIPatternInput {
|
|
|
233
268
|
const charCount = this.getCharCount();
|
|
234
269
|
const showError = this.isTouched && !this.isValid && this.showValidation;
|
|
235
270
|
const showSuccess = this.isTouched && this.isValid && this.value && this.showValidation;
|
|
236
|
-
return (h(Host, { key: '
|
|
271
|
+
return (h(Host, { key: 'a18925eb76dddc52e1a0172c878ff1051ed7c01f', class: {
|
|
237
272
|
'pattern-input-host': true,
|
|
238
273
|
'pattern-input-disabled': this.disabled,
|
|
239
274
|
'pattern-input-focused': this.isFocused,
|
|
240
275
|
'pattern-input-error': showError,
|
|
241
276
|
'pattern-input-success': showSuccess,
|
|
242
|
-
} }, h("div", { key: '
|
|
277
|
+
} }, h("div", { key: 'd0e1971bb1a1d298f5991e368c2f419d0bc7186d', class: "pattern-input-wrapper", dir: this.rtl ? 'rtl' : 'ltr' }, this.label && (h("label", { key: '1297f7081e5f6e70bcb76ecf34774e37eff34000', class: "pattern-input-label" }, this.label, this.required && h("span", { key: 'e7ca7ed1fc824e659f8d73647b52adf7bad25329', class: "pattern-input-required" }, "*"))), h("div", { key: 'd110aa1601cda33f1a626939aa3dcd2a79597d09', class: {
|
|
243
278
|
'pattern-input-container': true,
|
|
244
279
|
[`pattern-input-${this.size}`]: true,
|
|
245
280
|
'pattern-input-container-focused': this.isFocused,
|
|
246
281
|
'pattern-input-container-error': showError,
|
|
247
282
|
'pattern-input-container-success': showSuccess,
|
|
248
|
-
} }, h("slot", { key: '
|
|
283
|
+
} }, h("slot", { key: '7d7543e141f99b9d7dca424f47439cfe14a2b1d1', name: "prefix" }), h("ui-input", { key: '693bf0fa1782b1488053c3b69a3b05bee906dea2', ref: el => (this.inputElement = el), type: "text", class: "pattern-input-field", value: this.value, placeholder: this.placeholder || this.pattern, disabled: this.disabled, required: this.required, name: this.name, maxLength: this.pattern?.length || this.maxLength, onInputChange: this.handleInput, onInputKeydown: (e) => this.handleKeyPress(e.detail), onPasteInternal: (e) => this.handlePaste(e.detail), onFocusInternal: this.handleFocus, onInputBlur: this.handleBlur, ariaInvalid: showError, ariaRequired: this.required, fullWidth: true, size: this.size }), this.showValidation && (h("span", { key: 'f7a2d45bdec22db724fba2e0af8f4683fd67a853', class: "pattern-input-status" }, showError && h("ui-icon", { key: '8d0639eae5b2f0754fe81e5172495e9aafc2989b', name: "x-circle", library: "lucide", size: "1.2em", class: "status-icon status-error" }), showSuccess && h("ui-icon", { key: '2b1b920a941c74db303fbba9e125036a716de009', name: "check-circle", library: "lucide", size: "1.2em", class: "status-icon status-success" }))), this.clearable && this.value && !this.disabled && (h("ui-button", { key: 'edfded0699f5b20612d5548f5c2987acf8ac1d00', variant: "ghost", class: "pattern-input-clear", onClick: () => {
|
|
249
284
|
this.value = '';
|
|
250
285
|
this.patternInputChange.emit({ value: '', formatted: '', isValid: this.required ? false : true });
|
|
251
|
-
}, ariaLabel: "Clear input", icon: "x", iconLibrary: "lucide", iconOnly: true, size: "sm" })), h("slot", { key: '
|
|
286
|
+
}, ariaLabel: "Clear input", icon: "x", iconLibrary: "lucide", iconOnly: true, size: "sm" })), h("slot", { key: '307ce5045f89a48d0be327e107373f54d5934ea2', name: "suffix" })), h("div", { key: '6e791a83f674dbe235545a48c3ee25eeac1e985a', class: "pattern-input-footer" }, h("div", { key: 'e70f47484112f7fd0c0ce1248fca88ae0b5bbd27', class: "pattern-input-messages" }, this.helperText && !validationMsg && (h("span", { key: '564e18bfd03a8e057efc00bff2eab356b3ae1ab3', class: "helper-text" }, this.helperText)), validationMsg && (h("span", { key: 'c33cb23221b97daced7a1787ea4fe2e3dacb97e0', class: {
|
|
252
287
|
'validation-message': true,
|
|
253
288
|
'validation-error': showError,
|
|
254
289
|
'validation-success': showSuccess,
|
|
255
|
-
} }, validationMsg))), this.showCounter && (h("span", { key: '
|
|
290
|
+
} }, validationMsg))), this.showCounter && (h("span", { key: '1dd7787679337def8caf5cae36f547423feb202d', class: "char-counter" }, charCount.current, charCount.max && ` / ${charCount.max}`))))));
|
|
256
291
|
}
|
|
257
292
|
static get is() { return "ui-pattern-input"; }
|
|
258
293
|
static get encapsulation() { return "shadow"; }
|
|
@@ -72,6 +72,10 @@
|
|
|
72
72
|
word-wrap: break-word;
|
|
73
73
|
overflow-wrap: break-word;
|
|
74
74
|
overflow: visible; /* allow arrow tip to show outside panel */
|
|
75
|
+
isolation: isolate;
|
|
76
|
+
margin: 0;
|
|
77
|
+
bottom: auto;
|
|
78
|
+
right: auto;
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
.popover-visible {
|
|
@@ -89,6 +93,7 @@
|
|
|
89
93
|
overflow: hidden; /* stops body content from escaping panel */
|
|
90
94
|
border-radius: inherit; /* rounded corners still clip the content */
|
|
91
95
|
max-height: inherit; /* inherit FloatingUI size-middleware limit */
|
|
96
|
+
background: var(--popover-surface-bg, var(--popover-bg, var(--bg-primary, #ffffff)));
|
|
92
97
|
}
|
|
93
98
|
|
|
94
99
|
/* ── Header ────────────────────────────────────────────────── */
|
|
@@ -100,6 +105,7 @@
|
|
|
100
105
|
padding-block: 12px;
|
|
101
106
|
padding-inline: 16px;
|
|
102
107
|
border-block-end: 1px solid var(--popover-border, var(--border-default, #e5e7eb));
|
|
108
|
+
background: var(--popover-header-bg, var(--popover-surface-bg, var(--popover-bg, var(--bg-primary, #ffffff))));
|
|
103
109
|
}
|
|
104
110
|
|
|
105
111
|
.popover-title {
|
|
@@ -137,6 +143,7 @@
|
|
|
137
143
|
color: var(--popover-text-secondary, var(--text-muted, #6b7280));
|
|
138
144
|
line-height: 1.6;
|
|
139
145
|
overflow-y: auto;
|
|
146
|
+
background: var(--popover-body-bg, var(--popover-surface-bg, var(--popover-bg, var(--bg-primary, #ffffff))));
|
|
140
147
|
/* Thin custom scrollbar */
|
|
141
148
|
scrollbar-width: thin;
|
|
142
149
|
scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
|
|
@@ -166,15 +173,36 @@
|
|
|
166
173
|
|
|
167
174
|
/* ── Variants ──────────────────────────────────────────────── */
|
|
168
175
|
.popover-dark {
|
|
169
|
-
--popover-bg: var(--bg
|
|
170
|
-
--popover-border: var(--border
|
|
171
|
-
--popover-text-primary: var(--
|
|
172
|
-
--popover-text-secondary: var(--
|
|
173
|
-
--popover-footer-bg: rgba(255,255,255,0.04);
|
|
176
|
+
--popover-bg: var(--ghost-popover-bg, #0f172a);
|
|
177
|
+
--popover-border: var(--ghost-popover-border, rgba(148, 163, 184, 0.28));
|
|
178
|
+
--popover-text-primary: var(--ghost-popover-text-primary, #f8fafc);
|
|
179
|
+
--popover-text-secondary: var(--ghost-popover-text-secondary, #cbd5e1);
|
|
180
|
+
--popover-footer-bg: var(--ghost-popover-footer-bg, rgba(255,255,255,0.04));
|
|
181
|
+
--popover-surface-bg: var(--ghost-popover-surface-bg, var(--ghost-popover-bg, #0f172a));
|
|
182
|
+
--popover-header-bg: var(--ghost-popover-header-bg, var(--ghost-popover-surface-bg, var(--ghost-popover-bg, #0f172a)));
|
|
183
|
+
--popover-body-bg: var(--ghost-popover-body-bg, var(--ghost-popover-surface-bg, var(--ghost-popover-bg, #0f172a)));
|
|
184
|
+
color-scheme: dark;
|
|
185
|
+
background: var(--popover-bg);
|
|
186
|
+
box-shadow: 0 18px 40px rgba(2, 6, 23, 0.42), 0 10px 18px rgba(15, 23, 42, 0.26);
|
|
187
|
+
isolation: isolate;
|
|
188
|
+
}
|
|
189
|
+
.popover-dark .popover-inner,
|
|
190
|
+
.popover-dark .popover-header,
|
|
191
|
+
.popover-dark .popover-body {
|
|
192
|
+
background: var(--popover-surface-bg, var(--popover-bg));
|
|
193
|
+
opacity: 1;
|
|
194
|
+
backdrop-filter: none;
|
|
195
|
+
-webkit-backdrop-filter: none;
|
|
174
196
|
}
|
|
175
197
|
.popover-dark .popover-arrow {
|
|
176
|
-
--popover-bg:
|
|
177
|
-
--popover-border:
|
|
198
|
+
--popover-bg: #0f172a;
|
|
199
|
+
--popover-border: rgba(148, 163, 184, 0.28);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.popover-light {
|
|
203
|
+
--popover-surface-bg: var(--ghost-popover-surface-bg, var(--popover-bg, var(--bg-primary, #ffffff)));
|
|
204
|
+
--popover-header-bg: var(--ghost-popover-header-bg, var(--popover-surface-bg));
|
|
205
|
+
--popover-body-bg: var(--ghost-popover-body-bg, var(--popover-surface-bg));
|
|
178
206
|
}
|
|
179
207
|
|
|
180
208
|
.popover-success {
|
|
@@ -123,6 +123,8 @@ export class Popover {
|
|
|
123
123
|
resizeObserver;
|
|
124
124
|
latestSizeData = { width: '', maxWidth: '', maxHeight: '' };
|
|
125
125
|
updateRetries = 0;
|
|
126
|
+
/** Guard flag: true for the brief window after a trigger click, prevents outside-click from firing on the same event */
|
|
127
|
+
_justOpened = false;
|
|
126
128
|
componentWillLoad() {
|
|
127
129
|
this.currentPlacement = this.placement;
|
|
128
130
|
}
|
|
@@ -174,6 +176,13 @@ export class Popover {
|
|
|
174
176
|
if (!this.targetElement) {
|
|
175
177
|
this.setupTrigger();
|
|
176
178
|
}
|
|
179
|
+
this.popoverStyles = {
|
|
180
|
+
position: this.strategy,
|
|
181
|
+
left: '0px',
|
|
182
|
+
top: '0px',
|
|
183
|
+
visibility: 'hidden',
|
|
184
|
+
opacity: '0'
|
|
185
|
+
};
|
|
177
186
|
this.popoverContent = this.element.shadowRoot?.querySelector('.popover');
|
|
178
187
|
this.arrowElement = this.element.shadowRoot?.querySelector('.popover-arrow');
|
|
179
188
|
if (this.popoverContent && !this.resizeObserver) {
|
|
@@ -184,14 +193,20 @@ export class Popover {
|
|
|
184
193
|
this.resizeObserver.observe(this.popoverContent);
|
|
185
194
|
}
|
|
186
195
|
requestAnimationFrame(() => {
|
|
196
|
+
this.cleanup();
|
|
197
|
+
this.targetElement = undefined;
|
|
198
|
+
this.setupTrigger();
|
|
187
199
|
this.startAutoUpdate();
|
|
188
200
|
this.updateAriaAttributes(true);
|
|
189
|
-
// Add outside click listener only when open
|
|
201
|
+
// Add outside click listener only when open.
|
|
202
|
+
// Use a flag + slightly longer timeout to ensure the click that *opened*
|
|
203
|
+
// the popover cannot immediately trigger an outside-click close.
|
|
190
204
|
if (this.closeOnOutsideClick) {
|
|
191
|
-
|
|
205
|
+
this._justOpened = true;
|
|
192
206
|
setTimeout(() => {
|
|
207
|
+
this._justOpened = false;
|
|
193
208
|
document.addEventListener('click', this.handleOutsideClick);
|
|
194
|
-
},
|
|
209
|
+
}, 50);
|
|
195
210
|
}
|
|
196
211
|
if (this.backdrop || this.showCloseButton || this.trigger === 'click') {
|
|
197
212
|
requestAnimationFrame(() => {
|
|
@@ -208,6 +223,13 @@ export class Popover {
|
|
|
208
223
|
this.cleanupAutoUpdate();
|
|
209
224
|
this.cleanupAutoUpdate = undefined;
|
|
210
225
|
}
|
|
226
|
+
this.popoverStyles = {
|
|
227
|
+
position: this.strategy,
|
|
228
|
+
left: '0px',
|
|
229
|
+
top: '0px',
|
|
230
|
+
visibility: 'hidden',
|
|
231
|
+
opacity: '0'
|
|
232
|
+
};
|
|
211
233
|
document.removeEventListener('click', this.handleOutsideClick);
|
|
212
234
|
if (this.focusTrap) {
|
|
213
235
|
this.focusTrap.deactivate();
|
|
@@ -233,6 +255,21 @@ export class Popover {
|
|
|
233
255
|
});
|
|
234
256
|
}
|
|
235
257
|
}
|
|
258
|
+
getLayoutAnchor() {
|
|
259
|
+
let anchor = this.targetElement;
|
|
260
|
+
while (anchor) {
|
|
261
|
+
const style = window.getComputedStyle(anchor);
|
|
262
|
+
if (style && style.display === 'contents') {
|
|
263
|
+
const shadowChild = Array.from(anchor.shadowRoot?.children || []).find((c) => c.tagName !== 'STYLE' && c.tagName !== 'SCRIPT' && c.tagName !== 'SLOT');
|
|
264
|
+
if (shadowChild) {
|
|
265
|
+
anchor = shadowChild;
|
|
266
|
+
continue;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
break;
|
|
270
|
+
}
|
|
271
|
+
return anchor || this.targetElement || this.element;
|
|
272
|
+
}
|
|
236
273
|
setupTrigger() {
|
|
237
274
|
// 1. Check for external target via selector or reference
|
|
238
275
|
if (this.target) {
|
|
@@ -316,6 +353,18 @@ export class Popover {
|
|
|
316
353
|
this.hide();
|
|
317
354
|
};
|
|
318
355
|
handleOutsideClick = (event) => {
|
|
356
|
+
if (this._justOpened && event.isTrusted)
|
|
357
|
+
return;
|
|
358
|
+
// Use composedPath() to correctly detect clicks inside Shadow DOM subtrees
|
|
359
|
+
// (e.g. a ui-button inside a slot="trigger" wrapper, or inside the popover panel)
|
|
360
|
+
const path = event.composedPath ? event.composedPath() : [];
|
|
361
|
+
// Check if click was inside the host element (includes trigger slot children)
|
|
362
|
+
if (path.includes(this.element))
|
|
363
|
+
return;
|
|
364
|
+
// Check if click was inside the floating panel
|
|
365
|
+
if (this.popoverContent && path.includes(this.popoverContent))
|
|
366
|
+
return;
|
|
367
|
+
// Legacy fallback for browsers without composedPath
|
|
319
368
|
if (this.targetElement?.contains(event.target))
|
|
320
369
|
return;
|
|
321
370
|
if (this.popoverContent?.contains(event.target))
|
|
@@ -365,7 +414,9 @@ export class Popover {
|
|
|
365
414
|
}
|
|
366
415
|
if (!this.targetElement || !this.popoverContent)
|
|
367
416
|
return;
|
|
368
|
-
|
|
417
|
+
// Dynamically retrieve the layout anchor to avoid race conditions with display:contents styles
|
|
418
|
+
const anchorEl = this.getLayoutAnchor();
|
|
419
|
+
this.cleanupAutoUpdate = autoUpdate(anchorEl, this.popoverContent, () => this.updatePosition(), { animationFrame: true });
|
|
369
420
|
}
|
|
370
421
|
async updatePosition() {
|
|
371
422
|
// Always re-query the panel and arrow in case they were null during initial mount
|
|
@@ -386,13 +437,17 @@ export class Popover {
|
|
|
386
437
|
return;
|
|
387
438
|
}
|
|
388
439
|
this.updateRetries = 0;
|
|
389
|
-
|
|
440
|
+
// Dynamically retrieve the layout anchor to avoid race conditions with display:contents styles
|
|
441
|
+
const anchorEl = this.getLayoutAnchor();
|
|
442
|
+
const { left, top, placement, availableHeight, availableWidth, arrowX, arrowY } = calculateUniversalPlacement(anchorEl, {
|
|
390
443
|
menuWidth: this.popoverContent.offsetWidth,
|
|
391
444
|
menuHeight: this.popoverContent.offsetHeight,
|
|
392
445
|
gap: this.offset,
|
|
393
446
|
placement: this.autoPlacement ? 'auto' : this.placement.split('-')[0],
|
|
394
447
|
align: this.placement.includes('start') ? 'start' : (this.placement.includes('end') ? 'end' : 'center'),
|
|
395
|
-
padding: this.padding
|
|
448
|
+
padding: this.padding,
|
|
449
|
+
flip: this.flip,
|
|
450
|
+
shift: this.shift
|
|
396
451
|
});
|
|
397
452
|
this.currentPlacement = placement;
|
|
398
453
|
// Constrain size based on available space
|
|
@@ -406,7 +461,7 @@ export class Popover {
|
|
|
406
461
|
position: this.strategy,
|
|
407
462
|
left: `${left}px`,
|
|
408
463
|
top: `${top}px`,
|
|
409
|
-
width: this.matchTriggerWidth ? `${
|
|
464
|
+
width: this.matchTriggerWidth ? `${anchorEl.offsetWidth}px` : (sizeData.width || this.width),
|
|
410
465
|
minWidth: '160px',
|
|
411
466
|
maxWidth: sizeData.maxWidth,
|
|
412
467
|
maxHeight: sizeData.maxHeight,
|
|
@@ -485,7 +540,7 @@ export class Popover {
|
|
|
485
540
|
...this.getPopoverStyle(),
|
|
486
541
|
...this.popoverStyles
|
|
487
542
|
};
|
|
488
|
-
return (h("div", { key: '
|
|
543
|
+
return (h("div", { key: '8c9a3985b10f389cb2fa730830e3872957358435', class: "popover-wrapper" }, h("div", { key: '6b0c31365ecd79e280001c112cd33978d92393aa', class: "popover-trigger" }, h("slot", { key: '0fb48c0444ccd3ce6e7b1a68d12e6fd4b546c654', name: "trigger" }), h("slot", { key: 'e8f8f885ebf70a16b6554b9471ab234bf426d478' })), this.backdrop && this.open && (h("div", { key: '3412a54d36ddceed9ca90bf587db0d7c4c53240a', class: "popover-backdrop", onClick: () => this.hide() })), this.open && (h("div", { key: '8cbc42fedae9130dc5d453366b95ff2b9865a9a2', class: popoverClasses, style: finalPopoverStyle, onMouseEnter: () => this.handlePopoverMouseEnter(), onMouseLeave: () => this.handlePopoverMouseLeave(), role: this.popoverRole, "aria-modal": this.backdrop ? 'true' : 'false', "aria-label": this.heading || undefined }, this.showArrow && h("div", { key: '39c3c7db5436a07e8f39e594e8517e08392f8f50', class: "popover-arrow", style: this.arrowStyles }), h("div", { key: 'caaedac530b821964d6301309b984aefcae798db', class: "popover-inner" }, (this.heading || this.showCloseButton) && (h("div", { key: 'cb939a32a38e56e72c14dcebfada947c19f22ea9', class: "popover-header" }, this.heading && h("div", { key: '55080c2e755a2f4bc9cd45110b2262f57471fde7', class: "popover-title" }, this.heading), this.showCloseButton && (h("ui-button", { key: 'bd92a337a7029d19fa3b4b1e3aa211f12ca38f71', variant: "ghost", size: "xxs", iconOnly: true, class: "popover-close", onClick: () => this.hide(), ariaLabel: "Close", icon: "x", iconLibrary: "lucide", iconSize: "14px" })))), h("div", { key: 'dedbb7ecd61056c89d5c006a442ff83d6de76390', class: "popover-body", style: { maxHeight: this.maxHeight, overflowY: this.maxHeight !== 'none' ? 'auto' : undefined } }, h("slot", { key: 'b838ffbe1fdd208cbe2ca2c8f2e85f290ebfb946', name: "content" }), this.content && h("div", { key: 'e179798f83b9be0ddd68f5d80c1c8df7ff893075', innerHTML: sanitizeHTML(this.content) })), h("slot", { key: '8f235de9f318e3ed6aa386522052bfb6a7c45da3', name: "footer" }))))));
|
|
489
544
|
}
|
|
490
545
|
static get is() { return "ui-popover"; }
|
|
491
546
|
static get encapsulation() { return "shadow"; }
|
|
@@ -770,7 +825,7 @@ export class Popover {
|
|
|
770
825
|
"mutable": false,
|
|
771
826
|
"complexType": {
|
|
772
827
|
"original": "'light' | 'dark' | StatusColor",
|
|
773
|
-
"resolved": "\"borderless\" | \"danger\" | \"dark\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"light\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\"",
|
|
828
|
+
"resolved": "\"black\" | \"borderless\" | \"danger\" | \"dark\" | \"default\" | \"elevated\" | \"error\" | \"flat\" | \"ghost\" | \"glass\" | \"info\" | \"inverse\" | \"light\" | \"loading\" | \"neutral\" | \"none\" | \"outline\" | \"plain\" | \"primary\" | \"raised\" | \"secondary\" | \"soft\" | \"sovereign\" | \"success\" | \"surface\" | \"tertiary\" | \"warning\" | \"white\"",
|
|
774
829
|
"references": {
|
|
775
830
|
"StatusColor": {
|
|
776
831
|
"location": "import",
|