@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
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as r,h as i,H as a}from"./p-
|
|
1
|
+
import{r as e,c as r,h as i,H as a}from"./p-COlwaVJP.js";const t=class{constructor(i){e(this,i),this.uiChange=r(this,"uiChange"),this.items=[],this.value="",this.select=e=>{e!==this.value&&(this.value=e,this.uiChange.emit(e))}}render(){return i(a,{key:"c33baee8f155b53bd94170e442b4e2bcc815e19a"},i("div",{key:"daf332aeaff637736164a429c5166a1277c301df",class:"track",role:"radiogroup"},this.items.map((e=>{const r=e.value===this.value;return i("button",{key:e.value,class:{segment:!0,active:r},type:"button",role:"radio","aria-checked":r?"true":"false",onClick:()=>this.select(e.value)},e.label)}))))}};t.style=":host{display:inline-block}.track{display:inline-flex;align-items:center;gap:0.125rem;padding:0.25rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-full);background:var(--ui-chip);font-family:var(--ui-font-sans)}.segment{display:inline-flex;align-items:center;justify-content:center;height:2rem;padding:0 0.875rem;border:none;border-radius:var(--ui-radius-full);background:transparent;color:var(--ui-text-muted);font-family:var(--ui-font-sans);font-size:0.8125rem;font-weight:500;cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.segment:hover{color:var(--ui-foreground)}.segment:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.segment.active{background:var(--ui-panel-strong);color:var(--ui-foreground);box-shadow:var(--ui-shadow-sm)}";export{t as ui_segmented}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as i,h as a,H as
|
|
1
|
+
import{r,c as i,h as a,H as t}from"./p-COlwaVJP.js";const e=class{constructor(a){r(this,a),this.uiChange=i(this,"uiChange"),this.options=[],this.disabled=!1,this.select=r=>{this.disabled||r===this.value||(this.value=r,this.uiChange.emit(r))},this.onKeyDown=(r,i)=>{if(this.disabled)return;const a=this.options.length;if(0===a)return;let t=-1;"ArrowDown"===r.key||"ArrowRight"===r.key?t=(i+1)%a:"ArrowUp"!==r.key&&"ArrowLeft"!==r.key||(t=(i-1+a)%a),t>=0&&(r.preventDefault(),this.select(this.options[t].value))}}render(){return a(t,{key:"a9f1842629179cbbf695a9392609b1391437c374"},a("div",{key:"43637af51dcca8b3b77181de48bdca69257c8606",class:"group",role:"radiogroup"},this.options.map(((r,i)=>{const t=r.value===this.value;return a("button",{class:"radio",type:"button",role:"radio","aria-checked":t?"true":"false",tabindex:t||!this.value&&0===i?"0":"-1",disabled:this.disabled,onClick:()=>this.select(r.value),onKeyDown:r=>this.onKeyDown(r,i)},a("span",{class:"indicator"},a("span",{class:"dot"})),a("span",{class:"label"},r.label))}))))}};e.style=':host{display:block}.group{display:flex;flex-direction:column;gap:0.5rem}.radio{display:inline-flex;align-items:center;gap:0.625rem;padding:0;border:none;background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;cursor:pointer;outline:none}.radio:disabled{opacity:0.5;pointer-events:none}.indicator{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-full);background:var(--ui-panel);transition:all var(--ui-duration) var(--ui-ease)}.radio:focus-visible .indicator{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.radio[aria-checked="true"] .indicator{border-color:var(--ui-accent)}.dot{width:0.625rem;height:0.625rem;border-radius:var(--ui-radius-full);background:var(--ui-accent);opacity:0;transform:scale(0.4);transition:all var(--ui-duration) var(--ui-ease)}.radio[aria-checked="true"] .dot{opacity:1;transform:scale(1)}.label{line-height:1.25rem}';export{e as ui_radio_group}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as
|
|
1
|
+
import{r as i,c as t,h as a,H as r}from"./p-COlwaVJP.js";const s=class{constructor(a){i(this,a),this.uiChange=t(this,"uiChange"),this.checked=!1,this.disabled=!1,this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.uiChange.emit(this.checked))},this.onKeyDown=i=>{" "!==i.key&&"Enter"!==i.key||(i.preventDefault(),this.toggle())}}render(){return a(r,{key:"9b6a322fd7129b403e8ef9b8dcfa686904af0a3f"},a("button",{key:"263e42e0bdc147a3fe8b99f6d153ef8a38165b57",class:"switch",type:"button",role:"switch","aria-checked":this.checked?"true":"false",disabled:this.disabled,onClick:this.toggle,onKeyDown:this.onKeyDown},a("span",{key:"d8c2917fa03aa147e86e9ba812bd2bf791bc3d5e",class:"thumb"})))}};s.style=':host{display:inline-flex}.switch{position:relative;width:2.75rem;height:1.5rem;padding:0;border:1px solid var(--ui-border);border-radius:var(--ui-radius-full);background:var(--ui-chip);cursor:pointer;outline:none;transition:background var(--ui-duration) var(--ui-ease)}.switch:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.switch[aria-checked="true"]{background:var(--ui-accent);border-color:var(--ui-accent)}.switch:disabled{opacity:0.5;pointer-events:none}.thumb{position:absolute;top:50%;left:0.125rem;width:1.25rem;height:1.25rem;border-radius:9999px;background:var(--ui-on-status);box-shadow:var(--ui-shadow-sm);transform:translateY(-50%);transition:transform var(--ui-duration) var(--ui-ease)}.switch[aria-checked="true"] .thumb{transform:translate(1.25rem, -50%)}';export{s as ui_switch}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as e,H as r}from"./p-COlwaVJP.js";const c=class{constructor(e){a(this,e)}render(){return e(r,{key:"08c7f1a9160ee85b361bbdbaa79bebe383c45356"},e("nav",{key:"c556ee500aae55becf5c1095344278f48bf6c8a5","aria-label":"breadcrumb"},e("ol",{key:"cf7611405a6884d91fe9b4a657f640080e2085e6"},e("slot",{key:"4d10ef99bed3ba63f5893a62ac8ac4c3c0256461"}))))}};c.style=":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}";export{c as ui_breadcrumb}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r,H as a}from"./p-COlwaVJP.js";const i=class{constructor(r){e(this,r),this.eyebrow="",this.heading="",this.description=""}render(){return r(a,{key:"f9ca72986e90e560d62a8aae824e46ca054bfc60"},r("section",{key:"2920c329302e4f263ea5f69d94e99f470d13b796"},this.eyebrow&&r("p",{key:"42a40e4eee0f4428669c07ef41f409fbb3050b90",class:"eyebrow"},this.eyebrow),this.heading&&r("h2",{key:"e48b4a964d0afe76a4057e44393136fb85aece0b",class:"heading"},this.heading),this.description&&r("p",{key:"90aa856c92f63324f5cc31fb4e67378eef4150c2",class:"description"},this.description),r("slot",{key:"7629ee2f0e291b5b9614819e82aea2bdc1cc1d8c"})))}};i.style=":host{display:block;font-family:var(--ui-font-sans)}section{max-width:80rem;margin:0 auto;padding:3.5rem 1.5rem}.eyebrow{display:inline-block;margin:0 0 0.75rem;padding:0.25rem 0.625rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-full);background:var(--ui-chip);text-transform:uppercase;letter-spacing:0.12em;font-size:0.6875rem;font-weight:600;color:var(--ui-accent)}.heading{margin:0 0 0.75rem;font-size:2.25rem;font-weight:600;letter-spacing:-0.02em;line-height:1.1;color:var(--ui-foreground)}.description{margin:0 0 2rem;max-width:42rem;color:var(--ui-text-muted)}";export{i as ui_section}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as r,H as
|
|
1
|
+
import{r as i,h as r,H as a}from"./p-COlwaVJP.js";const t=class{constructor(r){i(this,r),this.value=null,this.max=100,this.indeterminate=!1}get isIndeterminate(){return this.indeterminate||null===this.value}get percent(){return null===this.value||this.max<=0?0:Math.min(Math.max(this.value,0),this.max)/this.max*100}render(){const i=!this.isIndeterminate;return r(a,{key:"a7b5aeeca1588edd18fa15429fefdb85590bd078",role:"progressbar","aria-valuenow":i?String(this.value):void 0,"aria-valuemin":i?"0":void 0,"aria-valuemax":i?String(this.max):void 0},r("div",{key:"2996d36f222bafc4501b1dbd7c8cf73e235f056a",class:"track"},r("div",{key:"95ba4a179b5bfae636bdfe7860f7da4966f0a127",class:{indicator:!0,indeterminate:this.isIndeterminate},style:i?{width:`${this.percent}%`}:void 0})))}};t.style=":host{display:block}.track{width:100%;height:0.5rem;border-radius:var(--ui-radius-full);background:var(--ui-chip);border:1px solid var(--ui-border);overflow:hidden;box-sizing:border-box}.indicator{height:100%;min-width:0.5rem;border-radius:var(--ui-radius-full);background:linear-gradient(90deg, var(--ui-accent), var(--ui-accent-strong));box-shadow:0 0 12px color-mix(in srgb, var(--ui-accent) 55%, transparent);transition:width var(--ui-duration) var(--ui-ease)}.indicator.indeterminate{width:40%;min-width:0;animation:ui-progress-slide 1.3s var(--ui-ease) infinite}@keyframes ui-progress-slide{0%{transform:translateX(-110%)}100%{transform:translateX(360%)}}";export{t as ui_progress}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as e,H as r}from"./p-COlwaVJP.js";const i=class{constructor(e){a(this,e)}render(){return e(r,{key:"5c342ae641715653dddb31b78aeee575b8aed1f7"},e("div",{key:"51f02e90a80b567ecae3bec66409fe81fd23311b",class:"group"},e("slot",{key:"e51f5620608a021eac9f11caba645a528dad4e82"})))}};i.style=":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)}";export{i as ui_avatar_group}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,H as s}from"./p-
|
|
1
|
+
import{r as t,h as i,H as s}from"./p-COlwaVJP.js";const e=class{constructor(i){t(this,i),this.items=[],this.counter=0}async toast(t){const i=`toast-${this.counter++}-${Math.random().toString(36).slice(2)}`;this.items=[...this.items,{...t,id:i}]}remove(t){this.items=this.items.filter((i=>i.id!==t))}render(){return i(s,{key:"9a76beb8a262078bb505588efa4686cf2c273ad6"},i("div",{key:"528168475f527b97afc33a142e73773c37e34ed0",class:"container"},this.items.map((t=>i("ui-toast",{key:t.id,open:!0,heading:t.heading,description:t.description,variant:t.variant??"default",duration:t.duration??4e3,onUiClose:()=>this.remove(t.id)})))))}};e.style=":host{display:contents}.container{position:fixed;bottom:0;right:0;z-index:100;display:flex;flex-direction:column;gap:0.5rem;padding:1rem;max-width:24rem}";export{e as ui_toaster}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as i,h as e,H as a}from"./p-
|
|
1
|
+
import{r,c as i,h as e,H as a}from"./p-COlwaVJP.js";const s=class{constructor(e){r(this,e),this.uiInput=i(this,"uiInput"),this.uiChange=i(this,"uiChange"),this.value=50,this.min=0,this.max=100,this.step=1,this.disabled=!1,this.onInput=r=>{const i=Number(r.target.value);this.value=i,this.uiInput.emit(i)},this.onChange=r=>{this.uiChange.emit(Number(r.target.value))}}render(){return e(a,{key:"c1175e775a1861d332064d8229f16ff46b2e2330"},e("input",{key:"ea65fc85d9f7c034560de24ed0df42340ee2509a",class:"slider",type:"range",min:this.min,max:this.max,step:this.step,value:this.value,disabled:this.disabled,onInput:this.onInput,onChange:this.onChange}))}};s.style=":host{display:block}.slider{width:100%;height:1.25rem;margin:0;background:transparent;cursor:pointer;outline:none;-webkit-appearance:none;appearance:none}.slider:disabled{opacity:0.5;pointer-events:none}.slider::-webkit-slider-runnable-track{height:0.375rem;border-radius:var(--ui-radius-full);background:var(--ui-chip)}.slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:1.125rem;height:1.125rem;margin-top:-0.375rem;border-radius:var(--ui-radius-full);background:var(--ui-accent);box-shadow:var(--ui-shadow-sm);transition:transform var(--ui-duration) var(--ui-ease)}.slider::-webkit-slider-thumb:hover{transform:scale(1.1)}.slider:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.slider::-moz-range-track{height:0.375rem;border-radius:var(--ui-radius-full);background:var(--ui-chip)}.slider::-moz-range-progress{height:0.375rem;border-radius:var(--ui-radius-full);background:var(--ui-accent)}.slider::-moz-range-thumb{width:1.125rem;height:1.125rem;border:none;border-radius:var(--ui-radius-full);background:var(--ui-accent);box-shadow:var(--ui-shadow-sm);transition:transform var(--ui-duration) var(--ui-ease)}.slider::-moz-range-thumb:hover{transform:scale(1.1)}.slider:focus-visible::-moz-range-thumb{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}";export{s as ui_slider}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as i,H as
|
|
1
|
+
import{r as e,c as t,h as i,H as s,a as r}from"./p-COlwaVJP.js";const o=class{constructor(i){e(this,i),this.uiSelect=t(this,"uiSelect"),this.disabled=!1,this.onClick=()=>{this.disabled||(this.uiSelect.emit(),this.host.dispatchEvent(new CustomEvent("uiDropdownClose",{bubbles:!0,composed:!0})))}}render(){return i(s,{key:"f4da8e0539fe502d384b1a1f423d6ade545db2b7"},i("button",{key:"7c21a87c78f86be58837d1aa3c3936f23a94b875",type:"button",class:"item",role:"menuitem",disabled:this.disabled,onClick:this.onClick},i("slot",{key:"dba824914003737f6f00380d5c0b20151bf4ac98"})))}get host(){return r(this)}};o.style=":host{display:block}.item{display:flex;align-items:center;gap:0.5rem;width:100%;padding:0.5rem 0.625rem;font-family:var(--ui-font-sans);font-size:0.875rem;text-align:left;color:var(--ui-foreground);background:transparent;border:none;border-radius:var(--ui-radius-sm);cursor:pointer;outline:none;transition:background var(--ui-duration) var(--ui-ease)}.item:hover,.item:focus-visible{background:var(--ui-chip)}.item:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.item:disabled{pointer-events:none;opacity:0.5;cursor:default}";export{o as ui_dropdown_item}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as i,H as a,a as r}from"./p-COlwaVJP.js";import{a as s,c as o,o as n,f as d,s as c}from"./p-DDtwbwIl.js";const l=["D","S","T","Q","Q","S","S"],h=class{constructor(i){e(this,i),this.uiChange=t(this,"uiChange"),this.value="",this.placeholder="Selecione a data",this.open=!1,this.onTriggerClick=e=>{e.stopPropagation(),this.setOpen(!this.open)},this.onDocumentClick=e=>{this.open&&(e.composedPath().includes(this.host)||this.setOpen(!1))},this.onKeydown=e=>{"Escape"===e.key&&this.open&&this.setOpen(!1)},this.prevMonth=e=>{e.stopPropagation(),0===this.viewMonth?(this.viewMonth=11,this.viewYear-=1):this.viewMonth-=1},this.nextMonth=e=>{e.stopPropagation(),11===this.viewMonth?(this.viewMonth=0,this.viewYear+=1):this.viewMonth+=1}}componentWillLoad(){this.syncViewFromValue()}onValueChange(){this.syncViewFromValue()}disconnectedCallback(){this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown)}syncViewFromValue(){const e=this.parseValue(this.value)??new Date;this.viewYear=e.getFullYear(),this.viewMonth=e.getMonth()}parseValue(e){if(!e)return null;const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e);if(!t)return null;const[,i,a,r]=t;return new Date(Number(i),Number(a)-1,Number(r))}toISO(e,t,i){return`${e}-${String(t+1).padStart(2,"0")}-${String(i).padStart(2,"0")}`}formatValue(){const e=this.parseValue(this.value);return e?e.toLocaleDateString("pt-BR"):""}monthLabel(){return new Date(this.viewYear,this.viewMonth,1).toLocaleDateString("pt-BR",{month:"long",year:"numeric"})}setOpen(e){this.open!==e&&(this.open=e,e?(this.syncViewFromValue(),requestAnimationFrame((()=>this.start())),document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onKeydown)):(this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown)))}start(){this.triggerEl&&this.floatingEl&&(this.stop(),this.cleanup=s(this.triggerEl,this.floatingEl,(()=>{this.triggerEl&&this.floatingEl&&o(this.triggerEl,this.floatingEl,{placement:"bottom-start",middleware:[n(6),d(),c({padding:8})]}).then((({x:e,y:t})=>{Object.assign(this.floatingEl.style,{left:`${e}px`,top:`${t}px`})}))})))}stop(){this.cleanup?.(),this.cleanup=void 0}selectDay(e){this.value=this.toISO(this.viewYear,this.viewMonth,e),this.setOpen(!1),this.uiChange.emit(this.value)}buildDays(){const e=new Date(this.viewYear,this.viewMonth,1).getDay(),t=new Date(this.viewYear,this.viewMonth+1,0).getDate();return[...Array.from({length:e},(()=>0)),...Array.from({length:t},((e,t)=>t+1))]}isToday(e){const t=new Date;return e===t.getDate()&&this.viewMonth===t.getMonth()&&this.viewYear===t.getFullYear()}isSelected(e){return this.value===this.toISO(this.viewYear,this.viewMonth,e)}render(){const e=this.formatValue();return i(a,{key:"2c7c34f0f2b688e7f4788c135ce46dc27576390a"},i("button",{key:"0e36f9b8e3a96376b186e97eba82621d513ca041",type:"button",class:"field",ref:e=>this.triggerEl=e,onClick:this.onTriggerClick,"aria-haspopup":"dialog","aria-expanded":this.open?"true":"false"},i("span",{key:"74e80a1defef918550ad375440ed96bbc77e4545",class:{label:!0,placeholder:!e}},e||this.placeholder),i("svg",{key:"bdc13113d3545c1978bd5c0654e38baac83e8ef4",class:"icon",viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},i("rect",{key:"a67ced294fbaf97735a027773d5900b8e444e1fb",x:"3",y:"4",width:"18",height:"18",rx:"2"}),i("path",{key:"ab89ca2d6b92e0e094439e07aa8f33a77d00520d",d:"M16 2v4M8 2v4M3 10h18"}))),i("div",{key:"cdd601edb1497cea10eaa026037684530aec0f0e",class:{calendar:!0,"is-open":this.open},role:"dialog",ref:e=>this.floatingEl=e},i("div",{key:"83dda2789c83c34fb1996a7601c564eefe0403f9",class:"header"},i("button",{key:"4e2a0966a1f17a17005f767c9d8a396cf1e8e8bc",type:"button",class:"nav","aria-label":"Mês anterior",onClick:this.prevMonth},i("svg",{key:"3ff66e36cd36166da633c3c8d5379af0d561a973",viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},i("path",{key:"677dcab4309b5814429a6cd5528cf4a84d836fdf",d:"m15 18-6-6 6-6"}))),i("span",{key:"d478e154bb6c3ad7f43e37c042a0ee8de73bdc55",class:"month-label"},this.monthLabel()),i("button",{key:"8b7a399d6885f38cba8b9b79f5911cf8e1d3b97f",type:"button",class:"nav","aria-label":"Próximo mês",onClick:this.nextMonth},i("svg",{key:"1b3b7558875c3328af1cae826bebe9b488dfe822",viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},i("path",{key:"9c486397121befd51b7e0b8dcdc04afe8d8ecc90",d:"m9 18 6-6-6-6"})))),i("div",{key:"460ae2803e427ed67625355c88a97b46cf307311",class:"weekdays"},l.map((e=>i("span",{class:"weekday"},e)))),i("div",{key:"6bd0d6b507f75a66b9496a18fba9fe2b8dcc3f7e",class:"grid"},this.buildDays().map((e=>0===e?i("span",{class:"day empty"}):i("button",{type:"button",class:{day:!0,today:this.isToday(e),selected:this.isSelected(e)},onClick:t=>{t.stopPropagation(),this.selectDay(e)}},e))))))}get host(){return r(this)}static get watchers(){return{value:[{onValueChange:0}]}}};h.style=":host{display:inline-block;font-family:var(--ui-font-sans)}.field{display:inline-flex;align-items:center;justify-content:space-between;gap:0.5rem;width:100%;min-width:12rem;height:2.75rem;padding:0 0.875rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-panel);color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;text-align:left;cursor:pointer;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-visible{outline:none;border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-foreground)}.label.placeholder{color:var(--ui-text-faint)}.icon{flex:none;color:var(--ui-text-muted)}.calendar{position:fixed;top:0;left:0;z-index:50;width:17rem;max-width:calc(100vw - 1rem);padding:1rem;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;transform:scale(0.96);transition:opacity var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.calendar.is-open{visibility:visible;opacity:1;transform:scale(1)}.header{display:flex;align-items:center;justify-content:space-between;margin-bottom:0.75rem}.month-label{font-size:0.875rem;font-weight:600;text-transform:capitalize;color:var(--ui-foreground)}.nav{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2rem;height:2rem;padding:0;border:none;border-radius:var(--ui-radius-full);background:transparent;color:var(--ui-text-soft);cursor:pointer;transition:all var(--ui-duration) var(--ui-ease)}.nav:hover{background:var(--ui-chip);color:var(--ui-foreground)}.weekdays{display:grid;grid-template-columns:repeat(7, 1fr);margin-bottom:0.25rem}.weekday{display:flex;align-items:center;justify-content:center;height:1.75rem;font-size:0.7rem;color:var(--ui-text-faint)}.grid{display:grid;grid-template-columns:repeat(7, 1fr);gap:0.125rem;justify-items:center}.day{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;border:1px solid transparent;border-radius:var(--ui-radius-full);background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.8125rem;cursor:pointer;transition:all var(--ui-duration) var(--ui-ease)}.day.empty{cursor:default;pointer-events:none}.day:hover:not(.empty):not(.selected){background:var(--ui-chip)}.day.today{border-color:var(--ui-accent)}.day.selected{background:var(--ui-accent);color:var(--ui-accent-contrast);border-color:transparent}";export{h as ui_date_picker}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as
|
|
1
|
+
import{r,c as i,h as a,H as e}from"./p-COlwaVJP.js";const t=class{constructor(a){r(this,a),this.uiInput=i(this,"uiInput"),this.uiChange=i(this,"uiChange"),this.value="",this.disabled=!1,this.invalid=!1,this.rows=4,this.onInput=r=>{const i=r.target;this.value=i.value,this.uiInput.emit(i.value)},this.onChange=r=>{this.uiChange.emit(r.target.value)}}render(){return a(e,{key:"66f45ad55373e76406aebfac1a7b9358757df9cb"},a("textarea",{key:"05343ebf1f04bcef8c39c2e26e07973930a52417",class:{textarea:!0,invalid:this.invalid},name:this.name,rows:this.rows,placeholder:this.placeholder,disabled:this.disabled,"aria-invalid":this.invalid?"true":null,onInput:this.onInput,onChange:this.onChange},this.value))}};t.style=":host{display:block}.textarea{width:100%;min-height:7rem;padding:0.75rem 1rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-panel);color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;line-height:1.5;outline:none;backdrop-filter:blur(22px);transition:all var(--ui-duration) var(--ui-ease);box-sizing:border-box;resize:vertical}.textarea::placeholder{color:var(--ui-text-faint)}.textarea:hover:not(:disabled){border-color:var(--ui-border-strong)}.textarea:focus-visible{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.textarea:disabled{opacity:0.5;pointer-events:none}.textarea.invalid{border-color:var(--ui-danger)}.textarea.invalid:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--ui-danger) 40%, transparent)}";export{t as ui_textarea}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as
|
|
1
|
+
import{r as e,h as a,H as r}from"./p-COlwaVJP.js";const i=class{constructor(a){e(this,a),this.progress=0,this.onScroll=()=>{if("undefined"==typeof document)return;const e=document.documentElement,a=e.scrollHeight-e.clientHeight;this.progress=a>0?e.scrollTop/a:0}}connectedCallback(){"undefined"!=typeof window&&(window.addEventListener("scroll",this.onScroll,{passive:!0}),this.onScroll())}disconnectedCallback(){"undefined"!=typeof window&&window.removeEventListener("scroll",this.onScroll)}render(){return a(r,{key:"28ba2f0c5eb50a1fa2a2ef68ad8fb7017447cc5e"},a("div",{key:"546cd39172466bc069eee65930fbf96706105b5c",class:"bar",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(100*this.progress),style:{transform:`scaleX(${this.progress})`}}))}};i.style=":host{display:block}.bar{position:fixed;top:0;left:0;width:100%;height:2px;transform-origin:left;transform:scaleX(0);background:linear-gradient( 90deg, var(--ui-accent), var(--ui-accent-strong) );z-index:100;transition:transform var(--ui-duration) var(--ui-ease)}";export{i as ui_scroll_progress}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as r,h as
|
|
1
|
+
import{r as e,c as r,h as i,H as a}from"./p-COlwaVJP.js";const t=class{constructor(i){e(this,i),this.uiChange=r(this,"uiChange"),this.checked=!1,this.disabled=!1,this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.uiChange.emit(this.checked))},this.onKeyDown=e=>{" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.toggle())}}render(){return i(a,{key:"341aeea485e623d978d0e738481dd5e0865b1ff3"},i("button",{key:"a3a5fa4569152d3811d0b575dd3dba099aa7b782",class:"checkbox",type:"button",role:"checkbox","aria-checked":this.checked?"true":"false",disabled:this.disabled,onClick:this.toggle,onKeyDown:this.onKeyDown},i("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"},i("polyline",{key:"009b16f0efcd6f4d59255262e95542e5362832ed",points:"20 6 9 17 4 12"}))))}};t.style=':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)}';export{t as ui_checkbox}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as i,h as a,H as r}from"./p-COlwaVJP.js";const s=class{constructor(a){e(this,a),this.uiChange=i(this,"uiChange"),this.multiple=!1,this.label="Arraste arquivos ou clique para enviar",this.files=[],this.dragging=!1,this.openPicker=()=>{this.inputEl?.click()},this.onInputChange=e=>{this.setFiles(e.target.files)},this.onDragOver=e=>{e.preventDefault(),this.dragging=!0},this.onDragLeave=()=>{this.dragging=!1},this.onDrop=e=>{e.preventDefault(),this.dragging=!1,this.setFiles(e.dataTransfer?.files??null)}}setFiles(e){e&&(this.files=Array.from(e),this.uiChange.emit(this.files))}formatSize(e){return e>=1048576?`${(e/1048576).toFixed(1)} MB`:`${(e/1024).toFixed(1)} KB`}render(){return a(r,{key:"a8ca0fb9e4fbbfdba11a8f290124af65a0480093"},a("button",{key:"fd077d08e014e28b1f2411bb09a7d8a49afd7ceb",type:"button",class:{dropzone:!0,dragging:this.dragging},onClick:this.openPicker,onDragOver:this.onDragOver,onDragLeave:this.onDragLeave,onDrop:this.onDrop},a("svg",{key:"2d68e2377435eeb88645a887091c0b6c2d707c5c",class:"icon",viewBox:"0 0 24 24",width:"2rem",height:"2rem",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},a("path",{key:"677380bbdb141a320a97d1163c5410312b003ed4",d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),a("polyline",{key:"42deea2aa62b6908fdd0e45ec64e9cabcf225da6",points:"17 8 12 3 7 8"}),a("line",{key:"12a28663905914b21b4c355bc96064d8e9ae4045",x1:"12",y1:"3",x2:"12",y2:"15"})),a("span",{key:"77bedaa863521eb1960fedd51b82e453606fe3e5",class:"label"},this.label),this.accept?a("span",{class:"hint"},this.accept):null),a("input",{key:"9facb4fee3805f4c0a9286e5bed67eae1b8e799b",type:"file",hidden:!0,accept:this.accept,multiple:this.multiple,ref:e=>this.inputEl=e,onChange:this.onInputChange}),this.files.length>0?a("ul",{class:"files"},this.files.map((e=>a("li",{class:"file"},a("span",{class:"file-name"},e.name),a("span",{class:"file-size"},this.formatSize(e.size)))))):null)}};s.style=":host{display:block}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.5rem;width:100%;padding:1.5rem;border:2px dashed var(--ui-border-strong);border-radius:var(--ui-radius-lg);background:transparent;font-family:var(--ui-font-sans);cursor:pointer;transition:background var(--ui-duration) var(--ui-ease), border-color var(--ui-duration) var(--ui-ease)}.dropzone:hover,.dropzone.dragging{background:var(--ui-chip)}.dropzone:focus-visible{outline:none;box-shadow:0 0 0 2px var(--ui-ring)}.icon{color:var(--ui-text-soft)}.label{font-size:0.875rem;color:var(--ui-text-muted)}.hint{font-size:0.75rem;color:var(--ui-text-faint)}.files{list-style:none;margin:0.75rem 0 0;padding:0;display:flex;flex-direction:column;gap:0.375rem}.file{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;padding:0.5rem 0.75rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-panel);font-family:var(--ui-font-sans)}.file-name{font-size:0.875rem;color:var(--ui-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-size{flex-shrink:0;font-size:0.75rem;color:var(--ui-text-muted)}";export{s as ui_file_upload}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as a,h as i,H as s}from"./p-COlwaVJP.js";const o=class{constructor(i){t(this,i),this.uiClose=a(this,"uiClose"),this.open=!1,this.onClose=()=>{this.open&&(this.open=!1,this.uiClose.emit())},this.onBackdropClick=t=>{t.target===this.dialogEl&&this.close()}}onOpenChange(t){this.sync(t)}componentDidLoad(){this.sync(this.open)}sync(t){this.dialogEl&&(t&&!this.dialogEl.open?this.dialogEl.showModal():!t&&this.dialogEl.open&&this.dialogEl.close())}async show(){this.open=!0}async close(){this.open=!1}render(){return i(s,{key:"84c982a7870da6b7517f7f989574c41684fd47d1"},i("dialog",{key:"f83e558d1344f2612d719032df6e4d652212ce94",class:"dialog",ref:t=>this.dialogEl=t,onClose:this.onClose,onCancel:this.onClose,onClick:this.onBackdropClick},i("div",{key:"f0506fc17bb608a4b4a33c113e749d9fdb637508",class:"content"},i("slot",{key:"ceab792ebd46acefe430467fb9b6c260e658b7bc"}))))}static get watchers(){return{open:[{onOpenChange:0}]}}};o.style='.dialog{padding:0;border:none;background:transparent;max-width:32rem;width:calc(100% - 2rem);color:var(--ui-foreground)}.dialog::backdrop{background:var(--ui-overlay);backdrop-filter:blur(4px)}.dialog[open]{animation:ui-dialog-in var(--ui-duration) var(--ui-ease)}.content{border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);padding:1.5rem;font-family:var(--ui-font-sans)}::slotted([slot="title"]){font-size:1.125rem;font-weight:600}::slotted([slot="description"]){color:var(--ui-text-muted);font-size:0.875rem}@keyframes ui-dialog-in{from{opacity:0;transform:scale(0.96) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}';export{o as ui_dialog}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as s}from"./p-COlwaVJP.js";const r={xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem"},a={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch"},c={start:"flex-start",center:"center",end:"flex-end",between:"space-between"},i=class{constructor(e){t(this,e),this.direction="vertical",this.gap="md",this.align="stretch",this.justify="start",this.wrap=!1}render(){return e(s,{key:"27299e680537c9b2cc57c2922f28ec01f2ff12f8"},e("div",{key:"8201e2dadf2462e2f48113a6b4bf7f57b55328b2",class:"stack",style:{flexDirection:"horizontal"===this.direction?"row":"column",gap:r[this.gap],alignItems:a[this.align],justifyContent:c[this.justify],flexWrap:this.wrap?"wrap":"nowrap"}},e("slot",{key:"b2e1715ca077e101ba2519662b4365b6e2c52db4"})))}};i.style=":host{display:block}.stack{display:flex;font-family:var(--ui-font-sans)}";export{i as ui_stack}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as i,H as s,a}from"./p-COlwaVJP.js";const r=class{constructor(i){e(this,i),this.uiSelect=t(this,"uiSelect"),this.open=!1,this.items=[],this.placeholder="Buscar comando…",this.hotkey=!0,this.query="",this.activeIndex=0,this.onHotkey=e=>{(e.metaKey||e.ctrlKey)&&"k"===e.key.toLowerCase()&&(e.preventDefault(),this.open=!this.open)},this.onClose=()=>{this.open&&(this.open=!1),this.query="",this.activeIndex=0},this.onInput=e=>{this.query=e.target.value,this.activeIndex=0},this.onKeydown=e=>{const t=this.filtered;switch(e.key){case"ArrowDown":if(e.preventDefault(),0===t.length)return;this.activeIndex=(this.activeIndex+1)%t.length;break;case"ArrowUp":if(e.preventDefault(),0===t.length)return;this.activeIndex=(this.activeIndex-1+t.length)%t.length;break;case"Enter":t[this.activeIndex]&&(e.preventDefault(),this.select(t[this.activeIndex]))}}}onOpenChange(e){this.sync(e),e&&requestAnimationFrame((()=>this.inputEl?.focus()))}componentDidLoad(){this.sync(this.open)}connectedCallback(){this.hotkey&&"undefined"!=typeof document&&document.addEventListener("keydown",this.onHotkey)}disconnectedCallback(){"undefined"!=typeof document&&document.removeEventListener("keydown",this.onHotkey)}sync(e){this.dialogEl&&(e&&!this.dialogEl.open?this.dialogEl.showModal():!e&&this.dialogEl.open&&this.dialogEl.close())}async show(){this.open=!0}async close(){this.open=!1}get filtered(){const e=this.query.toLowerCase();return this.items.filter((t=>t.label.toLowerCase().includes(e)))}select(e){this.uiSelect.emit(e.value),this.open=!1,this.query="",this.activeIndex=0}render(){const e=this.filtered;let t=-1;const a=new Set;return i(s,{key:"2c99a55d42f0fa90a2b2ec4cae3d0952429fe861"},i("dialog",{key:"514c6b029111f2fbba14ce430f515c3528b6666f",class:"command",ref:e=>this.dialogEl=e,onClose:this.onClose,onCancel:this.onClose},i("div",{key:"430a2fd81e35ff4f2478a45d1398df7a575ce92d",class:"panel"},i("input",{key:"2eb475315a08d49f5716fd3aac87e1ce9d3d937b",class:"search",type:"text",role:"combobox","aria-expanded":"true","aria-autocomplete":"list",autocomplete:"off",value:this.query,placeholder:this.placeholder,ref:e=>this.inputEl=e,onInput:this.onInput,onKeyDown:this.onKeydown}),i("div",{key:"031e45085143e13aa360b0f2641a1fc80c4f75ab",class:"list",role:"listbox"},0===e.length?i("div",{class:"empty"},"Nenhum comando"):e.map((e=>{t+=1;const s=t,r=void 0!==e.group&&!a.has(e.group);return void 0!==e.group&&a.add(e.group),[r?i("div",{class:"group"},e.group):null,i("div",{class:{item:!0,active:s===this.activeIndex},role:"option","aria-selected":s===this.activeIndex?"true":"false",onMouseEnter:()=>this.activeIndex=s,onMouseDown:t=>{t.preventDefault(),this.select(e)}},i("span",{class:"label"},e.label),e.hint?i("span",{class:"hint"},e.hint):null)]}))))))}get host(){return a(this)}static get watchers(){return{open:[{onOpenChange:0}]}}};r.style=".command{padding:0;border:none;background:transparent;max-width:none;max-height:none;color:var(--ui-foreground)}.command::backdrop{background:var(--ui-overlay);backdrop-filter:blur(4px)}.panel{margin:12vh auto 0;width:min(40rem, 92vw);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);overflow:hidden;font-family:var(--ui-font-sans)}.search{width:100%;box-sizing:border-box;border:none;border-bottom:1px solid var(--ui-border);background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:1rem;padding:1rem;outline:none}.search::placeholder{color:var(--ui-text-faint)}.list{max-height:50vh;overflow:auto;padding:0.5rem}.group{text-transform:uppercase;font-size:0.7rem;letter-spacing:0.04em;color:var(--ui-text-faint);padding:0.5rem 0.75rem 0.25rem}.item{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;padding:0.5rem 0.75rem;border-radius:var(--ui-radius-sm);cursor:pointer}.item.active{background:var(--ui-chip)}.label{color:var(--ui-foreground)}.hint{color:var(--ui-text-faint);font-size:0.8rem}.empty{text-align:center;color:var(--ui-text-faint);padding:1.5rem 1rem}";export{r as ui_command}
|
package/dist/uikit/uikit.css
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
radial-gradient(circle at 78% 12%, rgba(91, 140, 255, 0.14), transparent 34rem),
|
|
4
4
|
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),
|
|
5
5
|
radial-gradient(circle at 78% 10%, rgba(91, 140, 255, 0.14), transparent 34rem),
|
|
6
|
-
linear-gradient(180deg, var(--ui-background), #070911 58%, #03050b)}:where(html){font-family:var(--ui-font-sans)}
|
|
6
|
+
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)}
|
package/dist/uikit/uikit.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,g as a,b as i}from"./p-
|
|
1
|
+
import{p as e,g as a,b as i}from"./p-COlwaVJP.js";export{s as setNonce}from"./p-COlwaVJP.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((async e=>(await a(),i([["p-247f7a40",[[1,"ui-loading-overlay",{visible:[4],label:[1],spinnerSize:[1,"spinner-size"]}]]],["p-c0b3f5a3",[[1,"ui-toaster",{items:[32],toast:[64]}]]],["p-7aeed213",[[257,"ui-accordion"]]],["p-56b1bf3f",[[257,"ui-accordion-item",{heading:[1],open:[1540]}]]],["p-5562b70d",[[257,"ui-alert",{variant:[1],heading:[1],dismissible:[4],open:[32]}]]],["p-5ff44eca",[[1,"ui-avatar",{src:[1],alt:[1],fallback:[1],status:[1]}]]],["p-bf66ce1b",[[257,"ui-avatar-group"]]],["p-2a4de93f",[[257,"ui-badge",{variant:[1],dot:[4],removable:[4]}]]],["p-acce5342",[[257,"ui-breadcrumb"]]],["p-849347da",[[257,"ui-breadcrumb-item",{href:[1],current:[4]}]]],["p-6d58ff8d",[[257,"ui-button",{variant:[1],size:[1],disabled:[4],loading:[4],type:[1],full:[516]}]]],["p-86bf22c1",[[257,"ui-card"]]],["p-26c4b4f9",[[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]}]]],["p-e32fa613",[[1,"ui-checkbox",{checked:[1540],disabled:[4],name:[1],value:[1]}]]],["p-2716a9e4",[[1,"ui-combobox",{options:[16],value:[1025],placeholder:[1],query:[32],open:[32],activeIndex:[32]}]]],["p-faa31e8c",[[1,"ui-command",{open:[1540],items:[16],placeholder:[1],hotkey:[4],query:[32],activeIndex:[32],show:[64],close:[64]},null,{open:[{onOpenChange:0}]}]]],["p-4c2fb226",[[257,"ui-container",{size:[1],padded:[4]}]]],["p-dc00c84b",[[1,"ui-date-picker",{value:[1025],placeholder:[1],open:[32],viewYear:[32],viewMonth:[32]},null,{value:[{onValueChange:0}]}]]],["p-e891fec3",[[257,"ui-dialog",{open:[1540],show:[64],close:[64]},null,{open:[{onOpenChange:0}]}]]],["p-24c9885b",[[257,"ui-drawer",{open:[1540],side:[513],show:[64],close:[64]},null,{open:[{onOpenChange:0}]}]]],["p-d73e789a",[[257,"ui-dropdown-item",{disabled:[516]}]]],["p-66037a7c",[[257,"ui-dropdown-menu",{open:[1540],placement:[1],show:[64],close:[64]},[[0,"uiDropdownClose","onItemClose"]],{open:[{onOpenChange:0}]}]]],["p-57adf02c",[[257,"ui-field",{label:[1],description:[1],error:[1],required:[4],fieldId:[1,"field-id"]}]]],["p-e61e7ef1",[[1,"ui-file-upload",{accept:[1],multiple:[4],label:[1],files:[32],dragging:[32]}]]],["p-80236139",[[257,"ui-grid",{columns:[2],gap:[1],minItemWidth:[1,"min-item-width"]}]]],["p-02583f33",[[257,"ui-input",{value:[1025],placeholder:[1],type:[1],disabled:[4],invalid:[4],name:[1],clearable:[4]}]]],["p-4281fc69",[[257,"ui-label"]]],["p-30834f9e",[[257,"ui-navbar"]]],["p-2ce36223",[[1,"ui-pagination",{total:[2],current:[1538],siblings:[2]}]]],["p-186d394f",[[257,"ui-popover",{open:[1540],placement:[1],show:[64],close:[64]},null,{open:[{onOpenChange:0}]}]]],["p-bd287e67",[[1,"ui-progress",{value:[2],max:[2],indeterminate:[4]}]]],["p-0b8fb2cc",[[1,"ui-progress-circular",{value:[2],max:[2],size:[1],strokeWidth:[2,"stroke-width"],indeterminate:[4],showValue:[4,"show-value"]}]]],["p-aa0ce28c",[[1,"ui-radio-group",{value:[1025],name:[1],options:[16],disabled:[4]}]]],["p-7a04fd11",[[1,"ui-rating",{value:[1026],max:[2],readonly:[4],hoverValue:[32]}]]],["p-81a37bda",[[257,"ui-reveal",{delay:[2],visible:[32]}]]],["p-e2e35a6b",[[1,"ui-scroll-progress",{progress:[32]}]]],["p-b232849a",[[257,"ui-section",{eyebrow:[1],heading:[1],description:[1]}]]],["p-a8f81996",[[1,"ui-segmented",{items:[16],value:[1537]}]]],["p-33a19160",[[1,"ui-select",{value:[1025],disabled:[4],name:[1],options:[16],placeholder:[1]}]]],["p-12777ebf",[[1,"ui-separator",{orientation:[513]}]]],["p-400536f7",[[1,"ui-skeleton"]]],["p-c29317aa",[[1,"ui-slider",{value:[1026],min:[2],max:[2],step:[2],disabled:[4]}]]],["p-ef6ec7f7",[[257,"ui-stack",{direction:[1],gap:[1],align:[1],justify:[1],wrap:[4]}]]],["p-a4b535ad",[[257,"ui-stat",{label:[1],value:[1],delta:[1],trend:[1]}]]],["p-aa41b084",[[1,"ui-switch",{checked:[1540],disabled:[4]}]]],["p-41355be1",[[1,"ui-table",{columns:[16],rows:[16],striped:[4],hoverable:[4]}]]],["p-333a3598",[[257,"ui-tabs",{value:[1537],items:[16]}]]],["p-de2bb69c",[[1,"ui-textarea",{value:[1025],placeholder:[1],disabled:[4],invalid:[4],name:[1],rows:[2]}]]],["p-a312d278",[[1,"ui-theme-toggle",{isDark:[32]}]]],["p-866a0947",[[257,"ui-timeline"]]],["p-98234aed",[[257,"ui-timeline-item",{heading:[1],time:[1],variant:[513]}]]],["p-27c609c2",[[257,"ui-tooltip",{content:[1],placement:[1],openDelay:[2,"open-delay"],visible:[32]}]]],["p-58035d5a",[[1,"ui-spinner",{size:[1]}]]],["p-411a753f",[[1,"ui-toast",{open:[1540],variant:[1],heading:[1],description:[1],duration:[2],show:[64],close:[64]},null,{open:[{onOpenChange:0}]}]]]],e))));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andespindola/ui-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Web Components (design system) com a identidade visual do portfólio andersonespindola.com — base agnóstica de framework para React, Angular e qualquer app.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Anderson Espindola <andersonfaustinolima@gmail.com>",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as i,H as e}from"./p-DYwlrXg_.js";const t=class{constructor(i){r(this,i),this.variant="default",this.size="md",this.disabled=!1,this.loading=!1,this.type="button",this.full=!1}render(){return i(e,{key:"fa9886a20cac8424b127be543c0fd1ad04cc2fb1"},i("button",{key:"c54077dabce85b286733efcae8a08a435b81d72e",class:{btn:!0,[`variant-${this.variant}`]:!0,[`size-${this.size}`]:!0},type:this.type,disabled:this.disabled||this.loading,"aria-busy":this.loading?"true":null},this.loading&&i("span",{key:"8e557bd098d5655be256ea7fc0748990b7f11026",class:"spinner","aria-hidden":"true"}),i("slot",{key:"36946d065411700928e3541f351a3f6f75018ae9"})))}};t.style=":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)}}";export{t as ui_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as s,h as t,H as e,a}from"./p-DYwlrXg_.js";import{a as r,c as o,o as n,f as h,s as d}from"./p-CyBRmmbs.js";const c=class{constructor(t){i(this,t),this.uiOpenChange=s(this,"uiOpenChange"),this.open=!1,this.placement="bottom",this.onTriggerClick=i=>{i.stopPropagation(),this.setOpen(!this.open)},this.onDocumentClick=i=>{this.open&&(i.composedPath().includes(this.host)||this.setOpen(!1))},this.onKeydown=i=>{"Escape"===i.key&&this.open&&this.setOpen(!1)}}onOpenChange(i){i?(requestAnimationFrame((()=>this.start())),document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onKeydown)):(this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown))}disconnectedCallback(){this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown)}async show(){this.setOpen(!0)}async close(){this.setOpen(!1)}setOpen(i){this.open!==i&&(this.open=i,this.uiOpenChange.emit(i))}start(){this.triggerEl&&this.floatingEl&&(this.stop(),this.cleanup=r(this.triggerEl,this.floatingEl,(()=>{this.triggerEl&&this.floatingEl&&o(this.triggerEl,this.floatingEl,{placement:this.placement,middleware:[n(8),h(),d({padding:8})]}).then((({x:i,y:s})=>{Object.assign(this.floatingEl.style,{left:`${i}px`,top:`${s}px`})}))})))}stop(){this.cleanup?.(),this.cleanup=void 0}render(){return t(e,{key:"61b4088ff4d61701a3466619274e60ac64fcc420"},t("span",{key:"d2d00f4dbf391ea1bc119870e399187d98634de6",class:"trigger",ref:i=>this.triggerEl=i,onClick:this.onTriggerClick},t("slot",{key:"ece70edbdda096821de68295e55a3fba3caeada4",name:"trigger"})),t("div",{key:"f30e5a570e49eb9c7056fd820bc57408dd78e013",class:{panel:!0,"is-open":this.open},ref:i=>this.floatingEl=i},t("slot",{key:"5823d3c7ed47946d812a2c34002fc5fd0cfc8a29"})))}get host(){return a(this)}static get watchers(){return{open:[{onOpenChange:0}]}}};c.style=":host{display:inline-block}.trigger{display:inline-flex}.panel{position:fixed;top:0;left:0;z-index:50;width:18rem;max-width:calc(100vw - 1rem);padding:1rem;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;transform:scale(0.96);transition:opacity var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.panel.is-open{visibility:visible;opacity:1;transform:scale(1)}";export{c as ui_popover}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as e,H as l}from"./p-DYwlrXg_.js";const o=class{constructor(e){a(this,e)}render(){return e(l,{key:"15695a208223a3270e49d72972a49c26fe3acd4d"},e("label",{key:"a6d0290c845797368e59fa936b80c8fee55dbcb1",class:"label"},e("slot",{key:"daae42c194f0c31d69a82bfad95a97b85cf2cdf2"})))}};o.style=":host{display:inline-block}.label{font-family:var(--ui-font-sans);font-size:0.875rem;font-weight:500;color:var(--ui-foreground)}";export{o as ui_label}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as s}from"./p-DYwlrXg_.js";const a={xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem"},r={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch"},c={start:"flex-start",center:"center",end:"flex-end",between:"space-between"},i=class{constructor(e){t(this,e),this.direction="vertical",this.gap="md",this.align="stretch",this.justify="start",this.wrap=!1}render(){return e(s,{key:"ba9547e72877aa05a5e93afbe098d7402b315df3"},e("div",{key:"e0fd73777e2211925435f2fd8bfcb74ad2eb8085",class:"stack",style:{flexDirection:"horizontal"===this.direction?"row":"column",gap:a[this.gap],alignItems:r[this.align],justifyContent:c[this.justify],flexWrap:this.wrap?"wrap":"nowrap"}},e("slot",{key:"3a5aa50721c641f0cc81328a21262ff5d375e55c"})))}};i.style=":host{display:block}.stack{display:flex;font-family:var(--ui-font-sans)}";export{i as ui_stack}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a,H as s}from"./p-DYwlrXg_.js";const r={xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem"},t=class{constructor(a){e(this,a),this.columns=12,this.gap="md"}render(){return a(s,{key:"465a816e064af42d8282185ee92e32477a6112fd"},a("div",{key:"da2e151c56959ced55477e3fe6c99aa5563b38aa",class:"grid",style:{gridTemplateColumns:this.minItemWidth?`repeat(auto-fit, minmax(${this.minItemWidth}, 1fr))`:`repeat(${this.columns}, minmax(0, 1fr))`,gap:r[this.gap]}},a("slot",{key:"5bb285ce0feaf16d066b627010fc3fb595a85c15"})))}};t.style=":host{display:block}.grid{display:grid;font-family:var(--ui-font-sans)}";export{t as ui_grid}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as r,H as a}from"./p-DYwlrXg_.js";const i=class{constructor(r){e(this,r)}render(){return r(a,{key:"2413b9065333e5beb192143529b60daceefc11fe"},r("div",{key:"df93cb1e73bc05abfee09226111da32f50bf908d",class:"group"},r("slot",{key:"fa7fc7b57b009355e32c904cc78b46848403c0eb"})))}};i.style=":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)}";export{i as ui_avatar_group}
|
package/dist/uikit/p-DYwlrXg_.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const t=()=>{},e=':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)}';function n(t,e,n){const i="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==i;){const i=Object.getOwnPropertyDescriptor(t,e);if(i&&(!n||i.get))return i;t=Object.getPrototypeOf(t)}}var i,o=(t,e)=>{var i;Object.entries(null!=(i=e.i.t)?i:{}).map((([i,[o]])=>{if(31&o||32&o){const o=t[i],r=n(Object.getPrototypeOf(t),i,!0)||Object.getOwnPropertyDescriptor(t,i);r&&Object.defineProperty(t,i,{get(){return r.get.call(this)},set(t){r.set.call(this,t)},configurable:!0,enumerable:!0}),e.o.has(i)?t[i]=e.o.get(i):void 0!==o&&(t[i]=o)}}))},r=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},l=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.l=t,512&e.i.u&&o(t,e))},s=(t,e)=>e in t,a=(t,e)=>(0,console.error)(t,e),c=new Map,u=new Map,f="undefined"!=typeof window?window:{},d={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,i)=>t.addEventListener(e,n,i),rel:(t,e,n,i)=>t.removeEventListener(e,n,i),ce:(t,e)=>new CustomEvent(t,e)},p=t=>Promise.resolve(t),b=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),h=!!b&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),m=!1,g=[],v=[],y=(t,e)=>n=>{t.push(n),m||(m=!0,e&&4&d.u?j($):d.raf($))},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){a(t)}t.length=0},$=()=>{w(g),w(v),(m=g.length>0)&&d.raf($)},j=t=>p().then(t),S=y(v,!0);function x(){var t;const n=this.attachShadow({mode:"open"});if(void 0===i&&(i=null!=(t=function(t){if(!b)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(e))?t:null),i)h?n.adoptedStyleSheets.push(i):n.adoptedStyleSheets=[...n.adoptedStyleSheets,i];else if(!b){const t=document.createElement("style");t.innerHTML=e,n.prepend(t)}}function O(t){var e,n,i;return null!=(i=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?i:void 0}var k,M=new WeakMap,E=t=>"sc-"+t.h,C=t=>"object"==(t=typeof t)||"function"===t,P=(t,e,...n)=>{let i=null,o=null,r=!1,l=!1;const s=[],a=e=>{for(let n=0;n<e.length;n++)i=e[n],Array.isArray(i)?a(i):null!=i&&"boolean"!=typeof i&&((r="function"!=typeof t&&!C(i))&&(i+=""),r&&l?s[s.length-1].m+=i:s.push(r?R(null,i):i),l=r)};if(a(n),e){e.key&&(o=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const c=R(t,null);return c.v=e,s.length>0&&(c.$=s),c.j=o,c},R=(t,e)=>({u:0,S:t,m:null!=e?e:null,O:null,$:null,v:null,j:null}),A={},L=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const i of e){if(n)break;for(const e of t[i])if("string"==typeof e){n=!0;break}}if(!n)return t;const i={};for(const n of e)i[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return i},N=(t,e)=>null==t||C(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,D=t=>{var e;return null==(e=r(t))?void 0:e.$hostElement$},H=(t,e)=>{const n=D(t);return{emit:t=>T(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},T=(t,e,n)=>{const i=d.ce(e,n);return t.dispatchEvent(i),i},U=(t,e,n,i,o,l)=>{if(n===i)return;let a=s(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=z(n);let r=z(i);e.remove(...o.filter((t=>t&&!r.includes(t)))),e.add(...r.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)n&&i[e]===n[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===e);else if("ref"===e)i&&et(i,t);else if(a||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let o;{const e=r(t);if(e&&e.i&&e.i.t){const t=e.i.t[n];t&&t[1]&&(o=t[1])}}return o||(o=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(o)||t.removeAttribute(o):t.setAttribute(o,!0===i?"":i))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=i}catch(t){}return}{const r=C(i);if((a||r&&null!==i)&&!o)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const o=null==i?"":i;"list"===e?a=!1:null!=n&&t[e]===o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}null==i||!1===i?!1===i&&""!==t.getAttribute(e)||t.removeAttribute(e):(!a||4&l||o)&&!r&&1===t.nodeType&&t.setAttribute(e,i=!0===i?"":i)}}else if(e="-"===e[2]?e.slice(3):s(f,c)?c.slice(2):c[2]+e.slice(3),n||i){const o=e.endsWith(W);e=e.replace(I,""),n&&d.rel(t,e,n,o),i&&d.ael(t,e,i,o)}},F=/\s/,z=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(F):[]),W="Capture",I=RegExp(W+"$"),V=(t,e,n)=>{const i=11===e.O.nodeType&&e.O.host?e.O.host:e.O,o=t&&t.v||{},r=e.v||{};for(const t of q(Object.keys(o)))t in r||U(i,t,o[t],void 0,n,e.u);for(const t of q(Object.keys(r)))U(i,t,o[t],r[t],n,e.u)};function q(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var B=!1,G=!1,Y=[],Z=[],_=(t,e,n)=>{const i=e.$[n];let o,r,l=0;if(null!=i.m)o=i.O=f.document.createTextNode(i.m);else{if(G||(G="svg"===i.S),!f.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=i.O=f.document.createElementNS(G?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.S),G&&"foreignObject"===i.S&&(G=!1),V(null,i,G),i.$){const e="template"===i.S?o.content:o;for(l=0;l<i.$.length;++l)r=_(t,i,l),r&&e.appendChild(r)}"svg"===i.S?G=!1:"foreignObject"===o.tagName&&(G=!0)}return o["s-hn"]=k,o},J=(t,e,n,i,o,r)=>{let l,s=t;for(s.shadowRoot&&s.tagName===k&&(s=s.shadowRoot),"template"===n.S&&(s=s.content);o<=r;++o)i[o]&&(l=_(null,n,o),l&&(i[o].O=l,nt(s,l,e)))},K=(t,e,n)=>{for(let i=e;i<=n;++i){const e=t[i];if(e){const t=e.O;tt(e),t&&t.remove()}}},Q=(t,e,n=!1)=>t.S===e.S&&(n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),X=(t,e,n=!1)=>{const i=e.O=t.O,o=t.$,r=e.$,l=e.S,s=e.m;null==s?(G="svg"===l||"foreignObject"!==l&&G,"slot"!==l||B||t.k!==e.k&&(e.O["s-sn"]=e.k||"",(t=>{d.u|=1;const e=t.closest(k.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),i=Array.from(t.__childNodes||t.childNodes);for(const t of n?i.reverse():i)null!=t["s-sh"]&&(nt(e,t,null!=n?n:null),t["s-sh"]=void 0)}d.u&=-2})(e.O.parentElement)),V(t,e,G),null!==o&&null!==r?((t,e,n,i,o=!1)=>{let r,l,s=0,a=0,c=0,u=0,f=e.length-1,d=e[0],p=e[f],b=i.length-1,h=i[0],m=i[b];const g="template"===n.S?t.content:t;for(;s<=f&&a<=b;)if(null==d)d=e[++s];else if(null==p)p=e[--f];else if(null==h)h=i[++a];else if(null==m)m=i[--b];else if(Q(d,h,o))X(d,h,o),d=e[++s],h=i[++a];else if(Q(p,m,o))X(p,m,o),p=e[--f],m=i[--b];else if(Q(d,m,o))X(d,m,o),nt(g,d.O,p.O.nextSibling),d=e[++s],m=i[--b];else if(Q(p,h,o))X(p,h,o),nt(g,p.O,d.O),p=e[--f],h=i[++a];else{for(c=-1,u=s;u<=f;++u)if(e[u]&&null!==e[u].j&&e[u].j===h.j){c=u;break}c>=0?(l=e[c],l.S!==h.S?r=_(e&&e[a],n,c):(X(l,h,o),e[c]=void 0,r=l.O),h=i[++a]):(r=_(e&&e[a],n,a),h=i[++a]),r&&nt(d.O.parentNode,r,d.O)}s>f?J(t,null==i[b+1]?null:i[b+1].O,n,i,a,b):a>b&&K(e,s,f)})(i,o,e,r,n):null!==r?(null!==t.m&&(i.textContent=""),J(i,null,e,r,0,r.length-1)):!n&&null!==o&&K(o,0,o.length-1),G&&"svg"===l&&(G=!1)):t.m!==s&&(i.data=s)},tt=t=>{t.v&&t.v.ref&&Y.push((()=>t.v.ref(null))),t.$&&t.$.map(tt)},et=(t,e)=>{Z.push((()=>t(e)))},nt=(t,e,n)=>t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n),it=(t,e)=>{if(e&&!t.M&&e["s-p"]){const n=e["s-p"].push(new Promise((i=>t.M=()=>{e["s-p"].splice(n-1,1),i()})))}},ot=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);it(t,t.C);const n=()=>rt(t,e);if(!e)return S(n);queueMicrotask((()=>{n()}))},rt=(t,e)=>{const n=t.$hostElement$,i=t.l;if(!i)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return e?(t.u|=256,t.P&&(t.P.map((([t,e])=>dt(i,t,e,n))),t.P=void 0),t.R.length&&t.R.forEach((t=>t(n))),o=dt(i,"componentWillLoad",void 0,n)):o=dt(i,"componentWillUpdate",void 0,n),o=lt(o,(()=>dt(i,"componentWillRender",void 0,n))),lt(o,(()=>at(t,i,e)))},lt=(t,e)=>st(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),st=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,at=async(t,e,n)=>{var i;const o=t.$hostElement$,r=o["s-rc"];n&&(t=>{const e=t.i,n=t.$hostElement$,i=e.u,o=((t,e)=>{var n,i,o;const r=E(e),l=u.get(r);if(!f.document)return r;if(t=11===t.nodeType?t:f.document,l)if("string"==typeof l){let o,s=M.get(t=t.head||t);if(s||M.set(t,s=new Set),!s.has(r)){o=f.document.createElement("style"),o.textContent=l;const a=null!=(n=d.A)?n:O(f.document);if(null!=a&&o.setAttribute("nonce",a),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(b){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(l),h?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=l+e.textContent:t.prepend(o)}else t.append(o);1&e.u&&t.insertBefore(o,null),4&e.u&&(o.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),s&&s.add(r)}}else{let e=M.get(t);if(e||M.set(t,e=new Set),!e.has(r)){const n=null!=(o=t.defaultView)?o:t.ownerDocument.defaultView;let i;if(l.constructor===n.CSSStyleSheet)i=l;else{i=new n.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)i.insertRule(l.cssRules[t].cssText,t)}h?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i],e.add(r)}}return r})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&i&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(t);ct(t,e,o,n),r&&(r.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(i=o["s-p"])?i:[],n=()=>ut(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}},ct=(t,e,n,i)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{const i=t.$hostElement$,o=t.i,r=t.L||R(null,null),l=(t=>t&&t.S===A)(e)?e:P(null,null,e);if(k=i.tagName,o.N&&(l.v=l.v||{},o.N.forEach((([t,e])=>{l.v[e]=i[t]}))),n&&l.v)for(const t of Object.keys(l.v))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(l.v[t]=i[t]);l.S=null,l.u|=4,t.L=l,l.O=r.O=i.shadowRoot||i,B=!(!(1&o.u)||128&o.u),X(r,l,n),Y.forEach((t=>t())),Y.length=0,Z.forEach((t=>t())),Z.length=0})(t,e,i)}catch(e){a(e,t.$hostElement$)}return null},ut=t=>{const e=t.$hostElement$,n=t.l,i=t.C;dt(n,"componentDidRender",void 0,e),64&t.u?dt(n,"componentDidUpdate",void 0,e):(t.u|=64,pt(e),dt(n,"componentDidLoad",void 0,e),t.D(e),i||ft()),t.H(e),t.M&&(t.M(),t.M=void 0),512&t.u&&j((()=>ot(t,!1))),t.u&=-517},ft=()=>{j((()=>T(f,"appload",{detail:{namespace:"uikit"}})))},dt=(t,e,n,i)=>{if(t&&t[e])try{return t[e](n)}catch(t){a(t,i)}},pt=t=>t.classList.add("hydrated"),bt=(t,e,n,i)=>{const o=r(t);if(!o)return;if(!o)throw Error(`Couldn't find host element for "${i.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=o.$hostElement$,s=o.o.get(e),c=o.u,u=o.l;if(n=N(n,i.t[e][0]),!(8&c&&void 0!==s||n===s||Number.isNaN(s)&&Number.isNaN(n))){if(o.o.set(e,n),i.T){const t=i.T[e];t&&t.map((t=>{try{const[[i,r]]=Object.entries(t);(128&c||1&r)&&(u?u[i](n,s,e):o.R.push((()=>{o.l[i](n,s,e)})))}catch(t){a(t,l)}}))}if(2&c){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(n,s,e)&&!(16&c))return;16&c||ot(o,!1)}}},ht=(t,e,i)=>{var o,l;const s=t.prototype;{t.watchers&&!e.T&&(e.T=L(t.watchers)),t.deserializers&&!e.U&&(e.U=t.deserializers),t.serializers&&!e.F&&(e.F=t.serializers);const a=Object.entries(null!=(o=e.t)?o:{});if(a.map((([t,[o]])=>{if(31&o||2&i&&32&o){const{get:l,set:a}=n(s,t)||{};l&&(e.t[t][0]|=2048),a&&(e.t[t][0]|=4096),(1&i||!l)&&Object.defineProperty(s,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>r(this).o.get(e))(0,t);const n=r(this),i=n?n.l:s;if(!i)return;return i[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(n){const l=r(this);if(l){if(a)return void 0===(32&o?this[t]:l.$hostElement$[t])&&l.o.get(t)&&(n=l.o.get(t)),a.call(this,N(n,o)),void bt(this,t,n=32&o?this[t]:l.$hostElement$[t],e);{if(!(1&i&&4096&e.t[t][0]))return bt(this,t,n,e),void(1&i&&!l.l&&l.R.push((()=>{4096&e.t[t][0]&&l.l[t]!==l.o.get(t)&&(l.l[t]=n)})));const r=()=>{const i=l.l[t];!l.o.get(t)&&i&&l.o.set(t,i),l.l[t]=N(n,o),bt(this,t,l.l[t],e)};l.l?r():l.R.push((()=>{r()}))}}}})}else 1&i&&64&o&&Object.defineProperty(s,t,{value(...e){var n;const i=r(this);return null==(n=null==i?void 0:i.W)?void 0:n.then((()=>{var n;return null==(n=i.l)?void 0:n[t](...e)}))}})})),1&i){const n=new Map;s.attributeChangedCallback=function(t,i,o){d.jmp((()=>{var l;const c=n.get(t),u=r(this);if(this.hasOwnProperty(c)&&(o=this[c],delete this[c]),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const n=null==u?void 0:u.u;if(u&&n&&!(8&n)&&o!==i){const r=u.l,s=null==(l=e.T)?void 0:l[t];null==s||s.forEach((e=>{const[[l,s]]=Object.entries(e);null!=r[l]&&(128&n||1&s)&&r[l].call(r,o,i,t)}))}return}const f=a.find((([t])=>t===c)),d=f&&4&f[1][0],p=d&&null===o&&void 0===this[c];d&&(o=null!==o&&"false"!==o);const b=Object.getOwnPropertyDescriptor(s,c);p||o==this[c]||b.get&&!b.set||(this[c]=o)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.T)?l:{}),...a.filter((([t,e])=>31&e[0])).map((([t,i])=>{var o;const r=i[1]||t;return n.set(r,t),512&i[0]&&(null==(o=e.N)||o.push([t,r])),r}))]))}}return t},mt=(t,e)=>{dt(t,"connectedCallback",void 0,e)},gt=(t,e)=>{dt(t,"disconnectedCallback",void 0,e||t)},vt=(t,e={})=>{var n;if(!f.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const i=[],o=e.exclude||[],l=f.customElements,s=f.document.head,p=s.querySelector("meta[charset]"),h=f.document.createElement("style"),m=[];let g,v=!0;if(Object.assign(d,e),d.p=new URL(e.resourcesUrl||"./",f.document.baseURI).href,t.map((t=>{t[1].map((e=>{var n,s;const f={u:e[0],h:e[1],t:e[2],I:e[3]};f.t=e[2],f.I=e[3],f.N=[],f.T=L(e[4]),f.F=null!=(n=e[5])?n:{},f.U=null!=(s=e[6])?s:{};const p=f.h,h=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,e)=>{const n={u:0,$hostElement$:t,i:e,o:new Map,V:new Map};n.W=new Promise((t=>n.H=t)),n.q=new Promise((t=>n.D=t)),t["s-p"]=[],t["s-rc"]=[],n.R=[];const i=n;t.__stencil__getHostRef=()=>i})(t=this,f),1&f.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${f.h}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else x.call(t,f)}connectedCallback(){const t=r(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,yt(this,t,f.I)),g&&(clearTimeout(g),g=null),v?m.push(this):d.jmp((()=>(t=>{if(!(1&d.u)){const e=r(t);if(!e)return;const n=e.i,i=()=>{};if(1&e.u)yt(t,e,n.I),(null==e?void 0:e.l)?mt(e.l,t):(null==e?void 0:e.q)&&e.q.then((()=>mt(e.l,t)));else{e.u|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){it(e,e.C=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let i;try{if(!(32&e.u)){if(e.u|=32,n.B){const o=((t,e)=>{const n=t.h.replace(/-/g,"_"),i=t.B;if(!i)return;const o=c.get(i);return o?o[n]:import(`./${i}.entry.js`).then((t=>(c.set(i,t),t[n])),(t=>{a(t,e.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(o&&"then"in o){const t=()=>{};i=await o,t()}else i=o;if(!i)throw Error(`Constructor for "${n.h}#${e.G}" was not found`);i.isProxied||(n.T=L(i.watchers),n.F=i.serializers,n.U=i.deserializers,ht(i,n,2),i.isProxied=!0);const r=()=>{};e.u|=8;try{new i(e)}catch(e){a(e,t)}e.u&=-9,e.u|=128,r(),mt(e.l,t)}else i=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(i&&i.style){let t;"string"==typeof i.style&&(t=i.style);const e=E(n);if(!u.has(e)){const i=()=>{};((t,e,n)=>{let i=u.get(t);b&&n?(i=i||new CSSStyleSheet,"string"==typeof i?i=e:i.replaceSync(e)):i=e,u.set(t,i)})(e,t,!!(1&n.u)),i()}}}const o=e.C,r=()=>ot(e,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()}catch(n){a(n,t),e.M&&(e.M(),e.M=void 0),e.D&&e.D(t)}})(t,e,n)}i()}})(this))))}disconnectedCallback(){d.jmp((()=>(async t=>{if(!(1&d.u)){const e=r(t);(null==e?void 0:e.Y)&&(e.Y.map((t=>t())),e.Y=void 0),(null==e?void 0:e.l)?gt(e.l,t):(null==e?void 0:e.q)&&e.q.then((()=>gt(e.l,t)))}M.has(t)&&M.delete(t),t.shadowRoot&&M.has(t.shadowRoot)&&M.delete(t.shadowRoot)})(this))),d.raf((()=>{var t;const e=r(this);if(!e)return;const n=m.findIndex((t=>t===this));n>-1&&m.splice(n,1),(null==(t=null==e?void 0:e.L)?void 0:t.O)instanceof Node&&!e.L.O.isConnected&&delete e.L.O}))}componentOnReady(){var t;return null==(t=r(this))?void 0:t.q}};f.B=t[0],o.includes(p)||l.get(p)||(i.push(p),l.define(p,ht(h,f,1)))}))})),i.length>0&&(h.textContent+=i.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",h.innerHTML.length)){h.setAttribute("data-styles","");const t=null!=(n=d.A)?n:O(f.document);null!=t&&h.setAttribute("nonce",t),s.insertBefore(h,p?p.nextSibling:s.firstChild)}v=!1,m.length?m.map((t=>t.connectedCallback())):d.jmp((()=>g=setTimeout(ft,30)))},yt=(t,e,n)=>{n&&f.document&&n.map((([n,i,o])=>{const r=t,l=wt(e,o),s=$t(n);d.ael(r,i,l,s),(e.Y=e.Y||[]).push((()=>d.rel(r,i,l,s)))}))},wt=(t,e)=>n=>{var i;try{256&t.u?null==(i=t.l)||i[e](n):(t.P=t.P||[]).push([e,n])}catch(e){a(e,t.$hostElement$)}},$t=t=>({passive:!!(1&t),capture:!!(2&t)}),jt=t=>d.A=t;export{A as H,D as a,vt as b,H as c,t as g,P as h,p,l as r,jt as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as s,H as o}from"./p-DYwlrXg_.js";const r=class{constructor(s){a(this,s)}render(){return s(o,{key:"839f17ea9b81b97b0ca49e89d9907c6a0571f049"},s("slot",{key:"71badd4150a835acfaa0d5867287a30c8a0b7936"}))}};r.style=":host{display:block;font-family:var(--ui-font-sans)}";export{r as ui_accordion}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a,H as r}from"./p-DYwlrXg_.js";const s=class{constructor(a){e(this,a)}render(){return a(r,{key:"3c86ea43e5dde2c8486b49f8c2ece55f66c4dec5"},a("nav",{key:"6da35c2ffc4b7c2aa13d3321ed6227d97be59e80","aria-label":"breadcrumb"},a("ol",{key:"567cb7aaf4e8ae8f1e15369b45b482104f1264da"},a("slot",{key:"5f942426d1195ea0eae8256ebfb01d25b6f350ab"}))))}};s.style=":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}";export{s as ui_breadcrumb}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,c as t,h as i,H as e}from"./p-DYwlrXg_.js";const s=class{constructor(i){a(this,i),this.uiClose=t(this,"uiClose"),this.open=!1,this.onClose=()=>{this.open&&(this.open=!1,this.uiClose.emit())},this.onBackdropClick=a=>{a.target===this.dialogEl&&this.close()}}onOpenChange(a){this.sync(a)}componentDidLoad(){this.sync(this.open)}sync(a){this.dialogEl&&(a&&!this.dialogEl.open?this.dialogEl.showModal():!a&&this.dialogEl.open&&this.dialogEl.close())}async show(){this.open=!0}async close(){this.open=!1}render(){return i(e,{key:"e6c34700dc04fd3754eedeab279a67cd3997fb3d"},i("dialog",{key:"fdb23f89bd4b9aef79abaec586bf39add47ce013",class:"dialog",ref:a=>this.dialogEl=a,onClose:this.onClose,onCancel:this.onClose,onClick:this.onBackdropClick},i("div",{key:"8a86f47c263d4fac68debdcef9cc8ed7e0be7ca8",class:"content"},i("slot",{key:"fe9d9105c13670104b5a60c939f9256b44694e8e"}))))}static get watchers(){return{open:[{onOpenChange:0}]}}};s.style='.dialog{padding:0;border:none;background:transparent;max-width:32rem;width:calc(100% - 2rem);color:var(--ui-foreground)}.dialog::backdrop{background:var(--ui-overlay);backdrop-filter:blur(4px)}.dialog[open]{animation:ui-dialog-in var(--ui-duration) var(--ui-ease)}.content{border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);padding:1.5rem;font-family:var(--ui-font-sans)}::slotted([slot="title"]){font-size:1.125rem;font-weight:600}::slotted([slot="description"]){color:var(--ui-text-muted);font-size:0.875rem}@keyframes ui-dialog-in{from{opacity:0;transform:scale(0.96) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}';export{s as ui_dialog}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as i,H as a}from"./p-DYwlrXg_.js";const d=class{constructor(i){e(this,i),this.size="lg",this.padded=!0}render(){return i(a,{key:"4f00ee39f0ae347fafac349ee8e42c991c8013dd"},i("div",{key:"a0f8f0c6d418f119c6631d0387f9328af8fbb416",class:{container:!0,[`size-${this.size}`]:!0,padded:this.padded}},i("slot",{key:"86178f8371c958123fcf8b7e6bfe059aeed9f690"})))}};d.style=":host{display:block;width:100%}.container{margin-inline:auto;width:100%;font-family:var(--ui-font-sans)}.size-sm{max-width:40rem}.size-md{max-width:48rem}.size-lg{max-width:64rem}.size-xl{max-width:80rem}.size-full{max-width:none}.padded{padding-inline:1.25rem}@media (min-width: 640px){.padded{padding-inline:2rem}}";export{d as ui_container}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as e,H as r}from"./p-DYwlrXg_.js";const i=class{constructor(e){a(this,e),this.required=!1}render(){return e(r,{key:"1910a6ce3a389ab7faa9e3b46e0397e6a9bfbaab"},e("div",{key:"fb76fb030b9af9129578f7b2f0b85eaffefc8d67",class:"field"},this.label&&e("label",{key:"659a7c0982360c133891a1a22a98cdae32a529ed",class:"label",htmlFor:this.fieldId},this.label,this.required&&e("span",{key:"de93f19b8a2dd063df1175c00c68c0b7c9b092d6",class:"required","aria-hidden":"true"}," *")),e("slot",{key:"a510f107aab90a202c178f1d22727689db828fdc"}),this.error?e("p",{class:"error",role:"alert"},this.error):this.description&&e("p",{class:"description"},this.description)))}};i.style=":host{display:block}.field{display:flex;flex-direction:column;gap:0.375rem}.label{font-family:var(--ui-font-sans);font-size:0.875rem;font-weight:500;color:var(--ui-foreground)}.required{color:var(--ui-danger)}.error{margin:0;font-family:var(--ui-font-sans);font-size:0.75rem;color:var(--ui-danger)}.description{margin:0;font-family:var(--ui-font-sans);font-size:0.75rem;color:var(--ui-text-muted)}";export{i as ui_field}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as r,H as i}from"./p-DYwlrXg_.js";const a=class{constructor(r){e(this,r),this.eyebrow="",this.heading="",this.description=""}render(){return r(i,{key:"71344e4d5a4c6bccade1bf5151aeba1dffa14d7f"},r("section",{key:"404cb27c6db128f60608b4eff44fa6e05520016b"},this.eyebrow&&r("p",{key:"204ced95531d3bf77c2a32f940c3ec4bc0e76f53",class:"eyebrow"},this.eyebrow),this.heading&&r("h2",{key:"46818123dd264ef60db8ff9c7a2ad93979d71434",class:"heading"},this.heading),this.description&&r("p",{key:"eaba39853cd12a874c9079e2181aca9e0fc130b7",class:"description"},this.description),r("slot",{key:"24d02b1d9176e42d7906ef43881807d7cfda2e52"})))}};a.style=":host{display:block;font-family:var(--ui-font-sans)}section{max-width:80rem;margin:0 auto;padding:3.5rem 1.5rem}.eyebrow{display:inline-block;margin:0 0 0.75rem;padding:0.25rem 0.625rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-full);background:var(--ui-chip);text-transform:uppercase;letter-spacing:0.12em;font-size:0.6875rem;font-weight:600;color:var(--ui-accent)}.heading{margin:0 0 0.75rem;font-size:2.25rem;font-weight:600;letter-spacing:-0.02em;line-height:1.1;color:var(--ui-foreground)}.description{margin:0 0 2rem;max-width:42rem;color:var(--ui-text-muted)}";export{a as ui_section}
|