@maggioli-design-system/magma 2.14.0 → 2.15.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 +43 -0
- package/agents/assets.md +1 -1
- package/agents/install.md +6 -1
- package/agents/mcp.md +3 -2
- package/agents/patterns/app-shell.md +18 -14
- package/agents/patterns/confirm-action.md +138 -15
- package/agents/patterns/empty-state.md +116 -15
- package/agents/patterns/error-recovery.md +151 -19
- package/agents/patterns/item-list.md +12 -11
- package/agents/patterns/labels-and-values.md +1 -0
- package/agents/patterns/list-with-filters.md +99 -9
- package/agents/patterns/loading.md +141 -19
- package/agents/patterns/message-placement.md +355 -39
- package/agents/patterns/page-header.md +7 -6
- package/agents/patterns/previews/actions/banner.dark.webp +0 -0
- package/agents/patterns/previews/actions/banner.light.webp +0 -0
- 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/danger-zone.dark.webp +0 -0
- package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
- package/agents/patterns/previews/actions/destructive-in-menu.dark.webp +0 -0
- package/agents/patterns/previews/actions/destructive-in-menu.light.webp +0 -0
- package/agents/patterns/previews/actions/dismiss-message.dark.webp +0 -0
- package/agents/patterns/previews/actions/dismiss-message.light.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/actions/more-in-menu.dark.webp +0 -0
- package/agents/patterns/previews/actions/more-in-menu.light.webp +0 -0
- package/agents/patterns/previews/actions/part-primary.dark.webp +0 -0
- package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
- package/agents/patterns/previews/actions/primary.dark.webp +0 -0
- package/agents/patterns/previews/actions/primary.light.webp +0 -0
- package/agents/patterns/previews/actions/remove.dark.webp +0 -0
- package/agents/patterns/previews/actions/secondary.dark.webp +0 -0
- package/agents/patterns/previews/actions/secondary.light.webp +0 -0
- package/agents/patterns/previews/actions/stacked.dark.webp +0 -0
- package/agents/patterns/previews/actions/stacked.light.webp +0 -0
- package/agents/patterns/previews/actions/toast.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.html +2 -2
- package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.html +2 -2
- package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.html +2 -2
- package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.html +2 -2
- package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/act-then-undo.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/act-then-undo.html +1 -1
- 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/confirm-action/make-reversible.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/make-reversible.html +1 -1
- package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/send-as-shown.html +2 -2
- package/agents/patterns/previews/confirm-action/send-as-shown.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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
- package/agents/patterns/previews/empty-state/one-line.dark.webp +0 -0
- package/agents/patterns/previews/empty-state/one-line.html +1 -1
- package/agents/patterns/previews/error-recovery/action-another-way.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/action-another-way.html +3 -3
- package/agents/patterns/previews/error-recovery/action-another-way.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/changed-meanwhile.html +4 -4
- package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/check-or-repeat.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/check-or-repeat.html +4 -4
- package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/content-another-way.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/content-another-way.html +1 -1
- package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.html +2 -2
- package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-action.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-action.html +4 -4
- package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-content.html +2 -2
- package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.html +4 -4
- package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.html +1 -1
- package/agents/patterns/previews/item-list/documents-of-a-request.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.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.dark.webp +0 -0
- package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
- package/agents/patterns/previews/labels-and-values/data-of-a-contact.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/data-of-a-contact.html +1 -1
- package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/payment-before-paying.html +2 -2
- package/agents/patterns/previews/labels-and-values/payment-before-paying.light.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.html +4 -4
- package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.html +8 -8
- package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/find-and-open.html +4 -4
- package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
- 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 +7 -7
- package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
- package/agents/patterns/previews/loading/await-and-say.html +2 -2
- package/agents/patterns/previews/loading/await-and-say.light.webp +0 -0
- package/agents/patterns/previews/loading/await-the-control.dark.webp +0 -0
- package/agents/patterns/previews/loading/await-the-control.html +3 -3
- package/agents/patterns/previews/loading/await-the-control.light.webp +0 -0
- package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/first-load.html +1 -1
- package/agents/patterns/previews/loading/first-load.light.webp +0 -0
- package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
- package/agents/patterns/previews/loading/keep-while-reloading.html +2 -2
- 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.html +1 -1
- 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.html +1 -1
- package/agents/patterns/previews/loading/long-load.light.webp +0 -0
- package/agents/patterns/previews/loading/progress-in-place.dark.webp +0 -0
- package/agents/patterns/previews/loading/progress-in-place.html +2 -2
- package/agents/patterns/previews/loading/progress-in-place.light.webp +0 -0
- package/agents/patterns/previews/loading/run-in-background.dark.webp +0 -0
- package/agents/patterns/previews/loading/run-in-background.html +2 -2
- package/agents/patterns/previews/loading/run-in-background.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.html +2 -2
- package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-in-page.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-in-page.html +3 -3
- package/agents/patterns/previews/message-placement/action-done-in-page.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-in-part.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-done-in-part.html +4 -4
- package/agents/patterns/previews/message-placement/action-done-in-part.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-failed-elsewhere.html +3 -3
- package/agents/patterns/previews/message-placement/action-failed-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.html +2 -2
- package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-later.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-later.html +2 -2
- package/agents/patterns/previews/message-placement/action-later.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-elsewhere.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-elsewhere.html +3 -3
- package/agents/patterns/previews/message-placement/action-partial-elsewhere.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-in-place.html +2 -2
- package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-taken.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-taken.html +1 -1
- package/agents/patterns/previews/message-placement/action-taken.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-deadline.html +1 -1
- package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.html +4 -4
- package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-info.html +1 -1
- package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.html +3 -3
- 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.html +1 -1
- package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-hint.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.html +3 -3
- package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-failed.html +3 -3
- package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.html +2 -2
- package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.html +1 -1
- package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
- package/agents/patterns/previews/page-header/members-of-a-group.dark.webp +0 -0
- package/agents/patterns/previews/page-header/members-of-a-group.html +1 -1
- package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
- package/agents/patterns/previews/page-header/own-profile.dark.webp +0 -0
- package/agents/patterns/previews/page-header/own-profile.html +1 -1
- package/agents/patterns/previews/page-header/own-profile.light.webp +0 -0
- package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
- package/agents/patterns/previews/page-header/request-from-the-list.html +1 -1
- package/agents/patterns/previews/page-header/request-from-the-list.light.webp +0 -0
- package/agents/patterns/previews/page-header/requests-of-an-office.dark.webp +0 -0
- package/agents/patterns/previews/page-header/requests-of-an-office.html +1 -1
- package/agents/patterns/previews/page-header/requests-of-an-office.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.html +3 -3
- package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
- package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/edit-data.html +8 -8
- package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/read-the-data.html +3 -3
- package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/record-changed.html +8 -8
- package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/run-at-once.html +7 -7
- package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
- package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
- package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
- package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
- package/agents/patterns/previews/rhythm/content-actions.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/content-actions.light.webp +0 -0
- package/agents/patterns/previews/rhythm/inline.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
- package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
- package/agents/patterns/previews/rhythm/label-control.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
- package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.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/edit-actions.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/section.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/titles/group.dark.webp +0 -0
- package/agents/patterns/previews/titles/group.light.webp +0 -0
- package/agents/patterns/previews/titles/page.dark.webp +0 -0
- package/agents/patterns/previews/titles/page.light.webp +0 -0
- package/agents/patterns/previews/titles/part.dark.webp +0 -0
- package/agents/patterns/previews/titles/part.light.webp +0 -0
- package/agents/patterns/previews/titles/section.dark.webp +0 -0
- package/agents/patterns/previews/titles/section.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/field.dark.webp +0 -0
- package/agents/patterns/previews/widths/field.light.webp +0 -0
- package/agents/patterns/previews/widths/form.dark.webp +0 -0
- package/agents/patterns/previews/widths/form.light.webp +0 -0
- package/agents/patterns/previews/widths/page.dark.webp +0 -0
- package/agents/patterns/previews/widths/page.light.webp +0 -0
- package/agents/patterns/previews/widths/reading.dark.webp +0 -0
- package/agents/patterns/previews/widths/reading.light.webp +0 -0
- package/agents/patterns/record-detail.md +179 -15
- package/agents/reporting.md +5 -1
- package/dist/cjs/{floating-controller-B21tqid0.js → floating-controller-CelMdjyj.js} +1 -1
- package/dist/cjs/{index-B99V_UhC.js → index-CGlQW3pX.js} +16 -6
- package/dist/cjs/{index-CFEj7WVH.js → index-CWkxqm6T.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-6jikg4jE.js → locale-q_KROc3I.js} +10 -2
- package/dist/cjs/magma-components.cjs.js +3 -3
- package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/mds-author.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
- package/dist/cjs/mds-avatar.cjs.entry.js +3 -3
- package/dist/cjs/mds-badge.cjs.entry.js +3 -3
- package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
- package/dist/cjs/mds-book.cjs.entry.js +8 -8
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +27 -9
- package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
- package/dist/cjs/mds-button_3.cjs.entry.js +34 -13
- package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +2 -2
- package/dist/cjs/mds-details.cjs.entry.js +3 -3
- package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
- package/dist/cjs/mds-entity.cjs.entry.js +3 -3
- package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
- package/dist/cjs/mds-file.cjs.entry.js +4 -4
- package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-filter.cjs.entry.js +4 -4
- package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
- package/dist/cjs/mds-hr.cjs.entry.js +2 -2
- package/dist/cjs/mds-img.cjs.entry.js +13 -8
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +8 -8
- package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
- package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
- package/dist/cjs/mds-input-otp.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-range-value.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-range.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-input-upload.cjs.entry.js +9 -9
- package/dist/cjs/mds-input.cjs.entry.js +9 -9
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
- package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +4 -4
- package/dist/cjs/mds-link.cjs.entry.js +32 -11
- package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-mention.cjs.entry.js +4 -4
- package/dist/cjs/mds-modal.cjs.entry.js +5 -5
- package/dist/cjs/mds-note.cjs.entry.js +5 -5
- package/dist/cjs/mds-notification.cjs.entry.js +3 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
- package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref-mode.cjs.entry.js +5 -5
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
- package/dist/cjs/mds-pref.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -4
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +6 -6
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
- package/dist/cjs/mds-push-notification.cjs.entry.js +5 -5
- package/dist/cjs/mds-quote.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
- package/dist/cjs/mds-separator.cjs.entry.js +4 -4
- package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +17 -7
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +9 -7
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
- package/dist/cjs/mds-tab_2.cjs.entry.js +5 -5
- package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
- package/dist/cjs/mds-table-row.cjs.entry.js +5 -5
- package/dist/cjs/mds-table.cjs.entry.js +5 -5
- package/dist/cjs/mds-text.cjs.entry.js +4 -4
- package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
- package/dist/cjs/mds-toast.cjs.entry.js +4 -4
- package/dist/cjs/mds-tooltip.cjs.entry.js +16 -9
- package/dist/cjs/mds-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-tree.cjs.entry.js +3 -3
- package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
- package/dist/cjs/mds-usage.cjs.entry.js +4 -4
- package/dist/cjs/mds-video-wall.cjs.entry.js +4 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -4
- package/dist/cjs/{navigation-Dxea9mKE.js → navigation-B2UAUx-z.js} +14 -0
- package/dist/cjs/{preference-DTUJPGHS.js → preference-C4QmB-PB.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/locale.js +9 -1
- package/dist/collection/common/navigation.js +13 -0
- package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion/documentation.json +2 -2
- package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
- package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-item/documentation.json +2 -2
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +3 -3
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer/documentation.json +2 -2
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +2 -2
- package/dist/collection/components/mds-author/AGENTS.md +1 -1
- package/dist/collection/components/mds-author/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar/documentation.json +2 -2
- package/dist/collection/components/mds-avatar/mds-avatar.css +44 -44
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack/documentation.json +2 -2
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
- package/dist/collection/components/mds-badge/AGENTS.md +1 -1
- package/dist/collection/components/mds-badge/documentation.json +2 -2
- package/dist/collection/components/mds-badge/mds-badge.css +53 -53
- package/dist/collection/components/mds-banner/AGENTS.md +1 -1
- package/dist/collection/components/mds-banner/documentation.json +2 -2
- package/dist/collection/components/mds-banner/mds-banner.css +13 -13
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-benchmark-bar/documentation.json +2 -2
- package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
- package/dist/collection/components/mds-bibliography/documentation.json +2 -2
- package/dist/collection/components/mds-book/AGENTS.md +1 -1
- package/dist/collection/components/mds-book/documentation.json +2 -2
- package/dist/collection/components/mds-book/mds-book.css +2 -2
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb/documentation.json +2 -2
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +2 -2
- package/dist/collection/components/mds-button/AGENTS.md +3 -1
- package/dist/collection/components/mds-button/documentation.json +33 -4
- package/dist/collection/components/mds-button/examples.md +15 -1
- package/dist/collection/components/mds-button/mds-button.css +16 -16
- package/dist/collection/components/mds-button/mds-button.js +48 -8
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +5 -4
- package/dist/collection/components/mds-button-dropdown/documentation.json +31 -5
- package/dist/collection/components/mds-button-dropdown/examples.md +12 -1
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +6 -6
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +30 -1
- package/dist/collection/components/mds-button-dropdown/mistakes.md +16 -0
- package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
- package/dist/collection/components/mds-button-group/documentation.json +2 -2
- package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar/documentation.json +2 -2
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-calendar-cell/documentation.json +2 -2
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +12 -12
- package/dist/collection/components/mds-card/AGENTS.md +1 -1
- package/dist/collection/components/mds-card/documentation.json +2 -2
- package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-content/documentation.json +2 -2
- package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-footer/documentation.json +2 -2
- package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-header/documentation.json +2 -2
- package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
- package/dist/collection/components/mds-card-media/documentation.json +2 -2
- package/dist/collection/components/mds-chip/AGENTS.md +1 -1
- package/dist/collection/components/mds-chip/documentation.json +2 -2
- package/dist/collection/components/mds-chip/mds-chip.css +103 -103
- package/dist/collection/components/mds-details/AGENTS.md +1 -1
- package/dist/collection/components/mds-details/documentation.json +2 -2
- package/dist/collection/components/mds-details/mds-details.css +4 -4
- package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
- package/dist/collection/components/mds-dropdown/documentation.json +2 -2
- package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
- package/dist/collection/components/mds-emoji/documentation.json +2 -2
- package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
- package/dist/collection/components/mds-entity/AGENTS.md +1 -1
- package/dist/collection/components/mds-entity/documentation.json +2 -2
- package/dist/collection/components/mds-entity/mds-entity.css +9 -9
- package/dist/collection/components/mds-file/AGENTS.md +1 -1
- package/dist/collection/components/mds-file/documentation.json +2 -2
- package/dist/collection/components/mds-file/mds-file.css +24 -24
- package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
- package/dist/collection/components/mds-file-preview/documentation.json +2 -2
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +118 -118
- package/dist/collection/components/mds-filter/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter/documentation.json +2 -2
- package/dist/collection/components/mds-filter/mds-filter.css +4 -4
- package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-filter-item/documentation.json +2 -2
- package/dist/collection/components/mds-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-header/documentation.json +2 -2
- package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-header-bar/documentation.json +2 -2
- package/dist/collection/components/mds-help/AGENTS.md +1 -1
- package/dist/collection/components/mds-help/documentation.json +2 -2
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
- package/dist/collection/components/mds-hr/AGENTS.md +1 -1
- package/dist/collection/components/mds-hr/documentation.json +2 -2
- package/dist/collection/components/mds-icon/AGENTS.md +2 -2
- package/dist/collection/components/mds-icon/documentation.json +6 -2
- package/dist/collection/components/mds-img/AGENTS.md +6 -4
- package/dist/collection/components/mds-img/documentation.json +48 -6
- package/dist/collection/components/mds-img/examples.md +15 -1
- package/dist/collection/components/mds-img/mds-img.css +6 -6
- package/dist/collection/components/mds-img/mds-img.js +37 -6
- package/dist/collection/components/mds-img/meta/storybook.js +7 -0
- package/dist/collection/components/mds-img/meta/types.js +2 -1
- package/dist/collection/components/mds-input/AGENTS.md +1 -1
- package/dist/collection/components/mds-input/documentation.json +2 -2
- package/dist/collection/components/mds-input/mds-input.css +12 -12
- package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date/documentation.json +2 -2
- package/dist/collection/components/mds-input-date/mds-input-date.css +9 -9
- package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range/documentation.json +2 -2
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +9 -9
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +2 -2
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +6 -6
- package/dist/collection/components/mds-input-field/AGENTS.md +4 -2
- package/dist/collection/components/mds-input-field/documentation.json +33 -5
- package/dist/collection/components/mds-input-field/examples.md +18 -0
- package/dist/collection/components/mds-input-field/mds-input-field.css +39 -2
- package/dist/collection/components/mds-input-field/mds-input-field.js +21 -1
- package/dist/collection/components/mds-input-field/mistakes.md +21 -0
- package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-otp/documentation.json +2 -2
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range/documentation.json +2 -2
- package/dist/collection/components/mds-input-range/mds-input-range.css +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.js +2 -2
- package/dist/collection/components/mds-input-range-value/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-range-value/documentation.json +2 -2
- package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +1 -1
- package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-select/documentation.json +2 -2
- package/dist/collection/components/mds-input-select/mds-input-select.css +7 -7
- 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 +2 -2
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +20 -18
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
- package/dist/collection/components/mds-input-upload/documentation.json +2 -2
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
- 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 +2 -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 +2 -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 +2 -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 +2 -2
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +4 -4
- 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 +2 -2
- package/dist/collection/components/mds-label/mds-label.css +158 -158
- package/dist/collection/components/mds-link/AGENTS.md +3 -1
- package/dist/collection/components/mds-link/documentation.json +33 -4
- package/dist/collection/components/mds-link/examples.md +12 -1
- package/dist/collection/components/mds-link/mds-link.css +1 -1
- package/dist/collection/components/mds-link/mds-link.js +47 -7
- package/dist/collection/components/mds-list/AGENTS.md +1 -1
- package/dist/collection/components/mds-list/documentation.json +2 -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 +2 -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 +2 -2
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-modal/AGENTS.md +1 -1
- package/dist/collection/components/mds-modal/documentation.json +2 -2
- 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 +2 -2
- package/dist/collection/components/mds-note/mds-note.css +136 -136
- 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 +2 -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 +2 -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 +2 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +1 -1
- 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 +2 -2
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +6 -6
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-pref/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref/documentation.json +2 -2
- package/dist/collection/components/mds-pref/mds-pref.js +1 -1
- package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-animation/documentation.json +2 -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 +2 -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 +2 -2
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
- package/dist/collection/components/mds-pref-language/documentation.json +2 -2
- 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 +2 -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 +2 -2
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +6 -6
- 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 +2 -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 +2 -2
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +2 -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 +2 -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 +2 -2
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +1 -1
- 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 +2 -2
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +10 -10
- 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 +2 -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 +2 -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 +2 -2
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -3
- 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 +2 -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 +2 -2
- package/dist/collection/components/mds-progress/mds-progress.css +13 -13
- 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 +2 -2
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +2 -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 +2 -2
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +38 -38
- 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 +2 -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 +2 -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 +2 -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 +2 -2
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +5 -5
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-separator/AGENTS.md +1 -1
- package/dist/collection/components/mds-separator/documentation.json +2 -2
- package/dist/collection/components/mds-separator/mds-separator.css +2 -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 +2 -2
- package/dist/collection/components/mds-spinner/mds-spinner.css +1 -1
- 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 +2 -2
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +2 -2
- package/dist/collection/components/mds-stepper-bar/documentation.json +3 -3
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +8 -6
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +6 -4
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +30 -4
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +2 -2
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +31 -2
- package/dist/collection/components/mds-tab/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab/documentation.json +2 -2
- package/dist/collection/components/mds-tab/mds-tab.js +2 -2
- package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-bar/documentation.json +2 -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 +2 -2
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -3
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
- package/dist/collection/components/mds-tab-item/documentation.json +2 -2
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-table/AGENTS.md +1 -1
- package/dist/collection/components/mds-table/documentation.json +2 -2
- package/dist/collection/components/mds-table/mds-table.css +7 -7
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-body/documentation.json +2 -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 +2 -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 +2 -2
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header/documentation.json +2 -2
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
- package/dist/collection/components/mds-table-header-cell/documentation.json +2 -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 +1 -1
- package/dist/collection/components/mds-table-row/documentation.json +2 -2
- 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 +2 -2
- package/dist/collection/components/mds-text/mds-text.css +5 -5
- 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 +2 -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 +2 -2
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
- package/dist/collection/components/mds-tooltip/AGENTS.md +2 -2
- package/dist/collection/components/mds-tooltip/documentation.json +4 -4
- package/dist/collection/components/mds-tooltip/examples.md +1 -1
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +13 -6
- package/dist/collection/components/mds-tree/AGENTS.md +1 -1
- package/dist/collection/components/mds-tree/documentation.json +2 -2
- package/dist/collection/components/mds-tree/mds-tree.css +6 -6
- 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 +2 -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 +2 -2
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-usage/AGENTS.md +1 -1
- package/dist/collection/components/mds-usage/documentation.json +2 -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 +2 -2
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +2 -2
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-zero/AGENTS.md +1 -1
- package/dist/collection/components/mds-zero/documentation.json +2 -2
- package/dist/collection/components/mds-zero/mds-zero.css +1 -1
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/fixtures/states.js +35 -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.js +1 -1
- 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/{magma-components/p-kW8cjKIa.js → components/p-2RxibNiL.js} +1 -1
- package/dist/components/p-8D5tJYCb.js +1 -0
- package/dist/components/p-B0YEia-F.js +1 -0
- package/dist/components/{p-BmlDGlcB.js → p-B3t-yAT6.js} +2 -2
- package/dist/components/p-B410qrmd.js +1 -0
- package/dist/components/{p-G8GFHw3L.js → p-B7AEyQbN.js} +1 -1
- package/dist/components/{p-CSw6DbKp.js → p-B8rSg0wS.js} +1 -1
- package/dist/components/{p-DxNrlomi.js → p-BNDlJl3j.js} +1 -1
- package/dist/components/p-BPnc1LgR.js +1 -0
- package/dist/components/{p-AWCYh8Xe.js → p-BQJgPeCf.js} +1 -1
- package/dist/components/p-BWCuKjFs.js +1 -0
- package/dist/components/{p-BFZN4zJ9.js → p-BZ0wEKOS.js} +1 -1
- package/dist/components/p-BgdT5eTT.js +1 -0
- package/dist/components/p-Bi6fFi_w.js +1 -0
- package/dist/components/{p-CUT9aFzz.js → p-BiOKp8qm.js} +1 -1
- package/dist/components/p-BpgvTr8e.js +8 -0
- package/dist/components/{p-BG1fjwnd.js → p-BvJpPiuN.js} +1 -1
- package/dist/components/{p-D7C-gjL6.js → p-BwGJqBgv.js} +1 -1
- package/dist/components/p-C2bmqdQ1.js +1 -0
- package/dist/components/p-CSEkugVv.js +1 -0
- package/dist/components/{p-BNl6YWNN.js → p-CbHtKU6H.js} +1 -1
- package/dist/components/{p-oHBGZ2Av.js → p-CbyfhFKK.js} +1 -1
- package/dist/components/p-ChCkQpXr.js +3 -0
- package/dist/components/{p-BiJ4xa4V.js → p-CkFk04x6.js} +1 -1
- package/dist/components/{p-WFNxKo1V.js → p-Cu7JR-NZ.js} +1 -1
- package/dist/components/{p-Cjy1i94z.js → p-DP8t5EZu.js} +1 -1
- package/dist/components/{p-B-GgEAg7.js → p-DWvmuGIQ.js} +1 -1
- package/dist/components/p-DXksxnFe.js +1 -0
- package/dist/components/{p-C0m6B_kt.js → p-DnyQyLeI.js} +1 -1
- package/dist/components/{p-DvccsLwr.js → p-DumA_mZd.js} +1 -1
- package/dist/components/p-Pwyk_BKp.js +1 -0
- package/dist/components/{p-Cs8RIbsQ.js → p-Y1ObmZyL.js} +1 -1
- package/dist/components/{p-CDcB9Zdz.js → p-cIfE1RIC.js} +1 -1
- package/dist/components/p-hOV1Raf4.js +1 -0
- package/dist/components/{p-kS9VRIWa.js → p-r1P_e7WG.js} +1 -1
- package/dist/components/{p-aZlZ1XB9.js → p-tI3q9MMi.js} +1 -1
- package/dist/documentation.json +211 -22
- package/dist/esm/{floating-controller-DlFrvBTG.js → floating-controller-ECQfm808.js} +1 -1
- package/dist/esm/{index-CPibDZjX.js → index-BQhu9Pch.js} +16 -6
- package/dist/esm/{index-DWniH_Ge.js → index-CiyNF8so.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-B7Hw4niB.js → locale-Cm8DHVsu.js} +10 -2
- package/dist/esm/magma-components.js +4 -4
- package/dist/esm/mds-accordion-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
- package/dist/esm/mds-accordion-timer.entry.js +1 -1
- package/dist/esm/mds-accordion.entry.js +3 -3
- package/dist/esm/mds-author.entry.js +1 -1
- package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm/mds-avatar-stack.entry.js +1 -1
- package/dist/esm/mds-avatar.entry.js +3 -3
- package/dist/esm/mds-badge.entry.js +3 -3
- package/dist/esm/mds-banner_3.entry.js +5 -5
- package/dist/esm/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm/mds-bibliography.entry.js +1 -1
- package/dist/esm/mds-book.entry.js +8 -8
- package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm/mds-breadcrumb.entry.js +3 -3
- package/dist/esm/mds-button-dropdown.entry.js +27 -9
- package/dist/esm/mds-button-group.entry.js +1 -1
- package/dist/esm/mds-button_3.entry.js +34 -13
- package/dist/esm/mds-calendar_2.entry.js +4 -4
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +1 -1
- package/dist/esm/mds-card-header.entry.js +1 -1
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +2 -2
- package/dist/esm/mds-details.entry.js +3 -3
- package/dist/esm/mds-dropdown.entry.js +3 -3
- package/dist/esm/mds-emoji.entry.js +3 -3
- package/dist/esm/mds-entity.entry.js +3 -3
- package/dist/esm/mds-file-preview.entry.js +4 -4
- package/dist/esm/mds-file.entry.js +4 -4
- package/dist/esm/mds-filter-item.entry.js +3 -3
- package/dist/esm/mds-filter.entry.js +4 -4
- package/dist/esm/mds-header-bar.entry.js +3 -3
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
- package/dist/esm/mds-hr.entry.js +2 -2
- package/dist/esm/mds-img.entry.js +13 -8
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +8 -8
- package/dist/esm/mds-input-date.entry.js +5 -5
- package/dist/esm/mds-input-field.entry.js +4 -3
- package/dist/esm/mds-input-otp.entry.js +4 -4
- package/dist/esm/mds-input-range-value.entry.js +2 -2
- package/dist/esm/mds-input-range.entry.js +6 -6
- package/dist/esm/mds-input-select.entry.js +7 -7
- package/dist/esm/mds-input-switch_2.entry.js +6 -6
- package/dist/esm/mds-input-tip_2.entry.js +6 -6
- package/dist/esm/mds-input-upload.entry.js +9 -9
- package/dist/esm/mds-input.entry.js +9 -9
- package/dist/esm/mds-keyboard-key.entry.js +4 -4
- package/dist/esm/mds-keyboard.entry.js +4 -4
- package/dist/esm/mds-kpi-item.entry.js +4 -4
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +4 -4
- package/dist/esm/mds-link.entry.js +32 -11
- package/dist/esm/mds-list-item.entry.js +2 -2
- package/dist/esm/mds-list.entry.js +2 -2
- package/dist/esm/mds-mention.entry.js +4 -4
- package/dist/esm/mds-modal.entry.js +5 -5
- package/dist/esm/mds-note.entry.js +5 -5
- package/dist/esm/mds-notification.entry.js +3 -3
- package/dist/esm/mds-paginator-item.entry.js +4 -4
- package/dist/esm/mds-paginator.entry.js +4 -4
- package/dist/esm/mds-policy-ai.entry.js +5 -5
- package/dist/esm/mds-pref-animation.entry.js +4 -4
- package/dist/esm/mds-pref-consumption.entry.js +4 -4
- package/dist/esm/mds-pref-contrast.entry.js +4 -4
- package/dist/esm/mds-pref-language-item.entry.js +4 -4
- package/dist/esm/mds-pref-language.entry.js +4 -4
- package/dist/esm/mds-pref-mode.entry.js +5 -5
- package/dist/esm/mds-pref-theme-item.entry.js +3 -3
- package/dist/esm/mds-pref-theme.entry.js +4 -4
- package/dist/esm/mds-pref.entry.js +4 -4
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
- package/dist/esm/mds-price-table-features-row.entry.js +3 -3
- package/dist/esm/mds-price-table-features.entry.js +4 -4
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +4 -4
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +6 -6
- package/dist/esm/mds-push-notification-item.entry.js +6 -6
- package/dist/esm/mds-push-notification.entry.js +5 -5
- package/dist/esm/mds-quote.entry.js +3 -3
- package/dist/esm/mds-radial-menu-item.entry.js +2 -2
- package/dist/esm/mds-radial-menu.entry.js +5 -5
- package/dist/esm/mds-separator.entry.js +4 -4
- package/dist/esm/mds-status-bar.entry.js +3 -3
- package/dist/esm/mds-stepper-bar-item.entry.js +17 -7
- package/dist/esm/mds-stepper-bar.entry.js +9 -7
- package/dist/esm/mds-tab-bar-item.entry.js +4 -4
- package/dist/esm/mds-tab-bar.entry.js +3 -3
- package/dist/esm/mds-tab_2.entry.js +5 -5
- package/dist/esm/mds-table-body.entry.js +3 -3
- package/dist/esm/mds-table-footer.entry.js +3 -3
- package/dist/esm/mds-table-header-cell.entry.js +3 -3
- package/dist/esm/mds-table-header.entry.js +4 -4
- package/dist/esm/mds-table-row.entry.js +5 -5
- package/dist/esm/mds-table.entry.js +5 -5
- package/dist/esm/mds-text.entry.js +4 -4
- package/dist/esm/mds-toast-region.entry.js +2 -2
- package/dist/esm/mds-toast.entry.js +4 -4
- package/dist/esm/mds-tooltip.entry.js +16 -9
- package/dist/esm/mds-tree-item.entry.js +4 -4
- package/dist/esm/mds-tree.entry.js +3 -3
- package/dist/esm/mds-url-view.entry.js +4 -4
- package/dist/esm/mds-usage.entry.js +4 -4
- package/dist/esm/mds-video-wall.entry.js +4 -4
- package/dist/esm/mds-zero.entry.js +4 -4
- package/dist/esm/{navigation-To9IeLHs.js → navigation-Pwyk_BKp.js} +14 -1
- package/dist/esm/{preference-CBMLGSf7.js → preference-B_NbXZNw.js} +1 -1
- package/dist/esm-es5/{floating-controller-DlFrvBTG.js → floating-controller-ECQfm808.js} +1 -1
- package/dist/esm-es5/{index-CPibDZjX.js → index-BQhu9Pch.js} +3 -3
- package/dist/esm-es5/{index-DWniH_Ge.js → index-CiyNF8so.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{locale-B7Hw4niB.js → locale-Cm8DHVsu.js} +28 -21
- package/dist/esm-es5/magma-components.js +3 -3
- package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion.entry.js +1 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +2 -2
- package/dist/esm-es5/mds-badge.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +3 -3
- package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
- package/dist/esm-es5/mds-bibliography.entry.js +1 -1
- package/dist/esm-es5/mds-book.entry.js +2 -2
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +8 -5
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +19 -9
- package/dist/esm-es5/mds-calendar_2.entry.js +2 -2
- 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 +1 -1
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +1 -1
- package/dist/esm-es5/mds-emoji.entry.js +2 -2
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +11 -11
- package/dist/esm-es5/mds-file.entry.js +2 -2
- package/dist/esm-es5/mds-filter-item.entry.js +2 -2
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +1 -1
- package/dist/esm-es5/mds-header.entry.js +1 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +9 -7
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
- package/dist/esm-es5/mds-input-date.entry.js +1 -1
- package/dist/esm-es5/mds-input-field.entry.js +7 -7
- package/dist/esm-es5/mds-input-otp.entry.js +2 -2
- package/dist/esm-es5/mds-input-range-value.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +6 -6
- package/dist/esm-es5/mds-input-select.entry.js +2 -2
- package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
- package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
- package/dist/esm-es5/mds-input-upload.entry.js +2 -2
- package/dist/esm-es5/mds-input.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
- package/dist/esm-es5/mds-keyboard.entry.js +2 -2
- package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-link.entry.js +16 -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 +5 -5
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +2 -2
- package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
- package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language.entry.js +2 -2
- package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
- package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
- package/dist/esm-es5/mds-pref.entry.js +2 -2
- 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 +3 -3
- package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.entry.js +6 -6
- 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 +2 -2
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +2 -2
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -2
- package/dist/esm-es5/mds-stepper-bar.entry.js +11 -8
- package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
- package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
- package/dist/esm-es5/mds-tab_2.entry.js +3 -3
- 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 +2 -2
- package/dist/esm-es5/mds-table-header.entry.js +3 -3
- package/dist/esm-es5/mds-table-row.entry.js +2 -2
- package/dist/esm-es5/mds-table.entry.js +2 -2
- package/dist/esm-es5/mds-text.entry.js +3 -3
- package/dist/esm-es5/mds-toast-region.entry.js +2 -2
- package/dist/esm-es5/mds-toast.entry.js +2 -2
- package/dist/esm-es5/mds-tooltip.entry.js +13 -7
- package/dist/esm-es5/mds-tree-item.entry.js +2 -2
- package/dist/esm-es5/mds-tree.entry.js +2 -2
- package/dist/esm-es5/mds-url-view.entry.js +2 -2
- package/dist/esm-es5/mds-usage.entry.js +2 -2
- 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-To9IeLHs.js → navigation-Pwyk_BKp.js} +10 -1
- package/dist/esm-es5/{preference-CBMLGSf7.js → preference-B_NbXZNw.js} +1 -1
- package/dist/hydrate/index.js +308 -186
- package/dist/hydrate/index.mjs +308 -186
- package/dist/lint/core/data.d.ts +9 -1
- package/dist/lint/core/data.js +6 -2
- package/dist/lint/core/patterns.d.ts +123 -2
- package/dist/lint/core/patterns.js +423 -19
- package/dist/lint/mcp/tools.json +1 -1
- 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-e63c1ba4.entry.js → p-04092a3b.entry.js} +1 -1
- package/dist/magma-components/{p-b1fe6261.entry.js → p-0415056d.entry.js} +1 -1
- package/dist/magma-components/{p-37470fef.system.entry.js → p-0464a230.system.entry.js} +3 -3
- package/dist/magma-components/p-05098fa3.entry.js +1 -0
- package/dist/magma-components/{p-825713bc.system.entry.js → p-07141f37.system.entry.js} +2 -2
- package/dist/magma-components/{p-82041de2.entry.js → p-07e0564b.entry.js} +1 -1
- package/dist/magma-components/{p-df70af5f.system.entry.js → p-07e3a6ae.system.entry.js} +34 -34
- package/dist/magma-components/{p-8193fd71.entry.js → p-096464f6.entry.js} +1 -1
- package/dist/magma-components/p-0b9dc520.system.entry.js +9 -0
- package/dist/magma-components/{p-f6f6d914.system.entry.js → p-0ba59e33.system.entry.js} +3 -3
- package/dist/magma-components/{p-d4452e41.entry.js → p-0d7848dc.entry.js} +1 -1
- package/dist/magma-components/{p-b8e5411d.system.entry.js → p-0e67ab54.system.entry.js} +1 -1
- package/dist/magma-components/{p-f01e7a7e.system.entry.js → p-0ec9ef12.system.entry.js} +1 -1
- package/dist/magma-components/p-0ef36f08.entry.js +1 -0
- package/dist/magma-components/{p-0d7370d8.system.entry.js → p-12785058.system.entry.js} +1 -1
- package/dist/magma-components/{p-58bbada6.system.entry.js → p-13498dce.system.entry.js} +1 -1
- package/dist/magma-components/{p-a0389821.entry.js → p-13a777ff.entry.js} +1 -1
- package/dist/magma-components/{p-2a5223df.system.entry.js → p-165b9ee9.system.entry.js} +3 -3
- package/dist/magma-components/p-16c3109f.entry.js +8 -0
- package/dist/magma-components/{p-038fc1db.entry.js → p-1a0773d4.entry.js} +1 -1
- package/dist/magma-components/{p-483480f9.system.entry.js → p-1ab76b57.system.entry.js} +3 -3
- package/dist/magma-components/{p-e4db9ad2.entry.js → p-1e686eb7.entry.js} +1 -1
- package/dist/magma-components/{p-97e55f7e.system.entry.js → p-1e938a6f.system.entry.js} +2 -2
- package/dist/magma-components/{p-ae258eca.system.entry.js → p-1ee28c75.system.entry.js} +2 -2
- package/dist/magma-components/{p-5c0f0517.entry.js → p-1eedb159.entry.js} +1 -1
- package/dist/magma-components/{p-11312b0c.entry.js → p-1efd5b03.entry.js} +1 -1
- package/dist/magma-components/{p-13e94501.entry.js → p-20e9860a.entry.js} +1 -1
- package/dist/magma-components/{p-2dd32b3f.system.entry.js → p-2102e6ed.system.entry.js} +3 -3
- package/dist/magma-components/p-2155889e.entry.js +1 -0
- package/dist/magma-components/{p-f4e8f507.system.entry.js → p-22de70f3.system.entry.js} +2 -2
- package/dist/magma-components/p-257ae152.entry.js +1 -0
- package/dist/magma-components/{p-5d8cb375.system.entry.js → p-26695384.system.entry.js} +1 -1
- package/dist/magma-components/{p-c902d468.entry.js → p-26e737f5.entry.js} +1 -1
- package/dist/magma-components/{p-d0b45a54.entry.js → p-271fa94b.entry.js} +1 -1
- package/dist/magma-components/{p-1934151b.entry.js → p-27c42c5b.entry.js} +1 -1
- package/dist/magma-components/{p-a171c096.system.entry.js → p-29eab5de.system.entry.js} +1 -1
- package/dist/magma-components/{p-082b787b.entry.js → p-2a367163.entry.js} +1 -1
- package/dist/magma-components/{p-b95f648f.system.entry.js → p-2adc8da6.system.entry.js} +2 -2
- package/dist/magma-components/p-2b0bb30a.entry.js +1 -0
- package/dist/magma-components/{p-3341ac50.entry.js → p-2cb3092c.entry.js} +1 -1
- package/dist/magma-components/{p-ca5867f5.system.entry.js → p-2cd10aef.system.entry.js} +9 -9
- package/dist/magma-components/{p-91406af1.system.entry.js → p-2e1620ba.system.entry.js} +5 -5
- package/dist/magma-components/p-2eab8fb0.entry.js +1 -0
- package/dist/magma-components/{p-e009c632.entry.js → p-31503852.entry.js} +1 -1
- package/dist/magma-components/{p-efcd8a1d.entry.js → p-3401be31.entry.js} +1 -1
- package/dist/magma-components/{p-ccb23b6a.entry.js → p-35261a76.entry.js} +1 -1
- package/dist/magma-components/p-3578ec8d.entry.js +1 -0
- package/dist/magma-components/{p-a4aaf1c6.system.entry.js → p-381b00f2.system.entry.js} +3 -3
- package/dist/magma-components/p-38b33f35.entry.js +1 -0
- package/dist/magma-components/{p-47712df6.entry.js → p-3936265d.entry.js} +1 -1
- package/dist/magma-components/{p-2dc9499c.system.entry.js → p-394560df.system.entry.js} +2 -2
- package/dist/magma-components/{p-d0dfa8b5.system.entry.js → p-39866e42.system.entry.js} +2 -2
- package/dist/magma-components/{p-6c6ec154.system.entry.js → p-3b1cb8ea.system.entry.js} +2 -2
- package/dist/magma-components/{p-dd4b04ed.system.entry.js → p-3d1f9f06.system.entry.js} +2 -2
- package/dist/magma-components/{p-1e43613e.entry.js → p-3f9b9e40.entry.js} +1 -1
- package/dist/magma-components/{p-56715bbc.system.entry.js → p-401c7cff.system.entry.js} +2 -2
- package/dist/magma-components/{p-ad12fa89.system.entry.js → p-40dc42b3.system.entry.js} +2 -2
- package/dist/magma-components/{p-bd539dbc.entry.js → p-41740349.entry.js} +1 -1
- package/dist/magma-components/p-479731de.entry.js +1 -0
- package/dist/magma-components/{p-9c0d1025.system.entry.js → p-4822b172.system.entry.js} +1 -1
- package/dist/magma-components/{p-03896fbd.entry.js → p-48db6553.entry.js} +1 -1
- package/dist/magma-components/{p-ada93f68.entry.js → p-49918013.entry.js} +1 -1
- package/dist/magma-components/p-4b5444f1.entry.js +1 -0
- package/dist/magma-components/{p-420c5af4.entry.js → p-4b7249eb.entry.js} +1 -1
- package/dist/magma-components/{p-f0d93b22.system.entry.js → p-4cc6c06d.system.entry.js} +3 -3
- package/dist/magma-components/{p-7e87807d.entry.js → p-4e68ec48.entry.js} +1 -1
- package/dist/magma-components/p-4f0c913b.system.entry.js +23 -0
- package/dist/magma-components/{p-95a29fd2.entry.js → p-4f80b9be.entry.js} +1 -1
- package/dist/magma-components/{p-6471c0a4.system.entry.js → p-54dfb648.system.entry.js} +2 -2
- package/dist/magma-components/p-5519483d.entry.js +1 -0
- package/dist/magma-components/p-56565acb.system.entry.js +10 -0
- package/dist/magma-components/{p-3d60f528.system.entry.js → p-5845ebd7.system.entry.js} +2 -2
- package/dist/magma-components/{p-333c0ae5.entry.js → p-58a75841.entry.js} +1 -1
- package/dist/magma-components/{p-ecf29ffa.entry.js → p-59cf0c3d.entry.js} +1 -1
- package/dist/magma-components/{p-c8430552.system.entry.js → p-5c3a54bf.system.entry.js} +2 -2
- package/dist/magma-components/p-5c82a88a.entry.js +1 -0
- package/dist/magma-components/{p-a9c7fb3f.entry.js → p-5cf09df3.entry.js} +3 -3
- package/dist/magma-components/{p-756cd3dc.entry.js → p-5ec955a7.entry.js} +1 -1
- package/dist/magma-components/{p-16651356.entry.js → p-5f17dc76.entry.js} +1 -1
- package/dist/magma-components/p-5fd09fb5.system.entry.js +29 -0
- package/dist/magma-components/{p-b4856322.entry.js → p-5fe812ee.entry.js} +1 -1
- package/dist/magma-components/{p-03441f69.entry.js → p-618f8dc9.entry.js} +1 -1
- package/dist/magma-components/{p-34183ce3.entry.js → p-61fb9286.entry.js} +1 -1
- package/dist/magma-components/{p-6443e40f.entry.js → p-63a53b4d.entry.js} +1 -1
- package/dist/magma-components/{p-52b73a95.system.entry.js → p-6436bfa8.system.entry.js} +2 -2
- package/dist/magma-components/{p-73f22a7d.entry.js → p-648d77bc.entry.js} +1 -1
- package/dist/magma-components/p-65acd2e8.entry.js +1 -0
- package/dist/magma-components/{p-5b5d57b0.system.entry.js → p-65ed7a0f.system.entry.js} +7 -5
- package/dist/magma-components/p-67e30158.entry.js +1 -0
- package/dist/magma-components/{p-68d83e18.system.entry.js → p-6864cc54.system.entry.js} +1 -1
- package/dist/magma-components/{p-aa601247.system.entry.js → p-69afe21e.system.entry.js} +2 -2
- package/dist/magma-components/{p-1686b36a.entry.js → p-6ac46e2f.entry.js} +1 -1
- package/dist/magma-components/{p-09675899.entry.js → p-6b84c7a7.entry.js} +1 -1
- package/dist/magma-components/p-6ba8b2d6.entry.js +1 -0
- package/dist/magma-components/{p-8928d9b5.system.entry.js → p-6c68fbe9.system.entry.js} +2 -2
- package/dist/magma-components/{p-c67655fa.entry.js → p-6cca1d61.entry.js} +1 -1
- package/dist/magma-components/{p-ea93721d.entry.js → p-6e5b15c5.entry.js} +1 -1
- package/dist/magma-components/{p-303173d5.system.entry.js → p-6e8b3c36.system.entry.js} +3 -3
- package/dist/magma-components/{p-bd4ad8c7.entry.js → p-6f7d6a3e.entry.js} +1 -1
- package/dist/magma-components/{p-06ba1f71.system.entry.js → p-70a065dc.system.entry.js} +2 -2
- package/dist/magma-components/{p-4564e7ad.entry.js → p-70a83504.entry.js} +1 -1
- package/dist/magma-components/p-71d171a8.entry.js +1 -0
- package/dist/magma-components/{p-5c4aed7e.entry.js → p-71f650fe.entry.js} +1 -1
- package/dist/magma-components/{p-7cfa2415.system.entry.js → p-73ddade8.system.entry.js} +1 -1
- package/dist/magma-components/p-73efbc7a.entry.js +1 -0
- package/dist/magma-components/p-76fb49a1.system.entry.js +11 -0
- package/dist/magma-components/{p-6d7e8240.system.entry.js → p-795215a4.system.entry.js} +1 -1
- package/dist/magma-components/{p-1db5ab39.entry.js → p-79f36661.entry.js} +1 -1
- package/dist/magma-components/{p-3ccc1c10.entry.js → p-79f6c73e.entry.js} +1 -1
- package/dist/magma-components/{p-2e5684a0.system.entry.js → p-7cb4260c.system.entry.js} +2 -2
- package/dist/magma-components/{p-a33a235e.entry.js → p-7cec80c9.entry.js} +1 -1
- package/dist/magma-components/{p-d1751ff6.entry.js → p-7e717a2b.entry.js} +1 -1
- package/dist/magma-components/{p-c2a883b0.system.entry.js → p-8329caf9.system.entry.js} +1 -1
- package/dist/magma-components/p-85389823.system.entry.js +82 -0
- package/dist/magma-components/{p-16a7e26a.system.entry.js → p-86050b72.system.entry.js} +1 -1
- package/dist/magma-components/{p-4bb45501.entry.js → p-88a7d026.entry.js} +1 -1
- package/dist/magma-components/p-89d47be8.system.entry.js +7 -0
- package/dist/magma-components/p-89eb7b19.entry.js +1 -0
- package/dist/magma-components/{p-03a2f4e7.system.entry.js → p-8a3626c7.system.entry.js} +1 -1
- package/dist/magma-components/{p-9e3c1c28.system.entry.js → p-8e195423.system.entry.js} +5 -5
- package/dist/magma-components/{p-522968d1.system.entry.js → p-907d8111.system.entry.js} +1 -1
- package/dist/magma-components/{p-e66db408.entry.js → p-907dd338.entry.js} +1 -1
- package/dist/magma-components/p-9282b1eb.system.entry.js +60 -0
- package/dist/magma-components/p-92a8391c.entry.js +1 -0
- package/dist/magma-components/{p-01d6d5a5.system.entry.js → p-94b46388.system.entry.js} +2 -2
- package/dist/magma-components/{p-b7d90310.entry.js → p-95f07748.entry.js} +1 -1
- package/dist/magma-components/p-97d431f3.system.entry.js +1 -0
- package/dist/magma-components/{p-ca0f3549.entry.js → p-98048238.entry.js} +1 -1
- package/dist/magma-components/{p-b47c444e.system.entry.js → p-9905ebcf.system.entry.js} +2 -2
- package/dist/magma-components/{p-aa86018e.system.entry.js → p-990b3146.system.entry.js} +2 -2
- package/dist/magma-components/p-9b10fdcb.system.entry.js +27 -0
- package/dist/magma-components/{p-8e471af5.entry.js → p-9b4daea1.entry.js} +1 -1
- package/dist/magma-components/{p-11543f44.system.entry.js → p-9c617430.system.entry.js} +4 -4
- package/dist/magma-components/p-9f58805c.system.entry.js +13 -0
- package/dist/magma-components/{p-c3cfbc71.system.entry.js → p-9f653320.system.entry.js} +2 -2
- package/dist/magma-components/{p-1d101083.system.entry.js → p-9fa41a55.system.entry.js} +1 -1
- package/dist/magma-components/{p-a9d100e5.system.entry.js → p-9fac94ff.system.entry.js} +3 -3
- package/dist/{components/p-CtEHhdv4.js → magma-components/p-B0SxTwF4.js} +1 -1
- package/dist/magma-components/p-B6OZspN1.system.js +5 -0
- package/dist/magma-components/p-BQhu9Pch.js +3 -0
- package/dist/magma-components/{p-EhfbAdzV.system.js → p-BfmjlcJL.system.js} +3 -3
- package/dist/magma-components/{p-B6f9M1Bj.system.js → p-BhMNGZjh.system.js} +13 -4
- package/dist/magma-components/{p-BAW1DAbr.system.js → p-CJcKfFM1.system.js} +2 -2
- package/dist/magma-components/{p-H8sVzFTL.js → p-CV9cS5S1.js} +1 -1
- package/dist/magma-components/{p-DGfoeZMw.system.js → p-C_jcGVti.system.js} +2 -2
- package/dist/magma-components/{p-BXkIXROP.js → p-DCJuMTY7.js} +1 -1
- package/dist/magma-components/{p-BkfGbFba.js → p-DDMAJPbm.js} +2 -2
- package/dist/magma-components/{p-CyPLJo0p.system.js → p-DJ5-T3cU.system.js} +1 -1
- package/dist/magma-components/{p-CzZWts7L.system.js → p-DQfleYtv.system.js} +23 -16
- package/dist/magma-components/{p-D5Yayq7E.system.js → p-Djd8g56b.system.js} +1 -1
- package/dist/magma-components/p-Pwyk_BKp.js +1 -0
- package/dist/magma-components/{p-98a3802b.system.entry.js → p-a0b8c130.system.entry.js} +1 -1
- package/dist/magma-components/{p-03285704.entry.js → p-a1085d6b.entry.js} +1 -1
- package/dist/magma-components/{p-73a6ee3b.system.entry.js → p-a4dcc327.system.entry.js} +1 -1
- package/dist/magma-components/{p-a190c325.system.entry.js → p-a6e82aa7.system.entry.js} +2 -2
- package/dist/magma-components/{p-b20f811b.system.entry.js → p-a738797b.system.entry.js} +2 -2
- package/dist/magma-components/{p-0c8dd132.entry.js → p-a754bd25.entry.js} +1 -1
- package/dist/magma-components/p-a77cbe57.system.entry.js +55 -0
- package/dist/magma-components/{p-778a46fa.entry.js → p-a7cc7459.entry.js} +1 -1
- package/dist/magma-components/p-a90c4a11.entry.js +1 -0
- package/dist/magma-components/{p-bca909d9.entry.js → p-aa65dfb2.entry.js} +1 -1
- package/dist/magma-components/p-ad438b7b.system.entry.js +33 -0
- package/dist/magma-components/{p-6de384d0.system.entry.js → p-adecc08e.system.entry.js} +1 -1
- package/dist/magma-components/{p-009e4359.system.entry.js → p-b27af8ba.system.entry.js} +111 -111
- package/dist/magma-components/{p-cc5518b1.entry.js → p-b2b0f738.entry.js} +1 -1
- package/dist/magma-components/{p-913123e6.entry.js → p-b3aca1fa.entry.js} +1 -1
- package/dist/magma-components/{p-d7813f9b.system.entry.js → p-b440fd7b.system.entry.js} +1 -1
- package/dist/magma-components/{p-3d0578a7.entry.js → p-b4afd3c7.entry.js} +1 -1
- package/dist/magma-components/p-b51ed8f6.entry.js +1 -0
- package/dist/magma-components/{p-70cf2c28.entry.js → p-b6239109.entry.js} +1 -1
- package/dist/magma-components/{p-1e5d4854.system.entry.js → p-b7a16ade.system.entry.js} +2 -2
- package/dist/magma-components/p-b98025cb.system.entry.js +34 -0
- package/dist/magma-components/p-ba6bb2f1.entry.js +1 -0
- package/dist/magma-components/p-ba7f5d01.system.entry.js +1 -0
- package/dist/magma-components/{p-c2d9cf4e.system.entry.js → p-bb3dcd13.system.entry.js} +1 -1
- package/dist/magma-components/p-bb7b5f5e.entry.js +1 -0
- package/dist/magma-components/p-bc0fe932.system.entry.js +7 -0
- package/dist/magma-components/p-be4ff85e.entry.js +1 -0
- package/dist/magma-components/{p-e497f0db.entry.js → p-bfdfba19.entry.js} +1 -1
- package/dist/magma-components/{p-af1a93c6.system.entry.js → p-c021e9a3.system.entry.js} +2 -2
- package/dist/magma-components/{p-cfb153b8.entry.js → p-c082daa4.entry.js} +1 -1
- package/dist/magma-components/{p-1784d5fb.entry.js → p-c28c1c09.entry.js} +1 -1
- package/dist/magma-components/{p-275d7968.system.entry.js → p-c31ba98a.system.entry.js} +14 -14
- package/dist/magma-components/p-c4b498d4.entry.js +1 -0
- package/dist/magma-components/{p-e160e4e1.entry.js → p-c5321c72.entry.js} +1 -1
- package/dist/magma-components/{p-ede31d27.system.entry.js → p-c878eef8.system.entry.js} +2 -2
- package/dist/magma-components/{p-555bd3f8.system.entry.js → p-c8822563.system.entry.js} +2 -2
- package/dist/magma-components/p-cc51ab16.system.entry.js +16 -0
- package/dist/magma-components/{p-f2e5a2c7.system.entry.js → p-cd396f69.system.entry.js} +1 -1
- package/dist/magma-components/{p-a00805cd.system.entry.js → p-d05073ed.system.entry.js} +6 -6
- package/dist/magma-components/{p-270e9afa.entry.js → p-d34cc848.entry.js} +1 -1
- package/dist/magma-components/{p-3fb983e9.system.entry.js → p-d4ca0c40.system.entry.js} +1 -1
- package/dist/magma-components/{p-757c3420.entry.js → p-d52948de.entry.js} +1 -1
- package/dist/magma-components/{p-c5b7f820.system.entry.js → p-d579a012.system.entry.js} +1 -1
- package/dist/magma-components/{p-14f60718.system.entry.js → p-d5bef373.system.entry.js} +1 -1
- package/dist/magma-components/{p-b18b0088.system.entry.js → p-d666a86c.system.entry.js} +1 -1
- package/dist/magma-components/{p-f5c82548.system.entry.js → p-d6934fc0.system.entry.js} +1 -1
- package/dist/magma-components/{p-0760e8a4.entry.js → p-d69ddd73.entry.js} +1 -1
- package/dist/magma-components/{p-eb4f76d8.system.entry.js → p-d7c5f9ec.system.entry.js} +7 -7
- package/dist/magma-components/p-d8ac0d1f.system.entry.js +16 -0
- package/dist/magma-components/{p-9be80c34.entry.js → p-d8c068be.entry.js} +1 -1
- package/dist/magma-components/{p-2289423c.system.entry.js → p-d9edc7f8.system.entry.js} +1 -1
- package/dist/magma-components/p-da4915d0.entry.js +1 -0
- package/dist/magma-components/{p-73b0b35f.system.entry.js → p-dc99e9a9.system.entry.js} +2 -2
- package/dist/magma-components/{p-c0c69807.system.entry.js → p-dd621963.system.entry.js} +1 -1
- package/dist/magma-components/{p-11ee7089.system.entry.js → p-dfc31d2e.system.entry.js} +2 -2
- package/dist/magma-components/p-e5b22a99.system.entry.js +48 -0
- package/dist/magma-components/p-e6500bfe.system.entry.js +29 -0
- package/dist/magma-components/{p-62e42a62.entry.js → p-e88a43ac.entry.js} +1 -1
- package/dist/magma-components/{p-3b41f929.entry.js → p-e9f821a0.entry.js} +1 -1
- package/dist/magma-components/{p-ac401f1a.entry.js → p-ec1b38c7.entry.js} +1 -1
- package/dist/magma-components/{p-ee65f0eb.system.entry.js → p-eec2ae5c.system.entry.js} +2 -2
- package/dist/magma-components/{p-78cced59.entry.js → p-efb4357e.entry.js} +1 -1
- package/dist/magma-components/{p-586878a2.system.entry.js → p-f02972ba.system.entry.js} +4 -4
- package/dist/magma-components/{p-ddc31c50.entry.js → p-f07777b0.entry.js} +1 -1
- package/dist/magma-components/{p-478bbfdb.entry.js → p-f0fd6414.entry.js} +1 -1
- package/dist/magma-components/p-f1d263fa.system.entry.js +137 -0
- package/dist/magma-components/{p-cfcb8bb5.entry.js → p-f43ee21d.entry.js} +1 -1
- package/dist/magma-components/{p-e84361ee.system.entry.js → p-f5ea4c19.system.entry.js} +12 -6
- package/dist/magma-components/{p-4e4dd1c1.system.entry.js → p-f6256d26.system.entry.js} +2 -2
- package/dist/magma-components/{p-8aa6524e.entry.js → p-f62ea4bc.entry.js} +1 -1
- package/dist/magma-components/{p-18421a84.entry.js → p-f6638f03.entry.js} +1 -1
- package/dist/magma-components/{p-41829c15.system.entry.js → p-f895695a.system.entry.js} +2 -2
- package/dist/magma-components/{p-a075c069.entry.js → p-fa8482c0.entry.js} +1 -1
- package/dist/magma-components/{p-857e893e.system.entry.js → p-fafb8e7b.system.entry.js} +3 -3
- package/dist/magma-components/{p-d1281855.system.entry.js → p-fb3b659c.system.entry.js} +5 -5
- package/dist/magma-components/{p-1f756317.entry.js → p-fc167181.entry.js} +1 -1
- package/dist/magma-components/{p-33172d6f.system.entry.js → p-fc7b9e5b.system.entry.js} +11 -8
- package/dist/magma-components/p-fc9a8862.entry.js +1 -0
- package/dist/magma-components/{p-9b00051f.system.entry.js → p-fe6100ff.system.entry.js} +1 -1
- package/dist/magma-components/{p-d173ae2f.system.entry.js → p-fe64c49c.system.entry.js} +1 -1
- package/dist/magma-components/{p-f3041712.entry.js → p-fe9a8ca1.entry.js} +1 -1
- package/dist/mcp/checks.js +32 -13
- package/dist/mcp/patterns.js +1 -1
- package/dist/mcp/tools.json +1 -1
- package/dist/stats.json +2945 -2661
- package/dist/types/common/navigation.d.ts +12 -2
- package/dist/types/components/mds-button/mds-button.d.ts +13 -0
- package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -0
- package/dist/types/components/mds-img/mds-img.d.ts +13 -3
- package/dist/types/components/mds-img/meta/storybook.d.ts +11 -0
- package/dist/types/components/mds-img/meta/types.d.ts +2 -0
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +6 -0
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-link/mds-link.d.ts +13 -0
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +0 -1
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -1
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +5 -3
- package/dist/types/components.d.ts +62 -8
- package/dist/types/fixtures/states.d.ts +33 -0
- package/package.json +9 -8
- package/dist/components/p-B3npFzUR.js +0 -1
- package/dist/components/p-BD9VWE7b.js +0 -1
- package/dist/components/p-Bg11_7lt.js +0 -1
- package/dist/components/p-C589Hkfn.js +0 -1
- package/dist/components/p-C878c9Nu.js +0 -1
- package/dist/components/p-CS8s4gRV.js +0 -1
- package/dist/components/p-CfCw1XZP.js +0 -1
- package/dist/components/p-Cs80Zm2b.js +0 -8
- package/dist/components/p-Cty6fegI.js +0 -1
- package/dist/components/p-DKYN6Ikh.js +0 -1
- package/dist/components/p-MjWyZlga.js +0 -1
- package/dist/components/p-To9IeLHs.js +0 -1
- package/dist/components/p-VoGfNJRY.js +0 -1
- package/dist/components/p-g2_CekDc.js +0 -3
- package/dist/magma-components/p-09537867.entry.js +0 -1
- package/dist/magma-components/p-0a914567.entry.js +0 -1
- package/dist/magma-components/p-0e7bb90b.system.entry.js +0 -127
- package/dist/magma-components/p-10a68a4d.system.entry.js +0 -7
- package/dist/magma-components/p-193b58d0.entry.js +0 -1
- package/dist/magma-components/p-19f3b524.system.entry.js +0 -55
- package/dist/magma-components/p-2100343f.entry.js +0 -1
- package/dist/magma-components/p-211b2675.system.entry.js +0 -1
- package/dist/magma-components/p-26aad538.entry.js +0 -1
- package/dist/magma-components/p-28ecae1e.system.entry.js +0 -16
- package/dist/magma-components/p-2aa3e73a.system.entry.js +0 -13
- package/dist/magma-components/p-2c64ec7e.entry.js +0 -1
- package/dist/magma-components/p-35a77756.entry.js +0 -1
- package/dist/magma-components/p-37172440.entry.js +0 -1
- package/dist/magma-components/p-3d45d7a7.entry.js +0 -1
- package/dist/magma-components/p-4082973c.system.entry.js +0 -30
- package/dist/magma-components/p-4242100c.entry.js +0 -1
- package/dist/magma-components/p-430239ca.entry.js +0 -8
- package/dist/magma-components/p-478e6930.entry.js +0 -1
- package/dist/magma-components/p-4e431466.entry.js +0 -1
- package/dist/magma-components/p-533bb401.system.entry.js +0 -60
- package/dist/magma-components/p-6619b3c0.system.entry.js +0 -34
- package/dist/magma-components/p-67fa6fd7.entry.js +0 -1
- package/dist/magma-components/p-6fb17347.system.entry.js +0 -1
- package/dist/magma-components/p-6fdf3b37.entry.js +0 -1
- package/dist/magma-components/p-73596a07.entry.js +0 -1
- package/dist/magma-components/p-73c0b53e.system.entry.js +0 -82
- package/dist/magma-components/p-7caf244b.system.entry.js +0 -7
- package/dist/magma-components/p-851010c6.system.entry.js +0 -25
- package/dist/magma-components/p-8acbf50a.entry.js +0 -1
- package/dist/magma-components/p-96ece2cc.system.entry.js +0 -27
- package/dist/magma-components/p-96f66b8f.entry.js +0 -1
- package/dist/magma-components/p-B7Jp0tqu.system.js +0 -5
- package/dist/magma-components/p-CPibDZjX.js +0 -3
- package/dist/magma-components/p-To9IeLHs.js +0 -1
- package/dist/magma-components/p-a025b35b.entry.js +0 -1
- package/dist/magma-components/p-a02819e3.entry.js +0 -1
- package/dist/magma-components/p-a0764f01.entry.js +0 -1
- package/dist/magma-components/p-ab920e0b.entry.js +0 -1
- package/dist/magma-components/p-ad6b5fc1.system.entry.js +0 -16
- package/dist/magma-components/p-b0406c51.entry.js +0 -1
- package/dist/magma-components/p-ba148b89.system.entry.js +0 -23
- package/dist/magma-components/p-bbbf8b89.system.entry.js +0 -29
- package/dist/magma-components/p-c6cab2cb.entry.js +0 -1
- package/dist/magma-components/p-c6f56934.entry.js +0 -1
- package/dist/magma-components/p-cf8cfcac.system.entry.js +0 -10
- package/dist/magma-components/p-d5dec64d.entry.js +0 -1
- package/dist/magma-components/p-ee247029.system.entry.js +0 -9
- package/dist/magma-components/p-f3f1da06.system.entry.js +0 -39
- package/dist/magma-components/p-f9d2316a.entry.js +0 -1
- package/dist/magma-components/p-fe4ae251.entry.js +0 -1
- package/dist/magma-components/p-ffcfa9e3.system.entry.js +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as t,f as i,s,a as e,c as r,b as o,p as a}from"./p-C7p9e0P3.js";import{c as h}from"./p-CWk1SCJg.js";import{s as n,h as l}from"./p-DwKxtKwS.js";import{B as c}from"./p-
|
|
1
|
+
import{o as t,f as i,s,a as e,c as r,b as o,p as a}from"./p-C7p9e0P3.js";import{c as h}from"./p-CWk1SCJg.js";import{s as n,h as l}from"./p-DwKxtKwS.js";import{B as c}from"./p-ChCkQpXr.js";const d=["dialog","grid","listbox","menu","tree"],m=["button","combobox","link","menuitem","tab","treeitem"],p=["A","BUTTON","INPUT","SELECT","SUMMARY","TEXTAREA"],u=t=>t instanceof Element&&t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode,f=t=>{for(let i=t;i;i=u(i))if(i instanceof Element&&"none"===getComputedStyle(i).display)return null;for(let i=u(t);i;i=u(i)){if(!(i instanceof Element))continue;const t=getComputedStyle(i);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return i;if("BODY"===i.tagName)return i}}return null},b=Object.assign(Object.assign({},a),{getOffsetParent:t=>a.getOffsetParent(t,f)});class g{constructor(a,h,u="menu"){this._wired=!1,this._written=[],this._labelledByOurs=!1,this.unwireCaller=()=>{this._written.forEach((t=>this._caller.removeAttribute(t))),this._written=[],this._labelledByOurs&&(this._host.removeAttribute("aria-labelledby"),this._labelledByOurs=!1)},this.writeOnCaller=(t,i)=>{this._caller.hasAttribute(t)||(this._caller.setAttribute(t,i),this._written.push(t))},this.sameRoot=()=>this._caller.getRootNode()===this._host.getRootNode(),this.callerAcceptsWiring=()=>{const t=this._caller.getAttribute("role");return null!==t?m.includes(t):p.includes(this._caller.tagName)},this.wireCaller=async()=>{var t,i,s;const e=this._caller;if(c.isBrowser&&e.tagName.startsWith("MDS-")&&(await customElements.whenDefined(e.tagName.toLowerCase()),await(null===(i=(t=e).componentOnReady)||void 0===i?void 0:i.call(t))),e!==this._caller)return;if("tooltip"===this._role){if(this.sameRoot()){const t=n(this._host,"id",l("mds-tooltip"));this.writeOnCaller("label"===this._host.relation?"aria-labelledby":"aria-describedby",t)}return}if(!this.callerAcceptsWiring())return;if(this.sameRoot()){const t=n(this._host,"id",l("mds-dropdown")),i=n(e,"id",l("mds-dropdown-caller"));this.writeOnCaller("aria-controls",t),this._host.hasAttribute("aria-labelledby")||(this._host.setAttribute("aria-labelledby",i),this._labelledByOurs=!0)}const r=null!==(s=this._host.getAttribute("role"))&&void 0!==s?s:"";d.includes(r)&&this.writeOnCaller("aria-haspopup",r),e.hasAttribute("aria-expanded")||this._written.push("aria-expanded"),this._wired=!0,this.syncExpanded(this._host.visible)},this.arrowInset=(t,i)=>{const{arrow:s}=t,e={bottom:"",left:"",right:"",top:""};if(void 0===s)return{};switch(i){case"bottom":e.left=null!==s.x?`${s.x}px`:"",e.top="100%";break;case"left":e.right="100%",e.top=null!==s.y?`${s.y}px`:"";break;case"right":e.left="100%",e.top=null!==s.y?`${s.y}px`:"";break;case"top":e.left=null!==s.x?`${s.x}px`:"",e.top=""}return e},this.arrowTransform=t=>{let i=!this._host.hideArrow&&this._host.visible?"scale(1)":"scale(0)";switch(t){case"bottom":i=`rotate(180deg) ${i} translate(0, -100%)`;break;case"left":i=`rotate(-90deg) ${i} translate(50%, -50%)`;break;case"right":i=`rotate(90deg) ${i} translate(-50%, -50%)`;break;case"top":i=`rotate(0deg) ${i} translate(0, 0)`}return{transform:i}},this.arrowTransformOrigin=t=>{switch(t){case"bottom":default:return{transformOrigin:"center top"};case"left":return{transformOrigin:"right center"};case"right":return{transformOrigin:"left center"};case"top":return{transformOrigin:"center bottom"}}},this.arrowOrigin=(t,i)=>{const{arrow:s}=i;if(!this.arrowEl||this._host.hideArrow||void 0===s)return null;const e=t.split("-")[0];if(null!=s.x){const t=s.x+this.arrowEl.offsetWidth/2;if("bottom"===e)return`${t}px top`;if("top"===e)return`${t}px bottom`}if(null!=s.y){const t=s.y+this.arrowEl.offsetHeight/2;if("right"===e)return`left ${t}px`;if("left"===e)return`right ${t}px`}return null},this.convertToTransformOrigin=t=>({top:"center bottom",right:"left center",bottom:"center top",left:"right center","bottom-end":"top right","bottom-start":"top left","left-end":"right bottom","left-start":"right top","right-end":"left bottom","right-start":"left top","top-end":"bottom right","top-start":"bottom left"}[t]),this.calculatePosition=()=>{if(!this._caller)return;const o=new Array,a={};this._host.shiftPadding&&(a.padding=this._host.shiftPadding),this._host.offset&&o.push(t(this._host.offset)),this._host.disableAutoPlacement?this._host.flip&&o.push(i(a)):o.push(i(Object.assign(Object.assign({},a),{crossAxis:"alignment",fallbackAxisSideDirection:"end"}))),this._host.disableShift||o.push(s(a)),this.arrowEl&&!this._host.hideArrow&&o.push(e({element:this.arrowEl,padding:this._host.arrowPadding})),r(this._caller,this._host,{middleware:o,placement:this._host.placement,platform:b,strategy:this._host.strategy}).then((({x:t,y:i,placement:s,middlewareData:e})=>{var r;const o=!this._host.hasAttribute("data-floating-placed");Object.assign(this._host.style,{left:`${t}px`,top:`${i}px`,transformOrigin:null!==(r=this.arrowOrigin(s,e))&&void 0!==r?r:this.convertToTransformOrigin(s),position:this._host.strategy}),o&&requestAnimationFrame((()=>this._host.setAttribute("data-floating-placed","")));const a={},h={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];h&&this.arrowEl&&(Object.assign(a,this.arrowTransform(h)),Object.assign(a,this.arrowInset(e,h)),Object.assign(a,this.arrowTransformOrigin(h)),Object.assign(this.arrowEl.style,a))}))},this.startWhenMeasurable=t=>{this._host.visible&&(0===this._host.offsetWidth&&t>0?requestAnimationFrame((()=>this.startWhenMeasurable(t-1))):this.cleanupAutoUpdate=o(this._caller,this._host,this.calculatePosition))},this._host=a,this.arrowEl=h,this._role=u}updateCaller(t){var i,s,e;const r=null!==(e=null===(s=null===(i=this._host.parentElement)||void 0===i?void 0:i.shadowRoot)||void 0===s?void 0:s.querySelector(t))&&void 0!==e?e:this._host.getRootNode().querySelector(t);return r?(this._caller&&this._caller!==r&&this.unwireCaller(),this._caller=r,this._wired=!1,n(this._host,"role",this._role),this.wireCaller(),r):(console.warn(`FloatingController: target not found: ${t}`),null)}rewire(){this._caller&&(this.unwireCaller(),this._wired=!1,this.wireCaller())}syncExpanded(t){this._wired&&this._caller.setAttribute("aria-expanded",`${t}`)}updatePosition(){this._host.visible&&(this.dismiss(),this.startWhenMeasurable(3))}dismiss(){this.cleanupAutoUpdate&&this.cleanupAutoUpdate()}}class x{constructor(t){this.defaultBackdropId="magma-backdrop",this.backdropBackgroundVisible="rgba(var(--magma-backdrop-color, 0 0 0) / var(--magma-backdrop-opacity, 0.1))",this.backdropBackgroundHidden="rgba(var(--magma-backdrop-color, 0 0 0) / 0)",this.backdropId=null!=t?t:this.defaultBackdropId,this.cssBackdropZIndex=`var(--${this.backdropId}-z-index, 4000)`,this.cssBackdropDuration=`var(--${this.backdropId}-animation-duration, 300ms)`}attachBackdrop(t={}){this.backdropEl||(this.backdropEl=document.createElement("div"),this.backdropEl.className=this.backdropId,this.backdropEl.style.inset="0",this.backdropEl.style.pointerEvents="none",this.backdropEl.style.position="fixed"),this.duration=t.duration||this.cssBackdropDuration,this.backdropEl.style.transition=`background-color ${this.duration} ease-out`,this.backdropEl.style.zIndex=t.zIndex||this.cssBackdropZIndex,this.backdropEl.style.backgroundColor=this.backdropBackgroundHidden,document.body.appendChild(this.backdropEl),clearTimeout(this.backdropTimer),this.backdropTimer=setTimeout((()=>{this.backdropEl.style.backgroundColor=this.backdropBackgroundVisible}),1)}detachBackdrop(){var t;this.backdropEl&&(this.backdropEl.style.backgroundColor="transparent",clearTimeout(this.backdropTimer),this.backdropTimer=setTimeout((()=>{this.backdropEl.remove()}),h(null!==(t=this.duration)&&void 0!==t?t:this.cssBackdropDuration)))}}export{x as B,g as F}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as a,H as r,h as e,c as o,t}from"./p-ChCkQpXr.js";import{r as s,s as n}from"./p-DWIIDHSa.js";import{p as d}from"./p-BQJgPeCf.js";import{d as b}from"./p-tI3q9MMi.js";const g=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.variant="green",this.tone="weak",this.typography="option",this.onSlotChangeHandler=()=>{var a;""===(null!==(a=this.label)&&void 0!==a?a:"")&&(this.label=s(this.host))}}labelChanged(a){this.label=n(a)}render(){return e(o,{key:"4084f5732f8d6c3739c6998c4fa359ea35ab43bf","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("mds-text",{key:"f2231f8a0bd6eeffac8d548b996e9a9096c49c01",tag:"span",typography:this.typography,variant:"info",text:this.label},this.label||e("slot",{key:"1fce90b3d3dc04a7c520341e496829e6132c0bcf",onSlotchange:this.onSlotChangeHandler})))}get host(){return this}static get watchers(){return{label:[{labelChanged:0}]}}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{--mds-badge-background:rgb(var(--label-sky-09,196 229 250));--mds-badge-border-color:rgb(var(--label-sky-06,82 180 238));--mds-badge-border-width:1px;--mds-badge-color:rgb(var(--label-sky-03,4 95 136));--mds-badge-radius:var(--magma-radius-full,var(--radius-full,1000px));--mds-badge-transition-duration:var(--duration-200,.2s);--private-badge-transition-duration:var(--mds-badge-transition-duration);align-items:center;background-color:var(--mds-badge-background,rgb(var(--label-sky-09,196 229 250)));border-radius:var(--mds-badge-radius,var(--magma-radius-full,var(--radius-full,1000px)));color:var(--mds-badge-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:inline-flex;min-width:min-content;padding:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200);transition-duration:var(--private-badge-transition-duration);transition-property:background-color,border-color,border-width,color;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));--mds-badge-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([tone=outline]){background-color:#0000;border-color:var(--mds-badge-border-color,rgb(var(--label-sky-06,82 180 238)));border-style:solid;border-width:var(--mds-badge-border-width,1px)}:host([variant=red]){--mds-badge-background:rgb(var(--label-red-04,212 28 28))}:host([variant=red]):host([tone=weak]){--mds-badge-background:rgb(var(--label-red-09,250 215 215));--mds-badge-color:rgb(var(--label-red-02,131 17 17))}:host([variant=red]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-red-06,241 144 144));--mds-badge-color:rgb(var(--label-red-04,212 28 28))}:host([variant=amaranth]){--mds-badge-background:rgb(var(--label-amaranth-04,202 51 77))}:host([variant=amaranth]):host([tone=weak]){--mds-badge-background:rgb(var(--label-amaranth-09,255 214 215));--mds-badge-color:rgb(var(--label-amaranth-02,126 28 45))}:host([variant=amaranth]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-amaranth-06,255 135 144));--mds-badge-color:rgb(var(--label-amaranth-04,202 51 77))}:host([variant=aqua]){--mds-badge-background:rgb(var(--label-aqua-04,4 122 143))}:host([variant=aqua]):host([tone=weak]){--mds-badge-background:rgb(var(--label-aqua-09,151 237 252));--mds-badge-color:rgb(var(--label-aqua-02,2 75 88))}:host([variant=aqua]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-aqua-06,6 186 217));--mds-badge-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-badge-background:rgb(var(--label-blue-04,44 96 250))}:host([variant=blue]):host([tone=weak]){--mds-badge-background:rgb(var(--label-blue-09,209 224 254));--mds-badge-color:rgb(var(--label-blue-02,9 41 189))}:host([variant=blue]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-blue-06,131 170 255));--mds-badge-color:rgb(var(--label-blue-04,44 96 250))}:host([variant=green]){--mds-badge-background:rgb(var(--label-green-04,21 128 61))}:host([variant=green]):host([tone=weak]){--mds-badge-background:rgb(var(--label-green-09,154 242 188));--mds-badge-color:rgb(var(--label-green-02,12 79 37))}:host([variant=green]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-green-06,34 195 93));--mds-badge-color:rgb(var(--label-green-04,21 128 61))}:host([variant=lime]){--mds-badge-background:rgb(var(--label-lime-04,81 124 12))}:host([variant=lime]):host([tone=weak]){--mds-badge-background:rgb(var(--label-lime-09,186 240 97));--mds-badge-color:rgb(var(--label-lime-02,49 76 6))}:host([variant=lime]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-lime-06,123 189 20));--mds-badge-color:rgb(var(--label-lime-04,81 124 12))}:host([variant=orange]){--mds-badge-background:rgb(var(--label-orange-04,181 82 13))}:host([variant=orange]):host([tone=weak]){--mds-badge-background:rgb(var(--label-orange-09,255 215 194));--mds-badge-color:rgb(var(--label-orange-02,114 49 5))}:host([variant=orange]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-orange-06,253 141 81));--mds-badge-color:rgb(var(--label-orange-04,181 82 13))}:host([variant=orchid]){--mds-badge-background:rgb(var(--label-orchid-04,202 34 125))}:host([variant=orchid]):host([tone=weak]){--mds-badge-background:rgb(var(--label-orchid-09,255 212 229));--mds-badge-color:rgb(var(--label-orchid-02,129 0 66))}:host([variant=orchid]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-orchid-06,248 134 183));--mds-badge-color:rgb(var(--label-orchid-04,202 34 125))}:host([variant=sky]){--mds-badge-background:rgb(var(--label-sky-04,7 118 169))}:host([variant=sky]):host([tone=weak]){--mds-badge-background:rgb(var(--label-sky-09,196 229 250));--mds-badge-color:rgb(var(--label-sky-02,3 73 106))}:host([variant=sky]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-sky-06,82 180 238));--mds-badge-color:rgb(var(--label-sky-04,7 118 169))}:host([variant=violet]){--mds-badge-background:rgb(var(--label-violet-04,128 78 232))}:host([variant=violet]):host([tone=weak]){--mds-badge-background:rgb(var(--label-violet-09,225 219 255));--mds-badge-color:rgb(var(--label-violet-02,84 7 175))}:host([variant=violet]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-violet-06,178 157 254));--mds-badge-color:rgb(var(--label-violet-04,128 78 232))}:host([variant=purple]){--mds-badge-background:rgb(var(--label-purple-04,150 64 227))}:host([variant=purple]):host([tone=weak]){--mds-badge-background:rgb(var(--label-purple-09,233 217 255));--mds-badge-color:rgb(var(--label-purple-02,95 0 162))}:host([variant=purple]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-purple-06,197 150 254));--mds-badge-color:rgb(var(--label-purple-04,150 64 227))}:host([variant=yellow]){--mds-badge-background:rgb(var(--label-yellow-04,140 107 22))}:host([variant=yellow]):host([tone=weak]){--mds-badge-background:rgb(var(--label-yellow-09,254 219 157));--mds-badge-color:rgb(var(--label-yellow-02,86 67 20))}:host([variant=yellow]):host([tone=outline]){--mds-badge-border-color:rgb(var(--label-yellow-06,214 163 15));--mds-badge-color:rgb(var(--label-yellow-04,140 107 22))}:host([variant=warning]){--mds-badge-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([variant=warning]):host([tone=weak]){--mds-badge-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-badge-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}:host([variant=warning]):host([tone=outline]){--mds-badge-border-color:rgb(var(--magma-warning-border-strong,var(--border-warning-strong,184 130 0)));--mds-badge-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([variant=error]){--mds-badge-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=error]):host([tone=weak]){--mds-badge-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-badge-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)))}:host([variant=error]):host([tone=outline]){--mds-badge-border-color:rgb(var(--magma-danger-border-strong,var(--border-error-strong,218 96 93)));--mds-badge-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=success]){--mds-badge-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=success]):host([tone=weak]){--mds-badge-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-badge-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)))}:host([variant=success]):host([tone=outline]){--mds-badge-border-color:rgb(var(--magma-success-border-strong,var(--border-success-strong,17 166 98)));--mds-badge-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=info]){--mds-badge-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=info]):host([tone=weak]){--mds-badge-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-badge-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)))}:host([variant=info]):host([tone=outline]){--mds-badge-border-color:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-badge-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=light]){--mds-badge-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-badge-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=light]):host([tone=weak]){--mds-badge-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-badge-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=light]):host([tone=outline]){--mds-badge-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-badge-border-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)))}:host([variant=dark]){--mds-badge-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-badge-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=dark]):host([tone=weak]){--mds-badge-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-badge-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=dark]):host([tone=outline]){--mds-badge-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-badge-border-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)))}: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-badge-transition-duration:0s}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([tone=strong]),:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([tone=weak]){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]):host([tone=weak]){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more][pref-mode=dark]:not([pref-theme-scheme=light])[tone=strong]),:host([pref-contrast=more][pref-mode=dark]:not([pref-theme-scheme=light])[tone=weak]),:host([pref-contrast=more][pref-theme-scheme=dark][tone=strong]),:host([pref-contrast=more][pref-theme-scheme=dark][tone=weak]){box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset}@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-badge-transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([tone=strong]),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([tone=weak]){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more][pref-mode=system]:not([pref-theme-scheme=light])[tone=strong]),:host([pref-contrast=more][pref-mode=system]:not([pref-theme-scheme=light])[tone=weak]){box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset}}@media (prefers-contrast:more){:host(:not([pref-contrast])):host([tone=weak]),:host([pref-contrast=system]){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=system][pref-mode=dark]:not([pref-theme-scheme=light])[tone=strong]),:host([pref-contrast=system][pref-mode=dark]:not([pref-theme-scheme=light])[tone=weak]),:host([pref-contrast=system][pref-theme-scheme=dark][tone=strong]),:host([pref-contrast=system][pref-theme-scheme=dark][tone=weak]){box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]:not([pref-theme-scheme=light])[tone=strong]),:host([pref-contrast=system][pref-mode=system]:not([pref-theme-scheme=light])[tone=weak]){box-shadow:var(--shadow-outline-strong,#00000040 0 1px 1px,#00000021 0 0 1px 1px) inset}}"}},[257,"mds-badge",{label:[1537],variant:[513],tone:[513],typography:[513]},void 0,{label:[{labelChanged:0}]}]);function m(){"undefined"!=typeof customElements&&["mds-badge","mds-text"].forEach((a=>{switch(a){case"mds-badge":customElements.get(t(a))||customElements.define(t(a),g);break;case"mds-text":customElements.get(t(a))||b()}}))}export{g as M,m as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as a,H as r,d as e,h as n,c as t,t as s}from"./p-ChCkQpXr.js";import{h as o}from"./p-DWIIDHSa.js";import{c as i}from"./p-ChV9xqsO.js";import{m as d}from"./p-J-ikDhyq.js";import{L as m}from"./p-B3t-yAT6.js";import{p as c}from"./p-BQJgPeCf.js";import{d as l}from"./p-BPnc1LgR.js";import{d as v}from"./p-CbyfhFKK.js";import{d as b}from"./p-BwGJqBgv.js";import{d as u}from"./p-tI3q9MMi.js";var g={cancel:"Ακύρωση"},f={cancel:"Cancel"},p={cancel:"Cancelar"},h={cancel:"Annulla"};const x=["h5","h6"],k=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.closeEvent=e(this,"mdsBannerClose",7),this.t=new m({el:g,en:f,es:p,it:h}),this.isWindow=!1,this.variant="primary",this.tone="weak",this.hideCockade=!1,this.ariaVariants={ai:{role:"status",live:"polite"},dark:{role:"presentation",live:void 0},error:{role:"alert",live:"assertive"},info:{role:"status",live:"polite"},light:{role:"presentation",live:void 0},primary:{role:"status",live:"polite"},success:{role:"status",live:"polite"},warning:{role:"alert",live:"assertive"}},this.isDismissible=()=>!0===this.dismissible||!0===this.deletable,this.readPlace=()=>{var a;this.isWindow="window"===this.host.getAttribute("slot")&&"mds-modal"===(null===(a=this.host.parentElement)||void 0===a?void 0:a.tagName.toLowerCase())},this.headlineTypography=()=>{const a=x.find((a=>a===this.typography));return void 0!==a?a:this.isWindow?"dialog":"part"},this.setCloseButtonVariant=a=>{this.closeButtonVariant="dark"!==a?"light"!==a?null!=a?a:"primary":"dark":"light"},this.onActionSlotChange=()=>{this.hasActions=o(this.host,"action")},this.closeBanner=()=>{var a;this.closeEvent.emit();const r=null===(a=this.host)||void 0===a?void 0:a.closest("mds-modal");null!=r&&(r.opened=!1)}}connectedCallback(){var a;this.readPlace(),null===(a=this.placeObserver)||void 0===a||a.disconnect(),"undefined"!=typeof MutationObserver&&(this.placeObserver=new MutationObserver(this.readPlace),this.placeObserver.observe(this.host,{attributeFilter:["slot"]}))}componentWillLoad(){this.hasActions=o(this.host,"action"),this.setCloseButtonVariant(this.variant)}disconnectedCallback(){var a;null===(a=this.placeObserver)||void 0===a||a.disconnect(),this.placeObserver=void 0}variantHandler(a){this.setCloseButtonVariant(a)}render(){var a,r;return n(t,{key:"fdfaeebfb56ed18a47a6ffcc19da4ff037738218","aria-label":this.headline,role:this.ariaVariants[null!==(a=this.variant)&&void 0!==a?a:"primary"].role,"aria-live":this.ariaVariants[null!==(r=this.variant)&&void 0!==r?r:"primary"].live,"pref-animation":c.state.animation,"pref-contrast":c.state.contrast,"pref-mode":c.state.mode,"pref-theme-scheme":c.state["theme-scheme"]},n("div",{key:"fa2ff94e830a75fb4e707cc2df7b3a75b9adf75d",class:i("body",this.isDismissible()&&"body--dismissible")},this.icon&&n("mds-icon",{key:"1e566e868526cbd1f52a90f88e405bd34e037ebb","aria-hidden":"true",class:"icon",name:this.icon}),n("div",{key:"9887b6715e0f6263517536f4acfa7943768f5757",class:"content"},this.headline&&n("mds-text",{key:"578cca78a725883241fbcb4e68175f587330a636","aria-hidden":"true",class:"headline",typography:this.headlineTypography()},this.headline),n("div",{key:"c1cef603b694feee6960eb1db07613059b292c33",class:"text",part:"text"},n("slot",{key:"94396a4c7b10acaea85e6df6151957df779e903a"}))),this.isDismissible()&&n("mds-button",{key:"ba0353c2339547287710abe3bb41cc0b7f1377cb",class:"close-button",icon:d,onClick:this.closeBanner,title:this.t.get("cancel"),variant:this.closeButtonVariant,tone:"text"})),n("div",{key:"76681adc7b8d15071752bfcc609f9107e8a90203",class:i("actions",!this.hasActions&&"actions--hidden")},n("slot",{key:"01db9301afa8e6dc0f856d93d94590efc714c83c",name:"action",onSlotchange:this.onActionSlotChange})))}get host(){return this}static get watchers(){return{variant:[{variantHandler:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-banner-cockade-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-banner-cockade-distance:calc(var(--spacing,.0025rem)*600);--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-content-gap:calc(var(--spacing,.0025rem)*400);--mds-banner-headline-color:var(--mds-banner-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-banner-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-banner-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-banner-shadow:none;--mds-banner-transition-duration:var(--duration-300,.3s);--private-banner-transition-duration:var(--mds-banner-transition-duration,var(--duration-300,.3s));--mds-banner-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background-color:var(--mds-banner-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-banner-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--mds-banner-shadow);color:var(--mds-banner-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));corner-shape:var(--magma-corner-shape,squircle);container:mds-banner/inline-size;display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-banner-transition-duration);transition-property:background-color,box-shadow,color;transition-timing-function:var(--mds-banner-transition-timing-function);width:100%}.body{align-items:flex-start;display:flex;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400));justify-content:space-between}.headline{color:var(--mds-banner-headline-color,rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}.content{box-sizing:border-box;flex-direction:column;flex-grow:1;justify-content:center}.actions,.content{display:flex;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400))}.actions{flex-wrap:wrap;justify-content:flex-end}.actions--hidden{display:none}.icon{fill:var(--mds-banner-icon-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,0 73 211))));flex-shrink:0;transition-duration:var(--mds-banner-transition-duration,var(--duration-300,.3s));transition-property:background-color,fill;transition-timing-function:var(--mds-banner-transition-timing-function)}.text{display:grid;flex-grow:1;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400))}@container mds-banner (max-width:300px){.body--dismissible .content:not(:has(.headline)),.body--dismissible .headline{padding-right:calc(var(--spacing,.0025rem)*800)}}@container mds-banner not (min-width:23.75rem){::slotted([slot=action]){flex-basis:100%;flex-grow:1}}:host(:not([hide-cockade])) .icon,:host([hide-cockade=false]) .icon{background-color:var(--mds-banner-cockade-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,213 224 245))));border-bottom-left-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));border-bottom-right-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));margin-top:calc(-1 * var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)));padding:calc(var(--spacing,.0025rem)*200);padding-top:var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem)*600))}@container mds-banner (max-width:300px){:host(:not([hide-cockade])) .icon,:host([hide-cockade=false]) .icon{padding-top:calc(var(--spacing,.0025rem)*200)}.body{flex-direction:column}.close-button{position:absolute;right:calc(var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)) / 2);top:calc(var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)) / 2)}}:host,:host([variant=primary]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,0 73 211)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-banner-cockade-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,213 224 245)))}:host([variant=primary]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,0 73 211)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,231 237 248)))}:host([variant=ai]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,105 49 204)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,84 7 175)));--mds-banner-cockade-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,225 219 255)))}:host([variant=ai]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,105 49 204)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,238 235 255)))}:host([variant=error]){--mds-banner-headline-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-banner-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--magma-field-fill:var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255));--mds-banner-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-banner-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=error]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)))}:host([variant=warning]){--mds-banner-headline-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-banner-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--magma-field-fill:var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255));--mds-banner-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-banner-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=warning]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)))}:host([variant=info]){--mds-banner-headline-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-banner-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--magma-field-fill:var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255));--mds-banner-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-banner-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=info]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)))}:host([variant=success]){--mds-banner-headline-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-banner-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--magma-field-fill:var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255));--mds-banner-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-banner-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=success]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)))}:host([variant=dark]){--mds-banner-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--magma-field-fill:var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255));--mds-banner-cockade-background:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))/.15);--mds-banner-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-headline-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d)}:host([variant=dark]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a)}:host([variant=light]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-cockade-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([variant=light]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([tone=box]){box-shadow:var(--shadow-box-solid-weak,#0000004d 0 2px 4px,#00000008 0 0 0 1px,#0000001a 0 7px 13px -3px,#0003 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset)}: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-banner-transition-duration:0s}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@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-banner-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}"}},[257,"mds-banner",{variant:[513],tone:[513],hideCockade:[516,"hide-cockade"],dismissible:[4],deletable:[4],headline:[1],typography:[1],icon:[1],closeButtonVariant:[32],hasActions:[32],isWindow:[32]},void 0,{variant:[{variantHandler:0}]}]);function w(){"undefined"!=typeof customElements&&["mds-banner","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-banner":customElements.get(s(a))||customElements.define(s(a),k);break;case"mds-button":customElements.get(s(a))||l();break;case"mds-icon":customElements.get(s(a))||v();break;case"mds-spinner":customElements.get(s(a))||b();break;case"mds-text":customElements.get(s(a))||u()}}))}export{k as M,w as d}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{p as t}from"./p-
|
|
1
|
+
import{p as t}from"./p-BQJgPeCf.js";
|
|
2
2
|
/*!
|
|
3
3
|
* mustache.js - Logic-less {{mustache}} templates with JavaScript
|
|
4
4
|
* http://github.com/janl/mustache.js
|
|
5
|
-
*/var n=Object.prototype.toString,r=Array.isArray||function(t){return"[object Array]"===n.call(t)};function e(t){return"function"==typeof t}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(t,n){return null!=t&&"object"==typeof t&&n in t}var s=RegExp.prototype.test,u=/\S/;var f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},a=/\s*/,c=/\s+/,h=/\s*=/,l=/\s*\}/,v=/#|\^|\/|>|\{|&|=|!/;function p(t){this.string=t,this.tail=t,this.pos=0}function d(t,n){this.view=t,this.cache={".":this.view},this.parent=n}function g(){this.templateCache={_cache:{},set:function(t,n){this._cache[t]=n},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}p.prototype.eos=function(){return""===this.tail},p.prototype.scan=function(t){var n=this.tail.match(t);if(!n||0!==n.index)return"";var r=n[0];return this.tail=this.tail.substring(r.length),this.pos+=r.length,r},p.prototype.scanUntil=function(t){var n,r=this.tail.search(t);switch(r){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=n.length,n},d.prototype.push=function(t){return new d(t,this)},d.prototype.lookup=function(t){var n,r,i=this.cache;if(i.hasOwnProperty(t))n=i[t];else{for(var s,u,f,a=this,c=!1;a;){if(t.indexOf(".")>0)for(s=a.view,u=t.split("."),f=0;null!=s&&f<u.length;)f===u.length-1&&(c=o(s,u[f])||null!=(r=s)&&"object"!=typeof r&&r.hasOwnProperty&&r.hasOwnProperty(u[f])),s=s[u[f++]];else s=a.view[t],c=o(a.view,t);if(c){n=s;break}a=a.parent}i[t]=n}return e(n)&&(n=n.call(this.view)),n},g.prototype.clearCache=function(){void 0!==this.templateCache&&this.templateCache.clear()},g.prototype.parse=function(t,n){var e=this.templateCache,o=t+":"+(n||w.tags).join(":"),f=void 0!==e,d=f?e.get(o):void 0;return null==d&&(d=function(t,n){if(!t)return[];var e,o,f,d=!1,g=[],b=[],m=[],y=!1,x=!1,E="",j=0;function k(){if(y&&!x)for(;m.length;)delete b[m.pop()];else m=[];y=!1,x=!1}function C(t){if("string"==typeof t&&(t=t.split(c,2)),!r(t)||2!==t.length)throw new Error("Invalid tags: "+t);e=new RegExp(i(t[0])+"\\s*"),o=new RegExp("\\s*"+i(t[1])),f=new RegExp("\\s*"+i("}"+t[1]))}C(n||w.tags);for(var
|
|
5
|
+
*/var n=Object.prototype.toString,r=Array.isArray||function(t){return"[object Array]"===n.call(t)};function e(t){return"function"==typeof t}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function o(t,n){return null!=t&&"object"==typeof t&&n in t}var s=RegExp.prototype.test,u=/\S/;var f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},a=/\s*/,c=/\s+/,h=/\s*=/,l=/\s*\}/,v=/#|\^|\/|>|\{|&|=|!/;function p(t){this.string=t,this.tail=t,this.pos=0}function d(t,n){this.view=t,this.cache={".":this.view},this.parent=n}function g(){this.templateCache={_cache:{},set:function(t,n){this._cache[t]=n},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}p.prototype.eos=function(){return""===this.tail},p.prototype.scan=function(t){var n=this.tail.match(t);if(!n||0!==n.index)return"";var r=n[0];return this.tail=this.tail.substring(r.length),this.pos+=r.length,r},p.prototype.scanUntil=function(t){var n,r=this.tail.search(t);switch(r){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=n.length,n},d.prototype.push=function(t){return new d(t,this)},d.prototype.lookup=function(t){var n,r,i=this.cache;if(i.hasOwnProperty(t))n=i[t];else{for(var s,u,f,a=this,c=!1;a;){if(t.indexOf(".")>0)for(s=a.view,u=t.split("."),f=0;null!=s&&f<u.length;)f===u.length-1&&(c=o(s,u[f])||null!=(r=s)&&"object"!=typeof r&&r.hasOwnProperty&&r.hasOwnProperty(u[f])),s=s[u[f++]];else s=a.view[t],c=o(a.view,t);if(c){n=s;break}a=a.parent}i[t]=n}return e(n)&&(n=n.call(this.view)),n},g.prototype.clearCache=function(){void 0!==this.templateCache&&this.templateCache.clear()},g.prototype.parse=function(t,n){var e=this.templateCache,o=t+":"+(n||w.tags).join(":"),f=void 0!==e,d=f?e.get(o):void 0;return null==d&&(d=function(t,n){if(!t)return[];var e,o,f,d=!1,g=[],b=[],m=[],y=!1,x=!1,E="",j=0;function k(){if(y&&!x)for(;m.length;)delete b[m.pop()];else m=[];y=!1,x=!1}function C(t){if("string"==typeof t&&(t=t.split(c,2)),!r(t)||2!==t.length)throw new Error("Invalid tags: "+t);e=new RegExp(i(t[0])+"\\s*"),o=new RegExp("\\s*"+i(t[1])),f=new RegExp("\\s*"+i("}"+t[1]))}C(n||w.tags);for(var S,R,U,A,I,O,T=new p(t);!T.eos();){if(S=T.pos,U=T.scanUntil(e))for(var $=0,_=U.length;$<_;++$)(function(t,n){return s.call(u,n)})(0,A=U.charAt($))?(x=!0,d=!0,E+=" "):(m.push(b.length),E+=A),b.push(["text",A,S,S+1]),S+=1,"\n"===A&&(k(),E="",j=0,d=!1);if(!T.scan(e))break;if(y=!0,R=T.scan(v)||"name",T.scan(a),"="===R?(U=T.scanUntil(h),T.scan(h),T.scanUntil(o)):"{"===R?(U=T.scanUntil(f),T.scan(l),T.scanUntil(o),R="&"):U=T.scanUntil(o),!T.scan(o))throw new Error("Unclosed tag at "+T.pos);if(I=">"==R?[R,U,S,T.pos,E,j,d]:[R,U,S,T.pos],j++,b.push(I),"#"===R||"^"===R)g.push(I);else if("/"===R){if(!(O=g.pop()))throw new Error('Unopened section "'+U+'" at '+S);if(O[1]!==U)throw new Error('Unclosed section "'+O[1]+'" at '+S)}else"name"===R||"{"===R||"&"===R?x=!0:"="===R&&C(U)}if(k(),O=g.pop())throw new Error('Unclosed section "'+O[1]+'" at '+T.pos);return function(t){for(var n,r=[],e=r,i=[],o=0,s=t.length;o<s;++o)switch((n=t[o])[0]){case"#":case"^":e.push(n),i.push(n),e=n[4]=[];break;case"/":i.pop()[5]=n[2],e=i.length>0?i[i.length-1][4]:r;break;default:e.push(n)}return r}(function(t){for(var n,r,e=[],i=0,o=t.length;i<o;++i)(n=t[i])&&("text"===n[0]&&r&&"text"===r[0]?(r[1]+=n[1],r[3]=n[3]):(e.push(n),r=n));return e}(b))}(t,n),f&&e.set(o,d)),d},g.prototype.render=function(t,n,r,e){var i=this.getConfigTags(e),o=this.parse(t,i),s=n instanceof d?n:new d(n,void 0);return this.renderTokens(o,s,r,t,e)},g.prototype.renderTokens=function(t,n,r,e,i){for(var o,s,u,f="",a=0,c=t.length;a<c;++a)u=void 0,"#"===(s=(o=t[a])[0])?u=this.renderSection(o,n,r,e,i):"^"===s?u=this.renderInverted(o,n,r,e,i):">"===s?u=this.renderPartial(o,n,r,i):"&"===s?u=this.unescapedValue(o,n):"name"===s?u=this.escapedValue(o,n,i):"text"===s&&(u=this.rawValue(o)),void 0!==u&&(f+=u);return f},g.prototype.renderSection=function(t,n,i,o,s){var u=this,f="",a=n.lookup(t[1]);if(a){if(r(a))for(var c=0,h=a.length;c<h;++c)f+=this.renderTokens(t[4],n.push(a[c]),i,o,s);else if("object"==typeof a||"string"==typeof a||"number"==typeof a)f+=this.renderTokens(t[4],n.push(a),i,o,s);else if(e(a)){if("string"!=typeof o)throw new Error("Cannot use higher-order sections without the original template");null!=(a=a.call(n.view,o.slice(t[3],t[5]),(function(t){return u.render(t,n,i,s)})))&&(f+=a)}else f+=this.renderTokens(t[4],n,i,o,s);return f}},g.prototype.renderInverted=function(t,n,e,i,o){var s=n.lookup(t[1]);if(!s||r(s)&&0===s.length)return this.renderTokens(t[4],n,e,i,o)},g.prototype.indentPartial=function(t,n,r){for(var e=n.replace(/[^ \t]/g,""),i=t.split("\n"),o=0;o<i.length;o++)i[o].length&&(o>0||!r)&&(i[o]=e+i[o]);return i.join("\n")},g.prototype.renderPartial=function(t,n,r,i){if(r){var o=this.getConfigTags(i),s=e(r)?r(t[1]):r[t[1]];if(null!=s){var u=t[4],f=s;0==t[5]&&u&&(f=this.indentPartial(s,u,t[6]));var a=this.parse(f,o);return this.renderTokens(a,n,r,f,i)}}},g.prototype.unescapedValue=function(t,n){var r=n.lookup(t[1]);if(null!=r)return r},g.prototype.escapedValue=function(t,n,r){var e=this.getConfigEscape(r)||w.escape,i=n.lookup(t[1]);if(null!=i)return"number"==typeof i&&e===w.escape?String(i):e(i)},g.prototype.rawValue=function(t){return t[1]},g.prototype.getConfigTags=function(t){return r(t)?t:t&&"object"==typeof t?t.tags:void 0},g.prototype.getConfigEscape=function(t){return t&&"object"==typeof t&&!r(t)?t.escape:void 0};var w={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(t){b.templateCache=t},get templateCache(){return b.templateCache}},b=new g;w.clearCache=function(){return b.clearCache()},w.parse=function(t,n){return b.parse(t,n)},w.render=function(t,n,e,i){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+(r(o=t)?"array":typeof o)+'" was given as the first argument for mustache#render(template, view, partials)');var o;return b.render(t,n,e,i)},w.escape=function(t){return String(t).replace(/[&<>"'`=\/]/g,(function(t){return f[t]}))},w.Scanner=p,w.Context=d,w.Writer=g;const m=t=>String(t);class y{constructor(n){this.rollbackLanguage="en",this.set=t=>{this.config=t},this.texts=t=>{var n,r;const e=this.config,i=t.toLowerCase();return null!==(r=null!==(n=e[i])&&void 0!==n?n:e[i.split(/[-_]/)[0]])&&void 0!==r?r:e[this.rollbackLanguage]},this.pluralize=(t,n,r)=>{const e=this.texts(r)[t],i=[];Array.isArray(e)?(i.push(e[0]),i.push(e[1])):(i.push(e),i.push(e));const[o]=i;let s=o;const u=Object.keys(n);if(u.length>0){const[t]=u;"number"==typeof n[t]&&1!==n[t]&&(s=i[1])}return w.render(s,n,void 0,{escape:m})},this.get=(n,r)=>{const{language:e}=t.state;return r?this.pluralize(n,r,e):this.texts(e)[n]},n&&this.set(n)}}export{y as L}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as r,d as i,h as s,c as a,t as e}from"./p-ChCkQpXr.js";import{b as o}from"./p-CGFwoK_U.js";import{m as n}from"./p-0FAG3rkw.js";import{L as c}from"./p-B3t-yAT6.js";import{p as m}from"./p-BQJgPeCf.js";import{d}from"./p-BPnc1LgR.js";import{d as l}from"./p-CbyfhFKK.js";import{d as h}from"./p-BwGJqBgv.js";import{d as g}from"./p-tI3q9MMi.js";var u={clickToLoad:"Φόρτωση εικόνας"},v={clickToLoad:"Load image"},p={clickToLoad:"Cargar imagen"},b={clickToLoad:"Carica immagine"};const f=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.loadErrorEvent=i(this,"mdsImgLoadError",7),this.loadSuccessEvent=i(this,"mdsImgLoadSuccess",7),this.imageConsumptionLoaded=!1,this.imageError=!1,this.storedConsumption=null,this.t=new c({el:u,en:v,es:p,it:b}),this.loading="lazy",this.onSuccess=t=>{this.image=t.target,this.loadSuccessEvent.emit({image:this.image})},this.onError=t=>{this.image=t.target,this.loadErrorEvent.emit({image:this.image}),this.imageError=!0},this.formatConsumptionData=t=>{const r={};return t.split(",").forEach((t=>{var i;const s=t.trim().split(/\s+/);if(""===s[0])return;const a=null===(i=s[1])||void 0===i?void 0:i.toLocaleLowerCase();"low"===a||"medium"===a||"high"===a?r[a]=s[0]:console.warn(`mds-img: ignoring the srcset-consumption entry "${t.trim()}", an image followed by low, medium or high`)})),r},this.autoAltName=()=>{if(void 0!==this.src&&""!==this.src){const t=this.src.lastIndexOf("/")+1;return this.src.substring(t)}return""},this.handleConsumptionLoadClick=()=>{this.imageConsumptionLoaded=!0},this.hostRole=()=>{var t;return""===(null!==(t=this.alt)&&void 0!==t?t:"")?{role:"presentation"}:{role:"img","aria-label":this.alt}},this.renderMedia=t=>{var r;return s("img",{alt:null!==(r=this.alt)&&void 0!==r?r:"","aria-hidden":"true",crossorigin:this.crossorigin,decoding:this.decoding,height:this.height,loading:this.loading,onError:this.onError,onLoad:this.onSuccess,part:"media",referrerPolicy:this.referrerpolicy,sizes:this.sizes,src:t,srcset:this.srcset,width:this.width})}}get consumptionMode(){var t,r;return null!==(r=null!==(t=m.state.consumption)&&void 0!==t?t:this.storedConsumption)&&void 0!==r?r:"high"}srcsetConsumptionHandler(t){this.srcsetConsumptionData=null!=t&&""!==t?this.formatConsumptionData(t):void 0}srcHandler(){this.imageError=!1}componentWillLoad(){this.storedConsumption=localStorage.getItem("mdsPrefConsumption"),null!=this.srcsetConsumption&&""!==this.srcsetConsumption&&(this.srcsetConsumptionData=this.formatConsumptionData(this.srcsetConsumption)),this.image=this.host.querySelector("img"),null==this.alt&&(this.alt=this.autoAltName())}render(){var t,r;return this.imageError?s(a,Object.assign({},this.hostRole()),s("div",{class:"contrast-area-50"}),s("div",{class:"alt-text-container alt-text-container--error alt-text-container--default-aspect-ratio"},s("mds-icon",{class:"icon",name:n}),s("mds-text",{class:"alt-text","aria-hidden":"true",typography:"h6"},s("i",null,this.alt)))):this.srcsetConsumptionData?"low"===this.consumptionMode?s(a,Object.assign({},this.hostRole(),{onClick:this.handleConsumptionLoadClick}),s("div",{class:"contrast-area-50"}),this.imageConsumptionLoaded?this.renderMedia(null!==(t=this.srcsetConsumptionData[this.consumptionMode])&&void 0!==t?t:this.src):s("div",{"aria-hidden":"true",class:"alt-text-container alt-text-container--default-aspect-ratio"},s("mds-icon",{class:"icon",name:o}),s("mds-text",{class:"alt-text",typography:"h6"},s("i",null,this.alt)),s("mds-button",{"aria-hidden":"true",role:"none",class:"click-to-load",tabIndex:-1,variant:"light",tone:"outline",label:this.t.get("clickToLoad")}))):s(a,Object.assign({},this.hostRole()),s("div",{class:"contrast-area-50"}),this.renderMedia(null!==(r=this.srcsetConsumptionData[this.consumptionMode])&&void 0!==r?r:this.src)):s(a,Object.assign({},this.hostRole()),s("div",{class:"contrast-area-50"}),this.renderMedia(this.src))}get host(){return this}static get watchers(){return{srcsetConsumption:[{srcsetConsumptionHandler:0}],src:[{srcHandler:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-img-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,0 73 211)));--mds-img-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,213 224 245)));--mds-img-icon-color:rgb(var(--magma-accent-border,var(--variant-primary-06,129 171 251)));--mds-img-error-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-img-error-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-img-error-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));display:flex;height:auto;object-fit:contain;overflow:hidden;position:relative;width:100%}img{height:inherit;object-fit:inherit;width:inherit}.alt-text-container{align-items:center;background-color:var(--mds-img-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,0 73 211))));color:var(--mds-img-color,rgb(var(--magma-accent-surface,var(--variant-primary-09,213 224 245))));display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-content:center;padding:calc(var(--spacing,.0025rem)*600);text-align:center}.alt-text-container--absolute{cursor:pointer;inset:0;position:absolute}.alt-text-container--error{--mds-img-background:var(--mds-img-error-background,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))));--mds-img-color:var(--mds-img-error-color,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))));--mds-img-icon-color:var(--mds-img-error-icon-color,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))));cursor:not-allowed}.alt-text-container--default-aspect-ratio{cursor:pointer;width:100%}.click-to-load{pointer-events:none}.icon{fill:var(--mds-img-icon-color,rgb(var(--magma-accent-border,var(--variant-primary-06,129 171 251))));width:calc(var(--spacing,.0025rem)*900)}"}},[1,"mds-img",{alt:[1537],crossorigin:[1],decoding:[1],height:[1],loading:[1],referrerpolicy:[1],sizes:[1],src:[1],srcset:[1],srcsetConsumption:[1,"srcset-consumption"],width:[1],imageConsumptionLoaded:[32],imageError:[32]},void 0,{srcsetConsumption:[{srcsetConsumptionHandler:0}],src:[{srcHandler:0}]}]);function x(){"undefined"!=typeof customElements&&["mds-img","mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-img":customElements.get(e(t))||customElements.define(e(t),f);break;case"mds-button":customElements.get(e(t))||d();break;case"mds-icon":customElements.get(e(t))||l();break;case"mds-spinner":customElements.get(e(t))||h();break;case"mds-text":customElements.get(e(t))||g()}}))}export{f as M,x as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as a,d as s,h as r,c as e,t as i}from"./p-g2_CekDc.js";import{q as o}from"./p-DWIIDHSa.js";import{s as n,h as d}from"./p-DwKxtKwS.js";import{c as l}from"./p-ChV9xqsO.js";import{c as h}from"./p-CWk1SCJg.js";import{p as b}from"./p-AWCYh8Xe.js";const m=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changedEvent=s(this,"mdsTabChange",7),this.currentItemIndex=-1,this.tabItems=[],this.contentItems=[],this.sliderWidth=-1,this.sliderHeight=-1,this.sliderOffsetX=-1,this.sliderOffsetY=-1,this.sliderSlides=!1,this.overflowLeft=!1,this.overflowRight=!1,this.navigation=!1,this.hasContent=!1,this.direction="horizontal",this.animation="slide",this.queryContentItems=()=>o(this.element,"content"),this.updateContentItems=()=>{this.contentItems=this.queryContentItems(),this.hasContent=this.contentItems.length>0,this.contentItems.length>this.tabItems.length&&console.warn(`mds-tab: ${this.contentItems.length} content panels for ${this.tabItems.length} mds-tab-item, the panels past the last item are never shown`),this.contentItems.forEach(((t,a)=>{n(t,"role","tabpanel"),a<this.tabItems.length&&n(t,"aria-labelledby",this.tabItems[a].id)})),this.selectContentItem()},this.setTabsItems=()=>{this.tabItems=Array.from(this.element.querySelectorAll("mds-tab-item")),this.currentItemIndex=-1,this.navigation=this.tabItems.length>0&&this.tabItems.every((t=>{var a;return""!==(null!==(a=t.href)&&void 0!==a?a:"")})),this.tabItems.forEach((t=>{t.size=this.size,t.direction=this.direction,t.animation=this.animation})),this.tabItems.forEach(((t,a)=>{""===t.id&&n(t,"id",d("mds-tab-item")),t.selected&&(this.currentItemIndex=a,this.currentItemEl=this.tabItems[this.currentItemIndex])}))},this.updateTabItems=()=>{this.setTabsItems(),this.overflow&&this.updateOverflowState(),this.updateSliderPosition(),this.scrollTabs(this.currentItemIndex)},this.unsetOverflowCheck=()=>{var t,a;null===(t=this.tabs)||void 0===t||t.removeEventListener("scroll",this.updateOverflowState),null===(a=this.observer)||void 0===a||a.disconnect(),this.observer=void 0},this.initOverflowCheck=()=>{null!=this.tabs&&null!=this.tabsContainer&&this.element.isConnected&&(this.unsetOverflowCheck(),this.tabs.addEventListener("scroll",this.updateOverflowState),this.observer=new ResizeObserver((()=>{this.overflow&&this.updateOverflowState(),this.updateSliderPosition()})),this.observer.observe(this.tabsContainer),this.updateOverflowState())},this.updateOverflowState=()=>{if(null==this.tabs||null==this.tabsContainer)return;const t=this.tabsContainer.offsetWidth,a=this.tabs.scrollWidth,{scrollLeft:s}=this.tabs;this.overflowLeft=s>0,this.overflowRight=Math.ceil(s+t)<a-1},this.updateSliderPosition=(t=!1)=>{"slide"===this.animation&&this.currentItemIndex>=0?self.requestAnimationFrame((()=>{this.currentItemEl.offsetWidth&&(this.sliderSlides=t,this.sliderWidth=this.currentItemEl.offsetWidth,this.sliderHeight=this.currentItemEl.offsetHeight,this.sliderOffsetX=this.currentItemEl.offsetLeft-this.tabsContainer.offsetLeft,this.sliderOffsetY=this.currentItemEl.offsetTop-this.tabsContainer.offsetTop+this.currentItemEl.offsetHeight-this.sliderHeight)})):(this.sliderHeight=-1,this.sliderOffsetX=-1,this.sliderOffsetY=-1,this.sliderWidth=-1)},this.scrollTabs=t=>{if(t<0||t>=this.tabItems.length)return;const a=this.tabItems[t];setTimeout((()=>{this.tabs.scrollLeft=a.offsetLeft-this.tabs.offsetLeft-this.tabs.offsetWidth/2+a.offsetWidth/2,this.updateOverflowState()}),h(this.cssSlideDelayDuration))},this.selectContentItem=()=>{this.contentItems.forEach(((t,a)=>{t.setAttribute("mds-tab-content-hidden",""),a===this.currentItemIndex&&t.removeAttribute("mds-tab-content-hidden")}))},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const t=window.getComputedStyle(this.element);this.cssSlideDelayDuration=t.getPropertyValue("--mds-tab-slide-delay")}}componentWillLoad(){this.setTabsItems(),this.hasContent=this.queryContentItems().length>0}connectedCallback(){this.initOverflowCheck()}disconnectedCallback(){this.unsetOverflowCheck()}componentDidLoad(){var t,a,s,r;this.updateCSSCustomProps(),this.tabs=null===(t=this.element.shadowRoot)||void 0===t?void 0:t.querySelector(".tabs"),this.tabsContainer=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".tabs-wrapper"),null===(r=null===(s=this.element.shadowRoot)||void 0===s?void 0:s.querySelector("slot"))||void 0===r||r.addEventListener("slotchange",this.updateTabItems.bind(this)),this.updateContentItems(),this.initOverflowCheck(),this.updateSliderPosition(),this.currentItemIndex>0&&this.scrollTabs(this.currentItemIndex)}changeEventHandler(t){const a=this.element.matches(":focus-within");this.tabItems.forEach(((s,r)=>{var e;if(s.id!==t.detail.target.id)s.selected=void 0;else{this.changedEvent.emit({id:r,value:s.value}),this.currentItemIndex=r,this.currentItemEl=this.tabItems[this.currentItemIndex],this.scrollTabs(r),s.selected=!0;const t=null===(e=this.tabItems[this.currentItemIndex].shadowRoot)||void 0===e?void 0:e.querySelector("mds-button");a&&setTimeout((()=>{t.focus()}),0)}})),this.selectContentItem(),this.updateSliderPosition(!0)}focusEventHandler(t){this.tabItems.forEach(((a,s)=>{a.id===t.detail.target.id&&this.scrollTabs(s)}))}handleAnimationChange(t){this.tabItems.forEach((a=>{a.animation=t})),this.updateSliderPosition()}handleDirectionChange(t){this.tabItems.forEach((a=>{a.direction=t}))}handleScrollbarChange(t){!1===t&&(this.scrollbar=void 0)}handleFillChange(t){!1===t&&(this.fill=void 0)}handleOverflowChange(t){t&&this.updateOverflowState()}handleSizeChange(t){this.tabItems.forEach((a=>{a.size=t}))}render(){return r(e,{key:"8e3ed3a7fd00a35bd6e3295708aade46e1805198","pref-animation":b.state.animation,"pref-contrast":b.state.contrast,"pref-mode":b.state.mode,"pref-theme-scheme":b.state["theme-scheme"]},r("div",{key:"ddee4ddaa01a5ce04c0f01fb7add6fe3ff7794fd",class:l("tabs-wrapper",this.fill&&"tabs-wrapper--fill",!this.hasContent&&"tabs-wrapper--no-content")},this.overflow&&r("div",{key:"973a0e3882b4367ffbf8999a5ed831a42189bc72",class:l("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&r("div",{key:"7b68531f75994ceb71a5042f570b8418d727eb6c",class:l("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),r("div",{key:"b3fb3257a3768504c985625e4d62cf49ac4b6869",class:"tabs",part:"tabs",role:this.navigation?void 0:"tablist"},r("slot",{key:"fdfb35af098e351286bf17ddc32b9775fbf24cb8"}),"slide"===this.animation&&r("div",{key:"70abec64979148220b64d0478558d2345c239561",class:l("slider",!this.sliderSlides&&"slider--still"),part:"slider",style:{"--mds-tab-slider-width":`${this.sliderWidth}px`,"--mds-tab-slider-height":`${this.sliderHeight}px`,"--mds-tab-slider-offset-x":`${this.sliderOffsetX}px`,"--mds-tab-slider-offset-y":`${this.sliderOffsetY}px`}}))),r("div",{key:"6439fa4bd9dd90a8fcc83558b3198006f560b5dc",class:l("contents",!this.hasContent&&"contents--empty"),part:"contents"},r("slot",{key:"1493a4088a5b1c99b932418d22f0692f870fa268",name:"content",onSlotchange:this.updateContentItems})))}get element(){return this}static get watchers(){return{animation:[{handleAnimationChange:0}],direction:[{handleDirectionChange:0}],scrollbar:[{handleScrollbarChange:0}],fill:[{handleFillChange:0}],overflow:[{handleOverflowChange:0}],size:[{handleSizeChange:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-tab-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-direction-vertical-columns:auto auto;--mds-tab-item-default-background:#0000;--mds-tab-item-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-tab-item-default-shadow:none;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-radius:min(calc(var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200))),var(--magma-corner-cap,.5) * var(--private-tab-item-height));--mds-tab-item-selected-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);--mds-tab-scroll-behavior:smooth;--mds-tab-scroll-scrollbar-margin:0;--mds-tab-scroll-scrollbar-radius:0;--mds-tab-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-tab-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3);--mds-tab-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-tabs-gap:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-overflow-shadow-size:calc(var(--spacing,.0025rem)*600);--mds-tab-tabs-overflow-shadow:0 0 var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem)*600)) calc(var(--spacing,.0025rem)*-50) rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.375);--mds-tab-tabs-padding:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-tab-item-height) + var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200)));--mds-tab-tabs-wrapper-margin:0;--mds-tab-tabs-wrapper-outline-opacity:.7;--mds-tab-tabs-wrapper-shadow-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-transition-duration:var(--duration-500,.5s);--private-tab-transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));--private-tab-item-height:calc(var(--spacing,.0025rem)*900);--mds-tab-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-tab-corner-shape:var(--magma-corner-shape,squircle);border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));corner-shape:var(--mds-tab-corner-shape,round);display:grid;gap:0 calc(var(--spacing,.0025rem)*600);grid-template-rows:min-content auto;position:relative}:host([size=sm]){--private-tab-item-height:calc(var(--spacing,.0025rem)*700)}:host([animation=slide]) ::slotted(mds-tab-item){--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-shadow:none;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:none}.tabs{align-items:flex-start;background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-sizing:border-box;display:flex;gap:var(--mds-tab-tabs-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200));scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;transition-duration:var(--private-tab-transition-duration);transition-property:background-color;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:0}.tabs,.tabs-wrapper{border-radius:inherit;corner-shape:inherit;position:relative}.tabs-wrapper{display:grid;flex-shrink:0;margin:var(--mds-tab-tabs-wrapper-margin,0);max-width:max-content;overflow:hidden}.tabs-wrapper--fill{max-width:100%}.tabs-wrapper:after{border-radius:inherit;corner-shape:inherit;border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--mds-tab-tabs-wrapper-shadow);content:"";inset:0;opacity:var(--mds-tab-tabs-wrapper-outline-opacity,.7);pointer-events:none;position:absolute;transition-duration:var(--private-tab-transition-duration);transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));transition-property:box-shadow,opacity;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:1}.contents{--mds-tab-contents-height:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:stretch;box-sizing:border-box;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*600);height:var(--mds-tab-contents-height);overflow:auto hidden;position:relative;scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;scrollbar-width:none;transition-duration:var(--private-tab-transition-duration);transition-property:height;transition-timing-function:var(--mds-tab-transition-timing-function)}.contents::-webkit-scrollbar{display:none}.contents--empty{display:none}::slotted([slot=content]){flex-basis:0;flex-grow:1;min-width:100%;scroll-snap-align:start;width:100%}::slotted([slot=content][mds-tab-content-hidden]){display:none!important}.slider{--mds-tab-slider-offset-x:0;--mds-tab-slider-offset-y:0;--mds-tab-slider-width:0;--mds-tab-slider-height:0;background-color:var(--mds-tab-item-selected-background);border-radius:var(--mds-tab-item-radius);box-shadow:var(--mds-tab-item-selected-shadow);corner-shape:var(--mds-tab-corner-shape);height:var(--mds-tab-slider-height);inset:0 auto auto 0;pointer-events:none;position:absolute;transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));transition-property:background-color,box-shadow,transform,width;transition-timing-function:var(--mds-tab-transition-timing-function);width:var(--mds-tab-slider-width);will-change:height,transform,width;z-index:-1}.slider--still{transition-property:background-color,box-shadow}::slotted(mds-tab-item){position:relative;z-index:1}:host([direction=vertical]){--mds-tab-tabs-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));grid-template-columns:var(--mds-tab-direction-vertical-columns,auto auto);grid-template-rows:1fr}:host([direction=vertical]) .tabs{align-self:start;flex-direction:column}:host([direction=vertical]) .tabs-wrapper{align-self:start;max-width:none}:host([direction=vertical][fill]) :is(.tabs,.tabs-wrapper){align-self:auto}:host([direction=vertical]) .tabs-wrapper--no-content{grid-column:1/-1}:host([direction=vertical])::slotted(mds-tab-item){width:100%}:host(:not([scrollbar])) .tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([scrollbar])) .tabs::-webkit-scrollbar{display:none}:host([scrollbar]) .tabs::-webkit-scrollbar{height:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([scrollbar]) .tabs::-webkit-scrollbar-track{background-color:var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-tab-scroll-scrollbar-radius,0);margin-block:var(--mds-tab-scroll-scrollbar-margin,0);margin-inline:var(--mds-tab-scroll-scrollbar-margin,0)}:host([scrollbar]) .tabs::-webkit-scrollbar-thumb{background-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3));border-radius:var(--mds-tab-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.tabs{scrollbar-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));scrollbar-width:thin}}.tabs-wrapper-overflow-left,.tabs-wrapper-overflow-right{--size:calc(var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)) * 2);--offset-outside:calc(var(--size) + var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem) * 600)));background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));border-radius:100%;box-shadow:var(--mds-tab-tabs-overflow-shadow);content:"";display:inline-flex;height:auto;pointer-events:none;position:absolute;transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:var(--size);z-index:2}.tabs-wrapper-overflow-left{inset:0 auto 0 0;transform:translateX(calc(var(--offset-outside)*-1))}.tabs-wrapper-overflow-right{inset:0 0 0 auto;transform:translateX(var(--offset-outside))}.tabs-wrapper-overflow-left--show{transform:translate(-100%)}.tabs-wrapper-overflow-right--show{transform:translate(100%)}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}: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-transition-duration:0s}@media (prefers-reduced-motion:reduce){:host{--mds-tab-scroll-behavior:auto}: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-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-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}}'}},[257,"mds-tab",{direction:[1537],scrollbar:[1540],animation:[513],fill:[1540],overflow:[1540],size:[1537],sliderWidth:[32],sliderHeight:[32],sliderOffsetX:[32],sliderOffsetY:[32],sliderSlides:[32],overflowLeft:[32],overflowRight:[32],navigation:[32],hasContent:[32]},[[0,"mdsTabItemSelect","changeEventHandler"],[0,"mdsTabItemFocus","focusEventHandler"]],{animation:[{handleAnimationChange:0}],direction:[{handleDirectionChange:0}],scrollbar:[{handleScrollbarChange:0}],fill:[{handleFillChange:0}],overflow:[{handleOverflowChange:0}],size:[{handleSizeChange:0}]}]);function c(){"undefined"!=typeof customElements&&["mds-tab"].forEach((t=>{"mds-tab"===t&&(customElements.get(i(t))||customElements.define(i(t),m))}))}export{m as M,c as d}
|
|
1
|
+
import{p as t,H as a,d as s,h as r,c as e,t as i}from"./p-ChCkQpXr.js";import{q as o}from"./p-DWIIDHSa.js";import{s as n,h as d}from"./p-DwKxtKwS.js";import{c as l}from"./p-ChV9xqsO.js";import{c as h}from"./p-CWk1SCJg.js";import{p as b}from"./p-BQJgPeCf.js";const c=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changedEvent=s(this,"mdsTabChange",7),this.currentItemIndex=-1,this.tabItems=[],this.contentItems=[],this.sliderWidth=-1,this.sliderHeight=-1,this.sliderOffsetX=-1,this.sliderOffsetY=-1,this.sliderSlides=!1,this.overflowLeft=!1,this.overflowRight=!1,this.navigation=!1,this.hasContent=!1,this.direction="horizontal",this.animation="slide",this.queryContentItems=()=>o(this.element,"content"),this.updateContentItems=()=>{this.contentItems=this.queryContentItems(),this.hasContent=this.contentItems.length>0,this.contentItems.length>this.tabItems.length&&console.warn(`mds-tab: ${this.contentItems.length} content panels for ${this.tabItems.length} mds-tab-item, the panels past the last item are never shown`),this.contentItems.forEach(((t,a)=>{n(t,"role","tabpanel"),a<this.tabItems.length&&n(t,"aria-labelledby",this.tabItems[a].id)})),this.selectContentItem()},this.setTabsItems=()=>{this.tabItems=Array.from(this.element.querySelectorAll("mds-tab-item")),this.currentItemIndex=-1,this.navigation=this.tabItems.length>0&&this.tabItems.every((t=>{var a;return""!==(null!==(a=t.href)&&void 0!==a?a:"")})),this.tabItems.forEach((t=>{t.size=this.size,t.direction=this.direction,t.animation=this.animation})),this.tabItems.forEach(((t,a)=>{""===t.id&&n(t,"id",d("mds-tab-item")),t.selected&&(this.currentItemIndex=a,this.currentItemEl=this.tabItems[this.currentItemIndex])}))},this.updateTabItems=()=>{this.setTabsItems(),this.overflow&&this.updateOverflowState(),this.updateSliderPosition(),this.scrollTabs(this.currentItemIndex)},this.unsetOverflowCheck=()=>{var t,a;null===(t=this.tabs)||void 0===t||t.removeEventListener("scroll",this.updateOverflowState),null===(a=this.observer)||void 0===a||a.disconnect(),this.observer=void 0},this.initOverflowCheck=()=>{null!=this.tabs&&null!=this.tabsContainer&&this.element.isConnected&&(this.unsetOverflowCheck(),this.tabs.addEventListener("scroll",this.updateOverflowState),this.observer=new ResizeObserver((()=>{this.overflow&&this.updateOverflowState(),this.updateSliderPosition()})),this.observer.observe(this.tabsContainer),this.updateOverflowState())},this.updateOverflowState=()=>{if(null==this.tabs||null==this.tabsContainer)return;const t=this.tabsContainer.offsetWidth,a=this.tabs.scrollWidth,{scrollLeft:s}=this.tabs;this.overflowLeft=s>0,this.overflowRight=Math.ceil(s+t)<a-1},this.updateSliderPosition=(t=!1)=>{"slide"===this.animation&&this.currentItemIndex>=0?self.requestAnimationFrame((()=>{this.currentItemEl.offsetWidth&&(this.sliderSlides=t,this.sliderWidth=this.currentItemEl.offsetWidth,this.sliderHeight=this.currentItemEl.offsetHeight,this.sliderOffsetX=this.currentItemEl.offsetLeft-this.tabsContainer.offsetLeft,this.sliderOffsetY=this.currentItemEl.offsetTop-this.tabsContainer.offsetTop+this.currentItemEl.offsetHeight-this.sliderHeight)})):(this.sliderHeight=-1,this.sliderOffsetX=-1,this.sliderOffsetY=-1,this.sliderWidth=-1)},this.scrollTabs=t=>{if(t<0||t>=this.tabItems.length)return;const a=this.tabItems[t];setTimeout((()=>{this.tabs.scrollLeft=a.offsetLeft-this.tabs.offsetLeft-this.tabs.offsetWidth/2+a.offsetWidth/2,this.updateOverflowState()}),h(this.cssSlideDelayDuration))},this.selectContentItem=()=>{this.contentItems.forEach(((t,a)=>{t.setAttribute("mds-tab-content-hidden",""),a===this.currentItemIndex&&t.removeAttribute("mds-tab-content-hidden")}))},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const t=window.getComputedStyle(this.element);this.cssSlideDelayDuration=t.getPropertyValue("--mds-tab-slide-delay")}}componentWillLoad(){this.setTabsItems(),this.hasContent=this.queryContentItems().length>0}connectedCallback(){this.initOverflowCheck()}disconnectedCallback(){this.unsetOverflowCheck()}componentDidLoad(){var t,a,s,r;this.updateCSSCustomProps(),this.tabs=null===(t=this.element.shadowRoot)||void 0===t?void 0:t.querySelector(".tabs"),this.tabsContainer=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".tabs-wrapper"),null===(r=null===(s=this.element.shadowRoot)||void 0===s?void 0:s.querySelector("slot"))||void 0===r||r.addEventListener("slotchange",this.updateTabItems.bind(this)),this.updateContentItems(),this.initOverflowCheck(),this.updateSliderPosition(),this.currentItemIndex>0&&this.scrollTabs(this.currentItemIndex)}changeEventHandler(t){const a=this.element.matches(":focus-within");this.tabItems.forEach(((s,r)=>{var e;if(s.id!==t.detail.target.id)s.selected=void 0;else{this.changedEvent.emit({id:r,value:s.value}),this.currentItemIndex=r,this.currentItemEl=this.tabItems[this.currentItemIndex],this.scrollTabs(r),s.selected=!0;const t=null===(e=this.tabItems[this.currentItemIndex].shadowRoot)||void 0===e?void 0:e.querySelector("mds-button");a&&setTimeout((()=>{t.focus()}),0)}})),this.selectContentItem(),this.updateSliderPosition(!0)}focusEventHandler(t){this.tabItems.forEach(((a,s)=>{a.id===t.detail.target.id&&this.scrollTabs(s)}))}handleAnimationChange(t){this.tabItems.forEach((a=>{a.animation=t})),this.updateSliderPosition()}handleDirectionChange(t){this.tabItems.forEach((a=>{a.direction=t}))}handleScrollbarChange(t){!1===t&&(this.scrollbar=void 0)}handleFillChange(t){!1===t&&(this.fill=void 0)}handleOverflowChange(t){t&&this.updateOverflowState()}handleSizeChange(t){this.tabItems.forEach((a=>{a.size=t}))}render(){return r(e,{key:"5197e18144e84e785edf071a047ad50cc25c543a","pref-animation":b.state.animation,"pref-contrast":b.state.contrast,"pref-mode":b.state.mode,"pref-theme-scheme":b.state["theme-scheme"]},r("div",{key:"fab92bd58aa9b5f85bbca8b904ae3f9fda92042c",class:l("tabs-wrapper",this.fill&&"tabs-wrapper--fill",!this.hasContent&&"tabs-wrapper--no-content")},this.overflow&&r("div",{key:"f68461e590d5387ce8bd6dc8cb774d1f3875a590",class:l("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&r("div",{key:"c38d42e71b5f5dc7375eb96f36a6a4bba164f193",class:l("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),r("div",{key:"660c8ccbc9c1d57d36bb44e5bf59e4708138f5f9",class:"tabs",part:"tabs",role:this.navigation?void 0:"tablist"},r("slot",{key:"174152bf48043a5cbec92bd2a6eabc69c6c78ba8"}),"slide"===this.animation&&r("div",{key:"26b7896d92e6273146b33d31f17c7f79e0af862d",class:l("slider",!this.sliderSlides&&"slider--still"),part:"slider",style:{"--mds-tab-slider-width":`${this.sliderWidth}px`,"--mds-tab-slider-height":`${this.sliderHeight}px`,"--mds-tab-slider-offset-x":`${this.sliderOffsetX}px`,"--mds-tab-slider-offset-y":`${this.sliderOffsetY}px`}}))),r("div",{key:"300c521f293b0012d1b7b9965fd07f92799da68d",class:l("contents",!this.hasContent&&"contents--empty"),part:"contents"},r("slot",{key:"0c7c2360b84c115850bfa8bb62ded7c722b417bd",name:"content",onSlotchange:this.updateContentItems})))}get element(){return this}static get watchers(){return{animation:[{handleAnimationChange:0}],direction:[{handleDirectionChange:0}],scrollbar:[{handleScrollbarChange:0}],fill:[{handleFillChange:0}],overflow:[{handleOverflowChange:0}],size:[{handleSizeChange:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-tab-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-direction-vertical-columns:auto auto;--mds-tab-item-default-background:#0000;--mds-tab-item-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-tab-item-default-shadow:none;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-radius:min(calc(var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200))),var(--magma-corner-cap,.5) * var(--private-tab-item-height));--mds-tab-item-selected-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);--mds-tab-scroll-behavior:smooth;--mds-tab-scroll-scrollbar-margin:0;--mds-tab-scroll-scrollbar-radius:0;--mds-tab-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-tab-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3);--mds-tab-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-tabs-gap:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-overflow-shadow-size:calc(var(--spacing,.0025rem)*600);--mds-tab-tabs-overflow-shadow:0 0 var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem)*600)) calc(var(--spacing,.0025rem)*-50) rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.375);--mds-tab-tabs-padding:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-tab-item-height) + var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200)));--mds-tab-tabs-wrapper-margin:0;--mds-tab-tabs-wrapper-outline-opacity:.7;--mds-tab-tabs-wrapper-shadow-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-transition-duration:var(--duration-500,.5s);--private-tab-transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));--private-tab-item-height:calc(var(--spacing,.0025rem)*900);--mds-tab-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-tab-corner-shape:var(--magma-corner-shape,squircle);border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));corner-shape:var(--mds-tab-corner-shape,round);display:grid;gap:0 calc(var(--spacing,.0025rem)*600);grid-template-rows:min-content auto;position:relative}:host([size=sm]){--private-tab-item-height:calc(var(--spacing,.0025rem)*700)}:host([animation=slide]) ::slotted(mds-tab-item){--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-shadow:none;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:none}.tabs{align-items:flex-start;background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-sizing:border-box;display:flex;gap:var(--mds-tab-tabs-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200));scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;transition-duration:var(--private-tab-transition-duration);transition-property:background-color;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:0}.tabs,.tabs-wrapper{border-radius:inherit;corner-shape:inherit;position:relative}.tabs-wrapper{display:grid;flex-shrink:0;margin:var(--mds-tab-tabs-wrapper-margin,0);max-width:max-content;overflow:hidden}.tabs-wrapper--fill{max-width:100%}.tabs-wrapper:after{border-radius:inherit;corner-shape:inherit;border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--mds-tab-tabs-wrapper-shadow);content:"";inset:0;opacity:var(--mds-tab-tabs-wrapper-outline-opacity,.7);pointer-events:none;position:absolute;transition-duration:var(--private-tab-transition-duration);transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));transition-property:box-shadow,opacity;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:1}.contents{--mds-tab-contents-height:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:stretch;box-sizing:border-box;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*600);height:var(--mds-tab-contents-height);overflow:auto hidden;position:relative;scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;scrollbar-width:none;transition-duration:var(--private-tab-transition-duration);transition-property:height;transition-timing-function:var(--mds-tab-transition-timing-function)}.contents::-webkit-scrollbar{display:none}.contents--empty{display:none}::slotted([slot=content]){flex-basis:0;flex-grow:1;min-width:100%;scroll-snap-align:start;width:100%}::slotted([slot=content][mds-tab-content-hidden]){display:none!important}.slider{--mds-tab-slider-offset-x:0;--mds-tab-slider-offset-y:0;--mds-tab-slider-width:0;--mds-tab-slider-height:0;background-color:var(--mds-tab-item-selected-background);border-radius:var(--mds-tab-item-radius);box-shadow:var(--mds-tab-item-selected-shadow);corner-shape:var(--mds-tab-corner-shape);height:var(--mds-tab-slider-height);inset:0 auto auto 0;pointer-events:none;position:absolute;transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));transition-property:background-color,box-shadow,transform,width;transition-timing-function:var(--mds-tab-transition-timing-function);width:var(--mds-tab-slider-width);will-change:height,transform,width;z-index:-1}.slider--still{transition-property:background-color,box-shadow}::slotted(mds-tab-item){position:relative;z-index:1}:host([direction=vertical]){--mds-tab-tabs-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));grid-template-columns:var(--mds-tab-direction-vertical-columns,auto auto);grid-template-rows:1fr}:host([direction=vertical]) .tabs{align-self:start;flex-direction:column}:host([direction=vertical]) .tabs-wrapper{align-self:start;max-width:none}:host([direction=vertical][fill]) :is(.tabs,.tabs-wrapper){align-self:auto}:host([direction=vertical]) .tabs-wrapper--no-content{grid-column:1/-1}:host([direction=vertical])::slotted(mds-tab-item){width:100%}:host(:not([scrollbar])) .tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([scrollbar])) .tabs::-webkit-scrollbar{display:none}:host([scrollbar]) .tabs::-webkit-scrollbar{height:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([scrollbar]) .tabs::-webkit-scrollbar-track{background-color:var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-tab-scroll-scrollbar-radius,0);margin-block:var(--mds-tab-scroll-scrollbar-margin,0);margin-inline:var(--mds-tab-scroll-scrollbar-margin,0)}:host([scrollbar]) .tabs::-webkit-scrollbar-thumb{background-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3));border-radius:var(--mds-tab-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.tabs{scrollbar-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));scrollbar-width:thin}}.tabs-wrapper-overflow-left,.tabs-wrapper-overflow-right{--size:calc(var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)) * 2);--offset-outside:calc(var(--size) + var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem) * 600)));background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));border-radius:100%;box-shadow:var(--mds-tab-tabs-overflow-shadow);content:"";display:inline-flex;height:auto;pointer-events:none;position:absolute;transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:var(--size);z-index:2}.tabs-wrapper-overflow-left{inset:0 auto 0 0;transform:translateX(calc(var(--offset-outside)*-1))}.tabs-wrapper-overflow-right{inset:0 0 0 auto;transform:translateX(var(--offset-outside))}.tabs-wrapper-overflow-left--show{transform:translate(-100%)}.tabs-wrapper-overflow-right--show{transform:translate(100%)}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}: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-transition-duration:0s}@media (prefers-reduced-motion:reduce){:host{--mds-tab-scroll-behavior:auto}: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-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-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}}'}},[257,"mds-tab",{direction:[1537],scrollbar:[1540],animation:[513],fill:[1540],overflow:[1540],size:[1537],sliderWidth:[32],sliderHeight:[32],sliderOffsetX:[32],sliderOffsetY:[32],sliderSlides:[32],overflowLeft:[32],overflowRight:[32],navigation:[32],hasContent:[32]},[[0,"mdsTabItemSelect","changeEventHandler"],[0,"mdsTabItemFocus","focusEventHandler"]],{animation:[{handleAnimationChange:0}],direction:[{handleDirectionChange:0}],scrollbar:[{handleScrollbarChange:0}],fill:[{handleFillChange:0}],overflow:[{handleOverflowChange:0}],size:[{handleSizeChange:0}]}]);function m(){"undefined"!=typeof customElements&&["mds-tab"].forEach((t=>{"mds-tab"===t&&(customElements.get(i(t))||customElements.define(i(t),c))}))}export{c as M,m as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,d as r,h as a,c as o,t as s}from"./p-
|
|
1
|
+
import{p as t,H as e,d as r,h as a,c as o,t as s}from"./p-ChCkQpXr.js";import{K as i}from"./p-CGrPq3C4.js";import{p as n}from"./p-BQJgPeCf.js";import{a as l,i as m,d}from"./p-CbyfhFKK.js";import{u as c}from"./p-DwKxtKwS.js";import{L as u}from"./p-B3t-yAT6.js";import{d as h}from"./p-tI3q9MMi.js";var f={result:"{{count}} αποτέλεσμα",results:"{{count}} αποτελέσματα"},p={result:"{{count}} result",results:"{{count}} results"},g={result:"{{count}} resultado",results:"{{count}} resultados"},v={result:"{{count}} risultato",results:"{{count}} risultati"};const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectedEvent=r(this,"mdsFilterItemSelect",7),this.km=new i,this.t=new u({el:f,en:p,es:g,it:v}),this.isFilter=()=>null!==this.element.closest("mds-filter"),this.toggle=()=>{!this.disabled&&this.isFilter()&&(this.selected=!this.selected,this.selectedEvent.emit({id:this.element.id,selected:this.selected}))},this.computeName=()=>{var t,e,r;const a=null!==(t=this.icon)&&void 0!==t?t:"",o=""===a||l(a)||m(a)?void 0:c(a),s=""!==(null!==(e=this.label)&&void 0!==e?e:"")?this.label:o,i=null!==(r=this.count)&&void 0!==r?r:"";return void 0===s||""===i?s:`${s}, ${this.t.get(1===Number(i)?"result":"results",{count:i})}`},this.resolveName=()=>{const t=this.computeName(),e=this.element.getAttribute("aria-label");return null!==e&&e!==this.appliedName&&e!==t?e:(this.appliedName=t,t)}}componentDidLoad(){this.km.addElement(this.element),this.km.attachClickBehavior("element",{space:!0})}disconnectedCallback(){this.km.detachClickBehavior()}render(){return a(o,{key:"570ce32557babc75c52b86f4ce49427c56f32211",tabindex:this.disabled?"-1":"0",role:"button","aria-disabled":this.disabled?"true":void 0,"aria-label":this.resolveName(),"aria-pressed":this.isFilter()?this.selected?"true":"false":void 0,onClick:this.toggle,"pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},this.icon&&a("mds-icon",{key:"a95a8947577bc0dda6402ea7163d3420254c36ff","aria-hidden":"true",name:this.icon}),this.label&&a("mds-text",{key:"0726cedfe879e0da0bea9b628e277d0e125600d2","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.label&&this.count?" ":null,this.count&&a("div",{key:"a218c675f63557f62eb49db88f56a12d991ae92c",class:"count"},a("mds-text",{key:"840df0584f5597442ef9ebacede925e69755cf26","aria-hidden":"true",variant:"info",typography:"option"},this.count)))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@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-filter-item-transition-duration:var(--duration-200,.2s);--private-filter-item-transition-duration:var(--mds-filter-item-transition-duration);--mds-filter-item-count-background-default:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-filter-item-count-color-default:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-filter-item-count-background-selected:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-filter-item-count-color-selected:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));align-items:center;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));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:flex;fill:currentColor;gap:calc(var(--spacing,.0025rem)*100);justify-content:center;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);transition-duration:.2s;transition-duration:var(--private-filter-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none;white-space:nowrap}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}mds-text{white-space:nowrap}.count{align-items:center;background-color:var(--mds-filter-item-count-background-default,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;color:var(--mds-filter-item-count-color-default,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));display:inline-flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*400);justify-content:center;min-width:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*150);padding-right:calc(var(--spacing,.0025rem)*150);transition-duration:var(--duration-200,.2s);transition-property:background-color,color;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([disabled]:not([disabled=false])){color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));pointer-events:none}:host([icon]:not([label])){height:calc(var(--spacing,.0025rem)*900);padding:0;width:calc(var(--spacing,.0025rem)*900)}:host(:hover),:host([selected]:not([selected=false])){background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)))}:host(:hover){box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a)}:host([selected]:not([selected=false])){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([selected]:not([selected=false])) .count{background-color:var(--mds-filter-item-count-background-selected,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));color:var(--mds-filter-item-count-color-selected,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))))}: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-filter-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]):host(:hover),:host([pref-contrast=more]):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@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-filter-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])){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"}},[1,"mds-filter-item",{selected:[1540],label:[513],icon:[513],value:[513],count:[513],disabled:[516]}]);function x(){"undefined"!=typeof customElements&&["mds-filter-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-filter-item":customElements.get(s(t))||customElements.define(s(t),b);break;case"mds-icon":customElements.get(s(t))||d();break;case"mds-text":customElements.get(s(t))||h()}}))}export{b as M,x as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as a,h as e,c as r,t as i}from"./p-g2_CekDc.js";import{m as s}from"./p-CvUz9jjh.js";import{L as n}from"./p-BmlDGlcB.js";import{p as o}from"./p-AWCYh8Xe.js";import{d as m}from"./p-aZlZ1XB9.js";var d={required:"Απαιτείται",disabled:"Απενεργοποιημένο",readonly:"Μόνο για ανάγνωση"},c={required:"Required",disabled:"Disabled",readonly:"Read only"},p={required:"Requerido",disabled:"Deshabilitado",readonly:"Solo lectura"},u={required:"Obbligatorio",disabled:"Disattivato",readonly:"Sola lettura"};const g=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.t=new n({en:c,el:d,es:p,it:u}),this.variant="required"}handleEcpandedChanged(t){!1===t&&(this.expanded=void 0)}render(){return e(r,{key:"f65a42529c365e01608a5d6314efea1f6ec97533","pref-animation":o.state.animation,"pref-contrast":o.state.contrast},e("div",{key:"91c48e1def9a4dbcb1120e452fe5ed096dace4cc",class:"content"},"text"===this.variant&&e("mds-text",{key:"3596ec6102133fda31969332a066ff232d42891c",typography:"option",truncate:"word"},e("span",{key:"5423dc4bcbe5aa9693db49c60f08eb8c7857935a",class:"text"},e("slot",{key:"95e74c8fbc1312cfc65dca3ba998de28bb0a28f7"}))),"readonly"===this.variant&&e("mds-text",{key:"f8c16b6de00a25001a7fede2264ae4f4f539e3d5",typography:"option",truncate:"word"},e("span",{key:"125bc0f5c5ce7500db750a5a0198dcb1601426dd",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"disabled"===this.variant&&e("mds-text",{key:"8d490ecc65ffe4df574827c1918cd606aa8ee977",typography:"option",truncate:"word"},e("span",{key:"c350437bd4fb1560356fa78a48558a1dbccba6d4",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"required"===this.variant&&e("mds-text",{key:"a0d5ffc9be60f6a2dd706abdd1d1f66e55ced2a4",typography:"option",truncate:"word"},e("span",{key:"bbd13d6cc2ca79ccac4a258dc321ee01da99b8ae",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"required-success"===this.variant&&e("span",{key:"84f787b4ff8e726083978361f15d7b0b3e8c8e11",class:"icon",innerHTML:s}),("count-almost"===this.variant||"count-almost-full"===this.variant||"count-empty"===this.variant||"count-full"===this.variant||"count-incomplete"===this.variant)&&e("mds-text",{key:"5154d22c55fe7e0b2490848f91fa2ed2c9a133d1",typography:"option",truncate:"word"},e("span",{key:"f8b4c192c015f3b897ce98caa81107c4e19822e1",class:"text"},e("slot",{key:"ff7b0a18cc4c804a77ff2e01f03eb06b0f732a65"})))))}static get watchers(){return{expanded:[{handleEcpandedChanged:0}]}}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{--mds-input-tip-item-transition-duration:var(--duration-300,.3s);--private-input-tip-item-transition-duration:var(--mds-input-tip-item-transition-duration);--mds-input-tip-item-content-transition-duration:var(--duration-200,.2s);--private-input-tip-item-content-transition-duration:var(--mds-input-tip-item-content-transition-duration);--mds-input-tip-item-background:var(--mds-input-tip-background,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));--mds-input-tip-item-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));align-items:center;background-color:var(--mds-input-tip-item-background,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:var(--mds-input-tip-item-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;height:calc(var(--spacing,.0025rem)*300);justify-content:center;min-width:calc(var(--spacing,.0025rem)*300);padding:0;pointer-events:none;position:static;text-align:center;transform:translate(0);transition-duration:var(--private-input-tip-item-transition-duration);transition-property:background-color,border-radius,color,padding-left,padding-right,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}mds-text{display:flex;place-self:center}.content{display:grid;grid-template-columns:0fr;opacity:0;overflow:hidden;transition-duration:var(--private-input-tip-item-content-transition-duration);transition-property:grid-template-columns,opacity;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.content,.icon{height:calc(var(--spacing,.0025rem)*300)}.icon{display:flex;fill:var(--mds-input-tip-item-icon-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transform:translateY(-1px);width:calc(var(--spacing,.0025rem)*300)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host(:not([expanded])){color:#0000}:host([expanded]){--mds-input-tip-item-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}:host([expanded]) .content{grid-template-columns:1fr;opacity:1}:host([variant=required]){--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=required-success]){--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=readonly]){--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=disabled]){--mds-input-tip-item-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-input-tip-item-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-tip-item-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}:host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-tip-item-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-tip-item-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-tip-item-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-tip-item-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=count-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}: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-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}:host([pref-contrast=more]):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([pref-contrast=more]):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([pref-contrast=more]):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}@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-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}}"}},[257,"mds-input-tip-item",{variant:[513],expanded:[1540]},void 0,{expanded:[{handleEcpandedChanged:0}]}]);function l(){"undefined"!=typeof customElements&&["mds-input-tip-item","mds-text"].forEach((t=>{switch(t){case"mds-input-tip-item":customElements.get(i(t))||customElements.define(i(t),g);break;case"mds-text":customElements.get(i(t))||m()}}))}export{g as M,l as d}
|
|
1
|
+
import{p as t,H as a,h as e,c as r,t as i}from"./p-ChCkQpXr.js";import{m as s}from"./p-CvUz9jjh.js";import{L as n}from"./p-B3t-yAT6.js";import{p as o}from"./p-BQJgPeCf.js";import{d as m}from"./p-tI3q9MMi.js";var d={required:"Απαιτείται",disabled:"Απενεργοποιημένο",readonly:"Μόνο για ανάγνωση"},p={required:"Required",disabled:"Disabled",readonly:"Read only"},c={required:"Requerido",disabled:"Deshabilitado",readonly:"Solo lectura"},u={required:"Obbligatorio",disabled:"Disattivato",readonly:"Sola lettura"};const g=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.t=new n({en:p,el:d,es:c,it:u}),this.variant="required"}handleEcpandedChanged(t){!1===t&&(this.expanded=void 0)}render(){return e(r,{key:"4aecbfd0791ceac0dc3e8b2c115e40be31804285","pref-animation":o.state.animation,"pref-contrast":o.state.contrast},e("div",{key:"06c0619f6fffaa1f770a28fc1fbe0ac0904b386a",class:"content"},"text"===this.variant&&e("mds-text",{key:"dbf403bbeeb2a3d9cb56525c750cac6e871d6ae0",typography:"option",truncate:"word"},e("span",{key:"b0a13272eef48d69c7222eac974a17563f04d1cf",class:"text"},e("slot",{key:"5221546125ad7b616fb609634549b172c60bdc9c"}))),"readonly"===this.variant&&e("mds-text",{key:"fd4cae518dea1a0c209ffc739f5b18f3acb0649d",typography:"option",truncate:"word"},e("span",{key:"69ebdc909ea716ab90bb4833252ffba2df6f19e1",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"disabled"===this.variant&&e("mds-text",{key:"1616d8842943726e353dcb1215a79d3ed1dc4512",typography:"option",truncate:"word"},e("span",{key:"556fed4ec282aa1128ca965398bd9ac2028f60e3",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"required"===this.variant&&e("mds-text",{key:"55683be5fef2ce23fd0cd8e390ca646112d47da9",typography:"option",truncate:"word"},e("span",{key:"c0635c1c2e7c779dad7520232faf6f76793daa25",class:"text"},this.variant&&this.t.get(this.variant.toString()))),"required-success"===this.variant&&e("span",{key:"c50fdaf860ce090f4792b9dd4b1e136fd08f3fc0",class:"icon",innerHTML:s}),("count-almost"===this.variant||"count-almost-full"===this.variant||"count-empty"===this.variant||"count-full"===this.variant||"count-incomplete"===this.variant)&&e("mds-text",{key:"8f7f529f6597ef77653b90533978434d96ad6ff8",typography:"option",truncate:"word"},e("span",{key:"51c9c75a298105cfca90032021561eefaae041e6",class:"text"},e("slot",{key:"823fe3f031fb877dab2112f8e852342a5dce4a07"})))))}static get watchers(){return{expanded:[{handleEcpandedChanged:0}]}}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{--mds-input-tip-item-transition-duration:var(--duration-300,.3s);--private-input-tip-item-transition-duration:var(--mds-input-tip-item-transition-duration);--mds-input-tip-item-content-transition-duration:var(--duration-200,.2s);--private-input-tip-item-content-transition-duration:var(--mds-input-tip-item-content-transition-duration);--mds-input-tip-item-background:var(--mds-input-tip-background,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));--mds-input-tip-item-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));align-items:center;background-color:var(--mds-input-tip-item-background,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:var(--mds-input-tip-item-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:flex;height:calc(var(--spacing,.0025rem)*300);justify-content:center;min-width:calc(var(--spacing,.0025rem)*300);padding:0;pointer-events:none;position:static;text-align:center;transform:translate(0);transition-duration:var(--private-input-tip-item-transition-duration);transition-property:background-color,border-radius,color,padding-left,padding-right,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}mds-text{display:flex;place-self:center}.content{display:grid;grid-template-columns:0fr;opacity:0;overflow:hidden;transition-duration:var(--private-input-tip-item-content-transition-duration);transition-property:grid-template-columns,opacity;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.content,.icon{height:calc(var(--spacing,.0025rem)*300)}.icon{display:flex;fill:var(--mds-input-tip-item-icon-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transform:translateY(-1px);width:calc(var(--spacing,.0025rem)*300)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host(:not([expanded])){color:#0000}:host([expanded]){--mds-input-tip-item-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}:host([expanded]) .content{grid-template-columns:1fr;opacity:1}:host([variant=required]){--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=required-success]){--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=readonly]){--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=disabled]){--mds-input-tip-item-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-input-tip-item-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-tip-item-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}:host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-tip-item-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-tip-item-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-tip-item-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-tip-item-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=count-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}: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-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}:host([pref-contrast=more]):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([pref-contrast=more]):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([pref-contrast=more]):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}@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-input-tip-item-transition-duration:0s;--private-input-tip-item-content-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-empty]){--mds-input-tip-item-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-incomplete]){--mds-input-tip-item-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost]){--mds-input-tip-item-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=count-almost-full]){--mds-input-tip-item-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-tip-item-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}}"}},[257,"mds-input-tip-item",{variant:[513],expanded:[1540]},void 0,{expanded:[{handleEcpandedChanged:0}]}]);function l(){"undefined"!=typeof customElements&&["mds-input-tip-item","mds-text"].forEach((t=>{switch(t){case"mds-input-tip-item":customElements.get(i(t))||customElements.define(i(t),g);break;case"mds-text":customElements.get(i(t))||m()}}))}export{g as M,l as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as a,h as e,c as r,t as i}from"./p-ChCkQpXr.js";import{K as n}from"./p-CGrPq3C4.js";import{c as o,u as s,s as h}from"./p-DwKxtKwS.js";import{i as v,a as u,d as l}from"./p-CbyfhFKK.js";import{r as c,s as m}from"./p-DWIIDHSa.js";import{p as d}from"./p-BQJgPeCf.js";import{r as b}from"./p-wI0alRSO.js";import{d as p,N as g}from"./p-Pwyk_BKp.js";import{d as f}from"./p-BwGJqBgv.js";import{d as w}from"./p-tI3q9MMi.js";const x={sm:"action",md:"action",lg:"h6",xl:"h5"},k=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internals=this.attachInternals(),this.km=new n,this.hasAwaited=!1,this.iconTitle=!1,this.ownAriaCurrent=!1,this.animation="none",this.iconPosition="left",this.type="submit",this.variant="primary",this.tone="strong",this.size="md",this.target="self",this.truncate="word",this.syncClickBehavior=()=>{this.disabled||this.await||this.isCurrentView()?this.km.detachClickBehavior():this.km.attachClickBehavior("element",{space:!this.isLink()})},this.syncAriaCurrent=()=>{if(this.host.hasAttribute("aria-current")&&!this.ownAriaCurrent)return;const t=o(this.current);if(!t)return this.ownAriaCurrent&&this.host.removeAttribute("aria-current"),void(this.ownAriaCurrent=!1);this.host.setAttribute("aria-current","page"===t&&this.isLink()?"page":"true"),this.ownAriaCurrent=!0},this.handleRequestSubmitForm=t=>{t.preventDefault(),this.await||this.isCurrentView()||this.internals.form&&b(this.internals.form,this.name,this.value)},this.handleReset=t=>{var a;t.preventDefault(),this.await||this.isCurrentView()||null===(a=this.internals.form)||void 0===a||a.reset()},this.mouseDown=()=>{this.active=!0},this.mouseUp=()=>{this.active=!1},this.isLink=()=>{var t;return""!==(null!==(t=this.href)&&void 0!==t?t:"")},this.isDownload=()=>this.isLink()&&void 0!==p(this.download),this.savingFile=!1,this.isCurrentView=()=>"page"===o(this.current),this.opensElsewhere=t=>"blank"===this.target||t.ctrlKey||t.metaKey||t.shiftKey,this.handleLinkClick=t=>{var a;if(!this.isLink()||this.disabled||this.await)return;if(this.savingFile)return void t.stopImmediatePropagation();if(this.isCurrentView())return void t.preventDefault();const e=null!==(a=this.href)&&void 0!==a?a:"";if(this.anchor&&t.composedPath().includes(this.anchor)){if(this.isDownload()||this.opensElsewhere(t)||!g.canHandle(e,t))return;return t.preventDefault(),void this.route(e,t)}setTimeout((()=>{t.defaultPrevented||this.follow(t)}))},this.follow=t=>{var a,e;if("undefined"==typeof window)return;if(this.isDownload())return this.savingFile=!0,null===(a=this.anchor)||void 0===a||a.click(),void(this.savingFile=!1);const r=null!==(e=this.href)&&void 0!==e?e:"";this.opensElsewhere(t)?window.open(r,"_blank"):g.canHandle(r,t)?this.route(r,t):window.location.assign(r)},this.route=(t,a)=>{g.handle(t,a)||window.location.assign(t)},this.focusHost=()=>{this.host.focus()},this.syncIconName=()=>{var t;if(this.host.hasAttribute("aria-labelledby"))return this.iconTitle&&this.host.removeAttribute("title"),void(this.iconTitle=!1);!this.iconTitle&&""===(null!==(t=this.label)&&void 0!==t?t:"")&&this.icon&&(v(this.icon)||u(this.icon)||this.host.hasAttribute("aria-label")||this.host.hasAttribute("title")||(this.host.setAttribute("title",s(this.icon)),this.iconTitle=!0))},this.renderIcons=()=>{var t;const a=null!==(t=this.icon)&&void 0!==t?t:"";if(""===a)return null;const r=this.iconCurrent||a,i=[["rest",a],["current",r],["hover",this.iconHover||r]],n=new Map;return i.forEach((([t,a])=>{var e;return n.set(a,[...null!==(e=n.get(a))&&void 0!==e?e:[],t])})),Array.from(n,(([t,a])=>e("mds-icon",{"aria-hidden":"true",class:`icon ${a.join(" ")}`,key:t,name:t,part:"icon"})))},this.onSlotChangeHandler=()=>{var t;""===(null!==(t=this.label)&&void 0!==t?t:"")&&(this.label=c(this.host))}}disabledChanged(t){this.syncClickBehavior(),t||(this.disabled=void 0)}labelChanged(t){this.label=m(t)}awaitChanged(t){this.host.setAttribute("aria-busy",(!!t).toString()),!1===t&&(this.await=void 0),this.syncClickBehavior()}currentChanged(){this.syncClickBehavior(),this.syncAriaCurrent()}handleTypeChange(t){this.internals.form&&("submit"===t?(this.host.removeEventListener("click",this.handleReset),this.host.addEventListener("click",this.handleRequestSubmitForm)):"reset"===t?(this.host.removeEventListener("click",this.handleRequestSubmitForm),this.host.addEventListener("click",this.handleReset)):(this.host.removeEventListener("click",this.handleRequestSubmitForm),this.host.removeEventListener("click",this.handleReset)))}handleHrefChange(){var t;const a=this.host.getAttribute("role");null!==a&&"button"!==a&&"link"!==a||this.host.setAttribute("role",this.isLink()?"link":"button"),this.handleTypeChange(this.isLink()?"link":null!==(t=this.type)&&void 0!==t?t:""),this.syncClickBehavior(),this.syncAriaCurrent()}handleVariantChange(t){"google"!==t?"apple"!==t||(this.icon='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple" viewBox="0 0 24 24"><path d="M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z" /></svg>'):this.icon='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlnsXlink="http://www.w3.org/1999/xlink"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path><path fill="none" d="M0 0h48v48H0z"></path></svg>\n'}componentWillLoad(){this.handleVariantChange(this.variant),this.isLink()||this.internals.form&&("submit"===this.type?this.host.addEventListener("click",this.handleRequestSubmitForm):"reset"===this.type&&this.host.addEventListener("click",this.handleReset))}componentDidLoad(){this.km.addElement(this.host),this.syncClickBehavior(),this.host.setAttribute("aria-busy",this.await?"true":"false"),this.autoFocus&&this.host.focus(),""===this.label&&(this.label=void 0),this.syncIconName(),h(this.host,"role",this.isLink()?"link":"button"),this.syncAriaCurrent()}handleAriaLabelledbyChange(){this.syncIconName()}connectedCallback(){this.disabled||this.host.removeAttribute("disabled"),this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){var t;this.typography=null!==(t=x[this.size])&&void 0!==t?t:x.md,this.hasAwaited||(this.hasAwaited=!!this.await);const a=this.label||e("slot",{key:"03cc232435075f9dc9b4c97eafcedbae25c45441",onSlotchange:this.onSlotChangeHandler});return e(r,{key:"883bc06f41ee71e9543d4dbc57911af705326964",onClick:this.handleLinkClick,onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0","pref-animation":d.state.animation,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},this.isLink()&&e("a",{key:"9a63ec8b15a50bd91b91a0c4ff044c463731b3e2","aria-hidden":"true",class:"link",download:p(this.download),href:this.href,onFocus:this.focusHost,ref:t=>this.anchor=t,tabindex:"-1",target:"blank"===this.target?"_blank":void 0}),e("div",{key:"b586d84dcbe5650bd56bb9d09b0eda9e38d1031d",class:"await"},this.hasAwaited&&e("mds-spinner",{key:"e65be96c9f26834df29522e40fb4edf725bad1e1",class:"spinner",running:this.await})),"left"===this.iconPosition&&this.renderIcons(),"yugop"===this.animation?e("mds-text",{class:"text",part:"label",tag:"span",typography:this.typography,truncate:this.truncate,animation:this.animation,text:this.label},a):e("span",{class:"text label",part:"label"},a),e("slot",{key:"5a263b18aca55b00eeed95f55442df0fefe71097",name:"notification"}),"right"===this.iconPosition&&this.renderIcons())}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{disabled:[{disabledChanged:0}],label:[{labelChanged:0}],await:[{awaitChanged:0}],current:[{currentChanged:0}],type:[{handleTypeChange:0}],href:[{handleHrefChange:0}],variant:[{handleVariantChange:0}],"aria-labelledby":[{handleAriaLabelledbyChange: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-font-weight: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-spinner,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-button-await-duration:.725s;--mds-button-transition-duration:var(--duration-300,.3s);--private-button-transition-duration:var(--mds-button-transition-duration);--mds-button-border-hover-opacity:.75;--mds-button-border-tone-outline-hover-width:calc(var(--spacing,.0025rem)*75);--mds-button-border-tone-outline-opacity:.3;--mds-button-border-tone-strong-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-weak-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-default-opacity:0;--mds-button-border-opacity:0;--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-gap:calc(var(--spacing,.0025rem)*200);--mds-button-line-clamp:1;--mds-button-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-button-height));--private-button-height:calc(var(--spacing,.0025rem)*900);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));background-color:var(--mds-button-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,11 96 255))));border-radius:var(--mds-button-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--variant-primary-04,11 96 255)))/var(--mds-button-border-opacity,0));box-sizing:border-box;color:var(--mds-button-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--mds-button-corner-shape,var(--magma-corner-shape,squircle));align-items:center;align-self:flex-start;cursor:pointer;display:inline-flex;fill:currentColor;gap:var(--mds-button-gap,calc(var(--spacing,.0025rem)*200));justify-content:center;justify-self:flex-start;min-height:var(--private-button-height);min-width:var(--private-button-height);padding:0 calc(var(--spacing,.0025rem)*400);position:relative;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,outline,outline-offset,transform;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none;--private-button-fill:var(--magma-accent-emphasis,var(--variant-primary-04,11 96 255));--private-button-fill-hover:var(--magma-accent-emphasis-hover,var(--variant-primary-03,0 73 211));--private-button-on-fill:var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-accent-surface,var(--variant-primary-09,213 224 245));--private-button-wash-hover:var(--magma-accent-surface-hover,var(--variant-primary-08,195 212 245));--private-button-wash-hover-ring:var(--private-button-wash-hover);--private-button-ink:var(--private-button-fill-hover);--private-button-ink-hover:var(--private-button-ink);--private-button-outline:var(--private-button-fill);--private-button-outline-ink:var(--private-button-ink);--private-button-text-ink:var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163));--private-button-text-ink-hover:var(--private-button-fill);--private-button-text-wash:var(--magma-accent-surface-subtle,var(--variant-primary-10,231 237 248));--private-button-text-ink-active:var(--private-button-text-ink);--private-button-current-wash:var(--magma-accent-surface-selected,var(--variant-primary-10,231 237 248));--mds-button-background:rgb(var(--private-button-fill));--mds-button-border-color-rgb:var(--private-button-fill);--mds-button-color:rgb(var(--private-button-on-fill))}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running;z-index:10}.link{border-radius:inherit;corner-shape:inherit;inset:0;outline:none;position:absolute;z-index:1}.text{--mds-text-line-clamp:var(--mds-button-line-clamp,1)}.text:first-letter{text-transform:var(--mds-button-label-transform,uppercase)}.icon{align-items:center;display:inline-flex;fill:inherit;flex-shrink:0;justify-content:center;pointer-events:none;transition-property:fill;transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.icon{transition-duration:var(--private-button-transition-duration)}.await{display:none;margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));transform:scale(0);transition-behavior:allow-discrete;transition-property:display,margin-right,opacity,transform,width;transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.spinner{height:calc(var(--spacing,.0025rem)*600);width:calc(var(--spacing,.0025rem)*600)}.spinner{--mds-spinner-duration:var(--mds-button-await-duration,.725s);color:currentColor}:is(:host(:not([await])),:host([await=false])) .spinner{transition-duration:var(--duration-200,.2s);transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}:host([await]:not([await=false])) .await{display:flex;margin-right:0;opacity:1;transform:scale(1)}@starting-style{:host([await]:not([await=false])) .await{margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));opacity:0;transform:scale(0)}}:host([await]:not([await=false])){pointer-events:none}:host([icon]:not([label])[await]:not([await=false])) .icon{display:none}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){opacity:.5;pointer-events:none}:host([size=sm]){--mds-button-radius:min(var(--magma-radius-md,var(--radius-squircle-md,20px)),var(--magma-corner-cap,.5) * var(--private-button-height));--private-button-height:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*300)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([size=sm]):host([await]:not([await=false])) .await{transform:scale(.75)}:host([size=md]){--private-button-height:calc(var(--spacing,.0025rem)*900);padding-left:calc(var(--spacing,.0025rem)*400);padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=md]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*300)}:host([size=md]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--private-button-height:calc(var(--spacing,.0025rem)*1200);padding-left:calc(var(--spacing,.0025rem)*500);padding-right:calc(var(--spacing,.0025rem)*500)}:host([size=lg]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*400)}:host([size=lg]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--private-button-height:calc(var(--spacing,.0025rem)*1300);padding-left:calc(var(--spacing,.0025rem)*600);padding-right:calc(var(--spacing,.0025rem)*600)}:host([size=xl]) .icon{height:calc(var(--spacing,.0025rem)*800);width:calc(var(--spacing,.0025rem)*800)}:host([size][icon][icon-position]:not([label])){aspect-ratio:1;padding:0}.label{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-action,.875rem);font-weight:var(--tw-font-weight,var(--text-size-title-action--font-weight,500));line-height:var(--tw-leading,var(--text-size-title-action--line-height,1.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-width:0}.label:where(input){text-box:normal}:host([size=lg]) .label{font-size:var(--text-size-title-h6,1rem);font-weight:var(--tw-font-weight,var(--text-size-title-h6--font-weight,700));letter-spacing:var(--tw-tracking,var(--text-size-title-h6--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h6--line-height,1.5rem));--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-wrap:balance}:host([size=xl]) .label{font-size:var(--text-size-title-h5,1.25rem);font-weight:var(--tw-font-weight,var(--text-size-title-h5--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h5--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h5--line-height,1.75rem));--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);text-wrap:balance}:host([truncate]) .label{overflow:hidden;text-overflow:ellipsis}:host([truncate=word]) .label{white-space:nowrap}:host([truncate=all]) .label{-webkit-line-clamp:var(--mds-button-line-clamp,1);line-clamp:var(--mds-button-line-clamp,1);-webkit-box-orient:vertical;display:-webkit-box}:host(:not([label])) .text,:host([label=""]) .text{display:none}:host([variant=ai]){--private-button-fill:var(--magma-accent-ai-emphasis,var(--variant-ai-04,128 78 232));--private-button-fill-hover:var(--magma-accent-ai-emphasis-hover,var(--variant-ai-03,105 49 204));--private-button-wash:var(--magma-accent-ai-surface,var(--variant-ai-09,225 219 255));--private-button-wash-hover:var(--magma-accent-ai-surface-hover,var(--variant-ai-08,214 205 255));--private-button-text-ink:var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,84 7 175));--private-button-text-wash:var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,238 235 255));--private-button-current-wash:var(--magma-accent-ai-surface-selected,var(--variant-ai-10,238 235 255))}:host([tone=strong]:hover){--mds-button-background:rgb(var(--private-button-fill-hover));--mds-button-border-color-rgb:var(--private-button-fill-hover)}:host([tone=weak]){--mds-button-background:rgb(var(--private-button-wash));--mds-button-border-color-rgb:var(--private-button-wash);--mds-button-color:rgb(var(--private-button-ink));fill:rgb(var(--private-button-ink))}:host([tone=weak]:hover){--mds-button-background:rgb(var(--private-button-wash-hover));--mds-button-border-color-rgb:var(--private-button-wash-hover-ring);--mds-button-color:rgb(var(--private-button-ink-hover))}:host([tone=outline]){--mds-button-border-color-rgb:var(--private-button-outline);--mds-button-color:rgb(var(--private-button-outline-ink));--mds-button-border-opacity:var(--mds-button-border-tone-outline-opacity)}:host([tone=outline]:hover),:host([tone=text]){--mds-button-color:rgb(var(--private-button-text-ink))}:host([tone=text]:hover){--mds-button-background:rgb(var(--private-button-text-wash));--mds-button-color:rgb(var(--private-button-text-ink-hover))}:host([tone=text][active]){--mds-button-color:rgb(var(--private-button-text-ink-active))}:host([variant=error]),:host([variant=info]),:host([variant=success]),:host([variant=warning]){--private-button-text-ink-hover:var(--private-button-ink-hover);--private-button-text-ink-active:var(--private-button-ink-hover)}:host([variant=info]){--private-button-fill:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--private-button-fill-hover:var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137));--private-button-on-fill:var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-info-wash-base,var(--status-info-09,193 230 246));--private-button-current-wash:var(--magma-info-wash-soft,var(--status-info-10,220 240 250));--private-button-wash-hover:var(--magma-info-wash-strong,var(--status-info-08,168 219 242));--private-button-ink:var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137));--private-button-ink-hover:var(--magma-info-text-default,var(--text-info-default,0 45 86));--private-button-text-ink:var(--magma-info-text-muted,var(--text-info-muted,0 71 114));--private-button-text-wash:var(--magma-info-wash-soft,var(--status-info-10,220 240 250))}:host([variant=success]){--private-button-fill:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--private-button-fill-hover:var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32));--private-button-on-fill:var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-success-wash-base,var(--status-success-09,191 233 205));--private-button-current-wash:var(--magma-success-wash-soft,var(--status-success-10,220 243 227));--private-button-wash-hover:var(--magma-success-wash-strong,var(--status-success-08,165 225 186));--private-button-ink:var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32));--private-button-ink-hover:var(--magma-success-text-default,var(--text-success-default,0 53 0));--private-button-text-ink:var(--magma-success-text-muted,var(--text-success-muted,0 80 7));--private-button-text-wash:var(--magma-success-wash-soft,var(--status-success-10,220 243 227))}:host([variant=warning]){--private-button-fill:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--private-button-fill-hover:var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0));--private-button-on-fill:var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-warning-wash-base,var(--status-warning-09,255 220 117));--private-button-current-wash:var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181));--private-button-wash-hover:var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57));--private-button-ink:var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0));--private-button-ink-hover:var(--magma-warning-text-default,var(--text-warning-default,58 44 0));--private-button-text-ink:var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0));--private-button-text-wash:var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181))}:host([variant=error]){--private-button-fill:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--private-button-fill-hover:var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40));--private-button-on-fill:var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-danger-wash-base,var(--status-error-09,255 214 211));--private-button-current-wash:var(--magma-danger-wash-soft,var(--status-error-10,255 232 230));--private-button-wash-hover:var(--magma-danger-wash-strong,var(--status-error-08,254 198 194));--private-button-ink:var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40));--private-button-ink-hover:var(--magma-danger-text-default,var(--text-error-default,89 0 0));--private-button-text-ink:var(--magma-danger-text-muted,var(--text-error-muted,132 0 11));--private-button-text-wash:var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))}:host([variant=light]){--private-button-fill:var(--tone-neutral-seed,255 255 255);--private-button-fill-hover:var(--private-button-fill);--private-button-on-fill:var(--magma-text-muted,var(--text-neutral-muted,73 73 73));--private-button-wash:var(--private-button-fill);--private-button-wash-hover:var(--private-button-fill);--private-button-ink:var(--private-button-on-fill);--private-button-ink-hover:var(--magma-text-default,var(--text-neutral-default,5 5 5));--private-button-outline:var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-outline-ink:var(--private-button-outline);--private-button-text-ink:var(--private-button-outline);--private-button-text-ink-hover:var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255));--private-button-text-wash:var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73));--private-button-current-wash:var(--private-button-wash)}:host([variant=dark]){--private-button-fill:var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42));--private-button-fill-hover:var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73));--private-button-on-fill:var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-wash-strong,var(--tone-neutral-08,208 208 208));--private-button-wash-hover:var(--private-button-wash);--private-button-wash-hover-ring:var(--magma-border-strong,var(--border-neutral-strong,140 140 140));--private-button-ink:var(--magma-text-default,var(--text-neutral-default,5 5 5));--private-button-outline-ink:var(--magma-text-muted,var(--text-neutral-muted,73 73 73));--private-button-text-ink:var(--private-button-ink);--private-button-text-ink-hover:var(--private-button-ink);--private-button-text-wash:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237));--private-button-current-wash:var(--private-button-wash)}:host([variant=google]),:host([variant=google][tone]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-hover-opacity:.5;--mds-button-border-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.2;--mds-button-border-width:calc(var(--spacing,.0025rem)*25);--mds-button-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-button-border-color-rgb:var(--magma-text-default,var(--text-neutral-default,5 5 5));--private-button-ink:var(--magma-text-muted,var(--text-neutral-muted,73 73 73));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--variant-primary-04,11 96 255)))/var(--mds-button-border-opacity,0))}:host([variant=google]:hover),:host([variant=google][tone]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-width:var(--mds-button-border-hover-width);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([variant=apple]) .icon{transform:translateY(-5%)}:host([variant=apple]),:host([variant=apple][tone]){--mds-button-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-button-border-width:0;--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42));--private-button-ink:var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))}:host([variant=apple]:hover),:host([variant=apple][tone]:hover){--mds-button-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-button-border-opacity:1}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=google]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=google]:hover){--mds-button-border-opacity:.5}:host([tone=outline]),:host([tone=text]){--mds-button-background:#0000}:host([tone=box]),:host([tone=strong]),:host([tone=weak]){--mds-button-border-default-opacity:1;--mds-button-border-width:0;--mds-button-border-opacity:var(--mds-button-border-default-opacity,0)}:host([tone=strong]:hover),:host([tone=strong][active]){--mds-button-border-width:var(--mds-button-border-tone-strong-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=weak]:hover),:host([tone=weak][active]){--mds-button-border-width:var(--mds-button-border-tone-weak-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=outline]:hover),:host([tone=outline][active]){--mds-button-background:#0000;--mds-button-border-width:var(--mds-button-border-tone-outline-hover-width,calc(var(--spacing,.0025rem)*75));--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([tone=box]){box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);transition-property:background-color,border-color,box-shadow,color,outline,filter,outline-offset,transform}:host([tone=box]):host(:hover){filter:brightness(1.1)}:host([current]:not([current=false],[current=section])){cursor:default;pointer-events:none}:host([current]:not([current=false])[tone=box]),:host([current]:not([current=false])[tone=strong]){--mds-button-background:rgb(var(--private-button-fill));--mds-button-border-color-rgb:var(--private-button-fill);--mds-button-border-width:0;filter:none}:host([current]:not([current=false])[tone=weak]){--mds-button-background:rgb(var(--private-button-current-wash));--mds-button-border-color-rgb:var(--private-button-current-wash);--mds-button-border-width:0;--mds-button-color:rgb(var(--private-button-ink));fill:rgb(var(--private-button-ink))}:host([current]:not([current=false])[tone=outline]){--mds-button-background:rgb(var(--private-button-text-wash));--mds-button-border-opacity:var(--mds-button-border-tone-outline-opacity);--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-color:rgb(var(--private-button-outline-ink))}:host([current]:not([current=false])[tone=text]){--mds-button-background:rgb(var(--private-button-text-wash));--mds-button-color:rgb(var(--private-button-text-ink))}:host([current]:not([current=false])) .text{--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700)}:host([current]:not([current=false])[size=lg]) .text{--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900)}:host([current]:not([current=false])) .icon:not(.current){display:none}: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-button-transition-duration:0s}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=google]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=google]:hover){--mds-button-border-opacity:.5}}@media (hover:hover){:host(:hover:not([current]:not([current=false]))) .icon:not(.hover),:host(:not(:hover,[current]:not([current=false]))) .icon:not(.rest){display:none}}@media (hover:none){:host(:not([current]:not([current=false]))) .icon:not(.rest){display:none}}@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-button-transition-duration:0s}}'}},[321,"mds-button",{autoFocus:[4,"auto-focus"],label:[1537],animation:[513],icon:[1537],iconCurrent:[1,"icon-current"],iconHover:[1,"icon-hover"],iconPosition:[513,"icon-position"],type:[513],name:[513],value:[513],variant:[513],tone:[513],size:[513],active:[1540],disabled:[1540],await:[1540],href:[513],target:[1],download:[8],current:[520],truncate:[513]},void 0,{disabled:[{disabledChanged:0}],label:[{labelChanged:0}],await:[{awaitChanged:0}],current:[{currentChanged:0}],type:[{handleTypeChange:0}],href:[{handleHrefChange:0}],variant:[{handleVariantChange:0}],"aria-labelledby":[{handleAriaLabelledbyChange:0}]}]);function y(){"undefined"!=typeof customElements&&["mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-button":customElements.get(i(t))||customElements.define(i(t),k);break;case"mds-icon":customElements.get(i(t))||l();break;case"mds-spinner":customElements.get(i(t))||f();break;case"mds-text":customElements.get(i(t))||w()}}))}export{k as M,y as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{S as e}from"./p-
|
|
1
|
+
import{S as e}from"./p-ChCkQpXr.js";const t=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{e.forEach(((t,n)=>{const o=new Set;t.forEach((e=>{const t=e.deref();var n;t&&(!("isConnected"in(n=t))||n.isConnected)&&o.add(e)})),e.set(n,o)}))})(...t)}),2e3)}})(),n=e.forceUpdate,o=e.getRenderingRef,r=(e,t)=>{const n=e.indexOf(t);n>=0&&(e[n]=e[e.length-1],e.length--)},s={animation:["reduce","system","no-preference"],consumption:["low","medium","high"],contrast:["more","no-preference","system"],mode:["light","dark","system"],"theme-scheme":["light","dark","all"]},c=(()=>{const e=((e,t=(e,t)=>e!==t)=>{const n=()=>{return("function"==typeof(t=e)?t():t)??{};var t},o=n();let s=new Map(Object.entries(o));const c="undefined"!=typeof Proxy,a=c?null:{},u={dispose:[],get:[],set:[],reset:[]},d=new Map,i=()=>{s=new Map(Object.entries(n())),c||g(),u.reset.forEach((e=>e()))},f=e=>(u.get.forEach((t=>t(e))),s.get(e)),m=(e,n)=>{const o=s.get(e);t(n,o,e)&&(s.set(e,n),c||w(e),u.set.forEach((t=>t(e,n,o))))},l=c?new Proxy(o,{get:(e,t)=>f(t),ownKeys:()=>Array.from(s.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>s.has(t),set:(e,t,n)=>(m(t,n),!0)}):(g(),a),p=(e,t)=>(u[e].push(t),()=>{r(u[e],t)});function w(e){!c&&a&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(a,e,{configurable:!0,enumerable:!0,get:()=>f(e),set(t){m(e,t)}}))}function g(){if(c||!a)return;const e=new Set(s.keys());for(const t of Object.keys(a))e.has(t)||delete a[t];for(const t of e)w(t)}return{state:l,get:f,set:m,on:p,onChange:(e,t)=>{const o=(n,o)=>{n===e&&t(o)},r=()=>{const o=n();t(o[e])},s=p("set",o),c=p("reset",r);return d.set(t,{setHandler:o,resetHandler:r,propName:e}),()=>{s(),c(),d.delete(t)}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(p("set",t.set)),t.get&&e.push(p("get",t.get)),t.reset&&e.push(p("reset",t.reset)),t.dispose&&e.push(p("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{u.dispose.forEach((e=>e())),i()},reset:i,forceUpdate:e=>{const t=s.get(e);u.set.forEach((n=>n(e,t,t)))},removeListener:(e,t)=>{const n=d.get(t);n&&n.propName===e&&(r(u.set,n.setHandler),r(u.reset,n.resetHandler),d.delete(t))}}})({language:"en"},void 0);return e.use((()=>{if("function"!=typeof o||"function"!=typeof n)return{};const e=n,r=o,s=new WeakMap,c=new Map;return{dispose:()=>c.clear(),get:e=>{const t=r();t&&((e,t,n,o)=>{let r=t.get(o);r||(r=new WeakRef(o),t.set(o,r));let s=e.get(n);s||(s=new Set,e.set(n,s)),s.add(r)})(c,s,e,t)},set:n=>{const o=c.get(n);if(o){const t=new Set;o.forEach((n=>{const o=n.deref();o&&e(o)&&t.add(n)})),c.set(n,t)}t(c)},reset:()=>{c.forEach((t=>{t.forEach((t=>{const n=t.deref();n&&e(n)}))})),t(c)}}})()),e})(),a=s.mode,u="--magma-color-modes",d=e=>{const t=e.trim().split(/\s+/).filter(Boolean);if(1!==t.length)return;const[n]=t;return"light"===n||"dark"===n?n:void 0};if("undefined"!=typeof localStorage)try{(e=>{const t=e.getItem("mdsPrefTheme");null!==t&&a.includes(t)&&(null===e.getItem("mdsPrefMode")&&e.setItem("mdsPrefMode",t),e.removeItem("mdsPrefTheme"));const n=e.getItem("mdsPrefThemeName");null!==n&&(null===e.getItem("mdsPrefTheme")&&e.setItem("mdsPrefTheme",n),e.removeItem("mdsPrefThemeName"))})(localStorage)}catch(e){}const i=()=>{var e;Object.keys(s).forEach((e=>{c.state[e]=(e=>{const t=s[e],{classList:n}=document.documentElement;return t.find((t=>n.contains(`pref-${e}-${t}`)))})(e)})),c.state["corner-shape"]=null!==(e=document.documentElement.getAttribute("data-corner-shape"))&&void 0!==e?e:void 0},f=()=>{c.state.language=document.documentElement.lang||"en"};"undefined"!=typeof document&&(i(),f(),"undefined"!=typeof MutationObserver&&(new MutationObserver(i).observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-corner-shape"]}),new MutationObserver(f).observe(document.documentElement,{attributes:!0,attributeFilter:["lang"]})));const m=()=>{const e=c.state.animation;return"reduce"===e||"no-preference"!==e&&"undefined"!=typeof window&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches};export{u as C,a as M,m as a,d as l,c as p}
|