@maggioli-design-system/magma 2.12.0 → 2.14.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/AGENTS.md +1 -1
- package/CHANGELOG.md +79 -0
- package/README.md +6 -5
- package/agents/assets.md +7 -6
- package/agents/color.md +7 -4
- package/agents/components.md +3 -2
- package/agents/conventions.md +11 -1
- package/agents/install.md +10 -3
- package/agents/mcp.md +12 -4
- package/agents/patterns/actions.md +7 -6
- package/agents/patterns/empty-state.md +5 -7
- package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
- package/agents/patterns/previews/actions/confirm.light.webp +0 -0
- package/agents/patterns/previews/actions/destructive-in-menu.dark.webp +0 -0
- package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
- package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
- package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/add-the-first.html +5 -7
- package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/all-done.html +5 -7
- package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
- package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/clear-filters.html +4 -6
- package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
- package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/filled-by-others.html +5 -7
- package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
- package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/not-found.html +5 -7
- package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
- package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
- package/agents/patterns/previews/item-list/queue-of-a-desk.html +1 -1
- package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
- package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
- package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
- package/agents/patterns/previews/item-list/requests-to-assign.html +3 -12
- package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -9
- package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/show-new-items.html +1 -1
- package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.html +2 -5
- package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/first-load.light.webp +0 -0
- package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-elsewhere.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
- package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
- package/agents/patterns/previews/surfaces/band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/card.light.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.html +66 -0
- package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
- package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
- package/agents/patterns/previews/titles/dialog.light.webp +0 -0
- package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
- package/agents/patterns/previews/widths/dialog.light.webp +0 -0
- package/agents/patterns/previews/widths/page.dark.webp +0 -0
- package/agents/patterns/surfaces.md +49 -11
- package/agents/patterns/titles.md +15 -14
- package/agents/patterns.md +5 -4
- package/agents/theming.md +5 -0
- package/dist/cjs/{floating-controller-B4YhrWm8.js → floating-controller-B21tqid0.js} +51 -4
- package/dist/cjs/{floating-ui.dom-VQ_HnnRe.js → floating-ui.dom-1Z4VE-PH.js} +1 -0
- package/dist/cjs/{index-BQNHYWJg.js → index-B99V_UhC.js} +87 -44
- package/dist/cjs/{index-Csgx951d.js → index-CFEj7WVH.js} +12 -1
- package/dist/cjs/index.cjs.js +45 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-DgMC52AD.js → locale-6jikg4jE.js} +1 -1
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +10 -7
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +10 -7
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +4 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +5 -4
- package/dist/cjs/mds-author.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -3
- package/dist/cjs/mds-avatar.cjs.entry.js +5 -4
- package/dist/cjs/mds-badge.cjs.entry.js +5 -4
- package/dist/cjs/mds-banner_3.cjs.entry.js +56 -27
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +4 -3
- package/dist/cjs/mds-bibliography.cjs.entry.js +4 -3
- package/dist/cjs/mds-book.cjs.entry.js +8 -7
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +6 -5
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +7 -6
- package/dist/cjs/mds-button-group.cjs.entry.js +5 -4
- package/dist/cjs/mds-button_3.cjs.entry.js +15 -12
- package/dist/cjs/mds-calendar_2.cjs.entry.js +190 -305
- package/dist/cjs/mds-card-content.cjs.entry.js +4 -3
- package/dist/cjs/mds-card-footer.cjs.entry.js +5 -4
- package/dist/cjs/mds-card-header.cjs.entry.js +4 -3
- package/dist/cjs/mds-card-media.cjs.entry.js +4 -3
- package/dist/cjs/mds-card.cjs.entry.js +6 -5
- package/dist/cjs/mds-details.cjs.entry.js +5 -4
- package/dist/cjs/mds-dropdown.cjs.entry.js +46 -17
- package/dist/cjs/mds-emoji.cjs.entry.js +5 -4
- package/dist/cjs/mds-entity.cjs.entry.js +5 -4
- package/dist/cjs/mds-file-preview.cjs.entry.js +7 -6
- package/dist/cjs/mds-file.cjs.entry.js +6 -5
- package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-filter.cjs.entry.js +6 -5
- package/dist/cjs/mds-header-bar.cjs.entry.js +6 -5
- package/dist/cjs/mds-header.cjs.entry.js +5 -4
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +6 -5
- package/dist/cjs/mds-hr.cjs.entry.js +5 -4
- package/dist/cjs/mds-img.cjs.entry.js +5 -4
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-date-range.cjs.entry.js +126 -31
- package/dist/cjs/mds-input-date.cjs.entry.js +26 -12
- package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-otp.cjs.entry.js +6 -5
- package/dist/cjs/mds-input-range-value.cjs.entry.js +18 -0
- package/dist/cjs/mds-input-range.cjs.entry.js +432 -30
- package/dist/cjs/mds-input-select.cjs.entry.js +9 -8
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +9 -7
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +17 -12
- package/dist/cjs/mds-input-upload.cjs.entry.js +10 -9
- package/dist/cjs/mds-input.cjs.entry.js +292 -35
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +6 -5
- package/dist/cjs/mds-keyboard.cjs.entry.js +6 -5
- package/dist/cjs/mds-kpi-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +4 -3
- package/dist/cjs/mds-label.cjs.entry.js +6 -5
- package/dist/cjs/mds-link.cjs.entry.js +9 -8
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-list.cjs.entry.js +4 -3
- package/dist/cjs/mds-mention.cjs.entry.js +6 -5
- package/dist/cjs/mds-modal.cjs.entry.js +7 -6
- package/dist/cjs/mds-note.cjs.entry.js +6 -5
- package/dist/cjs/mds-notification.cjs.entry.js +6 -5
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +6 -5
- package/dist/cjs/mds-policy-ai.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-language.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +6 -5
- package/dist/cjs/mds-pref.cjs.entry.js +12 -6
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-features.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +5 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +4 -3
- package/dist/cjs/mds-progress_2.cjs.entry.js +13 -8
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +6 -5
- package/dist/cjs/mds-quote.cjs.entry.js +5 -4
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +4 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +8 -7
- package/dist/cjs/mds-separator.cjs.entry.js +5 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -6
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +6 -6
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +5 -4
- package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
- package/dist/cjs/mds-tab_2.cjs.entry.js +41 -17
- package/dist/cjs/mds-table-body.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-footer.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +5 -4
- package/dist/cjs/mds-table-header.cjs.entry.js +14 -14
- package/dist/cjs/mds-table-row.cjs.entry.js +7 -6
- package/dist/cjs/mds-table.cjs.entry.js +42 -14
- package/dist/cjs/mds-text.cjs.entry.js +5 -4
- package/dist/cjs/mds-toast-region.cjs.entry.js +4 -3
- package/dist/cjs/mds-toast.cjs.entry.js +6 -5
- package/dist/cjs/mds-tooltip.cjs.entry.js +33 -14
- package/dist/cjs/mds-tree-item.cjs.entry.js +6 -5
- package/dist/cjs/mds-tree.cjs.entry.js +4 -3
- package/dist/cjs/mds-url-view.cjs.entry.js +6 -18
- package/dist/cjs/mds-usage.cjs.entry.js +6 -5
- package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
- package/dist/cjs/mds-zero.cjs.entry.js +15 -5
- package/dist/cjs/{navigation-5yeOyO6F.js → navigation-Dxea9mKE.js} +7 -0
- package/dist/cjs/{preference-DhNxLZ4R.js → preference-DTUJPGHS.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/common/floating-controller.js +50 -3
- package/dist/collection/common/navigation.js +7 -0
- package/dist/collection/common/validity/index.js +3 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +2 -2
- package/dist/collection/components/mds-accordion/documentation.json +5 -4
- package/dist/collection/components/mds-accordion/examples.md +3 -3
- package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +5 -3
- package/dist/collection/components/mds-accordion-item/documentation.json +60 -5
- package/dist/collection/components/mds-accordion-item/examples.md +5 -3
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -0
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +32 -4
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +3 -2
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +6 -4
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +64 -9
- package/dist/collection/components/mds-accordion-timer-item/examples.md +5 -3
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +9 -0
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +32 -4
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +3 -2
- package/dist/collection/components/mds-author/mds-author.js +1 -1
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +3 -2
- package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +3 -2
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +3 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +3 -2
- package/dist/collection/components/mds-badge/mds-badge.js +1 -1
- package/dist/collection/components/mds-banner/AGENTS.md +4 -1
- package/dist/collection/components/mds-banner/documentation.json +44 -5
- package/dist/collection/components/mds-banner/examples.md +15 -9
- package/dist/collection/components/mds-banner/mds-banner.js +63 -19
- package/dist/collection/components/mds-banner/meta/dictionary.js +7 -0
- package/dist/collection/components/mds-banner/meta/types.js +1 -0
- package/dist/collection/components/mds-banner/mistakes.md +20 -0
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +3 -2
- package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +3 -2
- package/dist/collection/components/mds-bibliography/mds-bibliography.js +1 -1
- package/dist/collection/components/mds-book/AGENTS.md +1 -1
- package/dist/collection/components/mds-book/documentation.json +3 -2
- package/dist/collection/components/mds-book/mds-book.js +3 -3
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +3 -2
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +1 -1
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +3 -2
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
- package/dist/collection/components/mds-button/AGENTS.md +1 -1
- package/dist/collection/components/mds-button/documentation.json +3 -2
- package/dist/collection/components/mds-button/mds-button.js +4 -4
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +3 -1
- package/dist/collection/components/mds-button-dropdown/documentation.json +5 -4
- package/dist/collection/components/mds-button-dropdown/examples.md +16 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +12 -0
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
- package/dist/collection/components/mds-button-group/AGENTS.md +3 -2
- package/dist/collection/components/mds-button-group/documentation.json +5 -4
- package/dist/collection/components/mds-button-group/examples.md +16 -0
- package/dist/collection/components/mds-button-group/mds-button-group.css +13 -0
- package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
- package/dist/collection/components/mds-calendar/AGENTS.md +8 -4
- package/dist/collection/components/mds-calendar/documentation.json +44 -5
- package/dist/collection/components/mds-calendar/examples.md +17 -1
- package/dist/collection/components/mds-calendar/mds-calendar.css +4 -0
- package/dist/collection/components/mds-calendar/mds-calendar.js +206 -300
- package/dist/collection/components/mds-calendar/meta/types.js +1 -0
- package/dist/collection/components/mds-calendar/mistakes.md +1 -1
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +4 -4
- package/dist/collection/components/mds-calendar-cell/documentation.json +37 -24
- package/dist/collection/components/mds-calendar-cell/examples.md +3 -3
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +121 -84
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
- package/dist/collection/components/mds-card/AGENTS.md +4 -2
- package/dist/collection/components/mds-card/documentation.json +12 -5
- package/dist/collection/components/mds-card/examples.md +6 -1
- package/dist/collection/components/mds-card/mds-card.css +8 -0
- package/dist/collection/components/mds-card/mds-card.js +1 -1
- package/dist/collection/components/mds-card/mistakes.md +1 -1
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +3 -2
- package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
- package/dist/collection/components/mds-card-footer/AGENTS.md +2 -2
- package/dist/collection/components/mds-card-footer/documentation.json +5 -4
- package/dist/collection/components/mds-card-footer/examples.md +1 -1
- package/dist/collection/components/mds-card-footer/mds-card-footer.css +9 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +3 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +3 -2
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-chip/AGENTS.md +5 -2
- package/dist/collection/components/mds-chip/documentation.json +37 -5
- package/dist/collection/components/mds-chip/examples.md +10 -0
- package/dist/collection/components/mds-chip/mds-chip.css +18 -0
- package/dist/collection/components/mds-chip/mds-chip.js +25 -1
- package/dist/collection/components/mds-chip/mistakes.md +25 -1
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +3 -2
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +4 -3
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +40 -12
- package/dist/collection/components/mds-dropdown/mistakes.md +1 -1
- package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +3 -2
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +3 -2
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +3 -2
- package/dist/collection/components/mds-file/mds-file.js +1 -1
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +3 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +3 -2
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-filter-item/documentation.json +5 -4
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-filter-item/mistakes.md +16 -0
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +3 -2
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +3 -2
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +3 -2
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +3 -2
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +3 -2
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +5 -4
- package/dist/collection/components/mds-icon/examples.md +3 -3
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-icon/services/icons-set.service.js +43 -1
- package/dist/collection/components/mds-img/AGENTS.md +1 -1
- package/dist/collection/components/mds-img/documentation.json +3 -2
- package/dist/collection/components/mds-input/AGENTS.md +22 -18
- package/dist/collection/components/mds-input/documentation.json +32 -19
- package/dist/collection/components/mds-input/examples.md +20 -3
- package/dist/collection/components/mds-input/mds-input.css +115 -8
- package/dist/collection/components/mds-input/mds-input.js +236 -37
- package/dist/collection/components/mds-input/meta/color.js +19 -0
- package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +5 -1
- package/dist/collection/components/mds-input/meta/validators.js +10 -0
- package/dist/collection/components/mds-input/meta/validity.js +5 -2
- package/dist/collection/components/mds-input/mistakes.md +15 -1
- package/dist/collection/components/mds-input-date/AGENTS.md +7 -7
- package/dist/collection/components/mds-input-date/documentation.json +7 -24
- package/dist/collection/components/mds-input-date/examples.md +1 -1
- package/dist/collection/components/mds-input-date/mds-input-date.css +17 -15
- package/dist/collection/components/mds-input-date/mds-input-date.js +21 -8
- package/dist/collection/components/mds-input-date-range/AGENTS.md +10 -7
- package/dist/collection/components/mds-input-date-range/documentation.json +16 -8
- package/dist/collection/components/mds-input-date-range/examples.md +12 -1
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +15 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +90 -27
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +3 -2
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-field/documentation.json +3 -2
- package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +3 -2
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +29 -8
- package/dist/collection/components/mds-input-range/documentation.json +31 -9
- package/dist/collection/components/mds-input-range/examples.md +41 -0
- package/dist/collection/components/mds-input-range/mds-input-range.css +177 -6
- package/dist/collection/components/mds-input-range/mds-input-range.js +471 -30
- package/dist/collection/components/mds-input-range/meta/event-detail.js +1 -0
- package/dist/collection/components/mds-input-range/mistakes.md +37 -0
- package/dist/collection/components/mds-input-range-value/AGENTS.md +43 -0
- package/dist/collection/components/mds-input-range-value/documentation.json +77 -0
- package/dist/collection/components/mds-input-range-value/examples.md +66 -0
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.css +6 -0
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +50 -0
- package/dist/collection/components/mds-input-range-value/mistakes.md +56 -0
- package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
- package/dist/collection/components/mds-input-select/documentation.json +4 -3
- package/dist/collection/components/mds-input-select/mds-input-select.css +9 -19
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-switch/documentation.json +3 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +7 -6
- package/dist/collection/components/mds-input-tip/documentation.json +17 -10
- package/dist/collection/components/mds-input-tip/examples.md +2 -2
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +15 -17
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +9 -6
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +3 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +1 -1
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +3 -2
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
- package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard/documentation.json +3 -2
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
- package/dist/collection/components/mds-keyboard-key/documentation.json +3 -2
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi/documentation.json +3 -2
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-kpi-item/documentation.json +3 -2
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-label/AGENTS.md +1 -1
- package/dist/collection/components/mds-label/documentation.json +3 -2
- package/dist/collection/components/mds-label/mds-label.js +1 -1
- package/dist/collection/components/mds-link/AGENTS.md +1 -1
- package/dist/collection/components/mds-link/documentation.json +3 -2
- package/dist/collection/components/mds-link/mds-link.js +3 -3
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +3 -2
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-list-item/documentation.json +3 -2
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-mention/AGENTS.md +1 -1
- package/dist/collection/components/mds-mention/documentation.json +3 -2
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +2 -1
- package/dist/collection/components/mds-modal/documentation.json +5 -4
- package/dist/collection/components/mds-modal/examples.md +2 -0
- package/dist/collection/components/mds-modal/mds-modal.js +2 -2
- package/dist/collection/components/mds-note/AGENTS.md +1 -1
- package/dist/collection/components/mds-note/documentation.json +3 -2
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-notification/documentation.json +3 -2
- package/dist/collection/components/mds-notification/mds-notification.js +1 -1
- package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator/documentation.json +3 -2
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-paginator-item/documentation.json +3 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
- package/dist/collection/components/mds-policy-ai/documentation.json +3 -2
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +4 -1
- package/dist/collection/components/mds-pref/documentation.json +31 -4
- package/dist/collection/components/mds-pref/examples.md +14 -0
- package/dist/collection/components/mds-pref/mds-pref.js +26 -2
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +3 -2
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-consumption/documentation.json +3 -2
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-contrast/documentation.json +3 -2
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +2 -2
- package/dist/collection/components/mds-pref-language/documentation.json +4 -3
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language-item/documentation.json +3 -2
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-mode/documentation.json +3 -2
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
- package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme/documentation.json +3 -2
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-theme-item/documentation.json +3 -2
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
- package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table/documentation.json +3 -2
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-features-row/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-header/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-price-table-list-item/documentation.json +3 -2
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-progress/documentation.json +3 -2
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification/documentation.json +3 -2
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-push-notification-item/documentation.json +3 -2
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-quote/AGENTS.md +1 -1
- package/dist/collection/components/mds-quote/documentation.json +3 -2
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu/documentation.json +3 -2
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-menu-item/documentation.json +3 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
- package/dist/collection/components/mds-radial-progress/documentation.json +3 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +4 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -2
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +3 -2
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
- package/dist/collection/components/mds-spinner/documentation.json +3 -2
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-status-bar/documentation.json +3 -2
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-stepper-bar/documentation.json +3 -2
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +3 -4
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +5 -4
- package/dist/collection/components/mds-stepper-bar-item/examples.md +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +7 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-tab/AGENTS.md +3 -3
- package/dist/collection/components/mds-tab/documentation.json +8 -3
- package/dist/collection/components/mds-tab/mds-tab.js +34 -12
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +3 -2
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar-item/documentation.json +3 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
- package/dist/collection/components/mds-tab-item/documentation.json +7 -2
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +4 -4
- package/dist/collection/components/mds-table/documentation.json +10 -9
- package/dist/collection/components/mds-table/examples.md +21 -0
- package/dist/collection/components/mds-table/mds-table.js +42 -15
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +3 -2
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-cell/documentation.json +3 -2
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-footer/documentation.json +3 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +3 -3
- package/dist/collection/components/mds-table-header/documentation.json +5 -8
- package/dist/collection/components/mds-table-header/mds-table-header.js +9 -14
- package/dist/collection/components/mds-table-header/mistakes.md +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +3 -2
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-row/AGENTS.md +2 -2
- package/dist/collection/components/mds-table-row/documentation.json +4 -3
- package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
- package/dist/collection/components/mds-text/AGENTS.md +1 -1
- package/dist/collection/components/mds-text/documentation.json +3 -2
- package/dist/collection/components/mds-text/mds-text.js +1 -1
- package/dist/collection/components/mds-toast/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast/documentation.json +3 -2
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
- package/dist/collection/components/mds-toast-region/documentation.json +3 -2
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
- package/dist/collection/components/mds-tooltip/documentation.json +3 -2
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +27 -9
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +3 -2
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree-item/documentation.json +3 -2
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
- package/dist/collection/components/mds-url-view/documentation.json +3 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -14
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +3 -2
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
- package/dist/collection/components/mds-video-wall/documentation.json +3 -2
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +7 -6
- package/dist/collection/components/mds-zero/documentation.json +6 -5
- package/dist/collection/components/mds-zero/examples.md +37 -19
- package/dist/collection/components/mds-zero/mds-zero.css +22 -24
- package/dist/collection/components/mds-zero/mds-zero.js +17 -1
- package/dist/collection/components/mds-zero/mistakes.md +46 -8
- package/dist/collection/fixtures/dark-mode.js +16 -0
- package/dist/collection/index.js +2 -20
- package/dist/collection/type/file-types.js +1 -1
- package/dist/collection/type/input.js +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-book.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +3 -3
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +1 -1
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range-value.d.ts +11 -0
- package/dist/components/mds-input-range-value.js +1 -0
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-link.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast-region.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/{p-Bbrei_yQ.js → p-AWCYh8Xe.js} +1 -1
- package/dist/components/{p-ClvoVgmw.js → p-B-GgEAg7.js} +1 -1
- package/dist/components/p-B3npFzUR.js +1 -0
- package/dist/components/p-BD9VWE7b.js +1 -0
- package/dist/components/{p-BBZyH3mn.js → p-BFZN4zJ9.js} +1 -1
- package/dist/components/p-BG1fjwnd.js +1 -0
- package/dist/components/{p-BI1ShBQG.js → p-BNl6YWNN.js} +1 -1
- package/dist/components/{p-BE05D6Pe.js → p-Bg11_7lt.js} +1 -1
- package/dist/components/{p-3rr6yzu-.js → p-BiJ4xa4V.js} +1 -1
- package/dist/components/{p-CvbuCEYD.js → p-BmlDGlcB.js} +2 -2
- package/dist/components/p-C0m6B_kt.js +1 -0
- package/dist/components/{p-j5Hnbfv9.js → p-C589Hkfn.js} +1 -1
- package/dist/components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
- package/dist/components/{p-Vgo7t88R.js → p-C878c9Nu.js} +1 -1
- package/dist/components/{p-CWOW2Vna.js → p-CDcB9Zdz.js} +1 -1
- package/dist/components/{p-CZwKeFQT.js → p-CS8s4gRV.js} +1 -1
- package/dist/components/p-CSw6DbKp.js +1 -0
- package/dist/components/p-CUT9aFzz.js +1 -0
- package/dist/components/p-CfCw1XZP.js +1 -0
- package/dist/components/{p-BpND63Kl.js → p-Cjy1i94z.js} +1 -1
- package/dist/components/{p-Do7IoDLD.js → p-Cs80Zm2b.js} +2 -2
- package/dist/components/{p-NNPsVjnj.js → p-Cs8RIbsQ.js} +1 -1
- package/dist/components/p-CtEHhdv4.js +1 -0
- package/dist/components/{p-F0qhFsF0.js → p-Cty6fegI.js} +1 -1
- package/dist/components/{p-C6LU1s8K.js → p-D7C-gjL6.js} +1 -1
- package/dist/components/{p-DrtIqOQn.js → p-DKYN6Ikh.js} +1 -1
- package/dist/components/p-DvccsLwr.js +1 -0
- package/dist/components/{p-CrOv4KdL.js → p-DxNrlomi.js} +1 -1
- package/dist/components/p-G8GFHw3L.js +1 -0
- package/dist/components/p-MjWyZlga.js +1 -0
- package/dist/components/p-VoGfNJRY.js +1 -0
- package/dist/components/{p-BuhoBOYR.js → p-WFNxKo1V.js} +1 -1
- package/dist/components/{p-DN1yF-xO.js → p-aZlZ1XB9.js} +1 -1
- package/dist/components/p-g2_CekDc.js +3 -0
- package/dist/components/p-kS9VRIWa.js +1 -0
- package/dist/components/{p-BBrPpCNK.js → p-oHBGZ2Av.js} +1 -1
- package/dist/documentation.json +530 -157
- package/dist/esm/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +51 -4
- package/dist/esm/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +1 -1
- package/dist/esm/{index-CvLLN-QH.js → index-CPibDZjX.js} +87 -44
- package/dist/esm/{index-DEL0bLpb.js → index-DWniH_Ge.js} +12 -1
- package/dist/esm/index.js +45 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +10 -7
- package/dist/esm/mds-accordion-timer-item.entry.js +10 -7
- package/dist/esm/mds-accordion-timer.entry.js +4 -3
- package/dist/esm/mds-accordion.entry.js +5 -4
- package/dist/esm/mds-author.entry.js +4 -3
- package/dist/esm/mds-avatar-stack-item.entry.js +4 -3
- package/dist/esm/mds-avatar-stack.entry.js +4 -3
- package/dist/esm/mds-avatar.entry.js +5 -4
- package/dist/esm/mds-badge.entry.js +5 -4
- package/dist/esm/mds-banner_3.entry.js +56 -27
- package/dist/esm/mds-benchmark-bar.entry.js +4 -3
- package/dist/esm/mds-bibliography.entry.js +4 -3
- package/dist/esm/mds-book.entry.js +8 -7
- package/dist/esm/mds-breadcrumb-item.entry.js +4 -3
- package/dist/esm/mds-breadcrumb.entry.js +6 -5
- package/dist/esm/mds-button-dropdown.entry.js +7 -6
- package/dist/esm/mds-button-group.entry.js +5 -4
- package/dist/esm/mds-button_3.entry.js +15 -12
- package/dist/esm/mds-calendar_2.entry.js +190 -305
- package/dist/esm/mds-card-content.entry.js +4 -3
- package/dist/esm/mds-card-footer.entry.js +5 -4
- package/dist/esm/mds-card-header.entry.js +4 -3
- package/dist/esm/mds-card-media.entry.js +4 -3
- package/dist/esm/mds-card.entry.js +6 -5
- package/dist/esm/mds-details.entry.js +5 -4
- package/dist/esm/mds-dropdown.entry.js +46 -17
- package/dist/esm/mds-emoji.entry.js +5 -4
- package/dist/esm/mds-entity.entry.js +5 -4
- package/dist/esm/mds-file-preview.entry.js +7 -6
- package/dist/esm/mds-file.entry.js +6 -5
- package/dist/esm/mds-filter-item.entry.js +6 -5
- package/dist/esm/mds-filter.entry.js +6 -5
- package/dist/esm/mds-header-bar.entry.js +6 -5
- package/dist/esm/mds-header.entry.js +5 -4
- package/dist/esm/mds-horizontal-scroll.entry.js +6 -5
- package/dist/esm/mds-hr.entry.js +5 -4
- package/dist/esm/mds-img.entry.js +5 -4
- package/dist/esm/mds-input-date-range-preselection.entry.js +4 -3
- package/dist/esm/mds-input-date-range.entry.js +126 -31
- package/dist/esm/mds-input-date.entry.js +26 -12
- package/dist/esm/mds-input-field.entry.js +4 -3
- package/dist/esm/mds-input-otp.entry.js +6 -5
- package/dist/esm/mds-input-range-value.entry.js +16 -0
- package/dist/esm/mds-input-range.entry.js +432 -30
- package/dist/esm/mds-input-select.entry.js +9 -8
- package/dist/esm/mds-input-switch_2.entry.js +9 -7
- package/dist/esm/mds-input-tip_2.entry.js +17 -12
- package/dist/esm/mds-input-upload.entry.js +10 -9
- package/dist/esm/mds-input.entry.js +292 -35
- package/dist/esm/mds-keyboard-key.entry.js +6 -5
- package/dist/esm/mds-keyboard.entry.js +6 -5
- package/dist/esm/mds-kpi-item.entry.js +5 -4
- package/dist/esm/mds-kpi.entry.js +4 -3
- package/dist/esm/mds-label.entry.js +6 -5
- package/dist/esm/mds-link.entry.js +9 -8
- package/dist/esm/mds-list-item.entry.js +4 -3
- package/dist/esm/mds-list.entry.js +4 -3
- package/dist/esm/mds-mention.entry.js +6 -5
- package/dist/esm/mds-modal.entry.js +7 -6
- package/dist/esm/mds-note.entry.js +6 -5
- package/dist/esm/mds-notification.entry.js +6 -5
- package/dist/esm/mds-paginator-item.entry.js +5 -4
- package/dist/esm/mds-paginator.entry.js +6 -5
- package/dist/esm/mds-policy-ai.entry.js +6 -5
- package/dist/esm/mds-pref-animation.entry.js +6 -5
- package/dist/esm/mds-pref-consumption.entry.js +6 -5
- package/dist/esm/mds-pref-contrast.entry.js +6 -5
- package/dist/esm/mds-pref-language-item.entry.js +6 -5
- package/dist/esm/mds-pref-language.entry.js +6 -5
- package/dist/esm/mds-pref-mode.entry.js +6 -5
- package/dist/esm/mds-pref-theme-item.entry.js +4 -3
- package/dist/esm/mds-pref-theme.entry.js +6 -5
- package/dist/esm/mds-pref.entry.js +12 -6
- package/dist/esm/mds-price-table-features-cell.entry.js +5 -4
- package/dist/esm/mds-price-table-features-row.entry.js +5 -4
- package/dist/esm/mds-price-table-features.entry.js +5 -4
- package/dist/esm/mds-price-table-header.entry.js +4 -3
- package/dist/esm/mds-price-table-list-item.entry.js +4 -3
- package/dist/esm/mds-price-table-list.entry.js +5 -4
- package/dist/esm/mds-price-table.entry.js +4 -3
- package/dist/esm/mds-progress_2.entry.js +13 -8
- package/dist/esm/mds-push-notification-item.entry.js +7 -6
- package/dist/esm/mds-push-notification.entry.js +6 -5
- package/dist/esm/mds-quote.entry.js +5 -4
- package/dist/esm/mds-radial-menu-item.entry.js +4 -3
- package/dist/esm/mds-radial-menu.entry.js +8 -7
- package/dist/esm/mds-separator.entry.js +5 -4
- package/dist/esm/mds-status-bar.entry.js +5 -4
- package/dist/esm/mds-stepper-bar-item.entry.js +7 -6
- package/dist/esm/mds-stepper-bar.entry.js +6 -6
- package/dist/esm/mds-tab-bar-item.entry.js +5 -4
- package/dist/esm/mds-tab-bar.entry.js +5 -4
- package/dist/esm/mds-tab_2.entry.js +41 -17
- package/dist/esm/mds-table-body.entry.js +5 -4
- package/dist/esm/mds-table-footer.entry.js +5 -4
- package/dist/esm/mds-table-header-cell.entry.js +5 -4
- package/dist/esm/mds-table-header.entry.js +14 -14
- package/dist/esm/mds-table-row.entry.js +7 -6
- package/dist/esm/mds-table.entry.js +42 -14
- package/dist/esm/mds-text.entry.js +5 -4
- package/dist/esm/mds-toast-region.entry.js +4 -3
- package/dist/esm/mds-toast.entry.js +6 -5
- package/dist/esm/mds-tooltip.entry.js +33 -14
- package/dist/esm/mds-tree-item.entry.js +6 -5
- package/dist/esm/mds-tree.entry.js +4 -3
- package/dist/esm/mds-url-view.entry.js +6 -18
- package/dist/esm/mds-usage.entry.js +6 -5
- package/dist/esm/mds-video-wall.entry.js +5 -4
- package/dist/esm/mds-zero.entry.js +15 -5
- package/dist/esm/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +7 -0
- package/dist/esm/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
- package/dist/esm-es5/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +32 -12
- package/dist/esm-es5/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +18 -18
- package/dist/esm-es5/{index-CvLLN-QH.js → index-CPibDZjX.js} +30 -27
- package/dist/esm-es5/index-DWniH_Ge.js +13 -0
- package/dist/esm-es5/index.js +47 -5
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +6 -4
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +6 -4
- package/dist/esm-es5/mds-accordion-timer.entry.js +4 -4
- package/dist/esm-es5/mds-accordion.entry.js +4 -4
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm-es5/mds-avatar-stack.entry.js +2 -2
- package/dist/esm-es5/mds-avatar.entry.js +7 -7
- package/dist/esm-es5/mds-badge.entry.js +2 -2
- package/dist/esm-es5/mds-banner_3.entry.js +25 -6
- package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
- package/dist/esm-es5/mds-bibliography.entry.js +6 -6
- package/dist/esm-es5/mds-book.entry.js +22 -22
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +2 -2
- package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
- package/dist/esm-es5/mds-button-dropdown.entry.js +5 -5
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +20 -20
- package/dist/esm-es5/mds-calendar_2.entry.js +56 -14
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +3 -3
- package/dist/esm-es5/mds-details.entry.js +3 -3
- package/dist/esm-es5/mds-dropdown.entry.js +31 -16
- package/dist/esm-es5/mds-emoji.entry.js +44 -44
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +5 -5
- package/dist/esm-es5/mds-file.entry.js +7 -7
- package/dist/esm-es5/mds-filter-item.entry.js +4 -4
- package/dist/esm-es5/mds-filter.entry.js +7 -7
- package/dist/esm-es5/mds-header-bar.entry.js +3 -3
- package/dist/esm-es5/mds-header.entry.js +8 -8
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +4 -4
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
- package/dist/esm-es5/mds-input-date-range.entry.js +48 -15
- package/dist/esm-es5/mds-input-date.entry.js +19 -10
- package/dist/esm-es5/mds-input-field.entry.js +4 -4
- package/dist/esm-es5/mds-input-otp.entry.js +6 -6
- package/dist/esm-es5/mds-input-range-value.entry.js +1 -0
- package/dist/esm-es5/mds-input-range.entry.js +100 -12
- package/dist/esm-es5/mds-input-select.entry.js +4 -4
- package/dist/esm-es5/mds-input-switch_2.entry.js +5 -5
- package/dist/esm-es5/mds-input-tip_2.entry.js +9 -6
- package/dist/esm-es5/mds-input-upload.entry.js +8 -8
- package/dist/esm-es5/mds-input.entry.js +157 -52
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +7 -7
- package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +2 -2
- package/dist/esm-es5/mds-link.entry.js +7 -7
- package/dist/esm-es5/mds-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +2 -2
- package/dist/esm-es5/mds-modal.entry.js +14 -14
- package/dist/esm-es5/mds-note.entry.js +3 -3
- package/dist/esm-es5/mds-notification.entry.js +8 -8
- package/dist/esm-es5/mds-paginator-item.entry.js +3 -3
- package/dist/esm-es5/mds-paginator.entry.js +3 -3
- package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
- package/dist/esm-es5/mds-pref-animation.entry.js +4 -4
- package/dist/esm-es5/mds-pref-consumption.entry.js +4 -4
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
- package/dist/esm-es5/mds-pref-language-item.entry.js +3 -3
- package/dist/esm-es5/mds-pref-language.entry.js +9 -9
- package/dist/esm-es5/mds-pref-mode.entry.js +7 -7
- package/dist/esm-es5/mds-pref-theme-item.entry.js +5 -5
- package/dist/esm-es5/mds-pref-theme.entry.js +14 -14
- package/dist/esm-es5/mds-pref.entry.js +7 -4
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +9 -5
- package/dist/esm-es5/mds-push-notification-item.entry.js +3 -3
- package/dist/esm-es5/mds-push-notification.entry.js +7 -7
- package/dist/esm-es5/mds-quote.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +3 -3
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +5 -5
- package/dist/esm-es5/mds-stepper-bar.entry.js +8 -5
- package/dist/esm-es5/mds-tab-bar-item.entry.js +4 -4
- package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
- package/dist/esm-es5/mds-tab_2.entry.js +31 -11
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +2 -2
- package/dist/esm-es5/mds-table-header-cell.entry.js +7 -7
- package/dist/esm-es5/mds-table-header.entry.js +9 -8
- package/dist/esm-es5/mds-table-row.entry.js +4 -4
- package/dist/esm-es5/mds-table.entry.js +24 -11
- package/dist/esm-es5/mds-text.entry.js +7 -7
- package/dist/esm-es5/mds-toast-region.entry.js +5 -5
- package/dist/esm-es5/mds-toast.entry.js +7 -7
- package/dist/esm-es5/mds-tooltip.entry.js +12 -3
- package/dist/esm-es5/mds-tree-item.entry.js +7 -7
- package/dist/esm-es5/mds-tree.entry.js +5 -5
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +3 -3
- package/dist/esm-es5/mds-video-wall.entry.js +2 -2
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +8 -1
- package/dist/esm-es5/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
- package/dist/hydrate/index.js +2128 -1009
- package/dist/hydrate/index.mjs +2128 -1009
- package/dist/lint/mcp/tools.json +21 -3
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/{p-c4c1ef48.system.entry.js → p-009e4359.system.entry.js} +118 -118
- package/dist/magma-components/{p-f0909679.system.entry.js → p-01d6d5a5.system.entry.js} +24 -11
- package/dist/magma-components/p-03285704.entry.js +1 -0
- package/dist/magma-components/p-03441f69.entry.js +1 -0
- package/dist/magma-components/p-03896fbd.entry.js +1 -0
- package/dist/magma-components/p-038fc1db.entry.js +1 -0
- package/dist/magma-components/{p-e3b9ea0b.system.entry.js → p-03a2f4e7.system.entry.js} +2 -2
- package/dist/magma-components/{p-caca78ff.system.entry.js → p-06ba1f71.system.entry.js} +4 -4
- package/dist/magma-components/p-0760e8a4.entry.js +1 -0
- package/dist/magma-components/p-082b787b.entry.js +1 -0
- package/dist/magma-components/p-09537867.entry.js +1 -0
- package/dist/magma-components/p-09675899.entry.js +1 -0
- package/dist/magma-components/p-0a914567.entry.js +1 -0
- package/dist/magma-components/p-0c8dd132.entry.js +1 -0
- package/dist/magma-components/p-0d7370d8.system.entry.js +1 -0
- package/dist/magma-components/{p-7a73fd19.system.entry.js → p-0e7bb90b.system.entry.js} +20 -20
- package/dist/magma-components/{p-dd348171.system.entry.js → p-10a68a4d.system.entry.js} +2 -2
- package/dist/magma-components/p-11312b0c.entry.js +1 -0
- package/dist/magma-components/{p-840c19ee.system.entry.js → p-11543f44.system.entry.js} +4 -4
- package/dist/magma-components/{p-3a836de8.system.entry.js → p-11ee7089.system.entry.js} +5 -5
- package/dist/magma-components/p-13e94501.entry.js +1 -0
- package/dist/magma-components/{p-c9baa3fb.system.entry.js → p-14f60718.system.entry.js} +1 -1
- package/dist/magma-components/p-16651356.entry.js +1 -0
- package/dist/magma-components/p-1686b36a.entry.js +1 -0
- package/dist/magma-components/{p-2e825656.system.entry.js → p-16a7e26a.system.entry.js} +4 -4
- package/dist/magma-components/p-1784d5fb.entry.js +1 -0
- package/dist/magma-components/p-18421a84.entry.js +1 -0
- package/dist/magma-components/p-1934151b.entry.js +1 -0
- package/dist/magma-components/p-193b58d0.entry.js +1 -0
- package/dist/magma-components/{p-720e9291.system.entry.js → p-19f3b524.system.entry.js} +6 -6
- package/dist/magma-components/{p-c54f2089.system.entry.js → p-1d101083.system.entry.js} +1 -1
- package/dist/magma-components/p-1db5ab39.entry.js +1 -0
- package/dist/magma-components/p-1e43613e.entry.js +1 -0
- package/dist/magma-components/{p-24fb2c5c.system.entry.js → p-1e5d4854.system.entry.js} +7 -7
- package/dist/magma-components/p-1f756317.entry.js +1 -0
- package/dist/magma-components/p-2100343f.entry.js +1 -0
- package/dist/magma-components/p-211b2675.system.entry.js +1 -0
- package/dist/magma-components/{p-ca5427d4.system.entry.js → p-2289423c.system.entry.js} +1 -1
- package/dist/magma-components/p-26aad538.entry.js +1 -0
- package/dist/magma-components/p-270e9afa.entry.js +1 -0
- package/dist/magma-components/{p-9f0100f2.system.entry.js → p-275d7968.system.entry.js} +14 -14
- package/dist/magma-components/{p-5f20592f.system.entry.js → p-28ecae1e.system.entry.js} +2 -2
- package/dist/magma-components/{p-c94e7973.system.entry.js → p-2a5223df.system.entry.js} +7 -7
- package/dist/magma-components/p-2aa3e73a.system.entry.js +13 -0
- package/dist/magma-components/p-2c64ec7e.entry.js +1 -0
- package/dist/magma-components/{p-bcc6c358.system.entry.js → p-2dc9499c.system.entry.js} +3 -3
- package/dist/magma-components/{p-00d2ef14.system.entry.js → p-2dd32b3f.system.entry.js} +7 -7
- package/dist/magma-components/{p-380adee8.system.entry.js → p-2e5684a0.system.entry.js} +2 -2
- package/dist/magma-components/{p-390d0672.system.entry.js → p-303173d5.system.entry.js} +3 -3
- package/dist/magma-components/{p-7a4e8bc0.system.entry.js → p-33172d6f.system.entry.js} +8 -5
- package/dist/magma-components/p-333c0ae5.entry.js +1 -0
- package/dist/magma-components/p-3341ac50.entry.js +1 -0
- package/dist/magma-components/p-34183ce3.entry.js +1 -0
- package/dist/magma-components/p-35a77756.entry.js +1 -0
- package/dist/magma-components/p-37172440.entry.js +1 -0
- package/dist/magma-components/{p-3c911608.system.entry.js → p-37470fef.system.entry.js} +9 -5
- package/dist/magma-components/p-3b41f929.entry.js +1 -0
- package/dist/magma-components/p-3ccc1c10.entry.js +1 -0
- package/dist/magma-components/p-3d0578a7.entry.js +1 -0
- package/dist/magma-components/p-3d45d7a7.entry.js +1 -0
- package/dist/magma-components/{p-caf478ff.system.entry.js → p-3d60f528.system.entry.js} +2 -2
- package/dist/magma-components/p-3fb983e9.system.entry.js +1 -0
- package/dist/magma-components/p-4082973c.system.entry.js +30 -0
- package/dist/magma-components/p-41829c15.system.entry.js +7 -0
- package/dist/magma-components/p-420c5af4.entry.js +1 -0
- package/dist/magma-components/p-4242100c.entry.js +1 -0
- package/dist/magma-components/p-430239ca.entry.js +8 -0
- package/dist/magma-components/p-4564e7ad.entry.js +1 -0
- package/dist/magma-components/{p-6336d979.entry.js → p-47712df6.entry.js} +1 -1
- package/dist/magma-components/p-478bbfdb.entry.js +1 -0
- package/dist/magma-components/p-478e6930.entry.js +1 -0
- package/dist/magma-components/{p-c691f27e.system.entry.js → p-483480f9.system.entry.js} +31 -11
- package/dist/magma-components/p-4bb45501.entry.js +1 -0
- package/dist/magma-components/p-4e431466.entry.js +1 -0
- package/dist/magma-components/{p-1dc0d59c.system.entry.js → p-4e4dd1c1.system.entry.js} +5 -5
- package/dist/magma-components/{p-109926ce.system.entry.js → p-522968d1.system.entry.js} +6 -6
- package/dist/magma-components/{p-7e0a8194.system.entry.js → p-52b73a95.system.entry.js} +7 -7
- package/dist/magma-components/p-533bb401.system.entry.js +60 -0
- package/dist/magma-components/{p-9228db0b.system.entry.js → p-555bd3f8.system.entry.js} +7 -7
- package/dist/magma-components/{p-804f4794.system.entry.js → p-56715bbc.system.entry.js} +4 -4
- package/dist/magma-components/{p-527569a3.system.entry.js → p-586878a2.system.entry.js} +2 -2
- package/dist/magma-components/{p-3cf8ed46.system.entry.js → p-58bbada6.system.entry.js} +1 -1
- package/dist/magma-components/{p-eac943e5.system.entry.js → p-5b5d57b0.system.entry.js} +4 -4
- package/dist/magma-components/p-5c0f0517.entry.js +1 -0
- package/dist/magma-components/p-5c4aed7e.entry.js +1 -0
- package/dist/magma-components/p-5d8cb375.system.entry.js +107 -0
- package/dist/magma-components/p-62e42a62.entry.js +1 -0
- package/dist/magma-components/p-6443e40f.entry.js +1 -0
- package/dist/magma-components/{p-11456781.system.entry.js → p-6471c0a4.system.entry.js} +2 -2
- package/dist/magma-components/{p-b871ad36.system.entry.js → p-6619b3c0.system.entry.js} +11 -11
- package/dist/magma-components/p-67fa6fd7.entry.js +1 -0
- package/dist/magma-components/{p-79085c46.system.entry.js → p-68d83e18.system.entry.js} +1 -1
- package/dist/magma-components/{p-3ba14295.system.entry.js → p-6c6ec154.system.entry.js} +4 -4
- package/dist/magma-components/{p-8ac1ba5c.system.entry.js → p-6d7e8240.system.entry.js} +4 -4
- package/dist/magma-components/{p-3f0e6729.system.entry.js → p-6de384d0.system.entry.js} +3 -3
- package/dist/magma-components/p-6fb17347.system.entry.js +1 -0
- package/dist/magma-components/p-6fdf3b37.entry.js +1 -0
- package/dist/magma-components/p-70cf2c28.entry.js +1 -0
- package/dist/magma-components/p-73596a07.entry.js +1 -0
- package/dist/magma-components/{p-a5ca10ae.system.entry.js → p-73a6ee3b.system.entry.js} +1 -1
- package/dist/magma-components/{p-a9ab9eb0.system.entry.js → p-73b0b35f.system.entry.js} +2 -2
- package/dist/magma-components/p-73c0b53e.system.entry.js +82 -0
- package/dist/magma-components/p-73f22a7d.entry.js +1 -0
- package/dist/magma-components/p-756cd3dc.entry.js +1 -0
- package/dist/magma-components/p-757c3420.entry.js +1 -0
- package/dist/magma-components/p-778a46fa.entry.js +1 -0
- package/dist/magma-components/p-78cced59.entry.js +1 -0
- package/dist/magma-components/p-7caf244b.system.entry.js +7 -0
- package/dist/magma-components/p-7cfa2415.system.entry.js +1 -0
- package/dist/magma-components/p-7e87807d.entry.js +1 -0
- package/dist/magma-components/p-8193fd71.entry.js +1 -0
- package/dist/magma-components/p-82041de2.entry.js +1 -0
- package/dist/magma-components/{p-a2d4d849.system.entry.js → p-825713bc.system.entry.js} +2 -2
- package/dist/magma-components/p-851010c6.system.entry.js +25 -0
- package/dist/magma-components/p-857e893e.system.entry.js +26 -0
- package/dist/magma-components/p-8928d9b5.system.entry.js +110 -0
- package/dist/magma-components/p-8aa6524e.entry.js +1 -0
- package/dist/magma-components/p-8acbf50a.entry.js +1 -0
- package/dist/magma-components/p-8e471af5.entry.js +1 -0
- package/dist/magma-components/p-913123e6.entry.js +1 -0
- package/dist/magma-components/{p-724b7fff.system.entry.js → p-91406af1.system.entry.js} +9 -8
- package/dist/magma-components/p-95a29fd2.entry.js +1 -0
- package/dist/magma-components/{p-4a9ed4f7.system.entry.js → p-96ece2cc.system.entry.js} +4 -4
- package/dist/magma-components/p-96f66b8f.entry.js +1 -0
- package/dist/magma-components/{p-2a5167e3.system.entry.js → p-97e55f7e.system.entry.js} +5 -5
- package/dist/magma-components/{p-bc054fa3.system.entry.js → p-98a3802b.system.entry.js} +33 -18
- package/dist/magma-components/{p-0da5c696.system.entry.js → p-9b00051f.system.entry.js} +8 -8
- package/dist/magma-components/p-9be80c34.entry.js +1 -0
- package/dist/magma-components/{p-7701a318.system.entry.js → p-9c0d1025.system.entry.js} +1 -1
- package/dist/magma-components/{p-6f90c2c9.system.entry.js → p-9e3c1c28.system.entry.js} +9 -9
- package/dist/magma-components/{p-BoDvZoCN.system.js → p-B6f9M1Bj.system.js} +8 -1
- package/dist/magma-components/p-B7Jp0tqu.system.js +5 -0
- package/dist/magma-components/p-BAW1DAbr.system.js +13 -0
- package/dist/magma-components/{p-nFkaC8l_.system.js → p-BAcul0Zt.system.js} +1 -1
- package/dist/magma-components/{p-DxR4rGsw.js → p-BXkIXROP.js} +1 -1
- package/dist/magma-components/{p-CATyfc78.js → p-BkfGbFba.js} +2 -2
- package/dist/magma-components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
- package/dist/magma-components/p-CPibDZjX.js +3 -0
- package/dist/magma-components/{p-Cbabyppz.system.js → p-CyPLJo0p.system.js} +34 -14
- package/dist/magma-components/{p-BHdlb7Fr.system.js → p-CzZWts7L.system.js} +8 -8
- package/dist/magma-components/{p-VOjLCGlK.system.js → p-D5Yayq7E.system.js} +47 -5
- package/dist/magma-components/{p-DOisMne4.system.js → p-DGfoeZMw.system.js} +6 -6
- package/dist/magma-components/{p-BZP13mns.system.js → p-EhfbAdzV.system.js} +52 -51
- package/dist/magma-components/p-H8sVzFTL.js +1 -0
- package/dist/magma-components/p-a00805cd.system.entry.js +136 -0
- package/dist/magma-components/p-a025b35b.entry.js +1 -0
- package/dist/magma-components/p-a02819e3.entry.js +1 -0
- package/dist/magma-components/p-a0389821.entry.js +1 -0
- package/dist/magma-components/p-a075c069.entry.js +1 -0
- package/dist/magma-components/p-a0764f01.entry.js +1 -0
- package/dist/magma-components/{p-54abba52.system.entry.js → p-a171c096.system.entry.js} +4 -4
- package/dist/magma-components/{p-9b0b65f0.system.entry.js → p-a190c325.system.entry.js} +3 -3
- package/dist/magma-components/{p-f2649031.entry.js → p-a33a235e.entry.js} +1 -1
- package/dist/magma-components/{p-7fbdf896.system.entry.js → p-a4aaf1c6.system.entry.js} +8 -8
- package/dist/magma-components/{p-c8c918d2.entry.js → p-a9c7fb3f.entry.js} +3 -3
- package/dist/magma-components/{p-372fa5d4.system.entry.js → p-a9d100e5.system.entry.js} +7 -7
- package/dist/magma-components/{p-09a7c1de.system.entry.js → p-aa601247.system.entry.js} +2 -2
- package/dist/magma-components/{p-ca4e8601.system.entry.js → p-aa86018e.system.entry.js} +2 -2
- package/dist/magma-components/p-ab920e0b.entry.js +1 -0
- package/dist/magma-components/{p-f51ed098.entry.js → p-ac401f1a.entry.js} +1 -1
- package/dist/magma-components/{p-f5bd5b64.system.entry.js → p-ad12fa89.system.entry.js} +3 -3
- package/dist/magma-components/{p-3ddae677.system.entry.js → p-ad6b5fc1.system.entry.js} +3 -3
- package/dist/magma-components/p-ada93f68.entry.js +1 -0
- package/dist/magma-components/{p-4a72d72c.system.entry.js → p-ae258eca.system.entry.js} +2 -2
- package/dist/magma-components/{p-a48c73b1.system.entry.js → p-af1a93c6.system.entry.js} +7 -7
- package/dist/magma-components/p-b0406c51.entry.js +1 -0
- package/dist/magma-components/p-b18b0088.system.entry.js +9 -0
- package/dist/magma-components/p-b1fe6261.entry.js +1 -0
- package/dist/magma-components/p-b20f811b.system.entry.js +120 -0
- package/dist/magma-components/{p-99d2ace2.system.entry.js → p-b47c444e.system.entry.js} +2 -2
- package/dist/magma-components/p-b4856322.entry.js +1 -0
- package/dist/magma-components/p-b7d90310.entry.js +1 -0
- package/dist/magma-components/{p-0e1d239b.system.entry.js → p-b8e5411d.system.entry.js} +1 -1
- package/dist/magma-components/{p-4a2ed30e.system.entry.js → p-b95f648f.system.entry.js} +3 -3
- package/dist/magma-components/{p-64f86e46.system.entry.js → p-ba148b89.system.entry.js} +7 -7
- package/dist/magma-components/p-bbbf8b89.system.entry.js +29 -0
- package/dist/magma-components/p-bca909d9.entry.js +1 -0
- package/dist/magma-components/p-bd4ad8c7.entry.js +1 -0
- package/dist/magma-components/p-bd539dbc.entry.js +1 -0
- package/dist/magma-components/{p-f7e9af99.system.entry.js → p-c0c69807.system.entry.js} +2 -2
- package/dist/magma-components/{p-22f24125.system.entry.js → p-c2a883b0.system.entry.js} +1 -1
- package/dist/magma-components/{p-b7d18d7a.system.entry.js → p-c2d9cf4e.system.entry.js} +1 -1
- package/dist/magma-components/{p-555ba0e0.system.entry.js → p-c3cfbc71.system.entry.js} +8 -8
- package/dist/magma-components/p-c5b7f820.system.entry.js +1 -0
- package/dist/magma-components/p-c67655fa.entry.js +1 -0
- package/dist/magma-components/p-c6cab2cb.entry.js +1 -0
- package/dist/magma-components/p-c6f56934.entry.js +1 -0
- package/dist/magma-components/{p-793072e1.system.entry.js → p-c8430552.system.entry.js} +14 -14
- package/dist/magma-components/p-c902d468.entry.js +1 -0
- package/dist/magma-components/p-ca0f3549.entry.js +1 -0
- package/dist/magma-components/{p-98cc6473.system.entry.js → p-ca5867f5.system.entry.js} +15 -15
- package/dist/magma-components/p-cc5518b1.entry.js +1 -0
- package/dist/magma-components/{p-32b3ad6f.entry.js → p-ccb23b6a.entry.js} +1 -1
- package/dist/magma-components/{p-fe51c0cb.system.entry.js → p-cf8cfcac.system.entry.js} +3 -3
- package/dist/magma-components/p-cfb153b8.entry.js +1 -0
- package/dist/magma-components/p-cfcb8bb5.entry.js +1 -0
- package/dist/magma-components/p-d0b45a54.entry.js +1 -0
- package/dist/magma-components/{p-3f17a06f.system.entry.js → p-d0dfa8b5.system.entry.js} +2 -2
- package/dist/magma-components/p-d1281855.system.entry.js +330 -0
- package/dist/magma-components/{p-48a1871f.system.entry.js → p-d173ae2f.system.entry.js} +1 -1
- package/dist/magma-components/p-d1751ff6.entry.js +1 -0
- package/dist/magma-components/p-d4452e41.entry.js +1 -0
- package/dist/magma-components/p-d5dec64d.entry.js +1 -0
- package/dist/magma-components/p-d7813f9b.system.entry.js +13 -0
- package/dist/magma-components/{p-27a32865.system.entry.js → p-dd4b04ed.system.entry.js} +3 -3
- package/dist/magma-components/p-ddc31c50.entry.js +1 -0
- package/dist/magma-components/{p-b129b127.system.entry.js → p-df70af5f.system.entry.js} +37 -37
- package/dist/magma-components/p-e009c632.entry.js +1 -0
- package/dist/magma-components/p-e160e4e1.entry.js +1 -0
- package/dist/magma-components/p-e497f0db.entry.js +1 -0
- package/dist/magma-components/p-e4db9ad2.entry.js +1 -0
- package/dist/magma-components/p-e63c1ba4.entry.js +1 -0
- package/dist/magma-components/p-e66db408.entry.js +1 -0
- package/dist/magma-components/{p-5c6fdabd.system.entry.js → p-e84361ee.system.entry.js} +12 -3
- package/dist/magma-components/p-ea93721d.entry.js +1 -0
- package/dist/magma-components/{p-f6358241.system.entry.js → p-eb4f76d8.system.entry.js} +9 -6
- package/dist/magma-components/p-ecf29ffa.entry.js +1 -0
- package/dist/magma-components/{p-5794053b.system.entry.js → p-ede31d27.system.entry.js} +6 -6
- package/dist/magma-components/{p-66f7f9b1.system.entry.js → p-ee247029.system.entry.js} +3 -3
- package/dist/magma-components/{p-45c26a24.system.entry.js → p-ee65f0eb.system.entry.js} +5 -5
- package/dist/magma-components/p-efcd8a1d.entry.js +1 -0
- package/dist/magma-components/{p-9b0d7f7d.system.entry.js → p-f01e7a7e.system.entry.js} +4 -4
- package/dist/magma-components/{p-188a55ac.system.entry.js → p-f0d93b22.system.entry.js} +9 -6
- package/dist/magma-components/{p-c0295a0e.system.entry.js → p-f2e5a2c7.system.entry.js} +7 -7
- package/dist/magma-components/p-f3041712.entry.js +1 -0
- package/dist/magma-components/{p-97a501cd.system.entry.js → p-f3f1da06.system.entry.js} +5 -5
- package/dist/magma-components/{p-b1cd3acf.system.entry.js → p-f4e8f507.system.entry.js} +2 -2
- package/dist/magma-components/{p-1e24aafa.system.entry.js → p-f5c82548.system.entry.js} +1 -1
- package/dist/magma-components/{p-411fca2f.system.entry.js → p-f6f6d914.system.entry.js} +3 -3
- package/dist/magma-components/p-f9d2316a.entry.js +1 -0
- package/dist/magma-components/p-fe4ae251.entry.js +1 -0
- package/dist/magma-components/{p-16bbff4e.system.entry.js → p-ffcfa9e3.system.entry.js} +2 -2
- package/dist/magma-components/p-kW8cjKIa.js +1 -0
- package/dist/mcp/checks.js +50 -21
- package/dist/mcp/cli.js +8 -2
- package/dist/mcp/context.js +21 -0
- package/dist/mcp/guides.js +2 -1
- package/dist/mcp/patterns.js +19 -9
- package/dist/mcp/render.js +4 -4
- package/dist/mcp/root.js +63 -0
- package/dist/mcp/tools.json +21 -3
- package/dist/stats.json +4109 -3338
- package/dist/types/common/floating-controller.d.ts +14 -0
- package/dist/types/common/navigation.d.ts +7 -0
- package/dist/types/common/preference.d.ts +13 -1
- package/dist/types/common/validity/index.d.ts +1 -1
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +10 -2
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +10 -2
- package/dist/types/components/mds-banner/mds-banner.d.ts +13 -4
- package/dist/types/components/mds-banner/meta/dictionary.d.ts +7 -0
- package/dist/types/components/mds-banner/meta/types.d.ts +2 -0
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +60 -16
- package/dist/types/components/mds-calendar/meta/types.d.ts +2 -0
- package/dist/types/components/mds-chip/mds-chip.d.ts +10 -0
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
- package/dist/types/components/mds-icon/services/icons-set.service.d.ts +42 -0
- package/dist/types/components/mds-input/mds-input.d.ts +114 -10
- package/dist/types/components/mds-input/meta/color.d.ts +13 -0
- package/dist/types/components/mds-input/meta/types.d.ts +1 -1
- package/dist/types/components/mds-input/meta/validators.d.ts +5 -0
- package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +13 -2
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +34 -3
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +105 -4
- package/dist/types/components/mds-input-range/meta/event-detail.d.ts +7 -0
- package/dist/types/components/mds-input-range-value/mds-input-range-value.d.ts +18 -0
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +6 -3
- package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -1
- package/dist/types/components/mds-pref/mds-pref.d.ts +6 -0
- package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
- package/dist/types/components/mds-table/mds-table.d.ts +6 -1
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -1
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -3
- package/dist/types/components/mds-zero/mds-zero.d.ts +4 -0
- package/dist/types/components.d.ts +157 -38
- package/dist/types/fixtures/dark-mode.d.ts +7 -0
- package/dist/types/index.d.ts +20 -8
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/type/file-types.d.ts +1 -1
- package/dist/types/type/input.d.ts +2 -2
- package/package.json +19 -17
- package/dist/components/p-BQSO-HFx.js +0 -1
- package/dist/components/p-Bw-eI2ca.js +0 -1
- package/dist/components/p-BwwiliWt.js +0 -1
- package/dist/components/p-CZX6N7ce.js +0 -1
- package/dist/components/p-CpuUmvdl.js +0 -1
- package/dist/components/p-DUgCzZw9.js +0 -1
- package/dist/components/p-DWOg4-dH.js +0 -1
- package/dist/components/p-DZ4_zLTp.js +0 -1
- package/dist/components/p-J48g0t65.js +0 -1
- package/dist/components/p-TZJN-ygm.js +0 -3
- package/dist/components/p-UfaGafRS.js +0 -1
- package/dist/components/p-k_Ly95Tj.js +0 -1
- package/dist/components/p-lXKBo6V3.js +0 -1
- package/dist/components/p-oFHbHRLX.js +0 -1
- package/dist/esm-es5/index-DEL0bLpb.js +0 -10
- package/dist/magma-components/p-02aed12a.entry.js +0 -1
- package/dist/magma-components/p-0417391b.entry.js +0 -1
- package/dist/magma-components/p-08f7a84b.entry.js +0 -1
- package/dist/magma-components/p-0df067b4.entry.js +0 -1
- package/dist/magma-components/p-0f4c2de6.entry.js +0 -1
- package/dist/magma-components/p-14de26d5.entry.js +0 -1
- package/dist/magma-components/p-163eccbd.entry.js +0 -1
- package/dist/magma-components/p-167ba07a.entry.js +0 -1
- package/dist/magma-components/p-17249b74.entry.js +0 -1
- package/dist/magma-components/p-1a53d9d0.system.entry.js +0 -225
- package/dist/magma-components/p-1cc379d6.entry.js +0 -1
- package/dist/magma-components/p-223efc32.entry.js +0 -1
- package/dist/magma-components/p-2454e4cd.system.entry.js +0 -7
- package/dist/magma-components/p-24a69c45.entry.js +0 -1
- package/dist/magma-components/p-259d9380.entry.js +0 -1
- package/dist/magma-components/p-26b08e33.entry.js +0 -1
- package/dist/magma-components/p-2940499f.entry.js +0 -1
- package/dist/magma-components/p-2f4a7253.system.entry.js +0 -1
- package/dist/magma-components/p-2ffa4d4a.entry.js +0 -1
- package/dist/magma-components/p-33129e0c.system.entry.js +0 -13
- package/dist/magma-components/p-397c0686.entry.js +0 -1
- package/dist/magma-components/p-3bf4f012.system.entry.js +0 -13
- package/dist/magma-components/p-3de37b32.entry.js +0 -1
- package/dist/magma-components/p-40c59c18.entry.js +0 -1
- package/dist/magma-components/p-43c307f5.entry.js +0 -1
- package/dist/magma-components/p-440d7942.entry.js +0 -1
- package/dist/magma-components/p-4541c233.entry.js +0 -1
- package/dist/magma-components/p-4612bc78.entry.js +0 -8
- package/dist/magma-components/p-4718a71d.entry.js +0 -1
- package/dist/magma-components/p-4a1f7eb5.entry.js +0 -1
- package/dist/magma-components/p-4c3b3913.system.entry.js +0 -25
- package/dist/magma-components/p-4c955367.entry.js +0 -1
- package/dist/magma-components/p-4ebb0a9e.entry.js +0 -1
- package/dist/magma-components/p-4f80bf37.entry.js +0 -1
- package/dist/magma-components/p-52211fa3.entry.js +0 -1
- package/dist/magma-components/p-52cc5a93.entry.js +0 -1
- package/dist/magma-components/p-56cf1cab.entry.js +0 -1
- package/dist/magma-components/p-59aa4994.entry.js +0 -1
- package/dist/magma-components/p-5a754d7b.entry.js +0 -1
- package/dist/magma-components/p-5ca6063a.entry.js +0 -1
- package/dist/magma-components/p-5cb581df.entry.js +0 -1
- package/dist/magma-components/p-5d825728.entry.js +0 -1
- package/dist/magma-components/p-5dfca9f0.entry.js +0 -1
- package/dist/magma-components/p-5f38e95b.entry.js +0 -1
- package/dist/magma-components/p-5f4bec31.entry.js +0 -1
- package/dist/magma-components/p-627f5956.entry.js +0 -1
- package/dist/magma-components/p-6352c2ea.entry.js +0 -1
- package/dist/magma-components/p-64884d84.entry.js +0 -1
- package/dist/magma-components/p-65ea6fc9.entry.js +0 -1
- package/dist/magma-components/p-68b0d45a.entry.js +0 -1
- package/dist/magma-components/p-6a4d44e2.entry.js +0 -1
- package/dist/magma-components/p-6a90caf5.system.entry.js +0 -1
- package/dist/magma-components/p-6c4f2de0.entry.js +0 -1
- package/dist/magma-components/p-70faf379.entry.js +0 -1
- package/dist/magma-components/p-71d03e56.entry.js +0 -1
- package/dist/magma-components/p-73dc7c66.entry.js +0 -1
- package/dist/magma-components/p-7476cf76.system.entry.js +0 -77
- package/dist/magma-components/p-77707706.entry.js +0 -1
- package/dist/magma-components/p-78d00f88.entry.js +0 -1
- package/dist/magma-components/p-79392a0a.entry.js +0 -1
- package/dist/magma-components/p-7a33ab3c.entry.js +0 -1
- package/dist/magma-components/p-7b552dbe.entry.js +0 -1
- package/dist/magma-components/p-7c13ccb0.entry.js +0 -1
- package/dist/magma-components/p-848d1b42.system.entry.js +0 -30
- package/dist/magma-components/p-84d0d701.entry.js +0 -1
- package/dist/magma-components/p-86494ea9.entry.js +0 -1
- package/dist/magma-components/p-8915347f.entry.js +0 -1
- package/dist/magma-components/p-8b8a6662.entry.js +0 -1
- package/dist/magma-components/p-8c20ac0c.entry.js +0 -1
- package/dist/magma-components/p-90c60c48.entry.js +0 -1
- package/dist/magma-components/p-90e20ad3.entry.js +0 -1
- package/dist/magma-components/p-94548d43.entry.js +0 -1
- package/dist/magma-components/p-95020326.entry.js +0 -1
- package/dist/magma-components/p-970f45df.entry.js +0 -1
- package/dist/magma-components/p-9aba3769.entry.js +0 -1
- package/dist/magma-components/p-9b8d15a8.system.entry.js +0 -1
- package/dist/magma-components/p-9e94f4a3.system.entry.js +0 -41
- package/dist/magma-components/p-B8zYiZQY.system.js +0 -5
- package/dist/magma-components/p-CvLLN-QH.js +0 -3
- package/dist/magma-components/p-CxzVgcYv.js +0 -1
- package/dist/magma-components/p-D3J9KZKy.system.js +0 -10
- package/dist/magma-components/p-Dx7iOdVP.js +0 -1
- package/dist/magma-components/p-a112a0e2.system.entry.js +0 -24
- package/dist/magma-components/p-a2767235.entry.js +0 -1
- package/dist/magma-components/p-a2c3b294.system.entry.js +0 -94
- package/dist/magma-components/p-a4f53c83.entry.js +0 -1
- package/dist/magma-components/p-a58e8a5c.entry.js +0 -1
- package/dist/magma-components/p-a9a872e1.entry.js +0 -1
- package/dist/magma-components/p-ab1c3fb0.system.entry.js +0 -7
- package/dist/magma-components/p-ab445c2b.entry.js +0 -1
- package/dist/magma-components/p-abe32d5b.entry.js +0 -1
- package/dist/magma-components/p-af56e3e4.system.entry.js +0 -32
- package/dist/magma-components/p-b1238d48.entry.js +0 -1
- package/dist/magma-components/p-b705b805.entry.js +0 -1
- package/dist/magma-components/p-ba871d9c.entry.js +0 -1
- package/dist/magma-components/p-ba95bf93.entry.js +0 -1
- package/dist/magma-components/p-bd489df9.entry.js +0 -1
- package/dist/magma-components/p-bfd95736.entry.js +0 -1
- package/dist/magma-components/p-c06d8b5a.entry.js +0 -1
- package/dist/magma-components/p-c131d726.entry.js +0 -1
- package/dist/magma-components/p-c2758b81.entry.js +0 -1
- package/dist/magma-components/p-c49676e6.entry.js +0 -1
- package/dist/magma-components/p-c8414ee6.entry.js +0 -1
- package/dist/magma-components/p-c91cb63a.entry.js +0 -1
- package/dist/magma-components/p-cb06839f.entry.js +0 -1
- package/dist/magma-components/p-ce42734f.entry.js +0 -1
- package/dist/magma-components/p-d1e4a032.entry.js +0 -1
- package/dist/magma-components/p-d25a47fa.entry.js +0 -1
- package/dist/magma-components/p-d29b32b4.system.entry.js +0 -1
- package/dist/magma-components/p-d2ba5851.system.entry.js +0 -82
- package/dist/magma-components/p-d365c6b6.entry.js +0 -1
- package/dist/magma-components/p-d3b06151.entry.js +0 -1
- package/dist/magma-components/p-d45f65e0.entry.js +0 -1
- package/dist/magma-components/p-d51ec950.entry.js +0 -1
- package/dist/magma-components/p-d760c1fa.entry.js +0 -1
- package/dist/magma-components/p-d785d7ee.entry.js +0 -1
- package/dist/magma-components/p-d9092133.entry.js +0 -1
- package/dist/magma-components/p-de423b11.entry.js +0 -1
- package/dist/magma-components/p-df78b7ac.system.entry.js +0 -1
- package/dist/magma-components/p-e39b5e12.entry.js +0 -1
- package/dist/magma-components/p-eb220deb.system.entry.js +0 -7
- package/dist/magma-components/p-eca42fe8.system.entry.js +0 -29
- package/dist/magma-components/p-ecda3e45.entry.js +0 -1
- package/dist/magma-components/p-f9f3ad86.entry.js +0 -1
- package/dist/magma-components/p-fb4b648a.entry.js +0 -1
- package/dist/magma-components/p-fd4588c5.entry.js +0 -1
- package/dist/magma-components/p-fdd17ee6.entry.js +0 -1
- package/dist/magma-components/p-ff6cf4f8.system.entry.js +0 -98
- package/dist/magma-components/p-ff76c614.entry.js +0 -1
- /package/dist/components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
- /package/dist/magma-components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as
|
|
1
|
+
import{p as e,H as t,h as s,c as a,t as r}from"./p-g2_CekDc.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(a,{key:"1fd07bff03146aee2518481362a32ac18c05e541"},s("slot",{key:"500f62e585073c01c70e44131be72d9b68f506a9"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"}},[257,"mds-price-table-header"]),o=i,d=function(){"undefined"!=typeof customElements&&["mds-price-table-header"].forEach((e=>{"mds-price-table-header"===e&&(customElements.get(r(e))||customElements.define(r(e),i))}))};export{o as MdsPriceTableHeader,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as r,c as i,t as s}from"./p-
|
|
1
|
+
import{p as e,H as t,h as r,c as i,t as s}from"./p-g2_CekDc.js";import{m as a}from"./p-BFhO-KUe.js";import{m as o}from"./p-BE8xuIpS.js";import{d as n}from"./p-aZlZ1XB9.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.supported=!1,this.typography="detail"}render(){return r(i,{key:"152ed13842672700c77ad9dbe45f208bf8a65f6f",slot:"item"},r("mds-text",{key:"e24312f4d35377a58788cad568f5005422a73bfd",class:"icon-container",typography:this.typography},r("i",this.supported?{class:"icon",innerHTML:a,part:"icon"}:{class:"icon",innerHTML:o,part:"icon"})),r("mds-text",{key:"7ed412403e3994a3b75bd65642e74c33ce614368",class:"text",typography:this.typography},r("slot",{key:"5c7495fff347d9a5571d882988fefa501d5921a5"})))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,26 148 71));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.text{flex-grow:1}.icon-container{flex-shrink:0}.icon{display:flex;--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));fill:var(--mds-price-table-list-item-unsupported-icon-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));height:calc(var(--spacing,.0025rem)*600);transition-duration:var(--duration-500,.5s);transition-property:fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--spacing,.0025rem)*600)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([supported]:not([supported=false])) .icon{fill:var(--mds-price-table-list-item-supported-icon-color,rgb(var(--label-green-06,34 195 93)))}:host([supported]:not([supported=false]):hover) .icon{fill:var(--mds-price-table-list-item-supported-icon-color-hover,rgb(var(--label-green-05,26 148 71)))}@property --tw-ease{syntax:"*";inherits:false}'}},[257,"mds-price-table-list-item",{supported:[516],typography:[513]}]),c=l,d=function(){"undefined"!=typeof customElements&&["mds-price-table-list-item","mds-text"].forEach((e=>{switch(e){case"mds-price-table-list-item":customElements.get(s(e))||customElements.define(s(e),l);break;case"mds-text":customElements.get(s(e))||n()}}))};export{c as MdsPriceTableListItem,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as a,c as r,t as o}from"./p-
|
|
1
|
+
import{p as e,H as t,h as a,c as r,t as o}from"./p-g2_CekDc.js";import{p as s}from"./p-AWCYh8Xe.js";import{o as i}from"./p-DWIIDHSa.js";import{d as n}from"./p-Cs8RIbsQ.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.updateItems=()=>{this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}}componentWillLoad(){this.updateItems(),i(this.hostElement,this.updateItems)}render(){return a(r,{key:"f7a097f5a2efdbfafb8bad9eb47d6bc728e4f8b1","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},a("div",{key:"e78a3411d1be295cc264d959cb409092542034ce",class:"header",part:"header"},a("slot",{key:"9ac2e193b8cb289f6c72b7a0b7deccc804667ac3",name:"header"})),this.hasItems&&a("mds-separator",{key:"401825ea94e38a57d44079b73189535cab8065d0",class:"separator"}),this.hasItems&&a("div",{key:"9a048f19a6bfa7a51945d81ff40f81cfd673d939",class:"main",part:"content"},a("slot",{key:"c542c0e923b2cc94b16f743c2e9c51f0bf65e5d3",name:"item"})),a("div",{key:"e7ee7fb96c245820e326758efc8eda21e92c4ea8",class:"footer",part:"footer"},a("slot",{key:"2c16f90d39973d97034ccc6bcbac6a59840352e4",name:"price"}),a("slot",{key:"66a4dd0e6f898a81e18e725bbcf4607bb4699afa",name:"action"})))}get hostElement(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-separator:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-separator-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,206 247 221));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color}.separator{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))/.5));transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-list-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);background-color:rgb(var(--label-green-09,165 240 193));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);background-color:rgb(var(--label-green-09,165 240 193));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'}},[257,"mds-price-table-list",{hasItems:[32]}]),d=c,m=function(){"undefined"!=typeof customElements&&["mds-price-table-list","mds-separator"].forEach((e=>{switch(e){case"mds-price-table-list":customElements.get(o(e))||customElements.define(o(e),c);break;case"mds-separator":customElements.get(o(e))||n()}}))};export{d as MdsPriceTableList,m as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as s,c as
|
|
1
|
+
import{p as e,H as t,h as s,c as a,t as r}from"./p-g2_CekDc.js";const d=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(a,{key:"ee12ed27979457eda3603539d88e1ee5d8b9848e"},s("slot",{key:"ed363cde6cc76f279fa5f9fa92dad5e05fc54a09"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*600)}"}},[257,"mds-price-table"]),i=d,o=function(){"undefined"!=typeof customElements&&["mds-price-table"].forEach((e=>{"mds-price-table"===e&&(customElements.get(r(e))||customElements.define(r(e),d))}))};export{i as MdsPriceTable,o as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as o,d as s}from"./p-
|
|
1
|
+
import{M as o,d as s}from"./p-C878c9Nu.js";const p=o,r=s;export{p as MdsProgress,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as a,d as i,h as r,c as n,t as e}from"./p-TZJN-ygm.js";import{g as o,d as s}from"./p-F0qhFsF0.js";import{m as c}from"./p-BJ8rpzfj.js";import{h as u}from"./p-DWIIDHSa.js";import{c as m}from"./p-ChV9xqsO.js";import{L as d}from"./p-CvbuCEYD.js";import{s as h}from"./p-CACEYk42.js";import{p as l}from"./p-Bbrei_yQ.js";import{d as f}from"./p-BE05D6Pe.js";import{d as p}from"./p-BBrPpCNK.js";import{d as v}from"./p-CZwKeFQT.js";import{d as b}from"./p-C6LU1s8K.js";import{d as g}from"./p-DN1yF-xO.js";var y,k,w={exports:{}},x=o((y||(y=1,w.exports=function(){var t=6e4,a=36e5,i="millisecond",r="second",n="minute",e="hour",o="day",s="week",c="month",u="quarter",m="year",d="date",h="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var a=["th","st","nd","rd"],i=t%100;return"["+t+(a[(i-20)%10]||a[i]||"th")+"]"}},v=function(t,a,i){var r=t+"";return!r||r.length>=a?t:""+Array(a+1-r.length).join(i)+t},b={s:v,z:function(t){var a=-t.utcOffset(),i=Math.abs(a),r=i%60;return(a<=0?"+":"-")+v(Math.floor(i/60),2,"0")+":"+v(r,2,"0")},m:function t(a,i){if(a.date()<i.date())return-t(i,a);var r=12*(i.year()-a.year())+(i.month()-a.month()),n=a.clone().add(r,c),e=i-n<0,o=a.clone().add(r+(e?-1:1),c);return+(-(r+(i-n)/(e?n-o:o-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:m,w:s,d:o,D:d,h:e,m:n,s:r,ms:i,Q:u}[t]||((t||"")+"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",y={};y[g]=p;var k="$isDayjsObject",w=function(t){return t instanceof j||!(!t||!t[k])},x=function t(a,i,r){var n;if(!a)return g;if("string"==typeof a){var e=a.toLowerCase();y[e]&&(n=e),i&&(y[e]=i,n=e);var o=a.split("-");if(!n&&o.length>1)return t(o[0])}else{var s=a.name;y[s]=a,n=s}return!r&&n&&(g=n),n||!r&&g},M=function(t,a){if(w(t))return t.clone();var i="object"==typeof a?a:{};return i.date=t,i.args=arguments,new j(i)},D=b;D.l=x,D.i=w,D.w=function(t,a){return M(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var j=function(){function p(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[k]=!0}var v=p.prototype;return v.parse=function(t){this.$d=function(t){var a=t.date,i=t.utc;if(null===a)return new Date(NaN);if(D.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var r=a.match(l);if(r){var n=r[2]-1||0,e=(r[7]||"0").substring(0,3);return i?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,e)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,e)}}return new Date(a)}(t),this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return D},v.isValid=function(){return!(""+this.$d===h)},v.isSame=function(t,a){var i=M(t);return this.startOf(a)<=i&&i<=this.endOf(a)},v.isAfter=function(t,a){return M(t)<this.startOf(a)},v.isBefore=function(t,a){return this.endOf(a)<M(t)},v.$g=function(t,a,i){return D.u(t)?this[a]:this.set(i,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,a){var i=this,u=!!D.u(a)||a,h=D.p(t),l=function(t,a){var r=D.w(i.$u?Date.UTC(i.$y,a,t):new Date(i.$y,a,t),i);return u?r:r.endOf(o)},f=function(t,a){return D.w(i.toDate()[t].apply(i.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(a)),i)},p=this.$W,v=this.$M,b=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case m:return u?l(1,0):l(31,11);case c:return u?l(1,v):l(0,v+1);case s:var y=this.$locale().weekStart||0,k=(p<y?p+7:p)-y;return l(u?b-k:b+(6-k),v);case o:case d:return f(g+"Hours",0);case e:return f(g+"Minutes",1);case n:return f(g+"Seconds",2);case r:return f(g+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,a){var s,u=D.p(t),h="set"+(this.$u?"UTC":""),l=(s={},s[o]=h+"Date",s[d]=h+"Date",s[c]=h+"Month",s[m]=h+"FullYear",s[e]=h+"Hours",s[n]=h+"Minutes",s[r]=h+"Seconds",s[i]=h+"Milliseconds",s)[u],f=u===o?this.$D+(a-this.$W):a;if(u===c||u===m){var p=this.clone().set(d,1);p.$d[l](f),p.init(),this.$d=p.set(d,Math.min(this.$D,p.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},v.set=function(t,a){return this.clone().$set(t,a)},v.get=function(t){return this[D.p(t)]()},v.add=function(i,u){var d,h=this;i=Number(i);var l=D.p(u),f=function(t){var a=M(h);return D.w(a.date(a.date()+Math.round(t*i)),h)};if(l===c)return this.set(c,this.$M+i);if(l===m)return this.set(m,this.$y+i);if(l===o)return f(1);if(l===s)return f(7);var p=(d={},d[n]=t,d[e]=a,d[r]=1e3,d)[l]||1,v=this.$d.getTime()+i*p;return D.w(v,this)},v.subtract=function(t,a){return this.add(-1*t,a)},v.format=function(t){var a=this,i=this.$locale();if(!this.isValid())return i.invalidDate||h;var r=t||"YYYY-MM-DDTHH:mm:ssZ",n=D.z(this),e=this.$H,o=this.$m,s=this.$M,c=i.weekdays,u=i.months,m=function(t,i,n,e){return t&&(t[i]||t(a,r))||n[i].slice(0,e)},d=function(t){return D.s(e%12||12,t,"0")},l=i.meridiem||function(t,a,i){var r=t<12?"AM":"PM";return i?r.toLowerCase():r};return r.replace(f,(function(t,r){return r||function(t){switch(t){case"YY":return(a.$y+"").slice(-2);case"YYYY":return D.s(a.$y,4,"0");case"M":return s+1;case"MM":return D.s(s+1,2,"0");case"MMM":return m(i.monthsShort,s,u,3);case"MMMM":return m(u,s);case"D":return a.$D;case"DD":return D.s(a.$D,2,"0");case"d":return a.$W+"";case"dd":return m(i.weekdaysMin,a.$W,c,2);case"ddd":return m(i.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return e+"";case"HH":return D.s(e,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return l(e,o,!0);case"A":return l(e,o,!1);case"m":return o+"";case"mm":return D.s(o,2,"0");case"s":return a.$s+"";case"ss":return D.s(a.$s,2,"0");case"SSS":return D.s(a.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(i,d,h){var l,f=this,p=D.p(d),v=M(i),b=(v.utcOffset()-this.utcOffset())*t,g=this-v,y=function(){return D.m(f,v)};switch(p){case m:l=y()/12;break;case c:l=y();break;case u:l=y()/3;break;case s:l=(g-b)/6048e5;break;case o:l=(g-b)/864e5;break;case e:l=g/a;break;case n:l=g/t;break;case r:l=g/1e3;break;default:l=g}return h?l:D.a(l)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return y[this.$L]},v.locale=function(t,a){if(!t)return this.$L;var i=this.clone(),r=x(t,a,!0);return r&&(i.$L=r),i},v.clone=function(){return D.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},p}(),C=j.prototype;return M.prototype=C,[["$ms",i],["$s",r],["$m",n],["$H",e],["$W",o],["$M",c],["$y",m],["$D",d]].forEach((function(t){C[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),M.extend=function(t,a){return t.$i||(t(a,j,M),t.$i=!0),M},M.locale=x,M.isDayjs=w,M.unix=function(t){return M(1e3*t)},M.en=y[g],M.Ls=y,M.p={},M}()),w.exports)),M={dismiss:"Κλείσιμο",future:"σε %s",past:"πριν από %s",s:"λίγα δευτ.",m:"1 λεπτό",mm:"%d λεπτά",h:"1 ώρα",hh:"%d ώρες",d:"1 ημέρα",dd:"%d ημέρες",M:"1 μήνας",MM:"%d μήνες",y:"1 έτος",yy:"%d έτη"},D={dismiss:"Close",future:"in %s",past:"%s ago",s:"few sec",m:"1 min",mm:"%d mins",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"},j={dismiss:"Cerrar",future:"en %s",past:"hace %s",s:"pocos seg",m:"1 min",mm:"%d mins",h:"1 hora",hh:"%d horas",d:"1 día",dd:"%d días",M:"1 mes",MM:"%d meses",y:"1 año",yy:"%d años"},C={dismiss:"Chiudi",future:"tra %s",past:"%s fa",s:"pochi sec",m:"1 min",mm:"%d min",h:"1 ora",hh:"%d ore",d:"1 giorno",dd:"%d giorni",M:"1 mese",MM:"%d mesi",y:"1 anno",yy:"%d anni"},_={exports:{}},Y=o((k||(k=1,_.exports=function(t,a,i){t=t||{};var r=a.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function e(t,a,i,n){return r.fromToBase(t,a,i,n)}i.en.relativeTime=n,r.fromToBase=function(a,r,e,o,s){for(var c,u,m,d=e.$locale().relativeTime||n,h=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],l=h.length,f=0;f<l;f+=1){var p=h[f];p.d&&(c=o?i(a).diff(e,p.d,!0):e.diff(a,p.d,!0));var v=(t.rounding||Math.round)(Math.abs(c));if(m=c>0,v<=p.r||!p.r){v<=1&&f>0&&(p=h[f-1]);var b=d[p.l];s&&(v=s(""+v)),u="string"==typeof b?b.replace("%d",v):b(v,r,p.l,m);break}}if(r)return u;var g=m?d.future:d.past;return"function"==typeof g?g(u):g.replace("%s",u)},r.to=function(t,a){return e(t,a,this,!0)},r.from=function(t,a){return e(t,a,this)};var o=function(t){return t.$u?i.utc():i()};r.toNow=function(t){return this.to(o(this),t)},r.fromNow=function(t){return this.from(o(this),t)}}),_.exports));const q=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.closedEvent=i(this,"mdsPushNotificationItemClose",7),this.t=new d({el:M,en:D,es:j,it:C}),this.dateFormat="timeago",this.deletable=!1,this.message="Nessun messaggio disponibile",this.preview="image",this.tone="weak",this.onClickClose=t=>{t.stopPropagation(),this.closedEvent.emit({id:this.host.id})},this.isDismissible=()=>!0===this.dismissible||!0===this.deletable,this.onSlotChange=()=>{this.hasActions=u(this.host,"action"),this.hasBadge=u(this.host,"badge")}}componentDidLoad(){this.handleDismissibleChange(this.dismissible),this.handleDeletableChange(this.deletable)}componentWillLoad(){var t;x.extend(Y),this.onSlotChange(),void 0!==this.datetime&&""!==this.datetime&&(this.datetime=null!==(t=h(""+this.datetime))&&void 0!==t?t:void 0);const a={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};x.locale("custom-locale",{relativeTime:a})}handleDismissibleChange(t){!1===t&&(this.dismissible=void 0)}handleDeletableChange(t){!1===t&&(this.deletable=void 0)}render(){var t;return r(n,{key:"14830fd226096ba0e4a23908a80777c033923aa0","pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},(null!==(t=this.icon)&&void 0!==t?t:"avatar"===this.preview)&&r("mds-avatar",{key:"acdddd7d881ce3e197dbff6739ce2f8bae045512",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&"avatar"!==this.preview&&r("mds-img",{key:"56eb02f1e285d25c865939f1388dd599b03598da",class:"picture",part:"picture",src:this.src}),r("div",{key:"f16836329fbdeae62f89bb508857df96435f6e28",class:"content",part:"content"},r("div",{key:"0dda0ac2cdc68b5c25b40a8ac41a85fcae9de480",class:"header"},r("div",{key:"0578618158458a600a89477d6650a6af1d3a5d7b",class:"infos"},r("div",{key:"997941970b86040ea2afda071af1126da5d73ed8",class:m("badge",!this.hasBadge&&"badge--hidden")},r("slot",{key:"fe76178d16c789a7c07268aa7fb4b79027056054",name:"badge",onSlotchange:this.onSlotChange})),this.subject&&r("mds-text",{key:"a2bf86680c0137b4f31555b22a257e370988a9f3",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&r("mds-text",{key:"58b984969110250db376bb39f541ecfd298bf0dc",class:"time",typography:"option"},"timeago"===this.dateFormat?x(this.datetime).fromNow():x(this.datetime).format(this.dateFormat))),r("mds-text",{key:"dd9170a5c751e1427bc4f3d82c9d64a3bf7e84d2",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),r("div",{key:"4ed5cb5c5eb21e6add9f9401af74cd9302803286",class:m("actions",!this.hasActions&&"actions--hidden"),part:"actions"},r("slot",{key:"4dfa757129a14e0f24f2b4a8b52ecc3498a0157e",name:"action",onSlotchange:this.onSlotChange}))),this.isDismissible()&&r("mds-button",{key:"e3f70b0cdb7480f8950d7b4922deb444f95fe471",class:"close-button",variant:"dark",tone:"text",title:this.t.get("dismiss"),icon:c,onClick:this.onClickClose}))}get host(){return this}static get watchers(){return{dismissible:[{handleDismissibleChange:0}],deletable:[{handleDeletableChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-button,mds-img,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-push-notification-item-duration:var(--duration-300,.3s);--private-push-notification-item-duration:var(--mds-push-notification-item-duration,var(--duration-300,.3s));--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-push-notification-item-message-line-clamp:2;--mds-push-notification-item-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-push-notification-item-subject-line-clamp:1;--mds-push-notification-item-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*8000);min-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*400);pointer-events:auto;position:relative;transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])),:host([dismissible]:not([dismissible=false])){padding-right:calc(var(--spacing,.0025rem)*800)}.content{display:grid;flex-grow:1}.actions{display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200);min-width:1px;padding-top:calc(var(--spacing,.0025rem)*200)}.actions--hidden,.badge--hidden{display:none}.avatar,.picture{flex-shrink:0}.picture{border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);max-width:calc(var(--spacing,.0025rem)*1200);width:100%}.close-button{opacity:0;padding:calc(var(--spacing,.0025rem)*150);position:absolute;right:0;top:0;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function)}:host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));opacity:1}.header{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:flex;flex-direction:column}.time{flex-shrink:0;margin-right:calc(var(--spacing,.0025rem)*100);white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-item-subject-line-clamp,1);line-height:var(--leading-sm,1.25rem)}.message,.subject{text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-item-message-line-clamp,2)}.avatar{background-color:var(--mds-push-notification-item-icon-background-color,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.avatar::part(svg){width:calc(var(--spacing,.0025rem)*600)}:host([src]) .avatar{background-color:#0000}:host([icon]) .avatar::part(wrapper){padding:calc(var(--spacing,.0025rem)*150)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-push-notification-item-duration:0s}:host([pref-contrast=more]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:host([variant=primary]),:host([variant=primary][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=orange][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-05,213 90 5));--mds-push-notification-item-icon-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]),:host([variant=orange][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-09,253 217 191));--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=amaranth][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]),:host([variant=amaranth][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]),:host([variant=orchid][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=purple][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-05,168 86 247));--mds-push-notification-item-icon-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]),:host([variant=purple][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-09,235 216 253));--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=red][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-05,230 66 66));--mds-push-notification-item-icon-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]),:host([variant=red][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-09,250 215 215));--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=violet][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-05,145 100 246));--mds-push-notification-item-icon-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]),:host([variant=violet][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-09,229 218 253));--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=blue][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-05,90 117 249));--mds-push-notification-item-icon-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]),:host([variant=blue][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-09,216 222 254));--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-05,12 136 193));--mds-push-notification-item-icon-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]),:host([variant=sky][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-09,185 231 251));--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]),:host([variant=aqua][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-05,26 148 71));--mds-push-notification-item-icon-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]),:host([variant=green][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-09,165 240 193));--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-05,93 143 15));--mds-push-notification-item-icon-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]),:host([variant=lime][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-09,189 239 111));--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]),:host([variant=yellow][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=error][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]),:host([variant=warning][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=success][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]),:host([variant=success][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=info][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]),:host([variant=info][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-push-notification-item-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"}},[257,"mds-push-notification-item",{datetime:[1537],dateFormat:[513,"date-format"],dismissible:[1540],deletable:[1540],icon:[513],initials:[1537],message:[513],preview:[513],src:[513],subject:[513],tone:[513],variant:[513],hasActions:[32],hasBadge:[32]},void 0,{dismissible:[{handleDismissibleChange:0}],deletable:[{handleDeletableChange:0}]}]),S=q,$=function(){"undefined"!=typeof customElements&&["mds-push-notification-item","mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-push-notification-item":customElements.get(e(t))||customElements.define(e(t),q);break;case"mds-avatar":customElements.get(e(t))||s();break;case"mds-button":customElements.get(e(t))||f();break;case"mds-icon":customElements.get(e(t))||p();break;case"mds-img":customElements.get(e(t))||v();break;case"mds-spinner":customElements.get(e(t))||b();break;case"mds-text":customElements.get(e(t))||g()}}))};export{S as MdsPushNotificationItem,$ as defineCustomElement}
|
|
1
|
+
import{p as t,H as a,d as i,h as r,c as n,t as e}from"./p-g2_CekDc.js";import{g as o,d as s}from"./p-Cty6fegI.js";import{m as c}from"./p-BJ8rpzfj.js";import{h as u}from"./p-DWIIDHSa.js";import{c as m}from"./p-ChV9xqsO.js";import{L as d}from"./p-BmlDGlcB.js";import{s as h}from"./p-CACEYk42.js";import{p as l}from"./p-AWCYh8Xe.js";import{d as f}from"./p-Bg11_7lt.js";import{d as b}from"./p-oHBGZ2Av.js";import{d as p}from"./p-CS8s4gRV.js";import{d as v}from"./p-D7C-gjL6.js";import{d as g}from"./p-aZlZ1XB9.js";var y,k,w={exports:{}},x=o((y||(y=1,w.exports=function(){var t=6e4,a=36e5,i="millisecond",r="second",n="minute",e="hour",o="day",s="week",c="month",u="quarter",m="year",d="date",h="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var a=["th","st","nd","rd"],i=t%100;return"["+t+(a[(i-20)%10]||a[i]||"th")+"]"}},p=function(t,a,i){var r=t+"";return!r||r.length>=a?t:""+Array(a+1-r.length).join(i)+t},v={s:p,z:function(t){var a=-t.utcOffset(),i=Math.abs(a),r=i%60;return(a<=0?"+":"-")+p(Math.floor(i/60),2,"0")+":"+p(r,2,"0")},m:function t(a,i){if(a.date()<i.date())return-t(i,a);var r=12*(i.year()-a.year())+(i.month()-a.month()),n=a.clone().add(r,c),e=i-n<0,o=a.clone().add(r+(e?-1:1),c);return+(-(r+(i-n)/(e?n-o:o-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:m,w:s,d:o,D:d,h:e,m:n,s:r,ms:i,Q:u}[t]||((t||"")+"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",y={};y[g]=b;var k="$isDayjsObject",w=function(t){return t instanceof j||!(!t||!t[k])},x=function t(a,i,r){var n;if(!a)return g;if("string"==typeof a){var e=a.toLowerCase();y[e]&&(n=e),i&&(y[e]=i,n=e);var o=a.split("-");if(!n&&o.length>1)return t(o[0])}else{var s=a.name;y[s]=a,n=s}return!r&&n&&(g=n),n||!r&&g},M=function(t,a){if(w(t))return t.clone();var i="object"==typeof a?a:{};return i.date=t,i.args=arguments,new j(i)},D=v;D.l=x,D.i=w,D.w=function(t,a){return M(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var j=function(){function b(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[k]=!0}var p=b.prototype;return p.parse=function(t){this.$d=function(t){var a=t.date,i=t.utc;if(null===a)return new Date(NaN);if(D.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var r=a.match(l);if(r){var n=r[2]-1||0,e=(r[7]||"0").substring(0,3);return i?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,e)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,e)}}return new Date(a)}(t),this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return D},p.isValid=function(){return!(""+this.$d===h)},p.isSame=function(t,a){var i=M(t);return this.startOf(a)<=i&&i<=this.endOf(a)},p.isAfter=function(t,a){return M(t)<this.startOf(a)},p.isBefore=function(t,a){return this.endOf(a)<M(t)},p.$g=function(t,a,i){return D.u(t)?this[a]:this.set(i,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,a){var i=this,u=!!D.u(a)||a,h=D.p(t),l=function(t,a){var r=D.w(i.$u?Date.UTC(i.$y,a,t):new Date(i.$y,a,t),i);return u?r:r.endOf(o)},f=function(t,a){return D.w(i.toDate()[t].apply(i.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(a)),i)},b=this.$W,p=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case m:return u?l(1,0):l(31,11);case c:return u?l(1,p):l(0,p+1);case s:var y=this.$locale().weekStart||0,k=(b<y?b+7:b)-y;return l(u?v-k:v+(6-k),p);case o:case d:return f(g+"Hours",0);case e:return f(g+"Minutes",1);case n:return f(g+"Seconds",2);case r:return f(g+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$set=function(t,a){var s,u=D.p(t),h="set"+(this.$u?"UTC":""),l=(s={},s[o]=h+"Date",s[d]=h+"Date",s[c]=h+"Month",s[m]=h+"FullYear",s[e]=h+"Hours",s[n]=h+"Minutes",s[r]=h+"Seconds",s[i]=h+"Milliseconds",s)[u],f=u===o?this.$D+(a-this.$W):a;if(u===c||u===m){var b=this.clone().set(d,1);b.$d[l](f),b.init(),this.$d=b.set(d,Math.min(this.$D,b.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},p.set=function(t,a){return this.clone().$set(t,a)},p.get=function(t){return this[D.p(t)]()},p.add=function(i,u){var d,h=this;i=Number(i);var l=D.p(u),f=function(t){var a=M(h);return D.w(a.date(a.date()+Math.round(t*i)),h)};if(l===c)return this.set(c,this.$M+i);if(l===m)return this.set(m,this.$y+i);if(l===o)return f(1);if(l===s)return f(7);var b=(d={},d[n]=t,d[e]=a,d[r]=1e3,d)[l]||1,p=this.$d.getTime()+i*b;return D.w(p,this)},p.subtract=function(t,a){return this.add(-1*t,a)},p.format=function(t){var a=this,i=this.$locale();if(!this.isValid())return i.invalidDate||h;var r=t||"YYYY-MM-DDTHH:mm:ssZ",n=D.z(this),e=this.$H,o=this.$m,s=this.$M,c=i.weekdays,u=i.months,m=function(t,i,n,e){return t&&(t[i]||t(a,r))||n[i].slice(0,e)},d=function(t){return D.s(e%12||12,t,"0")},l=i.meridiem||function(t,a,i){var r=t<12?"AM":"PM";return i?r.toLowerCase():r};return r.replace(f,(function(t,r){return r||function(t){switch(t){case"YY":return(a.$y+"").slice(-2);case"YYYY":return D.s(a.$y,4,"0");case"M":return s+1;case"MM":return D.s(s+1,2,"0");case"MMM":return m(i.monthsShort,s,u,3);case"MMMM":return m(u,s);case"D":return a.$D;case"DD":return D.s(a.$D,2,"0");case"d":return a.$W+"";case"dd":return m(i.weekdaysMin,a.$W,c,2);case"ddd":return m(i.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return e+"";case"HH":return D.s(e,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return l(e,o,!0);case"A":return l(e,o,!1);case"m":return o+"";case"mm":return D.s(o,2,"0");case"s":return a.$s+"";case"ss":return D.s(a.$s,2,"0");case"SSS":return D.s(a.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(i,d,h){var l,f=this,b=D.p(d),p=M(i),v=(p.utcOffset()-this.utcOffset())*t,g=this-p,y=function(){return D.m(f,p)};switch(b){case m:l=y()/12;break;case c:l=y();break;case u:l=y()/3;break;case s:l=(g-v)/6048e5;break;case o:l=(g-v)/864e5;break;case e:l=g/a;break;case n:l=g/t;break;case r:l=g/1e3;break;default:l=g}return h?l:D.a(l)},p.daysInMonth=function(){return this.endOf(c).$D},p.$locale=function(){return y[this.$L]},p.locale=function(t,a){if(!t)return this.$L;var i=this.clone(),r=x(t,a,!0);return r&&(i.$L=r),i},p.clone=function(){return D.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},b}(),C=j.prototype;return M.prototype=C,[["$ms",i],["$s",r],["$m",n],["$H",e],["$W",o],["$M",c],["$y",m],["$D",d]].forEach((function(t){C[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),M.extend=function(t,a){return t.$i||(t(a,j,M),t.$i=!0),M},M.locale=x,M.isDayjs=w,M.unix=function(t){return M(1e3*t)},M.en=y[g],M.Ls=y,M.p={},M}()),w.exports)),M={dismiss:"Κλείσιμο",future:"σε %s",past:"πριν από %s",s:"λίγα δευτ.",m:"1 λεπτό",mm:"%d λεπτά",h:"1 ώρα",hh:"%d ώρες",d:"1 ημέρα",dd:"%d ημέρες",M:"1 μήνας",MM:"%d μήνες",y:"1 έτος",yy:"%d έτη"},D={dismiss:"Close",future:"in %s",past:"%s ago",s:"few sec",m:"1 min",mm:"%d mins",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"},j={dismiss:"Cerrar",future:"en %s",past:"hace %s",s:"pocos seg",m:"1 min",mm:"%d mins",h:"1 hora",hh:"%d horas",d:"1 día",dd:"%d días",M:"1 mes",MM:"%d meses",y:"1 año",yy:"%d años"},C={dismiss:"Chiudi",future:"tra %s",past:"%s fa",s:"pochi sec",m:"1 min",mm:"%d min",h:"1 ora",hh:"%d ore",d:"1 giorno",dd:"%d giorni",M:"1 mese",MM:"%d mesi",y:"1 anno",yy:"%d anni"},_={exports:{}},Y=o((k||(k=1,_.exports=function(t,a,i){t=t||{};var r=a.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function e(t,a,i,n){return r.fromToBase(t,a,i,n)}i.en.relativeTime=n,r.fromToBase=function(a,r,e,o,s){for(var c,u,m,d=e.$locale().relativeTime||n,h=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],l=h.length,f=0;f<l;f+=1){var b=h[f];b.d&&(c=o?i(a).diff(e,b.d,!0):e.diff(a,b.d,!0));var p=(t.rounding||Math.round)(Math.abs(c));if(m=c>0,p<=b.r||!b.r){p<=1&&f>0&&(b=h[f-1]);var v=d[b.l];s&&(p=s(""+p)),u="string"==typeof v?v.replace("%d",p):v(p,r,b.l,m);break}}if(r)return u;var g=m?d.future:d.past;return"function"==typeof g?g(u):g.replace("%s",u)},r.to=function(t,a){return e(t,a,this,!0)},r.from=function(t,a){return e(t,a,this)};var o=function(t){return t.$u?i.utc():i()};r.toNow=function(t){return this.to(o(this),t)},r.fromNow=function(t){return this.from(o(this),t)}}),_.exports));const S=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.closedEvent=i(this,"mdsPushNotificationItemClose",7),this.t=new d({el:M,en:D,es:j,it:C}),this.dateFormat="timeago",this.deletable=!1,this.message="Nessun messaggio disponibile",this.preview="image",this.tone="weak",this.onClickClose=t=>{t.stopPropagation(),this.closedEvent.emit({id:this.host.id})},this.isDismissible=()=>!0===this.dismissible||!0===this.deletable,this.onSlotChange=()=>{this.hasActions=u(this.host,"action"),this.hasBadge=u(this.host,"badge")}}componentDidLoad(){this.handleDismissibleChange(this.dismissible),this.handleDeletableChange(this.deletable)}componentWillLoad(){var t;x.extend(Y),this.onSlotChange(),void 0!==this.datetime&&""!==this.datetime&&(this.datetime=null!==(t=h(""+this.datetime))&&void 0!==t?t:void 0);const a={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};x.locale("custom-locale",{relativeTime:a})}handleDismissibleChange(t){!1===t&&(this.dismissible=void 0)}handleDeletableChange(t){!1===t&&(this.deletable=void 0)}render(){var t;return r(n,{key:"d0a21ae35ae09e877be8dc38d7821002a971e2ea","pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},(null!==(t=this.icon)&&void 0!==t?t:"avatar"===this.preview)&&r("mds-avatar",{key:"c78c59876db9c681e18d0ba27198bca44fb4e288",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&"avatar"!==this.preview&&r("mds-img",{key:"75fe759e559e6873da0eb79b94a71e1cca541b4f",class:"picture",part:"picture",src:this.src}),r("div",{key:"277a1bbbba44bc30b1c85690e99dbee4544ebbbd",class:"content",part:"content"},r("div",{key:"77ad70ba7e30b15e56aacd37c9a883b08adcb3cf",class:"header"},r("div",{key:"42fae7c2a8122cc53f4d40c50e0c622cc30d4398",class:"infos"},r("div",{key:"b57aebdf60c34fa74448c4d601e26e034da29c57",class:m("badge",!this.hasBadge&&"badge--hidden")},r("slot",{key:"e8c38c362735b709608b780a66f23ae8b7d2c197",name:"badge",onSlotchange:this.onSlotChange})),this.subject&&r("mds-text",{key:"4f72c3e80334cf6e91a2cf384c4417f851f240ba",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&r("mds-text",{key:"3750f6266d49a045e5a60f9b3b6aca17d1be59e3",class:"time",typography:"option"},"timeago"===this.dateFormat?x(this.datetime).fromNow():x(this.datetime).format(this.dateFormat))),r("mds-text",{key:"56015a986d83001ba1b37bd23371b4ebb85b5c35",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),r("div",{key:"47dd547d4dd8a5fcbc81636cf9846e4ad64baf98",class:m("actions",!this.hasActions&&"actions--hidden"),part:"actions"},r("slot",{key:"c489df9b9209bc1dabac854bae44138bf9140ab4",name:"action",onSlotchange:this.onSlotChange}))),this.isDismissible()&&r("mds-button",{key:"91b50e0f6c7f3e69c4946c2447321cfa31a20d50",class:"close-button",variant:"dark",tone:"text",title:this.t.get("dismiss"),icon:c,onClick:this.onClickClose}))}get host(){return this}static get watchers(){return{dismissible:[{handleDismissibleChange:0}],deletable:[{handleDeletableChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-button,mds-img,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-push-notification-item-duration:var(--duration-300,.3s);--private-push-notification-item-duration:var(--mds-push-notification-item-duration,var(--duration-300,.3s));--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-push-notification-item-message-line-clamp:2;--mds-push-notification-item-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-push-notification-item-subject-line-clamp:1;--mds-push-notification-item-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*8000);min-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*400);pointer-events:auto;position:relative;transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])),:host([dismissible]:not([dismissible=false])){padding-right:calc(var(--spacing,.0025rem)*800)}.content{display:grid;flex-grow:1}.actions{display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200);min-width:1px;padding-top:calc(var(--spacing,.0025rem)*200)}.actions--hidden,.badge--hidden{display:none}.avatar,.picture{flex-shrink:0}.picture{border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);max-width:calc(var(--spacing,.0025rem)*1200);width:100%}.close-button{opacity:0;padding:calc(var(--spacing,.0025rem)*150);position:absolute;right:0;top:0;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function)}:host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));opacity:1}.header{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:flex;flex-direction:column}.time{flex-shrink:0;margin-right:calc(var(--spacing,.0025rem)*100);white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-item-subject-line-clamp,1);line-height:var(--leading-sm,1.25rem)}.message,.subject{text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-item-message-line-clamp,2)}.avatar{background-color:var(--mds-push-notification-item-icon-background-color,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.avatar::part(svg){width:calc(var(--spacing,.0025rem)*600)}:host([src]) .avatar{background-color:#0000}:host([icon]) .avatar::part(wrapper){padding:calc(var(--spacing,.0025rem)*150)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-push-notification-item-duration:0s}:host([pref-contrast=more]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:host([variant=primary]),:host([variant=primary][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=orange][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-05,213 90 5));--mds-push-notification-item-icon-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]),:host([variant=orange][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-09,253 217 191));--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=amaranth][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]),:host([variant=amaranth][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]),:host([variant=orchid][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=purple][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-05,168 86 247));--mds-push-notification-item-icon-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]),:host([variant=purple][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-09,235 216 253));--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=red][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-05,230 66 66));--mds-push-notification-item-icon-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]),:host([variant=red][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-09,250 215 215));--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=violet][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-05,145 100 246));--mds-push-notification-item-icon-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]),:host([variant=violet][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-09,229 218 253));--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=blue][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-05,90 117 249));--mds-push-notification-item-icon-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]),:host([variant=blue][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-09,216 222 254));--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-05,12 136 193));--mds-push-notification-item-icon-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]),:host([variant=sky][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-09,185 231 251));--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]),:host([variant=aqua][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-05,26 148 71));--mds-push-notification-item-icon-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]),:host([variant=green][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-09,165 240 193));--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-05,93 143 15));--mds-push-notification-item-icon-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]),:host([variant=lime][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-09,189 239 111));--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]),:host([variant=yellow][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=error][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]),:host([variant=warning][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=success][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]),:host([variant=success][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=info][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]),:host([variant=info][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-push-notification-item-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"}},[257,"mds-push-notification-item",{datetime:[1537],dateFormat:[513,"date-format"],dismissible:[1540],deletable:[1540],icon:[513],initials:[1537],message:[513],preview:[513],src:[513],subject:[513],tone:[513],variant:[513],hasActions:[32],hasBadge:[32]},void 0,{dismissible:[{handleDismissibleChange:0}],deletable:[{handleDeletableChange:0}]}]),q=S,$=function(){"undefined"!=typeof customElements&&["mds-push-notification-item","mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-push-notification-item":customElements.get(e(t))||customElements.define(e(t),S);break;case"mds-avatar":customElements.get(e(t))||s();break;case"mds-button":customElements.get(e(t))||f();break;case"mds-icon":customElements.get(e(t))||b();break;case"mds-img":customElements.get(e(t))||p();break;case"mds-spinner":customElements.get(e(t))||v();break;case"mds-text":customElements.get(e(t))||g()}}))};export{q as MdsPushNotificationItem,$ as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as i,H as t,d as s,h as o,c as a,t as e}from"./p-
|
|
1
|
+
import{p as i,H as t,d as s,h as o,c as a,t as e}from"./p-g2_CekDc.js";import{a as n,c as r}from"./p-CWk1SCJg.js";import{L as c}from"./p-BmlDGlcB.js";import{p as m}from"./p-AWCYh8Xe.js";import{d}from"./p-Bg11_7lt.js";import{d as h}from"./p-oHBGZ2Av.js";import{d as l}from"./p-D7C-gjL6.js";import{d as p}from"./p-aZlZ1XB9.js";var f={clearNotifications:"Εκκαθάριση ειδοποιήσεων"},u={clearNotifications:"Clear notifications"},g={clearNotifications:"Borrar notificaciones"},b={clearNotifications:"Cancella notifiche"};const v=i(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.changedEvent=s(this,"mdsPushNotificationChange",7),this.shownEvent=s(this,"mdsPushNotificationShow",7),this.hiddenEvent=s(this,"mdsPushNotificationHide",7),this.t=new c({el:f,en:u,es:g,it:b}),this.behavior="auto",this.introItem=i=>(i.style.marginBottom=`-${i.offsetHeight+n(this.cssItemsGap)}px`,new Promise((t=>{setTimeout((()=>{i.style.marginBottom=`-${i.offsetHeight+n(this.cssItemsGap)}px`,setTimeout((()=>{i.style.visibility="visible",i.style.position="relative",i.style.transform="translate(0, 0)",i.style.marginBottom="0px",t()}),r(this.cssItemsIntroDuration))}),15)}))),this.outroItem=i=>(this.slotNotifications.assignedElements().length<=1&&this.hide(),i.style.marginBottom="0px",new Promise((t=>{setTimeout((()=>{i.style.marginBottom="0px",setTimeout((()=>{i.addEventListener("transitionend",(()=>{i.remove()})),i.style.removeProperty("transform"),i.style.marginBottom=`-${i.offsetHeight+n(this.cssItemsGap)}px`,t()}),r(this.cssItemsOutroDuration))}),15)}))),this.handleSlotChange=()=>{const i=this.slotNotifications.assignedElements().map((i=>i)).filter((i=>""===i.style.visibility));0!==i.length&&(i.forEach((async i=>{i.addEventListener("mdsPushNotificationItemClose",(()=>this.outroItem(i))),await this.introItem(i)})),"auto"===this.behavior&&this.show())},this.updateCSSCustomProps=()=>{var i,t,s;const o=window.getComputedStyle(this.host);this.cssItemsGap=null!==(i=o.getPropertyValue("--mds-push-notification-items-gap"))&&void 0!==i?i:"0.5rem",this.cssItemsIntroDuration=null!==(t=o.getPropertyValue("--mds-push-notification-items-intro-delay"))&&void 0!==t?t:"200ms",this.cssItemsOutroDuration=null!==(s=o.getPropertyValue("--mds-push-notification-items-outro-delay"))&&void 0!==s?s:"0ms"},this.clear=()=>{this.slotNotifications.assignedElements().forEach((i=>this.outroItem(i))),this.hide()}}show(){return this.visible=!0,Promise.resolve()}hide(){return this.visible=void 0,Promise.resolve()}removeNotification(i){return Array.isArray(i)?i.forEach(this.outroItem):this.outroItem(i),Promise.resolve()}componentDidLoad(){this.updateCSSCustomProps(),this.slotNotifications.addEventListener("slotchange",this.handleSlotChange),this.handleSlotChange()}visibleChanged(i){return i?(this.changedEvent.emit({visible:!0}),void this.shownEvent.emit()):void 0===i?(this.changedEvent.emit({visible:!1}),void this.hiddenEvent.emit()):void(this.visible=void 0)}render(){return o(a,{key:"86075c74b57be72288f6ff4c5e09705ef55c5158","pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},o("mds-button",{key:"4fba585d6b3f4e427ac2418a8412caa78c9fcffb",variant:"dark",onClick:this.clear,label:this.t.get("clearNotifications")}),o("div",{key:"f1e912771abfa2c815237063b10b2d1e81494b9a",class:"notifications",part:"notifications"},o("slot",{key:"716d88f48d375428cf81c2c6f6c568d88ac600c1",ref:i=>this.slotNotifications=i})))}get host(){return this}static get watchers(){return{visible:[{visibleChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:var(--duration-300,.3s);--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:var(--duration-300,.3s);--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/0) 0%,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/.85) 100%);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:calc(var(--spacing,.0025rem)*9000);min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,2000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-item-duration:var(--mds-push-notification-items-duration,var(--duration-300,.3s));--mds-push-notification-item-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}}'}},[257,"mds-push-notification",{visible:[1540],behavior:[1],show:[64],hide:[64],removeNotification:[64]},void 0,{visible:[{visibleChanged:0}]}]),k=v,y=function(){"undefined"!=typeof customElements&&["mds-push-notification","mds-button","mds-icon","mds-spinner","mds-text"].forEach((i=>{switch(i){case"mds-push-notification":customElements.get(e(i))||customElements.define(e(i),v);break;case"mds-button":customElements.get(e(i))||d();break;case"mds-icon":customElements.get(e(i))||h();break;case"mds-spinner":customElements.get(e(i))||l();break;case"mds-text":customElements.get(e(i))||p()}}))};export{k as MdsPushNotification,y as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as a,c as s,t as
|
|
1
|
+
import{p as e,H as t,h as a,c as s,t as d}from"./p-g2_CekDc.js";import{p as o}from"./p-AWCYh8Xe.js";import{d as r}from"./p-aZlZ1XB9.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.typography="h3",this.tag="h3"}render(){return a(s,{key:"491a828d48c3d535cded139ae8410bb11f41708a","pref-contrast":o.state.contrast},a("mds-text",{key:"3b4daf005144099d4b0804192603aa0c2d273f9b",class:"open-quote",tag:"div",typography:this.typography},a("span",{key:"30d075dc69a936582ba65c8860e6d7cfc0e025f4"},a("i",{key:"9bbc4c074d2b66a7073a19483c022f4a0fa7ba9b"},"❝ "))),a("div",{key:"b59ae4dc6f43080125dad853566f9c9d41c18495",class:"quote"},a("mds-text",{key:"d2b5457edd6426dfa4fccdc3c47ea45a96b804ad",tag:this.tag,typography:this.typography},a("i",{key:"977ee2f996f2134c3633d1e67cced1a9502c4610"},a("slot",{key:"5fc8f691daa764c9c610c7dd14cfadaa18a81767"}),a("span",{key:"d4e76a6a412606bb0dc55881cee99dd937a0659e"}," ❞"))),a("slot",{key:"c39d5d22504b79c3c406069619d001dfa4d1289d",name:"author"})))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex}.open-quote{flex-shrink:0}.quote{display:grid;gap:calc(var(--spacing,.0025rem)*400);-webkit-user-select:all;user-select:all}span{-webkit-user-select:none;user-select:none}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"}},[257,"mds-quote",{typography:[1],tag:[1]}]),n=c,i=function(){"undefined"!=typeof customElements&&["mds-quote","mds-text"].forEach((e=>{switch(e){case"mds-quote":customElements.get(d(e))||customElements.define(d(e),c);break;case"mds-text":customElements.get(d(e))||r()}}))};export{n as MdsQuote,i as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as i,h as e,c as s,t as
|
|
1
|
+
import{p as t,H as i,h as e,c as s,t as n}from"./p-g2_CekDc.js";import{d as a}from"./p-Bg11_7lt.js";import{d as o}from"./p-oHBGZ2Av.js";import{d as r}from"./p-D7C-gjL6.js";import{d as m}from"./p-aZlZ1XB9.js";import{d}from"./p-MjWyZlga.js";const l=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tone="weak",this.variant="dark",this.size="lg"}render(){return e(s,{key:"2480382503fb86778e5b68c823d68571286b3263",slot:"item"},e("mds-button",{key:"2815d05863e74c12c66216c54f25146212db42eb","aria-label":this.tooltip,class:"button",icon:this.icon,variant:this.variant,tone:this.tone,size:this.size}),this.tooltip&&e("mds-tooltip",{key:"e53369b4bd2bef594146baee609b04d8e3043922",class:"tooltip",target:".button",placement:"top",disableAutoPlacement:!0},this.tooltip))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-item-transition-duration:var(--mds-radial-menu-transition-duration,var(--duration-500,.5s));--mds-radial-menu-item-transition-timing-function:var(--mds-radial-menu-transition-timing-function,var(--ease-out-expo,cubic-bezier(.19,1,.22,1)));--mds-radial-menu-item-delay:0;--mds-radial-menu-item-index:0;display:inline-flex;inset:0;pointer-events:none;position:absolute;transform:scale(0);transition-delay:var(--mds-radial-menu-item-delay);transition-duration:var(--mds-radial-menu-item-transition-duration,var(--duration-500,.5s));transition-property:translate,transform;transition-timing-function:var(--mds-radial-menu-item-transition-timing-function);translate:var(--mds-radial-menu-item-translate)}:host(:hover){z-index:1}.button{border-radius:100%}.tooltip{--mds-tooltip-delay:0;min-width:max-content;width:min-content}"}},[1,"mds-radial-menu-item",{tooltip:[513],icon:[1537],tone:[513],variant:[513],size:[513]}]),u=l,c=function(){"undefined"!=typeof customElements&&["mds-radial-menu-item","mds-button","mds-icon","mds-spinner","mds-text","mds-tooltip"].forEach((t=>{switch(t){case"mds-radial-menu-item":customElements.get(n(t))||customElements.define(n(t),l);break;case"mds-button":customElements.get(n(t))||a();break;case"mds-icon":customElements.get(n(t))||o();break;case"mds-spinner":customElements.get(n(t))||r();break;case"mds-text":customElements.get(n(t))||m();break;case"mds-tooltip":customElements.get(n(t))||d()}}))};export{u as MdsRadialMenuItem,c as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as a,h as i,c as n,t as s}from"./p-TZJN-ygm.js";import{q as t}from"./p-DWIIDHSa.js";import{m as d}from"./p-J-ikDhyq.js";import{c as r}from"./p-ChV9xqsO.js";import{B as m}from"./p-CpuUmvdl.js";import{L as o}from"./p-CvbuCEYD.js";import{d as l}from"./p-BE05D6Pe.js";import{d as c}from"./p-BBrPpCNK.js";import{d as u}from"./p-C6LU1s8K.js";import{d as h}from"./p-DN1yF-xO.js";var p={closeMenu:"Κλείσιμο μενού",openMenu:"Άνοιγμα μενού"},g={closeMenu:"Close menu",openMenu:"Open menu"},v={closeMenu:"Cerrar el menú",openMenu:"Abrir el menú"},f={closeMenu:"Chiudi il menu",openMenu:"Apri il menu"};const b=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.t=new o({el:p,en:g,es:v,it:f}),this.backdropController=new m("mds-radial-menu-backdrop"),this.direction="clockwise",this.backdrop=!1,this.interaction="click",this.variant="dark",this.tone="strong",this.size="lg",this.toggleMenu=()=>{this.opened=!0!==this.opened||void 0},this.setItemSize=()=>{var e;null===(e=this.items)||void 0===e||e.forEach((e=>{e.size=this.size}))},this.setItemIndex=()=>{this.items.forEach(((e,a)=>{e.style.setProperty("--mds-radial-menu-item-index",""+a)}))},this.writeGeometry=(e,a,i)=>{"number"==typeof a&&Number.isFinite(a)?this.hostElement.style.setProperty(e,`${a}${i}`):this.hostElement.style.removeProperty(e)},this.updateItems=()=>{this.items=t(this.hostElement,"item"),this.setItemSize(),this.setItemIndex(),this.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",""+(this.items.length-1))},this.handleOutsideClick=e=>{e.composedPath().includes(this.hostElement)||(this.opened=void 0)},this.handleEscape=e=>{var a,i;if("Escape"!==e.key)return;const n=this.hostElement.matches(":focus-within");this.opened=void 0,n&&"click"===this.interaction&&(null===(i=null===(a=this.hostElement.shadowRoot)||void 0===a?void 0:a.querySelector(".menu-button"))||void 0===i||i.focus())},this.listenOutside=e=>{"undefined"!=typeof document&&(document.removeEventListener("click",this.handleOutsideClick),document.removeEventListener("keydown",this.handleEscape),e&&(document.addEventListener("click",this.handleOutsideClick),document.addEventListener("keydown",this.handleEscape)))},this.toggleRightClickMenu=e=>{e.preventDefault(),this.hostElement.style.top=e.clientY-this.hostElement.offsetHeight/2+"px",this.hostElement.style.left=e.clientX-this.hostElement.offsetWidth/2+"px",this.toggleMenu()},this.handleBackdrop=()=>{this.backdrop&&this.opened?this.backdropController.attachBackdrop():this.backdropController.detachBackdrop()}}componentWillLoad(){var e;this.icon=null!==(e=this.icon)&&void 0!==e?e:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>',this.onAngleStartChange(this.angleStart),this.onAngleEndChange(this.angleEnd),this.onRadiusChange(this.radius),this.onSizeChange()}componentDidLoad(){this.updateItems(),this.onOpenedChange(this.opened),this.onInteractionChange(this.interaction)}disconnectedCallback(){"undefined"!=typeof document&&(document.removeEventListener("contextmenu",this.toggleRightClickMenu),this.listenOutside(!1))}onDiscChanged(e){!1===e&&(this.disc=void 0)}backdropChanged(e){!1===e&&(this.backdrop=void 0),this.handleBackdrop()}onInteractionChange(e){"undefined"!=typeof document&&("rightclick"!==e?document.removeEventListener("contextmenu",this.toggleRightClickMenu):document.addEventListener("contextmenu",this.toggleRightClickMenu))}onAngleStartChange(e){this.writeGeometry("--mds-radial-menu-angle-start",e,"deg")}onAngleEndChange(e){this.writeGeometry("--mds-radial-menu-angle-end",e,"deg")}onRadiusChange(e){this.writeGeometry("--mds-radial-menu-radius",e,"rem")}onSizeChange(){this.setItemSize()}onOpenedChange(e){!1===e&&(this.opened=void 0),this.handleBackdrop(),this.listenOutside(!!e)}render(){return i(n,{key:"50afd404c2d35151f6763801445ef1b47ed1fbd0"},i("mds-button",{key:"9c7e5505b3a32d5102ddbde9bb9fc3aeb9e9f0bf","aria-label":this.t.get(this.opened?"closeMenu":"openMenu"),class:r("menu-button","click"!==this.interaction&&"menu-button--hidden"),icon:this.opened?d:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),i("div",{key:"352bccc56d2b08d3705c514808cd16ee8ceb747d",class:"radial-menu",part:"radial-menu"},i("slot",{key:"e55721554687ce5f754210503680a8d22e46483f",name:"item",onSlotchange:this.updateItems})),i("div",{key:"2c77b3c3b897312fee4fee0354bb5f1d92f295ab",class:"disc"}))}get hostElement(){return this}static get watchers(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5);--mds-radial-menu-disc-filter:blur(calc(var(--spacing,.0025rem)*200));--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)) * 2);--mds-radial-menu-radius:calc(var(--spacing,.0025rem)*2000);--mds-radial-menu-transition-duration:var(--duration-500,.5s);--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--private-radial-menu-sweep:calc(var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg));--mds-radial-menu-is-full-circle:cos(clamp(0deg,max(var(--private-radial-menu-sweep) - 360deg,360deg - var(--private-radial-menu-sweep)) * 1000,90deg));--mds-radial-menu-is-start-greater-than-end:sin(clamp(-90deg,var(--private-radial-menu-sweep) * 1000,90deg));display:inline-flex;position:relative;transition-duration:var(--mds-radial-menu-transition-duration);transition-property:top,left;transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);transition-duration:var(--mds-radial-menu-transition-duration);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem)*2000))}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(calc(var(--spacing,.0025rem) * 2000) * 2)) + var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5));border-radius:100%;box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transition-delay:var(--mds-radial-menu-disc-delay);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:height,transform,width;transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}"}},[257,"mds-radial-menu",{angleStart:[514,"angle-start"],angleEnd:[514,"angle-end"],radius:[514],direction:[513],opened:[1540],disc:[1540],backdrop:[516],interaction:[513],icon:[1537],variant:[513],tone:[513],size:[513]},void 0,{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}]),x=b,y=function(){"undefined"!=typeof customElements&&["mds-radial-menu","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-radial-menu":customElements.get(s(e))||customElements.define(s(e),b);break;case"mds-button":customElements.get(s(e))||l();break;case"mds-icon":customElements.get(s(e))||c();break;case"mds-spinner":customElements.get(s(e))||u();break;case"mds-text":customElements.get(s(e))||h()}}))};export{x as MdsRadialMenu,y as defineCustomElement}
|
|
1
|
+
import{p as a,H as e,h as i,c as n,t as s}from"./p-g2_CekDc.js";import{q as t}from"./p-DWIIDHSa.js";import{m as d}from"./p-J-ikDhyq.js";import{c as r}from"./p-ChV9xqsO.js";import{B as m}from"./p-CtEHhdv4.js";import{L as o}from"./p-BmlDGlcB.js";import{d as l}from"./p-Bg11_7lt.js";import{d as c}from"./p-oHBGZ2Av.js";import{d as u}from"./p-D7C-gjL6.js";import{d as h}from"./p-aZlZ1XB9.js";var g={closeMenu:"Κλείσιμο μενού",openMenu:"Άνοιγμα μενού"},p={closeMenu:"Close menu",openMenu:"Open menu"},v={closeMenu:"Cerrar el menú",openMenu:"Abrir el menú"},f={closeMenu:"Chiudi il menu",openMenu:"Apri il menu"};const b=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new o({el:g,en:p,es:v,it:f}),this.backdropController=new m("mds-radial-menu-backdrop"),this.direction="clockwise",this.backdrop=!1,this.interaction="click",this.variant="dark",this.tone="strong",this.size="lg",this.toggleMenu=()=>{this.opened=!0!==this.opened||void 0},this.setItemSize=()=>{var a;null===(a=this.items)||void 0===a||a.forEach((a=>{a.size=this.size}))},this.setItemIndex=()=>{this.items.forEach(((a,e)=>{a.style.setProperty("--mds-radial-menu-item-index",""+e)}))},this.writeGeometry=(a,e,i)=>{"number"==typeof e&&Number.isFinite(e)?this.hostElement.style.setProperty(a,`${e}${i}`):this.hostElement.style.removeProperty(a)},this.updateItems=()=>{this.items=t(this.hostElement,"item"),this.setItemSize(),this.setItemIndex(),this.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",""+(this.items.length-1))},this.handleOutsideClick=a=>{a.composedPath().includes(this.hostElement)||(this.opened=void 0)},this.handleEscape=a=>{var e,i;if("Escape"!==a.key)return;const n=this.hostElement.matches(":focus-within");this.opened=void 0,n&&"click"===this.interaction&&(null===(i=null===(e=this.hostElement.shadowRoot)||void 0===e?void 0:e.querySelector(".menu-button"))||void 0===i||i.focus())},this.listenOutside=a=>{"undefined"!=typeof document&&(document.removeEventListener("click",this.handleOutsideClick),document.removeEventListener("keydown",this.handleEscape),a&&(document.addEventListener("click",this.handleOutsideClick),document.addEventListener("keydown",this.handleEscape)))},this.toggleRightClickMenu=a=>{a.preventDefault(),this.hostElement.style.top=a.clientY-this.hostElement.offsetHeight/2+"px",this.hostElement.style.left=a.clientX-this.hostElement.offsetWidth/2+"px",this.toggleMenu()},this.handleBackdrop=()=>{this.backdrop&&this.opened?this.backdropController.attachBackdrop():this.backdropController.detachBackdrop()}}componentWillLoad(){var a;this.icon=null!==(a=this.icon)&&void 0!==a?a:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>',this.onAngleStartChange(this.angleStart),this.onAngleEndChange(this.angleEnd),this.onRadiusChange(this.radius),this.onSizeChange()}componentDidLoad(){this.updateItems(),this.onOpenedChange(this.opened),this.onInteractionChange(this.interaction)}disconnectedCallback(){"undefined"!=typeof document&&(document.removeEventListener("contextmenu",this.toggleRightClickMenu),this.listenOutside(!1))}onDiscChanged(a){!1===a&&(this.disc=void 0)}backdropChanged(a){!1===a&&(this.backdrop=void 0),this.handleBackdrop()}onInteractionChange(a){"undefined"!=typeof document&&("rightclick"!==a?document.removeEventListener("contextmenu",this.toggleRightClickMenu):document.addEventListener("contextmenu",this.toggleRightClickMenu))}onAngleStartChange(a){this.writeGeometry("--mds-radial-menu-angle-start",a,"deg")}onAngleEndChange(a){this.writeGeometry("--mds-radial-menu-angle-end",a,"deg")}onRadiusChange(a){this.writeGeometry("--mds-radial-menu-radius",a,"rem")}onSizeChange(){this.setItemSize()}onOpenedChange(a){!1===a&&(this.opened=void 0),this.handleBackdrop(),this.listenOutside(!!a)}render(){return i(n,{key:"1a6ad969a1f8ac7bdc3b45765d194756789e7914"},i("mds-button",{key:"1cacf81c7cb48c4ac0bcbc860fd30c8f48b6b130","aria-label":this.t.get(this.opened?"closeMenu":"openMenu"),class:r("menu-button","click"!==this.interaction&&"menu-button--hidden"),icon:this.opened?d:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),i("div",{key:"3a5b3cf8e13aafc7c14154e7f60f5ef842ce7e3b",class:"radial-menu",part:"radial-menu"},i("slot",{key:"30ece6c2b2192a4f8a62548f86f62237b0f9a3ff",name:"item",onSlotchange:this.updateItems})),i("div",{key:"b62a5837203506d1278dd55f970a7751f0c3c52a",class:"disc"}))}get hostElement(){return this}static get watchers(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5);--mds-radial-menu-disc-filter:blur(calc(var(--spacing,.0025rem)*200));--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)) * 2);--mds-radial-menu-radius:calc(var(--spacing,.0025rem)*2000);--mds-radial-menu-transition-duration:var(--duration-500,.5s);--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--private-radial-menu-sweep:calc(var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg));--mds-radial-menu-is-full-circle:cos(clamp(0deg,max(var(--private-radial-menu-sweep) - 360deg,360deg - var(--private-radial-menu-sweep)) * 1000,90deg));--mds-radial-menu-is-start-greater-than-end:sin(clamp(-90deg,var(--private-radial-menu-sweep) * 1000,90deg));display:inline-flex;position:relative;transition-duration:var(--mds-radial-menu-transition-duration);transition-property:top,left;transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);transition-duration:var(--mds-radial-menu-transition-duration);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem)*2000))}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(calc(var(--spacing,.0025rem) * 2000) * 2)) + var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5));border-radius:100%;box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transition-delay:var(--mds-radial-menu-disc-delay);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:height,transform,width;transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}"}},[257,"mds-radial-menu",{angleStart:[514,"angle-start"],angleEnd:[514,"angle-end"],radius:[514],direction:[513],opened:[1540],disc:[1540],backdrop:[516],interaction:[513],icon:[1537],variant:[513],tone:[513],size:[513]},void 0,{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}]),x=b,y=function(){"undefined"!=typeof customElements&&["mds-radial-menu","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-radial-menu":customElements.get(s(a))||customElements.define(s(a),b);break;case"mds-button":customElements.get(s(a))||l();break;case"mds-icon":customElements.get(s(a))||c();break;case"mds-spinner":customElements.get(s(a))||u();break;case"mds-text":customElements.get(s(a))||h()}}))};export{x as MdsRadialMenu,y as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as o,d as s}from"./p-
|
|
1
|
+
import{M as o,d as s}from"./p-BG1fjwnd.js";const p=o,r=s;export{p as MdsRadialProgress,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as s,d as o}from"./p-
|
|
1
|
+
import{M as s,d as o}from"./p-Cs8RIbsQ.js";const p=s,r=o;export{p as MdsSeparator,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as
|
|
1
|
+
import{M as o,d as s}from"./p-D7C-gjL6.js";const p=o,r=s;export{p as MdsSpinner,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as a,H as t,h as s,c as r,t as e}from"./p-
|
|
1
|
+
import{p as a,H as t,h as s,c as r,t as e}from"./p-g2_CekDc.js";import{p as o}from"./p-AWCYh8Xe.js";import{d as i}from"./p-Bg11_7lt.js";import{d}from"./p-oHBGZ2Av.js";import{d as m}from"./p-BiJ4xa4V.js";import{d as c}from"./p-D7C-gjL6.js";import{d as n}from"./p-aZlZ1XB9.js";const l=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.overflow="manual",this.position="bottom-right",this.handleModalClose=()=>{this.visible=void 0}}handleVisbilityProp(a){!1===a&&(this.visible=void 0)}async hide(){this.visible=void 0}render(){return s(r,{key:"1565b05d0612583dc07155efba9e4af8141912d3","pref-consumption":o.state.consumption,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},s("mds-modal",{key:"f9e72231e344ba37aea2237a38e503127dca8b36",class:"modal",hideBackdrop:!0,onMdsModalClose:this.handleModalClose,opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},s("div",{key:"cabc0d4462f4252754fbc7d19cfca59793f687af",class:"status-bar-area",part:"status-bar-area",slot:"window"},s("div",{key:"66dda69b720346a2989ddf397fe9652e8c03ae79",class:"status-bar",part:"status-bar"},this.description&&s("mds-text",{key:"2d00da12d0943b5d126f28b04eee1c19321c2161",typography:"caption",class:"description"},this.description),s("div",{key:"21b538c7f39924e0929f018185388b773ea7d1ba",class:"actions",part:"actions"},s("slot",{key:"cd54a6b9e0f074b9e408e48b304eaffeb411288e"}))))))}get host(){return this}static get watchers(){return{visible:[{handleVisbilityProp:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);max-width:none;padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity;width:auto}.status-bar{--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;gap:calc(var(--spacing,.0025rem)*400);max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap}.actions{flex-grow:1;gap:var(--magma-rhythm-inline,12px)}@container status-bar not (min-width:23.75rem){.actions{flex-basis:100%;flex-direction:column}::slotted(*){align-self:stretch}}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar,:host([pref-theme-scheme=dark]) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{container:status-bar/inline-size;width:100%}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"}},[257,"mds-status-bar",{description:[513],overflow:[513],position:[513],visible:[1540],hide:[64]},void 0,{visible:[{handleVisbilityProp:0}]}]),p=l,u=function(){"undefined"!=typeof customElements&&["mds-status-bar","mds-button","mds-icon","mds-modal","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-status-bar":customElements.get(e(a))||customElements.define(e(a),l);break;case"mds-button":customElements.get(e(a))||i();break;case"mds-icon":customElements.get(e(a))||d();break;case"mds-modal":customElements.get(e(a))||m();break;case"mds-spinner":customElements.get(e(a))||c();break;case"mds-text":customElements.get(e(a))||n()}}))};export{p as MdsStatusBar,u as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as r,d as a,h as t,c as s,t as i}from"./p-TZJN-ygm.js";import{c as o}from"./p-ChV9xqsO.js";import{K as n}from"./p-CGrPq3C4.js";import{L as d}from"./p-CvbuCEYD.js";import{p}from"./p-Bbrei_yQ.js";import{d as m}from"./p-DrtIqOQn.js";import{d as c}from"./p-BBrPpCNK.js";import{d as u}from"./p-Vgo7t88R.js";import{d as b}from"./p-lXKBo6V3.js";import{d as l}from"./p-DN1yF-xO.js";var g={badgeDone:"Ολοκληρώθηκε",badgeCurrent:"Καθημερινή",badgeQueued:"Σε αναμονή",step:"Βήμα {{ index }}"},h={badgeDone:"Done",badgeCurrent:"Current",badgeQueued:"Queued",step:"Step {{ index }}"},v={badgeDone:"Completado",badgeCurrent:"En curso",badgeQueued:"En cola",step:"Paso {{ index }}"},f={badgeDone:"Completato",badgeCurrent:"In corso",badgeQueued:"In coda",step:"Step {{ index }}"};const y=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doneEvent=a(this,"mdsStepperBarItemDone",7),this.km=new n,this.t=new d({el:g,en:h,es:v,it:f}),this.iconChecked=this.icon,this.done=!1,this.current=!1,this.typography="h6",this.isReachable=()=>!!this.isDone&&!this.isCurrent,this.handleClick=()=>{var e;this.isReachable()&&this.doneEvent.emit({value:null!==(e=this.value)&&void 0!==e?e:""})},this.showBadge=()=>t("mds-badge",this.isDone?{class:"badge",variant:"success",tone:"weak",typography:"option",label:this.t.get("badgeDone")}:this.isCurrent?{class:"badge",variant:"info",tone:"weak",typography:"option",label:this.t.get("badgeCurrent")}:{class:"badge",variant:"dark",tone:"weak",typography:"option",label:this.t.get("badgeQueued")})}componentWillLoad(){this.isCurrent=this.current,this.isDone=this.done;const e=this.host.parentElement;e&&(this.index=Array.from(e.children).filter((e=>e.tagName===this.host.tagName)).indexOf(this.host))}componentDidLoad(){this.km.addElement(this.host),this.km.attachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}selectedHandler(e){this.isDone=e}currentHandler(e){this.isCurrent=e}render(){return t(s,{key:"c148fade103ed5492e0ee8fdd6d6a67815682e28",onClick:this.handleClick,"pref-animation":p.state.animation,role:this.isReachable()?"button":void 0,tabindex:this.isReachable()?"0":void 0},t("div",{key:"9dd7c9a4f85276e408a89fc1af0e62c5c07b4d17",class:"header"},t("mds-icon",{key:"d7dd1d04438a250cdb08968a34be726c0cf6e9f6",class:"icon",name:o(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),t("mds-progress",{key:"1f25e035cc868887c91e60322622bee9c5933a1c","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),t("div",{key:"5659c6702369d3db54f9ea1bc1fed7d02d089a4d",class:"infos"},this.step&&t("mds-text",{key:"b973fcfc8225369bd26bae1452dd43738a9cebe6",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&t("mds-text",{key:"f6b876a52756bc1ad7b22f579f4606f315dfdd11",class:"text",typography:this.typography},this.label),this.badge&&t("div",{key:"900d7a98f21cd4b167374dc50f9f6c1ae8f529f0",part:"badge"},this.showBadge())))}get host(){return this}static get watchers(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-progress,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-stepper-bar-item-min-width:calc(var(--spacing,.0025rem)*4500);--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,calc(var(--spacing,.0025rem)*4500));position:relative;scroll-snap-align:center;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){flex-basis:calc(var(--spacing,.0025rem)*100)}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;gap:var(--mds-stepper-bar-item-header-gap);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));pointer-events:none;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--magma-radius-full,var(--radius-full,1000px));pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}'}},[1,"mds-stepper-bar-item",{label:[1],step:[4],badge:[1540],icon:[1],iconChecked:[1,"icon-checked"],done:[516],current:[1540],value:[513],typography:[1],isDone:[32],isCurrent:[32],index:[32]},void 0,{done:[{selectedHandler:0}],current:[{currentHandler:0}]}]),x=y,k=function(){"undefined"!=typeof customElements&&["mds-stepper-bar-item","mds-badge","mds-icon","mds-progress","mds-radial-progress","mds-text"].forEach((e=>{switch(e){case"mds-stepper-bar-item":customElements.get(i(e))||customElements.define(i(e),y);break;case"mds-badge":customElements.get(i(e))||m();break;case"mds-icon":customElements.get(i(e))||c();break;case"mds-progress":customElements.get(i(e))||u();break;case"mds-radial-progress":customElements.get(i(e))||b();break;case"mds-text":customElements.get(i(e))||l()}}))};export{x as MdsStepperBarItem,k as defineCustomElement}
|
|
1
|
+
import{p as e,H as r,d as a,h as t,c as s,t as i}from"./p-g2_CekDc.js";import{c as o}from"./p-ChV9xqsO.js";import{K as n}from"./p-CGrPq3C4.js";import{L as d}from"./p-BmlDGlcB.js";import{p}from"./p-AWCYh8Xe.js";import{d as m}from"./p-DKYN6Ikh.js";import{d as c}from"./p-oHBGZ2Av.js";import{d as u}from"./p-C878c9Nu.js";import{d as b}from"./p-BG1fjwnd.js";import{d as l}from"./p-aZlZ1XB9.js";var g={badgeDone:"Ολοκληρώθηκε",badgeCurrent:"Καθημερινή",badgeQueued:"Σε αναμονή",step:"Βήμα {{ index }}"},h={badgeDone:"Done",badgeCurrent:"Current",badgeQueued:"Queued",step:"Step {{ index }}"},v={badgeDone:"Completado",badgeCurrent:"En curso",badgeQueued:"En cola",step:"Paso {{ index }}"},f={badgeDone:"Completato",badgeCurrent:"In corso",badgeQueued:"In coda",step:"Step {{ index }}"};const y=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doneEvent=a(this,"mdsStepperBarItemDone",7),this.km=new n,this.t=new d({el:g,en:h,es:v,it:f}),this.iconChecked=this.icon,this.done=!1,this.current=!1,this.typography="h6",this.isReachable=()=>!!this.isDone&&!this.isCurrent,this.handleClick=()=>{var e;this.isReachable()&&this.doneEvent.emit({value:null!==(e=this.value)&&void 0!==e?e:""})},this.showBadge=()=>t("mds-badge",this.isDone?{class:"badge",variant:"success",tone:"weak",typography:"option",label:this.t.get("badgeDone")}:this.isCurrent?{class:"badge",variant:"info",tone:"weak",typography:"option",label:this.t.get("badgeCurrent")}:{class:"badge",variant:"dark",tone:"weak",typography:"option",label:this.t.get("badgeQueued")})}componentWillLoad(){this.isCurrent=this.current,this.isDone=this.done;const e=this.host.parentElement;e&&(this.index=Array.from(e.children).filter((e=>e.tagName===this.host.tagName)).indexOf(this.host))}componentDidLoad(){this.km.addElement(this.host),this.km.attachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}selectedHandler(e){this.isDone=e}currentHandler(e){this.isCurrent=e}render(){return t(s,{key:"c8e06e24da1e579af66e778b5294cb6468d9927d",onClick:this.handleClick,"pref-animation":p.state.animation,role:this.isReachable()?"button":void 0,tabindex:this.isReachable()?"0":void 0},t("div",{key:"1b5f3eaeca130aeb9e8b9be0db0f4f7e46d95a57",class:"header"},t("mds-icon",{key:"35c72f7d1f1ce1b2deb2f6e5ce8f030587d8e15f",class:"icon",name:o(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),t("mds-progress",{key:"ca8427a5fc8750bca33270a88770ed9aa84ae762","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),t("div",{key:"fe997a5100abc1b1439b747fb56748f4a8eec645",class:"infos"},this.step&&t("mds-text",{key:"6a5b47ff7aee8f410a563e50498736f94b8ee578",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&t("mds-text",{key:"4f16b0b56931210e9b0cb25d6f5fb4e0916b4f04",class:"text",typography:this.typography},this.label),this.badge&&t("div",{key:"f994a629e8695a3cb0a412c541b7e860f8a6024a",part:"badge"},this.showBadge())))}get host(){return this}static get watchers(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-progress,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-stepper-bar-item-min-width:calc(var(--spacing,.0025rem)*4500);--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,calc(var(--spacing,.0025rem)*4500));position:relative;scroll-snap-align:center;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){flex-basis:auto;flex-grow:0;min-width:auto}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;gap:var(--mds-stepper-bar-item-header-gap);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));pointer-events:none;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--magma-radius-full,var(--radius-full,1000px));pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}'}},[1,"mds-stepper-bar-item",{label:[1],step:[4],badge:[1540],icon:[1],iconChecked:[1,"icon-checked"],done:[516],current:[1540],value:[513],typography:[1],isDone:[32],isCurrent:[32],index:[32]},void 0,{done:[{selectedHandler:0}],current:[{currentHandler:0}]}]),x=y,k=function(){"undefined"!=typeof customElements&&["mds-stepper-bar-item","mds-badge","mds-icon","mds-progress","mds-radial-progress","mds-text"].forEach((e=>{switch(e){case"mds-stepper-bar-item":customElements.get(i(e))||customElements.define(i(e),y);break;case"mds-badge":customElements.get(i(e))||m();break;case"mds-icon":customElements.get(i(e))||c();break;case"mds-progress":customElements.get(i(e))||u();break;case"mds-radial-progress":customElements.get(i(e))||b();break;case"mds-text":customElements.get(i(e))||l()}}))};export{x as MdsStepperBarItem,k as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as r,H as s,d as t,h as e,c as a,t as o}from"./p-
|
|
1
|
+
import{p as r,H as s,d as t,h as e,c as a,t as o}from"./p-g2_CekDc.js";const i=r(class extends s{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.changedEvent=t(this,"mdsStepperBarChange",7),this.currentItem=0,this.itemsDone=1,this.navigation="none",this.queryItems=()=>this.element.querySelectorAll("mds-stepper-bar-item"),this.queryContentItems=()=>this.element.querySelectorAll("[slot=content]"),this.minmax=(r,s,t)=>Math.min(Math.max(r,s),t),this.setCurrent=r=>{this.items=this.queryItems(),this.currentItem=r-1;const s=[];this.items.forEach(((r,t)=>{var e;if(r.done=!1,t<this.currentItem){r.done=!0;const t=null!==(e=r.value)&&void 0!==e?e:"";""!==t&&s.push(t)}r.current=!1,t===this.currentItem&&(r.current=!0,this.currentItem=t)})),this.changedEvent.emit({value:""+s,step:this.currentItem}),this.scrollItems(),this.setCurrentContent()},this.setCurrentContent=()=>{this.contentItems.forEach(((r,s)=>{r.hidden=s!==this.currentItem}))},this.scrollItems=()=>{var r;const s=null===(r=this.element.shadowRoot)||void 0===r?void 0:r.querySelector(".items"),t=this.queryItems(),e=this.minmax(this.currentItem,0,this.items.length-1);if(!s)throw Error("No mds-stepper-bar-items found");e<=0?s.scrollLeft=0:e>=t.length?this.scrollToItem(s,t[t.length-1],"start"):this.scrollToItem(s,t[e],"centre")},this.scrollToItem=(r,s,t)=>{const e=r.getBoundingClientRect(),a=s.getBoundingClientRect();r.scrollLeft+=a.left-e.left-("centre"===t?(e.width-a.width)/2:0)}}componentWillLoad(){this.items=this.queryItems()}componentDidLoad(){this.contentItems=this.queryContentItems(),this.setCurrent(this.itemsDone)}itemDone(r){this.setCurrent(r)}render(){return e(a,{key:"8a87d3b610e75a5fb1101996cd5438fd852e0af8"},e("div",{key:"857f02a3d688bb1fac96c940a80101270581ed82",class:"items",part:"items"},e("slot",{key:"851451da7aae2afe5990409caa9e2d4d451e16d2"})),e("div",{key:"52a58c90c98316c5b7286ca74bababb912f3f227",class:"contents",part:"contents"},e("slot",{key:"460e5686e1a292e57fd5e49bfe0b955075cc7e50",name:"content"})))}get element(){return this}static get watchers(){return{itemsDone:[{itemDone:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-progress,mds-stepper-bar-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-stepper-bar-gap:calc(var(--spacing,.0025rem)*50);--mds-stepper-bar-offset-margin:0;--mds-stepper-bar-scroll-behavior:smooth;--mds-stepper-bar-scrollbar-margin:0;--mds-stepper-bar-scrollbar-radius:0;--mds-stepper-bar-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-stepper-bar-scrollbar-thumb-background:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-stepper-bar-scrollbar-track-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));display:grid;gap:calc(var(--spacing,.0025rem)*600);position:relative}.items{align-items:start;display:flex;flex-grow:1;gap:var(--mds-stepper-bar-gap);margin:0 calc(var(--mds-stepper-bar-offset-margin,0)*-1);overflow:auto;padding:0 var(--mds-stepper-bar-offset-margin,0);position:relative;scroll-behavior:var(--mds-stepper-bar-scroll-behavior,smooth);scroll-snap-type:x mandatory;width:100%;z-index:10}:host([linear=true]) ::slotted(mds-stepper-bar-item),:host([linear]) ::slotted(mds-stepper-bar-item){pointer-events:none}:host([linear=false]) ::slotted(mds-stepper-bar-item){pointer-events:auto}.contents{display:flex;flex-direction:column;width:100%}:host(:not([navigation=scrollbar])) .items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([navigation=scrollbar])) .items::-webkit-scrollbar{display:none}:host([navigation=scrollbar]) .items::-webkit-scrollbar{height:var(--mds-stepper-bar-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-stepper-bar-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([navigation=scrollbar]) .items::-webkit-scrollbar-track{background-color:var(--mds-stepper-bar-scrollbar-track-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--mds-stepper-bar-scrollbar-radius,0);margin-block:var(--mds-stepper-bar-scrollbar-margin,0);margin-inline:var(--mds-stepper-bar-scrollbar-margin,0)}:host([navigation=scrollbar]) .items::-webkit-scrollbar-thumb{background-color:var(--mds-stepper-bar-scrollbar-thumb-background,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));border-radius:var(--mds-stepper-bar-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.items{scrollbar-color:var(--mds-stepper-bar-scrollbar-thumb-background,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)))) var(--mds-stepper-bar-scrollbar-track-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));scrollbar-width:thin}}@media (prefers-reduced-motion:reduce){:host{--mds-stepper-bar-scroll-behavior:auto}}"}},[257,"mds-stepper-bar",{itemsDone:[2,"items-done"],navigation:[513],currentItem:[32]},void 0,{itemsDone:[{itemDone:0}]}]),n=i,l=function(){"undefined"!=typeof customElements&&["mds-stepper-bar"].forEach((r=>{"mds-stepper-bar"===r&&(customElements.get(o(r))||customElements.define(o(r),i))}))};export{n as MdsStepperBar,l as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as a,d as e,h as r,c as i,t as o}from"./p-
|
|
1
|
+
import{p as t,H as a,d as e,h as r,c as i,t as o}from"./p-g2_CekDc.js";import{K as s}from"./p-CGrPq3C4.js";import{s as n}from"./p-DwKxtKwS.js";import{r as m,s as c}from"./p-DWIIDHSa.js";import{p as l}from"./p-AWCYh8Xe.js";import{d}from"./p-oHBGZ2Av.js";import{d as b}from"./p-aZlZ1XB9.js";const u=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectedEvent=e(this,"mdsTabBarItemSelect",7),this.km=new s,this.icon="",this.typography="tip",this.select=()=>{this.selected||(this.selected=!0,this.selectedEvent.emit(this.element.id))},this.onSlotChangeHandler=()=>{var t;""===(null!==(t=this.label)&&void 0!==t?t:"")&&(this.label=m(this.element))}}componentDidLoad(){n(this.element,"role","button"),this.km.addElement(this.element),this.km.attachClickBehavior("element",{space:!0})}connectedCallback(){this.km.attachClickBehavior("element",{space:!0})}disconnectedCallback(){this.km.detachClickBehavior()}labelChanged(t){this.label=c(t)}render(){return r(i,{key:"8069c5f41f3d990551a5639ca9421d425ad64c6e","aria-current":this.selected?"true":void 0,onClick:this.select,tabindex:"0","pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},r("mds-icon",{key:"77357d18df1ebbb0f27f9659bf3e948847c3a6a9",name:this.icon}),r("mds-text",{key:"3c20fc23fa1c7be6cb8f4d42dc6e9b7ac2dbf475",typography:this.typography},this.label||r("slot",{key:"cfada30c6dd82c9efc7335aee053f9ddf2ef41cf",onSlotchange:this.onSlotChangeHandler})))}get element(){return this}static get watchers(){return{label:[{labelChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-bar-item-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-bar-item-background-selected:#0000;--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-tab-bar-item-transition-duration:var(--duration-200,.2s);--private-tab-bar-item-transition-duration:var(--mds-tab-bar-item-transition-duration);--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-tab-bar-item-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));color:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));cursor:pointer;display:flex;fill:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*200);text-align:center;transition-duration:.2s;transition-duration:var(--private-tab-bar-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:color,background-color,fill;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([selected]:not([selected=false])){background-color:var(--mds-tab-bar-item-background-selected,#0000);color:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));fill:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))))}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}'}},[257,"mds-tab-bar-item",{icon:[1],label:[1537],selected:[1540],typography:[1]},void 0,{label:[{labelChanged:0}]}]),f=u,p=function(){"undefined"!=typeof customElements&&["mds-tab-bar-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-tab-bar-item":customElements.get(o(t))||customElements.define(o(t),u);break;case"mds-icon":customElements.get(o(t))||d();break;case"mds-text":customElements.get(o(t))||b()}}))};export{f as MdsTabBarItem,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,d as r,h as a,c as o,t as n}from"./p-
|
|
1
|
+
import{p as t,H as e,d as r,h as a,c as o,t as n}from"./p-g2_CekDc.js";import{p as s}from"./p-AWCYh8Xe.js";const i=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changedEvent=r(this,"mdsTabBarChange",7),this.queryItems=()=>this.element.querySelectorAll("mds-tab-bar-item")}componentWillLoad(){this.queryItems().forEach(((t,e)=>{""===t.id&&(t.id="mds-tab-bar-item-"+e)}))}changeEventHandler(t){this.queryItems().forEach(((e,r)=>{e.selected=e===t.target,e.selected&&this.changedEvent.emit({index:r})}))}render(){return a(o,{key:"e1b028b665dc887f457b45256b5327284e8f010c","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},a("slot",{key:"e4ecdc5a88870dfc3444b3b8d4bae25e7a3af750"}))}get element(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tab-bar-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-bar-transition-duration:var(--duration-200,.2s);--private-tab-bar-transition-duration:var(--mds-tab-bar-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));bottom:0;box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));display:flex;justify-content:space-around;left:0;position:fixed;right:0;transition-duration:var(--private-tab-bar-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'}},[257,"mds-tab-bar",void 0,[[0,"mdsTabBarItemSelect","changeEventHandler"]]]),d=i,m=function(){"undefined"!=typeof customElements&&["mds-tab-bar"].forEach((t=>{"mds-tab-bar"===t&&(customElements.get(n(t))||customElements.define(n(t),i))}))};export{d as MdsTabBar,m as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as o,d as s}from"./p-
|
|
1
|
+
import{M as o,d as s}from"./p-BFZN4zJ9.js";const p=o,r=s;export{p as MdsTabItem,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as o,d as s}from"./p-
|
|
1
|
+
import{M as o,d as s}from"./p-G8GFHw3L.js";const p=o,r=s;export{p as MdsTab,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as t,H as a,h as e,c as r,t as o}from"./p-g2_CekDc.js";import{p as n}from"./p-AWCYh8Xe.js";const s=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return e(r,{key:"14360a6d3e9429672e0d89bfec86b2e0ec35ed42",role:"rowgroup","pref-animation":n.state.animation},e("slot",{key:"8203819e71715b4d3ed6a724e7ed78585179eb33"}))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-row:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-body-background-hover:var(--mds-table-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-body-background-alt:var(--mds-table-body-background-hover);--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-body-transition-duration:var(--duration-200,.2s);--private-table-body-transition-duration:var(--mds-table-body-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));display:table-row-group;overflow:hidden;transition-duration:var(--private-table-body-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host(:last-of-type) ::slotted(:last-of-type){--private-cell-border-color:#0000}:host([interactive]:hover){--mds-table-row-background:var(--mds-table-body-background-hover);--mds-table-row-color:var(--mds-table-body-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selection]){--mds-table-body-background:var(--mds-table-body-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-body-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-body-transition-duration:0s}}'}},[257,"mds-table-body",{interactive:[516],selection:[516]}]),d=s,i=function(){"undefined"!=typeof customElements&&["mds-table-body"].forEach((t=>{"mds-table-body"===t&&(customElements.get(o(t))||customElements.define(o(t),s))}))};export{d as MdsTableBody,i as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as o,d as s}from"./p-
|
|
1
|
+
import{M as o,d as s}from"./p-B-GgEAg7.js";const p=o,r=s;export{p as MdsTableCell,r as defineCustomElement}
|