@andespindola/ui-core 0.3.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/{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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/ui-field.cjs.entry.js +2 -2
- package/dist/cjs/ui-file-upload.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/ui-pagination.cjs.entry.js +3 -3
- package/dist/cjs/ui-popover.cjs.entry.js +2 -2
- package/dist/cjs/ui-progress-circular.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/uikit.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +4 -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-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-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.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/ui-radio-group/ui-radio-group.js +1 -1
- package/dist/collection/components/ui-rating/ui-rating.js +1 -1
- 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.js +1 -1
- 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-DDJE__UC.js → p-DAnXvxY_.js} +1 -1
- package/dist/components/{p-DUT2Q8Df.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-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-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.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/dist/components/ui-pagination.js +1 -1
- package/dist/components/ui-popover.js +1 -1
- package/dist/components/ui-progress-circular.js +1 -1
- package/dist/components/ui-progress.js +1 -1
- package/dist/components/ui-radio-group.js +1 -1
- package/dist/components/ui-rating.js +1 -1
- 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.js +1 -1
- 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/{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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/ui-field.entry.js +2 -2
- package/dist/esm/ui-file-upload.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ui-pagination.entry.js +3 -3
- package/dist/esm/ui-popover.entry.js +2 -2
- package/dist/esm/ui-progress-circular.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/uikit.js +3 -3
- package/dist/types/components/ui-carousel/ui-carousel.d.ts +35 -0
- package/dist/types/components/ui-command/ui-command.d.ts +42 -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 +236 -0
- package/dist/uikit/{p-5e0bc34a.entry.js → p-02583f33.entry.js} +1 -1
- package/dist/uikit/{p-4044ebde.entry.js → p-0b8fb2cc.entry.js} +1 -1
- package/dist/uikit/{p-894fc85f.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-8535f5c9.entry.js → p-24c9885b.entry.js} +1 -1
- package/dist/uikit/p-26c4b4f9.entry.js +1 -0
- package/dist/uikit/{p-3fdfad2e.entry.js → p-2716a9e4.entry.js} +1 -1
- package/dist/uikit/{p-1449f229.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-88238a16.entry.js → p-2ce36223.entry.js} +1 -1
- package/dist/uikit/p-30834f9e.entry.js +1 -0
- package/dist/uikit/p-333a3598.entry.js +1 -0
- package/dist/uikit/{p-60910c03.entry.js → p-33a19160.entry.js} +1 -1
- package/dist/uikit/{p-a3d819cd.entry.js → p-400536f7.entry.js} +1 -1
- package/dist/uikit/{p-008118af.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-c1a9db7c.entry.js → p-56b1bf3f.entry.js} +1 -1
- package/dist/uikit/p-57adf02c.entry.js +1 -0
- package/dist/uikit/{p-1685191b.entry.js → p-58035d5a.entry.js} +1 -1
- package/dist/uikit/{p-1514ae37.entry.js → p-5ff44eca.entry.js} +1 -1
- package/dist/uikit/{p-b7e30398.entry.js → p-66037a7c.entry.js} +1 -1
- package/dist/uikit/{p-6d363a02.entry.js → p-6d58ff8d.entry.js} +1 -1
- package/dist/uikit/{p-ffcd1faf.entry.js → p-7a04fd11.entry.js} +1 -1
- package/dist/uikit/p-7aeed213.entry.js +1 -0
- package/dist/uikit/p-80236139.entry.js +1 -0
- package/dist/uikit/p-81a37bda.entry.js +1 -0
- package/dist/uikit/{p-f4344cce.entry.js → p-849347da.entry.js} +1 -1
- package/dist/uikit/p-866a0947.entry.js +1 -0
- package/dist/uikit/{p-bdd30484.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-413cfbc6.entry.js → p-a312d278.entry.js} +1 -1
- package/dist/uikit/{p-9310b73b.entry.js → p-a4b535ad.entry.js} +1 -1
- package/dist/uikit/p-a8f81996.entry.js +1 -0
- package/dist/uikit/{p-99b7e461.entry.js → p-aa0ce28c.entry.js} +1 -1
- package/dist/uikit/{p-b0f2b1c8.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-f2983e94.entry.js → p-bd287e67.entry.js} +1 -1
- package/dist/uikit/p-bf66ce1b.entry.js +1 -0
- package/dist/uikit/p-c0b3f5a3.entry.js +1 -0
- package/dist/uikit/{p-9f09fcec.entry.js → p-c29317aa.entry.js} +1 -1
- package/dist/uikit/{p-3995852d.entry.js → p-d73e789a.entry.js} +1 -1
- package/dist/uikit/{p-2d92ce04.entry.js → p-dc00c84b.entry.js} +1 -1
- package/dist/uikit/{p-fb89d9a4.entry.js → p-de2bb69c.entry.js} +1 -1
- package/dist/uikit/{p-ccca2aeb.entry.js → p-e2e35a6b.entry.js} +1 -1
- package/dist/uikit/{p-d7ab158f.entry.js → p-e32fa613.entry.js} +1 -1
- package/dist/uikit/{p-e2065caa.entry.js → p-e61e7ef1.entry.js} +1 -1
- package/dist/uikit/{p-62881327.entry.js → p-e891fec3.entry.js} +1 -1
- package/dist/uikit/{p-0715db16.entry.js → p-ef6ec7f7.entry.js} +1 -1
- 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-10afa395.entry.js +0 -1
- package/dist/uikit/p-1ef7948f.entry.js +0 -1
- package/dist/uikit/p-283e7623.entry.js +0 -1
- package/dist/uikit/p-3b1f92da.entry.js +0 -1
- package/dist/uikit/p-4ba0e4bc.entry.js +0 -1
- package/dist/uikit/p-6c51a216.entry.js +0 -1
- package/dist/uikit/p-8b882367.entry.js +0 -1
- package/dist/uikit/p-9d8d420e.entry.js +0 -1
- package/dist/uikit/p-9dbe7e12.entry.js +0 -1
- package/dist/uikit/p-DYwlrXg_.js +0 -2
- package/dist/uikit/p-bac2c523.entry.js +0 -1
- package/dist/uikit/p-bbc718ef.entry.js +0 -1
- package/dist/uikit/p-c2138fb9.entry.js +0 -1
- package/dist/uikit/p-c94492ff.entry.js +0 -1
- package/dist/uikit/p-da807078.entry.js +0 -1
- package/dist/uikit/p-fbe7806c.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiTextareaCss = () => `: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)}`;
|
|
6
6
|
|
|
@@ -27,7 +27,7 @@ const UiTextarea = class {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (index.h(index.Host, { key: '
|
|
30
|
+
return (index.h(index.Host, { key: '66f45ad55373e76406aebfac1a7b9358757df9cb' }, index.h("textarea", { key: '05343ebf1f04bcef8c39c2e26e07973930a52417', class: { textarea: true, 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)));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
UiTextarea.style = uiTextareaCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiThemeToggleCss = () => `:host{display:inline-flex}.toggle{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;padding:0;border:1px solid var(--ui-border);border-radius:var(--ui-radius-full);background:var(--ui-chip);color:var(--ui-foreground);cursor:pointer;outline:none;transition:background var(--ui-duration) var(--ui-ease), color var(--ui-duration) var(--ui-ease)}.toggle:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.toggle:hover{color:var(--ui-accent)}`;
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ const UiThemeToggle = class {
|
|
|
57
57
|
return (index.h("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, index.h("circle", { cx: "12", cy: "12", r: "4" }), index.h("line", { x1: "12", y1: "2", x2: "12", y2: "4" }), index.h("line", { x1: "12", y1: "20", x2: "12", y2: "22" }), index.h("line", { x1: "2", y1: "12", x2: "4", y2: "12" }), index.h("line", { x1: "20", y1: "12", x2: "22", y2: "12" }), index.h("line", { x1: "4.93", y1: "4.93", x2: "6.34", y2: "6.34" }), index.h("line", { x1: "17.66", y1: "17.66", x2: "19.07", y2: "19.07" }), index.h("line", { x1: "4.93", y1: "19.07", x2: "6.34", y2: "17.66" }), index.h("line", { x1: "17.66", y1: "6.34", x2: "19.07", y2: "4.93" })));
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (index.h(index.Host, { key: '
|
|
60
|
+
return (index.h(index.Host, { key: '941b9c3a71cbbf850d292e95e11311ec4e53dcd4' }, index.h("button", { key: 'd4db89ef140e4d4f5ec2198d69f3c6645db64853', class: "toggle", type: "button", "aria-label": this.isDark ? "Ativar tema claro" : "Ativar tema escuro", "aria-pressed": this.isDark ? "true" : "false", onClick: this.toggle }, this.renderIcon())));
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
UiThemeToggle.style = uiThemeToggleCss();
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
|
+
|
|
5
|
+
const uiTimelineItemCss = () => `:host{display:block}.item{position:relative;display:flex;gap:0.75rem;padding-bottom:1.5rem;font-family:var(--ui-font-sans)}.marker{position:relative;flex:0 0 1.5rem;display:flex;justify-content:center}.dot{position:relative;z-index:1;width:0.75rem;height:0.75rem;margin-top:0.125rem;border-radius:var(--ui-radius-full);background:var(--dot-color, var(--ui-accent));box-shadow:0 0 0 2px var(--ui-background)}.line{position:absolute;top:0.5rem;bottom:-1.5rem;left:50%;width:2px;transform:translateX(-50%);background:var(--ui-border)}:host(:last-child) .line{display:none}.content{display:flex;flex-direction:column;gap:0.25rem;min-width:0}.time{font-size:0.7rem;text-transform:uppercase;letter-spacing:0.08em;color:var(--ui-text-faint)}.heading{font-weight:600;color:var(--ui-foreground)}.body{font-size:0.875rem;color:var(--ui-text-soft)}.variant-accent{--dot-color:var(--ui-accent)}.variant-success{--dot-color:var(--ui-success)}.variant-warning{--dot-color:var(--ui-warning)}.variant-danger{--dot-color:var(--ui-danger)}.variant-muted{--dot-color:var(--ui-text-faint)}`;
|
|
6
|
+
|
|
7
|
+
const UiTimelineItem = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
/** Cor do ponto da timeline. */
|
|
11
|
+
this.variant = "accent";
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (index.h(index.Host, { key: 'f45cef5961dfc1237e415ab185f5e1e04c388646' }, index.h("div", { key: '27dd4e89c6d084d7361bdc20c8408c47ca9b72aa', class: `item variant-${this.variant}` }, index.h("div", { key: '2a70cc361445ab766dd4631f3388a24d3dfb7895', class: "marker" }, index.h("span", { key: '9802c05ae51394158da1509649b079749be0fab4', class: "dot" }), index.h("span", { key: '1862e45d49f389704fcd94037c4c1810c2d9f5ac', class: "line" })), index.h("div", { key: 'c1a734416f9beb2628b1c8dbfeb73533a46ec12a', class: "content" }, this.time ? index.h("span", { class: "time" }, this.time) : null, this.heading ? (index.h("span", { class: "heading" }, this.heading)) : null, index.h("div", { key: '2a59b109d86bb574188a0b2a07a663da7cbc37e9', class: "body" }, index.h("slot", { key: '0558d11f1c35aa3fcc50d468007e6767d654cb8f' }))))));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
UiTimelineItem.style = uiTimelineItemCss();
|
|
18
|
+
|
|
19
|
+
exports.ui_timeline_item = UiTimelineItem;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
|
+
|
|
5
|
+
const uiTimelineCss = () => `:host{display:block}.timeline{display:flex;flex-direction:column}`;
|
|
6
|
+
|
|
7
|
+
const UiTimeline = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (index.h(index.Host, { key: '1d67e561676e216a05e314ffeb14e88e5cd6be7d' }, index.h("div", { key: '50bf6f54546237a55b4589cfe3ed52b20cb0f6cb', class: "timeline" }, index.h("slot", { key: 'e7c94095dcf74efaa81d1b1d0fb124e4595609ee' }))));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
UiTimeline.style = uiTimelineCss();
|
|
16
|
+
|
|
17
|
+
exports.ui_timeline = UiTimeline;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiToastCss = () => `:host{display:block}.toast{display:flex;align-items:flex-start;gap:0.75rem;padding:0.875rem 1rem;border:1px solid var(--ui-border);border-left:3px solid var(--ui-accent);border-radius:var(--ui-radius);background:var(--ui-panel-strong);backdrop-filter:blur(22px);box-shadow:var(--ui-shadow-lg);font-family:var(--ui-font-sans);animation:ui-toast-pop var(--ui-duration) var(--ui-ease)}.variant-default{border-left-color:var(--ui-accent)}.variant-success{border-left-color:var(--ui-success)}.variant-warning{border-left-color:var(--ui-warning)}.variant-danger{border-left-color:var(--ui-danger)}.body{flex:1;min-width:0;display:flex;flex-direction:column;gap:0.25rem}.heading{margin:0;font-size:0.875rem;font-weight:600;color:var(--ui-foreground)}.description{margin:0;font-size:0.8125rem;color:var(--ui-text-muted)}.close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0.125rem;border:none;background:transparent;color:var(--ui-text-muted);cursor:pointer;border-radius:var(--ui-radius-sm);transition:color var(--ui-duration) var(--ui-ease)}.close:hover{color:var(--ui-foreground)}@keyframes ui-toast-pop{from{opacity:0;transform:translateY(0.5rem) scale(0.98)}to{opacity:1;transform:translateY(0) scale(1)}}`;
|
|
6
6
|
|
|
@@ -54,7 +54,7 @@ const UiToast = class {
|
|
|
54
54
|
this.dismiss();
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (index.h(index.Host, { key: '
|
|
57
|
+
return (index.h(index.Host, { key: '4316653a0f6b70781ceda01098b018f649c7f180' }, this.open && (index.h("div", { key: 'cc3d339f4ebb55ef3fbc8dd05432d6cbc570f4ad', class: { toast: true, [`variant-${this.variant}`]: true }, role: "status" }, index.h("div", { key: '37cf6a0ffec9040b002c33f4b1015832cfd32a6f', class: "body" }, this.heading && index.h("p", { key: 'dcb18a7d85fe5d3ed2758e0d5c4dc2c97280b84c', class: "heading" }, this.heading), this.description && (index.h("p", { key: '6ae4543ad5a17fbfdc16ba15c5ce44012143f58b', class: "description" }, this.description))), index.h("button", { key: '73a22b06477019043a4273a06064305d331d5311', class: "close", type: "button", "aria-label": "Fechar", onClick: () => this.dismiss() }, index.h("svg", { key: '7407a77475baa99882678a9ab0bd8af91474ec4e', width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, index.h("line", { key: 'c7a4868750a0f503080cd5d9e469b7978bf98115', x1: "18", y1: "6", x2: "6", y2: "18" }), index.h("line", { key: '844bc05210fbdf5ab10b6b91d140b59b6a75dff5', x1: "6", y1: "6", x2: "18", y2: "18" })))))));
|
|
58
58
|
}
|
|
59
59
|
static get watchers() { return {
|
|
60
60
|
"open": [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
|
|
5
5
|
const uiToasterCss = () => `: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}`;
|
|
6
6
|
|
|
@@ -21,7 +21,7 @@ const UiToaster = class {
|
|
|
21
21
|
this.items = this.items.filter((item) => item.id !== id);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (index.h(index.Host, { key: '
|
|
24
|
+
return (index.h(index.Host, { key: '9a76beb8a262078bb505588efa4686cf2c273ad6' }, index.h("div", { key: '528168475f527b97afc33a142e73773c37e34ed0', class: "container" }, this.items.map((item) => (index.h("ui-toast", { key: item.id, open: true, heading: item.heading, description: item.description, variant: item.variant ?? "default", duration: item.duration ?? 4000, onUiClose: () => this.remove(item.id) }))))));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
UiToaster.style = uiToasterCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DV8CICae.js');
|
|
4
4
|
var floatingUi_dom = require('./floating-ui.dom-BZk7Blsu.js');
|
|
5
5
|
|
|
6
6
|
const uiTooltipCss = () => `:host{display:inline-block}.trigger{display:inline-flex}.tooltip{position:fixed;top:0;left:0;z-index:50;width:max-content;max-width:18rem;padding:0.4rem 0.7rem;font-family:var(--ui-font-sans);font-size:0.75rem;font-weight:500;line-height:1.4;color:var(--ui-foreground);background:color-mix(in srgb, var(--ui-background) 90%, var(--ui-foreground) 8%);border:1px solid var(--ui-border-strong);box-shadow:var(--ui-shadow-lg);border-radius:var(--ui-radius-sm);pointer-events:none;opacity:0;transform:scale(0.96);transition:opacity var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.tooltip.is-visible{opacity:1;transform:scale(1)}`;
|
|
@@ -55,7 +55,7 @@ const UiTooltip = class {
|
|
|
55
55
|
this.cleanup = undefined;
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (index.h(index.Host, { key: '
|
|
58
|
+
return (index.h(index.Host, { key: '88657ff32b15ba3dfe5579885db65f955862a298', onMouseEnter: this.onEnter, onMouseLeave: this.onLeave, onFocusin: this.onEnter, onFocusout: this.onLeave }, index.h("span", { key: 'f336f26ee150e24117c28e926c59da7bec1c725a', class: "trigger", ref: (el) => (this.triggerEl = el) }, index.h("slot", { key: 'c42b26b5b73b6433b18bb561ce5e3458cd628810' })), index.h("div", { key: 'b7497fe3b4638dca7980bdc201e6d7dfb296539d', class: { tooltip: true, "is-visible": this.visible }, role: "tooltip", ref: (el) => (this.floatingEl = el) }, this.content)));
|
|
59
59
|
}
|
|
60
60
|
get host() { return index.getElement(this); }
|
|
61
61
|
};
|
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-combobox.cjs",[[1,"ui-combobox",{"options":[16],"value":[1025],"placeholder":[1],"query":[32],"open":[32],"activeIndex":[32]}]]],["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-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;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"components/ui-badge/ui-badge.js",
|
|
5
5
|
"components/ui-button/ui-button.js",
|
|
6
6
|
"components/ui-combobox/ui-combobox.js",
|
|
7
|
+
"components/ui-command/ui-command.js",
|
|
7
8
|
"components/ui-container/ui-container.js",
|
|
8
9
|
"components/ui-grid/ui-grid.js",
|
|
9
10
|
"components/ui-spinner/ui-spinner.js",
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
"components/ui-stat/ui-stat.js",
|
|
16
17
|
"components/ui-table/ui-table.js",
|
|
17
18
|
"components/ui-tabs/ui-tabs.js",
|
|
19
|
+
"components/ui-timeline-item/ui-timeline-item.js",
|
|
18
20
|
"components/ui-toast/ui-toast.js",
|
|
19
21
|
"components/ui-toaster/ui-toaster.js",
|
|
20
22
|
"components/ui-accordion/ui-accordion.js",
|
|
@@ -24,6 +26,7 @@
|
|
|
24
26
|
"components/ui-breadcrumb/ui-breadcrumb.js",
|
|
25
27
|
"components/ui-breadcrumb-item/ui-breadcrumb-item.js",
|
|
26
28
|
"components/ui-card/ui-card.js",
|
|
29
|
+
"components/ui-carousel/ui-carousel.js",
|
|
27
30
|
"components/ui-checkbox/ui-checkbox.js",
|
|
28
31
|
"components/ui-date-picker/ui-date-picker.js",
|
|
29
32
|
"components/ui-dialog/ui-dialog.js",
|
|
@@ -49,6 +52,7 @@
|
|
|
49
52
|
"components/ui-switch/ui-switch.js",
|
|
50
53
|
"components/ui-textarea/ui-textarea.js",
|
|
51
54
|
"components/ui-theme-toggle/ui-theme-toggle.js",
|
|
55
|
+
"components/ui-timeline/ui-timeline.js",
|
|
52
56
|
"components/ui-tooltip/ui-tooltip.js"
|
|
53
57
|
],
|
|
54
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
|
+
}
|