atomicuilibrary 0.1.0 → 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 +4 -4
- 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/smart-step.cjs.entry.js +3 -3
- package/dist/cjs/timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-accordion_11.cjs.entry.js +132 -50
- 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 +10 -11
- 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 +2 -2
- package/dist/cjs/ui-card.cjs.entry.js +4 -3
- package/dist/cjs/ui-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ui-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ui-code-editor.cjs.entry.js +2 -2
- 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 +85 -11
- 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 +349 -60
- 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_4.cjs.entry.js → ui-pagination_3.cjs.entry.js} +35 -506
- 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 +66 -9
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/ui-switch.cjs.entry.js +14 -13
- package/dist/cjs/ui-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ui-tag.cjs.entry.js +58 -13
- package/dist/cjs/ui-timeline.cjs.entry.js +10 -2
- 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 +4 -4
- package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
- package/dist/cjs/ui-transfer-list.cjs.entry.js +6 -6
- package/dist/cjs/ui-tree.cjs.entry.js +30 -15
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +2 -2
- package/dist/collection/assets/js/component-config.js +1 -0
- package/dist/collection/assets/js/demo-loader.js +2 -0
- package/dist/collection/assets/js/demos/about-demo.js +13 -13
- package/dist/collection/assets/js/demos/accordion-demo.js +66 -66
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +102 -102
- 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 +51 -51
- 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 +117 -107
- package/dist/collection/assets/js/demos/button-toggle-demo.js +199 -96
- package/dist/collection/assets/js/demos/callout-banner-demo.js +23 -23
- package/dist/collection/assets/js/demos/card-demo.js +23 -22
- 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 +43 -43
- 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 +12 -12
- package/dist/collection/assets/js/demos/dock-host-init.js +31 -31
- package/dist/collection/assets/js/demos/documentation-demo.js +34 -34
- 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 +294 -78
- 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 +185 -122
- package/dist/collection/assets/js/demos/loader-demo.js +48 -48
- package/dist/collection/assets/js/demos/masonry-demo.js +568 -140
- 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 +170 -156
- 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 +14 -14
- 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 +62 -62
- package/dist/collection/assets/js/demos/theme-selector-demo.js +27 -27
- package/dist/collection/assets/js/demos/timeline-demo.js +10 -10
- 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 +92 -90
- 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 +50 -66
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +20 -20
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/accordion/accordion.css +275 -9
- package/dist/collection/components/accordion/accordion.js +7 -6
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +5 -5
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +2 -2
- package/dist/collection/components/anchor/anchor.css +1 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +2 -2
- package/dist/collection/components/aside-panel/aside-panel.css +2 -2
- package/dist/collection/components/aside-panel/aside-panel.js +10 -11
- package/dist/collection/components/avatar/avatar.css +6 -6
- package/dist/collection/components/avatar/avatar.js +63 -11
- package/dist/collection/components/badge/badge.css +27 -17
- package/dist/collection/components/badge/badge.js +6 -3
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +2 -2
- package/dist/collection/components/button/button.css +1 -0
- package/dist/collection/components/button/button.js +3 -3
- 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 +221 -9
- package/dist/collection/components/card/card.js +3 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- 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 +9 -9
- package/dist/collection/components/dialog-box/dialog-box.js +116 -14
- package/dist/collection/components/dialog-header/dialog-header.js +1 -1
- 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 +20 -9
- 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 +403 -131
- package/dist/collection/components/list-item/list-item.js +345 -61
- package/dist/collection/components/loader/loader.css +1 -1
- package/dist/collection/components/loader/loader.js +2 -2
- 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 +176 -32
- package/dist/collection/components/progress/progress.js +66 -8
- package/dist/collection/components/radio/radio.css +2 -0
- 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/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 +13 -12
- 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 +34 -16
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +46 -11
- 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/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 -1
- 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-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-color-controller.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-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-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 +4 -4
- 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/smart-step.entry.js +3 -3
- package/dist/esm/timeline-item.entry.js +2 -2
- package/dist/esm/ui-accordion_11.entry.js +132 -50
- 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 +10 -11
- 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 +2 -2
- package/dist/esm/ui-card.entry.js +4 -3
- package/dist/esm/ui-carousel.entry.js +1 -1
- package/dist/esm/ui-checkbox.entry.js +3 -3
- package/dist/esm/ui-code-editor.entry.js +2 -2
- 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 +85 -11
- 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 +349 -60
- 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_4.entry.js → ui-pagination_3.entry.js} +36 -506
- 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 +66 -9
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/ui-switch.entry.js +14 -13
- package/dist/esm/ui-tabs.entry.js +2 -2
- package/dist/esm/ui-tag.entry.js +58 -13
- package/dist/esm/ui-timeline.entry.js +10 -2
- 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 +4 -4
- package/dist/esm/ui-top-bar.entry.js +1 -1
- package/dist/esm/ui-transfer-list.entry.js +6 -6
- package/dist/esm/ui-tree.entry.js +30 -15
- package/dist/esm/ui-workspace-manager.entry.js +2 -2
- 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-7ba2258a.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-036d2a44.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-81ebba11.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-e8c6d395.entry.js → p-2b6aa7bc.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-70bacda8.entry.js → p-2cfba753.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-cbee2607.entry.js → p-2fe22958.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-20ecc116.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-8b57fe4e.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-e22317c1.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-4288c158.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-4aaa8e40.entry.js → p-4c46ac0b.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-98e91da5.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-fb4aca69.entry.js → p-62889cfe.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c02284ea.entry.js → p-66f71613.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-7889bfc4.entry.js → p-67c440b2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-c1c8ac28.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-97af03cc.entry.js → p-7ed3bba2.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d59da767.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-54965530.entry.js → p-97086868.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-d114a347.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-790556f0.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-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-6ddbee42.entry.js → p-ae617f62.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-05a436d3.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-d2e45c5e.entry.js → p-bc49a088.entry.js} +1 -1
- package/dist/exploration-project-tailwind/{p-6b838549.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-8578b616.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-cb6e38a6.entry.js +1 -0
- 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/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/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 +45 -17
- 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 +7 -0
- 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 +742 -425
- package/dist/types/types/common.d.ts +2 -2
- package/dist/types/types/common.type.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +4 -4
- package/package.json +4 -5
- package/dist/cjs/dom-oP1E4Rd3.js +0 -267
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +0 -634
- package/dist/cjs/ui-color-controller.cjs.entry.js +0 -150
- package/dist/cjs/ui-popover.cjs.entry.js +0 -517
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +0 -565
- 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/smart-location-dropdown/smart-location-dropdown.css +0 -357
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +0 -1190
- package/dist/components/ui-color-controller.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-color-controller.entry.js +0 -148
- package/dist/esm/ui-popover.entry.js +0 -515
- package/dist/esm/ui-smart-location-dropdown.entry.js +0 -563
- 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-16bdd162.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-2347d21b.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-3d381f75.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4417a9d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-44742ddd.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4bef8bed.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-4efd63ce.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-5c835d90.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-61717490.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-71d95bb1.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-9bd14f69.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-DUsoYu9r.js +0 -2
- package/dist/exploration-project-tailwind/p-a27f59d2.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-a7b07cf4.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-bd89d060.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c63c522e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-d6ce9721.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-dc92a343.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-debede45.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-e76318c7.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-eab5ad36.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f0bc5d7e.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f1beee72.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f543392f.entry.js +0 -1
- package/dist/exploration-project-tailwind/p-f61cfb7c.entry.js +0 -1
- package/dist/types/components/color-controller/color-controller.d.ts +0 -24
- 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/{smart-location-dropdown → 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>
|
|
@@ -225,32 +236,32 @@ function showButtonIcons() {
|
|
|
225
236
|
|
|
226
237
|
<div class="demo-block" style="margin-top: 24px;">
|
|
227
238
|
<h3>Icon Only Shape Masterclass</h3>
|
|
228
|
-
<p style="color:
|
|
229
|
-
<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;">
|
|
230
241
|
|
|
231
242
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
232
243
|
<ui-button icon="settings" icon-library="lucide" icon-only variant="primary" size="lg" shape="circle"></ui-button>
|
|
233
|
-
<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>
|
|
234
245
|
</div>
|
|
235
246
|
|
|
236
247
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
237
248
|
<ui-button icon="bell" icon-library="lucide" icon-only variant="success" size="lg"></ui-button>
|
|
238
|
-
<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>
|
|
239
250
|
</div>
|
|
240
251
|
|
|
241
252
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
242
253
|
<ui-button icon="share-2" icon-library="lucide" icon-only variant="warning" size="lg" shape="square"></ui-button>
|
|
243
|
-
<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>
|
|
244
255
|
</div>
|
|
245
256
|
|
|
246
257
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
247
258
|
<ui-button icon="mail" icon-library="lucide" icon-only variant="danger" size="lg" pill></ui-button>
|
|
248
|
-
<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>
|
|
249
260
|
</div>
|
|
250
261
|
|
|
251
262
|
<div style="display: flex; flex-direction: column; align-items: center; gap: 8px;">
|
|
252
263
|
<ui-button icon="plus" icon-library="lucide" variant="primary" shape="circle" size="lg" elevation="3" glow></ui-button>
|
|
253
|
-
<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>
|
|
254
265
|
</div>
|
|
255
266
|
|
|
256
267
|
</div>
|
|
@@ -263,7 +274,7 @@ function showButtonIcons() {
|
|
|
263
274
|
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;">
|
|
264
275
|
|
|
265
276
|
<!-- FontAwesome & Bootstrap -->
|
|
266
|
-
<div style="background:
|
|
277
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px solid var(--border-default);">
|
|
267
278
|
<h4 style="margin: 0 0 12px 0;">Classic Font Libraries</h4>
|
|
268
279
|
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
269
280
|
<ui-button label="FontAwesome" icon="fa-solid fa-flag" icon-library="fontawesome" variant="primary" size="md"></ui-button>
|
|
@@ -276,7 +287,7 @@ function showButtonIcons() {
|
|
|
276
287
|
</div>
|
|
277
288
|
|
|
278
289
|
<!-- Lucide & Ionicons -->
|
|
279
|
-
<div style="background:
|
|
290
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px solid var(--border-default);">
|
|
280
291
|
<h4 style="margin: 0 0 12px 0;">Modern SVG Libraries</h4>
|
|
281
292
|
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
282
293
|
<ui-button label="Lucide" icon="zap" icon-library="lucide" variant="info" size="md"></ui-button>
|
|
@@ -289,7 +300,7 @@ function showButtonIcons() {
|
|
|
289
300
|
</div>
|
|
290
301
|
|
|
291
302
|
<!-- Iconoir & LineAwesome -->
|
|
292
|
-
<div style="background:
|
|
303
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px solid var(--border-default);">
|
|
293
304
|
<h4 style="margin: 0 0 12px 0;">Designer Libraries</h4>
|
|
294
305
|
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
295
306
|
<ui-button label="Iconoir" icon="iconoir-bright-star" icon-library="iconoir" variant="success" size="md"></ui-button>
|
|
@@ -302,7 +313,7 @@ function showButtonIcons() {
|
|
|
302
313
|
</div>
|
|
303
314
|
|
|
304
315
|
<!-- Custom: URL, SVG, Emoji -->
|
|
305
|
-
<div style="background:
|
|
316
|
+
<div style="background: var(--bg-secondary); padding: 16px; border-radius: 12px; border: 1px solid var(--border-default);">
|
|
306
317
|
<h4 style="margin: 0 0 12px 0;">Custom Assets</h4>
|
|
307
318
|
<div style="display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;">
|
|
308
319
|
<ui-button label="URL Image" icon="https://raw.githubusercontent.com/lucide-icons/lucide/main/icons/heart.svg" variant="outline" size="md"></ui-button>
|
|
@@ -319,13 +330,13 @@ function showButtonIcons() {
|
|
|
319
330
|
|
|
320
331
|
<div class="demo-block" style="margin-top: 24px;">
|
|
321
332
|
<h3>Badge Masterclass</h3>
|
|
322
|
-
<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>
|
|
323
334
|
|
|
324
|
-
<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;">
|
|
325
336
|
|
|
326
337
|
<!-- Shapes & Badges -->
|
|
327
338
|
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
328
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
339
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b);">SHAPES & CORNERS</h4>
|
|
329
340
|
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
330
341
|
<ui-button icon="bell" icon-library="lucide" icon-only badge="9+" variant="primary"></ui-button>
|
|
331
342
|
<ui-button icon="mail" icon-library="lucide" icon-only badge="3" variant="success" shape="circle"></ui-button>
|
|
@@ -335,7 +346,7 @@ function showButtonIcons() {
|
|
|
335
346
|
|
|
336
347
|
<!-- Variants & Colors -->
|
|
337
348
|
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
338
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
349
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b);">BADGE VARIANTS</h4>
|
|
339
350
|
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
340
351
|
<ui-button label="Alert" badge="!" variant="outline" badge-color="warning"></ui-button>
|
|
341
352
|
<ui-button label="Done" badge="✓" variant="outline" badge-color="success"></ui-button>
|
|
@@ -345,7 +356,7 @@ function showButtonIcons() {
|
|
|
345
356
|
|
|
346
357
|
<!-- Positions -->
|
|
347
358
|
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
348
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
359
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b);">POSITIONS</h4>
|
|
349
360
|
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
350
361
|
<ui-button icon="bell" icon-library="lucide" icon-only badge="TR" badge-position="top-right" variant="secondary"></ui-button>
|
|
351
362
|
<ui-button icon="bell" icon-library="lucide" icon-only badge="TL" badge-position="top-left" variant="secondary"></ui-button>
|
|
@@ -356,7 +367,7 @@ function showButtonIcons() {
|
|
|
356
367
|
|
|
357
368
|
<!-- Inline Counters (Inside Button on Right Side) -->
|
|
358
369
|
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
359
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
370
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b);">INLINE COUNTERS</h4>
|
|
360
371
|
<div style="display: flex; gap: 12px; flex-wrap: wrap;">
|
|
361
372
|
<ui-button label="Inbox" counter="12" variant="outline" counter-color="primary"></ui-button>
|
|
362
373
|
<ui-button label="Alerts" counter="!" variant="outline" counter-color="danger"></ui-button>
|
|
@@ -367,7 +378,7 @@ function showButtonIcons() {
|
|
|
367
378
|
|
|
368
379
|
<!-- Both Overlay Badge and Inline Counter together with different colors -->
|
|
369
380
|
<div style="display: flex; flex-direction: column; gap: 12px;">
|
|
370
|
-
<h4 style="margin: 0; font-size: 13px; color:
|
|
381
|
+
<h4 style="margin: 0; font-size: 13px; color:var(--text-secondary,#64748b);">BOTH BADGE (OVERLAY) & COUNTER (INLINE)</h4>
|
|
371
382
|
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
|
|
372
383
|
<ui-button label="Inbox" badge="9+" badge-color="danger" counter="12" variant="outline" counter-color="primary"></ui-button>
|
|
373
384
|
<ui-button label="Notifications" badge="New" badge-color="success" counter="5" variant="outline" counter-color="info"></ui-button>
|
|
@@ -380,8 +391,8 @@ function showButtonIcons() {
|
|
|
380
391
|
|
|
381
392
|
<div class="demo-block" style="margin-top: 24px;">
|
|
382
393
|
<h3>Interactive Counter</h3>
|
|
383
|
-
<p style="color:
|
|
384
|
-
<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;">
|
|
385
396
|
<ui-button id="counterBtn" icon="shopping-cart" icon-library="lucide" label="Add to Cart" badge="0" variant="primary"></ui-button>
|
|
386
397
|
<ui-button id="resetCounterBtn" label="Reset Counter" variant="ghost" size="sm" color="danger"></ui-button>
|
|
387
398
|
</div>
|
|
@@ -418,7 +429,7 @@ function showPremiumButtons() {
|
|
|
418
429
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;">
|
|
419
430
|
|
|
420
431
|
<!-- Soft Variants -->
|
|
421
|
-
<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;">
|
|
422
433
|
<h4 style="margin: 0 0 16px 0;">☁️ Soft Variants</h4>
|
|
423
434
|
<div style="display: flex; gap: 10px; flex-wrap: wrap;">
|
|
424
435
|
<ui-button label="Primary" variant="outline" color="primary"></ui-button>
|
|
@@ -429,7 +440,7 @@ function showPremiumButtons() {
|
|
|
429
440
|
</div>
|
|
430
441
|
|
|
431
442
|
<!-- Gradients -->
|
|
432
|
-
<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;">
|
|
433
444
|
<h4 style="margin: 0 0 16px 0;">🌈 Gradient Variants</h4>
|
|
434
445
|
<div style="display: flex; gap: 10px; flex-wrap: wrap;">
|
|
435
446
|
<ui-button label="Brand" variant="gradient"></ui-button>
|
|
@@ -444,7 +455,7 @@ function showPremiumButtons() {
|
|
|
444
455
|
</div>
|
|
445
456
|
|
|
446
457
|
<!-- Shortcuts & Copy -->
|
|
447
|
-
<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;">
|
|
448
459
|
<h4 style="margin: 0 0 16px 0;">📋 Utilities</h4>
|
|
449
460
|
<div style="display: grid; gap: 12px;">
|
|
450
461
|
<ui-button label="Copy API ID" icon="copy" icon-library="lucide" copy-value="ID_45920-X" variant="outline" full-width></ui-button>
|
|
@@ -454,7 +465,7 @@ function showPremiumButtons() {
|
|
|
454
465
|
</div>
|
|
455
466
|
|
|
456
467
|
<!-- States -->
|
|
457
|
-
<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;">
|
|
458
469
|
<h4 style="margin: 0 0 16px 0;">🦾 Advanced States</h4>
|
|
459
470
|
<div style="display: flex; gap: 12px; flex-wrap: wrap; align-items: center;">
|
|
460
471
|
<ui-button label="Skeleton" skeleton variant="primary" width="120px"></ui-button>
|
|
@@ -465,7 +476,7 @@ function showPremiumButtons() {
|
|
|
465
476
|
|
|
466
477
|
</div>
|
|
467
478
|
|
|
468
|
-
<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;">
|
|
469
480
|
<h3>📱 Responsive Labels</h3>
|
|
470
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>
|
|
471
482
|
<ui-button label="Edit Profile" icon="user" icon-library="lucide" hide-label-on-mobile variant="primary" size="lg" shape="pill"></ui-button>
|
|
@@ -485,8 +496,8 @@ function showGodModeButtons() {
|
|
|
485
496
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px;">
|
|
486
497
|
|
|
487
498
|
<!-- Safety & Critical Flows -->
|
|
488
|
-
<div class="demo-card-inner" style="padding: 24px; background:
|
|
489
|
-
<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>
|
|
490
501
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
491
502
|
<ui-button label="Purge Memory" variant="danger" hold-time="2000" shake audio="error" haptic full-width></ui-button>
|
|
492
503
|
<ui-button label="Delete Cloud" variant="outline" color="danger" confirm-bubble confirm-label="Permanent Delete?" audio="error" full-width></ui-button>
|
|
@@ -495,8 +506,8 @@ function showGodModeButtons() {
|
|
|
495
506
|
</div>
|
|
496
507
|
|
|
497
508
|
<!-- Hyper-Premium Aesthetics -->
|
|
498
|
-
<div class="demo-card-inner" style="padding: 24px; background:
|
|
499
|
-
<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>
|
|
500
511
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
501
512
|
<ui-button label="VIP Rainbow Glow" variant="dark" glow rainbow glossy audio="click" full-width></ui-button>
|
|
502
513
|
<ui-button label="Liquid Wave Progress" variant="primary" progress="45" liquid audio="click" full-width></ui-button>
|
|
@@ -505,8 +516,8 @@ function showGodModeButtons() {
|
|
|
505
516
|
</div>
|
|
506
517
|
|
|
507
518
|
<!-- Smart Branding & Toggling -->
|
|
508
|
-
<div class="demo-card-inner" style="padding: 24px; background:
|
|
509
|
-
<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>
|
|
510
521
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
511
522
|
<div style="display: flex; gap: 10px;">
|
|
512
523
|
<ui-button label="1" variant="outline" reveal="slide-up" reveal-delay="0"></ui-button>
|
|
@@ -538,8 +549,6 @@ function showGodModeButtons() {
|
|
|
538
549
|
glow
|
|
539
550
|
haptic
|
|
540
551
|
celebrate
|
|
541
|
-
shatter spin-on-click
|
|
542
|
-
audio-src="https://www.soundjay.com/buttons/sounds/button-10.mp3"
|
|
543
552
|
></ui-button>
|
|
544
553
|
</div>
|
|
545
554
|
</div>
|
|
@@ -548,15 +557,14 @@ function showGodModeButtons() {
|
|
|
548
557
|
}
|
|
549
558
|
|
|
550
559
|
function showInteractiveButton() {
|
|
551
|
-
const container = document.getElementById('buttonDemoContainer');
|
|
560
|
+
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
552
561
|
if (!container) return;
|
|
553
|
-
|
|
554
562
|
container.innerHTML = `
|
|
555
|
-
<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);">
|
|
556
564
|
<!-- Left Sidebar: Component Workbench -->
|
|
557
|
-
<div class="playground-sidebar" style="width: 400px; flex-shrink: 0; border-right: 1px solid
|
|
558
|
-
<div style="padding: 28px; border-bottom: 1px solid
|
|
559
|
-
<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;">
|
|
560
568
|
<ui-icon name="tool" library="lucide" color="primary"></ui-icon>
|
|
561
569
|
Component Workbench
|
|
562
570
|
</h3>
|
|
@@ -566,8 +574,8 @@ function showInteractiveButton() {
|
|
|
566
574
|
<!-- Section: Aesthetics -->
|
|
567
575
|
<div class="setting-card">
|
|
568
576
|
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
569
|
-
<div style="width: 32px; height: 32px; border-radius: 8px; background:
|
|
570
|
-
<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>
|
|
571
579
|
</div>
|
|
572
580
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
573
581
|
<ui-input id="btnLabel" label="Visual Label" value="Click Me!" size="md" variant="outlined"></ui-input>
|
|
@@ -579,7 +587,7 @@ function showInteractiveButton() {
|
|
|
579
587
|
{"label": "Glass", "value": "glass"}, {"label": "Raised", "value": "raised"},
|
|
580
588
|
{"label": "Dark", "value": "dark"}, {"label": "Gradient (Brand)", "value": "gradient"}
|
|
581
589
|
]' size="md" variant="outlined"></ui-dropdown>
|
|
582
|
-
|
|
590
|
+
|
|
583
591
|
<ui-dropdown id="btnSize" label="Scale" value="md" options='[
|
|
584
592
|
{"label": "XS", "value": "xs"}, {"label": "Small", "value": "sm"},
|
|
585
593
|
{"label": "Medium", "value": "md"}, {"label": "Large", "value": "lg"},
|
|
@@ -590,15 +598,15 @@ function showInteractiveButton() {
|
|
|
590
598
|
{"label": "Pill", "value": "pill"}, {"label": "Chip", "value": "chip"},
|
|
591
599
|
{"label": "Circle", "value": "circle"}
|
|
592
600
|
]' size="md" variant="outlined"></ui-dropdown>
|
|
593
|
-
|
|
601
|
+
|
|
594
602
|
</div>
|
|
595
603
|
</div>
|
|
596
604
|
|
|
597
605
|
<!-- Section: Icons -->
|
|
598
606
|
<div class="setting-card">
|
|
599
607
|
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
600
|
-
<div style="width: 32px; height: 32px; border-radius: 8px; background:
|
|
601
|
-
<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>
|
|
602
610
|
</div>
|
|
603
611
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
604
612
|
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
@@ -648,8 +656,8 @@ function showInteractiveButton() {
|
|
|
648
656
|
<!-- Section: Advanced Behaviors -->
|
|
649
657
|
<div class="setting-card">
|
|
650
658
|
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
651
|
-
<div style="width: 32px; height: 32px; border-radius: 8px; background:
|
|
652
|
-
<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>
|
|
653
661
|
</div>
|
|
654
662
|
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
655
663
|
<ui-checkbox id="btnLoading" label="Loading Mode" size="md"></ui-checkbox>
|
|
@@ -662,10 +670,10 @@ function showInteractiveButton() {
|
|
|
662
670
|
</div>
|
|
663
671
|
|
|
664
672
|
<!-- Section: God Mode -->
|
|
665
|
-
<div class="setting-card" style="border-left: 4px solid #8b5cf6;">
|
|
673
|
+
<div class="setting-card" style="border-left: 4px solid var(--color-primary, #8b5cf6);">
|
|
666
674
|
<div style="display: flex; align-items: center; gap: 10px; margin-bottom: 20px;">
|
|
667
|
-
<div style="width: 32px; height: 32px; border-radius: 8px; background:
|
|
668
|
-
<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>
|
|
669
677
|
</div>
|
|
670
678
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
671
679
|
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 12px;">
|
|
@@ -683,10 +691,10 @@ function showInteractiveButton() {
|
|
|
683
691
|
</div>
|
|
684
692
|
|
|
685
693
|
<!-- Main Preview Area -->
|
|
686
|
-
<div class="playground-main" style="flex: 1; display: flex; flex-direction: column; background:
|
|
687
|
-
<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);">
|
|
688
696
|
<div style="display: flex; gap: 12px; align-items: center;">
|
|
689
|
-
<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>
|
|
690
698
|
</div>
|
|
691
699
|
</div>
|
|
692
700
|
|
|
@@ -695,7 +703,7 @@ function showInteractiveButton() {
|
|
|
695
703
|
</div>
|
|
696
704
|
|
|
697
705
|
<!-- Code Artifact -->
|
|
698
|
-
<div style="padding: 32px; background:
|
|
706
|
+
<div style="padding: 32px; background: var(--bg-secondary); border-top: 1px solid var(--border-default);">
|
|
699
707
|
<ui-code-preview id="buttonCodePreview" label="Snippet" language="html"></ui-code-preview>
|
|
700
708
|
</div>
|
|
701
709
|
</div>
|
|
@@ -925,6 +933,8 @@ function showBasicButtons() {
|
|
|
925
933
|
`;
|
|
926
934
|
}
|
|
927
935
|
|
|
936
|
+
globalThis.showBasicButtons = showBasicButtons;
|
|
937
|
+
|
|
928
938
|
function showImageButtons() {
|
|
929
939
|
const container = document.querySelector('.section-active #buttonDemoContainer') || document.getElementById('buttonDemoContainer');
|
|
930
940
|
if (!container) return;
|
|
@@ -959,29 +969,29 @@ function showAvatarButtons() {
|
|
|
959
969
|
<div>
|
|
960
970
|
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">User Profile Button</h4>
|
|
961
971
|
<div style="display: flex; gap: 16px; flex-wrap: wrap; align-items: center;">
|
|
962
|
-
<ui-button label="Praveen" avatar-src="
|
|
963
|
-
<ui-button label="Sarah Chen" avatar-src="
|
|
964
|
-
<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>
|
|
965
975
|
</div>
|
|
966
976
|
</div>
|
|
967
977
|
|
|
968
978
|
<div>
|
|
969
979
|
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Various Sizes (Profile Card Concept)</h4>
|
|
970
980
|
<div style="display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-end;">
|
|
971
|
-
<ui-button size="md" label="Small" avatar-src="
|
|
972
|
-
<ui-button size="md" label="md" avatar-src="
|
|
973
|
-
<ui-button size="lg" label="Large" avatar-src="
|
|
974
|
-
<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>
|
|
975
985
|
</div>
|
|
976
986
|
</div>
|
|
977
987
|
|
|
978
988
|
<div>
|
|
979
989
|
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Avatar Only (Quick Select)</h4>
|
|
980
990
|
<div style="display: flex; gap: 16px; flex-wrap: wrap;">
|
|
981
|
-
<ui-button avatar-src="
|
|
982
|
-
<ui-button avatar-src="
|
|
983
|
-
<ui-button avatar-src="
|
|
984
|
-
<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>
|
|
985
995
|
<ui-button variant="outline" shape="circle" icon="plus" icon-library="lucide" title="Add User"></ui-button>
|
|
986
996
|
</div>
|
|
987
997
|
</div>
|
|
@@ -989,9 +999,9 @@ function showAvatarButtons() {
|
|
|
989
999
|
<div>
|
|
990
1000
|
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Explicitly Circle Shorthand</h4>
|
|
991
1001
|
<div style="display: flex; gap: 16px; flex-wrap: wrap;">
|
|
992
|
-
<ui-button avatar-src="
|
|
993
|
-
<ui-button avatar-src="
|
|
994
|
-
<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>
|
|
995
1005
|
</div>
|
|
996
1006
|
</div>
|
|
997
1007
|
</div>
|
|
@@ -1044,40 +1054,40 @@ function showRichLayoutButtons() {
|
|
|
1044
1054
|
|
|
1045
1055
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;">
|
|
1046
1056
|
|
|
1047
|
-
<div class="demo-card-inner" style="padding: 24px; border:
|
|
1048
|
-
<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>
|
|
1049
1059
|
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1050
1060
|
<ui-button label="Network Status" description="Connected to Enterprise-WiFi" icon="wifi" icon-library="lucide" variant="outline" full-width></ui-button>
|
|
1051
1061
|
<ui-button label="Save Changes" subtitle="Updating 12 parameters..." icon="save" icon-library="lucide" variant="success" full-width></ui-button>
|
|
1052
1062
|
</div>
|
|
1053
1063
|
</div>
|
|
1054
1064
|
|
|
1055
|
-
<div class="demo-card-inner" style="padding: 24px; border:
|
|
1056
|
-
<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>
|
|
1057
1067
|
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1058
1068
|
<ui-button description="SYSTEM CRITICAL" label="Shutdown Server" description-position="above" icon="power" icon-library="lucide" variant="danger" full-width></ui-button>
|
|
1059
1069
|
<ui-button description="BETA FEATURE" label="Explore Labs" description-position="above" variant="outline" color="primary" full-width></ui-button>
|
|
1060
1070
|
</div>
|
|
1061
1071
|
</div>
|
|
1062
1072
|
|
|
1063
|
-
<div class="demo-card-inner" style="padding: 24px; border:
|
|
1064
|
-
<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>
|
|
1065
1075
|
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1066
1076
|
<ui-button description="5.2GB" label="Download Data" description-position="left" icon="download" icon-library="lucide" variant="outline" full-width></ui-button>
|
|
1067
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>
|
|
1068
1078
|
</div>
|
|
1069
1079
|
</div>
|
|
1070
1080
|
|
|
1071
|
-
<div class="demo-card-inner" style="padding: 24px; border:
|
|
1072
|
-
<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>
|
|
1073
1083
|
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1074
1084
|
<ui-button description="Locked" label="Admin Panel" description-position="right" icon="lock" icon-library="lucide" variant="outline" color="warning" full-width></ui-button>
|
|
1075
1085
|
<ui-button description="2 min ago" label="Last Updated" description-position="right" icon="clock" icon-library="lucide" variant="ghost" full-width></ui-button>
|
|
1076
1086
|
</div>
|
|
1077
1087
|
</div>
|
|
1078
1088
|
|
|
1079
|
-
<div class="demo-card-inner" style="padding: 24px; border:
|
|
1080
|
-
<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>
|
|
1081
1091
|
<div style="display: flex; flex-direction: column; gap:12px;">
|
|
1082
1092
|
<ui-button label="System Maintenance" subtitle="Scheduled for 2:00 AM UTC" icon="settings" variant="glass" full-width></ui-button>
|
|
1083
1093
|
<ui-button label="Cloud Sync" description="All files are up to date" icon="cloud-check" color="success" shape="pill" full-width></ui-button>
|
|
@@ -1094,7 +1104,7 @@ function showRichLayoutButtons() {
|
|
|
1094
1104
|
<ui-button
|
|
1095
1105
|
label="Praveen Kumar"
|
|
1096
1106
|
description="Product Engineer • Seattle"
|
|
1097
|
-
avatar-src="
|
|
1107
|
+
avatar-src="/build/assets/images/logo.png"
|
|
1098
1108
|
avatar-status="online"
|
|
1099
1109
|
variant="outline"
|
|
1100
1110
|
shape="rounded"
|
|
@@ -1129,7 +1139,7 @@ function showButtonToggleGroups() {
|
|
|
1129
1139
|
|
|
1130
1140
|
<!-- Staggered Entrance Reveal -->
|
|
1131
1141
|
<div>
|
|
1132
|
-
<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>
|
|
1133
1143
|
<div style="display: flex; gap: 24px; flex-wrap: wrap;">
|
|
1134
1144
|
<ui-button-toggle-group value="r1" reveal="slide-up" reveal-delay="300" reveal-stagger="100">
|
|
1135
1145
|
<ui-button value="r1" label="Development" icon="code" icon-library="lucide"></ui-button>
|
|
@@ -1146,7 +1156,7 @@ function showButtonToggleGroups() {
|
|
|
1146
1156
|
|
|
1147
1157
|
<!-- Gradient Groups -->
|
|
1148
1158
|
<div>
|
|
1149
|
-
<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>
|
|
1150
1160
|
<div style="display: flex; flex-direction: column; gap: 24px;">
|
|
1151
1161
|
<ui-button-toggle-group color='{"from": "#6366f1", "to": "#ec4899"}' value="opt1" shape="rounded">
|
|
1152
1162
|
<ui-button value="opt1" label="Launch" icon="rocket" icon-library="lucide"></ui-button>
|
|
@@ -1163,17 +1173,17 @@ function showButtonToggleGroups() {
|
|
|
1163
1173
|
|
|
1164
1174
|
<!-- Avatar Groups -->
|
|
1165
1175
|
<div>
|
|
1166
|
-
<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>
|
|
1167
1177
|
<ui-button-toggle-group value="online" color="info">
|
|
1168
|
-
<ui-button value="online" label="Online" avatar-src="
|
|
1169
|
-
<ui-button value="away" label="Away" avatar-src="
|
|
1170
|
-
<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>
|
|
1171
1181
|
</ui-button-toggle-group>
|
|
1172
1182
|
</div>
|
|
1173
1183
|
|
|
1174
1184
|
<!-- Multi-Select Description Side -->
|
|
1175
1185
|
<div>
|
|
1176
|
-
<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>
|
|
1177
1187
|
<ui-button-toggle-group multi-select value='["opt1"]' orientation="vertical" color="primary" style="max-width: 450px;">
|
|
1178
1188
|
<ui-button value="opt1" label="Standard License" description="Personal projects only" description-position="right" variant="outline"></ui-button>
|
|
1179
1189
|
<ui-button value="opt2" label="Commercial Pro" description="Corporate & Production use" description-position="right" variant="outline"></ui-button>
|
|
@@ -1246,7 +1256,7 @@ function showButtonGroupAuto() {
|
|
|
1246
1256
|
<div>
|
|
1247
1257
|
<h4 style="margin-bottom: 12px; font-size: 14px; opacity: 0.8;">Vertical Toggle Group (Consistent Length)</h4>
|
|
1248
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>
|
|
1249
|
-
<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);">
|
|
1250
1260
|
<ui-button-toggle-group label="Select View Mode" orientation="vertical" required value="grid" color="success">
|
|
1251
1261
|
<ui-button-toggle value="list" label="List View" icon="fas fa-list"></ui-button-toggle>
|
|
1252
1262
|
<ui-button-toggle value="grid" label="Grid View" icon="fas fa-th-large"></ui-button-toggle>
|