@andespindola/ui-core 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{floating-ui.dom-BPemvNRD.js → floating-ui.dom-BZk7Blsu.js} +93 -0
- package/dist/cjs/{index-Cb1tfi_9.js → index-DV8CICae.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/ui-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-accordion.cjs.entry.js +2 -2
- package/dist/cjs/ui-alert.cjs.entry.js +1 -1
- package/dist/cjs/ui-avatar-group.cjs.entry.js +2 -2
- package/dist/cjs/ui-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ui-badge.cjs.entry.js +1 -1
- package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/ui-button.cjs.entry.js +2 -2
- package/dist/cjs/ui-card.cjs.entry.js +2 -2
- package/dist/cjs/ui-carousel.cjs.entry.js +104 -0
- package/dist/cjs/ui-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ui-combobox.cjs.entry.js +153 -0
- package/dist/cjs/ui-command.cjs.entry.js +137 -0
- package/dist/cjs/ui-container.cjs.entry.js +2 -2
- package/dist/cjs/ui-date-picker.cjs.entry.js +171 -0
- package/dist/cjs/ui-dialog.cjs.entry.js +2 -2
- package/dist/cjs/ui-drawer.cjs.entry.js +2 -2
- package/dist/cjs/ui-dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/ui-dropdown-menu.cjs.entry.js +3 -3
- package/dist/cjs/ui-field.cjs.entry.js +2 -2
- package/dist/cjs/ui-file-upload.cjs.entry.js +57 -0
- package/dist/cjs/ui-grid.cjs.entry.js +2 -2
- package/dist/cjs/ui-input.cjs.entry.js +2 -2
- package/dist/cjs/ui-label.cjs.entry.js +2 -2
- package/dist/cjs/ui-loading-overlay.cjs.entry.js +1 -1
- package/dist/cjs/ui-navbar.cjs.entry.js +17 -0
- package/dist/cjs/ui-pagination.cjs.entry.js +3 -3
- package/dist/cjs/ui-popover.cjs.entry.js +3 -3
- package/dist/cjs/ui-progress-circular.cjs.entry.js +44 -0
- package/dist/cjs/ui-progress.cjs.entry.js +2 -2
- package/dist/cjs/ui-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/ui-rating.cjs.entry.js +45 -0
- package/dist/cjs/ui-reveal.cjs.entry.js +2 -2
- package/dist/cjs/ui-scroll-progress.cjs.entry.js +2 -2
- package/dist/cjs/ui-section.cjs.entry.js +2 -2
- package/dist/cjs/ui-segmented.cjs.entry.js +2 -2
- package/dist/cjs/ui-select.cjs.entry.js +2 -2
- package/dist/cjs/ui-separator.cjs.entry.js +2 -2
- package/dist/cjs/ui-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/ui-slider.cjs.entry.js +2 -2
- package/dist/cjs/ui-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ui-stack.cjs.entry.js +2 -2
- package/dist/cjs/ui-stat.cjs.entry.js +2 -2
- package/dist/cjs/ui-switch.cjs.entry.js +2 -2
- package/dist/cjs/ui-table.cjs.entry.js +25 -0
- package/dist/cjs/ui-tabs.cjs.entry.js +3 -3
- package/dist/cjs/ui-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ui-theme-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ui-timeline-item.cjs.entry.js +19 -0
- package/dist/cjs/ui-timeline.cjs.entry.js +17 -0
- package/dist/cjs/ui-toast.cjs.entry.js +2 -2
- package/dist/cjs/ui-toaster.cjs.entry.js +2 -2
- package/dist/cjs/ui-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/uikit.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +11 -0
- package/dist/collection/components/ui-accordion/ui-accordion.js +1 -1
- package/dist/collection/components/ui-accordion-item/ui-accordion-item.js +1 -1
- package/dist/collection/components/ui-avatar/ui-avatar.js +1 -1
- package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +1 -1
- package/dist/collection/components/ui-breadcrumb/ui-breadcrumb.js +1 -1
- package/dist/collection/components/ui-breadcrumb-item/ui-breadcrumb-item.js +1 -1
- package/dist/collection/components/ui-button/ui-button.css +2 -0
- package/dist/collection/components/ui-card/ui-card.js +1 -1
- package/dist/collection/components/ui-carousel/ui-carousel.css +103 -0
- package/dist/collection/components/ui-carousel/ui-carousel.js +273 -0
- package/dist/collection/components/ui-checkbox/ui-checkbox.js +1 -1
- package/dist/collection/components/ui-combobox/ui-combobox.css +93 -0
- package/dist/collection/components/ui-combobox/ui-combobox.js +248 -0
- package/dist/collection/components/ui-command/ui-command.css +85 -0
- package/dist/collection/components/ui-command/ui-command.js +290 -0
- package/dist/collection/components/ui-container/ui-container.js +1 -1
- package/dist/collection/components/ui-date-picker/ui-date-picker.css +176 -0
- package/dist/collection/components/ui-date-picker/ui-date-picker.js +243 -0
- package/dist/collection/components/ui-dialog/ui-dialog.js +1 -1
- package/dist/collection/components/ui-drawer/ui-drawer.js +1 -1
- package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.js +1 -1
- package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.js +1 -1
- package/dist/collection/components/ui-field/ui-field.js +1 -1
- package/dist/collection/components/ui-file-upload/ui-file-upload.css +79 -0
- package/dist/collection/components/ui-file-upload/ui-file-upload.js +151 -0
- package/dist/collection/components/ui-grid/ui-grid.js +1 -1
- package/dist/collection/components/ui-input/ui-input.js +1 -1
- package/dist/collection/components/ui-label/ui-label.js +1 -1
- package/dist/collection/components/ui-navbar/ui-navbar.css +36 -0
- package/dist/collection/components/ui-navbar/ui-navbar.js +18 -0
- package/dist/collection/components/ui-pagination/ui-pagination.js +2 -2
- package/dist/collection/components/ui-popover/ui-popover.js +1 -1
- package/dist/collection/components/ui-progress/ui-progress.js +1 -1
- package/dist/collection/components/ui-progress-circular/ui-progress-circular.css +46 -0
- package/dist/collection/components/ui-progress-circular/ui-progress-circular.js +171 -0
- package/dist/collection/components/ui-radio-group/ui-radio-group.js +1 -1
- package/dist/collection/components/ui-rating/ui-rating.css +52 -0
- package/dist/collection/components/ui-rating/ui-rating.js +134 -0
- package/dist/collection/components/ui-reveal/ui-reveal.js +1 -1
- package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.js +1 -1
- package/dist/collection/components/ui-section/ui-section.js +1 -1
- package/dist/collection/components/ui-segmented/ui-segmented.js +1 -1
- package/dist/collection/components/ui-select/ui-select.js +1 -1
- package/dist/collection/components/ui-separator/ui-separator.js +1 -1
- package/dist/collection/components/ui-skeleton/ui-skeleton.js +1 -1
- package/dist/collection/components/ui-slider/ui-slider.js +1 -1
- package/dist/collection/components/ui-spinner/ui-spinner.js +1 -1
- package/dist/collection/components/ui-stack/ui-stack.js +1 -1
- package/dist/collection/components/ui-stat/ui-stat.js +1 -1
- package/dist/collection/components/ui-switch/ui-switch.js +1 -1
- package/dist/collection/components/ui-table/ui-table.css +46 -0
- package/dist/collection/components/ui-table/ui-table.js +119 -0
- package/dist/collection/components/ui-tabs/ui-tabs.js +2 -2
- package/dist/collection/components/ui-textarea/ui-textarea.js +1 -1
- package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.js +1 -1
- package/dist/collection/components/ui-timeline/ui-timeline.css +8 -0
- package/dist/collection/components/ui-timeline/ui-timeline.js +18 -0
- package/dist/collection/components/ui-timeline-item/ui-timeline-item.css +83 -0
- package/dist/collection/components/ui-timeline-item/ui-timeline-item.js +90 -0
- package/dist/collection/components/ui-toast/ui-toast.js +1 -1
- package/dist/collection/components/ui-toaster/ui-toaster.js +1 -1
- package/dist/collection/components/ui-tooltip/ui-tooltip.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CgsjJD8o.js → p-DAnXvxY_.js} +1 -1
- package/dist/components/{p-CyBRmmbs.js → p-DDtwbwIl.js} +1 -1
- package/dist/components/{p-BwNtNvTb.js → p-yTNEyxh1.js} +1 -1
- package/dist/components/ui-accordion-item.js +1 -1
- package/dist/components/ui-accordion.js +1 -1
- package/dist/components/ui-avatar-group.js +1 -1
- package/dist/components/ui-avatar.js +1 -1
- package/dist/components/ui-breadcrumb-item.js +1 -1
- package/dist/components/ui-breadcrumb.js +1 -1
- package/dist/components/ui-button.js +1 -1
- package/dist/components/ui-card.js +1 -1
- package/dist/components/ui-carousel.d.ts +11 -0
- package/dist/components/ui-carousel.js +1 -0
- package/dist/components/ui-checkbox.js +1 -1
- package/dist/components/ui-combobox.d.ts +11 -0
- package/dist/components/ui-combobox.js +1 -0
- package/dist/components/ui-command.d.ts +11 -0
- package/dist/components/ui-command.js +1 -0
- package/dist/components/ui-container.js +1 -1
- package/dist/components/ui-date-picker.d.ts +11 -0
- package/dist/components/ui-date-picker.js +1 -0
- package/dist/components/ui-dialog.js +1 -1
- package/dist/components/ui-drawer.js +1 -1
- package/dist/components/ui-dropdown-item.js +1 -1
- package/dist/components/ui-dropdown-menu.js +1 -1
- package/dist/components/ui-field.js +1 -1
- package/dist/components/ui-file-upload.d.ts +11 -0
- package/dist/components/ui-file-upload.js +1 -0
- package/dist/components/ui-grid.js +1 -1
- package/dist/components/ui-input.js +1 -1
- package/dist/components/ui-label.js +1 -1
- package/dist/components/ui-loading-overlay.js +1 -1
- package/dist/components/ui-navbar.d.ts +11 -0
- package/dist/components/ui-navbar.js +1 -0
- package/dist/components/ui-pagination.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress-circular.d.ts +11 -0
- package/dist/components/ui-progress-circular.js +1 -0
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-radio-group.js +1 -1
- package/dist/components/ui-rating.d.ts +11 -0
- package/dist/components/ui-rating.js +1 -0
- package/dist/components/ui-reveal.js +1 -1
- package/dist/components/ui-scroll-progress.js +1 -1
- package/dist/components/ui-section.js +1 -1
- package/dist/components/ui-segmented.js +1 -1
- package/dist/components/ui-select.js +1 -1
- package/dist/components/ui-separator.js +1 -1
- package/dist/components/ui-skeleton.js +1 -1
- package/dist/components/ui-slider.js +1 -1
- package/dist/components/ui-spinner.js +1 -1
- package/dist/components/ui-stack.js +1 -1
- package/dist/components/ui-stat.js +1 -1
- package/dist/components/ui-switch.js +1 -1
- package/dist/components/ui-table.d.ts +11 -0
- package/dist/components/ui-table.js +1 -0
- package/dist/components/ui-tabs.js +1 -1
- package/dist/components/ui-textarea.js +1 -1
- package/dist/components/ui-theme-toggle.js +1 -1
- package/dist/components/ui-timeline-item.d.ts +11 -0
- package/dist/components/ui-timeline-item.js +1 -0
- package/dist/components/ui-timeline.d.ts +11 -0
- package/dist/components/ui-timeline.js +1 -0
- package/dist/components/ui-toast.js +1 -1
- package/dist/components/ui-toaster.js +1 -1
- package/dist/components/ui-tooltip.js +1 -1
- package/dist/esm/{floating-ui.dom-CyBRmmbs.js → floating-ui.dom-DDtwbwIl.js} +93 -1
- package/dist/esm/{index-DYwlrXg_.js → index-COlwaVJP.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/ui-accordion-item.entry.js +2 -2
- package/dist/esm/ui-accordion.entry.js +2 -2
- package/dist/esm/ui-alert.entry.js +1 -1
- package/dist/esm/ui-avatar-group.entry.js +2 -2
- package/dist/esm/ui-avatar.entry.js +2 -2
- package/dist/esm/ui-badge.entry.js +1 -1
- package/dist/esm/ui-breadcrumb-item.entry.js +2 -2
- package/dist/esm/ui-breadcrumb.entry.js +2 -2
- package/dist/esm/ui-button.entry.js +2 -2
- package/dist/esm/ui-card.entry.js +2 -2
- package/dist/esm/ui-carousel.entry.js +102 -0
- package/dist/esm/ui-checkbox.entry.js +2 -2
- package/dist/esm/ui-combobox.entry.js +151 -0
- package/dist/esm/ui-command.entry.js +135 -0
- package/dist/esm/ui-container.entry.js +2 -2
- package/dist/esm/ui-date-picker.entry.js +169 -0
- package/dist/esm/ui-dialog.entry.js +2 -2
- package/dist/esm/ui-drawer.entry.js +2 -2
- package/dist/esm/ui-dropdown-item.entry.js +2 -2
- package/dist/esm/ui-dropdown-menu.entry.js +3 -3
- package/dist/esm/ui-field.entry.js +2 -2
- package/dist/esm/ui-file-upload.entry.js +55 -0
- package/dist/esm/ui-grid.entry.js +2 -2
- package/dist/esm/ui-input.entry.js +2 -2
- package/dist/esm/ui-label.entry.js +2 -2
- package/dist/esm/ui-loading-overlay.entry.js +1 -1
- package/dist/esm/ui-navbar.entry.js +15 -0
- package/dist/esm/ui-pagination.entry.js +3 -3
- package/dist/esm/ui-popover.entry.js +3 -3
- package/dist/esm/ui-progress-circular.entry.js +42 -0
- package/dist/esm/ui-progress.entry.js +2 -2
- package/dist/esm/ui-radio-group.entry.js +2 -2
- package/dist/esm/ui-rating.entry.js +43 -0
- package/dist/esm/ui-reveal.entry.js +2 -2
- package/dist/esm/ui-scroll-progress.entry.js +2 -2
- package/dist/esm/ui-section.entry.js +2 -2
- package/dist/esm/ui-segmented.entry.js +2 -2
- package/dist/esm/ui-select.entry.js +2 -2
- package/dist/esm/ui-separator.entry.js +2 -2
- package/dist/esm/ui-skeleton.entry.js +2 -2
- package/dist/esm/ui-slider.entry.js +2 -2
- package/dist/esm/ui-spinner.entry.js +2 -2
- package/dist/esm/ui-stack.entry.js +2 -2
- package/dist/esm/ui-stat.entry.js +2 -2
- package/dist/esm/ui-switch.entry.js +2 -2
- package/dist/esm/ui-table.entry.js +23 -0
- package/dist/esm/ui-tabs.entry.js +3 -3
- package/dist/esm/ui-textarea.entry.js +2 -2
- package/dist/esm/ui-theme-toggle.entry.js +2 -2
- package/dist/esm/ui-timeline-item.entry.js +17 -0
- package/dist/esm/ui-timeline.entry.js +15 -0
- package/dist/esm/ui-toast.entry.js +2 -2
- package/dist/esm/ui-toaster.entry.js +2 -2
- package/dist/esm/ui-tooltip.entry.js +3 -3
- package/dist/esm/uikit.js +3 -3
- package/dist/types/components/ui-carousel/ui-carousel.d.ts +35 -0
- package/dist/types/components/ui-combobox/ui-combobox.d.ts +38 -0
- package/dist/types/components/ui-command/ui-command.d.ts +42 -0
- package/dist/types/components/ui-date-picker/ui-date-picker.d.ts +42 -0
- package/dist/types/components/ui-file-upload/ui-file-upload.d.ts +24 -0
- package/dist/types/components/ui-navbar/ui-navbar.d.ts +3 -0
- package/dist/types/components/ui-progress-circular/ui-progress-circular.d.ts +17 -0
- package/dist/types/components/ui-rating/ui-rating.d.ts +17 -0
- package/dist/types/components/ui-table/ui-table.d.ts +16 -0
- package/dist/types/components/ui-timeline/ui-timeline.d.ts +3 -0
- package/dist/types/components/ui-timeline-item/ui-timeline-item.d.ts +10 -0
- package/dist/types/components.d.ts +645 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/uikit/{p-635862e6.entry.js → p-02583f33.entry.js} +1 -1
- package/dist/uikit/p-0b8fb2cc.entry.js +1 -0
- package/dist/uikit/{p-595e146f.entry.js → p-12777ebf.entry.js} +1 -1
- package/dist/uikit/p-186d394f.entry.js +1 -0
- package/dist/uikit/{p-fd05c146.entry.js → p-247f7a40.entry.js} +1 -1
- package/dist/uikit/{p-67963692.entry.js → p-24c9885b.entry.js} +1 -1
- package/dist/uikit/p-26c4b4f9.entry.js +1 -0
- package/dist/uikit/p-2716a9e4.entry.js +1 -0
- package/dist/uikit/{p-25637424.entry.js → p-27c609c2.entry.js} +1 -1
- package/dist/uikit/{p-5951a496.entry.js → p-2a4de93f.entry.js} +1 -1
- package/dist/uikit/{p-2601d8b6.entry.js → p-2ce36223.entry.js} +1 -1
- package/dist/uikit/p-30834f9e.entry.js +1 -0
- package/dist/uikit/{p-db07f9c5.entry.js → p-333a3598.entry.js} +1 -1
- package/dist/uikit/{p-86ed6154.entry.js → p-33a19160.entry.js} +1 -1
- package/dist/uikit/{p-a977a0db.entry.js → p-400536f7.entry.js} +1 -1
- package/dist/uikit/{p-81b45a43.entry.js → p-411a753f.entry.js} +1 -1
- package/dist/uikit/p-41355be1.entry.js +1 -0
- package/dist/uikit/p-4281fc69.entry.js +1 -0
- package/dist/uikit/p-4c2fb226.entry.js +1 -0
- package/dist/uikit/{p-45e80e73.entry.js → p-5562b70d.entry.js} +1 -1
- package/dist/uikit/{p-fd832f52.entry.js → p-56b1bf3f.entry.js} +1 -1
- package/dist/uikit/p-57adf02c.entry.js +1 -0
- package/dist/uikit/{p-cd0ec835.entry.js → p-58035d5a.entry.js} +1 -1
- package/dist/uikit/{p-567f7496.entry.js → p-5ff44eca.entry.js} +1 -1
- package/dist/uikit/{p-3996590f.entry.js → p-66037a7c.entry.js} +1 -1
- package/dist/uikit/p-6d58ff8d.entry.js +1 -0
- package/dist/uikit/p-7a04fd11.entry.js +1 -0
- package/dist/uikit/p-7aeed213.entry.js +1 -0
- package/dist/uikit/p-80236139.entry.js +1 -0
- package/dist/uikit/{p-a92a7b19.entry.js → p-81a37bda.entry.js} +1 -1
- package/dist/uikit/{p-2de05aac.entry.js → p-849347da.entry.js} +1 -1
- package/dist/uikit/p-866a0947.entry.js +1 -0
- package/dist/uikit/{p-74b60a60.entry.js → p-86bf22c1.entry.js} +1 -1
- package/dist/uikit/p-98234aed.entry.js +1 -0
- package/dist/uikit/p-COlwaVJP.js +2 -0
- package/dist/uikit/{p-CyBRmmbs.js → p-DDtwbwIl.js} +1 -1
- package/dist/uikit/{p-95cd976e.entry.js → p-a312d278.entry.js} +1 -1
- package/dist/uikit/{p-12db6a6e.entry.js → p-a4b535ad.entry.js} +1 -1
- package/dist/uikit/{p-94ad46a5.entry.js → p-a8f81996.entry.js} +1 -1
- package/dist/uikit/{p-1d016ea4.entry.js → p-aa0ce28c.entry.js} +1 -1
- package/dist/uikit/{p-979f6178.entry.js → p-aa41b084.entry.js} +1 -1
- package/dist/uikit/p-acce5342.entry.js +1 -0
- package/dist/uikit/p-b232849a.entry.js +1 -0
- package/dist/uikit/{p-dca9f6f9.entry.js → p-bd287e67.entry.js} +1 -1
- package/dist/uikit/p-bf66ce1b.entry.js +1 -0
- package/dist/uikit/{p-6c0e9809.entry.js → p-c0b3f5a3.entry.js} +1 -1
- package/dist/uikit/{p-09895cd0.entry.js → p-c29317aa.entry.js} +1 -1
- package/dist/uikit/{p-faa98928.entry.js → p-d73e789a.entry.js} +1 -1
- package/dist/uikit/p-dc00c84b.entry.js +1 -0
- package/dist/uikit/{p-3fc062a6.entry.js → p-de2bb69c.entry.js} +1 -1
- package/dist/uikit/{p-7f2c2924.entry.js → p-e2e35a6b.entry.js} +1 -1
- package/dist/uikit/{p-a01305a5.entry.js → p-e32fa613.entry.js} +1 -1
- package/dist/uikit/p-e61e7ef1.entry.js +1 -0
- package/dist/uikit/p-e891fec3.entry.js +1 -0
- package/dist/uikit/p-ef6ec7f7.entry.js +1 -0
- package/dist/uikit/p-faa31e8c.entry.js +1 -0
- package/dist/uikit/uikit.css +1 -1
- package/dist/uikit/uikit.esm.js +1 -1
- package/package.json +1 -1
- package/dist/uikit/p-0cba0d11.entry.js +0 -1
- package/dist/uikit/p-55a23f91.entry.js +0 -1
- package/dist/uikit/p-7a3d85da.entry.js +0 -1
- package/dist/uikit/p-97d4dbf4.entry.js +0 -1
- package/dist/uikit/p-9a4dc343.entry.js +0 -1
- package/dist/uikit/p-9a9590b9.entry.js +0 -1
- package/dist/uikit/p-DYwlrXg_.js +0 -2
- package/dist/uikit/p-a080f46a.entry.js +0 -1
- package/dist/uikit/p-b2df8437.entry.js +0 -1
- package/dist/uikit/p-c73c1009.entry.js +0 -1
- package/dist/uikit/p-d20452b4.entry.js +0 -1
- package/dist/uikit/p-d7021157.entry.js +0 -1
- package/dist/uikit/p-ddd70374.entry.js +0 -1
|
@@ -648,6 +648,90 @@ const shift$1 = function (options) {
|
|
|
648
648
|
};
|
|
649
649
|
};
|
|
650
650
|
|
|
651
|
+
/**
|
|
652
|
+
* Provides data that allows you to change the size of the floating element —
|
|
653
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
654
|
+
* width of the reference element.
|
|
655
|
+
* @see https://floating-ui.com/docs/size
|
|
656
|
+
*/
|
|
657
|
+
const size$1 = function (options) {
|
|
658
|
+
if (options === void 0) {
|
|
659
|
+
options = {};
|
|
660
|
+
}
|
|
661
|
+
return {
|
|
662
|
+
name: 'size',
|
|
663
|
+
options,
|
|
664
|
+
async fn(state) {
|
|
665
|
+
var _state$middlewareData, _state$middlewareData2;
|
|
666
|
+
const {
|
|
667
|
+
placement,
|
|
668
|
+
rects,
|
|
669
|
+
platform,
|
|
670
|
+
elements
|
|
671
|
+
} = state;
|
|
672
|
+
const {
|
|
673
|
+
apply = () => {},
|
|
674
|
+
...detectOverflowOptions
|
|
675
|
+
} = evaluate(options, state);
|
|
676
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
677
|
+
const side = getSide(placement);
|
|
678
|
+
const alignment = getAlignment(placement);
|
|
679
|
+
const isYAxis = getSideAxis(placement) === 'y';
|
|
680
|
+
const {
|
|
681
|
+
width,
|
|
682
|
+
height
|
|
683
|
+
} = rects.floating;
|
|
684
|
+
let heightSide;
|
|
685
|
+
let widthSide;
|
|
686
|
+
if (side === 'top' || side === 'bottom') {
|
|
687
|
+
heightSide = side;
|
|
688
|
+
widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
|
|
689
|
+
} else {
|
|
690
|
+
widthSide = side;
|
|
691
|
+
heightSide = alignment === 'end' ? 'top' : 'bottom';
|
|
692
|
+
}
|
|
693
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
694
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
695
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
696
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
697
|
+
const noShift = !state.middlewareData.shift;
|
|
698
|
+
let availableHeight = overflowAvailableHeight;
|
|
699
|
+
let availableWidth = overflowAvailableWidth;
|
|
700
|
+
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
701
|
+
availableWidth = maximumClippingWidth;
|
|
702
|
+
}
|
|
703
|
+
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
704
|
+
availableHeight = maximumClippingHeight;
|
|
705
|
+
}
|
|
706
|
+
if (noShift && !alignment) {
|
|
707
|
+
const xMin = max(overflow.left, 0);
|
|
708
|
+
const xMax = max(overflow.right, 0);
|
|
709
|
+
const yMin = max(overflow.top, 0);
|
|
710
|
+
const yMax = max(overflow.bottom, 0);
|
|
711
|
+
if (isYAxis) {
|
|
712
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
713
|
+
} else {
|
|
714
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
await apply({
|
|
718
|
+
...state,
|
|
719
|
+
availableWidth,
|
|
720
|
+
availableHeight
|
|
721
|
+
});
|
|
722
|
+
const nextDimensions = await platform.getDimensions(elements.floating);
|
|
723
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
724
|
+
return {
|
|
725
|
+
reset: {
|
|
726
|
+
rects: true
|
|
727
|
+
}
|
|
728
|
+
};
|
|
729
|
+
}
|
|
730
|
+
return {};
|
|
731
|
+
}
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
|
|
651
735
|
function hasWindow() {
|
|
652
736
|
return typeof window !== 'undefined';
|
|
653
737
|
}
|
|
@@ -1512,6 +1596,14 @@ const shift = shift$1;
|
|
|
1512
1596
|
*/
|
|
1513
1597
|
const flip = flip$1;
|
|
1514
1598
|
|
|
1599
|
+
/**
|
|
1600
|
+
* Provides data that allows you to change the size of the floating element —
|
|
1601
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
1602
|
+
* width of the reference element.
|
|
1603
|
+
* @see https://floating-ui.com/docs/size
|
|
1604
|
+
*/
|
|
1605
|
+
const size = size$1;
|
|
1606
|
+
|
|
1515
1607
|
/**
|
|
1516
1608
|
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1517
1609
|
* next to a given reference element.
|
|
@@ -1540,3 +1632,4 @@ exports.computePosition = computePosition;
|
|
|
1540
1632
|
exports.flip = flip;
|
|
1541
1633
|
exports.offset = offset;
|
|
1542
1634
|
exports.shift = shift;
|
|
1635
|
+
exports.size = size;
|
|
@@ -4,7 +4,7 @@ const NAMESPACE = 'uikit';
|
|
|
4
4
|
const BUILD = /* uikit */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, state: true, updatable: true};
|
|
5
5
|
|
|
6
6
|
const globalScripts = () => {};
|
|
7
|
-
const globalStyles = ":root{--ui-background:#f6f7fb;--ui-foreground:#090b12;--ui-muted:#475467;--ui-text-soft:#263244;--ui-text-muted:#667085;--ui-text-faint:#8a94a6;--ui-border:rgba(15, 23, 42, 0.12);--ui-border-strong:rgba(15, 23, 42, 0.22);--ui-panel:rgba(255, 255, 255, 0.72);--ui-panel-strong:rgba(255, 255, 255, 0.9);--ui-panel-dark:rgba(255, 255, 255, 0.62);--ui-chip:rgba(255, 255, 255, 0.68);--ui-overlay:rgba(15, 23, 42, 0.32);--ui-accent:#26d0ce;--ui-accent-strong:#5b8cff;--ui-accent-contrast:#020617;--ui-ring:rgba(38, 208, 206, 0.34);--ui-success:#17c964;--ui-warning:#f5a524;--ui-danger:#f31260;--ui-info:#5b8cff;--ui-on-status:#ffffff;--ui-radius-sm:0.625rem;--ui-radius:1rem;--ui-radius-lg:1.5rem;--ui-radius-xl:1.75rem;--ui-radius-full:9999px;--ui-shadow-sm:0 1px 2px rgba(15, 23, 42, 0.08);--ui-shadow:0 16px 60px rgba(15, 23, 42, 0.1);--ui-shadow-lg:0 24px 80px rgba(15, 23, 42, 0.16);--ui-ease:cubic-bezier(0.22, 1, 0.36, 1);--ui-duration-fast:150ms;--ui-duration:300ms;--ui-duration-slow:600ms;--ui-font-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n \"Segoe UI\", sans-serif;--ui-font-mono:ui-monospace, \"IBM Plex Mono\", SFMono-Regular, Menlo, monospace;--ui-page-gradient:radial-gradient(circle at 16% 0%, rgba(38, 208, 206, 0.16), transparent 30rem),\n radial-gradient(circle at 78% 12%, rgba(91, 140, 255, 0.14), transparent 34rem),\n linear-gradient(180deg, #f7f9fe 0%, #eef4fb 52%, #e8eef7 100%)}.dark{--ui-background:#03050b;--ui-foreground:#f8fbff;--ui-muted:#9aa7bd;--ui-text-soft:#e2e8f0;--ui-text-muted:#cbd5e1;--ui-text-faint:#94a3b8;--ui-border:rgba(226, 232, 240, 0.12);--ui-border-strong:rgba(226, 232, 240, 0.22);--ui-panel:rgba(9, 13, 24, 0.68);--ui-panel-strong:rgba(11, 16, 29, 0.86);--ui-panel-dark:rgba(0, 0, 0, 0.28);--ui-chip:rgba(255, 255, 255, 0.055);--ui-overlay:rgba(2, 4, 9, 0.62);--ui-accent:#64fff2;--ui-accent-strong:#8aa8ff;--ui-accent-contrast:#020617;--ui-ring:rgba(100, 255, 242, 0.24);--ui-success:#45d483;--ui-warning:#f7b750;--ui-danger:#f871a0;--ui-info:#8aa8ff;--ui-shadow-sm:0 1px 2px rgba(0, 0, 0, 0.4);--ui-shadow:0 16px 60px rgba(0, 0, 0, 0.24);--ui-shadow-lg:0 24px 80px rgba(0, 0, 0, 0.18);--ui-page-gradient:radial-gradient(circle at 18% 0%, rgba(38, 208, 206, 0.18), transparent 30rem),\n radial-gradient(circle at 78% 10%, rgba(91, 140, 255, 0.14), transparent 34rem),\n linear-gradient(180deg, var(--ui-background), #070911 58%, #03050b)}:where(html){font-family:var(--ui-font-sans)}";
|
|
7
|
+
const globalStyles = ":root{--ui-background:#f6f7fb;--ui-foreground:#090b12;--ui-muted:#475467;--ui-text-soft:#263244;--ui-text-muted:#667085;--ui-text-faint:#8a94a6;--ui-border:rgba(15, 23, 42, 0.12);--ui-border-strong:rgba(15, 23, 42, 0.22);--ui-panel:rgba(255, 255, 255, 0.72);--ui-panel-strong:rgba(255, 255, 255, 0.9);--ui-panel-dark:rgba(255, 255, 255, 0.62);--ui-chip:rgba(255, 255, 255, 0.68);--ui-overlay:rgba(15, 23, 42, 0.32);--ui-accent:#26d0ce;--ui-accent-strong:#5b8cff;--ui-accent-contrast:#020617;--ui-ring:rgba(38, 208, 206, 0.34);--ui-success:#17c964;--ui-warning:#f5a524;--ui-danger:#f31260;--ui-info:#5b8cff;--ui-on-status:#ffffff;--ui-radius-sm:0.625rem;--ui-radius:1rem;--ui-radius-lg:1.5rem;--ui-radius-xl:1.75rem;--ui-radius-full:9999px;--ui-shadow-sm:0 1px 2px rgba(15, 23, 42, 0.08);--ui-shadow:0 16px 60px rgba(15, 23, 42, 0.1);--ui-shadow-lg:0 24px 80px rgba(15, 23, 42, 0.16);--ui-ease:cubic-bezier(0.22, 1, 0.36, 1);--ui-duration-fast:150ms;--ui-duration:300ms;--ui-duration-slow:600ms;--ui-font-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n \"Segoe UI\", sans-serif;--ui-font-mono:ui-monospace, \"IBM Plex Mono\", SFMono-Regular, Menlo, monospace;--ui-page-gradient:radial-gradient(circle at 16% 0%, rgba(38, 208, 206, 0.16), transparent 30rem),\n radial-gradient(circle at 78% 12%, rgba(91, 140, 255, 0.14), transparent 34rem),\n linear-gradient(180deg, #f7f9fe 0%, #eef4fb 52%, #e8eef7 100%)}.dark{--ui-background:#03050b;--ui-foreground:#f8fbff;--ui-muted:#9aa7bd;--ui-text-soft:#e2e8f0;--ui-text-muted:#cbd5e1;--ui-text-faint:#94a3b8;--ui-border:rgba(226, 232, 240, 0.12);--ui-border-strong:rgba(226, 232, 240, 0.22);--ui-panel:rgba(9, 13, 24, 0.68);--ui-panel-strong:rgba(11, 16, 29, 0.86);--ui-panel-dark:rgba(0, 0, 0, 0.28);--ui-chip:rgba(255, 255, 255, 0.055);--ui-overlay:rgba(2, 4, 9, 0.62);--ui-accent:#64fff2;--ui-accent-strong:#8aa8ff;--ui-accent-contrast:#020617;--ui-ring:rgba(100, 255, 242, 0.24);--ui-success:#45d483;--ui-warning:#f7b750;--ui-danger:#f871a0;--ui-info:#8aa8ff;--ui-shadow-sm:0 1px 2px rgba(0, 0, 0, 0.4);--ui-shadow:0 16px 60px rgba(0, 0, 0, 0.24);--ui-shadow-lg:0 24px 80px rgba(0, 0, 0, 0.18);--ui-page-gradient:radial-gradient(circle at 18% 0%, rgba(38, 208, 206, 0.18), transparent 30rem),\n radial-gradient(circle at 78% 10%, rgba(91, 140, 255, 0.14), transparent 34rem),\n linear-gradient(180deg, var(--ui-background), #070911 58%, #03050b)}.theme-violet{--ui-accent:#8b5cf6;--ui-accent-strong:#6366f1;--ui-ring:rgba(139, 92, 246, 0.34)}.dark.theme-violet{--ui-accent:#a78bfa;--ui-accent-strong:#818cf8;--ui-ring:rgba(167, 139, 250, 0.28)}.theme-emerald{--ui-accent:#10b981;--ui-accent-strong:#14b8a6;--ui-ring:rgba(16, 185, 129, 0.32)}.dark.theme-emerald{--ui-accent:#34d399;--ui-accent-strong:#2dd4bf;--ui-ring:rgba(52, 211, 153, 0.26)}.theme-amber{--ui-accent:#f59e0b;--ui-accent-strong:#f97316;--ui-accent-contrast:#1c1207;--ui-ring:rgba(245, 158, 11, 0.32)}.dark.theme-amber{--ui-accent:#fbbf24;--ui-accent-strong:#fb923c;--ui-ring:rgba(251, 191, 36, 0.26)}.theme-rose{--ui-accent:#f43f5e;--ui-accent-strong:#ec4899;--ui-accent-contrast:#fff;--ui-ring:rgba(244, 63, 94, 0.32)}.dark.theme-rose{--ui-accent:#fb7185;--ui-accent-strong:#f472b6;--ui-ring:rgba(251, 113, 133, 0.26)}.theme-blue{--ui-accent:#3b82f6;--ui-accent-strong:#6366f1;--ui-accent-contrast:#fff;--ui-ring:rgba(59, 130, 246, 0.32)}.dark.theme-blue{--ui-accent:#60a5fa;--ui-accent-strong:#818cf8;--ui-ring:rgba(96, 165, 250, 0.26)}:where(html){font-family:var(--ui-font-sans)}";
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await index.globalScripts();
|
|
8
|
-
return index.bootstrapLazy([["ui-loading-overlay.cjs",[[1,"ui-loading-overlay",{"visible":[4],"label":[1],"spinnerSize":[1,"spinner-size"]}]]],["ui-toaster.cjs",[[1,"ui-toaster",{"items":[32],"toast":[64]}]]],["ui-accordion.cjs",[[257,"ui-accordion"]]],["ui-accordion-item.cjs",[[257,"ui-accordion-item",{"heading":[1],"open":[1540]}]]],["ui-alert.cjs",[[257,"ui-alert",{"variant":[1],"heading":[1],"dismissible":[4],"open":[32]}]]],["ui-avatar.cjs",[[1,"ui-avatar",{"src":[1],"alt":[1],"fallback":[1],"status":[1]}]]],["ui-avatar-group.cjs",[[257,"ui-avatar-group"]]],["ui-badge.cjs",[[257,"ui-badge",{"variant":[1],"dot":[4],"removable":[4]}]]],["ui-breadcrumb.cjs",[[257,"ui-breadcrumb"]]],["ui-breadcrumb-item.cjs",[[257,"ui-breadcrumb-item",{"href":[1],"current":[4]}]]],["ui-button.cjs",[[257,"ui-button",{"variant":[1],"size":[1],"disabled":[4],"loading":[4],"type":[1],"full":[516]}]]],["ui-card.cjs",[[257,"ui-card"]]],["ui-checkbox.cjs",[[1,"ui-checkbox",{"checked":[1540],"disabled":[4],"name":[1],"value":[1]}]]],["ui-container.cjs",[[257,"ui-container",{"size":[1],"padded":[4]}]]],["ui-dialog.cjs",[[257,"ui-dialog",{"open":[1540],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-drawer.cjs",[[257,"ui-drawer",{"open":[1540],"side":[513],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-dropdown-item.cjs",[[257,"ui-dropdown-item",{"disabled":[516]}]]],["ui-dropdown-menu.cjs",[[257,"ui-dropdown-menu",{"open":[1540],"placement":[1],"show":[64],"close":[64]},[[0,"uiDropdownClose","onItemClose"]],{"open":[{"onOpenChange":0}]}]]],["ui-field.cjs",[[257,"ui-field",{"label":[1],"description":[1],"error":[1],"required":[4],"fieldId":[1,"field-id"]}]]],["ui-grid.cjs",[[257,"ui-grid",{"columns":[2],"gap":[1],"minItemWidth":[1,"min-item-width"]}]]],["ui-input.cjs",[[257,"ui-input",{"value":[1025],"placeholder":[1],"type":[1],"disabled":[4],"invalid":[4],"name":[1],"clearable":[4]}]]],["ui-label.cjs",[[257,"ui-label"]]],["ui-pagination.cjs",[[1,"ui-pagination",{"total":[2],"current":[1538],"siblings":[2]}]]],["ui-popover.cjs",[[257,"ui-popover",{"open":[1540],"placement":[1],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-progress.cjs",[[1,"ui-progress",{"value":[2],"max":[2],"indeterminate":[4]}]]],["ui-radio-group.cjs",[[1,"ui-radio-group",{"value":[1025],"name":[1],"options":[16],"disabled":[4]}]]],["ui-reveal.cjs",[[257,"ui-reveal",{"delay":[2],"visible":[32]}]]],["ui-scroll-progress.cjs",[[1,"ui-scroll-progress",{"progress":[32]}]]],["ui-section.cjs",[[257,"ui-section",{"eyebrow":[1],"heading":[1],"description":[1]}]]],["ui-segmented.cjs",[[1,"ui-segmented",{"items":[16],"value":[1537]}]]],["ui-select.cjs",[[1,"ui-select",{"value":[1025],"disabled":[4],"name":[1],"options":[16],"placeholder":[1]}]]],["ui-separator.cjs",[[1,"ui-separator",{"orientation":[513]}]]],["ui-skeleton.cjs",[[1,"ui-skeleton"]]],["ui-slider.cjs",[[1,"ui-slider",{"value":[1026],"min":[2],"max":[2],"step":[2],"disabled":[4]}]]],["ui-stack.cjs",[[257,"ui-stack",{"direction":[1],"gap":[1],"align":[1],"justify":[1],"wrap":[4]}]]],["ui-stat.cjs",[[257,"ui-stat",{"label":[1],"value":[1],"delta":[1],"trend":[1]}]]],["ui-switch.cjs",[[1,"ui-switch",{"checked":[1540],"disabled":[4]}]]],["ui-tabs.cjs",[[257,"ui-tabs",{"value":[1537],"items":[16]}]]],["ui-textarea.cjs",[[1,"ui-textarea",{"value":[1025],"placeholder":[1],"disabled":[4],"invalid":[4],"name":[1],"rows":[2]}]]],["ui-theme-toggle.cjs",[[1,"ui-theme-toggle",{"isDark":[32]}]]],["ui-tooltip.cjs",[[257,"ui-tooltip",{"content":[1],"placement":[1],"openDelay":[2,"open-delay"],"visible":[32]}]]],["ui-spinner.cjs",[[1,"ui-spinner",{"size":[1]}]]],["ui-toast.cjs",[[1,"ui-toast",{"open":[1540],"variant":[1],"heading":[1],"description":[1],"duration":[2],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]]], options);
|
|
8
|
+
return index.bootstrapLazy([["ui-loading-overlay.cjs",[[1,"ui-loading-overlay",{"visible":[4],"label":[1],"spinnerSize":[1,"spinner-size"]}]]],["ui-toaster.cjs",[[1,"ui-toaster",{"items":[32],"toast":[64]}]]],["ui-accordion.cjs",[[257,"ui-accordion"]]],["ui-accordion-item.cjs",[[257,"ui-accordion-item",{"heading":[1],"open":[1540]}]]],["ui-alert.cjs",[[257,"ui-alert",{"variant":[1],"heading":[1],"dismissible":[4],"open":[32]}]]],["ui-avatar.cjs",[[1,"ui-avatar",{"src":[1],"alt":[1],"fallback":[1],"status":[1]}]]],["ui-avatar-group.cjs",[[257,"ui-avatar-group"]]],["ui-badge.cjs",[[257,"ui-badge",{"variant":[1],"dot":[4],"removable":[4]}]]],["ui-breadcrumb.cjs",[[257,"ui-breadcrumb"]]],["ui-breadcrumb-item.cjs",[[257,"ui-breadcrumb-item",{"href":[1],"current":[4]}]]],["ui-button.cjs",[[257,"ui-button",{"variant":[1],"size":[1],"disabled":[4],"loading":[4],"type":[1],"full":[516]}]]],["ui-card.cjs",[[257,"ui-card"]]],["ui-carousel.cjs",[[257,"ui-carousel",{"loop":[4],"autoplay":[2],"showArrows":[4,"show-arrows"],"showDots":[4,"show-dots"],"index":[32],"count":[32],"next":[64],"prev":[64],"goTo":[64]}]]],["ui-checkbox.cjs",[[1,"ui-checkbox",{"checked":[1540],"disabled":[4],"name":[1],"value":[1]}]]],["ui-combobox.cjs",[[1,"ui-combobox",{"options":[16],"value":[1025],"placeholder":[1],"query":[32],"open":[32],"activeIndex":[32]}]]],["ui-command.cjs",[[1,"ui-command",{"open":[1540],"items":[16],"placeholder":[1],"hotkey":[4],"query":[32],"activeIndex":[32],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-container.cjs",[[257,"ui-container",{"size":[1],"padded":[4]}]]],["ui-date-picker.cjs",[[1,"ui-date-picker",{"value":[1025],"placeholder":[1],"open":[32],"viewYear":[32],"viewMonth":[32]},null,{"value":[{"onValueChange":0}]}]]],["ui-dialog.cjs",[[257,"ui-dialog",{"open":[1540],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-drawer.cjs",[[257,"ui-drawer",{"open":[1540],"side":[513],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-dropdown-item.cjs",[[257,"ui-dropdown-item",{"disabled":[516]}]]],["ui-dropdown-menu.cjs",[[257,"ui-dropdown-menu",{"open":[1540],"placement":[1],"show":[64],"close":[64]},[[0,"uiDropdownClose","onItemClose"]],{"open":[{"onOpenChange":0}]}]]],["ui-field.cjs",[[257,"ui-field",{"label":[1],"description":[1],"error":[1],"required":[4],"fieldId":[1,"field-id"]}]]],["ui-file-upload.cjs",[[1,"ui-file-upload",{"accept":[1],"multiple":[4],"label":[1],"files":[32],"dragging":[32]}]]],["ui-grid.cjs",[[257,"ui-grid",{"columns":[2],"gap":[1],"minItemWidth":[1,"min-item-width"]}]]],["ui-input.cjs",[[257,"ui-input",{"value":[1025],"placeholder":[1],"type":[1],"disabled":[4],"invalid":[4],"name":[1],"clearable":[4]}]]],["ui-label.cjs",[[257,"ui-label"]]],["ui-navbar.cjs",[[257,"ui-navbar"]]],["ui-pagination.cjs",[[1,"ui-pagination",{"total":[2],"current":[1538],"siblings":[2]}]]],["ui-popover.cjs",[[257,"ui-popover",{"open":[1540],"placement":[1],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-progress.cjs",[[1,"ui-progress",{"value":[2],"max":[2],"indeterminate":[4]}]]],["ui-progress-circular.cjs",[[1,"ui-progress-circular",{"value":[2],"max":[2],"size":[1],"strokeWidth":[2,"stroke-width"],"indeterminate":[4],"showValue":[4,"show-value"]}]]],["ui-radio-group.cjs",[[1,"ui-radio-group",{"value":[1025],"name":[1],"options":[16],"disabled":[4]}]]],["ui-rating.cjs",[[1,"ui-rating",{"value":[1026],"max":[2],"readonly":[4],"hoverValue":[32]}]]],["ui-reveal.cjs",[[257,"ui-reveal",{"delay":[2],"visible":[32]}]]],["ui-scroll-progress.cjs",[[1,"ui-scroll-progress",{"progress":[32]}]]],["ui-section.cjs",[[257,"ui-section",{"eyebrow":[1],"heading":[1],"description":[1]}]]],["ui-segmented.cjs",[[1,"ui-segmented",{"items":[16],"value":[1537]}]]],["ui-select.cjs",[[1,"ui-select",{"value":[1025],"disabled":[4],"name":[1],"options":[16],"placeholder":[1]}]]],["ui-separator.cjs",[[1,"ui-separator",{"orientation":[513]}]]],["ui-skeleton.cjs",[[1,"ui-skeleton"]]],["ui-slider.cjs",[[1,"ui-slider",{"value":[1026],"min":[2],"max":[2],"step":[2],"disabled":[4]}]]],["ui-stack.cjs",[[257,"ui-stack",{"direction":[1],"gap":[1],"align":[1],"justify":[1],"wrap":[4]}]]],["ui-stat.cjs",[[257,"ui-stat",{"label":[1],"value":[1],"delta":[1],"trend":[1]}]]],["ui-switch.cjs",[[1,"ui-switch",{"checked":[1540],"disabled":[4]}]]],["ui-table.cjs",[[1,"ui-table",{"columns":[16],"rows":[16],"striped":[4],"hoverable":[4]}]]],["ui-tabs.cjs",[[257,"ui-tabs",{"value":[1537],"items":[16]}]]],["ui-textarea.cjs",[[1,"ui-textarea",{"value":[1025],"placeholder":[1],"disabled":[4],"invalid":[4],"name":[1],"rows":[2]}]]],["ui-theme-toggle.cjs",[[1,"ui-theme-toggle",{"isDark":[32]}]]],["ui-timeline.cjs",[[257,"ui-timeline"]]],["ui-timeline-item.cjs",[[257,"ui-timeline-item",{"heading":[1],"time":[1],"variant":[513]}]]],["ui-tooltip.cjs",[[257,"ui-tooltip",{"content":[1],"placement":[1],"openDelay":[2,"open-delay"],"visible":[32]}]]],["ui-spinner.cjs",[[1,"ui-spinner",{"size":[1]}]]],["ui-toast.cjs",[[1,"ui-toast",{"open":[1540],"variant":[1],"heading":[1],"description":[1],"duration":[2],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
exports.setNonce = index.setNonce;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiAccordionItemCss = () => `:host{display:block;font-family:var(--ui-font-sans);border-bottom:1px solid var(--ui-border)}summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;cursor:pointer;font-weight:500;color:var(--ui-foreground);list-style:none;outline:none}summary::-webkit-details-marker{display:none}summary:hover{color:var(--ui-accent)}summary:hover .chevron{color:var(--ui-accent)}summary:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring);border-radius:var(--ui-radius-sm)}.chevron{flex:none;color:var(--ui-text-muted);transition:transform var(--ui-duration) var(--ui-ease)}details[open] .chevron{transform:rotate(180deg)}.content{padding-bottom:1rem;color:var(--ui-text-muted)}`;
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ const UiAccordionItem = class {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (index.h(index.Host, { key: '
|
|
22
|
+
return (index.h(index.Host, { key: '11d00df0e199adbc3badfa4e80702b1b1b3ccba7' }, index.h("details", { key: '44b13038c647250ca575b39a29c51b4552bf08af', open: this.open, onToggle: this.onToggle }, index.h("summary", { key: '08f7b8573dcfe59772f5e8f5aba4e5f35d4b56e1' }, index.h("span", { key: 'cd9805611d92d5e79fb8ef919641be21db847653', class: "heading" }, this.heading), index.h("svg", { key: '86f746ee1069f1da35ae413d0e3027faa3c16e28', class: "chevron", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, index.h("polyline", { key: 'f390ee46eb11ea19bd1009a6729e350190cb3832', points: "6 9 12 15 18 9" }))), index.h("div", { key: 'a8648065e4fabb367320d891d6ca31a3d66a6e92', class: "content" }, index.h("slot", { key: '8666001409bd732acbc0b5cd8aa3c078de166a77' })))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
UiAccordionItem.style = uiAccordionItemCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiAccordionCss = () => `:host{display:block;font-family:var(--ui-font-sans)}`;
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ const UiAccordion = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h(index.Host, { key: '
|
|
12
|
+
return (index.h(index.Host, { key: '56a5f7f6b52c0b6a4c38cb46ddba0cd74882bd66' }, index.h("slot", { key: 'e93260e203e7530a478cf67911c6ad82b1bb42b8' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
UiAccordion.style = uiAccordionCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiAlertCss = () => `:host{display:block}.alert{display:flex;align-items:flex-start;gap:0.75rem;padding:0.875rem 1rem;border:1px solid var(--ui-border);border-left:3px solid var(--ui-info);border-radius:var(--ui-radius);font-family:var(--ui-font-sans)}.indicator{display:inline-flex;flex-shrink:0;margin-top:0.0625rem}.icon{display:block}.body{flex:1;min-width:0;display:flex;flex-direction:column;gap:0.25rem}.heading{margin:0;font-size:0.875rem;font-weight:600;color:var(--ui-foreground)}.content{font-size:0.8125rem;color:var(--ui-text-soft)}.close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0.125rem;border:none;background:transparent;color:var(--ui-text-muted);cursor:pointer;border-radius:var(--ui-radius-sm);transition:color var(--ui-duration) var(--ui-ease)}.close:hover{color:var(--ui-foreground)}.variant-info{border-left-color:var(--ui-info);background:color-mix(in srgb, var(--ui-info) 12%, transparent)}.variant-info .indicator{color:var(--ui-info)}.variant-success{border-left-color:var(--ui-success);background:color-mix(in srgb, var(--ui-success) 12%, transparent)}.variant-success .indicator{color:var(--ui-success)}.variant-warning{border-left-color:var(--ui-warning);background:color-mix(in srgb, var(--ui-warning) 12%, transparent)}.variant-warning .indicator{color:var(--ui-warning)}.variant-danger{border-left-color:var(--ui-danger);background:color-mix(in srgb, var(--ui-danger) 12%, transparent)}.variant-danger .indicator{color:var(--ui-danger)}`;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiAvatarGroupCss = () => `:host{display:inline-flex}.group{display:inline-flex;align-items:center}::slotted(*){border-radius:var(--ui-radius-full)}::slotted(*:not(:first-child)){margin-left:-0.6rem}::slotted(ui-avatar){outline:2px solid var(--ui-background);border-radius:var(--ui-radius-full)}`;
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ const UiAvatarGroup = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h(index.Host, { key: '
|
|
12
|
+
return (index.h(index.Host, { key: '5c342ae641715653dddb31b78aeee575b8aed1f7' }, index.h("div", { key: '51f02e90a80b567ecae3bec66409fe81fd23311b', class: "group" }, index.h("slot", { key: 'e51f5620608a021eac9f11caba645a528dad4e82' }))));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
UiAvatarGroup.style = uiAvatarGroupCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiAvatarCss = () => `:host{display:inline-block;}.avatar{display:inline-flex;align-items:center;justify-content:center;width:var(--ui-avatar-size, 2.5rem);height:var(--ui-avatar-size, 2.5rem);border-radius:var(--ui-radius-full);border:1px solid var(--ui-border);background:var(--ui-chip);overflow:hidden;font-family:var(--ui-font-sans)}.image{width:100%;height:100%;object-fit:cover}.fallback{font-size:0.875rem;font-weight:500;color:var(--ui-text-muted);line-height:1}.wrapper{position:relative;display:inline-flex}.status{position:absolute;right:0;bottom:0;width:28%;height:28%;min-width:0.55rem;min-height:0.55rem;border-radius:var(--ui-radius-full);border:2px solid var(--ui-background);box-sizing:border-box}.status-online{background:var(--ui-success)}.status-busy{background:var(--ui-danger)}.status-away{background:var(--ui-warning)}.status-offline{background:var(--ui-text-faint)}`;
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ const UiAvatar = class {
|
|
|
11
11
|
this.alt = "";
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: '6347a5a14cb07b2782759417006f8a23fd7a6b54' }, index.h("span", { key: 'dfb14ae7a3e19312a7fa597612a9d10842561d8f', class: "wrapper" }, index.h("span", { key: '66ad000b4c2f1bea00332cc164a86ee196b80943', class: "avatar" }, this.src ? (index.h("img", { class: "image", src: this.src, alt: this.alt })) : (index.h("span", { class: "fallback" }, this.fallback))), this.status && (index.h("span", { key: 'd40f9d4f2c42415aa8c346f2819aade2221a2829', class: `status status-${this.status}`, "aria-label": this.status })))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
UiAvatar.style = uiAvatarCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiBadgeCss = () => `:host{display:inline-flex}.badge{display:inline-flex;align-items:center;gap:0.25rem;border:1px solid transparent;border-radius:var(--ui-radius-full);padding:0.25rem 0.75rem;font-family:var(--ui-font-sans);font-size:0.75rem;font-weight:500;backdrop-filter:blur(22px)}.variant-default{background:var(--ui-chip);border-color:var(--ui-border);color:var(--ui-text-soft)}.variant-solid{background:var(--ui-accent);color:var(--ui-accent-contrast)}.variant-outline{border-color:var(--ui-border-strong);color:var(--ui-foreground)}.variant-success{background:color-mix(in srgb, var(--ui-success) 15%, transparent);color:var(--ui-success)}.variant-warning{background:color-mix(in srgb, var(--ui-warning) 15%, transparent);color:var(--ui-warning)}.variant-danger{background:color-mix(in srgb, var(--ui-danger) 15%, transparent);color:var(--ui-danger)}.variant-info{background:color-mix(in srgb, var(--ui-info) 15%, transparent);color:var(--ui-info)}.dot{width:0.4rem;height:0.4rem;border-radius:var(--ui-radius-full);background:currentColor}.remove{display:inline-flex;align-items:center;justify-content:center;margin:0 -0.25rem 0 0.125rem;padding:0.125rem;border:none;border-radius:var(--ui-radius-full);background:transparent;color:inherit;cursor:pointer;opacity:0.7;transition:opacity var(--ui-duration) var(--ui-ease)}.remove:hover{opacity:1}`;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiBreadcrumbItemCss = () => `:host{display:inline-flex;align-items:center}.link{color:var(--ui-text-muted);text-decoration:none;transition:color var(--ui-duration) var(--ui-ease)}.link:hover{color:var(--ui-accent)}.current{color:var(--ui-foreground);font-weight:500}.separator{display:inline-flex;align-items:center;margin:0 0.5rem;color:var(--ui-text-faint)}.separator svg{display:block}`;
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ const UiBreadcrumbItem = class {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
const isLink = this.href && !this.current;
|
|
18
|
-
return (index.h(index.Host, { key: '
|
|
18
|
+
return (index.h(index.Host, { key: 'daa9ab5db1045afddfd1c1656a1635fd98a9e5cb' }, isLink ? (index.h("a", { class: "link", href: this.href }, index.h("slot", null))) : (index.h("span", { class: "current", "aria-current": this.current ? "page" : undefined }, index.h("slot", null))), !this.current && this.renderSeparator()));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
UiBreadcrumbItem.style = uiBreadcrumbItemCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiBreadcrumbCss = () => `:host{display:block}ol{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;margin:0;padding:0;list-style:none;font-family:var(--ui-font-sans);font-size:0.875rem}`;
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ const UiBreadcrumb = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h(index.Host, { key: '
|
|
12
|
+
return (index.h(index.Host, { key: '08c7f1a9160ee85b361bbdbaa79bebe383c45356' }, index.h("nav", { key: 'c556ee500aae55becf5c1095344278f48bf6c8a5', "aria-label": "breadcrumb" }, index.h("ol", { key: 'cf7611405a6884d91fe9b4a657f640080e2085e6' }, index.h("slot", { key: '4d10ef99bed3ba63f5893a62ac8ac4c3c0256461' })))));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
UiBreadcrumb.style = uiBreadcrumbCss();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
|
-
const uiButtonCss = () => `:host{display:inline-block}:host([full]){display:block;width:100%}:host([full]) .btn{width:100%}.btn{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;white-space:nowrap;border:1px solid transparent;border-radius:var(--ui-radius-full);font-family:var(--ui-font-sans);font-weight:500;cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.btn:active{transform:scale(0.98)}.btn:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.btn:disabled{pointer-events:none;opacity:0.5}.size-sm{height:2.25rem;padding:0 1rem;font-size:0.75rem}.size-md{height:2.75rem;padding:0 1.25rem;font-size:0.875rem}.size-lg{height:3rem;padding:0 1.5rem;font-size:1rem}.size-icon{height:2.5rem;width:2.5rem;padding:0}.variant-solid{background:var(--ui-accent);color:var(--ui-accent-contrast);box-shadow:var(--ui-shadow)}.variant-solid:hover{filter:brightness(1.1)}.variant-default{background:var(--ui-panel-strong);color:var(--ui-foreground);border-color:var(--ui-border);backdrop-filter:blur(22px)}.variant-default:hover{border-color:var(--ui-border-strong)}.variant-subtle{background:var(--ui-chip);color:var(--ui-foreground);border-color:var(--ui-border);backdrop-filter:blur(22px)}.variant-subtle:hover{background:var(--ui-panel)}.variant-outline{color:var(--ui-foreground);border-color:color-mix(in srgb, var(--ui-foreground) 30%, transparent)}.variant-outline:hover{background:var(--ui-chip);border-color:color-mix(in srgb, var(--ui-foreground) 45%, transparent)}.variant-ghost{color:var(--ui-text-soft)}.variant-ghost:hover{background:var(--ui-chip)}.variant-destructive{background:var(--ui-danger);color:var(--ui-on-status)}.variant-destructive:hover{filter:brightness(1.1)}.variant-link{color:var(--ui-accent);text-underline-offset:4px}.variant-link:hover{text-decoration:underline}.spinner{width:1rem;height:1rem;border-radius:9999px;border:2px solid currentColor;border-top-color:transparent;animation:ui-button-spin 0.7s linear infinite}@keyframes ui-button-spin{to{transform:rotate(360deg)}}`;
|
|
5
|
+
const uiButtonCss = () => `:host{display:inline-block}:host([full]){display:block;width:100%}:host([full]) .btn{width:100%}.btn{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;white-space:nowrap;border:1px solid transparent;border-radius:var(--ui-radius-full);background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-weight:500;cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.btn:active{transform:scale(0.98)}.btn:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.btn:disabled{pointer-events:none;opacity:0.5}.size-sm{height:2.25rem;padding:0 1rem;font-size:0.75rem}.size-md{height:2.75rem;padding:0 1.25rem;font-size:0.875rem}.size-lg{height:3rem;padding:0 1.5rem;font-size:1rem}.size-icon{height:2.5rem;width:2.5rem;padding:0}.variant-solid{background:var(--ui-accent);color:var(--ui-accent-contrast);box-shadow:var(--ui-shadow)}.variant-solid:hover{filter:brightness(1.1)}.variant-default{background:var(--ui-panel-strong);color:var(--ui-foreground);border-color:var(--ui-border);backdrop-filter:blur(22px)}.variant-default:hover{border-color:var(--ui-border-strong)}.variant-subtle{background:var(--ui-chip);color:var(--ui-foreground);border-color:var(--ui-border);backdrop-filter:blur(22px)}.variant-subtle:hover{background:var(--ui-panel)}.variant-outline{color:var(--ui-foreground);border-color:color-mix(in srgb, var(--ui-foreground) 30%, transparent)}.variant-outline:hover{background:var(--ui-chip);border-color:color-mix(in srgb, var(--ui-foreground) 45%, transparent)}.variant-ghost{color:var(--ui-text-soft)}.variant-ghost:hover{background:var(--ui-chip)}.variant-destructive{background:var(--ui-danger);color:var(--ui-on-status)}.variant-destructive:hover{filter:brightness(1.1)}.variant-link{color:var(--ui-accent);text-underline-offset:4px}.variant-link:hover{text-decoration:underline}.spinner{width:1rem;height:1rem;border-radius:9999px;border:2px solid currentColor;border-top-color:transparent;animation:ui-button-spin 0.7s linear infinite}@keyframes ui-button-spin{to{transform:rotate(360deg)}}`;
|
|
6
6
|
|
|
7
7
|
const UiButton = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiCardCss = () => `:host{display:block}.card{display:flex;flex-direction:column;gap:0.5rem;padding:1.5rem;border:1px solid var(--ui-border);background:var(--ui-panel);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);color:var(--ui-text-soft);font-family:var(--ui-font-sans)}::slotted([slot="title"]){margin:0;font-size:1.125rem;font-weight:600;letter-spacing:-0.01em;color:var(--ui-foreground)}::slotted([slot="description"]){margin:0;font-size:0.875rem;color:var(--ui-text-muted)}::slotted([slot="footer"]){display:flex;gap:0.75rem;margin-top:0.5rem}`;
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ const UiCard = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h(index.Host, { key: '
|
|
12
|
+
return (index.h(index.Host, { key: '6382864bd44db2d3bc909fba6b50e61889e248ba' }, index.h("div", { key: 'ced7e89f9d398eb80d914c0734bf7792b0da415e', class: "card" }, index.h("slot", { key: '3d77e38ace558104a5498e76730264731d02ad75', name: "title" }), index.h("slot", { key: '7fe9e17f69e79444eb0d3908f099bc40a49ebe0d', name: "description" }), index.h("slot", { key: '523ae4e729f6127e4686fb82e12ff3153a67f774' }), index.h("slot", { key: '87603f17a6d0c8ff7724b5a658e34ae868abd83e', name: "footer" }))));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
UiCard.style = uiCardCss();
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
|
+
|
|
5
|
+
const uiCarouselCss = () => `:host{display:block}.viewport{position:relative;overflow:hidden;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);font-family:var(--ui-font-sans);color:var(--ui-foreground)}.track{display:flex;transition:transform 0.4s var(--ui-ease);will-change:transform}::slotted(*){flex:0 0 100%;width:100%}.arrow{position:absolute;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--ui-radius-full);border:1px solid var(--ui-border);background:var(--ui-panel-strong);color:var(--ui-foreground);font-size:1.5rem;line-height:1;cursor:pointer;backdrop-filter:blur(22px);box-shadow:var(--ui-shadow);outline:none;transition:all var(--ui-duration) var(--ui-ease)}.arrow:hover{border-color:var(--ui-border-strong)}.arrow:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.arrow:disabled{opacity:0.4;pointer-events:none}.arrow-prev{left:0.5rem}.arrow-next{right:0.5rem}.dots{position:absolute;left:0;right:0;bottom:0.75rem;display:flex;align-items:center;justify-content:center;gap:0.5rem}.dot{width:0.625rem;height:0.625rem;padding:0;border:none;border-radius:var(--ui-radius-full);background:var(--ui-chip);cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.dot:hover{filter:brightness(1.15)}.dot:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.dot.active{background:var(--ui-accent)}`;
|
|
6
|
+
|
|
7
|
+
const UiCarousel = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
this.uiChange = index.createEvent(this, "uiChange");
|
|
11
|
+
/** Permite navegação circular (wrap) entre o primeiro e o último slide. */
|
|
12
|
+
this.loop = false;
|
|
13
|
+
/** Intervalo de autoplay em ms. 0 desliga o autoplay. */
|
|
14
|
+
this.autoplay = 0;
|
|
15
|
+
/** Exibe as setas de navegação. */
|
|
16
|
+
this.showArrows = true;
|
|
17
|
+
/** Exibe os indicadores (dots). */
|
|
18
|
+
this.showDots = true;
|
|
19
|
+
/** Índice do slide atual. */
|
|
20
|
+
this.index = 0;
|
|
21
|
+
/** Quantidade de slides. */
|
|
22
|
+
this.count = 0;
|
|
23
|
+
this.syncCount = () => {
|
|
24
|
+
const slot = this.host.shadowRoot?.querySelector("slot");
|
|
25
|
+
if (!slot)
|
|
26
|
+
return;
|
|
27
|
+
this.count = slot.assignedElements().length;
|
|
28
|
+
if (this.index > this.count - 1) {
|
|
29
|
+
this.index = Math.max(0, this.count - 1);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
this.handleMouseEnter = () => {
|
|
33
|
+
if (this.autoplay > 0)
|
|
34
|
+
this.stopAutoplay();
|
|
35
|
+
};
|
|
36
|
+
this.handleMouseLeave = () => {
|
|
37
|
+
if (this.autoplay > 0)
|
|
38
|
+
this.startAutoplay();
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
componentDidLoad() {
|
|
42
|
+
this.syncCount();
|
|
43
|
+
this.startAutoplay();
|
|
44
|
+
}
|
|
45
|
+
disconnectedCallback() {
|
|
46
|
+
this.stopAutoplay();
|
|
47
|
+
}
|
|
48
|
+
startAutoplay() {
|
|
49
|
+
if (this.autoplay > 0) {
|
|
50
|
+
this.stopAutoplay();
|
|
51
|
+
this.timer = setInterval(() => {
|
|
52
|
+
this.advance();
|
|
53
|
+
}, this.autoplay);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
stopAutoplay() {
|
|
57
|
+
if (this.timer) {
|
|
58
|
+
clearInterval(this.timer);
|
|
59
|
+
this.timer = undefined;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
advance() {
|
|
63
|
+
if (this.count < 1)
|
|
64
|
+
return;
|
|
65
|
+
this.goTo((this.index + 1) % this.count);
|
|
66
|
+
}
|
|
67
|
+
setIndex(i) {
|
|
68
|
+
if (this.count < 1)
|
|
69
|
+
return;
|
|
70
|
+
let target = i;
|
|
71
|
+
if (this.loop) {
|
|
72
|
+
target = ((i % this.count) + this.count) % this.count;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
target = Math.max(0, Math.min(i, this.count - 1));
|
|
76
|
+
}
|
|
77
|
+
if (target === this.index)
|
|
78
|
+
return;
|
|
79
|
+
this.index = target;
|
|
80
|
+
this.uiChange.emit(this.index);
|
|
81
|
+
}
|
|
82
|
+
/** Avança para o próximo slide. */
|
|
83
|
+
async next() {
|
|
84
|
+
this.setIndex(this.index + 1);
|
|
85
|
+
}
|
|
86
|
+
/** Volta para o slide anterior. */
|
|
87
|
+
async prev() {
|
|
88
|
+
this.setIndex(this.index - 1);
|
|
89
|
+
}
|
|
90
|
+
/** Vai para um slide específico pelo índice. */
|
|
91
|
+
async goTo(i) {
|
|
92
|
+
this.setIndex(i);
|
|
93
|
+
}
|
|
94
|
+
render() {
|
|
95
|
+
const hasNav = this.count > 1;
|
|
96
|
+
const atStart = this.index <= 0;
|
|
97
|
+
const atEnd = this.index >= this.count - 1;
|
|
98
|
+
return (index.h(index.Host, { key: '8674262ced2aef3587cb5b5148628776c3a438df' }, index.h("div", { key: 'f75c9ec8e3d6aa8635e3001a108795f2b0ac8075', class: "viewport", onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, index.h("div", { key: 'eb654e625366fbeef0b91dd9d86fabe82bada130', class: "track", style: { transform: `translateX(${-this.index * 100}%)` } }, index.h("slot", { key: '23be2c8067e38b9092bbe6d3ef7b59efb91176c2', onSlotchange: this.syncCount })), this.showArrows && hasNav && (index.h("button", { key: 'a079b10d78e03a780cccd34a18cb677890c79b8d', type: "button", class: "arrow arrow-prev", "aria-label": "Slide anterior", disabled: !this.loop && atStart, onClick: () => this.prev() }, "\u2039")), this.showArrows && hasNav && (index.h("button", { key: 'baa6cdc3055631a766afeffc2dadf3d565afaf71', type: "button", class: "arrow arrow-next", "aria-label": "Pr\u00F3ximo slide", disabled: !this.loop && atEnd, onClick: () => this.next() }, "\u203A")), this.showDots && hasNav && (index.h("div", { key: '3b381517e47193aece7e50c7f134f3e70ea2eda6', class: "dots" }, Array.from({ length: this.count }).map((_, i) => (index.h("button", { key: i, type: "button", class: { dot: true, active: i === this.index }, "aria-label": `Ir para slide ${i + 1}`, "aria-current": i === this.index ? "true" : "false", onClick: () => this.goTo(i) }))))))));
|
|
99
|
+
}
|
|
100
|
+
get host() { return index.getElement(this); }
|
|
101
|
+
};
|
|
102
|
+
UiCarousel.style = uiCarouselCss();
|
|
103
|
+
|
|
104
|
+
exports.ui_carousel = UiCarousel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiCheckboxCss = () => `:host{display:inline-flex}.checkbox{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:1.5px solid color-mix(in srgb, var(--ui-foreground) 32%, transparent);border-radius:var(--ui-radius-sm);background:var(--ui-chip);cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.checkbox:hover:not(:disabled):not([aria-checked="true"]){border-color:var(--ui-accent)}.checkbox:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.checkbox[aria-checked="true"]{background:var(--ui-accent);border-color:var(--ui-accent)}.checkbox:disabled{opacity:0.5;pointer-events:none}.check{width:0.875rem;height:0.875rem;color:var(--ui-accent-contrast);opacity:0;transform:scale(0.6);transition:all var(--ui-duration) var(--ui-ease)}.checkbox[aria-checked="true"] .check{opacity:1;transform:scale(1)}`;
|
|
6
6
|
|
|
@@ -26,7 +26,7 @@ const UiCheckbox = class {
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (index.h(index.Host, { key: '
|
|
29
|
+
return (index.h(index.Host, { key: '341aeea485e623d978d0e738481dd5e0865b1ff3' }, index.h("button", { key: 'a3a5fa4569152d3811d0b575dd3dba099aa7b782', class: "checkbox", type: "button", role: "checkbox", "aria-checked": this.checked ? "true" : "false", disabled: this.disabled, onClick: this.toggle, onKeyDown: this.onKeyDown }, index.h("svg", { key: '2653b2db08fc200cc9de850bf3b5e7aec7bb96a0', class: "check", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, index.h("polyline", { key: '009b16f0efcd6f4d59255262e95542e5362832ed', points: "20 6 9 17 4 12" })))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
UiCheckbox.style = uiCheckboxCss();
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
|
+
var floatingUi_dom = require('./floating-ui.dom-BZk7Blsu.js');
|
|
5
|
+
|
|
6
|
+
const uiComboboxCss = () => `:host{display:block}.field{display:flex;align-items:center;gap:0.5rem;width:100%;height:2.75rem;padding:0 0.875rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-panel);backdrop-filter:blur(22px);transition:all var(--ui-duration) var(--ui-ease);box-sizing:border-box}.field:hover{border-color:var(--ui-border-strong)}.field:focus-within{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.input{flex:1;min-width:0;height:100%;border:none;background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;outline:none}.input::placeholder{color:var(--ui-text-faint)}.list{position:fixed;top:0;left:0;z-index:50;max-height:16rem;overflow-y:auto;padding:0.25rem;font-family:var(--ui-font-sans);color:var(--ui-foreground);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px);border-radius:var(--ui-radius);visibility:hidden;opacity:0;transition:opacity var(--ui-duration) var(--ui-ease), visibility var(--ui-duration) var(--ui-ease)}.list.is-open{visibility:visible;opacity:1}.option{padding:0.5rem 0.75rem;font-size:0.875rem;color:var(--ui-foreground);border-radius:var(--ui-radius-sm);cursor:pointer;transition:background var(--ui-duration) var(--ui-ease)}.option.active{background:var(--ui-chip)}.option.selected{color:var(--ui-accent)}.empty{padding:0.5rem 0.75rem;font-size:0.875rem;color:var(--ui-text-faint)}`;
|
|
7
|
+
|
|
8
|
+
const UiCombobox = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
index.registerInstance(this, hostRef);
|
|
11
|
+
this.uiChange = index.createEvent(this, "uiChange");
|
|
12
|
+
/** Opções disponíveis para autocomplete. */
|
|
13
|
+
this.options = [];
|
|
14
|
+
/** Valor selecionado. */
|
|
15
|
+
this.value = "";
|
|
16
|
+
/** Placeholder do campo. */
|
|
17
|
+
this.placeholder = "";
|
|
18
|
+
/** Texto digitado no campo. */
|
|
19
|
+
this.query = "";
|
|
20
|
+
/** Indica se a lista flutuante está aberta. */
|
|
21
|
+
this.open = false;
|
|
22
|
+
/** Índice da opção destacada. */
|
|
23
|
+
this.activeIndex = -1;
|
|
24
|
+
this.listId = `ui-combobox-list-${Math.random().toString(36).slice(2, 9)}`;
|
|
25
|
+
this.onInput = (event) => {
|
|
26
|
+
this.query = event.target.value;
|
|
27
|
+
this.activeIndex = -1;
|
|
28
|
+
this.setOpen(true);
|
|
29
|
+
};
|
|
30
|
+
this.onFocus = () => {
|
|
31
|
+
this.setOpen(true);
|
|
32
|
+
};
|
|
33
|
+
this.onKeydown = (event) => {
|
|
34
|
+
const items = this.filtered;
|
|
35
|
+
switch (event.key) {
|
|
36
|
+
case "ArrowDown":
|
|
37
|
+
event.preventDefault();
|
|
38
|
+
if (!this.open) {
|
|
39
|
+
this.setOpen(true);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
if (items.length === 0)
|
|
43
|
+
return;
|
|
44
|
+
this.activeIndex = (this.activeIndex + 1) % items.length;
|
|
45
|
+
break;
|
|
46
|
+
case "ArrowUp":
|
|
47
|
+
event.preventDefault();
|
|
48
|
+
if (items.length === 0)
|
|
49
|
+
return;
|
|
50
|
+
this.activeIndex =
|
|
51
|
+
(this.activeIndex - 1 + items.length) % items.length;
|
|
52
|
+
break;
|
|
53
|
+
case "Enter":
|
|
54
|
+
if (this.open && this.activeIndex >= 0 && items[this.activeIndex]) {
|
|
55
|
+
event.preventDefault();
|
|
56
|
+
this.select(items[this.activeIndex]);
|
|
57
|
+
}
|
|
58
|
+
break;
|
|
59
|
+
case "Escape":
|
|
60
|
+
if (this.open) {
|
|
61
|
+
event.preventDefault();
|
|
62
|
+
this.setOpen(false);
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
this.onDocumentClick = (event) => {
|
|
68
|
+
if (!this.open)
|
|
69
|
+
return;
|
|
70
|
+
if (event.composedPath().includes(this.host))
|
|
71
|
+
return;
|
|
72
|
+
this.setOpen(false);
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
componentWillLoad() {
|
|
76
|
+
const selected = this.options.find((option) => option.value === this.value);
|
|
77
|
+
if (selected)
|
|
78
|
+
this.query = selected.label;
|
|
79
|
+
}
|
|
80
|
+
disconnectedCallback() {
|
|
81
|
+
this.stop();
|
|
82
|
+
document.removeEventListener("click", this.onDocumentClick);
|
|
83
|
+
}
|
|
84
|
+
get filtered() {
|
|
85
|
+
const term = this.query.toLowerCase();
|
|
86
|
+
return this.options.filter((option) => option.label.toLowerCase().includes(term));
|
|
87
|
+
}
|
|
88
|
+
setOpen(value) {
|
|
89
|
+
if (this.open === value)
|
|
90
|
+
return;
|
|
91
|
+
this.open = value;
|
|
92
|
+
if (value) {
|
|
93
|
+
requestAnimationFrame(() => this.start());
|
|
94
|
+
document.addEventListener("click", this.onDocumentClick);
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
this.stop();
|
|
98
|
+
this.activeIndex = -1;
|
|
99
|
+
document.removeEventListener("click", this.onDocumentClick);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
start() {
|
|
103
|
+
if (!this.inputEl || !this.listEl)
|
|
104
|
+
return;
|
|
105
|
+
this.stop();
|
|
106
|
+
this.cleanup = floatingUi_dom.autoUpdate(this.inputEl, this.listEl, () => {
|
|
107
|
+
if (!this.inputEl || !this.listEl)
|
|
108
|
+
return;
|
|
109
|
+
floatingUi_dom.computePosition(this.inputEl, this.listEl, {
|
|
110
|
+
placement: "bottom-start",
|
|
111
|
+
middleware: [
|
|
112
|
+
floatingUi_dom.offset(6),
|
|
113
|
+
floatingUi_dom.flip(),
|
|
114
|
+
floatingUi_dom.shift({ padding: 8 }),
|
|
115
|
+
floatingUi_dom.size({
|
|
116
|
+
apply: ({ rects, elements }) => {
|
|
117
|
+
Object.assign(elements.floating.style, {
|
|
118
|
+
width: `${rects.reference.width}px`,
|
|
119
|
+
});
|
|
120
|
+
},
|
|
121
|
+
}),
|
|
122
|
+
],
|
|
123
|
+
}).then(({ x, y }) => {
|
|
124
|
+
Object.assign(this.listEl.style, { left: `${x}px`, top: `${y}px` });
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
stop() {
|
|
129
|
+
this.cleanup?.();
|
|
130
|
+
this.cleanup = undefined;
|
|
131
|
+
}
|
|
132
|
+
select(option) {
|
|
133
|
+
this.value = option.value;
|
|
134
|
+
this.query = option.label;
|
|
135
|
+
this.setOpen(false);
|
|
136
|
+
this.uiChange.emit(option.value);
|
|
137
|
+
}
|
|
138
|
+
render() {
|
|
139
|
+
const items = this.filtered;
|
|
140
|
+
return (index.h(index.Host, { key: '64d332f96d0cb39e1889eb56dbf448f67e5ed240' }, index.h("div", { key: '30f829b5eff180aa97a2bbb2f90a4e289768df71', class: "field" }, index.h("input", { key: 'f6df95047db674d2e49d34fed6057cffc86eab49', class: "input", type: "text", role: "combobox", value: this.query, placeholder: this.placeholder, autocomplete: "off", "aria-expanded": this.open ? "true" : "false", "aria-controls": this.listId, "aria-autocomplete": "list", ref: (el) => (this.inputEl = el), onInput: this.onInput, onFocus: this.onFocus, onKeyDown: this.onKeydown })), index.h("div", { key: 'de55c7ad59dfa3e35aeac8799366e3ee849d1398', id: this.listId, class: { list: true, "is-open": this.open }, role: "listbox", ref: (el) => (this.listEl = el) }, items.length === 0 ? (index.h("div", { class: "empty" }, "Nenhum resultado")) : (items.map((option, index$1) => (index.h("div", { class: {
|
|
141
|
+
option: true,
|
|
142
|
+
active: index$1 === this.activeIndex,
|
|
143
|
+
selected: option.value === this.value,
|
|
144
|
+
}, role: "option", "aria-selected": option.value === this.value ? "true" : "false", onMouseEnter: () => (this.activeIndex = index$1), onMouseDown: (event) => {
|
|
145
|
+
event.preventDefault();
|
|
146
|
+
this.select(option);
|
|
147
|
+
} }, option.label)))))));
|
|
148
|
+
}
|
|
149
|
+
get host() { return index.getElement(this); }
|
|
150
|
+
};
|
|
151
|
+
UiCombobox.style = uiComboboxCss();
|
|
152
|
+
|
|
153
|
+
exports.ui_combobox = UiCombobox;
|