atomicuilibrary 0.0.1
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/LICENSE +21 -0
- package/README.md +111 -0
- package/dist/cjs/category-section.cjs.entry.js +30 -0
- package/dist/cjs/component-size-DsYFUZcz.js +29 -0
- package/dist/cjs/dom-oP1E4Rd3.js +267 -0
- package/dist/cjs/event-bus-B6M2f8CQ.js +23 -0
- package/dist/cjs/exploration-project-tailwind.cjs.js +24 -0
- package/dist/cjs/focus-trap-i9T6oXLc.js +139 -0
- package/dist/cjs/index-ClkOYpT8.js +2275 -0
- package/dist/cjs/index.cjs.js +260 -0
- package/dist/cjs/layout-manager.cjs.entry.js +616 -0
- package/dist/cjs/library-card.cjs.entry.js +63 -0
- package/dist/cjs/lm-container_2.cjs.entry.js +79 -0
- package/dist/cjs/lm-panel_3.cjs.entry.js +108 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/cjs/my-component.cjs.entry.js +33 -0
- package/dist/cjs/my-step.cjs.entry.js +29 -0
- package/dist/cjs/nav-bar.cjs.entry.js +247 -0
- package/dist/cjs/security-E1JcwxGc.js +1547 -0
- package/dist/cjs/smart-step.cjs.entry.js +47 -0
- package/dist/cjs/timeline-item.cjs.entry.js +29 -0
- package/dist/cjs/ui-accordion_10.cjs.entry.js +5733 -0
- package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2684 -0
- package/dist/cjs/ui-anchor.cjs.entry.js +558 -0
- package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +285 -0
- package/dist/cjs/ui-aside-panel.cjs.entry.js +638 -0
- package/dist/cjs/ui-avatar-group_3.cjs.entry.js +634 -0
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +56 -0
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +201 -0
- package/dist/cjs/ui-callout-banner.cjs.entry.js +291 -0
- package/dist/cjs/ui-card.cjs.entry.js +411 -0
- package/dist/cjs/ui-carousel.cjs.entry.js +547 -0
- package/dist/cjs/ui-checkbox-group.cjs.entry.js +330 -0
- package/dist/cjs/ui-checkbox.cjs.entry.js +260 -0
- package/dist/cjs/ui-code-editor.cjs.entry.js +961 -0
- package/dist/cjs/ui-code-preview.cjs.entry.js +315 -0
- package/dist/cjs/ui-color-controller.cjs.entry.js +150 -0
- package/dist/cjs/ui-color-picker.cjs.entry.js +658 -0
- package/dist/cjs/ui-command-palette.cjs.entry.js +178 -0
- package/dist/cjs/ui-dialog-box.cjs.entry.js +1808 -0
- package/dist/cjs/ui-dialog-content.cjs.entry.js +31 -0
- package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +193 -0
- package/dist/cjs/ui-divider.cjs.entry.js +481 -0
- package/dist/cjs/ui-dock-host.cjs.entry.js +128 -0
- package/dist/cjs/ui-dock.cjs.entry.js +221 -0
- package/dist/cjs/ui-drag-drop.cjs.entry.js +172 -0
- package/dist/cjs/ui-dropdown_2.cjs.entry.js +1552 -0
- package/dist/cjs/ui-empty-state.cjs.entry.js +398 -0
- package/dist/cjs/ui-fab-item.cjs.entry.js +39 -0
- package/dist/cjs/ui-fab.cjs.entry.js +277 -0
- package/dist/cjs/ui-file-upload.cjs.entry.js +418 -0
- package/dist/cjs/ui-horizontal-nav.cjs.entry.js +135 -0
- package/dist/cjs/ui-image-button.cjs.entry.js +67 -0
- package/dist/cjs/ui-input-pair.cjs.entry.js +44 -0
- package/dist/cjs/ui-knob.cjs.entry.js +447 -0
- package/dist/cjs/ui-library.cjs.entry.js +134 -0
- package/dist/cjs/ui-list-group_2.cjs.entry.js +586 -0
- package/dist/cjs/ui-list.cjs.entry.js +732 -0
- package/dist/cjs/ui-masonry.cjs.entry.js +478 -0
- package/dist/cjs/ui-meter-group.cjs.entry.js +173 -0
- package/dist/cjs/ui-navigation-item.cjs.entry.js +104 -0
- package/dist/cjs/ui-number-input.cjs.entry.js +191 -0
- package/dist/cjs/ui-otp-input.cjs.entry.js +246 -0
- package/dist/cjs/ui-pagination_3.cjs.entry.js +1621 -0
- package/dist/cjs/ui-panel.cjs.entry.js +614 -0
- package/dist/cjs/ui-pattern-input.cjs.entry.js +278 -0
- package/dist/cjs/ui-popover.cjs.entry.js +517 -0
- package/dist/cjs/ui-progress.cjs.entry.js +516 -0
- package/dist/cjs/ui-radio-group.cjs.entry.js +205 -0
- package/dist/cjs/ui-radio.cjs.entry.js +206 -0
- package/dist/cjs/ui-range-slider.cjs.entry.js +637 -0
- package/dist/cjs/ui-resizable-panel.cjs.entry.js +484 -0
- package/dist/cjs/ui-scroll-top.cjs.entry.js +459 -0
- package/dist/cjs/ui-smart-context-menu.cjs.entry.js +376 -0
- package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +565 -0
- package/dist/cjs/ui-smart-stepper.cjs.entry.js +137 -0
- package/dist/cjs/ui-snackbar.cjs.entry.js +863 -0
- package/dist/cjs/ui-speed-dial.cjs.entry.js +520 -0
- package/dist/cjs/ui-speedometer.cjs.entry.js +428 -0
- package/dist/cjs/ui-splitter.cjs.entry.js +282 -0
- package/dist/cjs/ui-step.cjs.entry.js +30 -0
- package/dist/cjs/ui-stepper.cjs.entry.js +640 -0
- package/dist/cjs/ui-switch.cjs.entry.js +405 -0
- package/dist/cjs/ui-tabs.cjs.entry.js +703 -0
- package/dist/cjs/ui-tag.cjs.entry.js +299 -0
- package/dist/cjs/ui-timeline.cjs.entry.js +267 -0
- package/dist/cjs/ui-timer.cjs.entry.js +502 -0
- package/dist/cjs/ui-toolbar.cjs.entry.js +619 -0
- package/dist/cjs/ui-tooltip.cjs.entry.js +697 -0
- package/dist/cjs/ui-top-bar.cjs.entry.js +121 -0
- package/dist/cjs/ui-transfer-list.cjs.entry.js +592 -0
- package/dist/cjs/ui-tree.cjs.entry.js +874 -0
- package/dist/cjs/ui-workspace-manager.cjs.entry.js +1201 -0
- package/dist/cjs/utils-DVZ6gul6.js +26 -0
- package/dist/collection/assets/js/component-config.js +41 -0
- package/dist/collection/assets/js/demo-loader.js +147 -0
- package/dist/collection/assets/js/demo-nav.js +273 -0
- package/dist/collection/assets/js/demos/about-demo.js +60 -0
- package/dist/collection/assets/js/demos/accordion-demo.js +1954 -0
- package/dist/collection/assets/js/demos/advanced-data-table-demo.js +2952 -0
- package/dist/collection/assets/js/demos/anchor-demo.js +527 -0
- package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +174 -0
- package/dist/collection/assets/js/demos/aside-panel-demo.js +1109 -0
- package/dist/collection/assets/js/demos/avatar-demo.js +508 -0
- package/dist/collection/assets/js/demos/badge-demo.js +620 -0
- package/dist/collection/assets/js/demos/breadcrumb-demo.js +365 -0
- package/dist/collection/assets/js/demos/button-demo.js +1223 -0
- package/dist/collection/assets/js/demos/button-toggle-demo.js +978 -0
- package/dist/collection/assets/js/demos/callout-banner-demo.js +366 -0
- package/dist/collection/assets/js/demos/card-demo.js +427 -0
- package/dist/collection/assets/js/demos/carousel-demo.js +360 -0
- package/dist/collection/assets/js/demos/checkbox-demo.js +489 -0
- package/dist/collection/assets/js/demos/code-preview-demo.js +216 -0
- package/dist/collection/assets/js/demos/color-picker-demo.js +117 -0
- package/dist/collection/assets/js/demos/command-palette-demo.js +105 -0
- package/dist/collection/assets/js/demos/complex-form-demo.js +45 -0
- package/dist/collection/assets/js/demos/context-menu-data.js +436 -0
- package/dist/collection/assets/js/demos/context-menu-demo.js +829 -0
- package/dist/collection/assets/js/demos/dashboard-demo.js +5 -0
- package/dist/collection/assets/js/demos/dialog-demo-temp.js +411 -0
- package/dist/collection/assets/js/demos/dialog-demo.js +2567 -0
- package/dist/collection/assets/js/demos/divider-demo.js +853 -0
- package/dist/collection/assets/js/demos/dock-demo.js +422 -0
- package/dist/collection/assets/js/demos/dock-host-init.js +117 -0
- package/dist/collection/assets/js/demos/dock-host-playground.js +59 -0
- package/dist/collection/assets/js/demos/documentation-demo.js +34 -0
- package/dist/collection/assets/js/demos/drag-drop-demo.js +132 -0
- package/dist/collection/assets/js/demos/dropdown-demo.js +1410 -0
- package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +18 -0
- package/dist/collection/assets/js/demos/empty-state-demo.js +580 -0
- package/dist/collection/assets/js/demos/fab-demo.js +374 -0
- package/dist/collection/assets/js/demos/file-upload-demo.js +171 -0
- package/dist/collection/assets/js/demos/home-components.js +750 -0
- package/dist/collection/assets/js/demos/home-demo.js +441 -0
- package/dist/collection/assets/js/demos/horizontal-nav-demo.js +277 -0
- package/dist/collection/assets/js/demos/icon-demo.js +380 -0
- package/dist/collection/assets/js/demos/input-demo.js +1932 -0
- package/dist/collection/assets/js/demos/knob-demo.js +570 -0
- package/dist/collection/assets/js/demos/layout-manager-demo.js +918 -0
- package/dist/collection/assets/js/demos/list-demo.js +1402 -0
- package/dist/collection/assets/js/demos/loader-demo.js +453 -0
- package/dist/collection/assets/js/demos/meter-group-demo.js +499 -0
- package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +924 -0
- package/dist/collection/assets/js/demos/my-profile-demo.js +237 -0
- package/dist/collection/assets/js/demos/nav-bar-demo.js +187 -0
- package/dist/collection/assets/js/demos/number-input-demo.js +242 -0
- package/dist/collection/assets/js/demos/overview-demo.js +11 -0
- package/dist/collection/assets/js/demos/pagination-demo.js +1042 -0
- package/dist/collection/assets/js/demos/panel-demo.js +789 -0
- package/dist/collection/assets/js/demos/pattern-input-demo.js +241 -0
- package/dist/collection/assets/js/demos/popover-demo.js +882 -0
- package/dist/collection/assets/js/demos/progress-demo.js +462 -0
- package/dist/collection/assets/js/demos/radio-demo.js +413 -0
- package/dist/collection/assets/js/demos/range-slider-demo.js +1217 -0
- package/dist/collection/assets/js/demos/rating-demo.js +383 -0
- package/dist/collection/assets/js/demos/scroll-top-demo.js +353 -0
- package/dist/collection/assets/js/demos/skeleton-demo.js +490 -0
- package/dist/collection/assets/js/demos/skeleton-performance-demo.js +26 -0
- package/dist/collection/assets/js/demos/smart-dialog-demo.js +552 -0
- package/dist/collection/assets/js/demos/smart-menu-demo.js +375 -0
- package/dist/collection/assets/js/demos/smart-stepper-demo.js +50 -0
- package/dist/collection/assets/js/demos/snackbar-demo.js +1040 -0
- package/dist/collection/assets/js/demos/speed-dial-demo.js +764 -0
- package/dist/collection/assets/js/demos/speedometer-demo.js +425 -0
- package/dist/collection/assets/js/demos/split-button-demo.js +201 -0
- package/dist/collection/assets/js/demos/stack-demo.js +228 -0
- package/dist/collection/assets/js/demos/stepper-demo.js +798 -0
- package/dist/collection/assets/js/demos/switch-demo.js +849 -0
- package/dist/collection/assets/js/demos/tabs-demo.js +1032 -0
- package/dist/collection/assets/js/demos/tag-demo.js +842 -0
- package/dist/collection/assets/js/demos/theme-selector-demo.js +466 -0
- package/dist/collection/assets/js/demos/timeline-demo.js +365 -0
- package/dist/collection/assets/js/demos/timeline-playground.js +59 -0
- package/dist/collection/assets/js/demos/timer-demo.js +313 -0
- package/dist/collection/assets/js/demos/toolbar-demo.js +643 -0
- package/dist/collection/assets/js/demos/tooltip-demo.js +730 -0
- package/dist/collection/assets/js/demos/top-bar-demo.js +417 -0
- package/dist/collection/assets/js/demos/transfer-list-demo.js +555 -0
- package/dist/collection/assets/js/demos/tree-demo.js +693 -0
- package/dist/collection/assets/js/demos/workspace-manager-demo.js +241 -0
- package/dist/collection/assets/js/index-boot.js +104 -0
- package/dist/collection/assets/js/nav-bar-demo.js +20 -0
- package/dist/collection/assets/js/nav-bar-init.js +119 -0
- package/dist/collection/assets/js/utils/layout-loader.js +80 -0
- package/dist/collection/collection-manifest.json +113 -0
- package/dist/collection/components/accordion/accordion.css +2090 -0
- package/dist/collection/components/accordion/accordion.js +2955 -0
- package/dist/collection/components/accordion/types.js +1 -0
- package/dist/collection/components/advanced-data-table/advanced-data-table.css +2606 -0
- package/dist/collection/components/advanced-data-table/advanced-data-table.js +5394 -0
- package/dist/collection/components/advanced-data-table/types.js +1 -0
- package/dist/collection/components/anchor/anchor.css +395 -0
- package/dist/collection/components/anchor/anchor.js +1404 -0
- package/dist/collection/components/anchor/types.js +1 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.css +804 -0
- package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +696 -0
- package/dist/collection/components/aside-panel/aside-panel.css +472 -0
- package/dist/collection/components/aside-panel/aside-panel.js +1697 -0
- package/dist/collection/components/avatar/avatar.css +696 -0
- package/dist/collection/components/avatar/avatar.js +2007 -0
- package/dist/collection/components/avatar/types.js +1 -0
- package/dist/collection/components/avatar-group/avatar-group.css +253 -0
- package/dist/collection/components/avatar-group/avatar-group.js +405 -0
- package/dist/collection/components/avatar-group/types.js +1 -0
- package/dist/collection/components/badge/badge.css +580 -0
- package/dist/collection/components/badge/badge.js +723 -0
- package/dist/collection/components/badge/types.js +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +231 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +313 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +510 -0
- package/dist/collection/components/breadcrumb/types.js +1 -0
- package/dist/collection/components/button/button.css +1862 -0
- package/dist/collection/components/button/button.js +1380 -0
- package/dist/collection/components/button/types.js +1 -0
- package/dist/collection/components/button-toggle/button-toggle.css +97 -0
- package/dist/collection/components/button-toggle/button-toggle.js +620 -0
- package/dist/collection/components/button-toggle-group/button-toggle-group.css +401 -0
- package/dist/collection/components/button-toggle-group/button-toggle-group.js +1572 -0
- package/dist/collection/components/button-toggle-group/types.js +1 -0
- package/dist/collection/components/callout-banner/callout-banner.css +684 -0
- package/dist/collection/components/callout-banner/callout-banner.js +1076 -0
- package/dist/collection/components/callout-banner/types.js +1 -0
- package/dist/collection/components/card/card.css +663 -0
- package/dist/collection/components/card/card.js +1697 -0
- package/dist/collection/components/card/types.js +1 -0
- package/dist/collection/components/carousel/carousel.css +549 -0
- package/dist/collection/components/carousel/carousel.js +1512 -0
- package/dist/collection/components/carousel/types.js +1 -0
- package/dist/collection/components/checkbox/checkbox.css +863 -0
- package/dist/collection/components/checkbox/checkbox.js +1201 -0
- package/dist/collection/components/checkbox/types.js +1 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +223 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +1001 -0
- package/dist/collection/components/checkbox-group/types.js +1 -0
- package/dist/collection/components/code-editor/code-editor.css +1081 -0
- package/dist/collection/components/code-editor/code-editor.js +1211 -0
- package/dist/collection/components/code-editor/types.js +1 -0
- package/dist/collection/components/code-preview/types.js +1 -0
- package/dist/collection/components/code-preview/ui-code-preview.css +209 -0
- package/dist/collection/components/code-preview/ui-code-preview.js +548 -0
- package/dist/collection/components/color-controller/color-controller.css +108 -0
- package/dist/collection/components/color-controller/color-controller.js +224 -0
- package/dist/collection/components/color-picker/color-picker.css +323 -0
- package/dist/collection/components/color-picker/color-picker.js +1139 -0
- package/dist/collection/components/color-picker/types.js +1 -0
- package/dist/collection/components/command-palette/command-palette.css +260 -0
- package/dist/collection/components/command-palette/command-palette.js +429 -0
- package/dist/collection/components/command-palette/types.js +1 -0
- package/dist/collection/components/context-menu/context-menu.css +388 -0
- package/dist/collection/components/context-menu/context-menu.js +1412 -0
- package/dist/collection/components/context-menu/types.js +1 -0
- package/dist/collection/components/dialog-box/dialog-box.css +1261 -0
- package/dist/collection/components/dialog-box/dialog-box.js +4314 -0
- package/dist/collection/components/dialog-box/dialog-tray.css +268 -0
- package/dist/collection/components/dialog-box/types.js +1 -0
- package/dist/collection/components/dialog-content/dialog-content.css +83 -0
- package/dist/collection/components/dialog-content/dialog-content.js +96 -0
- package/dist/collection/components/dialog-footer/dialog-footer.css +89 -0
- package/dist/collection/components/dialog-footer/dialog-footer.js +94 -0
- package/dist/collection/components/dialog-footer/types.js +1 -0
- package/dist/collection/components/dialog-header/dialog-header.css +203 -0
- package/dist/collection/components/dialog-header/dialog-header.js +630 -0
- package/dist/collection/components/dialog-header/types.js +1 -0
- package/dist/collection/components/divider/divider.css +948 -0
- package/dist/collection/components/divider/divider.js +1612 -0
- package/dist/collection/components/divider/types.js +1 -0
- package/dist/collection/components/dock/dock.css +348 -0
- package/dist/collection/components/dock/dock.js +464 -0
- package/dist/collection/components/dock/types.js +1 -0
- package/dist/collection/components/dock-host/index.js +1 -0
- package/dist/collection/components/dock-host/types.js +1 -0
- package/dist/collection/components/dock-host/ui-dock-host.css +155 -0
- package/dist/collection/components/dock-host/ui-dock-host.js +226 -0
- package/dist/collection/components/drag-drop/drag-drop.css +103 -0
- package/dist/collection/components/drag-drop/drag-drop.js +385 -0
- package/dist/collection/components/drag-drop/types.js +1 -0
- package/dist/collection/components/dropdown/dropdown.css +1142 -0
- package/dist/collection/components/dropdown/dropdown.js +2033 -0
- package/dist/collection/components/dropdown/types.js +1 -0
- package/dist/collection/components/empty-state/empty-state.css +712 -0
- package/dist/collection/components/empty-state/empty-state.js +1256 -0
- package/dist/collection/components/empty-state/types.js +1 -0
- package/dist/collection/components/fab/fab.css +601 -0
- package/dist/collection/components/fab/fab.js +1124 -0
- package/dist/collection/components/fab-item/fab-item.css +107 -0
- package/dist/collection/components/fab-item/fab-item.js +177 -0
- package/dist/collection/components/fab-item/types.js +1 -0
- package/dist/collection/components/file-upload/file-upload.css +243 -0
- package/dist/collection/components/file-upload/file-upload.js +1022 -0
- package/dist/collection/components/file-upload/types.js +1 -0
- package/dist/collection/components/horizontal-nav/horizontal-nav.css +394 -0
- package/dist/collection/components/horizontal-nav/horizontal-nav.js +375 -0
- package/dist/collection/components/icon/icon.css +113 -0
- package/dist/collection/components/icon/icon.js +583 -0
- package/dist/collection/components/image-button/image-button.css +154 -0
- package/dist/collection/components/image-button/image-button.js +310 -0
- package/dist/collection/components/image-button/types.js +1 -0
- package/dist/collection/components/input/input.css +1544 -0
- package/dist/collection/components/input/input.js +3690 -0
- package/dist/collection/components/input/types.js +1 -0
- package/dist/collection/components/input-pair/input-pair.css +72 -0
- package/dist/collection/components/input-pair/input-pair.js +309 -0
- package/dist/collection/components/knob/knob.css +162 -0
- package/dist/collection/components/knob/knob.js +986 -0
- package/dist/collection/components/knob/types.js +1 -0
- package/dist/collection/components/layout-manager/layout-manager.css +41 -0
- package/dist/collection/components/layout-manager/layout-manager.js +525 -0
- package/dist/collection/components/layout-manager/lm-container/lm-container.css +117 -0
- package/dist/collection/components/layout-manager/lm-container/lm-container.js +110 -0
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.css +0 -0
- package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +49 -0
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.css +97 -0
- package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +58 -0
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.css +57 -0
- package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +120 -0
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.css +149 -0
- package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +130 -0
- package/dist/collection/components/layout-manager/types.js +1 -0
- package/dist/collection/components/library/category-section.css +147 -0
- package/dist/collection/components/library/category-section.js +139 -0
- package/dist/collection/components/library/data.js +74 -0
- package/dist/collection/components/library/library-card.css +181 -0
- package/dist/collection/components/library/library-card.js +203 -0
- package/dist/collection/components/library/library.css +358 -0
- package/dist/collection/components/library/library.js +91 -0
- package/dist/collection/components/list/list.css +1029 -0
- package/dist/collection/components/list/list.js +2167 -0
- package/dist/collection/components/list-group/list-group.css +275 -0
- package/dist/collection/components/list-group/list-group.js +356 -0
- package/dist/collection/components/list-item/list-item.css +1491 -0
- package/dist/collection/components/list-item/list-item.js +2184 -0
- package/dist/collection/components/masonry/masonry.css +414 -0
- package/dist/collection/components/masonry/masonry.js +1104 -0
- package/dist/collection/components/masonry/types.js +1 -0
- package/dist/collection/components/meter-group/meter-group.css +184 -0
- package/dist/collection/components/meter-group/meter-group.js +471 -0
- package/dist/collection/components/meter-group/types.js +1 -0
- package/dist/collection/components/my-component/my-component.css +27 -0
- package/dist/collection/components/my-component/my-component.js +95 -0
- package/dist/collection/components/my-step/my-step.css +25 -0
- package/dist/collection/components/my-step/my-step.js +237 -0
- package/dist/collection/components/nav-bar/nav-bar.css +448 -0
- package/dist/collection/components/nav-bar/nav-bar.js +608 -0
- package/dist/collection/components/number-input/number-input.css +200 -0
- package/dist/collection/components/number-input/number-input.js +695 -0
- package/dist/collection/components/otp-input/otp-input.css +243 -0
- package/dist/collection/components/otp-input/otp-input.js +761 -0
- package/dist/collection/components/otp-input/types.js +1 -0
- package/dist/collection/components/pagination/pagination.css +1399 -0
- package/dist/collection/components/pagination/pagination.js +2033 -0
- package/dist/collection/components/pagination/types.js +1 -0
- package/dist/collection/components/panel/panel.css +837 -0
- package/dist/collection/components/panel/panel.js +1842 -0
- package/dist/collection/components/panel/types.js +1 -0
- package/dist/collection/components/pattern-input/pattern-input.css +252 -0
- package/dist/collection/components/pattern-input/pattern-input.js +788 -0
- package/dist/collection/components/popover/popover.css +399 -0
- package/dist/collection/components/popover/popover.js +1449 -0
- package/dist/collection/components/popover/types.js +1 -0
- package/dist/collection/components/progress/progress.css +588 -0
- package/dist/collection/components/progress/progress.js +1414 -0
- package/dist/collection/components/progress/types.js +1 -0
- package/dist/collection/components/radio/radio.css +773 -0
- package/dist/collection/components/radio/radio.js +1059 -0
- package/dist/collection/components/radio/types.js +1 -0
- package/dist/collection/components/radio-group/radio-group.css +202 -0
- package/dist/collection/components/radio-group/radio-group.js +903 -0
- package/dist/collection/components/radio-group/types.js +1 -0
- package/dist/collection/components/range-slider/range-slider.css +602 -0
- package/dist/collection/components/range-slider/range-slider.js +1369 -0
- package/dist/collection/components/range-slider/types.js +1 -0
- package/dist/collection/components/rating/rating.css +768 -0
- package/dist/collection/components/rating/rating.js +1062 -0
- package/dist/collection/components/rating/types.js +1 -0
- package/dist/collection/components/resizable-panel/resizable-panel.css +247 -0
- package/dist/collection/components/resizable-panel/resizable-panel.js +874 -0
- package/dist/collection/components/resizable-panel/types.js +1 -0
- package/dist/collection/components/scroll-top/scroll-top.css +397 -0
- package/dist/collection/components/scroll-top/scroll-top.js +1178 -0
- package/dist/collection/components/scroll-top/types.js +1 -0
- package/dist/collection/components/skeleton/skeleton-loader.css +429 -0
- package/dist/collection/components/skeleton/skeleton-loader.js +1193 -0
- package/dist/collection/components/skeleton/types.js +1 -0
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +357 -0
- package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +1190 -0
- package/dist/collection/components/smart-location-dropdown/types.js +1 -0
- package/dist/collection/components/smart-menu/menu-item.interface.js +1 -0
- package/dist/collection/components/smart-menu/smart-menu.css +119 -0
- package/dist/collection/components/smart-menu/smart-menu.js +544 -0
- package/dist/collection/components/smart-stepper/smart-step.css +213 -0
- package/dist/collection/components/smart-stepper/smart-step.js +170 -0
- package/dist/collection/components/smart-stepper/smart-stepper.css +146 -0
- package/dist/collection/components/smart-stepper/smart-stepper.js +338 -0
- package/dist/collection/components/snackbar/snackbar.css +1480 -0
- package/dist/collection/components/snackbar/snackbar.js +1759 -0
- package/dist/collection/components/snackbar/types.js +1 -0
- package/dist/collection/components/speed-dial/speed-dial.css +478 -0
- package/dist/collection/components/speed-dial/speed-dial.js +1183 -0
- package/dist/collection/components/speed-dial/types.js +1 -0
- package/dist/collection/components/speedometer/speedometer.css +95 -0
- package/dist/collection/components/speedometer/speedometer.js +868 -0
- package/dist/collection/components/speedometer/types.js +1 -0
- package/dist/collection/components/splitter/splitter.css +269 -0
- package/dist/collection/components/splitter/splitter.js +713 -0
- package/dist/collection/components/splitter/types.js +1 -0
- package/dist/collection/components/stack/stack.css +269 -0
- package/dist/collection/components/stack/stack.js +297 -0
- package/dist/collection/components/stack/types.js +1 -0
- package/dist/collection/components/step/step.css +77 -0
- package/dist/collection/components/step/step.js +214 -0
- package/dist/collection/components/step/types.js +1 -0
- package/dist/collection/components/stepper/stepper.css +1079 -0
- package/dist/collection/components/stepper/stepper.js +1850 -0
- package/dist/collection/components/stepper/types.js +1 -0
- package/dist/collection/components/switch/switch.css +1099 -0
- package/dist/collection/components/switch/switch.js +1578 -0
- package/dist/collection/components/tabs/tabs.css +1355 -0
- package/dist/collection/components/tabs/tabs.js +1474 -0
- package/dist/collection/components/tabs/types.js +1 -0
- package/dist/collection/components/tag/tag.css +893 -0
- package/dist/collection/components/tag/tag.js +1119 -0
- package/dist/collection/components/tag/types.js +1 -0
- package/dist/collection/components/tag-group/tag-group.css +144 -0
- package/dist/collection/components/tag-group/tag-group.js +887 -0
- package/dist/collection/components/tag-group/types.js +1 -0
- package/dist/collection/components/timeline/timeline.css +1850 -0
- package/dist/collection/components/timeline/timeline.js +889 -0
- package/dist/collection/components/timeline/types.js +1 -0
- package/dist/collection/components/timeline/ui-timeline.stories.js +19 -0
- package/dist/collection/components/timeline-item/timeline-item.css +75 -0
- package/dist/collection/components/timeline-item/timeline-item.js +91 -0
- package/dist/collection/components/timer/timer.css +367 -0
- package/dist/collection/components/timer/timer.js +1292 -0
- package/dist/collection/components/timer/types.js +1 -0
- package/dist/collection/components/timer/ui-timer.stories.js +19 -0
- package/dist/collection/components/toggle-group/toggle-group.css +361 -0
- package/dist/collection/components/toggle-group/toggle-group.js +1212 -0
- package/dist/collection/components/toggle-group/types.js +1 -0
- package/dist/collection/components/toolbar/toolbar-types.js +1 -0
- package/dist/collection/components/toolbar/toolbar.css +1186 -0
- package/dist/collection/components/toolbar/toolbar.js +1635 -0
- package/dist/collection/components/tooltip/tooltip.css +609 -0
- package/dist/collection/components/tooltip/tooltip.js +1882 -0
- package/dist/collection/components/tooltip/types.js +1 -0
- package/dist/collection/components/top-bar/top-bar.css +274 -0
- package/dist/collection/components/top-bar/top-bar.js +383 -0
- package/dist/collection/components/transfer-list/transfer-list.css +520 -0
- package/dist/collection/components/transfer-list/transfer-list.js +1225 -0
- package/dist/collection/components/transfer-list/types.js +1 -0
- package/dist/collection/components/tree/tree.css +1197 -0
- package/dist/collection/components/tree/tree.js +2509 -0
- package/dist/collection/components/tree/types.js +1 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +830 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +1231 -0
- package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-types.js +1 -0
- package/dist/collection/components/ui-navigation-bar/navigation-item.css +679 -0
- package/dist/collection/components/ui-navigation-bar/navigation-item.js +385 -0
- package/dist/collection/components/ui-navigation-bar/navigation-types.js +1 -0
- package/dist/collection/components/workspace-manager/types.js +1 -0
- package/dist/collection/components/workspace-manager/workspace-manager.css +1094 -0
- package/dist/collection/components/workspace-manager/workspace-manager.js +1914 -0
- package/dist/collection/components.js +51 -0
- package/dist/collection/index.js +108 -0
- package/dist/collection/service/drag-manager.js +23 -0
- package/dist/collection/service/event-bus.js +19 -0
- package/dist/collection/service/serialization.js +8 -0
- package/dist/collection/service/state-engine.js +247 -0
- package/dist/collection/service/theme-switcher.js +146 -0
- package/dist/collection/stories/Button.stories.js +15 -0
- package/dist/collection/types/common.js +1 -0
- package/dist/collection/types/index.js +4 -0
- package/dist/collection/utils/aria-live.js +60 -0
- package/dist/collection/utils/component-size.js +25 -0
- package/dist/collection/utils/dom.js +260 -0
- package/dist/collection/utils/focus-trap.js +135 -0
- package/dist/collection/utils/security.js +10 -0
- package/dist/collection/utils/test/setup-component-test-env.js +92 -0
- package/dist/collection/utils/utils.js +21 -0
- package/dist/collection/utils/validation.js +74 -0
- package/dist/components/avatar-group.js +1 -0
- package/dist/components/avatar.js +1 -0
- package/dist/components/badge.js +1 -0
- package/dist/components/button-toggle.js +1 -0
- package/dist/components/category-section.d.ts +11 -0
- package/dist/components/category-section.js +1 -0
- package/dist/components/category-section2.js +1 -0
- package/dist/components/checkbox.js +1 -0
- package/dist/components/context-menu.js +1 -0
- package/dist/components/dialog-footer.js +1 -0
- package/dist/components/dialog-header.js +1 -0
- package/dist/components/dom.js +1 -0
- package/dist/components/dropdown.js +1 -0
- package/dist/components/event-bus.js +1 -0
- package/dist/components/focus-trap.js +1 -0
- package/dist/components/icon.js +2 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/input.js +1 -0
- package/dist/components/layout-manager.d.ts +11 -0
- package/dist/components/layout-manager.js +1 -0
- package/dist/components/library-card.d.ts +11 -0
- package/dist/components/library-card.js +1 -0
- package/dist/components/library-card2.js +1 -0
- package/dist/components/list-group.js +1 -0
- package/dist/components/list-item.js +1 -0
- package/dist/components/lm-container.d.ts +11 -0
- package/dist/components/lm-container.js +1 -0
- package/dist/components/lm-container2.js +1 -0
- package/dist/components/lm-floating-window.d.ts +11 -0
- package/dist/components/lm-floating-window.js +1 -0
- package/dist/components/lm-floating-window2.js +1 -0
- package/dist/components/lm-panel.d.ts +11 -0
- package/dist/components/lm-panel.js +1 -0
- package/dist/components/lm-panel2.js +1 -0
- package/dist/components/lm-splitter.d.ts +11 -0
- package/dist/components/lm-splitter.js +1 -0
- package/dist/components/lm-splitter2.js +1 -0
- package/dist/components/lm-tabs.d.ts +11 -0
- package/dist/components/lm-tabs.js +1 -0
- package/dist/components/lm-tabs2.js +1 -0
- package/dist/components/my-component.d.ts +11 -0
- package/dist/components/my-component.js +1 -0
- package/dist/components/my-step.d.ts +11 -0
- package/dist/components/my-step.js +1 -0
- package/dist/components/nav-bar.d.ts +11 -0
- package/dist/components/nav-bar.js +1 -0
- package/dist/components/pagination.js +1 -0
- package/dist/components/radio.js +1 -0
- package/dist/components/range-slider.js +1 -0
- package/dist/components/rating.js +1 -0
- package/dist/components/resizable-panel.js +1 -0
- package/dist/components/skeleton-loader.js +1 -0
- package/dist/components/smart-step.d.ts +11 -0
- package/dist/components/smart-step.js +1 -0
- package/dist/components/stack.js +1 -0
- package/dist/components/switch.js +1 -0
- package/dist/components/tag-group.js +1 -0
- package/dist/components/tag.js +1 -0
- package/dist/components/timeline-item.d.ts +11 -0
- package/dist/components/timeline-item.js +1 -0
- package/dist/components/toggle-group.js +1 -0
- package/dist/components/tooltip.js +1 -0
- package/dist/components/ui-accordion.d.ts +11 -0
- package/dist/components/ui-accordion.js +1 -0
- package/dist/components/ui-advanced-data-table.d.ts +11 -0
- package/dist/components/ui-advanced-data-table.js +1 -0
- package/dist/components/ui-anchor.d.ts +11 -0
- package/dist/components/ui-anchor.js +1 -0
- package/dist/components/ui-animate-on-scroll.d.ts +11 -0
- package/dist/components/ui-animate-on-scroll.js +1 -0
- package/dist/components/ui-aside-panel.d.ts +11 -0
- package/dist/components/ui-aside-panel.js +1 -0
- package/dist/components/ui-avatar-group.d.ts +11 -0
- package/dist/components/ui-avatar-group.js +1 -0
- package/dist/components/ui-avatar.d.ts +11 -0
- package/dist/components/ui-avatar.js +1 -0
- package/dist/components/ui-badge.d.ts +11 -0
- package/dist/components/ui-badge.js +1 -0
- package/dist/components/ui-breadcrumb-item.d.ts +11 -0
- package/dist/components/ui-breadcrumb-item.js +1 -0
- package/dist/components/ui-breadcrumb.d.ts +11 -0
- package/dist/components/ui-breadcrumb.js +1 -0
- package/dist/components/ui-button-toggle-group.d.ts +11 -0
- package/dist/components/ui-button-toggle-group.js +1 -0
- package/dist/components/ui-button-toggle.d.ts +11 -0
- package/dist/components/ui-button-toggle.js +1 -0
- package/dist/components/ui-button.d.ts +11 -0
- package/dist/components/ui-button.js +1 -0
- package/dist/components/ui-callout-banner.d.ts +11 -0
- package/dist/components/ui-callout-banner.js +1 -0
- package/dist/components/ui-card.d.ts +11 -0
- package/dist/components/ui-card.js +1 -0
- package/dist/components/ui-carousel.d.ts +11 -0
- package/dist/components/ui-carousel.js +1 -0
- package/dist/components/ui-checkbox-group.d.ts +11 -0
- package/dist/components/ui-checkbox-group.js +1 -0
- package/dist/components/ui-checkbox.d.ts +11 -0
- package/dist/components/ui-checkbox.js +1 -0
- package/dist/components/ui-code-editor.d.ts +11 -0
- package/dist/components/ui-code-editor.js +1 -0
- package/dist/components/ui-code-preview.d.ts +11 -0
- package/dist/components/ui-code-preview.js +1 -0
- package/dist/components/ui-color-controller.d.ts +11 -0
- package/dist/components/ui-color-controller.js +1 -0
- package/dist/components/ui-color-picker.d.ts +11 -0
- package/dist/components/ui-color-picker.js +1 -0
- package/dist/components/ui-command-palette.d.ts +11 -0
- package/dist/components/ui-command-palette.js +1 -0
- package/dist/components/ui-context-menu.d.ts +11 -0
- package/dist/components/ui-context-menu.js +1 -0
- package/dist/components/ui-dialog-box.d.ts +11 -0
- package/dist/components/ui-dialog-box.js +1 -0
- package/dist/components/ui-dialog-content.d.ts +11 -0
- package/dist/components/ui-dialog-content.js +1 -0
- package/dist/components/ui-dialog-footer.d.ts +11 -0
- package/dist/components/ui-dialog-footer.js +1 -0
- package/dist/components/ui-dialog-header.d.ts +11 -0
- package/dist/components/ui-dialog-header.js +1 -0
- package/dist/components/ui-divider.d.ts +11 -0
- package/dist/components/ui-divider.js +1 -0
- package/dist/components/ui-dock-host.d.ts +11 -0
- package/dist/components/ui-dock-host.js +1 -0
- package/dist/components/ui-dock.d.ts +11 -0
- package/dist/components/ui-dock.js +1 -0
- package/dist/components/ui-drag-drop.d.ts +11 -0
- package/dist/components/ui-drag-drop.js +1 -0
- package/dist/components/ui-dropdown.d.ts +11 -0
- package/dist/components/ui-dropdown.js +1 -0
- package/dist/components/ui-empty-state.d.ts +11 -0
- package/dist/components/ui-empty-state.js +1 -0
- package/dist/components/ui-fab-item.d.ts +11 -0
- package/dist/components/ui-fab-item.js +1 -0
- package/dist/components/ui-fab.d.ts +11 -0
- package/dist/components/ui-fab.js +1 -0
- package/dist/components/ui-file-upload.d.ts +11 -0
- package/dist/components/ui-file-upload.js +1 -0
- package/dist/components/ui-horizontal-nav.d.ts +11 -0
- package/dist/components/ui-horizontal-nav.js +1 -0
- package/dist/components/ui-icon.d.ts +11 -0
- package/dist/components/ui-icon.js +1 -0
- package/dist/components/ui-image-button.d.ts +11 -0
- package/dist/components/ui-image-button.js +1 -0
- package/dist/components/ui-input-pair.d.ts +11 -0
- package/dist/components/ui-input-pair.js +1 -0
- package/dist/components/ui-input.d.ts +11 -0
- package/dist/components/ui-input.js +1 -0
- package/dist/components/ui-knob.d.ts +11 -0
- package/dist/components/ui-knob.js +1 -0
- package/dist/components/ui-library.d.ts +11 -0
- package/dist/components/ui-library.js +1 -0
- package/dist/components/ui-list-group.d.ts +11 -0
- package/dist/components/ui-list-group.js +1 -0
- package/dist/components/ui-list-item.d.ts +11 -0
- package/dist/components/ui-list-item.js +1 -0
- package/dist/components/ui-list.d.ts +11 -0
- package/dist/components/ui-list.js +1 -0
- package/dist/components/ui-masonry.d.ts +11 -0
- package/dist/components/ui-masonry.js +1 -0
- package/dist/components/ui-meter-group.d.ts +11 -0
- package/dist/components/ui-meter-group.js +1 -0
- package/dist/components/ui-navigation-bar.d.ts +11 -0
- package/dist/components/ui-navigation-bar.js +1 -0
- package/dist/components/ui-navigation-item.d.ts +11 -0
- package/dist/components/ui-navigation-item.js +1 -0
- package/dist/components/ui-number-input.d.ts +11 -0
- package/dist/components/ui-number-input.js +1 -0
- package/dist/components/ui-otp-input.d.ts +11 -0
- package/dist/components/ui-otp-input.js +1 -0
- package/dist/components/ui-pagination.d.ts +11 -0
- package/dist/components/ui-pagination.js +1 -0
- package/dist/components/ui-panel.d.ts +11 -0
- package/dist/components/ui-panel.js +1 -0
- package/dist/components/ui-pattern-input.d.ts +11 -0
- package/dist/components/ui-pattern-input.js +1 -0
- package/dist/components/ui-popover.d.ts +11 -0
- package/dist/components/ui-popover.js +1 -0
- package/dist/components/ui-progress.d.ts +11 -0
- package/dist/components/ui-progress.js +1 -0
- package/dist/components/ui-radio-group.d.ts +11 -0
- package/dist/components/ui-radio-group.js +1 -0
- package/dist/components/ui-radio.d.ts +11 -0
- package/dist/components/ui-radio.js +1 -0
- package/dist/components/ui-range-slider.d.ts +11 -0
- package/dist/components/ui-range-slider.js +1 -0
- package/dist/components/ui-rating.d.ts +11 -0
- package/dist/components/ui-rating.js +1 -0
- package/dist/components/ui-resizable-panel.d.ts +11 -0
- package/dist/components/ui-resizable-panel.js +1 -0
- package/dist/components/ui-scroll-top.d.ts +11 -0
- package/dist/components/ui-scroll-top.js +1 -0
- package/dist/components/ui-skeleton.d.ts +11 -0
- package/dist/components/ui-skeleton.js +1 -0
- package/dist/components/ui-smart-context-menu.d.ts +11 -0
- package/dist/components/ui-smart-context-menu.js +1 -0
- package/dist/components/ui-smart-location-dropdown.d.ts +11 -0
- package/dist/components/ui-smart-location-dropdown.js +1 -0
- package/dist/components/ui-smart-stepper.d.ts +11 -0
- package/dist/components/ui-smart-stepper.js +1 -0
- package/dist/components/ui-snackbar.d.ts +11 -0
- package/dist/components/ui-snackbar.js +1 -0
- package/dist/components/ui-speed-dial.d.ts +11 -0
- package/dist/components/ui-speed-dial.js +1 -0
- package/dist/components/ui-speedometer.d.ts +11 -0
- package/dist/components/ui-speedometer.js +1 -0
- package/dist/components/ui-splitter.d.ts +11 -0
- package/dist/components/ui-splitter.js +1 -0
- package/dist/components/ui-stack.d.ts +11 -0
- package/dist/components/ui-stack.js +1 -0
- package/dist/components/ui-step.d.ts +11 -0
- package/dist/components/ui-step.js +1 -0
- package/dist/components/ui-stepper.d.ts +11 -0
- package/dist/components/ui-stepper.js +1 -0
- package/dist/components/ui-switch.d.ts +11 -0
- package/dist/components/ui-switch.js +1 -0
- package/dist/components/ui-tabs.d.ts +11 -0
- package/dist/components/ui-tabs.js +1 -0
- package/dist/components/ui-tag-group.d.ts +11 -0
- package/dist/components/ui-tag-group.js +1 -0
- package/dist/components/ui-tag.d.ts +11 -0
- package/dist/components/ui-tag.js +1 -0
- package/dist/components/ui-timeline.d.ts +11 -0
- package/dist/components/ui-timeline.js +1 -0
- package/dist/components/ui-timer.d.ts +11 -0
- package/dist/components/ui-timer.js +1 -0
- package/dist/components/ui-toggle-group.d.ts +11 -0
- package/dist/components/ui-toggle-group.js +1 -0
- package/dist/components/ui-toolbar.d.ts +11 -0
- package/dist/components/ui-toolbar.js +1 -0
- package/dist/components/ui-tooltip.d.ts +11 -0
- package/dist/components/ui-tooltip.js +1 -0
- package/dist/components/ui-top-bar.d.ts +11 -0
- package/dist/components/ui-top-bar.js +1 -0
- package/dist/components/ui-transfer-list.d.ts +11 -0
- package/dist/components/ui-transfer-list.js +1 -0
- package/dist/components/ui-tree.d.ts +11 -0
- package/dist/components/ui-tree.js +1 -0
- package/dist/components/ui-workspace-manager.d.ts +11 -0
- package/dist/components/ui-workspace-manager.js +1 -0
- package/dist/components/utils.js +1 -0
- package/dist/esm/category-section.entry.js +28 -0
- package/dist/esm/component-size-C7gf39HE.js +27 -0
- package/dist/esm/dom-BMFah5q3.js +262 -0
- package/dist/esm/event-bus-vwwmWKs9.js +21 -0
- package/dist/esm/exploration-project-tailwind.js +20 -0
- package/dist/esm/focus-trap-BSQ8klD4.js +137 -0
- package/dist/esm/index-DUsoYu9r.js +2264 -0
- package/dist/esm/index.js +256 -0
- package/dist/esm/layout-manager.entry.js +614 -0
- package/dist/esm/library-card.entry.js +61 -0
- package/dist/esm/lm-container_2.entry.js +76 -0
- package/dist/esm/lm-panel_3.entry.js +104 -0
- package/dist/esm/loader.js +10 -0
- package/dist/esm/my-component.entry.js +31 -0
- package/dist/esm/my-step.entry.js +27 -0
- package/dist/esm/nav-bar.entry.js +245 -0
- package/dist/esm/security-D2WzX6vR.js +1545 -0
- package/dist/esm/smart-step.entry.js +45 -0
- package/dist/esm/timeline-item.entry.js +27 -0
- package/dist/esm/ui-accordion_10.entry.js +5722 -0
- package/dist/esm/ui-advanced-data-table.entry.js +2682 -0
- package/dist/esm/ui-anchor.entry.js +556 -0
- package/dist/esm/ui-animate-on-scroll.entry.js +283 -0
- package/dist/esm/ui-aside-panel.entry.js +636 -0
- package/dist/esm/ui-avatar-group_3.entry.js +630 -0
- package/dist/esm/ui-breadcrumb-item.entry.js +54 -0
- package/dist/esm/ui-breadcrumb.entry.js +199 -0
- package/dist/esm/ui-callout-banner.entry.js +289 -0
- package/dist/esm/ui-card.entry.js +409 -0
- package/dist/esm/ui-carousel.entry.js +545 -0
- package/dist/esm/ui-checkbox-group.entry.js +328 -0
- package/dist/esm/ui-checkbox.entry.js +258 -0
- package/dist/esm/ui-code-editor.entry.js +959 -0
- package/dist/esm/ui-code-preview.entry.js +313 -0
- package/dist/esm/ui-color-controller.entry.js +148 -0
- package/dist/esm/ui-color-picker.entry.js +656 -0
- package/dist/esm/ui-command-palette.entry.js +176 -0
- package/dist/esm/ui-dialog-box.entry.js +1806 -0
- package/dist/esm/ui-dialog-content.entry.js +29 -0
- package/dist/esm/ui-dialog-footer_2.entry.js +190 -0
- package/dist/esm/ui-divider.entry.js +479 -0
- package/dist/esm/ui-dock-host.entry.js +126 -0
- package/dist/esm/ui-dock.entry.js +219 -0
- package/dist/esm/ui-drag-drop.entry.js +170 -0
- package/dist/esm/ui-dropdown_2.entry.js +1549 -0
- package/dist/esm/ui-empty-state.entry.js +396 -0
- package/dist/esm/ui-fab-item.entry.js +37 -0
- package/dist/esm/ui-fab.entry.js +275 -0
- package/dist/esm/ui-file-upload.entry.js +416 -0
- package/dist/esm/ui-horizontal-nav.entry.js +133 -0
- package/dist/esm/ui-image-button.entry.js +65 -0
- package/dist/esm/ui-input-pair.entry.js +42 -0
- package/dist/esm/ui-knob.entry.js +445 -0
- package/dist/esm/ui-library.entry.js +132 -0
- package/dist/esm/ui-list-group_2.entry.js +583 -0
- package/dist/esm/ui-list.entry.js +730 -0
- package/dist/esm/ui-masonry.entry.js +476 -0
- package/dist/esm/ui-meter-group.entry.js +171 -0
- package/dist/esm/ui-navigation-item.entry.js +102 -0
- package/dist/esm/ui-number-input.entry.js +189 -0
- package/dist/esm/ui-otp-input.entry.js +244 -0
- package/dist/esm/ui-pagination_3.entry.js +1617 -0
- package/dist/esm/ui-panel.entry.js +612 -0
- package/dist/esm/ui-pattern-input.entry.js +276 -0
- package/dist/esm/ui-popover.entry.js +515 -0
- package/dist/esm/ui-progress.entry.js +514 -0
- package/dist/esm/ui-radio-group.entry.js +203 -0
- package/dist/esm/ui-radio.entry.js +204 -0
- package/dist/esm/ui-range-slider.entry.js +635 -0
- package/dist/esm/ui-resizable-panel.entry.js +482 -0
- package/dist/esm/ui-scroll-top.entry.js +457 -0
- package/dist/esm/ui-smart-context-menu.entry.js +374 -0
- package/dist/esm/ui-smart-location-dropdown.entry.js +563 -0
- package/dist/esm/ui-smart-stepper.entry.js +135 -0
- package/dist/esm/ui-snackbar.entry.js +861 -0
- package/dist/esm/ui-speed-dial.entry.js +518 -0
- package/dist/esm/ui-speedometer.entry.js +426 -0
- package/dist/esm/ui-splitter.entry.js +280 -0
- package/dist/esm/ui-step.entry.js +28 -0
- package/dist/esm/ui-stepper.entry.js +638 -0
- package/dist/esm/ui-switch.entry.js +403 -0
- package/dist/esm/ui-tabs.entry.js +701 -0
- package/dist/esm/ui-tag.entry.js +297 -0
- package/dist/esm/ui-timeline.entry.js +265 -0
- package/dist/esm/ui-timer.entry.js +500 -0
- package/dist/esm/ui-toolbar.entry.js +617 -0
- package/dist/esm/ui-tooltip.entry.js +695 -0
- package/dist/esm/ui-top-bar.entry.js +119 -0
- package/dist/esm/ui-transfer-list.entry.js +590 -0
- package/dist/esm/ui-tree.entry.js +872 -0
- package/dist/esm/ui-workspace-manager.entry.js +1199 -0
- package/dist/esm/utils-Ck6jDuhz.js +23 -0
- package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -0
- package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -0
- package/dist/exploration-project-tailwind/index.esm.js +1 -0
- package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-049744f9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-06f0c679.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-0b004861.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-148e81df.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-200241f8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-287dbf09.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2d273118.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-2f961934.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-35296877.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-36861546.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-3d3d48fd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-41cd6bf0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-45482d86.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-46596a28.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-46efdea3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4d73c143.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4de419d5.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-4f6bba75.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5508874f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-5e3e80ae.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-61717490.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-62352ef2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-64e3a484.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-70d82d79.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-717dad1f.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7376ac95.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-73d29a4a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7515b1e3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77124686.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77a21491.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-77cc333a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-7f91d949.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-807c6555.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-81961fb1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-85bf89fd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-85e36111.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-875be805.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-898dd0fa.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-8d951aef.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9d0c8760.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9fa70359.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-BMFah5q3.js +1 -0
- package/dist/exploration-project-tailwind/p-BSQ8klD4.js +1 -0
- package/dist/exploration-project-tailwind/p-C7gf39HE.js +1 -0
- package/dist/exploration-project-tailwind/p-Ck6jDuhz.js +1 -0
- package/dist/exploration-project-tailwind/p-D2WzX6vR.js +2 -0
- package/dist/exploration-project-tailwind/p-DUsoYu9r.js +2 -0
- package/dist/exploration-project-tailwind/p-a1ad32a2.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a3f465d9.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a42fdc33.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-aa85ff78.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ab752761.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c174a372.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c4ba7e52.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c5ddc817.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c6fd72e1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c7e87fbb.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c87aeab6.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-c90722ec.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ccb5c737.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d16c9635.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d2308a00.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d30e24bd.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-d419eaf0.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-debede45.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e5322e59.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e8ba0c95.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-e90d5307.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f0830120.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-f5719913.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-ffb1754a.entry.js +1 -0
- package/dist/exploration-project-tailwind/p-vwwmWKs9.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/accordion/accordion.d.ts +352 -0
- package/dist/types/components/accordion/types.d.ts +69 -0
- package/dist/types/components/advanced-data-table/advanced-data-table.d.ts +697 -0
- package/dist/types/components/advanced-data-table/types.d.ts +120 -0
- package/dist/types/components/anchor/anchor.d.ts +133 -0
- package/dist/types/components/anchor/types.d.ts +17 -0
- package/dist/types/components/animate-on-scroll/animate-on-scroll.d.ts +101 -0
- package/dist/types/components/aside-panel/aside-panel.d.ts +249 -0
- package/dist/types/components/avatar/avatar.d.ts +201 -0
- package/dist/types/components/avatar/types.d.ts +132 -0
- package/dist/types/components/avatar-group/avatar-group.d.ts +52 -0
- package/dist/types/components/avatar-group/types.d.ts +31 -0
- package/dist/types/components/badge/badge.d.ts +109 -0
- package/dist/types/components/badge/types.d.ts +6 -0
- package/dist/types/components/breadcrumb/breadcrumb-item.d.ts +36 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +73 -0
- package/dist/types/components/breadcrumb/types.d.ts +5 -0
- package/dist/types/components/button/button.d.ts +133 -0
- package/dist/types/components/button/types.d.ts +1 -0
- package/dist/types/components/button-toggle/button-toggle.d.ts +64 -0
- package/dist/types/components/button-toggle-group/button-toggle-group.d.ts +141 -0
- package/dist/types/components/button-toggle-group/types.d.ts +7 -0
- package/dist/types/components/callout-banner/callout-banner.d.ts +115 -0
- package/dist/types/components/callout-banner/types.d.ts +7 -0
- package/dist/types/components/card/card.d.ts +160 -0
- package/dist/types/components/card/types.d.ts +13 -0
- package/dist/types/components/carousel/carousel.d.ts +150 -0
- package/dist/types/components/carousel/types.d.ts +8 -0
- package/dist/types/components/checkbox/checkbox.d.ts +92 -0
- package/dist/types/components/checkbox/types.d.ts +5 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +87 -0
- package/dist/types/components/checkbox-group/types.d.ts +8 -0
- package/dist/types/components/code-editor/code-editor.d.ts +147 -0
- package/dist/types/components/code-editor/types.d.ts +20 -0
- package/dist/types/components/code-preview/types.d.ts +5 -0
- package/dist/types/components/code-preview/ui-code-preview.d.ts +69 -0
- package/dist/types/components/color-controller/color-controller.d.ts +24 -0
- package/dist/types/components/color-picker/color-picker.d.ts +116 -0
- package/dist/types/components/color-picker/types.d.ts +24 -0
- package/dist/types/components/command-palette/command-palette.d.ts +41 -0
- package/dist/types/components/command-palette/types.d.ts +7 -0
- package/dist/types/components/context-menu/context-menu.d.ts +135 -0
- package/dist/types/components/context-menu/types.d.ts +20 -0
- package/dist/types/components/dialog-box/dialog-box.d.ts +648 -0
- package/dist/types/components/dialog-box/types.d.ts +1 -0
- package/dist/types/components/dialog-content/dialog-content.d.ts +9 -0
- package/dist/types/components/dialog-footer/dialog-footer.d.ts +9 -0
- package/dist/types/components/dialog-footer/types.d.ts +1 -0
- package/dist/types/components/dialog-header/dialog-header.d.ts +102 -0
- package/dist/types/components/dialog-header/types.d.ts +2 -0
- package/dist/types/components/divider/divider.d.ts +245 -0
- package/dist/types/components/divider/types.d.ts +14 -0
- package/dist/types/components/dock/dock.d.ts +37 -0
- package/dist/types/components/dock/types.d.ts +11 -0
- package/dist/types/components/dock-host/index.d.ts +1 -0
- package/dist/types/components/dock-host/types.d.ts +1 -0
- package/dist/types/components/dock-host/ui-dock-host.d.ts +23 -0
- package/dist/types/components/drag-drop/drag-drop.d.ts +52 -0
- package/dist/types/components/drag-drop/types.d.ts +9 -0
- package/dist/types/components/dropdown/dropdown.d.ts +264 -0
- package/dist/types/components/dropdown/types.d.ts +19 -0
- package/dist/types/components/empty-state/empty-state.d.ts +74 -0
- package/dist/types/components/empty-state/types.d.ts +13 -0
- package/dist/types/components/fab/fab.d.ts +73 -0
- package/dist/types/components/fab-item/fab-item.d.ts +14 -0
- package/dist/types/components/fab-item/types.d.ts +3 -0
- package/dist/types/components/file-upload/file-upload.d.ts +91 -0
- package/dist/types/components/file-upload/types.d.ts +15 -0
- package/dist/types/components/horizontal-nav/horizontal-nav.d.ts +68 -0
- package/dist/types/components/icon/icon.d.ts +66 -0
- package/dist/types/components/image-button/image-button.d.ts +31 -0
- package/dist/types/components/image-button/types.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +217 -0
- package/dist/types/components/input/types.d.ts +6 -0
- package/dist/types/components/input-pair/input-pair.d.ts +28 -0
- package/dist/types/components/knob/knob.d.ts +147 -0
- package/dist/types/components/knob/types.d.ts +4 -0
- package/dist/types/components/layout-manager/layout-manager.d.ts +32 -0
- package/dist/types/components/layout-manager/lm-container/lm-container.d.ts +7 -0
- package/dist/types/components/layout-manager/lm-floating-window/lm-floating-window.d.ts +6 -0
- package/dist/types/components/layout-manager/lm-panel/lm-panel.d.ts +7 -0
- package/dist/types/components/layout-manager/lm-splitter/lm-splitter.d.ts +12 -0
- package/dist/types/components/layout-manager/lm-tabs/lm-tabs.d.ts +12 -0
- package/dist/types/components/layout-manager/types.d.ts +1 -0
- package/dist/types/components/library/category-section.d.ts +15 -0
- package/dist/types/components/library/data.d.ts +11 -0
- package/dist/types/components/library/library-card.d.ts +19 -0
- package/dist/types/components/library/library.d.ts +9 -0
- package/dist/types/components/list/list.d.ts +183 -0
- package/dist/types/components/list-group/list-group.d.ts +28 -0
- package/dist/types/components/list-item/list-item.d.ts +200 -0
- package/dist/types/components/masonry/masonry.d.ts +105 -0
- package/dist/types/components/masonry/types.d.ts +5 -0
- package/dist/types/components/meter-group/meter-group.d.ts +66 -0
- package/dist/types/components/meter-group/types.d.ts +12 -0
- package/dist/types/components/my-component/my-component.d.ts +16 -0
- package/dist/types/components/my-step/index.d.ts +12 -0
- package/dist/types/components/my-step/my-step.d.ts +13 -0
- package/dist/types/components/nav-bar/nav-bar.d.ts +119 -0
- package/dist/types/components/number-input/number-input.d.ts +72 -0
- package/dist/types/components/otp-input/otp-input.d.ts +64 -0
- package/dist/types/components/otp-input/types.d.ts +3 -0
- package/dist/types/components/pagination/pagination.d.ts +295 -0
- package/dist/types/components/pagination/types.d.ts +1 -0
- package/dist/types/components/panel/panel.d.ts +275 -0
- package/dist/types/components/panel/types.d.ts +7 -0
- package/dist/types/components/pattern-input/pattern-input.d.ts +88 -0
- package/dist/types/components/popover/popover.d.ts +161 -0
- package/dist/types/components/popover/types.d.ts +3 -0
- package/dist/types/components/progress/progress.d.ts +224 -0
- package/dist/types/components/progress/types.d.ts +6 -0
- package/dist/types/components/radio/radio.d.ts +87 -0
- package/dist/types/components/radio/types.d.ts +7 -0
- package/dist/types/components/radio-group/radio-group.d.ts +74 -0
- package/dist/types/components/radio-group/types.d.ts +2 -0
- package/dist/types/components/range-slider/range-slider.d.ts +201 -0
- package/dist/types/components/range-slider/types.d.ts +4 -0
- package/dist/types/components/rating/rating.d.ts +127 -0
- package/dist/types/components/rating/types.d.ts +1 -0
- package/dist/types/components/resizable-panel/resizable-panel.d.ts +59 -0
- package/dist/types/components/resizable-panel/types.d.ts +11 -0
- package/dist/types/components/scroll-top/scroll-top.d.ts +186 -0
- package/dist/types/components/scroll-top/types.d.ts +1 -0
- package/dist/types/components/skeleton/skeleton-loader.d.ts +149 -0
- package/dist/types/components/skeleton/types.d.ts +1 -0
- package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +119 -0
- package/dist/types/components/smart-location-dropdown/types.d.ts +37 -0
- package/dist/types/components/smart-menu/menu-item.interface.d.ts +10 -0
- package/dist/types/components/smart-menu/smart-menu.d.ts +64 -0
- package/dist/types/components/smart-stepper/smart-step.d.ts +29 -0
- package/dist/types/components/smart-stepper/smart-stepper.d.ts +53 -0
- package/dist/types/components/snackbar/snackbar.d.ts +223 -0
- package/dist/types/components/snackbar/types.d.ts +104 -0
- package/dist/types/components/speed-dial/speed-dial.d.ts +171 -0
- package/dist/types/components/speed-dial/types.d.ts +11 -0
- package/dist/types/components/speedometer/speedometer.d.ts +125 -0
- package/dist/types/components/speedometer/types.d.ts +8 -0
- package/dist/types/components/splitter/splitter.d.ts +63 -0
- package/dist/types/components/splitter/types.d.ts +9 -0
- package/dist/types/components/stack/stack.d.ts +34 -0
- package/dist/types/components/stack/types.d.ts +3 -0
- package/dist/types/components/step/step.d.ts +16 -0
- package/dist/types/components/step/types.d.ts +1 -0
- package/dist/types/components/stepper/stepper.d.ts +218 -0
- package/dist/types/components/stepper/types.d.ts +39 -0
- package/dist/types/components/switch/switch.d.ts +162 -0
- package/dist/types/components/tabs/tabs.d.ts +182 -0
- package/dist/types/components/tabs/types.d.ts +17 -0
- package/dist/types/components/tag/tag.d.ts +172 -0
- package/dist/types/components/tag/types.d.ts +4 -0
- package/dist/types/components/tag-group/tag-group.d.ts +107 -0
- package/dist/types/components/tag-group/types.d.ts +2 -0
- package/dist/types/components/timeline/timeline.d.ts +73 -0
- package/dist/types/components/timeline/types.d.ts +28 -0
- package/dist/types/components/timeline/ui-timeline.stories.d.ts +9 -0
- package/dist/types/components/timeline-item/timeline-item.d.ts +15 -0
- package/dist/types/components/timer/timer.d.ts +123 -0
- package/dist/types/components/timer/types.d.ts +18 -0
- package/dist/types/components/timer/ui-timer.stories.d.ts +9 -0
- package/dist/types/components/toggle-group/toggle-group.d.ts +136 -0
- package/dist/types/components/toggle-group/types.d.ts +5 -0
- package/dist/types/components/toolbar/toolbar-types.d.ts +189 -0
- package/dist/types/components/toolbar/toolbar.d.ts +150 -0
- package/dist/types/components/tooltip/tooltip.d.ts +166 -0
- package/dist/types/components/tooltip/types.d.ts +3 -0
- package/dist/types/components/top-bar/top-bar.d.ts +76 -0
- package/dist/types/components/transfer-list/transfer-list.d.ts +137 -0
- package/dist/types/components/transfer-list/types.d.ts +13 -0
- package/dist/types/components/tree/tree.d.ts +180 -0
- package/dist/types/components/tree/types.d.ts +76 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +108 -0
- package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-types.d.ts +17 -0
- package/dist/types/components/ui-navigation-bar/navigation-item.d.ts +26 -0
- package/dist/types/components/ui-navigation-bar/navigation-types.d.ts +19 -0
- package/dist/types/components/workspace-manager/types.d.ts +48 -0
- package/dist/types/components/workspace-manager/workspace-manager.d.ts +211 -0
- package/dist/types/components.d.ts +29634 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/service/drag-manager.d.ts +8 -0
- package/dist/types/service/event-bus.d.ts +9 -0
- package/dist/types/service/serialization.d.ts +5 -0
- package/dist/types/service/state-engine.d.ts +25 -0
- package/dist/types/service/theme-switcher.d.ts +46 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/types/animation.type.d.ts +96 -0
- package/dist/types/types/common.d.ts +52 -0
- package/dist/types/types/common.type.d.ts +608 -0
- package/dist/types/types/index.d.ts +37 -0
- package/dist/types/types/text.type.d.ts +32 -0
- package/dist/types/utils/aria-live.d.ts +20 -0
- package/dist/types/utils/component-size.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +58 -0
- package/dist/types/utils/focus-trap.d.ts +35 -0
- package/dist/types/utils/security.d.ts +5 -0
- package/dist/types/utils/test/setup-component-test-env.d.ts +14 -0
- package/dist/types/utils/utils.d.ts +7 -0
- package/dist/types/utils/validation.d.ts +43 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +77 -0
|
@@ -0,0 +1,1139 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
export class ColorPicker {
|
|
3
|
+
/** Current hex color value */
|
|
4
|
+
value = '#3bf673';
|
|
5
|
+
/** Label */
|
|
6
|
+
label = '';
|
|
7
|
+
/** Show hex input field */
|
|
8
|
+
showHex = true;
|
|
9
|
+
/** Show RGB input field */
|
|
10
|
+
showRgb = true;
|
|
11
|
+
/** Show RGBA input field */
|
|
12
|
+
showRgba = true;
|
|
13
|
+
/** Show HSL input field */
|
|
14
|
+
showHsl = true;
|
|
15
|
+
/** Show HSLA input field */
|
|
16
|
+
showHsla = true;
|
|
17
|
+
/** Show alpha channel slider */
|
|
18
|
+
showAlpha = false;
|
|
19
|
+
/** Show preset swatches */
|
|
20
|
+
showSwatches = true;
|
|
21
|
+
/** Custom swatches (hex strings) */
|
|
22
|
+
swatches = [];
|
|
23
|
+
/** Format: 'hex' | 'rgb' | 'rgba' | 'hsl' | 'hsla' */
|
|
24
|
+
format = 'hex';
|
|
25
|
+
/** Disabled */
|
|
26
|
+
disabled = false;
|
|
27
|
+
/** Show as inline (no trigger button) */
|
|
28
|
+
inline = false;
|
|
29
|
+
/** Size */
|
|
30
|
+
size = 'md';
|
|
31
|
+
/** Form internal name */
|
|
32
|
+
name = '';
|
|
33
|
+
/** Required */
|
|
34
|
+
required = false;
|
|
35
|
+
/** Show recently picked colors history */
|
|
36
|
+
showRecent = true;
|
|
37
|
+
/** Show eye dropper button (modern browsers only) */
|
|
38
|
+
showEyeDropper = true;
|
|
39
|
+
/** Show color name display */
|
|
40
|
+
showColorName = true;
|
|
41
|
+
/** Enable gradient mode */
|
|
42
|
+
showGradient = false;
|
|
43
|
+
/** Display variant: full picker, hue slider only, or direct inputs */
|
|
44
|
+
variant = 'default';
|
|
45
|
+
el;
|
|
46
|
+
internals;
|
|
47
|
+
isOpen = false;
|
|
48
|
+
hue = 220;
|
|
49
|
+
saturation = 80;
|
|
50
|
+
lightness = 60;
|
|
51
|
+
alpha = 1;
|
|
52
|
+
hexInput = '#3bf673';
|
|
53
|
+
isInvalid = false;
|
|
54
|
+
invalidField = null;
|
|
55
|
+
recentColors = [];
|
|
56
|
+
isGradientMode = false;
|
|
57
|
+
gradientStops = ['#3bf673', '#10b981'];
|
|
58
|
+
activeStopIndex = 0;
|
|
59
|
+
colorChange;
|
|
60
|
+
handleDocumentPointerDown = (event) => {
|
|
61
|
+
if (!this.isOpen || this.inline) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const eventPath = typeof event.composedPath === 'function' ? event.composedPath() : [];
|
|
65
|
+
const clickedInside = eventPath.includes(this.el);
|
|
66
|
+
if (!clickedInside && !this.el.contains(event.target)) {
|
|
67
|
+
this.isOpen = false;
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
defaultSwatches = [
|
|
71
|
+
'#ef4444', '#f97316', '#f59e0b', '#eab308', '#84cc16',
|
|
72
|
+
'#22c55e', '#10b981', '#06b6d4', '#3bf673', '#8b5cf6',
|
|
73
|
+
'#ec4899', '#f43f5e', '#6b7280', '#1f2937', '#ffffff',
|
|
74
|
+
];
|
|
75
|
+
colorNames = {
|
|
76
|
+
'#ff0000': 'Red', '#00ff00': 'Lime', '#0000ff': 'Blue',
|
|
77
|
+
'#ffffff': 'White', '#000000': 'Black', '#808080': 'Gray',
|
|
78
|
+
'#ffff00': 'Yellow', '#00ffff': 'Cyan', '#ff00ff': 'Magenta',
|
|
79
|
+
'#3bf673': 'Royal Blue', '#10b981': 'Emerald', '#ef4444': 'Red Orange',
|
|
80
|
+
'#f59e0b': 'Amber', '#8b5cf6': 'Violet', '#6b7280': 'Slate'
|
|
81
|
+
};
|
|
82
|
+
initializeInternals() {
|
|
83
|
+
if (this.internals || typeof this.el?.attachInternals !== 'function') {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
try {
|
|
87
|
+
this.internals = this.el.attachInternals();
|
|
88
|
+
}
|
|
89
|
+
catch (error) {
|
|
90
|
+
if (!(error instanceof DOMException) || error.name !== 'NotSupportedError') {
|
|
91
|
+
throw error;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
componentWillLoad() {
|
|
96
|
+
this.initializeInternals();
|
|
97
|
+
this.syncValueToState(this.value);
|
|
98
|
+
this.value = this.getFormattedValue();
|
|
99
|
+
this.updateFormValue();
|
|
100
|
+
this.loadHistory();
|
|
101
|
+
}
|
|
102
|
+
connectedCallback() {
|
|
103
|
+
document.addEventListener('pointerdown', this.handleDocumentPointerDown, true);
|
|
104
|
+
}
|
|
105
|
+
disconnectedCallback() {
|
|
106
|
+
document.removeEventListener('pointerdown', this.handleDocumentPointerDown, true);
|
|
107
|
+
}
|
|
108
|
+
loadHistory() {
|
|
109
|
+
if (!this.showRecent)
|
|
110
|
+
return;
|
|
111
|
+
try {
|
|
112
|
+
const saved = localStorage.getItem('ui-color-history');
|
|
113
|
+
if (saved) {
|
|
114
|
+
this.recentColors = JSON.parse(saved);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
catch (e) {
|
|
118
|
+
console.error('Failed to load color history', e);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
saveHistory(color) {
|
|
122
|
+
if (!this.showRecent)
|
|
123
|
+
return;
|
|
124
|
+
const newHistory = [color, ...this.recentColors.filter(c => c !== color)].slice(0, 10);
|
|
125
|
+
this.recentColors = newHistory;
|
|
126
|
+
localStorage.setItem('ui-color-history', JSON.stringify(newHistory));
|
|
127
|
+
}
|
|
128
|
+
updateFormValue() {
|
|
129
|
+
if (this.internals) {
|
|
130
|
+
this.internals?.setFormValue(this.value);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
valueChanged(val) {
|
|
134
|
+
this.syncValueToState(val);
|
|
135
|
+
}
|
|
136
|
+
getSwatches() {
|
|
137
|
+
if (typeof this.swatches === 'string') {
|
|
138
|
+
try {
|
|
139
|
+
return JSON.parse(this.swatches);
|
|
140
|
+
}
|
|
141
|
+
catch {
|
|
142
|
+
return this.defaultSwatches;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
return this.swatches.length > 0 ? this.swatches : this.defaultSwatches;
|
|
146
|
+
}
|
|
147
|
+
clamp(value, min, max) {
|
|
148
|
+
return Math.min(max, Math.max(min, value));
|
|
149
|
+
}
|
|
150
|
+
roundAlpha(value) {
|
|
151
|
+
return Math.round(this.clamp(value, 0, 1) * 100) / 100;
|
|
152
|
+
}
|
|
153
|
+
componentToHex(value) {
|
|
154
|
+
return Math.round(this.clamp(value, 0, 255)).toString(16).padStart(2, '0');
|
|
155
|
+
}
|
|
156
|
+
rgbToHsl(r, g, b) {
|
|
157
|
+
const rn = this.clamp(r, 0, 255) / 255;
|
|
158
|
+
const gn = this.clamp(g, 0, 255) / 255;
|
|
159
|
+
const bn = this.clamp(b, 0, 255) / 255;
|
|
160
|
+
const max = Math.max(rn, gn, bn);
|
|
161
|
+
const min = Math.min(rn, gn, bn);
|
|
162
|
+
const l = (max + min) / 2;
|
|
163
|
+
let h = 0;
|
|
164
|
+
let s = 0;
|
|
165
|
+
if (max !== min) {
|
|
166
|
+
const d = max - min;
|
|
167
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
168
|
+
switch (max) {
|
|
169
|
+
case rn:
|
|
170
|
+
h = ((gn - bn) / d + (gn < bn ? 6 : 0)) / 6;
|
|
171
|
+
break;
|
|
172
|
+
case gn:
|
|
173
|
+
h = ((bn - rn) / d + 2) / 6;
|
|
174
|
+
break;
|
|
175
|
+
default:
|
|
176
|
+
h = ((rn - gn) / d + 4) / 6;
|
|
177
|
+
break;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
return {
|
|
181
|
+
h: Math.round(h * 360),
|
|
182
|
+
s: Math.round(s * 100),
|
|
183
|
+
l: Math.round(l * 100),
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
parseHex(hex) {
|
|
187
|
+
const normalized = hex.trim();
|
|
188
|
+
const match = normalized.match(/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i);
|
|
189
|
+
if (!match)
|
|
190
|
+
return null;
|
|
191
|
+
let raw = match[1];
|
|
192
|
+
if (raw.length === 3 || raw.length === 4) {
|
|
193
|
+
raw = raw.split('').map(char => `${char}${char}`).join('');
|
|
194
|
+
}
|
|
195
|
+
const hasAlpha = raw.length === 8;
|
|
196
|
+
const r = parseInt(raw.slice(0, 2), 16);
|
|
197
|
+
const g = parseInt(raw.slice(2, 4), 16);
|
|
198
|
+
const b = parseInt(raw.slice(4, 6), 16);
|
|
199
|
+
const alpha = hasAlpha ? parseInt(raw.slice(6, 8), 16) / 255 : this.alpha;
|
|
200
|
+
const hsl = this.rgbToHsl(r, g, b);
|
|
201
|
+
return {
|
|
202
|
+
hex: `#${this.componentToHex(r)}${this.componentToHex(g)}${this.componentToHex(b)}`,
|
|
203
|
+
alpha: this.roundAlpha(alpha),
|
|
204
|
+
...hsl,
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
parseRgbColor(value) {
|
|
208
|
+
const match = value.trim().match(/^rgba?\(([^)]+)\)$/i);
|
|
209
|
+
if (!match)
|
|
210
|
+
return null;
|
|
211
|
+
const parts = match[1].split(',').map(part => part.trim());
|
|
212
|
+
if (parts.length !== 3 && parts.length !== 4)
|
|
213
|
+
return null;
|
|
214
|
+
const rgb = parts.slice(0, 3).map(part => Number(part));
|
|
215
|
+
if (rgb.some(part => Number.isNaN(part)))
|
|
216
|
+
return null;
|
|
217
|
+
const [r, g, b] = rgb.map(part => this.clamp(part, 0, 255));
|
|
218
|
+
const alpha = parts[3] !== undefined ? this.roundAlpha(Number(parts[3])) : this.alpha;
|
|
219
|
+
if (Number.isNaN(alpha))
|
|
220
|
+
return null;
|
|
221
|
+
const hsl = this.rgbToHsl(r, g, b);
|
|
222
|
+
return {
|
|
223
|
+
hex: `#${this.componentToHex(r)}${this.componentToHex(g)}${this.componentToHex(b)}`,
|
|
224
|
+
alpha,
|
|
225
|
+
...hsl,
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
parseHslColor(value) {
|
|
229
|
+
const match = value.trim().match(/^hsla?\(([^)]+)\)$/i);
|
|
230
|
+
if (!match)
|
|
231
|
+
return null;
|
|
232
|
+
const parts = match[1].split(',').map(part => part.trim());
|
|
233
|
+
if (parts.length !== 3 && parts.length !== 4)
|
|
234
|
+
return null;
|
|
235
|
+
const hue = Number(parts[0]);
|
|
236
|
+
const saturation = Number(parts[1].replace('%', ''));
|
|
237
|
+
const lightness = Number(parts[2].replace('%', ''));
|
|
238
|
+
const alpha = parts[3] !== undefined ? this.roundAlpha(Number(parts[3])) : this.alpha;
|
|
239
|
+
if ([hue, saturation, lightness, alpha].some(part => Number.isNaN(part)))
|
|
240
|
+
return null;
|
|
241
|
+
const normalizedHue = ((hue % 360) + 360) % 360;
|
|
242
|
+
const normalizedSaturation = this.clamp(saturation, 0, 100);
|
|
243
|
+
const normalizedLightness = this.clamp(lightness, 0, 100);
|
|
244
|
+
return {
|
|
245
|
+
hex: this.hslToHex(normalizedHue, normalizedSaturation, normalizedLightness),
|
|
246
|
+
alpha,
|
|
247
|
+
h: Math.round(normalizedHue),
|
|
248
|
+
s: Math.round(normalizedSaturation),
|
|
249
|
+
l: Math.round(normalizedLightness),
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
parseColorValue(value) {
|
|
253
|
+
if (!value || value.startsWith('linear-gradient'))
|
|
254
|
+
return null;
|
|
255
|
+
return this.parseHex(value)
|
|
256
|
+
|| this.parseRgbColor(value)
|
|
257
|
+
|| this.parseHslColor(value);
|
|
258
|
+
}
|
|
259
|
+
syncParsedColor(parsedColor) {
|
|
260
|
+
this.hue = parsedColor.h;
|
|
261
|
+
this.saturation = parsedColor.s;
|
|
262
|
+
this.lightness = parsedColor.l;
|
|
263
|
+
this.alpha = this.roundAlpha(parsedColor.alpha);
|
|
264
|
+
this.hexInput = this.getHexInputValue(parsedColor.hex, parsedColor.alpha);
|
|
265
|
+
this.isInvalid = false;
|
|
266
|
+
this.invalidField = null;
|
|
267
|
+
}
|
|
268
|
+
syncValueToState(value) {
|
|
269
|
+
const parsedColor = this.parseColorValue(value);
|
|
270
|
+
if (parsedColor) {
|
|
271
|
+
this.syncParsedColor(parsedColor);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
hslToHex(h, s, l) {
|
|
275
|
+
const hn = h / 360, sn = s / 100, ln = l / 100;
|
|
276
|
+
let r, g, b;
|
|
277
|
+
if (sn === 0) {
|
|
278
|
+
r = g = b = ln;
|
|
279
|
+
}
|
|
280
|
+
else {
|
|
281
|
+
const hue2rgb = (p, q, t) => {
|
|
282
|
+
if (t < 0)
|
|
283
|
+
t += 1;
|
|
284
|
+
if (t > 1)
|
|
285
|
+
t -= 1;
|
|
286
|
+
if (t < 1 / 6)
|
|
287
|
+
return p + (q - p) * 6 * t;
|
|
288
|
+
if (t < 1 / 2)
|
|
289
|
+
return q;
|
|
290
|
+
if (t < 2 / 3)
|
|
291
|
+
return p + (q - p) * (2 / 3 - t) * 6;
|
|
292
|
+
return p;
|
|
293
|
+
};
|
|
294
|
+
const q = ln < 0.5 ? ln * (1 + sn) : ln + sn - ln * sn;
|
|
295
|
+
const p = 2 * ln - q;
|
|
296
|
+
r = hue2rgb(p, q, hn + 1 / 3);
|
|
297
|
+
g = hue2rgb(p, q, hn);
|
|
298
|
+
b = hue2rgb(p, q, hn - 1 / 3);
|
|
299
|
+
}
|
|
300
|
+
const toHex = (x) => Math.round(x * 255).toString(16).padStart(2, '0');
|
|
301
|
+
return `#${toHex(r)}${toHex(g)}${toHex(b)}`;
|
|
302
|
+
}
|
|
303
|
+
getRgbValues() {
|
|
304
|
+
const hex = this.hslToHex(this.hue, this.saturation, this.lightness).replace('#', '');
|
|
305
|
+
return {
|
|
306
|
+
r: parseInt(hex.slice(0, 2), 16),
|
|
307
|
+
g: parseInt(hex.slice(2, 4), 16),
|
|
308
|
+
b: parseInt(hex.slice(4, 6), 16),
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
getHexValue(baseHex = this.hslToHex(this.hue, this.saturation, this.lightness), alpha = this.alpha) {
|
|
312
|
+
if (alpha < 1) {
|
|
313
|
+
return `${baseHex}${this.componentToHex(alpha * 255)}`;
|
|
314
|
+
}
|
|
315
|
+
return baseHex;
|
|
316
|
+
}
|
|
317
|
+
getHexInputValue(baseHex = this.hslToHex(this.hue, this.saturation, this.lightness), alpha = this.alpha) {
|
|
318
|
+
return this.getHexValue(baseHex, alpha).replace(/^#/, '');
|
|
319
|
+
}
|
|
320
|
+
getRgbString(includeAlpha = false) {
|
|
321
|
+
const { r, g, b } = this.getRgbValues();
|
|
322
|
+
return includeAlpha
|
|
323
|
+
? `rgba(${r}, ${g}, ${b}, ${this.roundAlpha(this.alpha)})`
|
|
324
|
+
: `rgb(${r}, ${g}, ${b})`;
|
|
325
|
+
}
|
|
326
|
+
getHslString(includeAlpha = false) {
|
|
327
|
+
return includeAlpha
|
|
328
|
+
? `hsla(${this.hue}, ${this.saturation}%, ${this.lightness}%, ${this.roundAlpha(this.alpha)})`
|
|
329
|
+
: `hsl(${this.hue}, ${this.saturation}%, ${this.lightness}%)`;
|
|
330
|
+
}
|
|
331
|
+
getFormattedValue() {
|
|
332
|
+
switch (this.format) {
|
|
333
|
+
case 'rgb':
|
|
334
|
+
return this.getRgbString(false);
|
|
335
|
+
case 'rgba':
|
|
336
|
+
return this.getRgbString(true);
|
|
337
|
+
case 'hsl':
|
|
338
|
+
return this.getHslString(false);
|
|
339
|
+
case 'hsla':
|
|
340
|
+
return this.getHslString(true);
|
|
341
|
+
case 'hex':
|
|
342
|
+
default:
|
|
343
|
+
return this.getHexValue();
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
updateColorFromInput(value, source) {
|
|
347
|
+
if (source === 'hex')
|
|
348
|
+
this.hexInput = value.replace(/^#/, '');
|
|
349
|
+
const normalizedValue = source === 'hex'
|
|
350
|
+
? `#${value.replace(/^#/, '')}`
|
|
351
|
+
: value;
|
|
352
|
+
const parsedColor = this.parseColorValue(normalizedValue);
|
|
353
|
+
if (!parsedColor) {
|
|
354
|
+
this.isInvalid = true;
|
|
355
|
+
this.invalidField = source;
|
|
356
|
+
return;
|
|
357
|
+
}
|
|
358
|
+
this.syncParsedColor(parsedColor);
|
|
359
|
+
const formattedValue = this.getFormattedValue();
|
|
360
|
+
this.value = formattedValue;
|
|
361
|
+
this.updateFormValue();
|
|
362
|
+
this.colorChange.emit(formattedValue);
|
|
363
|
+
// Removed redundant saveHistory call
|
|
364
|
+
}
|
|
365
|
+
emitChange() {
|
|
366
|
+
const hex = this.hslToHex(this.hue, this.saturation, this.lightness);
|
|
367
|
+
if (this.isGradientMode) {
|
|
368
|
+
this.gradientStops[this.activeStopIndex] = hex;
|
|
369
|
+
this.gradientStops = [...this.gradientStops];
|
|
370
|
+
const grad = `linear-gradient(90deg, ${this.gradientStops[0]}, ${this.gradientStops[1]})`;
|
|
371
|
+
this.value = grad;
|
|
372
|
+
this.colorChange.emit(grad);
|
|
373
|
+
}
|
|
374
|
+
else {
|
|
375
|
+
this.value = this.getFormattedValue();
|
|
376
|
+
this.hexInput = this.getHexInputValue(hex, this.alpha);
|
|
377
|
+
this.isInvalid = false;
|
|
378
|
+
this.invalidField = null;
|
|
379
|
+
this.updateFormValue();
|
|
380
|
+
this.colorChange.emit(this.value);
|
|
381
|
+
this.saveHistory(hex);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
toggleGradientMode = () => {
|
|
385
|
+
this.isGradientMode = !this.isGradientMode;
|
|
386
|
+
this.emitChange();
|
|
387
|
+
};
|
|
388
|
+
async handleEyeDropper() {
|
|
389
|
+
if (!('EyeDropper' in window)) {
|
|
390
|
+
alert('EyeDropper API is not supported in this browser.');
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
393
|
+
// @ts-ignore
|
|
394
|
+
const eyeDropper = new EyeDropper();
|
|
395
|
+
try {
|
|
396
|
+
const result = await eyeDropper.open();
|
|
397
|
+
this.handleSwatch(result.sRGBHex);
|
|
398
|
+
}
|
|
399
|
+
catch (e) {
|
|
400
|
+
// EyeDropper cancelled or failed
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
getColorName(hex) {
|
|
404
|
+
const h = hex.toLowerCase();
|
|
405
|
+
return this.colorNames[h] || 'Custom';
|
|
406
|
+
}
|
|
407
|
+
handleHexInput = (e) => {
|
|
408
|
+
this.updateColorFromInput(e.detail, 'hex');
|
|
409
|
+
};
|
|
410
|
+
handleSwatch = (color) => {
|
|
411
|
+
const parsedColor = this.parseHex(color);
|
|
412
|
+
if (!parsedColor)
|
|
413
|
+
return;
|
|
414
|
+
this.syncParsedColor(parsedColor);
|
|
415
|
+
this.value = this.getFormattedValue();
|
|
416
|
+
this.updateFormValue();
|
|
417
|
+
this.colorChange.emit(this.value);
|
|
418
|
+
this.saveHistory(parsedColor.hex);
|
|
419
|
+
};
|
|
420
|
+
parseChannelValue(value) {
|
|
421
|
+
if (value === '' || value === null || value === undefined) {
|
|
422
|
+
return null;
|
|
423
|
+
}
|
|
424
|
+
const numericValue = Number(value);
|
|
425
|
+
return Number.isFinite(numericValue) ? numericValue : null;
|
|
426
|
+
}
|
|
427
|
+
setChannelValidation(fieldKey) {
|
|
428
|
+
this.isInvalid = Boolean(fieldKey);
|
|
429
|
+
this.invalidField = fieldKey;
|
|
430
|
+
}
|
|
431
|
+
applyRgbColor(r, g, b, alpha = this.alpha) {
|
|
432
|
+
const nextR = Math.round(this.clamp(r, 0, 255));
|
|
433
|
+
const nextG = Math.round(this.clamp(g, 0, 255));
|
|
434
|
+
const nextB = Math.round(this.clamp(b, 0, 255));
|
|
435
|
+
const nextAlpha = this.roundAlpha(alpha);
|
|
436
|
+
const nextHsl = this.rgbToHsl(nextR, nextG, nextB);
|
|
437
|
+
this.syncParsedColor({
|
|
438
|
+
hex: `#${this.componentToHex(nextR)}${this.componentToHex(nextG)}${this.componentToHex(nextB)}`,
|
|
439
|
+
alpha: nextAlpha,
|
|
440
|
+
...nextHsl,
|
|
441
|
+
});
|
|
442
|
+
this.value = this.getFormattedValue();
|
|
443
|
+
this.updateFormValue();
|
|
444
|
+
this.colorChange.emit(this.value);
|
|
445
|
+
// Removed redundant saveHistory call
|
|
446
|
+
}
|
|
447
|
+
applyHslColor(h, s, l, alpha = this.alpha) {
|
|
448
|
+
const nextHue = Math.round(this.clamp(h, 0, 360));
|
|
449
|
+
const nextSaturation = Math.round(this.clamp(s, 0, 100));
|
|
450
|
+
const nextLightness = Math.round(this.clamp(l, 0, 100));
|
|
451
|
+
const nextAlpha = this.roundAlpha(alpha);
|
|
452
|
+
this.syncParsedColor({
|
|
453
|
+
hex: this.hslToHex(nextHue, nextSaturation, nextLightness),
|
|
454
|
+
alpha: nextAlpha,
|
|
455
|
+
h: nextHue,
|
|
456
|
+
s: nextSaturation,
|
|
457
|
+
l: nextLightness,
|
|
458
|
+
});
|
|
459
|
+
this.value = this.getFormattedValue();
|
|
460
|
+
this.updateFormValue();
|
|
461
|
+
this.colorChange.emit(this.value);
|
|
462
|
+
// Removed redundant saveHistory call
|
|
463
|
+
}
|
|
464
|
+
handleRgbChannelChange = (channel, event) => {
|
|
465
|
+
const channelValue = this.parseChannelValue(event.detail);
|
|
466
|
+
const fieldKey = `rgb-${channel}`;
|
|
467
|
+
if (channelValue === null || channelValue < 0 || channelValue > 255) {
|
|
468
|
+
this.setChannelValidation(fieldKey);
|
|
469
|
+
return;
|
|
470
|
+
}
|
|
471
|
+
const currentRgb = this.getRgbValues();
|
|
472
|
+
currentRgb[channel] = Math.round(channelValue);
|
|
473
|
+
this.setChannelValidation(null);
|
|
474
|
+
this.applyRgbColor(currentRgb.r, currentRgb.g, currentRgb.b);
|
|
475
|
+
};
|
|
476
|
+
handleRgbaChannelChange = (channel, event) => {
|
|
477
|
+
const channelValue = this.parseChannelValue(event.detail);
|
|
478
|
+
const fieldKey = `rgba-${channel}`;
|
|
479
|
+
if (channelValue === null) {
|
|
480
|
+
this.setChannelValidation(fieldKey);
|
|
481
|
+
return;
|
|
482
|
+
}
|
|
483
|
+
const currentRgb = this.getRgbValues();
|
|
484
|
+
let nextAlpha = this.alpha;
|
|
485
|
+
if (channel === 'a') {
|
|
486
|
+
if (channelValue < 0 || channelValue > 1) {
|
|
487
|
+
this.setChannelValidation(fieldKey);
|
|
488
|
+
return;
|
|
489
|
+
}
|
|
490
|
+
nextAlpha = channelValue;
|
|
491
|
+
}
|
|
492
|
+
else {
|
|
493
|
+
if (channelValue < 0 || channelValue > 255) {
|
|
494
|
+
this.setChannelValidation(fieldKey);
|
|
495
|
+
return;
|
|
496
|
+
}
|
|
497
|
+
currentRgb[channel] = Math.round(channelValue);
|
|
498
|
+
}
|
|
499
|
+
this.setChannelValidation(null);
|
|
500
|
+
this.applyRgbColor(currentRgb.r, currentRgb.g, currentRgb.b, nextAlpha);
|
|
501
|
+
};
|
|
502
|
+
handleHslChannelChange = (channel, event) => {
|
|
503
|
+
const channelValue = this.parseChannelValue(event.detail);
|
|
504
|
+
const fieldKey = `hsl-${channel}`;
|
|
505
|
+
const limits = { h: 360, s: 100, l: 100 };
|
|
506
|
+
if (channelValue === null || channelValue < 0 || channelValue > limits[channel]) {
|
|
507
|
+
this.setChannelValidation(fieldKey);
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
const nextHsl = {
|
|
511
|
+
h: this.hue,
|
|
512
|
+
s: this.saturation,
|
|
513
|
+
l: this.lightness,
|
|
514
|
+
[channel]: Math.round(channelValue),
|
|
515
|
+
};
|
|
516
|
+
this.setChannelValidation(null);
|
|
517
|
+
this.applyHslColor(nextHsl.h, nextHsl.s, nextHsl.l);
|
|
518
|
+
};
|
|
519
|
+
handleHslaChannelChange = (channel, event) => {
|
|
520
|
+
const channelValue = this.parseChannelValue(event.detail);
|
|
521
|
+
const fieldKey = `hsla-${channel}`;
|
|
522
|
+
if (channelValue === null) {
|
|
523
|
+
this.setChannelValidation(fieldKey);
|
|
524
|
+
return;
|
|
525
|
+
}
|
|
526
|
+
const nextHsl = {
|
|
527
|
+
h: this.hue,
|
|
528
|
+
s: this.saturation,
|
|
529
|
+
l: this.lightness,
|
|
530
|
+
};
|
|
531
|
+
let nextAlpha = this.alpha;
|
|
532
|
+
if (channel === 'a') {
|
|
533
|
+
if (channelValue < 0 || channelValue > 1) {
|
|
534
|
+
this.setChannelValidation(fieldKey);
|
|
535
|
+
return;
|
|
536
|
+
}
|
|
537
|
+
nextAlpha = channelValue;
|
|
538
|
+
}
|
|
539
|
+
else {
|
|
540
|
+
const limits = { h: 360, s: 100, l: 100 };
|
|
541
|
+
if (channelValue < 0 || channelValue > limits[channel]) {
|
|
542
|
+
this.setChannelValidation(fieldKey);
|
|
543
|
+
return;
|
|
544
|
+
}
|
|
545
|
+
nextHsl[channel] = Math.round(channelValue);
|
|
546
|
+
}
|
|
547
|
+
this.setChannelValidation(null);
|
|
548
|
+
this.applyHslColor(nextHsl.h, nextHsl.s, nextHsl.l, nextAlpha);
|
|
549
|
+
};
|
|
550
|
+
isHueVariant() {
|
|
551
|
+
return this.variant === 'hue';
|
|
552
|
+
}
|
|
553
|
+
isInputVariant() {
|
|
554
|
+
return this.variant === 'input';
|
|
555
|
+
}
|
|
556
|
+
showGradientSurface() {
|
|
557
|
+
return !this.isHueVariant() && !this.isInputVariant();
|
|
558
|
+
}
|
|
559
|
+
showSliderSection() {
|
|
560
|
+
return !this.isInputVariant();
|
|
561
|
+
}
|
|
562
|
+
showInputSection() {
|
|
563
|
+
return this.showHex || this.showRgb || this.showRgba || this.showHsl || this.showHsla || this.isInputVariant();
|
|
564
|
+
}
|
|
565
|
+
getPanelClasses() {
|
|
566
|
+
return {
|
|
567
|
+
'cp-panel': true,
|
|
568
|
+
'cp-panel-hue': this.isHueVariant(),
|
|
569
|
+
'cp-panel-input': this.isInputVariant(),
|
|
570
|
+
'cp-panel-multi-format': this.showInputSection(),
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
renderFormatInput(label, value, onInputChange, formatKey) {
|
|
574
|
+
return (h("div", { class: "cp-input-wrap cp-full cp-inline-row" }, h("span", { class: "cp-sm-label" }, label), h("ui-input", { class: { 'cp-text-input': true, 'cp-input-error': this.isInvalid && this.invalidField === formatKey }, type: "text", value: value, onInputChange: onInputChange, size: "sm" })));
|
|
575
|
+
}
|
|
576
|
+
renderChannelInput(fieldKey, label, value, min, max, step, onInputChange) {
|
|
577
|
+
return (h("div", { class: "cp-channel-field" }, h("span", { class: "cp-channel-label" }, label), h("ui-input", { class: { 'cp-text-input': true, 'cp-channel-input': true, 'cp-input-error': this.isInvalid && this.invalidField === fieldKey }, type: "number", min: min, max: max, step: step, value: value, onInputChange: onInputChange, size: "sm" })));
|
|
578
|
+
}
|
|
579
|
+
renderChannelGroup(label, columns, fields) {
|
|
580
|
+
return (h("div", { class: "cp-input-wrap cp-full cp-channel-group cp-inline-row" }, h("span", { class: "cp-sm-label" }, label), h("div", { class: { 'cp-channel-grid': true, 'cp-channel-grid-3': columns === 3, 'cp-channel-grid-4': columns === 4 } }, fields)));
|
|
581
|
+
}
|
|
582
|
+
render() {
|
|
583
|
+
const currentColor = this.hslToHex(this.hue, this.saturation, this.lightness);
|
|
584
|
+
const swatches = this.getSwatches();
|
|
585
|
+
const picker = (h("div", { key: '1e6a1eb368643f6e67d9804cce7bcfed32b1bd1d', class: this.getPanelClasses() }, this.showGradientSurface() && (h("div", { key: '2970c7db9dde45a2f88ed3ede420df322c6556dc', class: "cp-gradient", role: "slider", "aria-label": "Saturation and Lightness", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": this.saturation, "aria-valuetext": `Saturation ${this.saturation}%, Lightness ${this.lightness}%`, tabindex: "0", onKeyDown: (e) => {
|
|
586
|
+
const step = e.shiftKey ? 10 : 1;
|
|
587
|
+
if (e.key === 'ArrowLeft') {
|
|
588
|
+
this.saturation = Math.max(0, this.saturation - step);
|
|
589
|
+
this.emitChange();
|
|
590
|
+
}
|
|
591
|
+
if (e.key === 'ArrowRight') {
|
|
592
|
+
this.saturation = Math.min(100, this.saturation + step);
|
|
593
|
+
this.emitChange();
|
|
594
|
+
}
|
|
595
|
+
if (e.key === 'ArrowUp') {
|
|
596
|
+
this.lightness = Math.min(100, this.lightness + step);
|
|
597
|
+
this.emitChange();
|
|
598
|
+
}
|
|
599
|
+
if (e.key === 'ArrowDown') {
|
|
600
|
+
this.lightness = Math.max(0, this.lightness - step);
|
|
601
|
+
this.emitChange();
|
|
602
|
+
}
|
|
603
|
+
}, style: { background: `linear-gradient(to bottom, transparent, #000), linear-gradient(to right, #fff, hsl(${this.hue}, 100%, 50%))` }, onMouseDown: (e) => {
|
|
604
|
+
const rect = e.currentTarget.getBoundingClientRect();
|
|
605
|
+
const onMove = (me) => {
|
|
606
|
+
const x = Math.max(0, Math.min(1, (me.clientX - rect.left) / rect.width));
|
|
607
|
+
const y = Math.max(0, Math.min(1, (me.clientY - rect.top) / rect.height));
|
|
608
|
+
this.saturation = Math.round(x * 100);
|
|
609
|
+
this.lightness = Math.round((1 - y) * (100 - x * 50));
|
|
610
|
+
this.emitChange();
|
|
611
|
+
};
|
|
612
|
+
const onUp = () => {
|
|
613
|
+
window.removeEventListener('mousemove', onMove);
|
|
614
|
+
window.removeEventListener('mouseup', onUp);
|
|
615
|
+
};
|
|
616
|
+
window.addEventListener('mousemove', onMove);
|
|
617
|
+
window.addEventListener('mouseup', onUp);
|
|
618
|
+
onMove(e);
|
|
619
|
+
} }, h("div", { key: '4136b69d81619ce158f2988be19e3e866dfa4ae8', class: "cp-gradient-thumb", style: { left: `${this.saturation}%`, top: `${100 - this.lightness}%`, background: currentColor } }))), this.showSliderSection() && (h("div", { key: '27572206380ad082b4c49a9652b171169d4d92c0', class: "cp-row" }, h("div", { key: 'c69c64ac7d1173add32d3c0541ac73fe70383d7e', class: "cp-preview", style: { background: currentColor } }), h("div", { key: '54663ac5d49a43922b4a46587383b4ea3db54520', class: "cp-sliders" }, h("ui-range-slider", { key: '058c8a3b800afafc80cb13c06cfb48462e8e8206', class: "cp-hue-slider", min: 0, max: 360, value: this.hue, onSliderChange: (e) => { this.hue = Number(e.detail); this.emitChange(); }, "aria-label": "Hue", showTooltip: false, showValue: false, hideRange: true, trackColor: "linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)" }), this.showAlpha && (h("ui-range-slider", { key: 'ef3b5d6112c7040bb1910d8171c8dc84901b628b', class: "cp-alpha-slider", min: 0, max: 100, value: Math.round(this.alpha * 100), onSliderChange: (e) => { this.alpha = Number(e.detail) / 100; this.emitChange(); }, "aria-label": "Alpha", showTooltip: false, showValue: false, hideRange: true, trackColor: `linear-gradient(to right, transparent, ${this.hslToHex(this.hue, this.saturation, this.lightness)}), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Crect width='5' height='5' fill='%23ccc'/%3E%3Crect x='5' y='5' width='5' height='5' fill='%23ccc'/%3E%3C/svg%3E")` }))), this.showEyeDropper && 'EyeDropper' in window && (h("ui-button", { key: 'a3597f83c7b6e4293bd0975d07b8994e66580f87', variant: "ghost", onClick: () => this.handleEyeDropper(), ariaLabel: "Sample color from screen", icon: "pipette", iconLibrary: "lucide", iconOnly: true, size: "sm", title: "Sample color from screen" })))), this.showInputSection() && (h("div", { key: 'd3473eb493f2fda3167c506e8ff2470beb17bab9', class: "cp-inputs-grid" }, this.showHex && (this.renderFormatInput('HEX', this.hexInput || this.getHexInputValue(), this.handleHexInput, 'hex')), this.showRgb && (this.renderChannelGroup('RGB', 3, [
|
|
620
|
+
this.renderChannelInput('rgb-r', 'R', this.getRgbValues().r, 0, 255, 1, (event) => this.handleRgbChannelChange('r', event)),
|
|
621
|
+
this.renderChannelInput('rgb-g', 'G', this.getRgbValues().g, 0, 255, 1, (event) => this.handleRgbChannelChange('g', event)),
|
|
622
|
+
this.renderChannelInput('rgb-b', 'B', this.getRgbValues().b, 0, 255, 1, (event) => this.handleRgbChannelChange('b', event)),
|
|
623
|
+
])), this.showRgba && (this.renderChannelGroup('RGBA', 4, [
|
|
624
|
+
this.renderChannelInput('rgba-r', 'R', this.getRgbValues().r, 0, 255, 1, (event) => this.handleRgbaChannelChange('r', event)),
|
|
625
|
+
this.renderChannelInput('rgba-g', 'G', this.getRgbValues().g, 0, 255, 1, (event) => this.handleRgbaChannelChange('g', event)),
|
|
626
|
+
this.renderChannelInput('rgba-b', 'B', this.getRgbValues().b, 0, 255, 1, (event) => this.handleRgbaChannelChange('b', event)),
|
|
627
|
+
this.renderChannelInput('rgba-a', 'A', this.alpha, 0, 1, 0.01, (event) => this.handleRgbaChannelChange('a', event)),
|
|
628
|
+
])), this.showHsl && (this.renderChannelGroup('HSL', 3, [
|
|
629
|
+
this.renderChannelInput('hsl-h', 'H', this.hue, 0, 360, 1, (event) => this.handleHslChannelChange('h', event)),
|
|
630
|
+
this.renderChannelInput('hsl-s', 'S', this.saturation, 0, 100, 1, (event) => this.handleHslChannelChange('s', event)),
|
|
631
|
+
this.renderChannelInput('hsl-l', 'L', this.lightness, 0, 100, 1, (event) => this.handleHslChannelChange('l', event)),
|
|
632
|
+
])), this.showHsla && (this.renderChannelGroup('HSLA', 4, [
|
|
633
|
+
this.renderChannelInput('hsla-h', 'H', this.hue, 0, 360, 1, (event) => this.handleHslaChannelChange('h', event)),
|
|
634
|
+
this.renderChannelInput('hsla-s', 'S', this.saturation, 0, 100, 1, (event) => this.handleHslaChannelChange('s', event)),
|
|
635
|
+
this.renderChannelInput('hsla-l', 'L', this.lightness, 0, 100, 1, (event) => this.handleHslaChannelChange('l', event)),
|
|
636
|
+
this.renderChannelInput('hsla-a', 'A', this.alpha, 0, 1, 0.01, (event) => this.handleHslaChannelChange('a', event)),
|
|
637
|
+
])), this.showColorName && (h("div", { key: 'e73f932f199ad98b6d0155e4f39fc6f731821e75', class: "cp-input-wrap cp-full" }, h("span", { key: 'c47ac8a26ae1f1db9cc2a6fa0888ed2568043b30', class: "cp-sm-label" }, "NAME"), h("div", { key: '393f4e95fa277dc016f4c31291683973f4f0a48a', class: "cp-name-display" }, this.getColorName(currentColor)))), this.showGradient && (h("div", { key: '9029146f00a030168b63ea55a9a1f9ec67ce7cfa', class: "cp-gradient-toggle-wrap cp-full" }, h("ui-button", { key: 'a6561f32b69e43b5651134b73a6ab195b721c2c9', variant: 'outline', class: { 'cp-gradient-toggle': true, 'cp-active': this.isGradientMode }, onClick: this.toggleGradientMode, fullWidth: true, label: this.isGradientMode ? 'Disable Gradient' : 'Enable Gradient', size: "sm" }), this.isGradientMode && (h("div", { key: 'aabaa25bd9f75a7bec76e611b9d852b8918fd718', class: "cp-stop-selectors" }, this.gradientStops.map((stop, i) => (h("button", { type: "button", class: { 'cp-swatch': true, 'cp-swatch-active': this.activeStopIndex === i }, style: { 'background-color': stop, '--swatch-color': stop, 'border-radius': '50%' }, onClick: () => this.activeStopIndex = i, "aria-label": `Gradient stop ${i + 1}` }))))))))), !this.isInputVariant() && (this.showSwatches || (this.showRecent && this.recentColors.length > 0)) && (h("div", { key: 'b928b33063877a58493f56aa01a37efac5fade30', class: "cp-swatches-section" }, h("div", { key: '02b8efedfdad4aa7bbe93b63bd3075395bef8f37', class: "cp-swatches" }, swatches.map(s => (h("ui-button", { type: "button", style: { 'background-color': s, '--swatch-color': s }, class: { 'cp-swatch': true, 'cp-swatch-active': s.toLowerCase() === currentColor.toLowerCase() }, onClick: () => this.handleSwatch(s), title: this.getColorName(s), "aria-label": `Color ${this.getColorName(s)}` })))), this.showRecent && this.recentColors.length > 0 && (h("div", { key: '68a6692afc4ae42ac02c8835fb65f40d64572ffd', class: "cp-history", style: { marginTop: '16px' } }, h("div", { key: 'c14af759e7380d18fa8b046bd91d97e0d4bb7b43', class: "cp-sm-label", style: { marginBottom: '8px' } }, "RECENT"), h("div", { key: 'a405d48643d7b452cb90dcfd5d2756a91a37585c', class: "cp-swatches" }, this.recentColors.map(s => (h("ui-button", { type: "button", style: { 'background-color': s, '--swatch-color': s, 'border-radius': '50%' }, class: { 'cp-swatch': true, 'cp-history-swatch': true, 'cp-swatch-active': s.toLowerCase() === currentColor.toLowerCase() }, onClick: () => this.handleSwatch(s), title: this.getColorName(s), "aria-label": `Recent color ${this.getColorName(s)}` }))))))))));
|
|
638
|
+
return (h(Host, { key: '437644b794e0abc1a9a37f77641ef9edf0bc47d7', class: `cp-size-${this.size} cp-variant-${this.variant}` }, this.label && h("label", { key: 'ba2bb236655f6eab50c62cd18d3b07bbc0cf37b1', class: "cp-label" }, this.label), this.inline ? picker : (h("div", { class: "cp-trigger-wrapper" }, h("ui-button", { variant: "outline", disabled: this.disabled, onClick: () => !this.disabled && (this.isOpen = !this.isOpen), fullWidth: true }, h("span", { class: "cp-trigger-swatch", style: { background: this.value } }), h("span", { class: "cp-trigger-value", style: { marginLeft: '8px', flex: '1', textAlign: 'left' } }, this.isGradientMode ? this.value : this.getFormattedValue()), h("ui-icon", { name: this.isOpen ? 'chevron-up' : 'chevron-down', size: "18", library: "lucide" })), this.isOpen && (h("div", { class: "cp-dropdown" }, picker))))));
|
|
639
|
+
}
|
|
640
|
+
static get is() { return "ui-color-picker"; }
|
|
641
|
+
static get encapsulation() { return "shadow"; }
|
|
642
|
+
static get formAssociated() { return true; }
|
|
643
|
+
static get originalStyleUrls() {
|
|
644
|
+
return {
|
|
645
|
+
"$": ["color-picker.scss"]
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
static get styleUrls() {
|
|
649
|
+
return {
|
|
650
|
+
"$": ["color-picker.css"]
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
static get properties() {
|
|
654
|
+
return {
|
|
655
|
+
"value": {
|
|
656
|
+
"type": "string",
|
|
657
|
+
"mutable": true,
|
|
658
|
+
"complexType": {
|
|
659
|
+
"original": "string",
|
|
660
|
+
"resolved": "string",
|
|
661
|
+
"references": {}
|
|
662
|
+
},
|
|
663
|
+
"required": false,
|
|
664
|
+
"optional": false,
|
|
665
|
+
"docs": {
|
|
666
|
+
"tags": [],
|
|
667
|
+
"text": "Current hex color value"
|
|
668
|
+
},
|
|
669
|
+
"getter": false,
|
|
670
|
+
"setter": false,
|
|
671
|
+
"reflect": false,
|
|
672
|
+
"attribute": "value",
|
|
673
|
+
"defaultValue": "'#3bf673'"
|
|
674
|
+
},
|
|
675
|
+
"label": {
|
|
676
|
+
"type": "string",
|
|
677
|
+
"mutable": false,
|
|
678
|
+
"complexType": {
|
|
679
|
+
"original": "string",
|
|
680
|
+
"resolved": "string",
|
|
681
|
+
"references": {}
|
|
682
|
+
},
|
|
683
|
+
"required": false,
|
|
684
|
+
"optional": false,
|
|
685
|
+
"docs": {
|
|
686
|
+
"tags": [],
|
|
687
|
+
"text": "Label"
|
|
688
|
+
},
|
|
689
|
+
"getter": false,
|
|
690
|
+
"setter": false,
|
|
691
|
+
"reflect": false,
|
|
692
|
+
"attribute": "label",
|
|
693
|
+
"defaultValue": "''"
|
|
694
|
+
},
|
|
695
|
+
"showHex": {
|
|
696
|
+
"type": "boolean",
|
|
697
|
+
"mutable": false,
|
|
698
|
+
"complexType": {
|
|
699
|
+
"original": "boolean",
|
|
700
|
+
"resolved": "boolean",
|
|
701
|
+
"references": {}
|
|
702
|
+
},
|
|
703
|
+
"required": false,
|
|
704
|
+
"optional": false,
|
|
705
|
+
"docs": {
|
|
706
|
+
"tags": [],
|
|
707
|
+
"text": "Show hex input field"
|
|
708
|
+
},
|
|
709
|
+
"getter": false,
|
|
710
|
+
"setter": false,
|
|
711
|
+
"reflect": false,
|
|
712
|
+
"attribute": "show-hex",
|
|
713
|
+
"defaultValue": "true"
|
|
714
|
+
},
|
|
715
|
+
"showRgb": {
|
|
716
|
+
"type": "boolean",
|
|
717
|
+
"mutable": false,
|
|
718
|
+
"complexType": {
|
|
719
|
+
"original": "boolean",
|
|
720
|
+
"resolved": "boolean",
|
|
721
|
+
"references": {}
|
|
722
|
+
},
|
|
723
|
+
"required": false,
|
|
724
|
+
"optional": false,
|
|
725
|
+
"docs": {
|
|
726
|
+
"tags": [],
|
|
727
|
+
"text": "Show RGB input field"
|
|
728
|
+
},
|
|
729
|
+
"getter": false,
|
|
730
|
+
"setter": false,
|
|
731
|
+
"reflect": false,
|
|
732
|
+
"attribute": "show-rgb",
|
|
733
|
+
"defaultValue": "true"
|
|
734
|
+
},
|
|
735
|
+
"showRgba": {
|
|
736
|
+
"type": "boolean",
|
|
737
|
+
"mutable": false,
|
|
738
|
+
"complexType": {
|
|
739
|
+
"original": "boolean",
|
|
740
|
+
"resolved": "boolean",
|
|
741
|
+
"references": {}
|
|
742
|
+
},
|
|
743
|
+
"required": false,
|
|
744
|
+
"optional": false,
|
|
745
|
+
"docs": {
|
|
746
|
+
"tags": [],
|
|
747
|
+
"text": "Show RGBA input field"
|
|
748
|
+
},
|
|
749
|
+
"getter": false,
|
|
750
|
+
"setter": false,
|
|
751
|
+
"reflect": false,
|
|
752
|
+
"attribute": "show-rgba",
|
|
753
|
+
"defaultValue": "true"
|
|
754
|
+
},
|
|
755
|
+
"showHsl": {
|
|
756
|
+
"type": "boolean",
|
|
757
|
+
"mutable": false,
|
|
758
|
+
"complexType": {
|
|
759
|
+
"original": "boolean",
|
|
760
|
+
"resolved": "boolean",
|
|
761
|
+
"references": {}
|
|
762
|
+
},
|
|
763
|
+
"required": false,
|
|
764
|
+
"optional": false,
|
|
765
|
+
"docs": {
|
|
766
|
+
"tags": [],
|
|
767
|
+
"text": "Show HSL input field"
|
|
768
|
+
},
|
|
769
|
+
"getter": false,
|
|
770
|
+
"setter": false,
|
|
771
|
+
"reflect": false,
|
|
772
|
+
"attribute": "show-hsl",
|
|
773
|
+
"defaultValue": "true"
|
|
774
|
+
},
|
|
775
|
+
"showHsla": {
|
|
776
|
+
"type": "boolean",
|
|
777
|
+
"mutable": false,
|
|
778
|
+
"complexType": {
|
|
779
|
+
"original": "boolean",
|
|
780
|
+
"resolved": "boolean",
|
|
781
|
+
"references": {}
|
|
782
|
+
},
|
|
783
|
+
"required": false,
|
|
784
|
+
"optional": false,
|
|
785
|
+
"docs": {
|
|
786
|
+
"tags": [],
|
|
787
|
+
"text": "Show HSLA input field"
|
|
788
|
+
},
|
|
789
|
+
"getter": false,
|
|
790
|
+
"setter": false,
|
|
791
|
+
"reflect": false,
|
|
792
|
+
"attribute": "show-hsla",
|
|
793
|
+
"defaultValue": "true"
|
|
794
|
+
},
|
|
795
|
+
"showAlpha": {
|
|
796
|
+
"type": "boolean",
|
|
797
|
+
"mutable": false,
|
|
798
|
+
"complexType": {
|
|
799
|
+
"original": "boolean",
|
|
800
|
+
"resolved": "boolean",
|
|
801
|
+
"references": {}
|
|
802
|
+
},
|
|
803
|
+
"required": false,
|
|
804
|
+
"optional": false,
|
|
805
|
+
"docs": {
|
|
806
|
+
"tags": [],
|
|
807
|
+
"text": "Show alpha channel slider"
|
|
808
|
+
},
|
|
809
|
+
"getter": false,
|
|
810
|
+
"setter": false,
|
|
811
|
+
"reflect": false,
|
|
812
|
+
"attribute": "show-alpha",
|
|
813
|
+
"defaultValue": "false"
|
|
814
|
+
},
|
|
815
|
+
"showSwatches": {
|
|
816
|
+
"type": "boolean",
|
|
817
|
+
"mutable": false,
|
|
818
|
+
"complexType": {
|
|
819
|
+
"original": "boolean",
|
|
820
|
+
"resolved": "boolean",
|
|
821
|
+
"references": {}
|
|
822
|
+
},
|
|
823
|
+
"required": false,
|
|
824
|
+
"optional": false,
|
|
825
|
+
"docs": {
|
|
826
|
+
"tags": [],
|
|
827
|
+
"text": "Show preset swatches"
|
|
828
|
+
},
|
|
829
|
+
"getter": false,
|
|
830
|
+
"setter": false,
|
|
831
|
+
"reflect": false,
|
|
832
|
+
"attribute": "show-swatches",
|
|
833
|
+
"defaultValue": "true"
|
|
834
|
+
},
|
|
835
|
+
"swatches": {
|
|
836
|
+
"type": "string",
|
|
837
|
+
"mutable": false,
|
|
838
|
+
"complexType": {
|
|
839
|
+
"original": "string[] | string",
|
|
840
|
+
"resolved": "string | string[]",
|
|
841
|
+
"references": {}
|
|
842
|
+
},
|
|
843
|
+
"required": false,
|
|
844
|
+
"optional": false,
|
|
845
|
+
"docs": {
|
|
846
|
+
"tags": [],
|
|
847
|
+
"text": "Custom swatches (hex strings)"
|
|
848
|
+
},
|
|
849
|
+
"getter": false,
|
|
850
|
+
"setter": false,
|
|
851
|
+
"reflect": false,
|
|
852
|
+
"attribute": "swatches",
|
|
853
|
+
"defaultValue": "[]"
|
|
854
|
+
},
|
|
855
|
+
"format": {
|
|
856
|
+
"type": "string",
|
|
857
|
+
"mutable": false,
|
|
858
|
+
"complexType": {
|
|
859
|
+
"original": "ColorFormat",
|
|
860
|
+
"resolved": "\"hex\" | \"hsl\" | \"hsla\" | \"rgb\" | \"rgba\"",
|
|
861
|
+
"references": {
|
|
862
|
+
"ColorFormat": {
|
|
863
|
+
"location": "import",
|
|
864
|
+
"path": "./types",
|
|
865
|
+
"id": "src/components/color-picker/types.ts::ColorFormat",
|
|
866
|
+
"referenceLocation": "ColorFormat"
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
"required": false,
|
|
871
|
+
"optional": false,
|
|
872
|
+
"docs": {
|
|
873
|
+
"tags": [],
|
|
874
|
+
"text": "Format: 'hex' | 'rgb' | 'rgba' | 'hsl' | 'hsla'"
|
|
875
|
+
},
|
|
876
|
+
"getter": false,
|
|
877
|
+
"setter": false,
|
|
878
|
+
"reflect": false,
|
|
879
|
+
"attribute": "format",
|
|
880
|
+
"defaultValue": "'hex'"
|
|
881
|
+
},
|
|
882
|
+
"disabled": {
|
|
883
|
+
"type": "boolean",
|
|
884
|
+
"mutable": false,
|
|
885
|
+
"complexType": {
|
|
886
|
+
"original": "boolean",
|
|
887
|
+
"resolved": "boolean",
|
|
888
|
+
"references": {}
|
|
889
|
+
},
|
|
890
|
+
"required": false,
|
|
891
|
+
"optional": false,
|
|
892
|
+
"docs": {
|
|
893
|
+
"tags": [],
|
|
894
|
+
"text": "Disabled"
|
|
895
|
+
},
|
|
896
|
+
"getter": false,
|
|
897
|
+
"setter": false,
|
|
898
|
+
"reflect": false,
|
|
899
|
+
"attribute": "disabled",
|
|
900
|
+
"defaultValue": "false"
|
|
901
|
+
},
|
|
902
|
+
"inline": {
|
|
903
|
+
"type": "boolean",
|
|
904
|
+
"mutable": false,
|
|
905
|
+
"complexType": {
|
|
906
|
+
"original": "boolean",
|
|
907
|
+
"resolved": "boolean",
|
|
908
|
+
"references": {}
|
|
909
|
+
},
|
|
910
|
+
"required": false,
|
|
911
|
+
"optional": false,
|
|
912
|
+
"docs": {
|
|
913
|
+
"tags": [],
|
|
914
|
+
"text": "Show as inline (no trigger button)"
|
|
915
|
+
},
|
|
916
|
+
"getter": false,
|
|
917
|
+
"setter": false,
|
|
918
|
+
"reflect": false,
|
|
919
|
+
"attribute": "inline",
|
|
920
|
+
"defaultValue": "false"
|
|
921
|
+
},
|
|
922
|
+
"size": {
|
|
923
|
+
"type": "string",
|
|
924
|
+
"mutable": false,
|
|
925
|
+
"complexType": {
|
|
926
|
+
"original": "BasicSize",
|
|
927
|
+
"resolved": "\"default\" | \"large\" | \"lg\" | \"md\" | \"medium\" | \"sm\" | \"small\"",
|
|
928
|
+
"references": {
|
|
929
|
+
"BasicSize": {
|
|
930
|
+
"location": "import",
|
|
931
|
+
"path": "../../types/common.type",
|
|
932
|
+
"id": "src/types/common.type.d.ts::BasicSize",
|
|
933
|
+
"referenceLocation": "BasicSize"
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"required": false,
|
|
938
|
+
"optional": false,
|
|
939
|
+
"docs": {
|
|
940
|
+
"tags": [],
|
|
941
|
+
"text": "Size"
|
|
942
|
+
},
|
|
943
|
+
"getter": false,
|
|
944
|
+
"setter": false,
|
|
945
|
+
"reflect": false,
|
|
946
|
+
"attribute": "size",
|
|
947
|
+
"defaultValue": "'md'"
|
|
948
|
+
},
|
|
949
|
+
"name": {
|
|
950
|
+
"type": "string",
|
|
951
|
+
"mutable": false,
|
|
952
|
+
"complexType": {
|
|
953
|
+
"original": "string",
|
|
954
|
+
"resolved": "string",
|
|
955
|
+
"references": {}
|
|
956
|
+
},
|
|
957
|
+
"required": false,
|
|
958
|
+
"optional": false,
|
|
959
|
+
"docs": {
|
|
960
|
+
"tags": [],
|
|
961
|
+
"text": "Form internal name"
|
|
962
|
+
},
|
|
963
|
+
"getter": false,
|
|
964
|
+
"setter": false,
|
|
965
|
+
"reflect": false,
|
|
966
|
+
"attribute": "name",
|
|
967
|
+
"defaultValue": "''"
|
|
968
|
+
},
|
|
969
|
+
"required": {
|
|
970
|
+
"type": "boolean",
|
|
971
|
+
"mutable": false,
|
|
972
|
+
"complexType": {
|
|
973
|
+
"original": "boolean",
|
|
974
|
+
"resolved": "boolean",
|
|
975
|
+
"references": {}
|
|
976
|
+
},
|
|
977
|
+
"required": false,
|
|
978
|
+
"optional": false,
|
|
979
|
+
"docs": {
|
|
980
|
+
"tags": [],
|
|
981
|
+
"text": "Required"
|
|
982
|
+
},
|
|
983
|
+
"getter": false,
|
|
984
|
+
"setter": false,
|
|
985
|
+
"reflect": false,
|
|
986
|
+
"attribute": "required",
|
|
987
|
+
"defaultValue": "false"
|
|
988
|
+
},
|
|
989
|
+
"showRecent": {
|
|
990
|
+
"type": "boolean",
|
|
991
|
+
"mutable": false,
|
|
992
|
+
"complexType": {
|
|
993
|
+
"original": "boolean",
|
|
994
|
+
"resolved": "boolean",
|
|
995
|
+
"references": {}
|
|
996
|
+
},
|
|
997
|
+
"required": false,
|
|
998
|
+
"optional": false,
|
|
999
|
+
"docs": {
|
|
1000
|
+
"tags": [],
|
|
1001
|
+
"text": "Show recently picked colors history"
|
|
1002
|
+
},
|
|
1003
|
+
"getter": false,
|
|
1004
|
+
"setter": false,
|
|
1005
|
+
"reflect": false,
|
|
1006
|
+
"attribute": "show-recent",
|
|
1007
|
+
"defaultValue": "true"
|
|
1008
|
+
},
|
|
1009
|
+
"showEyeDropper": {
|
|
1010
|
+
"type": "boolean",
|
|
1011
|
+
"mutable": false,
|
|
1012
|
+
"complexType": {
|
|
1013
|
+
"original": "boolean",
|
|
1014
|
+
"resolved": "boolean",
|
|
1015
|
+
"references": {}
|
|
1016
|
+
},
|
|
1017
|
+
"required": false,
|
|
1018
|
+
"optional": false,
|
|
1019
|
+
"docs": {
|
|
1020
|
+
"tags": [],
|
|
1021
|
+
"text": "Show eye dropper button (modern browsers only)"
|
|
1022
|
+
},
|
|
1023
|
+
"getter": false,
|
|
1024
|
+
"setter": false,
|
|
1025
|
+
"reflect": false,
|
|
1026
|
+
"attribute": "show-eye-dropper",
|
|
1027
|
+
"defaultValue": "true"
|
|
1028
|
+
},
|
|
1029
|
+
"showColorName": {
|
|
1030
|
+
"type": "boolean",
|
|
1031
|
+
"mutable": false,
|
|
1032
|
+
"complexType": {
|
|
1033
|
+
"original": "boolean",
|
|
1034
|
+
"resolved": "boolean",
|
|
1035
|
+
"references": {}
|
|
1036
|
+
},
|
|
1037
|
+
"required": false,
|
|
1038
|
+
"optional": false,
|
|
1039
|
+
"docs": {
|
|
1040
|
+
"tags": [],
|
|
1041
|
+
"text": "Show color name display"
|
|
1042
|
+
},
|
|
1043
|
+
"getter": false,
|
|
1044
|
+
"setter": false,
|
|
1045
|
+
"reflect": false,
|
|
1046
|
+
"attribute": "show-color-name",
|
|
1047
|
+
"defaultValue": "true"
|
|
1048
|
+
},
|
|
1049
|
+
"showGradient": {
|
|
1050
|
+
"type": "boolean",
|
|
1051
|
+
"mutable": false,
|
|
1052
|
+
"complexType": {
|
|
1053
|
+
"original": "boolean",
|
|
1054
|
+
"resolved": "boolean",
|
|
1055
|
+
"references": {}
|
|
1056
|
+
},
|
|
1057
|
+
"required": false,
|
|
1058
|
+
"optional": false,
|
|
1059
|
+
"docs": {
|
|
1060
|
+
"tags": [],
|
|
1061
|
+
"text": "Enable gradient mode"
|
|
1062
|
+
},
|
|
1063
|
+
"getter": false,
|
|
1064
|
+
"setter": false,
|
|
1065
|
+
"reflect": false,
|
|
1066
|
+
"attribute": "show-gradient",
|
|
1067
|
+
"defaultValue": "false"
|
|
1068
|
+
},
|
|
1069
|
+
"variant": {
|
|
1070
|
+
"type": "string",
|
|
1071
|
+
"mutable": false,
|
|
1072
|
+
"complexType": {
|
|
1073
|
+
"original": "ColorPickerVariant",
|
|
1074
|
+
"resolved": "\"default\" | \"hue\" | \"input\"",
|
|
1075
|
+
"references": {
|
|
1076
|
+
"ColorPickerVariant": {
|
|
1077
|
+
"location": "import",
|
|
1078
|
+
"path": "./types",
|
|
1079
|
+
"id": "src/components/color-picker/types.ts::ColorPickerVariant",
|
|
1080
|
+
"referenceLocation": "ColorPickerVariant"
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
"required": false,
|
|
1085
|
+
"optional": false,
|
|
1086
|
+
"docs": {
|
|
1087
|
+
"tags": [],
|
|
1088
|
+
"text": "Display variant: full picker, hue slider only, or direct inputs"
|
|
1089
|
+
},
|
|
1090
|
+
"getter": false,
|
|
1091
|
+
"setter": false,
|
|
1092
|
+
"reflect": false,
|
|
1093
|
+
"attribute": "variant",
|
|
1094
|
+
"defaultValue": "'default'"
|
|
1095
|
+
}
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
static get states() {
|
|
1099
|
+
return {
|
|
1100
|
+
"isOpen": {},
|
|
1101
|
+
"hue": {},
|
|
1102
|
+
"saturation": {},
|
|
1103
|
+
"lightness": {},
|
|
1104
|
+
"alpha": {},
|
|
1105
|
+
"hexInput": {},
|
|
1106
|
+
"isInvalid": {},
|
|
1107
|
+
"invalidField": {},
|
|
1108
|
+
"recentColors": {},
|
|
1109
|
+
"isGradientMode": {},
|
|
1110
|
+
"gradientStops": {},
|
|
1111
|
+
"activeStopIndex": {}
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
static get events() {
|
|
1115
|
+
return [{
|
|
1116
|
+
"method": "colorChange",
|
|
1117
|
+
"name": "colorChange",
|
|
1118
|
+
"bubbles": true,
|
|
1119
|
+
"cancelable": true,
|
|
1120
|
+
"composed": true,
|
|
1121
|
+
"docs": {
|
|
1122
|
+
"tags": [],
|
|
1123
|
+
"text": ""
|
|
1124
|
+
},
|
|
1125
|
+
"complexType": {
|
|
1126
|
+
"original": "string",
|
|
1127
|
+
"resolved": "string",
|
|
1128
|
+
"references": {}
|
|
1129
|
+
}
|
|
1130
|
+
}];
|
|
1131
|
+
}
|
|
1132
|
+
static get elementRef() { return "el"; }
|
|
1133
|
+
static get watchers() {
|
|
1134
|
+
return [{
|
|
1135
|
+
"propName": "value",
|
|
1136
|
+
"methodName": "valueChanged"
|
|
1137
|
+
}];
|
|
1138
|
+
}
|
|
1139
|
+
}
|