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
|
@@ -24,7 +24,7 @@ export function initButtonDemo() {
|
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
|
-
<div id="buttonDemoContainer" style="margin-top: 32px; padding:
|
|
27
|
+
<div id="buttonDemoContainer" style="margin-top: 32px; padding: 24px; background: var(--bg-primary); border-radius: 24px; border: 1px solid var(--border-default); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);"></div>
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
const updateActiveBtn = id => {
|
|
@@ -51,15 +51,26 @@ export function initButtonDemo() {
|
|
|
51
51
|
btnToggleGroups: () => showButtonToggleGroups(),
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
+
const wireDemoButton = (btn, id, func) => {
|
|
55
|
+
let lastHandledAt = 0;
|
|
56
|
+
const runDemo = () => {
|
|
57
|
+
const now = Date.now();
|
|
58
|
+
if (now - lastHandledAt < 50) return;
|
|
59
|
+
lastHandledAt = now;
|
|
60
|
+
updateActiveBtn(id);
|
|
61
|
+
func();
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
btn.onclick = null;
|
|
65
|
+
btn.addEventListener('click', runDemo);
|
|
66
|
+
btn.addEventListener('buttonClick', runDemo);
|
|
67
|
+
};
|
|
68
|
+
|
|
54
69
|
setTimeout(() => {
|
|
55
70
|
Object.entries(demoMap).forEach(([id, func]) => {
|
|
56
71
|
const btn = document.getElementById(id);
|
|
57
72
|
if (btn) {
|
|
58
|
-
btn
|
|
59
|
-
btn.addEventListener('click', () => {
|
|
60
|
-
updateActiveBtn(id);
|
|
61
|
-
func();
|
|
62
|
-
});
|
|
73
|
+
wireDemoButton(btn, id, func);
|
|
63
74
|
}
|
|
64
75
|
});
|
|
65
76
|
|
|
@@ -77,29 +88,29 @@ function showFormButtons() {
|
|
|
77
88
|
container.innerHTML = `
|
|
78
89
|
<div class="demo-block">
|
|
79
90
|
<h3>Form Actions & Native Integration</h3>
|
|
80
|
-
<p style="color:
|
|
91
|
+
<p style="color: var(--text-secondary); margin-bottom: 24px;">Buttons can act as native form submitters, resets, or triggers for custom validation logic. They also support image and avatar modes for profile interactions.</p>
|
|
81
92
|
|
|
82
|
-
<div style="background:
|
|
93
|
+
<div style="background: var(--bg-secondary); padding: 32px; border-radius: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: 1px solid var(--border-default); max-width: 500px; margin: 0 auto;">
|
|
83
94
|
<form id="demoForm" style="display: flex; flex-direction: column; gap: 20px;">
|
|
84
95
|
<div style="display: flex; flex-direction: column; gap: 8px;">
|
|
85
|
-
<label style="font-size: 13px; font-weight: 600; color:
|
|
96
|
+
<label style="font-size: 13px; font-weight: 600; color: var(--text-primary);">Profile Picture</label>
|
|
86
97
|
<div style="display: flex; align-items: center; gap: 16px;">
|
|
87
|
-
<ui-button type="avatar" avatar-src="
|
|
98
|
+
<ui-button type="avatar" avatar-src="/build/assets/images/logo.png" avatar-alt="User" size="xl" status="online"></ui-button>
|
|
88
99
|
<ui-button variant="soft" size="md" icon="camera" label="Change Photo"></ui-button>
|
|
89
100
|
</div>
|
|
90
101
|
</div>
|
|
91
102
|
|
|
92
103
|
<div style="display: flex; flex-direction: column; gap: 8px;">
|
|
93
|
-
<label style="font-size: 13px; font-weight: 600; color:
|
|
104
|
+
<label style="font-size: 13px; font-weight: 600; color: var(--text-primary);">Username</label>
|
|
94
105
|
<ui-input placeholder="Enter username" value="antigravity_user" variant="filled"></ui-input>
|
|
95
106
|
</div>
|
|
96
107
|
|
|
97
108
|
<div style="display: flex; flex-direction: column; gap: 8px;">
|
|
98
|
-
<label style="font-size: 13px; font-weight: 600; color:
|
|
109
|
+
<label style="font-size: 13px; font-weight: 600; color: var(--text-primary);">Bio</label>
|
|
99
110
|
<ui-input type="textarea" placeholder="Tell us about yourself..." variant="filled"></ui-input>
|
|
100
111
|
</div>
|
|
101
112
|
|
|
102
|
-
<div style="display: flex; justify-content: flex-end; gap: 12px; margin-top: 12px; padding-top: 20px; border-top: 1px solid
|
|
113
|
+
<div style="display: flex; justify-content: flex-end; gap: 12px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--border-default);">
|
|
103
114
|
<ui-button type="reset" variant="ghost" label="Reset"></ui-button>
|
|
104
115
|
<ui-button type="submit" variant="primary" label="Save Changes" icon="check" icon-library="lucide"></ui-button>
|
|
105
116
|
</div>
|
|
@@ -110,18 +121,18 @@ function showFormButtons() {
|
|
|
110
121
|
<div class="demo-block" style="margin-top: 40px;">
|
|
111
122
|
<h3>Specialized Form Buttons</h3>
|
|
112
123
|
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px;">
|
|
113
|
-
<div style="background:
|
|
114
|
-
<span style="font-size: 11px; font-weight: 700; color:
|
|
115
|
-
<ui-button type="image" img-src="
|
|
124
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px dashed var(--border-default); display: flex; flex-direction: column; gap: 10px; align-items: center;">
|
|
125
|
+
<span style="font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase;">Image Button</span>
|
|
126
|
+
<ui-button type="image" img-src="/build/assets/images/nature_forest_1.png" img-alt="Banner" style="width: 200px; height: 100px;"></ui-button>
|
|
116
127
|
</div>
|
|
117
128
|
|
|
118
|
-
<div style="background:
|
|
119
|
-
<span style="font-size: 11px; font-weight: 700; color:
|
|
129
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px dashed var(--border-default); display: flex; flex-direction: column; gap: 10px; align-items: center;">
|
|
130
|
+
<span style="font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase;">File Upload Trigger</span>
|
|
120
131
|
<ui-button variant="outline" icon="upload-cloud" label="Upload Document" dashed></ui-button>
|
|
121
132
|
</div>
|
|
122
133
|
|
|
123
|
-
<div style="background:
|
|
124
|
-
<span style="font-size: 11px; font-weight: 700; color:
|
|
134
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px dashed var(--border-default); display: flex; flex-direction: column; gap: 10px; align-items: center;">
|
|
135
|
+
<span style="font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase;">Destructive Action</span>
|
|
125
136
|
<ui-button variant="soft" color="danger" icon="trash-2" label="Delete Account"></ui-button>
|
|
126
137
|
</div>
|
|
127
138
|
</div>
|
|
@@ -174,7 +185,9 @@ function showButtonSizes() {
|
|
|
174
185
|
|
|
175
186
|
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" label="With Icon"></ui-button>
|
|
176
187
|
|
|
177
|
-
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" label="With Badge" badge="8"></ui-button>
|
|
188
|
+
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" label="With Badge" badge="8" badge-color="danger"></ui-button>
|
|
189
|
+
|
|
190
|
+
<ui-button size="${s.id}" variant="${s.variant}" label="With Counter" counter="5" counter-color="info"></ui-button>
|
|
178
191
|
|
|
179
192
|
<ui-button size="${s.id}" variant="${s.variant}" icon="${s.icon}" icon-library="lucide" icon-only shape="circle"></ui-button>
|
|
180
193
|
|
|
@@ -223,32 +236,32 @@ function showButtonIcons() {
|
|
|
223
236
|
|
|
224
237
|
<div class="demo-block" style="margin-top: 24px;">
|
|
225
238
|
<h3>Icon Only Shape Masterclass</h3>
|
|
226
|
-
<p style="color:
|
|
227
|
-
<div style="display: flex; gap: 20px; align-items: center; flex-wrap: wrap; background:
|
|
239
|
+
<p style="color: var(--text-secondary); margin-bottom: 12px;">The <code>icon-only</code> prop now defaults to a <strong>Rounded Square</strong> (8px) for consistent branding. Use the <code>shape="circle"</code> or <code>circle</code> prop to achieve the classic circular look.</p>
|
|
240
|
+
<div style="display: flex; gap: 20px; align-items: center; flex-wrap: wrap; background: var(--bg-secondary); border: 1px solid var(--border-default); padding: 20px; border-radius: 12px;">
|
|
228
241
|
|
|
229
242
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
230
243
|
<ui-button icon="settings" icon-library="lucide" icon-only variant="primary" size="lg" shape="circle"></ui-button>
|
|
231
|
-
<span style="font-size: 11px; font-weight: 700; color:
|
|
244
|
+
<span style="font-size: 11px; font-weight: 700; color:var(--text-secondary,#64748b);">SHAPE="CIRCLE"</span>
|
|
232
245
|
</div>
|
|
233
246
|
|
|
234
247
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
235
248
|
<ui-button icon="bell" icon-library="lucide" icon-only variant="success" size="lg"></ui-button>
|
|
236
|
-
<span style="font-size: 11px; font-weight: 700; color:
|
|
249
|
+
<span style="font-size: 11px; font-weight: 700; color:var(--text-secondary,#64748b);">DEFAULT (ROUNDED)</span>
|
|
237
250
|
</div>
|
|
238
251
|
|
|
239
252
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
240
253
|
<ui-button icon="share-2" icon-library="lucide" icon-only variant="warning" size="lg" shape="square"></ui-button>
|
|
241
|
-
<span style="font-size: 11px; font-weight: 700; color:
|
|
254
|
+
<span style="font-size: 11px; font-weight: 700; color:var(--text-secondary,#64748b);">SQUARE (SHARP)</span>
|
|
242
255
|
</div>
|
|
243
256
|
|
|
244
257
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
245
258
|
<ui-button icon="mail" icon-library="lucide" icon-only variant="danger" size="lg" pill></ui-button>
|
|
246
|
-
<span style="font-size: 11px; font-weight: 700; color:
|
|
259
|
+
<span style="font-size: 11px; font-weight: 700; color:var(--text-secondary,#64748b);">PILL EXTENDED</span>
|
|
247
260
|
</div>
|
|
248
261
|
|
|
249
262
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
250
263
|
<ui-button icon="plus" icon-library="lucide" variant="primary" shape="circle" size="lg" elevation="3" glow></ui-button>
|
|
251
|
-
<span style="font-size: 11px; font-weight: 700; color:
|
|
264
|
+
<span style="font-size: 11px; font-weight: 700; color:var(--text-secondary,#64748b);">FAB MODE</span>
|
|
252
265
|
</div>
|
|
253
266
|
|
|
254
267
|
</div>
|
|
@@ -261,7 +274,7 @@ function showButtonIcons() {
|
|
|
261
274
|
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;">
|
|
262
275
|
|
|
263
276
|
<!-- FontAwesome & Bootstrap -->
|
|
264
|
-
<div style="background:
|
|
277
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px solid var(--border-default);">
|
|
265
278
|
<h4 style="margin: 0 0 12px 0;">Classic Font Libraries</h4>
|
|
266
279
|
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
267
280
|
<ui-button label="FontAwesome" icon="fa-solid fa-flag" icon-library="fontawesome" variant="primary" size="md"></ui-button>
|
|
@@ -274,7 +287,7 @@ function showButtonIcons() {
|
|
|
274
287
|
</div>
|
|
275
288
|
|
|
276
289
|
<!-- Lucide & Ionicons -->
|
|
277
|
-
<div style="background:
|
|
290
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px solid var(--border-default);">
|
|
278
291
|
<h4 style="margin: 0 0 12px 0;">Modern SVG Libraries</h4>
|
|
279
292
|
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
280
293
|
<ui-button label="Lucide" icon="zap" icon-library="lucide" variant="info" size="md"></ui-button>
|
|
@@ -287,7 +300,7 @@ function showButtonIcons() {
|
|
|
287
300
|
</div>
|
|
288
301
|
|
|
289
302
|
<!-- Iconoir & LineAwesome -->
|
|
290
|
-
<div style="background:
|
|
303
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px solid var(--border-default);">
|
|
291
304
|
<h4 style="margin: 0 0 12px 0;">Designer Libraries</h4>
|
|
292
305
|
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
293
306
|
<ui-button label="Iconoir" icon="iconoir-bright-star" icon-library="iconoir" variant="success" size="md"></ui-button>
|
|
@@ -300,7 +313,7 @@ function showButtonIcons() {
|
|
|
300
313
|
</div>
|
|
301
314
|
|
|
302
315
|
<!-- Custom: URL, SVG, Emoji -->
|
|
303
|
-
<div style="background:
|
|
316
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px solid var(--border-default);">
|
|
304
317
|
<h4 style="margin: 0 0 12px 0;">Custom Assets</h4>
|
|
305
318
|
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
306
319
|
<ui-button label="URL Image" icon="https://raw.githubusercontent.com/lucide-icons/lucide/main/icons/heart.svg" variant="outline" size="md"></ui-button>
|
|
@@ -317,13 +330,13 @@ function showButtonIcons() {
|
|
|
317
330
|
|
|
318
331
|
<div class="demo-block" style="margin-top: 24px;">
|
|
319
332
|
<h3>Badge Masterclass</h3>
|
|
320
|
-
<p style="color:
|
|
333
|
+
<p style="color: var(--text-secondary); margin-bottom: 24px;">Badges now correctly overflow the button corners. Demonstrate different shapes, positions, and color variants.</p>
|
|
321
334
|
|
|
322
|
-
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; background:
|
|
335
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; background: var(--bg-secondary); border: 1px solid var(--border-default); padding: 24px; border-radius: 16px;">
|
|
323
336
|
|
|
324
337
|
<!-- Shapes & Badges -->
|
|
325
338
|
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
326
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
339
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b);">SHAPES & CORNERS</h4>
|
|
327
340
|
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
328
341
|
<ui-button icon="bell" icon-library="lucide" icon-only badge="9+" variant="primary"></ui-button>
|
|
329
342
|
<ui-button icon="mail" icon-library="lucide" icon-only badge="3" variant="success" shape="circle"></ui-button>
|
|
@@ -333,7 +346,7 @@ function showButtonIcons() {
|
|
|
333
346
|
|
|
334
347
|
<!-- Variants & Colors -->
|
|
335
348
|
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
336
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
349
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b);">BADGE VARIANTS</h4>
|
|
337
350
|
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
338
351
|
<ui-button label="Alert" badge="!" variant="outline" badge-color="warning"></ui-button>
|
|
339
352
|
<ui-button label="Done" badge="✓" variant="outline" badge-color="success"></ui-button>
|
|
@@ -343,7 +356,7 @@ function showButtonIcons() {
|
|
|
343
356
|
|
|
344
357
|
<!-- Positions -->
|
|
345
358
|
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
346
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
359
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b);">POSITIONS</h4>
|
|
347
360
|
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
348
361
|
<ui-button icon="bell" icon-library="lucide" icon-only badge="TR" badge-position="top-right" variant="secondary"></ui-button>
|
|
349
362
|
<ui-button icon="bell" icon-library="lucide" icon-only badge="TL" badge-position="top-left" variant="secondary"></ui-button>
|
|
@@ -352,13 +365,34 @@ function showButtonIcons() {
|
|
|
352
365
|
</div>
|
|
353
366
|
</div>
|
|
354
367
|
|
|
368
|
+
<!-- Inline Counters (Inside Button on Right Side) -->
|
|
369
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
370
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b);">INLINE COUNTERS</h4>
|
|
371
|
+
<div style="display: flex; gap: 12px; flex-wrap: wrap;">
|
|
372
|
+
<ui-button label="Inbox" counter="12" variant="outline" counter-color="primary"></ui-button>
|
|
373
|
+
<ui-button label="Alerts" counter="!" variant="outline" counter-color="danger"></ui-button>
|
|
374
|
+
<ui-button label="Done" counter="✓" variant="outline" counter-color="success"></ui-button>
|
|
375
|
+
<ui-button label="Custom" counter="Premium" variant="outline" counter-custom-color="#8b5cf6" counter-custom-text-color="#ffffff"></ui-button>
|
|
376
|
+
</div>
|
|
377
|
+
</div>
|
|
378
|
+
|
|
379
|
+
<!-- Both Overlay Badge and Inline Counter together with different colors -->
|
|
380
|
+
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
381
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b);">BOTH BADGE (OVERLAY) & COUNTER (INLINE)</h4>
|
|
382
|
+
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
383
|
+
<ui-button label="Inbox" badge="9+" badge-color="danger" counter="12" variant="outline" counter-color="primary"></ui-button>
|
|
384
|
+
<ui-button label="Notifications" badge="New" badge-color="success" counter="5" variant="outline" counter-color="info"></ui-button>
|
|
385
|
+
<ui-button label="Custom Styles" badge="PRO" badge-custom-color="#8b5cf6" badge-custom-text-color="#ffffff" counter="Hot" variant="outline" counter-color="warning"></ui-button>
|
|
386
|
+
</div>
|
|
387
|
+
</div>
|
|
388
|
+
|
|
355
389
|
</div>
|
|
356
390
|
</div>
|
|
357
391
|
|
|
358
392
|
<div class="demo-block" style="margin-top: 24px;">
|
|
359
393
|
<h3>Interactive Counter</h3>
|
|
360
|
-
<p style="color:
|
|
361
|
-
<div style="display: flex; gap: 20px; align-items: center; background:
|
|
394
|
+
<p style="color: var(--text-secondary); margin-bottom: 24px;">Click the button below to see the counter increment dynamically. This demonstrates real-time badge updates.</p>
|
|
395
|
+
<div style="display: flex; gap: 20px; align-items: center; background: var(--bg-secondary); border: 1px solid var(--border-default); padding: 24px; border-radius: 16px;">
|
|
362
396
|
<ui-button id="counterBtn" icon="shopping-cart" icon-library="lucide" label="Add to Cart" badge="0" variant="primary"></ui-button>
|
|
363
397
|
<ui-button id="resetCounterBtn" label="Reset Counter" variant="ghost" size="sm" color="danger"></ui-button>
|
|
364
398
|
</div>
|
|
@@ -395,7 +429,7 @@ function showPremiumButtons() {
|
|
|
395
429
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;">
|
|
396
430
|
|
|
397
431
|
<!-- Soft Variants -->
|
|
398
|
-
<div class="demo-card-inner" style="padding: 20px; background:
|
|
432
|
+
<div class="demo-card-inner" style="padding: 20px; background: var(--bg-secondary); border:1px solid var(--border-default); border-radius: 12px;">
|
|
399
433
|
<h4 style="margin: 0 0 16px 0;">☁️ Soft Variants</h4>
|
|
400
434
|
<div style="display: flex; gap: 10px; flex-wrap: wrap;">
|
|
401
435
|
<ui-button label="Primary" variant="outline" color="primary"></ui-button>
|
|
@@ -406,7 +440,7 @@ function showPremiumButtons() {
|
|
|
406
440
|
</div>
|
|
407
441
|
|
|
408
442
|
<!-- Gradients -->
|
|
409
|
-
<div class="demo-card-inner" style="padding: 20px; background:
|
|
443
|
+
<div class="demo-card-inner" style="padding: 20px; background: var(--bg-secondary); border:1px solid var(--border-default); border-radius: 12px;">
|
|
410
444
|
<h4 style="margin: 0 0 16px 0;">🌈 Gradient Variants</h4>
|
|
411
445
|
<div style="display: flex; gap: 10px; flex-wrap: wrap;">
|
|
412
446
|
<ui-button label="Brand" variant="gradient"></ui-button>
|
|
@@ -421,7 +455,7 @@ function showPremiumButtons() {
|
|
|
421
455
|
</div>
|
|
422
456
|
|
|
423
457
|
<!-- Shortcuts & Copy -->
|
|
424
|
-
<div class="demo-card-inner" style="padding: 20px; background:
|
|
458
|
+
<div class="demo-card-inner" style="padding: 20px; background: var(--bg-secondary); border:1px solid var(--border-default); border-radius: 12px;">
|
|
425
459
|
<h4 style="margin: 0 0 16px 0;">📋 Utilities</h4>
|
|
426
460
|
<div style="display: grid; gap: 12px;">
|
|
427
461
|
<ui-button label="Copy API ID" icon="copy" icon-library="lucide" copy-value="ID_45920-X" variant="outline" full-width></ui-button>
|
|
@@ -431,7 +465,7 @@ function showPremiumButtons() {
|
|
|
431
465
|
</div>
|
|
432
466
|
|
|
433
467
|
<!-- States -->
|
|
434
|
-
<div class="demo-card-inner" style="padding: 20px; background:
|
|
468
|
+
<div class="demo-card-inner" style="padding: 20px; background: var(--bg-primary); border: 1px solid var(--border-default); border-radius: 12px;">
|
|
435
469
|
<h4 style="margin: 0 0 16px 0;">🦾 Advanced States</h4>
|
|
436
470
|
<div style="display: flex; gap: 12px; flex-wrap: wrap; align-items: center;">
|
|
437
471
|
<ui-button label="Skeleton" skeleton variant="primary" width="120px"></ui-button>
|
|
@@ -442,7 +476,7 @@ function showPremiumButtons() {
|
|
|
442
476
|
|
|
443
477
|
</div>
|
|
444
478
|
|
|
445
|
-
<div class="demo-block" style="margin-top: 32px; background:
|
|
479
|
+
<div class="demo-block" style="margin-top: 32px; background: var(--bg-secondary); border: 1px solid var(--border-default); padding: 24px; border-radius: 16px;">
|
|
446
480
|
<h3>📱 Responsive Labels</h3>
|
|
447
481
|
<p style="margin-bottom: 20px; opacity: 0.8;">Resize your browser below 640px. The label "Edit Profile" will automatically hide and the button will collapse to its icon.</p>
|
|
448
482
|
<ui-button label="Edit Profile" icon="user" icon-library="lucide" hide-label-on-mobile variant="primary" size="lg" shape="pill"></ui-button>
|
|
@@ -462,8 +496,8 @@ function showGodModeButtons() {
|
|
|
462
496
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px;">
|
|
463
497
|
|
|
464
498
|
<!-- Safety & Critical Flows -->
|
|
465
|
-
<div class="demo-card-inner" style="padding: 24px; background:
|
|
466
|
-
<h4 style="margin: 0 0 20px 0; color:
|
|
499
|
+
<div class="demo-card-inner" style="padding: 24px; background: var(--bg-secondary); border:1px solid var(--border-default); border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);">
|
|
500
|
+
<h4 style="margin: 0 0 20px 0; color:var(--accent-red,#ef4444);">🛡️ High-Stakes Safety</h4>
|
|
467
501
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
468
502
|
<ui-button label="Purge Memory" variant="danger" hold-time="2000" shake audio="error" haptic full-width></ui-button>
|
|
469
503
|
<ui-button label="Delete Cloud" variant="outline" color="danger" confirm-bubble confirm-label="Permanent Delete?" audio="error" full-width></ui-button>
|
|
@@ -472,8 +506,8 @@ function showGodModeButtons() {
|
|
|
472
506
|
</div>
|
|
473
507
|
|
|
474
508
|
<!-- Hyper-Premium Aesthetics -->
|
|
475
|
-
<div class="demo-card-inner" style="padding: 24px; background:
|
|
476
|
-
<h4 style="margin: 0 0 20px 0; color:
|
|
509
|
+
<div class="demo-card-inner" style="padding: 24px; background: var(--bg-secondary); border:1px solid var(--border-default); border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);">
|
|
510
|
+
<h4 style="margin: 0 0 20px 0; color:var(--accent-purple,#8b5cf6);">🕹️ Hyper-Aesthetics</h4>
|
|
477
511
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
478
512
|
<ui-button label="VIP Rainbow Glow" variant="dark" glow rainbow glossy audio="click" full-width></ui-button>
|
|
479
513
|
<ui-button label="Liquid Wave Progress" variant="primary" progress="45" liquid audio="click" full-width></ui-button>
|
|
@@ -482,8 +516,8 @@ function showGodModeButtons() {
|
|
|
482
516
|
</div>
|
|
483
517
|
|
|
484
518
|
<!-- Smart Branding & Toggling -->
|
|
485
|
-
<div class="demo-card-inner" style="padding: 24px; background:
|
|
486
|
-
<h4 style="margin: 0 0 20px 0; color:
|
|
519
|
+
<div class="demo-card-inner" style="padding: 24px; background: var(--bg-secondary); border:1px solid var(--border-default); border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);">
|
|
520
|
+
<h4 style="margin: 0 0 20px 0; color:var(--accent-yellow,#f59e0b);">🏗️ Orchestrated Motion</h4>
|
|
487
521
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
488
522
|
<div style="display: flex; gap: 10px;">
|
|
489
523
|
<ui-button label="1" variant="outline" reveal="slide-up" reveal-delay="0"></ui-button>
|
|
@@ -515,8 +549,6 @@ function showGodModeButtons() {
|
|
|
515
549
|
glow
|
|
516
550
|
haptic
|
|
517
551
|
celebrate
|
|
518
|
-
shatter spin-on-click
|
|
519
|
-
audio-src="https://www.soundjay.com/buttons/sounds/button-10.mp3"
|
|
520
552
|
></ui-button>
|
|
521
553
|
</div>
|
|
522
554
|
</div>
|
|
@@ -525,15 +557,14 @@ function showGodModeButtons() {
|
|
|
525
557
|
}
|
|
526
558
|
|
|
527
559
|
function showInteractiveButton() {
|
|
528
|
-
const container = document.getElementById('buttonDemoContainer');
|
|
560
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
529
561
|
if (!container) return;
|
|
530
|
-
|
|
531
562
|
container.innerHTML = `
|
|
532
|
-
<div class="playground-wrapper" style="display: flex; height: 800px; background:
|
|
563
|
+
<div class="playground-wrapper" style="display: flex; height: 800px; background: var(--bg-secondary); border-radius: 24px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); border: 1px solid var(--border-default);">
|
|
533
564
|
<!-- Left Sidebar: Component Workbench -->
|
|
534
|
-
<div class="playground-sidebar" style="width: 400px; flex-shrink: 0; border-right: 1px solid
|
|
535
|
-
<div style="padding: 28px; border-bottom: 1px solid
|
|
536
|
-
<h3 style="margin: 0; font-size: 1.2rem; background: linear-gradient(to right,
|
|
565
|
+
<div class="playground-sidebar" style="width: 400px; flex-shrink: 0; border-right: 1px solid var(--border-default); background: var(--bg-secondary); display: flex; flex-direction: column;">
|
|
566
|
+
<div style="padding: 28px; border-bottom: 1px solid var(--border-default); flex-shrink: 0;">
|
|
567
|
+
<h3 style="margin: 0; font-size: 1.2rem; background: linear-gradient(to right, var(--text-primary), var(--text-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em;">
|
|
537
568
|
<ui-icon name="tool" library="lucide" color="primary"></ui-icon>
|
|
538
569
|
Component Workbench
|
|
539
570
|
</h3>
|
|
@@ -543,8 +574,8 @@ function showInteractiveButton() {
|
|
|
543
574
|
<!-- Section: Aesthetics -->
|
|
544
575
|
<div class="setting-card">
|
|
545
576
|
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
546
|
-
<div style="width: 32px; height: 32px; border-radius: 8px; background:
|
|
547
|
-
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color:
|
|
577
|
+
<div style="width: 32px; height: 32px; border-radius: 8px; background: var(--bg-primary); display: flex; align-items: center; justify-content: center;"><ui-icon name="palette" size="16px" color="primary"></ui-icon></div>
|
|
578
|
+
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); font-weight: 700;">Aesthetics & Branding</h4>
|
|
548
579
|
</div>
|
|
549
580
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
550
581
|
<ui-input id="btnLabel" label="Visual Label" value="Click Me!" size="md" variant="outlined"></ui-input>
|
|
@@ -556,7 +587,7 @@ function showInteractiveButton() {
|
|
|
556
587
|
{"label": "Glass", "value": "glass"}, {"label": "Raised", "value": "raised"},
|
|
557
588
|
{"label": "Dark", "value": "dark"}, {"label": "Gradient (Brand)", "value": "gradient"}
|
|
558
589
|
]' size="md" variant="outlined"></ui-dropdown>
|
|
559
|
-
|
|
590
|
+
|
|
560
591
|
<ui-dropdown id="btnSize" label="Scale" value="md" options='[
|
|
561
592
|
{"label": "XS", "value": "xs"}, {"label": "Small", "value": "sm"},
|
|
562
593
|
{"label": "Medium", "value": "md"}, {"label": "Large", "value": "lg"},
|
|
@@ -567,15 +598,15 @@ function showInteractiveButton() {
|
|
|
567
598
|
{"label": "Pill", "value": "pill"}, {"label": "Chip", "value": "chip"},
|
|
568
599
|
{"label": "Circle", "value": "circle"}
|
|
569
600
|
]' size="md" variant="outlined"></ui-dropdown>
|
|
570
|
-
|
|
601
|
+
|
|
571
602
|
</div>
|
|
572
603
|
</div>
|
|
573
604
|
|
|
574
605
|
<!-- Section: Icons -->
|
|
575
606
|
<div class="setting-card">
|
|
576
607
|
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
577
|
-
<div style="width: 32px; height: 32px; border-radius: 8px; background:
|
|
578
|
-
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color:
|
|
608
|
+
<div style="width: 32px; height: 32px; border-radius: 8px; background: var(--bg-primary); display: flex; align-items: center; justify-content: center;"><ui-icon name="image" size="16px" color="danger"></ui-icon></div>
|
|
609
|
+
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); font-weight: 700;">Icons & Adornments</h4>
|
|
579
610
|
</div>
|
|
580
611
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
581
612
|
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
@@ -593,14 +624,40 @@ function showInteractiveButton() {
|
|
|
593
624
|
]' size="md" variant="outlined"></ui-dropdown>
|
|
594
625
|
<ui-input id="btnBadge" label="Overlay Badge" value="" size="md" variant="outlined" placeholder="e.g. 9+"></ui-input>
|
|
595
626
|
</div>
|
|
627
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
628
|
+
<ui-dropdown id="btnBadgeColor" label="Badge Color" value="danger" options='[
|
|
629
|
+
{"label": "Primary", "value": "primary"},
|
|
630
|
+
{"label": "Secondary", "value": "secondary"},
|
|
631
|
+
{"label": "Success", "value": "success"},
|
|
632
|
+
{"label": "Danger", "value": "danger"},
|
|
633
|
+
{"label": "Warning", "value": "warning"},
|
|
634
|
+
{"label": "Info", "value": "info"}
|
|
635
|
+
]' size="md" variant="outlined"></ui-dropdown>
|
|
636
|
+
<ui-input id="btnCounter" label="Inline Counter" value="" size="md" variant="outlined" placeholder="e.g. 5"></ui-input>
|
|
637
|
+
</div>
|
|
638
|
+
<div style="display: grid; grid-template-columns: 1fr; gap: 12px;">
|
|
639
|
+
<ui-dropdown id="btnCounterColor" label="Counter Color" value="" options='[
|
|
640
|
+
{"label": "Default", "value": ""},
|
|
641
|
+
{"label": "Primary", "value": "primary"},
|
|
642
|
+
{"label": "Secondary", "value": "secondary"},
|
|
643
|
+
{"label": "Success", "value": "success"},
|
|
644
|
+
{"label": "Danger", "value": "danger"},
|
|
645
|
+
{"label": "Warning", "value": "warning"},
|
|
646
|
+
{"label": "Info", "value": "info"}
|
|
647
|
+
]' size="md" variant="outlined"></ui-dropdown>
|
|
648
|
+
</div>
|
|
649
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
650
|
+
<ui-input id="btnCounterCustomColor" label="Custom Bg" value="" size="md" variant="outlined" placeholder="e.g. #8b5cf6"></ui-input>
|
|
651
|
+
<ui-input id="btnCounterCustomTextColor" label="Custom Text" value="" size="md" variant="outlined" placeholder="e.g. #ffffff"></ui-input>
|
|
652
|
+
</div>
|
|
596
653
|
</div>
|
|
597
654
|
</div>
|
|
598
655
|
|
|
599
656
|
<!-- Section: Advanced Behaviors -->
|
|
600
657
|
<div class="setting-card">
|
|
601
658
|
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
602
|
-
<div style="width: 32px; height: 32px; border-radius: 8px; background:
|
|
603
|
-
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color:
|
|
659
|
+
<div style="width: 32px; height: 32px; border-radius: 8px; background: var(--bg-primary); display: flex; align-items: center; justify-content: center;"><ui-icon name="zap" size="16px" color="info"></ui-icon></div>
|
|
660
|
+
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); font-weight: 700;">Operational States</h4>
|
|
604
661
|
</div>
|
|
605
662
|
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
606
663
|
<ui-checkbox id="btnLoading" label="Loading Mode" size="md"></ui-checkbox>
|
|
@@ -613,10 +670,10 @@ function showInteractiveButton() {
|
|
|
613
670
|
</div>
|
|
614
671
|
|
|
615
672
|
<!-- Section: God Mode -->
|
|
616
|
-
<div class="setting-card" style="border-left: 4px solid #8b5cf6;">
|
|
673
|
+
<div class="setting-card" style="border-left: 4px solid var(--color-primary, #8b5cf6);">
|
|
617
674
|
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
618
|
-
<div style="width: 32px; height: 32px; border-radius: 8px; background:
|
|
619
|
-
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color:
|
|
675
|
+
<div style="width: 32px; height: 32px; border-radius: 8px; background: var(--bg-primary); display: flex; align-items: center; justify-content: center;"><ui-icon name="sparkles" size="16px" color="primary"></ui-icon></div>
|
|
676
|
+
<h4 style="margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); font-weight: 700;">Zenith Features</h4>
|
|
620
677
|
</div>
|
|
621
678
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
622
679
|
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
@@ -634,10 +691,10 @@ function showInteractiveButton() {
|
|
|
634
691
|
</div>
|
|
635
692
|
|
|
636
693
|
<!-- Main Preview Area -->
|
|
637
|
-
<div class="playground-main" style="flex: 1; display: flex; flex-direction: column; background:
|
|
638
|
-
<div style="padding: 20px 32px; border-bottom: 1px solid
|
|
694
|
+
<div class="playground-main" style="flex: 1; display: flex; flex-direction: column; background: var(--bg-primary);">
|
|
695
|
+
<div style="padding: 20px 32px; border-bottom: 1px solid var(--border-default); display: flex; justify-content: space-between; align-items: center; background: var(--bg-secondary);">
|
|
639
696
|
<div style="display: flex; gap: 12px; align-items: center;">
|
|
640
|
-
<span style="font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color:
|
|
697
|
+
<span style="font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 700;">Synthesis Visualizer</span>
|
|
641
698
|
</div>
|
|
642
699
|
</div>
|
|
643
700
|
|
|
@@ -646,7 +703,7 @@ function showInteractiveButton() {
|
|
|
646
703
|
</div>
|
|
647
704
|
|
|
648
705
|
<!-- Code Artifact -->
|
|
649
|
-
<div style="padding: 32px; background:
|
|
706
|
+
<div style="padding: 32px; background: var(--bg-secondary); border-top: 1px solid var(--border-default);">
|
|
650
707
|
<ui-code-preview id="buttonCodePreview" label="Snippet" language="html"></ui-code-preview>
|
|
651
708
|
</div>
|
|
652
709
|
</div>
|
|
@@ -687,6 +744,11 @@ function updateInteractiveButton() {
|
|
|
687
744
|
const iconLib = document.getElementById('btnIconLibrary')?.value || 'lucide';
|
|
688
745
|
const iconPos = document.getElementById('btnIconPosition')?.value || 'left';
|
|
689
746
|
const badge = document.getElementById('btnBadge')?.value || '';
|
|
747
|
+
const badgeColor = document.getElementById('btnBadgeColor')?.value || '';
|
|
748
|
+
const counter = document.getElementById('btnCounter')?.value || '';
|
|
749
|
+
const counterColor = document.getElementById('btnCounterColor')?.value || '';
|
|
750
|
+
const counterCustomColor = document.getElementById('btnCounterCustomColor')?.value || '';
|
|
751
|
+
const counterCustomTextColor = document.getElementById('btnCounterCustomTextColor')?.value || '';
|
|
690
752
|
|
|
691
753
|
const loading = document.getElementById('btnLoading')?.checked;
|
|
692
754
|
const disabled = document.getElementById('btnDisabled')?.checked;
|
|
@@ -705,6 +767,11 @@ function updateInteractiveButton() {
|
|
|
705
767
|
if (iconLib !== 'lucide') props += ` icon-library="${iconLib}"`;
|
|
706
768
|
if (iconPos !== 'left') props += ` icon-position="${iconPos}"`;
|
|
707
769
|
if (badge) props += ` badge="${badge}"`;
|
|
770
|
+
if (badgeColor && badgeColor !== 'danger') props += ` badge-color="${badgeColor}"`;
|
|
771
|
+
if (counter) props += ` counter="${counter}"`;
|
|
772
|
+
if (counterColor) props += ` counter-color="${counterColor}"`;
|
|
773
|
+
if (counterCustomColor) props += ` counter-custom-color="${counterCustomColor}"`;
|
|
774
|
+
if (counterCustomTextColor) props += ` counter-custom-text-color="${counterCustomTextColor}"`;
|
|
708
775
|
if (loading) props += ' loading';
|
|
709
776
|
if (disabled) props += ' disabled';
|
|
710
777
|
if (iconOnly) props += ' icon-only';
|
|
@@ -866,6 +933,8 @@ function showBasicButtons() {
|
|
|
866
933
|
`;
|
|
867
934
|
}
|
|
868
935
|
|
|
936
|
+
globalThis.showBasicButtons = showBasicButtons;
|
|
937
|
+
|
|
869
938
|
function showImageButtons() {
|
|
870
939
|
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
871
940
|
if (!container) return;
|
|
@@ -900,29 +969,29 @@ function showAvatarButtons() {
|
|
|
900
969
|
<div>
|
|
901
970
|
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">User Profile Button</h4>
|
|
902
971
|
<div style="display: flex; gap: 16px; flex-wrap: wrap; align-items: center;">
|
|
903
|
-
<ui-button label="Praveen" avatar-src="
|
|
904
|
-
<ui-button label="Sarah Chen" avatar-src="
|
|
905
|
-
<ui-button label="System Admin" avatar-src="
|
|
972
|
+
<ui-button label="Praveen" avatar-src="/build/assets/images/logo.png" avatar-status="online" variant="outline" shape="pill"></ui-button>
|
|
973
|
+
<ui-button label="Sarah Chen" avatar-src="/build/assets/images/logo.png" avatar-status="busy" variant="outline" shape="rounded"></ui-button>
|
|
974
|
+
<ui-button label="System Admin" avatar-src="/build/assets/images/logo.png" avatar-status="offline" variant="dark" shape="pill"></ui-button>
|
|
906
975
|
</div>
|
|
907
976
|
</div>
|
|
908
977
|
|
|
909
978
|
<div>
|
|
910
979
|
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Various Sizes (Profile Card Concept)</h4>
|
|
911
980
|
<div style="display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-end;">
|
|
912
|
-
<ui-button size="md" label="Small" avatar-src="
|
|
913
|
-
<ui-button size="md" label="md" avatar-src="
|
|
914
|
-
<ui-button size="lg" label="Large" avatar-src="
|
|
915
|
-
<ui-button size="xl" label="X-Large" avatar-src="
|
|
981
|
+
<ui-button size="md" label="Small" avatar-src="/build/assets/images/logo.png" avatar-status="away" variant="outline"></ui-button>
|
|
982
|
+
<ui-button size="md" label="md" avatar-src="/build/assets/images/logo.png" avatar-status="online" variant="outline"></ui-button>
|
|
983
|
+
<ui-button size="lg" label="Large" avatar-src="/build/assets/images/logo.png" avatar-status="busy" variant="outline"></ui-button>
|
|
984
|
+
<ui-button size="xl" label="X-Large" avatar-src="/build/assets/images/logo.png" avatar-status="online" variant="outline"></ui-button>
|
|
916
985
|
</div>
|
|
917
986
|
</div>
|
|
918
987
|
|
|
919
988
|
<div>
|
|
920
989
|
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Avatar Only (Quick Select)</h4>
|
|
921
990
|
<div style="display: flex; gap: 16px; flex-wrap: wrap;">
|
|
922
|
-
<ui-button avatar-src="
|
|
923
|
-
<ui-button avatar-src="
|
|
924
|
-
<ui-button avatar-src="
|
|
925
|
-
<ui-button avatar-src="
|
|
991
|
+
<ui-button avatar-src="/build/assets/images/logo.png" avatar-status="online" variant="ghost" title="User 1"></ui-button>
|
|
992
|
+
<ui-button avatar-src="/build/assets/images/logo.png" avatar-status="away" variant="ghost" title="User 2"></ui-button>
|
|
993
|
+
<ui-button avatar-src="/build/assets/images/logo.png" avatar-status="busy" variant="ghost" title="User 3"></ui-button>
|
|
994
|
+
<ui-button avatar-src="/build/assets/images/logo.png" avatar-status="online" variant="ghost" title="User 4"></ui-button>
|
|
926
995
|
<ui-button variant="outline" shape="circle" icon="plus" icon-library="lucide" title="Add User"></ui-button>
|
|
927
996
|
</div>
|
|
928
997
|
</div>
|
|
@@ -930,9 +999,9 @@ function showAvatarButtons() {
|
|
|
930
999
|
<div>
|
|
931
1000
|
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Explicitly Circle Shorthand</h4>
|
|
932
1001
|
<div style="display: flex; gap: 16px; flex-wrap: wrap;">
|
|
933
|
-
<ui-button avatar-src="
|
|
934
|
-
<ui-button avatar-src="
|
|
935
|
-
<ui-button avatar-src="
|
|
1002
|
+
<ui-button avatar-src="/build/assets/images/logo.png" circle variant="primary"></ui-button>
|
|
1003
|
+
<ui-button avatar-src="/build/assets/images/logo.png" avatar-status="online" circle variant="secondary"></ui-button>
|
|
1004
|
+
<ui-button avatar-src="/build/assets/images/logo.png" label="Circle with Label" circle variant="outline"></ui-button>
|
|
936
1005
|
</div>
|
|
937
1006
|
</div>
|
|
938
1007
|
</div>
|
|
@@ -985,40 +1054,40 @@ function showRichLayoutButtons() {
|
|
|
985
1054
|
|
|
986
1055
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;">
|
|
987
1056
|
|
|
988
|
-
<div class="demo-card-inner" style="padding: 24px; border:
|
|
989
|
-
<h4 style="margin-bottom: 16px; font-size: 14px; color:
|
|
1057
|
+
<div class="demo-card-inner" style="padding: 24px; border:1px solid var(--border-default,#e2e8f0); border-radius: 16px;">
|
|
1058
|
+
<h4 style="margin-bottom: 16px; font-size: 14px; color:var(--text-secondary,#64748b);">POSITION: BELOW (DEFAULT)</h4>
|
|
990
1059
|
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
991
1060
|
<ui-button label="Network Status" description="Connected to Enterprise-WiFi" icon="wifi" icon-library="lucide" variant="outline" full-width></ui-button>
|
|
992
1061
|
<ui-button label="Save Changes" subtitle="Updating 12 parameters..." icon="save" icon-library="lucide" variant="success" full-width></ui-button>
|
|
993
1062
|
</div>
|
|
994
1063
|
</div>
|
|
995
1064
|
|
|
996
|
-
<div class="demo-card-inner" style="padding: 24px; border:
|
|
997
|
-
<h4 style="margin-bottom: 16px; font-size: 14px; color:
|
|
1065
|
+
<div class="demo-card-inner" style="padding: 24px; border:1px solid var(--border-default,#e2e8f0); border-radius: 16px;">
|
|
1066
|
+
<h4 style="margin-bottom: 16px; font-size: 14px; color:var(--text-secondary,#64748b);">POSITION: ABOVE</h4>
|
|
998
1067
|
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
999
1068
|
<ui-button description="SYSTEM CRITICAL" label="Shutdown Server" description-position="above" icon="power" icon-library="lucide" variant="danger" full-width></ui-button>
|
|
1000
1069
|
<ui-button description="BETA FEATURE" label="Explore Labs" description-position="above" variant="outline" color="primary" full-width></ui-button>
|
|
1001
1070
|
</div>
|
|
1002
1071
|
</div>
|
|
1003
1072
|
|
|
1004
|
-
<div class="demo-card-inner" style="padding: 24px; border:
|
|
1005
|
-
<h4 style="margin-bottom: 16px; font-size: 14px; color:
|
|
1073
|
+
<div class="demo-card-inner" style="padding: 24px; border:1px solid var(--border-default,#e2e8f0); border-radius: 16px;">
|
|
1074
|
+
<h4 style="margin-bottom: 16px; font-size: 14px; color:var(--text-secondary,#64748b);">POSITION: LEFT (SIDE-BY-SIDE)</h4>
|
|
1006
1075
|
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1007
1076
|
<ui-button description="5.2GB" label="Download Data" description-position="left" icon="download" icon-library="lucide" variant="outline" full-width></ui-button>
|
|
1008
1077
|
<ui-button description="v2.4.0" label="Deploy Model" description-position="left" icon="zap" icon-library="lucide" variant="outline" color="success" full-width></ui-button>
|
|
1009
1078
|
</div>
|
|
1010
1079
|
</div>
|
|
1011
1080
|
|
|
1012
|
-
<div class="demo-card-inner" style="padding: 24px; border:
|
|
1013
|
-
<h4 style="margin-bottom: 16px; font-size: 14px; color:
|
|
1081
|
+
<div class="demo-card-inner" style="padding: 24px; border:1px solid var(--border-default,#e2e8f0); border-radius: 16px;">
|
|
1082
|
+
<h4 style="margin-bottom: 16px; font-size: 14px; color:var(--text-secondary,#64748b);">POSITION: RIGHT (METADATA)</h4>
|
|
1014
1083
|
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1015
1084
|
<ui-button description="Locked" label="Admin Panel" description-position="right" icon="lock" icon-library="lucide" variant="outline" color="warning" full-width></ui-button>
|
|
1016
1085
|
<ui-button description="2 min ago" label="Last Updated" description-position="right" icon="clock" icon-library="lucide" variant="ghost" full-width></ui-button>
|
|
1017
1086
|
</div>
|
|
1018
1087
|
</div>
|
|
1019
1088
|
|
|
1020
|
-
<div class="demo-card-inner" style="padding: 24px; border:
|
|
1021
|
-
<h4 style="margin-bottom: 16px; font-size: 14px; color:
|
|
1089
|
+
<div class="demo-card-inner" style="padding: 24px; border:1px solid var(--border-default,#e2e8f0); border-radius: 16px; grid-column: span 2;">
|
|
1090
|
+
<h4 style="margin-bottom: 16px; font-size: 14px; color:var(--text-secondary,#64748b);">PERFECTLY CENTERED (DEFAULT)</h4>
|
|
1022
1091
|
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1023
1092
|
<ui-button label="System Maintenance" subtitle="Scheduled for 2:00 AM UTC" icon="settings" variant="glass" full-width></ui-button>
|
|
1024
1093
|
<ui-button label="Cloud Sync" description="All files are up to date" icon="cloud-check" color="success" shape="pill" full-width></ui-button>
|
|
@@ -1035,7 +1104,7 @@ function showRichLayoutButtons() {
|
|
|
1035
1104
|
<ui-button
|
|
1036
1105
|
label="Praveen Kumar"
|
|
1037
1106
|
description="Product Engineer • Seattle"
|
|
1038
|
-
avatar-src="
|
|
1107
|
+
avatar-src="/build/assets/images/logo.png"
|
|
1039
1108
|
avatar-status="online"
|
|
1040
1109
|
variant="outline"
|
|
1041
1110
|
shape="rounded"
|
|
@@ -1070,7 +1139,7 @@ function showButtonToggleGroups() {
|
|
|
1070
1139
|
|
|
1071
1140
|
<!-- Staggered Entrance Reveal -->
|
|
1072
1141
|
<div>
|
|
1073
|
-
<h4 style="margin-bottom:16px; font-size:14px; color:
|
|
1142
|
+
<h4 style="margin-bottom:16px; font-size:14px; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.05em;">Staggered Entrance Reveal</h4>
|
|
1074
1143
|
<div style="display: flex; gap: 24px; flex-wrap: wrap;">
|
|
1075
1144
|
<ui-button-toggle-group value="r1" reveal="slide-up" reveal-delay="300" reveal-stagger="100">
|
|
1076
1145
|
<ui-button value="r1" label="Development" icon="code" icon-library="lucide"></ui-button>
|
|
@@ -1087,7 +1156,7 @@ function showButtonToggleGroups() {
|
|
|
1087
1156
|
|
|
1088
1157
|
<!-- Gradient Groups -->
|
|
1089
1158
|
<div>
|
|
1090
|
-
<h4 style="margin-bottom:16px; font-size:14px; color:
|
|
1159
|
+
<h4 style="margin-bottom:16px; font-size:14px; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.05em;">✨ High-Fidelity Gradients</h4>
|
|
1091
1160
|
<div style="display: flex; flex-direction: column; gap: 24px;">
|
|
1092
1161
|
<ui-button-toggle-group color='{"from": "#6366f1", "to": "#ec4899"}' value="opt1" shape="rounded">
|
|
1093
1162
|
<ui-button value="opt1" label="Launch" icon="rocket" icon-library="lucide"></ui-button>
|
|
@@ -1104,17 +1173,17 @@ function showButtonToggleGroups() {
|
|
|
1104
1173
|
|
|
1105
1174
|
<!-- Avatar Groups -->
|
|
1106
1175
|
<div>
|
|
1107
|
-
<h4 style="margin-bottom:16px; font-size:14px; color:
|
|
1176
|
+
<h4 style="margin-bottom:16px; font-size:14px; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.05em;">Premium Avatar Status Select</h4>
|
|
1108
1177
|
<ui-button-toggle-group value="online" color="info">
|
|
1109
|
-
<ui-button value="online" label="Online" avatar-src="
|
|
1110
|
-
<ui-button value="away" label="Away" avatar-src="
|
|
1111
|
-
<ui-button value="busy" label="Do Not Disturb" avatar-src="
|
|
1178
|
+
<ui-button value="online" label="Online" avatar-src="/build/assets/images/logo.png" avatar-status="online" icon="user-check" icon-library="lucide"></ui-button>
|
|
1179
|
+
<ui-button value="away" label="Away" avatar-src="/build/assets/images/logo.png" avatar-status="away" icon="clock" icon-library="lucide"></ui-button>
|
|
1180
|
+
<ui-button value="busy" label="Do Not Disturb" avatar-src="/build/assets/images/logo.png" avatar-status="busy" icon="minus-circle" icon-library="lucide"></ui-button>
|
|
1112
1181
|
</ui-button-toggle-group>
|
|
1113
1182
|
</div>
|
|
1114
1183
|
|
|
1115
1184
|
<!-- Multi-Select Description Side -->
|
|
1116
1185
|
<div>
|
|
1117
|
-
<h4 style="margin-bottom:16px; font-size:14px; color:
|
|
1186
|
+
<h4 style="margin-bottom:16px; font-size:14px; color:var(--text-secondary,#64748b); text-transform: uppercase; letter-spacing: 0.05em;">Rich Multi-Select (Side Descriptions)</h4>
|
|
1118
1187
|
<ui-button-toggle-group multi-select value='["opt1"]' orientation="vertical" color="primary" style="max-width: 450px;">
|
|
1119
1188
|
<ui-button value="opt1" label="Standard License" description="Personal projects only" description-position="right" variant="outline"></ui-button>
|
|
1120
1189
|
<ui-button value="opt2" label="Commercial Pro" description="Corporate & Production use" description-position="right" variant="outline"></ui-button>
|
|
@@ -1187,7 +1256,7 @@ function showButtonGroupAuto() {
|
|
|
1187
1256
|
<div>
|
|
1188
1257
|
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Vertical Toggle Group (Consistent Length)</h4>
|
|
1189
1258
|
<p style="color: #6b7280; margin-bottom: 12px; font-size: 13px;">Buttons in vertical mode now automatically have uniform width regardless of label content.</p>
|
|
1190
|
-
<div style="max-width: 280px; background:
|
|
1259
|
+
<div style="max-width: 280px; background: var(--bg-secondary); padding: 20px; border-radius: 12px; border: 1px solid var(--border-default);">
|
|
1191
1260
|
<ui-button-toggle-group label="Select View Mode" orientation="vertical" required value="grid" color="success">
|
|
1192
1261
|
<ui-button-toggle value="list" label="List View" icon="fas fa-list"></ui-button-toggle>
|
|
1193
1262
|
<ui-button-toggle value="grid" label="Grid View" icon="fas fa-th-large"></ui-button-toggle>
|