@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
package/dist/cjs/uikit.cjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
6
6
|
/*
|
|
@@ -18,7 +18,7 @@ var patchBrowser = () => {
|
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(async (options) => {
|
|
20
20
|
await index.globalScripts();
|
|
21
|
-
return index.bootstrapLazy([["ui-loading-overlay.cjs",[[1,"ui-loading-overlay",{"visible":[4],"label":[1],"spinnerSize":[1,"spinner-size"]}]]],["ui-toaster.cjs",[[1,"ui-toaster",{"items":[32],"toast":[64]}]]],["ui-accordion.cjs",[[257,"ui-accordion"]]],["ui-accordion-item.cjs",[[257,"ui-accordion-item",{"heading":[1],"open":[1540]}]]],["ui-alert.cjs",[[257,"ui-alert",{"variant":[1],"heading":[1],"dismissible":[4],"open":[32]}]]],["ui-avatar.cjs",[[1,"ui-avatar",{"src":[1],"alt":[1],"fallback":[1],"status":[1]}]]],["ui-avatar-group.cjs",[[257,"ui-avatar-group"]]],["ui-badge.cjs",[[257,"ui-badge",{"variant":[1],"dot":[4],"removable":[4]}]]],["ui-breadcrumb.cjs",[[257,"ui-breadcrumb"]]],["ui-breadcrumb-item.cjs",[[257,"ui-breadcrumb-item",{"href":[1],"current":[4]}]]],["ui-button.cjs",[[257,"ui-button",{"variant":[1],"size":[1],"disabled":[4],"loading":[4],"type":[1],"full":[516]}]]],["ui-card.cjs",[[257,"ui-card"]]],["ui-checkbox.cjs",[[1,"ui-checkbox",{"checked":[1540],"disabled":[4],"name":[1],"value":[1]}]]],["ui-container.cjs",[[257,"ui-container",{"size":[1],"padded":[4]}]]],["ui-dialog.cjs",[[257,"ui-dialog",{"open":[1540],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-drawer.cjs",[[257,"ui-drawer",{"open":[1540],"side":[513],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-dropdown-item.cjs",[[257,"ui-dropdown-item",{"disabled":[516]}]]],["ui-dropdown-menu.cjs",[[257,"ui-dropdown-menu",{"open":[1540],"placement":[1],"show":[64],"close":[64]},[[0,"uiDropdownClose","onItemClose"]],{"open":[{"onOpenChange":0}]}]]],["ui-field.cjs",[[257,"ui-field",{"label":[1],"description":[1],"error":[1],"required":[4],"fieldId":[1,"field-id"]}]]],["ui-grid.cjs",[[257,"ui-grid",{"columns":[2],"gap":[1],"minItemWidth":[1,"min-item-width"]}]]],["ui-input.cjs",[[257,"ui-input",{"value":[1025],"placeholder":[1],"type":[1],"disabled":[4],"invalid":[4],"name":[1],"clearable":[4]}]]],["ui-label.cjs",[[257,"ui-label"]]],["ui-pagination.cjs",[[1,"ui-pagination",{"total":[2],"current":[1538],"siblings":[2]}]]],["ui-popover.cjs",[[257,"ui-popover",{"open":[1540],"placement":[1],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-progress.cjs",[[1,"ui-progress",{"value":[2],"max":[2],"indeterminate":[4]}]]],["ui-radio-group.cjs",[[1,"ui-radio-group",{"value":[1025],"name":[1],"options":[16],"disabled":[4]}]]],["ui-reveal.cjs",[[257,"ui-reveal",{"delay":[2],"visible":[32]}]]],["ui-scroll-progress.cjs",[[1,"ui-scroll-progress",{"progress":[32]}]]],["ui-section.cjs",[[257,"ui-section",{"eyebrow":[1],"heading":[1],"description":[1]}]]],["ui-segmented.cjs",[[1,"ui-segmented",{"items":[16],"value":[1537]}]]],["ui-select.cjs",[[1,"ui-select",{"value":[1025],"disabled":[4],"name":[1],"options":[16],"placeholder":[1]}]]],["ui-separator.cjs",[[1,"ui-separator",{"orientation":[513]}]]],["ui-skeleton.cjs",[[1,"ui-skeleton"]]],["ui-slider.cjs",[[1,"ui-slider",{"value":[1026],"min":[2],"max":[2],"step":[2],"disabled":[4]}]]],["ui-stack.cjs",[[257,"ui-stack",{"direction":[1],"gap":[1],"align":[1],"justify":[1],"wrap":[4]}]]],["ui-stat.cjs",[[257,"ui-stat",{"label":[1],"value":[1],"delta":[1],"trend":[1]}]]],["ui-switch.cjs",[[1,"ui-switch",{"checked":[1540],"disabled":[4]}]]],["ui-tabs.cjs",[[257,"ui-tabs",{"value":[1537],"items":[16]}]]],["ui-textarea.cjs",[[1,"ui-textarea",{"value":[1025],"placeholder":[1],"disabled":[4],"invalid":[4],"name":[1],"rows":[2]}]]],["ui-theme-toggle.cjs",[[1,"ui-theme-toggle",{"isDark":[32]}]]],["ui-tooltip.cjs",[[257,"ui-tooltip",{"content":[1],"placement":[1],"openDelay":[2,"open-delay"],"visible":[32]}]]],["ui-spinner.cjs",[[1,"ui-spinner",{"size":[1]}]]],["ui-toast.cjs",[[1,"ui-toast",{"open":[1540],"variant":[1],"heading":[1],"description":[1],"duration":[2],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]]], options);
|
|
21
|
+
return index.bootstrapLazy([["ui-loading-overlay.cjs",[[1,"ui-loading-overlay",{"visible":[4],"label":[1],"spinnerSize":[1,"spinner-size"]}]]],["ui-toaster.cjs",[[1,"ui-toaster",{"items":[32],"toast":[64]}]]],["ui-accordion.cjs",[[257,"ui-accordion"]]],["ui-accordion-item.cjs",[[257,"ui-accordion-item",{"heading":[1],"open":[1540]}]]],["ui-alert.cjs",[[257,"ui-alert",{"variant":[1],"heading":[1],"dismissible":[4],"open":[32]}]]],["ui-avatar.cjs",[[1,"ui-avatar",{"src":[1],"alt":[1],"fallback":[1],"status":[1]}]]],["ui-avatar-group.cjs",[[257,"ui-avatar-group"]]],["ui-badge.cjs",[[257,"ui-badge",{"variant":[1],"dot":[4],"removable":[4]}]]],["ui-breadcrumb.cjs",[[257,"ui-breadcrumb"]]],["ui-breadcrumb-item.cjs",[[257,"ui-breadcrumb-item",{"href":[1],"current":[4]}]]],["ui-button.cjs",[[257,"ui-button",{"variant":[1],"size":[1],"disabled":[4],"loading":[4],"type":[1],"full":[516]}]]],["ui-card.cjs",[[257,"ui-card"]]],["ui-carousel.cjs",[[257,"ui-carousel",{"loop":[4],"autoplay":[2],"showArrows":[4,"show-arrows"],"showDots":[4,"show-dots"],"index":[32],"count":[32],"next":[64],"prev":[64],"goTo":[64]}]]],["ui-checkbox.cjs",[[1,"ui-checkbox",{"checked":[1540],"disabled":[4],"name":[1],"value":[1]}]]],["ui-combobox.cjs",[[1,"ui-combobox",{"options":[16],"value":[1025],"placeholder":[1],"query":[32],"open":[32],"activeIndex":[32]}]]],["ui-command.cjs",[[1,"ui-command",{"open":[1540],"items":[16],"placeholder":[1],"hotkey":[4],"query":[32],"activeIndex":[32],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-container.cjs",[[257,"ui-container",{"size":[1],"padded":[4]}]]],["ui-date-picker.cjs",[[1,"ui-date-picker",{"value":[1025],"placeholder":[1],"open":[32],"viewYear":[32],"viewMonth":[32]},null,{"value":[{"onValueChange":0}]}]]],["ui-dialog.cjs",[[257,"ui-dialog",{"open":[1540],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-drawer.cjs",[[257,"ui-drawer",{"open":[1540],"side":[513],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-dropdown-item.cjs",[[257,"ui-dropdown-item",{"disabled":[516]}]]],["ui-dropdown-menu.cjs",[[257,"ui-dropdown-menu",{"open":[1540],"placement":[1],"show":[64],"close":[64]},[[0,"uiDropdownClose","onItemClose"]],{"open":[{"onOpenChange":0}]}]]],["ui-field.cjs",[[257,"ui-field",{"label":[1],"description":[1],"error":[1],"required":[4],"fieldId":[1,"field-id"]}]]],["ui-file-upload.cjs",[[1,"ui-file-upload",{"accept":[1],"multiple":[4],"label":[1],"files":[32],"dragging":[32]}]]],["ui-grid.cjs",[[257,"ui-grid",{"columns":[2],"gap":[1],"minItemWidth":[1,"min-item-width"]}]]],["ui-input.cjs",[[257,"ui-input",{"value":[1025],"placeholder":[1],"type":[1],"disabled":[4],"invalid":[4],"name":[1],"clearable":[4]}]]],["ui-label.cjs",[[257,"ui-label"]]],["ui-navbar.cjs",[[257,"ui-navbar"]]],["ui-pagination.cjs",[[1,"ui-pagination",{"total":[2],"current":[1538],"siblings":[2]}]]],["ui-popover.cjs",[[257,"ui-popover",{"open":[1540],"placement":[1],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-progress.cjs",[[1,"ui-progress",{"value":[2],"max":[2],"indeterminate":[4]}]]],["ui-progress-circular.cjs",[[1,"ui-progress-circular",{"value":[2],"max":[2],"size":[1],"strokeWidth":[2,"stroke-width"],"indeterminate":[4],"showValue":[4,"show-value"]}]]],["ui-radio-group.cjs",[[1,"ui-radio-group",{"value":[1025],"name":[1],"options":[16],"disabled":[4]}]]],["ui-rating.cjs",[[1,"ui-rating",{"value":[1026],"max":[2],"readonly":[4],"hoverValue":[32]}]]],["ui-reveal.cjs",[[257,"ui-reveal",{"delay":[2],"visible":[32]}]]],["ui-scroll-progress.cjs",[[1,"ui-scroll-progress",{"progress":[32]}]]],["ui-section.cjs",[[257,"ui-section",{"eyebrow":[1],"heading":[1],"description":[1]}]]],["ui-segmented.cjs",[[1,"ui-segmented",{"items":[16],"value":[1537]}]]],["ui-select.cjs",[[1,"ui-select",{"value":[1025],"disabled":[4],"name":[1],"options":[16],"placeholder":[1]}]]],["ui-separator.cjs",[[1,"ui-separator",{"orientation":[513]}]]],["ui-skeleton.cjs",[[1,"ui-skeleton"]]],["ui-slider.cjs",[[1,"ui-slider",{"value":[1026],"min":[2],"max":[2],"step":[2],"disabled":[4]}]]],["ui-stack.cjs",[[257,"ui-stack",{"direction":[1],"gap":[1],"align":[1],"justify":[1],"wrap":[4]}]]],["ui-stat.cjs",[[257,"ui-stat",{"label":[1],"value":[1],"delta":[1],"trend":[1]}]]],["ui-switch.cjs",[[1,"ui-switch",{"checked":[1540],"disabled":[4]}]]],["ui-table.cjs",[[1,"ui-table",{"columns":[16],"rows":[16],"striped":[4],"hoverable":[4]}]]],["ui-tabs.cjs",[[257,"ui-tabs",{"value":[1537],"items":[16]}]]],["ui-textarea.cjs",[[1,"ui-textarea",{"value":[1025],"placeholder":[1],"disabled":[4],"invalid":[4],"name":[1],"rows":[2]}]]],["ui-theme-toggle.cjs",[[1,"ui-theme-toggle",{"isDark":[32]}]]],["ui-timeline.cjs",[[257,"ui-timeline"]]],["ui-timeline-item.cjs",[[257,"ui-timeline-item",{"heading":[1],"time":[1],"variant":[513]}]]],["ui-tooltip.cjs",[[257,"ui-tooltip",{"content":[1],"placement":[1],"openDelay":[2,"open-delay"],"visible":[32]}]]],["ui-spinner.cjs",[[1,"ui-spinner",{"size":[1]}]]],["ui-toast.cjs",[[1,"ui-toast",{"open":[1540],"variant":[1],"heading":[1],"description":[1],"duration":[2],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]]], options);
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
exports.setNonce = index.setNonce;
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"components/ui-alert/ui-alert.js",
|
|
4
4
|
"components/ui-badge/ui-badge.js",
|
|
5
5
|
"components/ui-button/ui-button.js",
|
|
6
|
+
"components/ui-combobox/ui-combobox.js",
|
|
7
|
+
"components/ui-command/ui-command.js",
|
|
6
8
|
"components/ui-container/ui-container.js",
|
|
7
9
|
"components/ui-grid/ui-grid.js",
|
|
8
10
|
"components/ui-spinner/ui-spinner.js",
|
|
@@ -12,7 +14,9 @@
|
|
|
12
14
|
"components/ui-separator/ui-separator.js",
|
|
13
15
|
"components/ui-stack/ui-stack.js",
|
|
14
16
|
"components/ui-stat/ui-stat.js",
|
|
17
|
+
"components/ui-table/ui-table.js",
|
|
15
18
|
"components/ui-tabs/ui-tabs.js",
|
|
19
|
+
"components/ui-timeline-item/ui-timeline-item.js",
|
|
16
20
|
"components/ui-toast/ui-toast.js",
|
|
17
21
|
"components/ui-toaster/ui-toaster.js",
|
|
18
22
|
"components/ui-accordion/ui-accordion.js",
|
|
@@ -22,18 +26,24 @@
|
|
|
22
26
|
"components/ui-breadcrumb/ui-breadcrumb.js",
|
|
23
27
|
"components/ui-breadcrumb-item/ui-breadcrumb-item.js",
|
|
24
28
|
"components/ui-card/ui-card.js",
|
|
29
|
+
"components/ui-carousel/ui-carousel.js",
|
|
25
30
|
"components/ui-checkbox/ui-checkbox.js",
|
|
31
|
+
"components/ui-date-picker/ui-date-picker.js",
|
|
26
32
|
"components/ui-dialog/ui-dialog.js",
|
|
27
33
|
"components/ui-drawer/ui-drawer.js",
|
|
28
34
|
"components/ui-dropdown-item/ui-dropdown-item.js",
|
|
29
35
|
"components/ui-dropdown-menu/ui-dropdown-menu.js",
|
|
30
36
|
"components/ui-field/ui-field.js",
|
|
37
|
+
"components/ui-file-upload/ui-file-upload.js",
|
|
31
38
|
"components/ui-input/ui-input.js",
|
|
32
39
|
"components/ui-label/ui-label.js",
|
|
33
40
|
"components/ui-loading-overlay/ui-loading-overlay.js",
|
|
41
|
+
"components/ui-navbar/ui-navbar.js",
|
|
34
42
|
"components/ui-pagination/ui-pagination.js",
|
|
35
43
|
"components/ui-popover/ui-popover.js",
|
|
36
44
|
"components/ui-progress/ui-progress.js",
|
|
45
|
+
"components/ui-progress-circular/ui-progress-circular.js",
|
|
46
|
+
"components/ui-rating/ui-rating.js",
|
|
37
47
|
"components/ui-reveal/ui-reveal.js",
|
|
38
48
|
"components/ui-scroll-progress/ui-scroll-progress.js",
|
|
39
49
|
"components/ui-section/ui-section.js",
|
|
@@ -42,6 +52,7 @@
|
|
|
42
52
|
"components/ui-switch/ui-switch.js",
|
|
43
53
|
"components/ui-textarea/ui-textarea.js",
|
|
44
54
|
"components/ui-theme-toggle/ui-theme-toggle.js",
|
|
55
|
+
"components/ui-timeline/ui-timeline.js",
|
|
45
56
|
"components/ui-tooltip/ui-tooltip.js"
|
|
46
57
|
],
|
|
47
58
|
"mixins": [],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class UiAccordion {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '56a5f7f6b52c0b6a4c38cb46ddba0cd74882bd66' }, h("slot", { key: 'e93260e203e7530a478cf67911c6ad82b1bb42b8' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "ui-accordion"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class UiAccordionItem {
|
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '11d00df0e199adbc3badfa4e80702b1b1b3ccba7' }, h("details", { key: '44b13038c647250ca575b39a29c51b4552bf08af', open: this.open, onToggle: this.onToggle }, h("summary", { key: '08f7b8573dcfe59772f5e8f5aba4e5f35d4b56e1' }, h("span", { key: 'cd9805611d92d5e79fb8ef919641be21db847653', class: "heading" }, this.heading), h("svg", { key: '86f746ee1069f1da35ae413d0e3027faa3c16e28', class: "chevron", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("polyline", { key: 'f390ee46eb11ea19bd1009a6729e350190cb3832', points: "6 9 12 15 18 9" }))), h("div", { key: 'a8648065e4fabb367320d891d6ca31a3d66a6e92', class: "content" }, h("slot", { key: '8666001409bd732acbc0b5cd8aa3c078de166a77' })))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ui-accordion-item"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class UiAvatar {
|
|
|
5
5
|
this.alt = "";
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '6347a5a14cb07b2782759417006f8a23fd7a6b54' }, h("span", { key: 'dfb14ae7a3e19312a7fa597612a9d10842561d8f', class: "wrapper" }, h("span", { key: '66ad000b4c2f1bea00332cc164a86ee196b80943', class: "avatar" }, this.src ? (h("img", { class: "image", src: this.src, alt: this.alt })) : (h("span", { class: "fallback" }, this.fallback))), this.status && (h("span", { key: 'd40f9d4f2c42415aa8c346f2819aade2221a2829', class: `status status-${this.status}`, "aria-label": this.status })))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "ui-avatar"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ import { h, Host } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class UiAvatarGroup {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '5c342ae641715653dddb31b78aeee575b8aed1f7' }, h("div", { key: '51f02e90a80b567ecae3bec66409fe81fd23311b', class: "group" }, h("slot", { key: 'e51f5620608a021eac9f11caba645a528dad4e82' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ui-avatar-group"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class UiBreadcrumb {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '08c7f1a9160ee85b361bbdbaa79bebe383c45356' }, h("nav", { key: 'c556ee500aae55becf5c1095344278f48bf6c8a5', "aria-label": "breadcrumb" }, h("ol", { key: 'cf7611405a6884d91fe9b4a657f640080e2085e6' }, h("slot", { key: '4d10ef99bed3ba63f5893a62ac8ac4c3c0256461' })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "ui-breadcrumb"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@ export class UiBreadcrumbItem {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const isLink = this.href && !this.current;
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'daa9ab5db1045afddfd1c1656a1635fd98a9e5cb' }, isLink ? (h("a", { class: "link", href: this.href }, h("slot", null))) : (h("span", { class: "current", "aria-current": this.current ? "page" : undefined }, h("slot", null))), !this.current && this.renderSeparator()));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "ui-breadcrumb-item"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class UiCard {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '6382864bd44db2d3bc909fba6b50e61889e248ba' }, h("div", { key: 'ced7e89f9d398eb80d914c0734bf7792b0da415e', class: "card" }, h("slot", { key: '3d77e38ace558104a5498e76730264731d02ad75', name: "title" }), h("slot", { key: '7fe9e17f69e79444eb0d3908f099bc40a49ebe0d', name: "description" }), h("slot", { key: '523ae4e729f6127e4686fb82e12ff3153a67f774' }), h("slot", { key: '87603f17a6d0c8ff7724b5a658e34ae868abd83e', name: "footer" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "ui-card"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.viewport {
|
|
6
|
+
position: relative;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
border: 1px solid var(--ui-border);
|
|
9
|
+
border-radius: var(--ui-radius-lg);
|
|
10
|
+
font-family: var(--ui-font-sans);
|
|
11
|
+
color: var(--ui-foreground);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.track {
|
|
15
|
+
display: flex;
|
|
16
|
+
transition: transform 0.4s var(--ui-ease);
|
|
17
|
+
will-change: transform;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
::slotted(*) {
|
|
21
|
+
flex: 0 0 100%;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Setas */
|
|
26
|
+
.arrow {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 50%;
|
|
29
|
+
transform: translateY(-50%);
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
width: 2.5rem;
|
|
34
|
+
height: 2.5rem;
|
|
35
|
+
border-radius: var(--ui-radius-full);
|
|
36
|
+
border: 1px solid var(--ui-border);
|
|
37
|
+
background: var(--ui-panel-strong);
|
|
38
|
+
color: var(--ui-foreground);
|
|
39
|
+
font-size: 1.5rem;
|
|
40
|
+
line-height: 1;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
backdrop-filter: blur(22px);
|
|
43
|
+
box-shadow: var(--ui-shadow);
|
|
44
|
+
outline: none;
|
|
45
|
+
transition: all var(--ui-duration) var(--ui-ease);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.arrow:hover {
|
|
49
|
+
border-color: var(--ui-border-strong);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.arrow:focus-visible {
|
|
53
|
+
box-shadow: 0 0 0 2px var(--ui-ring);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.arrow:disabled {
|
|
57
|
+
opacity: 0.4;
|
|
58
|
+
pointer-events: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.arrow-prev {
|
|
62
|
+
left: 0.5rem;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.arrow-next {
|
|
66
|
+
right: 0.5rem;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Dots */
|
|
70
|
+
.dots {
|
|
71
|
+
position: absolute;
|
|
72
|
+
left: 0;
|
|
73
|
+
right: 0;
|
|
74
|
+
bottom: 0.75rem;
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
gap: 0.5rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.dot {
|
|
82
|
+
width: 0.625rem;
|
|
83
|
+
height: 0.625rem;
|
|
84
|
+
padding: 0;
|
|
85
|
+
border: none;
|
|
86
|
+
border-radius: var(--ui-radius-full);
|
|
87
|
+
background: var(--ui-chip);
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
outline: none;
|
|
90
|
+
transition: all var(--ui-duration) var(--ui-ease);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.dot:hover {
|
|
94
|
+
filter: brightness(1.15);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.dot:focus-visible {
|
|
98
|
+
box-shadow: 0 0 0 2px var(--ui-ring);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.dot.active {
|
|
102
|
+
background: var(--ui-accent);
|
|
103
|
+
}
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import { h, Host, } from "@stencil/core";
|
|
2
|
+
export class UiCarousel {
|
|
3
|
+
constructor() {
|
|
4
|
+
/** Permite navegação circular (wrap) entre o primeiro e o último slide. */
|
|
5
|
+
this.loop = false;
|
|
6
|
+
/** Intervalo de autoplay em ms. 0 desliga o autoplay. */
|
|
7
|
+
this.autoplay = 0;
|
|
8
|
+
/** Exibe as setas de navegação. */
|
|
9
|
+
this.showArrows = true;
|
|
10
|
+
/** Exibe os indicadores (dots). */
|
|
11
|
+
this.showDots = true;
|
|
12
|
+
/** Índice do slide atual. */
|
|
13
|
+
this.index = 0;
|
|
14
|
+
/** Quantidade de slides. */
|
|
15
|
+
this.count = 0;
|
|
16
|
+
this.syncCount = () => {
|
|
17
|
+
const slot = this.host.shadowRoot?.querySelector("slot");
|
|
18
|
+
if (!slot)
|
|
19
|
+
return;
|
|
20
|
+
this.count = slot.assignedElements().length;
|
|
21
|
+
if (this.index > this.count - 1) {
|
|
22
|
+
this.index = Math.max(0, this.count - 1);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
this.handleMouseEnter = () => {
|
|
26
|
+
if (this.autoplay > 0)
|
|
27
|
+
this.stopAutoplay();
|
|
28
|
+
};
|
|
29
|
+
this.handleMouseLeave = () => {
|
|
30
|
+
if (this.autoplay > 0)
|
|
31
|
+
this.startAutoplay();
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
componentDidLoad() {
|
|
35
|
+
this.syncCount();
|
|
36
|
+
this.startAutoplay();
|
|
37
|
+
}
|
|
38
|
+
disconnectedCallback() {
|
|
39
|
+
this.stopAutoplay();
|
|
40
|
+
}
|
|
41
|
+
startAutoplay() {
|
|
42
|
+
if (this.autoplay > 0) {
|
|
43
|
+
this.stopAutoplay();
|
|
44
|
+
this.timer = setInterval(() => {
|
|
45
|
+
this.advance();
|
|
46
|
+
}, this.autoplay);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
stopAutoplay() {
|
|
50
|
+
if (this.timer) {
|
|
51
|
+
clearInterval(this.timer);
|
|
52
|
+
this.timer = undefined;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
advance() {
|
|
56
|
+
if (this.count < 1)
|
|
57
|
+
return;
|
|
58
|
+
this.goTo((this.index + 1) % this.count);
|
|
59
|
+
}
|
|
60
|
+
setIndex(i) {
|
|
61
|
+
if (this.count < 1)
|
|
62
|
+
return;
|
|
63
|
+
let target = i;
|
|
64
|
+
if (this.loop) {
|
|
65
|
+
target = ((i % this.count) + this.count) % this.count;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
target = Math.max(0, Math.min(i, this.count - 1));
|
|
69
|
+
}
|
|
70
|
+
if (target === this.index)
|
|
71
|
+
return;
|
|
72
|
+
this.index = target;
|
|
73
|
+
this.uiChange.emit(this.index);
|
|
74
|
+
}
|
|
75
|
+
/** Avança para o próximo slide. */
|
|
76
|
+
async next() {
|
|
77
|
+
this.setIndex(this.index + 1);
|
|
78
|
+
}
|
|
79
|
+
/** Volta para o slide anterior. */
|
|
80
|
+
async prev() {
|
|
81
|
+
this.setIndex(this.index - 1);
|
|
82
|
+
}
|
|
83
|
+
/** Vai para um slide específico pelo índice. */
|
|
84
|
+
async goTo(i) {
|
|
85
|
+
this.setIndex(i);
|
|
86
|
+
}
|
|
87
|
+
render() {
|
|
88
|
+
const hasNav = this.count > 1;
|
|
89
|
+
const atStart = this.index <= 0;
|
|
90
|
+
const atEnd = this.index >= this.count - 1;
|
|
91
|
+
return (h(Host, { key: '8674262ced2aef3587cb5b5148628776c3a438df' }, h("div", { key: 'f75c9ec8e3d6aa8635e3001a108795f2b0ac8075', class: "viewport", onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: 'eb654e625366fbeef0b91dd9d86fabe82bada130', class: "track", style: { transform: `translateX(${-this.index * 100}%)` } }, h("slot", { key: '23be2c8067e38b9092bbe6d3ef7b59efb91176c2', onSlotchange: this.syncCount })), this.showArrows && hasNav && (h("button", { key: 'a079b10d78e03a780cccd34a18cb677890c79b8d', type: "button", class: "arrow arrow-prev", "aria-label": "Slide anterior", disabled: !this.loop && atStart, onClick: () => this.prev() }, "\u2039")), this.showArrows && hasNav && (h("button", { key: 'baa6cdc3055631a766afeffc2dadf3d565afaf71', type: "button", class: "arrow arrow-next", "aria-label": "Pr\u00F3ximo slide", disabled: !this.loop && atEnd, onClick: () => this.next() }, "\u203A")), this.showDots && hasNav && (h("div", { key: '3b381517e47193aece7e50c7f134f3e70ea2eda6', class: "dots" }, Array.from({ length: this.count }).map((_, i) => (h("button", { key: i, type: "button", class: { dot: true, active: i === this.index }, "aria-label": `Ir para slide ${i + 1}`, "aria-current": i === this.index ? "true" : "false", onClick: () => this.goTo(i) }))))))));
|
|
92
|
+
}
|
|
93
|
+
static get is() { return "ui-carousel"; }
|
|
94
|
+
static get encapsulation() { return "shadow"; }
|
|
95
|
+
static get originalStyleUrls() {
|
|
96
|
+
return {
|
|
97
|
+
"$": ["ui-carousel.css"]
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
static get styleUrls() {
|
|
101
|
+
return {
|
|
102
|
+
"$": ["ui-carousel.css"]
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
static get properties() {
|
|
106
|
+
return {
|
|
107
|
+
"loop": {
|
|
108
|
+
"type": "boolean",
|
|
109
|
+
"mutable": false,
|
|
110
|
+
"complexType": {
|
|
111
|
+
"original": "boolean",
|
|
112
|
+
"resolved": "boolean",
|
|
113
|
+
"references": {}
|
|
114
|
+
},
|
|
115
|
+
"required": false,
|
|
116
|
+
"optional": false,
|
|
117
|
+
"docs": {
|
|
118
|
+
"tags": [],
|
|
119
|
+
"text": "Permite navega\u00E7\u00E3o circular (wrap) entre o primeiro e o \u00FAltimo slide."
|
|
120
|
+
},
|
|
121
|
+
"getter": false,
|
|
122
|
+
"setter": false,
|
|
123
|
+
"reflect": false,
|
|
124
|
+
"attribute": "loop",
|
|
125
|
+
"defaultValue": "false"
|
|
126
|
+
},
|
|
127
|
+
"autoplay": {
|
|
128
|
+
"type": "number",
|
|
129
|
+
"mutable": false,
|
|
130
|
+
"complexType": {
|
|
131
|
+
"original": "number",
|
|
132
|
+
"resolved": "number",
|
|
133
|
+
"references": {}
|
|
134
|
+
},
|
|
135
|
+
"required": false,
|
|
136
|
+
"optional": false,
|
|
137
|
+
"docs": {
|
|
138
|
+
"tags": [],
|
|
139
|
+
"text": "Intervalo de autoplay em ms. 0 desliga o autoplay."
|
|
140
|
+
},
|
|
141
|
+
"getter": false,
|
|
142
|
+
"setter": false,
|
|
143
|
+
"reflect": false,
|
|
144
|
+
"attribute": "autoplay",
|
|
145
|
+
"defaultValue": "0"
|
|
146
|
+
},
|
|
147
|
+
"showArrows": {
|
|
148
|
+
"type": "boolean",
|
|
149
|
+
"mutable": false,
|
|
150
|
+
"complexType": {
|
|
151
|
+
"original": "boolean",
|
|
152
|
+
"resolved": "boolean",
|
|
153
|
+
"references": {}
|
|
154
|
+
},
|
|
155
|
+
"required": false,
|
|
156
|
+
"optional": false,
|
|
157
|
+
"docs": {
|
|
158
|
+
"tags": [],
|
|
159
|
+
"text": "Exibe as setas de navega\u00E7\u00E3o."
|
|
160
|
+
},
|
|
161
|
+
"getter": false,
|
|
162
|
+
"setter": false,
|
|
163
|
+
"reflect": false,
|
|
164
|
+
"attribute": "show-arrows",
|
|
165
|
+
"defaultValue": "true"
|
|
166
|
+
},
|
|
167
|
+
"showDots": {
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"mutable": false,
|
|
170
|
+
"complexType": {
|
|
171
|
+
"original": "boolean",
|
|
172
|
+
"resolved": "boolean",
|
|
173
|
+
"references": {}
|
|
174
|
+
},
|
|
175
|
+
"required": false,
|
|
176
|
+
"optional": false,
|
|
177
|
+
"docs": {
|
|
178
|
+
"tags": [],
|
|
179
|
+
"text": "Exibe os indicadores (dots)."
|
|
180
|
+
},
|
|
181
|
+
"getter": false,
|
|
182
|
+
"setter": false,
|
|
183
|
+
"reflect": false,
|
|
184
|
+
"attribute": "show-dots",
|
|
185
|
+
"defaultValue": "true"
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
static get states() {
|
|
190
|
+
return {
|
|
191
|
+
"index": {},
|
|
192
|
+
"count": {}
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
static get events() {
|
|
196
|
+
return [{
|
|
197
|
+
"method": "uiChange",
|
|
198
|
+
"name": "uiChange",
|
|
199
|
+
"bubbles": true,
|
|
200
|
+
"cancelable": true,
|
|
201
|
+
"composed": true,
|
|
202
|
+
"docs": {
|
|
203
|
+
"tags": [],
|
|
204
|
+
"text": "Emitido quando o slide atual muda, com o \u00EDndice novo."
|
|
205
|
+
},
|
|
206
|
+
"complexType": {
|
|
207
|
+
"original": "number",
|
|
208
|
+
"resolved": "number",
|
|
209
|
+
"references": {}
|
|
210
|
+
}
|
|
211
|
+
}];
|
|
212
|
+
}
|
|
213
|
+
static get methods() {
|
|
214
|
+
return {
|
|
215
|
+
"next": {
|
|
216
|
+
"complexType": {
|
|
217
|
+
"signature": "() => Promise<void>",
|
|
218
|
+
"parameters": [],
|
|
219
|
+
"references": {
|
|
220
|
+
"Promise": {
|
|
221
|
+
"location": "global",
|
|
222
|
+
"id": "global::Promise"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"return": "Promise<void>"
|
|
226
|
+
},
|
|
227
|
+
"docs": {
|
|
228
|
+
"text": "Avan\u00E7a para o pr\u00F3ximo slide.",
|
|
229
|
+
"tags": []
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"prev": {
|
|
233
|
+
"complexType": {
|
|
234
|
+
"signature": "() => Promise<void>",
|
|
235
|
+
"parameters": [],
|
|
236
|
+
"references": {
|
|
237
|
+
"Promise": {
|
|
238
|
+
"location": "global",
|
|
239
|
+
"id": "global::Promise"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"return": "Promise<void>"
|
|
243
|
+
},
|
|
244
|
+
"docs": {
|
|
245
|
+
"text": "Volta para o slide anterior.",
|
|
246
|
+
"tags": []
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"goTo": {
|
|
250
|
+
"complexType": {
|
|
251
|
+
"signature": "(i: number) => Promise<void>",
|
|
252
|
+
"parameters": [{
|
|
253
|
+
"name": "i",
|
|
254
|
+
"type": "number",
|
|
255
|
+
"docs": ""
|
|
256
|
+
}],
|
|
257
|
+
"references": {
|
|
258
|
+
"Promise": {
|
|
259
|
+
"location": "global",
|
|
260
|
+
"id": "global::Promise"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"return": "Promise<void>"
|
|
264
|
+
},
|
|
265
|
+
"docs": {
|
|
266
|
+
"text": "Vai para um slide espec\u00EDfico pelo \u00EDndice.",
|
|
267
|
+
"tags": []
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
static get elementRef() { return "host"; }
|
|
273
|
+
}
|
|
@@ -19,7 +19,7 @@ export class UiCheckbox {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '341aeea485e623d978d0e738481dd5e0865b1ff3' }, h("button", { key: 'a3a5fa4569152d3811d0b575dd3dba099aa7b782', class: "checkbox", type: "button", role: "checkbox", "aria-checked": this.checked ? "true" : "false", disabled: this.disabled, onClick: this.toggle, onKeyDown: this.onKeyDown }, h("svg", { key: '2653b2db08fc200cc9de850bf3b5e7aec7bb96a0', class: "check", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("polyline", { key: '009b16f0efcd6f4d59255262e95542e5362832ed', points: "20 6 9 17 4 12" })))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "ui-checkbox"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.field {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: 0.5rem;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 2.75rem;
|
|
11
|
+
padding: 0 0.875rem;
|
|
12
|
+
border: 1px solid var(--ui-border);
|
|
13
|
+
border-radius: var(--ui-radius-sm);
|
|
14
|
+
background: var(--ui-panel);
|
|
15
|
+
backdrop-filter: blur(22px);
|
|
16
|
+
transition: all var(--ui-duration) var(--ui-ease);
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.field:hover {
|
|
21
|
+
border-color: var(--ui-border-strong);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.field:focus-within {
|
|
25
|
+
border-color: var(--ui-accent);
|
|
26
|
+
box-shadow: 0 0 0 2px var(--ui-ring);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.input {
|
|
30
|
+
flex: 1;
|
|
31
|
+
min-width: 0;
|
|
32
|
+
height: 100%;
|
|
33
|
+
border: none;
|
|
34
|
+
background: transparent;
|
|
35
|
+
color: var(--ui-foreground);
|
|
36
|
+
font-family: var(--ui-font-sans);
|
|
37
|
+
font-size: 0.875rem;
|
|
38
|
+
outline: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.input::placeholder {
|
|
42
|
+
color: var(--ui-text-faint);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.list {
|
|
46
|
+
position: fixed;
|
|
47
|
+
top: 0;
|
|
48
|
+
left: 0;
|
|
49
|
+
z-index: 50;
|
|
50
|
+
max-height: 16rem;
|
|
51
|
+
overflow-y: auto;
|
|
52
|
+
padding: 0.25rem;
|
|
53
|
+
font-family: var(--ui-font-sans);
|
|
54
|
+
color: var(--ui-foreground);
|
|
55
|
+
border: 1px solid var(--ui-border);
|
|
56
|
+
background: var(--ui-panel-strong);
|
|
57
|
+
box-shadow: var(--ui-shadow-lg);
|
|
58
|
+
backdrop-filter: blur(22px);
|
|
59
|
+
border-radius: var(--ui-radius);
|
|
60
|
+
visibility: hidden;
|
|
61
|
+
opacity: 0;
|
|
62
|
+
transition:
|
|
63
|
+
opacity var(--ui-duration) var(--ui-ease),
|
|
64
|
+
visibility var(--ui-duration) var(--ui-ease);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.list.is-open {
|
|
68
|
+
visibility: visible;
|
|
69
|
+
opacity: 1;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.option {
|
|
73
|
+
padding: 0.5rem 0.75rem;
|
|
74
|
+
font-size: 0.875rem;
|
|
75
|
+
color: var(--ui-foreground);
|
|
76
|
+
border-radius: var(--ui-radius-sm);
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
transition: background var(--ui-duration) var(--ui-ease);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.option.active {
|
|
82
|
+
background: var(--ui-chip);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.option.selected {
|
|
86
|
+
color: var(--ui-accent);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.empty {
|
|
90
|
+
padding: 0.5rem 0.75rem;
|
|
91
|
+
font-size: 0.875rem;
|
|
92
|
+
color: var(--ui-text-faint);
|
|
93
|
+
}
|