@maggioli-design-system/magma 2.13.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 +50 -0
- package/agents/assets.md +1 -1
- package/agents/install.md +6 -1
- package/agents/mcp.md +14 -5
- 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.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/many-sections.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.html +2 -2
- 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/section-menus.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/section-menus.html +2 -2
- 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.dark.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/partial.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.html +2 -2
- 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/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/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-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-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/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-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/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-fields.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.dark.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/label-control.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.dark.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/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/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/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/section.dark.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/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/record-detail.md +179 -15
- package/agents/patterns.md +4 -3
- 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 +30 -9
- 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 +3 -1
- package/dist/collection/components/mds-input-range/documentation.json +3 -3
- package/dist/collection/components/mds-input-range/mds-input-range.css +112 -4
- package/dist/collection/components/mds-input-range/mds-input-range.js +35 -5
- 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 +212 -23
- 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 +30 -9
- 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 +31 -24
- 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 +341 -189
- package/dist/hydrate/index.mjs +341 -189
- 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 +21 -3
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/{p-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-3f9b9e40.entry.js +1 -0
- 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-a738797b.system.entry.js +120 -0
- 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 +81 -33
- package/dist/mcp/cli.js +8 -2
- package/dist/mcp/context.js +21 -0
- package/dist/mcp/guides.js +2 -1
- package/dist/mcp/patterns.js +19 -9
- package/dist/mcp/render.js +4 -4
- package/dist/mcp/root.js +63 -0
- package/dist/mcp/tools.json +21 -3
- package/dist/stats.json +2952 -2666
- 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-input-range/mds-input-range.d.ts +9 -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-ccb64689.system.entry.js +0 -113
- package/dist/magma-components/p-cf8cfcac.system.entry.js +0 -10
- package/dist/magma-components/p-d32ca6ce.entry.js +0 -1
- 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,4 +1,4 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,a,r){function i(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,o){function n(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?a(t.value):i(t.value).then(n,s)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=s(0),n["throw"]=s(1),n["return"]=s(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(t){return function(e){return c([t,e])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(a=0)),a)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;i=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(s[0]===6&&a.label<o[1]){a.label=o[1];o=s;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(s);break}if(o[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement,B as Build}from"./index-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,a,r){function i(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,o){function n(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?a(t.value):i(t.value).then(n,s)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=s(0),n["throw"]=s(1),n["return"]=s(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(t){return function(e){return c([t,e])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(a=0)),a)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;i=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(s[0]===6&&a.label<o[1]){a.label=o[1];o=s;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(s);break}if(o[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement,B as Build}from"./index-BQhu9Pch.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-Cm8DHVsu.js";import{p as preferenceStore}from"./preference-B_NbXZNw.js";import{h as hasChildWithSlot,o as observeChildren}from"./slot-AEckDMXh.js";var batchActions$3="Επιλεγμένα στοιχεία";var localeEl={batchActions:batchActions$3};var batchActions$2="Selected items";var localeEn={batchActions:batchActions$2};var batchActions$1="Elementos seleccionados";var localeEs={batchActions:batchActions$1};var batchActions="Elementi selezionati";var localeIt={batchActions:batchActions};var mdsTableCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-table-body,mds-table-footer,mds-table-header):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-table-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-table-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,206 206 206)));--mds-table-border-width:calc(var(--spacing,.0025rem)*50);--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-table-separator-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,206 206 206)));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,206 206 206))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,206 206 206))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,206 206 206))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,235 235 235)));corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;transition-duration:var(--private-table-transition-duration);transition-property:max-width;transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,206 206 206))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-contrast=more][pref-theme-scheme=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-contrast=system][pref-theme-scheme=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]:not([pref-theme-scheme=light])){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]:not([pref-theme-scheme=light])){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var MdsTable=/** @class */function(){function t(t){var e=this.constructor;var a=this;if(e===MdsTable)registerInstance(this,t);this.selectionEvent=createEvent(this,"mdsTableSelectionChange",7);this.hasBatchActions=false;this.cellsWidth=0;this.selectedRows=[];this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
|
|
2
2
|
/**
|
|
3
3
|
* Specifies who sorts the rows when a sortable header cell changes direction: `internal` moves
|
|
4
4
|
* them in the DOM, `external` leaves them to the application, which listens to
|
|
@@ -56,4 +56,4 @@ if(this.footer){this.footer.selectable=this.selectable}if(this.header){this.head
|
|
|
56
56
|
this.updateActions()};t.prototype.disconnectedCallback=function(){var t,e,a;
|
|
57
57
|
// the listener is on the scroll area, where watchActions put it: removing it from the host
|
|
58
58
|
// removed nothing
|
|
59
|
-
(t=this.scrollWrapper)===null||t===void 0?void 0:t.removeEventListener("scroll",this.handleActions);(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();this.scrollWrapper=undefined;this.resizeObserver=undefined;(a=this.tableBodyObserver)===null||a===void 0?void 0:a.disconnect()};t.prototype.render=function(){return h(Host,{key:"
|
|
59
|
+
(t=this.scrollWrapper)===null||t===void 0?void 0:t.removeEventListener("scroll",this.handleActions);(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();this.scrollWrapper=undefined;this.resizeObserver=undefined;(a=this.tableBodyObserver)===null||a===void 0?void 0:a.disconnect()};t.prototype.render=function(){return h(Host,{key:"10c90fb77d4dcbf012308bc2b47cccaf7ab28762","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"0256e4e97be944b0ab07f7d800bbfc57c73fa61f",class:"table-wrapper",part:"table-wrapper"},h("table",{key:"a091bd3954e42c07c0921b57c9560afb09128687",class:clsx("table",this.interactive&&"table--interactive"),role:"table",part:"table"},h("slot",{key:"2e89b0c5d0f15ac09a6a87186c4e84a0b9a6b9ee",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&h("div",{key:"be4b59fdc65ac5e80b34ce250eeb52ea49480c28",class:clsx("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},h("div",{key:"bd94fc816cd805e9ae58dcdd64c9d4937c3bd12a",class:"batch-actions",part:"batch-actions"},h("div",{key:"969f6424cb0e08e9cb7eb85182527a3361354146",class:"batch-actions-header"},h("mds-text",{key:"52afbd64f63478b0b5d09a26237398ade4cada18",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),h("mds-badge",{key:"c967bf9c98bc850393da1aba0bd154ca7e102176",label:"".concat(this.selectedRows.length),variant:"dark",tone:"outline",typography:"label"})),h("slot",{key:"d24ca54081c5bed56bc29b4d004a9dcd67327094",name:"batch-action"}))))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}},enumerable:false,configurable:true});return t}();MdsTable.style=mdsTableCss();export{MdsTable as mds_table};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";import{a as prefersReducedMotion,p as preferenceStore}from"./preference-B_NbXZNw.js";var typographyDefaultsVariant={action:{tag:"span",selector:{default:"text-title-action",title:"text-title-action"}},caption:{tag:"span",selector:{default:"text-info-caption",info:"text-info-caption",read:"text-read-caption"}},detail:{tag:"p",selector:{default:"text-info-detail",info:"text-info-detail",read:"text-read-detail"}},h1:{tag:"h1",selector:{default:"text-title-h1",title:"text-title-h1"}},h2:{tag:"h2",selector:{default:"text-title-h2",title:"text-title-h2"}},h3:{tag:"h3",selector:{default:"text-title-h3",title:"text-title-h3"}},h4:{tag:"h4",selector:{default:"text-title-h4",title:"text-title-h4"}},h5:{tag:"h5",selector:{default:"text-title-h5",title:"text-title-h5"}},h6:{tag:"h6",selector:{default:"text-title-h6",title:"text-title-h6"}},
|
|
2
2
|
// A title by role (#1189) takes the tag of the level its role is styled as, the value of
|
|
3
3
|
// role.title in projects/design-tokens/tokens/typography/role.json (the e2e test reads it);
|
|
4
4
|
// the outline of the page sets the tag, so a page title is written with tag="h1".
|
|
@@ -16,7 +16,7 @@ if(!(this.speed>0))Object.assign(this,{speed:t.defaults.speed})}t.prototype.stop
|
|
|
16
16
|
* placeholder instead of coming out as nothing. The string therefore has its final
|
|
17
17
|
* length from the very first frame, which is what keeps the box from collapsing - an
|
|
18
18
|
* output of zero characters has no line box at all, and everything around it jumps.
|
|
19
|
-
*/t.prototype.step=function(t,e,i){var a=this;var o=this,n=o.str,r=o.charStep,s=o.minCharCode,h=o.maxCharCode,l=o.placeholderChar,g=o.onProgress,f=o.onComplete;var p=t.map((function(t,i){if(i>=e)return t;if(t>0)return t-1;if(t<0)return t+1;return 0}));var m=charCodeArrayToString({str:n,minCharCode:s,maxCharCode:h,placeholderChar:l,charStep:r})(p);var x=p;g(m);if(m!==n){this.rafId=requestAnimationFrame((function(){a.step(x,e+i,i)}))}else{f(m)}};return t}();RandomText.defaults={str:"",speed:2,placeholderChar:"_",frameOffset:30,charOffset:20,charStep:10,minCharCode:32,maxCharCode:122,onProgress:noop,onComplete:noop};var mdsTextCss=function(){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;--tw-ease:initial}}}:host(: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-text-selection-background:rgb(var(--label-sky-09,185 231 251));--mds-text-selection-color:rgb(var(--label-sky-01,4 48 68));--mds-text-line-clamp:3;--mds-text-animation-speed:.5;--mds-text-animation-placeholder-char:" ";--mds-text-transition-duration:var(--duration-200,.2s);--private-text-transition-duration:var(--mds-text-transition-duration);display:flex;min-width:0}.text::selection{background-color:var(--mds-text-selection-background,rgb(var(--label-sky-09,185 231 251)));color:var(--mds-text-selection-color,rgb(var(--label-sky-01,4 48 68)))}.text{cursor:inherit;display:inherit}:host([animation=yugop]) .text{white-space:pre-wrap}:host([typography=snippet]){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=snippet]):where(input){text-box:normal}:host([typography=hack]){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=hack]):where(input){text-box:normal}:host([typography=h1]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h1,3rem);font-weight:var(--tw-font-weight,var(--text-size-title-h1--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h1--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h1--line-height,3rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h1]):where(input){text-box:normal}:host([typography=h2]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h2,2.25rem);font-weight:var(--tw-font-weight,var(--text-size-title-h2--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h2--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h2--line-height,2.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h2]):where(input){text-box:normal}:host([typography=h3]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h3,1.875rem);font-weight:var(--tw-font-weight,var(--text-size-title-h3--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h3--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h3--line-height,2.25rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h3]):where(input){text-box:normal}:host([typography=h4]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h4,1.5rem);font-weight:var(--tw-font-weight,var(--text-size-title-h4--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h4--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h4--line-height,2rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h4]):where(input){text-box:normal}:host([typography=h5]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);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));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h5]):where(input){text-box:normal}:host([typography=h6]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);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));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h6]):where(input){text-box:normal}:host([typography=page]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-page,var(--text-size-title-h3,1.875rem));font-weight:var(--tw-font-weight,var(--text-size-title-page--font-weight,var(--text-size-title-h3--font-weight,900)));letter-spacing:var(--tw-tracking,var(--text-size-title-page--letter-spacing,var(--text-size-title-h3--letter-spacing,-.025em)));line-height:var(--tw-leading,var(--text-size-title-page--line-height,var(--text-size-title-h3--line-height,2.25rem)));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=page]):where(input){text-box:normal}:host([typography=section]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-section,var(--text-size-title-h5,1.25rem));font-weight:var(--tw-font-weight,var(--text-size-title-section--font-weight,var(--text-size-title-h5--font-weight,900)));letter-spacing:var(--tw-tracking,var(--text-size-title-section--letter-spacing,var(--text-size-title-h5--letter-spacing,-.025em)));line-height:var(--tw-leading,var(--text-size-title-section--line-height,var(--text-size-title-h5--line-height,1.75rem)));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=section]):where(input){text-box:normal}:host([typography=dialog]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-dialog,var(--text-size-title-h5,1.25rem));font-weight:var(--tw-font-weight,var(--text-size-title-dialog--font-weight,var(--text-size-title-h5--font-weight,900)));letter-spacing:var(--tw-tracking,var(--text-size-title-dialog--letter-spacing,var(--text-size-title-h5--letter-spacing,-.025em)));line-height:var(--tw-leading,var(--text-size-title-dialog--line-height,var(--text-size-title-h5--line-height,1.75rem)));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=dialog]):where(input){text-box:normal}:host([typography=part]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-part,var(--text-size-title-h6,1rem));font-weight:var(--tw-font-weight,var(--text-size-title-part--font-weight,var(--text-size-title-h6--font-weight,700)));letter-spacing:var(--tw-tracking,var(--text-size-title-part--letter-spacing,var(--text-size-title-h6--letter-spacing,-.025em)));line-height:var(--tw-leading,var(--text-size-title-part--line-height,var(--text-size-title-h6--line-height,1.5rem)));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=part]):where(input){text-box:normal}:host([typography=group]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-group,var(--text-size-title-h6,1rem));font-weight:var(--tw-font-weight,var(--text-size-title-group--font-weight,var(--text-size-title-h6--font-weight,700)));letter-spacing:var(--tw-tracking,var(--text-size-title-group--letter-spacing,var(--text-size-title-h6--letter-spacing,-.025em)));line-height:var(--tw-leading,var(--text-size-title-group--line-height,var(--text-size-title-h6--line-height,1.5rem)));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=group]):where(input){text-box:normal}:host([typography=dialog]),:host([typography=group]),:host([typography=h1]),:host([typography=h2]),:host([typography=h3]),:host([typography=h4]),:host([typography=h5]),:host([typography=h6]),:host([typography=page]),:host([typography=part]),:host([typography=section]){text-wrap:balance}:host([typography=action]){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}:host([typography=action]):where(input){text-box:normal}:host([typography=paragraph]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-paragraph,1.25rem);font-weight:var(--tw-font-weight,var(--text-size-info-paragraph--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-paragraph--line-height,2rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=paragraph]):where(input){text-box:normal}:host([typography=detail]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=detail]):where(input){text-box:normal}:host([typography=caption]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-caption,.875rem);font-weight:var(--tw-font-weight,var(--text-size-info-caption--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-caption--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=caption]):where(input){text-box:normal}:host([typography=caption]),:host([typography=detail]),:host([typography=paragraph]){text-wrap:pretty}:host([typography=label]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem));min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=label]):where(input){text-box:normal}:host([typography=tip]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-tip,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-tip--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-tip--line-height,1rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=tip]):where(input){text-box:normal}:host([typography=option]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-option,.625rem);font-weight:var(--tw-font-weight,var(--text-size-info-option--font-weight,700));letter-spacing:var(--tw-tracking,var(--text-size-info-option--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-info-option--line-height,.625rem));min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=option]):where(input){text-box:normal}:host([typography=paragraph][variant=read]){font-family:var(--font-read,"Merriweather",Times,"Times New Roman",serif);font-size:var(--text-size-read-paragraph,1.25rem);font-weight:var(--tw-font-weight,var(--text-size-read-paragraph--font-weight,300));line-height:var(--tw-leading,var(--text-size-read-paragraph--line-height,2rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-light,300);font-weight:var(--font-weight-light,300);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=paragraph][variant=read]):where(input){text-box:normal}:host([typography=detail][variant=read]){font-family:var(--font-read,"Merriweather",Times,"Times New Roman",serif);font-size:var(--text-size-read-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-read-detail--font-weight,300));line-height:var(--tw-leading,var(--text-size-read-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-light,300);font-weight:var(--font-weight-light,300);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=detail][variant=read]):where(input){text-box:normal}:host([typography=caption][variant=read]){font-family:var(--font-read,"Merriweather",Times,"Times New Roman",serif);font-size:var(--text-size-read-caption,.875rem);font-weight:var(--tw-font-weight,var(--text-size-read-caption--font-weight,400));line-height:var(--tw-leading,var(--text-size-read-caption--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=caption][variant=read]):where(input){text-box:normal}:host([tag=article]),:host([tag=blockquote]),:host([tag=dd]),:host([tag=details]),:host([tag=div]),:host([tag=dl]),:host([tag=dt]),:host([tag=figcaption]),:host([tag=h1]),:host([tag=h2]),:host([tag=h3]),:host([tag=h4]),:host([tag=h5]),:host([tag=h6]),:host([tag=label]),:host([tag=legend]),:host([tag=li]),:host([tag=ol]),:host([tag=p]),:host([tag=pre]),:host([tag=summary]),:host([tag=ul]){display:block}:host([tag=figcaption]),:host([tag=li]),:host([tag=p]){max-width:var(--spacing-text,var(--magma-width-reading,56ch))}:host([tag=abbr]),:host([tag=address]),:host([tag=b]),:host([tag=bdo]),:host([tag=cite]),:host([tag=code]),:host([tag=del]),:host([tag=dfn]),:host([tag=em]),:host([tag=i]),:host([tag=ins]),:host([tag=kbd]),:host([tag=mark]),:host([tag=q]),:host([tag=rb]),:host([tag=rt]),:host([tag=ruby]),:host([tag=s]),:host([tag=samp]),:host([tag=small]),:host([tag=span]),:host([tag=strong]),:host([tag=sub]),:host([tag=sup]),:host([tag=time]),:host([tag=u]),:host([tag=var]){display:inline}:host([tag=code]){--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-shadow:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))) 0 0 0 1px;color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);padding-block:calc(var(--spacing,.0025rem)*25);padding-inline:calc(var(--spacing,.0025rem)*100);transition-duration:var(--private-text-transition-duration);transition-property:color,background-color}:host([truncate]) .text{display:flow-root;min-width:0;overflow:clip visible;text-overflow:ellipsis}:host([truncate=word]) .text{white-space:nowrap}:host([truncate=all]) .text{clip-path:inset(-.5lh 0 0);overflow:clip;overflow-clip-margin:.5lh}@supports (line-clamp:1){:host([truncate=all]) .text{line-clamp:var(--mds-text-line-clamp,1)}}@supports (display:-webkit-box){:host([truncate=all]) .text{-webkit-line-clamp:var(--mds-text-line-clamp,1);-webkit-box-orient:vertical;display:-webkit-box}}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;overflow:inherit;text-overflow:inherit}: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-text-transition-duration:0s}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-text-transition-duration:0s}}'};
|
|
19
|
+
*/t.prototype.step=function(t,e,i){var a=this;var o=this,n=o.str,r=o.charStep,s=o.minCharCode,h=o.maxCharCode,l=o.placeholderChar,g=o.onProgress,f=o.onComplete;var p=t.map((function(t,i){if(i>=e)return t;if(t>0)return t-1;if(t<0)return t+1;return 0}));var m=charCodeArrayToString({str:n,minCharCode:s,maxCharCode:h,placeholderChar:l,charStep:r})(p);var x=p;g(m);if(m!==n){this.rafId=requestAnimationFrame((function(){a.step(x,e+i,i)}))}else{f(m)}};return t}();RandomText.defaults={str:"",speed:2,placeholderChar:"_",frameOffset:30,charOffset:20,charStep:10,minCharCode:32,maxCharCode:122,onProgress:noop,onComplete:noop};var mdsTextCss=function(){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;--tw-ease:initial}}}:host(: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-text-selection-background:rgb(var(--label-sky-09,196 229 250));--mds-text-selection-color:rgb(var(--label-sky-01,1 48 72));--mds-text-line-clamp:3;--mds-text-animation-speed:.5;--mds-text-animation-placeholder-char:" ";--mds-text-transition-duration:var(--duration-200,.2s);--private-text-transition-duration:var(--mds-text-transition-duration);display:flex;min-width:0}.text::selection{background-color:var(--mds-text-selection-background,rgb(var(--label-sky-09,196 229 250)));color:var(--mds-text-selection-color,rgb(var(--label-sky-01,1 48 72)))}.text{cursor:inherit;display:inherit}:host([animation=yugop]) .text{white-space:pre-wrap}:host([typography=snippet]){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=snippet]):where(input){text-box:normal}:host([typography=hack]){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=hack]):where(input){text-box:normal}:host([typography=h1]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h1,3rem);font-weight:var(--tw-font-weight,var(--text-size-title-h1--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h1--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h1--line-height,3rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h1]):where(input){text-box:normal}:host([typography=h2]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h2,2.25rem);font-weight:var(--tw-font-weight,var(--text-size-title-h2--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h2--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h2--line-height,2.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h2]):where(input){text-box:normal}:host([typography=h3]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h3,1.875rem);font-weight:var(--tw-font-weight,var(--text-size-title-h3--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h3--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h3--line-height,2.25rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h3]):where(input){text-box:normal}:host([typography=h4]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-h4,1.5rem);font-weight:var(--tw-font-weight,var(--text-size-title-h4--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h4--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h4--line-height,2rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h4]):where(input){text-box:normal}:host([typography=h5]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);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));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h5]):where(input){text-box:normal}:host([typography=h6]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);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));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=h6]):where(input){text-box:normal}:host([typography=page]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-page,var(--text-size-title-h3,1.875rem));font-weight:var(--tw-font-weight,var(--text-size-title-page--font-weight,var(--text-size-title-h3--font-weight,900)));letter-spacing:var(--tw-tracking,var(--text-size-title-page--letter-spacing,var(--text-size-title-h3--letter-spacing,-.025em)));line-height:var(--tw-leading,var(--text-size-title-page--line-height,var(--text-size-title-h3--line-height,2.25rem)));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=page]):where(input){text-box:normal}:host([typography=section]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-section,var(--text-size-title-h5,1.25rem));font-weight:var(--tw-font-weight,var(--text-size-title-section--font-weight,var(--text-size-title-h5--font-weight,900)));letter-spacing:var(--tw-tracking,var(--text-size-title-section--letter-spacing,var(--text-size-title-h5--letter-spacing,-.025em)));line-height:var(--tw-leading,var(--text-size-title-section--line-height,var(--text-size-title-h5--line-height,1.75rem)));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=section]):where(input){text-box:normal}:host([typography=dialog]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-dialog,var(--text-size-title-h5,1.25rem));font-weight:var(--tw-font-weight,var(--text-size-title-dialog--font-weight,var(--text-size-title-h5--font-weight,900)));letter-spacing:var(--tw-tracking,var(--text-size-title-dialog--letter-spacing,var(--text-size-title-h5--letter-spacing,-.025em)));line-height:var(--tw-leading,var(--text-size-title-dialog--line-height,var(--text-size-title-h5--line-height,1.75rem)));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=dialog]):where(input){text-box:normal}:host([typography=part]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-part,var(--text-size-title-h6,1rem));font-weight:var(--tw-font-weight,var(--text-size-title-part--font-weight,var(--text-size-title-h6--font-weight,700)));letter-spacing:var(--tw-tracking,var(--text-size-title-part--letter-spacing,var(--text-size-title-h6--letter-spacing,-.025em)));line-height:var(--tw-leading,var(--text-size-title-part--line-height,var(--text-size-title-h6--line-height,1.5rem)));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=part]):where(input){text-box:normal}:host([typography=group]){font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-group,var(--text-size-title-h6,1rem));font-weight:var(--tw-font-weight,var(--text-size-title-group--font-weight,var(--text-size-title-h6--font-weight,700)));letter-spacing:var(--tw-tracking,var(--text-size-title-group--letter-spacing,var(--text-size-title-h6--letter-spacing,-.025em)));line-height:var(--tw-leading,var(--text-size-title-group--line-height,var(--text-size-title-h6--line-height,1.5rem)));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=group]):where(input){text-box:normal}:host([typography=dialog]),:host([typography=group]),:host([typography=h1]),:host([typography=h2]),:host([typography=h3]),:host([typography=h4]),:host([typography=h5]),:host([typography=h6]),:host([typography=page]),:host([typography=part]),:host([typography=section]){text-wrap:balance}:host([typography=action]){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}:host([typography=action]):where(input){text-box:normal}:host([typography=paragraph]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-paragraph,1.25rem);font-weight:var(--tw-font-weight,var(--text-size-info-paragraph--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-paragraph--line-height,2rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=paragraph]):where(input){text-box:normal}:host([typography=detail]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=detail]):where(input){text-box:normal}:host([typography=caption]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-caption,.875rem);font-weight:var(--tw-font-weight,var(--text-size-info-caption--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-caption--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=caption]):where(input){text-box:normal}:host([typography=caption]),:host([typography=detail]),:host([typography=paragraph]){text-wrap:pretty}:host([typography=label]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem));min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=label]):where(input){text-box:normal}:host([typography=tip]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-tip,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-tip--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-tip--line-height,1rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=tip]):where(input){text-box:normal}:host([typography=option]){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-option,.625rem);font-weight:var(--tw-font-weight,var(--text-size-info-option--font-weight,700));letter-spacing:var(--tw-tracking,var(--text-size-info-option--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-info-option--line-height,.625rem));min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=option]):where(input){text-box:normal}:host([typography=paragraph][variant=read]){font-family:var(--font-read,"Merriweather",Times,"Times New Roman",serif);font-size:var(--text-size-read-paragraph,1.25rem);font-weight:var(--tw-font-weight,var(--text-size-read-paragraph--font-weight,300));line-height:var(--tw-leading,var(--text-size-read-paragraph--line-height,2rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-light,300);font-weight:var(--font-weight-light,300);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=paragraph][variant=read]):where(input){text-box:normal}:host([typography=detail][variant=read]){font-family:var(--font-read,"Merriweather",Times,"Times New Roman",serif);font-size:var(--text-size-read-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-read-detail--font-weight,300));line-height:var(--tw-leading,var(--text-size-read-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-light,300);font-weight:var(--font-weight-light,300);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=detail][variant=read]):where(input){text-box:normal}:host([typography=caption][variant=read]){font-family:var(--font-read,"Merriweather",Times,"Times New Roman",serif);font-size:var(--text-size-read-caption,.875rem);font-weight:var(--tw-font-weight,var(--text-size-read-caption--font-weight,400));line-height:var(--tw-leading,var(--text-size-read-caption--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=caption][variant=read]):where(input){text-box:normal}:host([tag=article]),:host([tag=blockquote]),:host([tag=dd]),:host([tag=details]),:host([tag=div]),:host([tag=dl]),:host([tag=dt]),:host([tag=figcaption]),:host([tag=h1]),:host([tag=h2]),:host([tag=h3]),:host([tag=h4]),:host([tag=h5]),:host([tag=h6]),:host([tag=label]),:host([tag=legend]),:host([tag=li]),:host([tag=ol]),:host([tag=p]),:host([tag=pre]),:host([tag=summary]),:host([tag=ul]){display:block}:host([tag=figcaption]),:host([tag=li]),:host([tag=p]){max-width:var(--spacing-text,var(--magma-width-reading,56ch))}:host([tag=abbr]),:host([tag=address]),:host([tag=b]),:host([tag=bdo]),:host([tag=cite]),:host([tag=code]),:host([tag=del]),:host([tag=dfn]),:host([tag=em]),:host([tag=i]),:host([tag=ins]),:host([tag=kbd]),:host([tag=mark]),:host([tag=q]),:host([tag=rb]),:host([tag=rt]),:host([tag=ruby]),:host([tag=s]),:host([tag=samp]),:host([tag=small]),:host([tag=span]),:host([tag=strong]),:host([tag=sub]),:host([tag=sup]),:host([tag=time]),:host([tag=u]),:host([tag=var]){display:inline}:host([tag=code]){--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-shadow:rgb(var(--magma-border-default,var(--border-neutral-default,183 183 183))) 0 0 0 1px;color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);padding-block:calc(var(--spacing,.0025rem)*25);padding-inline:calc(var(--spacing,.0025rem)*100);transition-duration:var(--private-text-transition-duration);transition-property:color,background-color}:host([truncate]) .text{display:flow-root;min-width:0;overflow:clip visible;text-overflow:ellipsis}:host([truncate=word]) .text{white-space:nowrap}:host([truncate=all]) .text{clip-path:inset(-.5lh 0 0);overflow:clip;overflow-clip-margin:.5lh}@supports (line-clamp:1){:host([truncate=all]) .text{line-clamp:var(--mds-text-line-clamp,1)}}@supports (display:-webkit-box){:host([truncate=all]) .text{-webkit-line-clamp:var(--mds-text-line-clamp,1);-webkit-box-orient:vertical;display:-webkit-box}}abbr,address,article,b,bdo,blockquote,cite,code,dd,del,details,dfn,div,dl,dt,em,figcaption,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,mark,ol,p,pre,q,rb,rt,ruby,s,samp,small,span,strong,sub,summary,sup,time,u,ul,var,wbr{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;overflow:inherit;text-overflow:inherit}: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-text-transition-duration:0s}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-text-transition-duration:0s}}'};
|
|
20
20
|
// the defaults of --mds-text-animation-speed and --mds-text-animation-placeholder-char in
|
|
21
21
|
// mds-text.css, for when the custom properties give back nothing usable
|
|
22
22
|
var defaultAnimationSpeed=.5;var defaultPlaceholderChar=" ";var MdsText=/** @class */function(){function t(e){var i=this.constructor;var a=this;if(i===t)registerInstance(this,e);this.randomTextOptions={frameOffset:10,charOffset:20,charStep:15};
|
|
@@ -48,4 +48,4 @@ var i=((t=typographyDefaultsVariant[this.typography])!==null&&t!==void 0?t:typog
|
|
|
48
48
|
// The scramble is a rAF loop writing innerHTML: no stylesheet can hold it back, so it
|
|
49
49
|
// asks. The text is written out here rather than left to the render, because the loop
|
|
50
50
|
// may already have replaced the node the renderer holds.
|
|
51
|
-
if(prefersReducedMotion()){var i=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".text");if(i){i.textContent=t}return}this.animateText(t)};t.prototype.render=function(){var t;return h(Host,{key:"
|
|
51
|
+
if(prefersReducedMotion()){var i=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".text");if(i){i.textContent=t}return}this.animateText(t)};t.prototype.render=function(){var t;return h(Host,{key:"bc8aa3fc418a34598a5d75561cfa0f15d5ee2ac1","pref-animation":preferenceStore.state.animation},h(this.tag,{key:"9dd8b5462be4809d6674f8ac69c7fb850f7c6577",class:"text"},((t=this.text)!==null&&t!==void 0?t:"")===""?h("slot",null):this.text))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{text:[{textHandler:0}]}},enumerable:false,configurable:true});return t}();MdsText.style=mdsTextCss();export{MdsText as mds_text};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";var mdsToastRegionCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(: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-toast-region-gap:calc(var(--spacing,.0025rem)*200);bottom:0;display:flex;flex-direction:column;gap:var(--mds-toast-region-gap,calc(var(--spacing,.0025rem)*200));left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}:host([position^=top]){bottom:auto;flex-direction:column-reverse;top:0}"};var DEFAULT_MAX=3;
|
|
2
2
|
// a removed attribute leaves null, which counts as no duration, like 0
|
|
3
3
|
var hasDuration=function(t){var n;var i=(n=t.duration)!==null&&n!==void 0?n:0;return i!==0&&!Number.isNaN(i)};var MdsToastRegion=/** @class */function(){function t(n){var i=this.constructor;var e=this;if(i===t)registerInstance(this,n);
|
|
4
4
|
// the visible toasts, oldest first: the order they were shown in, which is not the order of
|
|
@@ -19,4 +19,4 @@ this.shown=[];
|
|
|
19
19
|
*/this.update=function(){var t;var n=e.toasts();n.forEach((function(t){if(t.position!==e.position){t.position=e.position}}));var i=n.filter((function(t){return!!t.visible}));e.shown=e.shown.filter((function(t){return i.includes(t)}));var o=i.filter((function(t){return!e.shown.includes(t)}));(t=e.shown).push.apply(t,o);if(o.length===0){return}var r=e.shown.length-e.limit();for(var a=0,s=e.shown.filter((function(t){return!o.includes(t)}));a<s.length;a++){var u=s[a];if(r<=0){break}if(hasDuration(u)){u.visible=false;r-=1}}e.shown=e.shown.filter((function(t){return t.visible}))};this.observe=function(){var t;if(typeof MutationObserver==="undefined")return;(t=e.observer)===null||t===void 0?void 0:t.disconnect();e.observer=new MutationObserver(e.update);e.observer.observe(e.host,{attributeFilter:["visible"],childList:true,subtree:true})};this.checkMax=function(t){if(t!==undefined&&t!==null&&!(Number.isInteger(t)&&t>0)){console.warn('mds-toast-region: ignoring the invalid max "'.concat(t,'", using ').concat(DEFAULT_MAX))}}}t.prototype.connectedCallback=function(){this.observe()};t.prototype.disconnectedCallback=function(){var t;(t=this.observer)===null||t===void 0?void 0:t.disconnect();this.observer=undefined};t.prototype.componentWillLoad=function(){this.checkMax(this.max)};t.prototype.componentDidLoad=function(){this.update()};t.prototype.positionChanged=function(){this.update()};t.prototype.maxChanged=function(t){this.checkMax(t);this.update()};t.prototype.render=function(){
|
|
20
20
|
// the live region, in the page before any message: a toast added or shown inside it is
|
|
21
21
|
// announced. Not atomic, or every change would read out all the toasts again
|
|
22
|
-
return h(Host,{key:"
|
|
22
|
+
return h(Host,{key:"29ede52e2ac6a292a536078d74e8447223eba2c2",role:"status","aria-live":"polite","aria-atomic":"false"},h("slot",{key:"6d1f5a5fa0b083056267bff7d32b4b51b9240bd3"}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}},enumerable:false,configurable:true});return t}();MdsToastRegion.style=mdsToastRegionCss();export{MdsToastRegion as mds_toast_region};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var miBaselineArrowDownward='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8l8-8z"/></svg>';var miBaselineArrowUpward='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8l-8 8z"/></svg>';var hide$3="Απόκρυψη";var localeEl={hide:hide$3};var hide$2="Hide";var localeEn={hide:hide$2};var hide$1="Ocultar";var localeEs={hide:hide$1};var hide="Nascondi";var localeIt={hide:hide};var mdsToastCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-duration:var(--duration-300,.3s);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a);--mds-toast-width:auto;--private-toast-transition-duration:var(--mds-toast-duration,var(--duration-300,.3s));--private-toast-transition-duration-intro:var(--duration-500,.5s);--private-toast-transition-duration-icon:var(--duration-200,.2s);color:var(--mds-toast-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));display:flex;left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}.dialog{--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));box-shadow:var(--mds-toast-shadow);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*400);margin-inline:calc(var(--spacing,.0025rem)*400);max-width:100%;padding:calc(var(--spacing,.0025rem)*400);pointer-events:none;transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform,visibility;visibility:hidden;width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto;visibility:visible}:host([position^=top]){top:0}:host([position=top-left]){justify-content:flex-start}:host([position=top-center]){justify-content:center}:host([position=top-right]){justify-content:flex-end}:host([position^=bottom]){bottom:0}:host([position=bottom-left]){justify-content:flex-start}:host([position=bottom-center]){justify-content:center}:host([position=bottom-right]){justify-content:flex-end}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.actions--hidden{display:none}.hide{flex-shrink:0}::slotted([slot=icon]){--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));fill:var(--mds-toast-icon-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;transition-duration:var(--private-toast-transition-duration-icon);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([variant=dark]),:host([variant=dark][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=strong]){--mds-toast-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-toast-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=weak]){--mds-toast-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-toast-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info]),:host([variant=info][tone=strong]){--mds-toast-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-toast-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=weak]){--mds-toast-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-toast-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=light]),:host([variant=light][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([variant=success]),:host([variant=success][tone=strong]){--mds-toast-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-toast-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=weak]){--mds-toast-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-toast-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]),:host([variant=warning][tone=strong]){--mds-toast-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-toast-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=weak]){--mds-toast-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-toast-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}.to-top-center,.to-top-left,.to-top-right{transform:translateY(calc(-100% - var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,var(--duration-300)));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-top-center.dialog--visible,.to-top-left.dialog--visible,.to-top-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.to-bottom-center,.to-bottom-left,.to-bottom-right{transform:translateY(calc(100% + var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,var(--duration-300)));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-bottom-center.dialog--visible,.to-bottom-left.dialog--visible,.to-bottom-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400*-1));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([stacked]){inset:auto;position:relative;transition-behavior:allow-discrete;transition-duration:var(--private-toast-transition-duration);transition-property:display;z-index:auto}:host([stacked]:not([visible])),:host([stacked][visible=false]){display:none}:host([stacked]) .dialog:not(.dialog--visible){opacity:0;transform:none}@starting-style{:host([stacked]) .dialog--visible{opacity:0;transform: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-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}:host([pref-contrast=more]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}}'};var MdsToast=/** @class */function(){function t(a){var o=this.constructor;var r=this;if(o===t)registerInstance(this,a);this.closedEvent=createEvent(this,"mdsToastClose",7);this.cssDismissAnimationDuration=300;// hardcoded from CSS :-(
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{p as preferenceStore}from"./preference-B_NbXZNw.js";import{L as Locale}from"./locale-Cm8DHVsu.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var miBaselineArrowDownward='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8l8-8z"/></svg>';var miBaselineArrowUpward='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8l-8 8z"/></svg>';var hide$3="Απόκρυψη";var localeEl={hide:hide$3};var hide$2="Hide";var localeEn={hide:hide$2};var hide$1="Ocultar";var localeEs={hide:hide$1};var hide="Nascondi";var localeIt={hide:hide};var mdsToastCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-duration:var(--duration-300,.3s);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a);--mds-toast-width:auto;--private-toast-transition-duration:var(--mds-toast-duration,var(--duration-300,.3s));--private-toast-transition-duration-intro:var(--duration-500,.5s);--private-toast-transition-duration-icon:var(--duration-200,.2s);color:var(--mds-toast-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));display:flex;left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}.dialog{--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));box-shadow:var(--mds-toast-shadow);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*400);margin-inline:calc(var(--spacing,.0025rem)*400);max-width:100%;padding:calc(var(--spacing,.0025rem)*400);pointer-events:none;transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform,visibility;visibility:hidden;width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto;visibility:visible}:host([position^=top]){top:0}:host([position=top-left]){justify-content:flex-start}:host([position=top-center]){justify-content:center}:host([position=top-right]){justify-content:flex-end}:host([position^=bottom]){bottom:0}:host([position=bottom-left]){justify-content:flex-start}:host([position=bottom-center]){justify-content:center}:host([position=bottom-right]){justify-content:flex-end}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.actions--hidden{display:none}.hide{flex-shrink:0}::slotted([slot=icon]){--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));fill:var(--mds-toast-icon-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;transition-duration:var(--private-toast-transition-duration-icon);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([variant=dark]),:host([variant=dark][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=strong]){--mds-toast-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-toast-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=weak]){--mds-toast-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-toast-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info]),:host([variant=info][tone=strong]){--mds-toast-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-toast-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=weak]){--mds-toast-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-toast-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=light]),:host([variant=light][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([variant=success]),:host([variant=success][tone=strong]){--mds-toast-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-toast-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=weak]){--mds-toast-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-toast-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]),:host([variant=warning][tone=strong]){--mds-toast-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-toast-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=weak]){--mds-toast-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-toast-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}.to-top-center,.to-top-left,.to-top-right{transform:translateY(calc(-100% - var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,var(--duration-300)));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-top-center.dialog--visible,.to-top-left.dialog--visible,.to-top-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.to-bottom-center,.to-bottom-left,.to-bottom-right{transform:translateY(calc(100% + var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,var(--duration-300)));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-bottom-center.dialog--visible,.to-bottom-left.dialog--visible,.to-bottom-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400*-1));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([stacked]){inset:auto;position:relative;transition-behavior:allow-discrete;transition-duration:var(--private-toast-transition-duration);transition-property:display;z-index:auto}:host([stacked]:not([visible])),:host([stacked][visible=false]){display:none}:host([stacked]) .dialog:not(.dialog--visible){opacity:0;transform:none}@starting-style{:host([stacked]) .dialog--visible{opacity:0;transform: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-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}:host([pref-contrast=more]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}}'};var MdsToast=/** @class */function(){function t(a){var o=this.constructor;var r=this;if(o===t)registerInstance(this,a);this.closedEvent=createEvent(this,"mdsToastClose",7);this.cssDismissAnimationDuration=300;// hardcoded from CSS :-(
|
|
2
2
|
this.countdownStart=0;this.pointerInside=false;this.focusInside=false;
|
|
3
3
|
// who hid the toast, read by the close that follows: the application, unless the timer or
|
|
4
4
|
// the hide button say otherwise
|
|
@@ -51,4 +51,4 @@ window.clearTimeout(this.closeTimer);this.closeTimer=undefined;return}if(!a){ret
|
|
|
51
51
|
// focus. The host is the region and stays in the page, so the content that appears inside
|
|
52
52
|
// it is what a screen reader reads out. Inside an mds-toast-region the region is the live
|
|
53
53
|
// region, already in the page before any toast: a toast of its own would nest a second one
|
|
54
|
-
return h(Host,{key:"
|
|
54
|
+
return h(Host,{key:"84edbb69be60d938a5616811640351f3ae66ef0b",role:this.stacked?undefined:"status",stacked:this.stacked,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"743f1c41b2b5321b92ee956471b6cccdcb2f580f",class:clsx("dialog",this.position&&"to-".concat(this.position),this.visible&&"dialog--visible"),onFocusin:this.onFocusIn,onFocusout:this.onFocusOut,onPointerEnter:this.onPointerEnter,onPointerLeave:this.onPointerLeave},h("slot",{key:"f75e3687332e423534b3a692dd08de8e4ca6e1d7",name:"icon"}),this.hasText&&h("mds-text",{key:"d1ab920068689022d68da2372004931381834143",typography:"caption"},h("slot",{key:"b4446668a996df739bc15bcb5bea318b89487b27"})),h("div",{key:"ea5fd8f09cd4851d0f64d319f2bacb95a4169815",class:clsx("actions",!this.hasActions&&"actions--hidden")},h("slot",{key:"b4abed679c52b57108f9ccf13c0f83d54fb276bb",name:"action",onSlotchange:this.onActionSlotChange})),(this.dismissible||this.deletable)&&h("mds-button",{key:"2d887b4d7f58e8b3f6fa203f427734da280c2b01","aria-label":this.t.get("hide"),class:"hide",icon:((t=this.position)===null||t===void 0?void 0:t.startsWith("top"))?miBaselineArrowUpward:miBaselineArrowDownward,onClick:this.onCloseClick,size:"sm",tone:"text",type:"button",variant:this.closeButtonVariant()})))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}},enumerable:false,configurable:true});return t}();MdsToast.style=mdsToastCss();export{MdsToast as mds_toast};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";import{F as FloatingController}from"./floating-controller-ECQfm808.js";import{p as preferenceStore}from"./preference-B_NbXZNw.js";import"./floating-ui.dom-C7p9e0P3.js";import"./unit-CWk1SCJg.js";import"./aria-DwKxtKwS.js";var arrowSvg='<svg width="15" height="9" viewBox="0 0 15 9" xmlns="http://www.w3.org/2000/svg">\n <path d="M5.9 1.13333C6.7 0.0666664 8.3 0.0666666 9.1 1.13333L15 9H0L5.9 1.13333Z"/>\n</svg>\n';var mdsTooltipCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tooltip-arrow-background:var(--mds-tooltip-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-tooltip-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-tooltip-delay:var(--duration-1000,1s);--mds-tooltip-drop-shadow:drop-shadow(0 calc(var(--spacing,.0025rem)*250) calc(var(--spacing,.0025rem)*200) rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04)) drop-shadow(0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*75) rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1)) drop-shadow(0 0 1px rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1));--mds-tooltip-duration:var(--duration-500,.5s);--private-tooltip-duration:var(--mds-tooltip-duration,var(--duration-500,.5s));--mds-tooltip-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-tooltip-dot-padding:calc(var(--spacing,.0025rem)*100);--mds-tooltip-transform-from:scale(.9) translateY(calc(var(--spacing,.0025rem)*400*-1));--mds-tooltip-transform-to:scale(1) translate(0,0);--mds-tooltip-z-index:var(--magma-tooltip-z-index,6000);background-color:var(--mds-tooltip-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:grid;filter:var(--mds-tooltip-drop-shadow);gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*6400);opacity:0;padding-block:calc(var(--spacing,.0025rem)*100);padding-inline:calc(var(--spacing,.0025rem)*200);pointer-events:none;position:fixed;transform:var(--mds-tooltip-transform-from,scale(.9) translateY(calc(var(--spacing,.0025rem)*400*-1)));transition-delay:0s;transition-duration:var(--private-tooltip-duration);transition-property:opacity,transform;transition-timing-function:var(--mds-tooltip-ease);width:fit-content;z-index:var(--mds-tooltip-z-index,var(--magma-tooltip-z-index,6000))}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}:host([visible]:not([visible=false])){opacity:1;pointer-events:auto;transform:var(--mds-tooltip-transform-to,scale(1) translate(0,0));transition-delay:var(--mds-tooltip-delay,var(--duration-1000,1s))}.text{display:inline-flex;padding:var(--mds-tooltip-dot-padding,calc(var(--spacing,.0025rem)*100))}.arrow{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;fill:var(--mds-tooltip-arrow-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));pointer-events:none;position:fixed;top:calc(var(--spacing,.0025rem)*-225);transition-duration:var(--duration-300,.3s);transition-property:fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));z-index:-1}::slotted(*){position:relative;z-index:10}: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-tooltip-duration:0s}:host([pref-contrast=more]){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.05)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])[pref-contrast=more]),:host([pref-theme-scheme=dark][pref-contrast=more]){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.075)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tooltip-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.05)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3))}:host([pref-contrast=system][pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-contrast=system][pref-theme-scheme=dark]){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.075)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]:not([pref-theme-scheme=light])){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.075)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]:not([pref-theme-scheme=light])){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.075)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45))}}'};var MdsTooltip=/** @class */function(){function t(a){var e=this.constructor;var r=this;if(e===t)registerInstance(this,a);
|
|
2
2
|
/**
|
|
3
3
|
* @internal
|
|
4
4
|
*/this.hideArrow=false;
|
|
@@ -41,10 +41,16 @@ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPibDZjX.j
|
|
|
41
41
|
* Specifies the visibility of the component.
|
|
42
42
|
*/this.visible=false;this.hovered=false;this.focused=false;
|
|
43
43
|
/**
|
|
44
|
-
* The tooltip shows while the pointer is over the caller or the caller has
|
|
45
|
-
* keyboard reaches it as the pointer does; Escape hides it until
|
|
46
|
-
* focused again (WCAG 1.4.13).
|
|
47
|
-
|
|
44
|
+
* The tooltip shows while the pointer is over the caller or the caller has a focus the browser
|
|
45
|
+
* rings (`:focus-visible`), so the keyboard reaches it as the pointer does; Escape hides it until
|
|
46
|
+
* the caller is entered or focused again (WCAG 1.4.13). A focus the browser does not ring, as
|
|
47
|
+
* the one of a click or the one a script moves after a click, leaves it to the pointer: it kept
|
|
48
|
+
* the tooltip open over a control the user never hovered nor reached by keyboard (#1432).
|
|
49
|
+
*/this.syncVisibility=function(){r.visible=r.hovered||r.focused};this.handleMouseEnter=function(){r.hovered=true;r.syncVisibility()};this.handleMouseLeave=function(){r.hovered=false;r.syncVisibility()};
|
|
50
|
+
// the element that took the focus, first of the path of a focusin, inside the shadow root of
|
|
51
|
+
// the caller too: a shadow host does not match :focus-visible, its focused descendant does.
|
|
52
|
+
// Every browser of .browserslistrc knows the selector (Chrome 86, Firefox 85, Safari 15.4)
|
|
53
|
+
this.handleFocusIn=function(t){var a;var e=t.composedPath()[0];r.focused=(a=e===null||e===void 0?void 0:e.matches(":focus-visible"))!==null&&a!==void 0?a:false;r.syncVisibility()};this.handleFocusOut=function(){r.focused=false;r.syncVisibility()};this.handleEscape=function(t){if(t.key!=="Escape"||!r.visible)return;r.hovered=false;r.focused=false;r.syncVisibility()};this.listenTo=function(t){if(r.caller){r.caller.removeEventListener("mouseenter",r.handleMouseEnter);r.caller.removeEventListener("mouseleave",r.handleMouseLeave);r.caller.removeEventListener("focusin",r.handleFocusIn);r.caller.removeEventListener("focusout",r.handleFocusOut);r.caller.removeEventListener("keydown",r.handleEscape)}r.caller=t;if(!t)return;t.addEventListener("mouseenter",r.handleMouseEnter);t.addEventListener("mouseleave",r.handleMouseLeave);t.addEventListener("focusin",r.handleFocusIn);t.addEventListener("focusout",r.handleFocusOut);t.addEventListener("keydown",r.handleEscape)}}
|
|
48
54
|
// A watcher runs as soon as the instance exists, the controller only from componentDidLoad: a
|
|
49
55
|
// property set in between has nothing to place yet, and componentDidLoad places what it finds
|
|
50
56
|
// (#527)
|
|
@@ -53,9 +59,9 @@ t.prototype.hideArrowChanged=function(){var t;(t=this.floatingController)===null
|
|
|
53
59
|
if(this.floatingController==null)return;this.floatingController.updatePosition();if(t){this.floatingController.updatePosition();return}this.floatingController.dismiss()};t.prototype.targetChanged=function(){var t,a;if(((t=this.target)!==null&&t!==void 0?t:"")==="")return;
|
|
54
60
|
// a host out of the page has no caller to look for: one taken out before it loaded still
|
|
55
61
|
// loads, and connectedCallback looks again if it comes back
|
|
56
|
-
if(!this.host.isConnected)return;var
|
|
62
|
+
if(!this.host.isConnected)return;var e=(a=this.floatingController)===null||a===void 0?void 0:a.updateCaller(this.target);if(!e)return;this.listenTo(e)};t.prototype.componentDidLoad=function(){var t;var a=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".arrow");this.floatingController=new FloatingController(this.host,a,"tooltip");this.targetChanged();
|
|
57
63
|
// The watcher does not fire for the initial value: a tooltip that mounts with
|
|
58
64
|
// `visible` set would never be positioned.
|
|
59
65
|
if(this.visible){this.visibleChanged(true)}};
|
|
60
66
|
// a tooltip moved in the page is disconnected and connected again, without loading again
|
|
61
|
-
t.prototype.connectedCallback=function(){if(this.floatingController)this.targetChanged()};t.prototype.disconnectedCallback=function(){var t;this.listenTo(undefined);(t=this.floatingController)===null||t===void 0?void 0:t.dismiss()};t.prototype.render=function(){return h(Host,{key:"
|
|
67
|
+
t.prototype.connectedCallback=function(){if(this.floatingController)this.targetChanged()};t.prototype.disconnectedCallback=function(){var t;this.listenTo(undefined);(t=this.floatingController)===null||t===void 0?void 0:t.dismiss()};t.prototype.render=function(){return h(Host,{key:"ed469d916fd15b37a3dd39532e9a7431ae0c30e0","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"5f041d30c29f4368e2166f09cf5b064538f92374",class:"arrow",innerHTML:arrowSvg}),h("mds-text",{key:"34388177cdc4c17ab46a9b83655dfe000ddb697d",class:"text",typography:this.typography,part:"text"},h("slot",{key:"3ac42240c95c55c4281ef2699eadeb8e09a48d7b"})))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{hideArrow:[{hideArrowChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],relation:[{relationChanged:0}],visible:[{visibleChanged:0}],target:[{targetChanged:0}]}},enumerable:false,configurable:true});return t}();MdsTooltip.style=mdsTooltipCss();export{MdsTooltip as mds_tooltip};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,r,o){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{d(o.next(e))}catch(e){a(e)}}function s(e){try{d(o["throw"](e))}catch(e){a(e)}}function d(e){e.done?r(e.value):i(e.value).then(n,s)}d((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=s(0),n["throw"]=s(1),n["return"]=s(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return d([e,t])}}function d(s){if(o)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(r=0)),r)try{if(o=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];i=0}finally{o=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import"./preference-CBMLGSf7.js";var expand$3="Ανάπτυξη {{ label }}";var collapse$3="Σύμπτυξη {{ label }}";var localeEl={expand:expand$3,collapse:collapse$3};var expand$2="Expand {{ label }}";var collapse$2="Collapse {{ label }}";var localeEn={expand:expand$2,collapse:collapse$2};var expand$1="Expandir {{ label }}";var collapse$1="Contraer {{ label }}";var localeEs={expand:expand$1,collapse:collapse$1};var expand="Espandi {{ label }}";var collapse="Contrai {{ label }}";var localeIt={expand:expand,collapse:collapse};var miBaselineChevronRight='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"/></svg>';var mdiFolderOpen='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open" viewBox="0 0 24 24"><path d="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /></svg>';var miBaselineFolderClosed='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>';var mdsTreeItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-of-type) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-of-type)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-of-type)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-of-type)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}'};var MdsTreeItem=/** @class */function(){function e(e){var t=this.constructor;var r=this;if(t===MdsTreeItem)registerInstance(this,e);this.expandEvent=createEvent(this,"mdsTreeItemExpand",7);this.collapsedEvent=createEvent(this,"mdsTreeItemCollapse",7);this.hasActions=false;this.hasChildren=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,r,o){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{d(o.next(e))}catch(e){a(e)}}function s(e){try{d(o["throw"](e))}catch(e){a(e)}}function d(e){e.done?r(e.value):i(e.value).then(n,s)}d((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=s(0),n["throw"]=s(1),n["return"]=s(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return d([e,t])}}function d(s){if(o)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(r=0)),r)try{if(o=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];i=0}finally{o=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{L as Locale}from"./locale-Cm8DHVsu.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import"./preference-B_NbXZNw.js";var expand$3="Ανάπτυξη {{ label }}";var collapse$3="Σύμπτυξη {{ label }}";var localeEl={expand:expand$3,collapse:collapse$3};var expand$2="Expand {{ label }}";var collapse$2="Collapse {{ label }}";var localeEn={expand:expand$2,collapse:collapse$2};var expand$1="Expandir {{ label }}";var collapse$1="Contraer {{ label }}";var localeEs={expand:expand$1,collapse:collapse$1};var expand="Espandi {{ label }}";var collapse="Contrai {{ label }}";var localeIt={expand:expand,collapse:collapse};var miBaselineChevronRight='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"/></svg>';var mdiFolderOpen='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open" viewBox="0 0 24 24"><path d="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /></svg>';var miBaselineFolderClosed='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>';var mdsTreeItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-of-type) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-of-type)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-of-type)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-of-type)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}'};var MdsTreeItem=/** @class */function(){function e(e){var t=this.constructor;var r=this;if(t===MdsTreeItem)registerInstance(this,e);this.expandEvent=createEvent(this,"mdsTreeItemExpand",7);this.collapsedEvent=createEvent(this,"mdsTreeItemCollapse",7);this.hasActions=false;this.hasChildren=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
|
|
2
2
|
/**
|
|
3
3
|
* Truncate the text of the element on one single line.
|
|
4
4
|
*/this.truncate="word";this.checkChildrenTransitionEnd=function(){if(!r.childrenElement.classList.contains("children--expanded")){r.childrenElement.classList.add("children--hidden")}};this.updateToggleIcon=function(){if(r.toggle==="folder"){r.currentToggleIcon=r.expanded?mdiFolderOpen:miBaselineFolderClosed;return}r.currentToggleIcon=miBaselineChevronRight};this.onClick=function(){if(r.async&&!r.expanded){r.idle();return}r.updateToggle()};this.idle=function(){r.await=true;r.expandEvent.emit({element:r.host})};this.updateToggle=function(){r.expanded=!r.expanded;r.updateToggleIcon()};
|
|
@@ -24,4 +24,4 @@ this.updateToggleIcon();if(e){(r=this.childrenElement)===null||r===void 0?void 0
|
|
|
24
24
|
/**
|
|
25
25
|
* `internal` Re-resolves the effective actions; called by mds-tree when its own
|
|
26
26
|
* actions changes so items that inherit it stay in sync.
|
|
27
|
-
*/e.prototype.refreshActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.resolveActions();return[2/*return*/]}))}))};e.prototype.componentWillLoad=function(){this.updateToggleIcon();this.resolveActions();this.hasActions=hasChildWithSlot(this.host,"action");this.updateHasChildren()};e.prototype.componentDidLoad=function(){var e;this.updateCssCustomProperty();this.childrenElement=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".children");this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.disconnectedCallback=function(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.render=function(){return h(Host,{key:"
|
|
27
|
+
*/e.prototype.refreshActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.resolveActions();return[2/*return*/]}))}))};e.prototype.componentWillLoad=function(){this.updateToggleIcon();this.resolveActions();this.hasActions=hasChildWithSlot(this.host,"action");this.updateHasChildren()};e.prototype.componentDidLoad=function(){var e;this.updateCssCustomProperty();this.childrenElement=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".children");this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.disconnectedCallback=function(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.render=function(){return h(Host,{key:"0b8989fe8658a78595ad519f7d5fcf4ab1b01ef9","resolved-actions":this.resolvedActions,role:"listitem"},h("div",{key:"58327c637ab5874af654e9ea3b8df8c27d5fe9a7",class:clsx("header",this.hasChildren&&"header--has-children")},h("div",{key:"908bcb731e5f159893eb93870d13a0ada33ea660",class:"tree-node"},h("div",{key:"e798ccd7f960ae57a93c7a212a51cddf0b108a32",class:"tree-branch"}),h("div",{key:"f40911ba253eaedbc69ea1098a01ade437267db2",class:"tree-dot"})),h("div",{key:"be23bc3098d14da3f023fb994689f67a2ed736ff",class:"toggle-icon"},h("mds-button",{key:"f8f2ebdd8eadd07dfab24829d7cfe39071c3fd9f","aria-expanded":this.expandedState(),await:this.await,onClick:this.onClick,icon:!this.await?this.currentToggleIcon:undefined,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),h("div",{key:"5a9dd1a7453773c78eba34f67e869140a10fc343",class:"title"},h("mds-button",{key:"6c5703856313ea94d1e48b0812faba3e5e41be60","aria-expanded":this.expandedState(),class:clsx("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),h("div",{key:"da094ca419337f2e5b04b97686a58ac2fb2d60b9",class:clsx("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},h("div",{key:"e4bd7d06c35faf67e2db8034751ffc15e2203471",class:"actions",part:"actions-list"},h("slot",{key:"538dac195393c94fcd48ce30a8de13eefe1ed902",name:"action",onSlotchange:this.onActionSlotChange}))))),h("div",{key:"70659d3908b9a2b90da2839c0e3083a2e9d6d727",class:clsx("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded"),role:this.hasChildren?"list":undefined},h("slot",{key:"aaa70df1c6b65cb3e48e5ff19b58d4f37c0333d2",onSlotchange:this.updateHasChildren})))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}},enumerable:false,configurable:true});return e}();MdsTreeItem.style=mdsTreeItemCss();export{MdsTreeItem as mds_tree_item};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,h,e as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";import{q as queryChildrenByTag,o as observeChildren}from"./slot-AEckDMXh.js";var mdsTreeCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tree-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-tree-actions-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-tree-actions-gap:calc(var(--spacing,.0025rem)*50);--mds-tree-label-default-background:#0000;--mds-tree-label-hover-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tree-label-icon-default-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,11 96 255)));--mds-tree-label-icon-hover-color:var(--mds-tree-label-icon-default-color);--mds-tree-line-clamp:2;--mds-tree-branch-border-color:rgb(var(--magma-border-default,var(--border-neutral-default,183 183 183)));--mds-tree-branch-use-rounded-border:true;--mds-tree-branch-border-size:calc(var(--spacing,.0025rem)*50);--mds-tree-branch-dot-default-color:rgb(var(--magma-border-default,var(--border-neutral-default,183 183 183)));--mds-tree-branch-dot-expanded-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tree-toggle-gap:calc(var(--spacing,.0025rem)*100);--mds-tree-toggle-icon-async-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-tree-toggle-icon-async-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,0 73 211)));--mds-tree-toggle-icon-chevron-default-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,11 96 255)));--mds-tree-toggle-icon-chevron-default-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-tree-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-toggle-icon-folder-default-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-tree-toggle-icon-folder-default-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,11 96 255)));--mds-tree-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-toggle-icon-position-right-default-background:#0000;--mds-tree-toggle-icon-position-right-default-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tree-toggle-icon-position-right-expanded-background:#0000;--mds-tree-toggle-icon-position-right-expanded-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tree-transition-duration:var(--duration-300,.3s);--mds-tree-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));--mds-tree-toggle-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-tree-toggle-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-sm,var(--radius-squircle-sm,16px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;padding:calc(var(--spacing,.0025rem)*50);transition-duration:var(--duration-200,.2s);transition-property:background-color}@property --tw-ease{syntax:"*";inherits:false}'};var MdsTree=/** @class */function(){function e(r){var t=this.constructor;var a=this;if(t===e)registerInstance(this,r);this.elements=[];this.childrenElements=[];
|
|
2
2
|
// the items the tree has handed its props to
|
|
3
3
|
this.syncedItems=new WeakSet;
|
|
4
4
|
/**
|
|
@@ -30,4 +30,4 @@ observeChildren(this.host,this.syncItems)};e.prototype.render=function(){var e;
|
|
|
30
30
|
// a list of lists: each item is an entry, and the items of an open branch are a list
|
|
31
31
|
// inside it, so a screen reader tells the level and the size of every branch. Not a
|
|
32
32
|
// role="tree", which promises the arrow keys and leaves no room for the actions of an item
|
|
33
|
-
return h(Host,{key:"
|
|
33
|
+
return h(Host,{key:"ca115ba5c5d454788374d65afc5f2de2cabfe2a9","aria-label":((e=this.label)!==null&&e!==void 0?e:"")!==""?this.label:undefined,role:"list"},h("slot",{key:"1ad7ceb2d2ac73c0daaa425ab1c499c16f6eb342",onSlotchange:this.updateElements}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{expanded:[{handleExpandedChange:0}],toggle:[{handleToggleChange:0}],togglePosition:[{handleTogglePositionChange:0}],appearance:[{handleAppearanceChange:0}],actions:[{handleActionsChange:0}],truncate:[{handleTruncateChange:0}]}},enumerable:false,configurable:true});return e}();MdsTree.style=mdsTreeCss();export{MdsTree as mds_tree};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";import{m as miBaselineClose}from"./close-J-ikDhyq.js";import{L as Locale}from"./locale-Cm8DHVsu.js";import{p as preferenceStore}from"./preference-B_NbXZNw.js";var miBaselineExplore='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"/></svg>';var close$3="Κλείσιμο";var iframeURL$3="Στοιχείο iframe που περιέχει {{ url }}";var previewURL$3="Παράθυρο με προεπισκόπηση του {{ url }}";var localeEl={close:close$3,iframeURL:iframeURL$3,previewURL:previewURL$3};var close$2="Close";var iframeURL$2="Iframe element containing {{ url }}";var previewURL$2="Window with a preview of {{ url }}";var localeEn={close:close$2,iframeURL:iframeURL$2,previewURL:previewURL$2};var close$1="Cerrar";var iframeURL$1="Elemento iframe que contiene {{ url }}";var previewURL$1="Ventana con vista previa de {{ url }}";var localeEs={close:close$1,iframeURL:iframeURL$1,previewURL:previewURL$1};var close="Chiudi";var iframeURL="Elemento iframe contentente {{ url }}";var previewURL="Finestra con anteprima di {{ url }}";var localeIt={close:close,iframeURL:iframeURL,previewURL:previewURL};var mdsUrlViewCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-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-url-view-transition-duration:var(--duration-200,.2s);--private-url-view-transition-duration:var(--mds-url-view-transition-duration);--mds-modal-custom-window-distance:0px;--mds-url-view-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-url-view-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-url-view-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));--mds-url-view-header-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-url-view-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-sizing:border-box;display:flex;flex-direction:column;height:100vh;margin:0;padding:calc(var(--spacing,.0025rem)*400)}.window{border-radius:var(--mds-url-view-radius,var(--magma-radius-md,var(--radius-squircle-md,20px)));box-shadow:var(--mds-url-view-shadow);corner-shape:var(--magma-corner-shape,squircle);flex-direction:column;flex-grow:1;overflow:hidden;width:100%}.header,.window{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-url-view-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));display:flex;transition-duration:var(--private-url-view-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.header{align-items:center;box-shadow:var(--mds-url-view-header-shadow);color:var(--mds-url-view-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));flex-shrink:0;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;padding:calc(var(--spacing,.0025rem)*200);position:relative}.title{flex-grow:1;min-width:0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.window-icon{flex-shrink:0}.button-close,.window-icon{fill:var(--mds-url-view-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.button-close{cursor:pointer}.iframe{border:0;flex-grow:1;margin:0;padding:0;width:100%}: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-url-view-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-url-view-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-url-view-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-url-view-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-url-view-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-url-view-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var MdsUrlView=/** @class */function(){function e(r){var a=this.constructor;var t=this;if(a===e)registerInstance(this,r);this.closeEvent=createEvent(this,"mdsUrlViewClose",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
|
|
2
2
|
/**
|
|
3
3
|
* Specifies whether a browser should load an iframe immediately
|
|
4
4
|
* or to defer loading of images until some conditions are met.
|
|
5
5
|
*/this.loading="lazy";this.urlDomain=function(e){try{var r=new URL(e);return r.hostname.replace("www.","")}catch(r){
|
|
6
6
|
// src missing or not a valid absolute URL: fall back to the raw value
|
|
7
|
-
return e!==null&&e!==void 0?e:""}};this.closeUrlView=function(){var e;t.closeEvent.emit();(e=t.host.closest("mds-modal"))===null||e===void 0?void 0:e.close()}}e.prototype.render=function(){var e,r;return h(Host,{key:"
|
|
7
|
+
return e!==null&&e!==void 0?e:""}};this.closeUrlView=function(){var e;t.closeEvent.emit();(e=t.host.closest("mds-modal"))===null||e===void 0?void 0:e.close()}}e.prototype.render=function(){var e,r;return h(Host,{key:"75368f9ece4c94201c9b5184b8bbd4c4eab15e6c","aria-label":this.t.get("previewURL",{url:this.urlDomain(this.src)}),"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"a530519821d3840c2a5356156c664c572bf50745",class:"window"},h("div",{key:"4f002ecfa2484642adc84bb39752a1aa6575a5db",class:"header"},h("mds-icon",{key:"6b68f21d6bfc43eb18cb8b1a0171762c60dd7c3d",class:"window-icon",name:(e=this.icon)!==null&&e!==void 0?e:miBaselineExplore}),h("mds-text",{key:"6ea0cb1ac9e53e13f5109c9e6d472fa2f9f87078",class:"title",typography:"caption"},(r=this.label)!==null&&r!==void 0?r:this.urlDomain(this.src)),h("mds-button",{key:"5f438d4ca60e8aa131726d86c5fed450e50716bf",title:this.t.get("close"),class:"action-close",variant:"dark",tone:"text",icon:miBaselineClose,onClick:this.closeUrlView})),h("iframe",{key:"5764d9890db860a208881c1246cc79c7c819ea34",class:"iframe","aria-label":this.t.get("iframeURL",{url:this.urlDomain(this.src)}),src:this.src,loading:this.loading})))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsUrlView.style=mdsUrlViewCss();export{MdsUrlView as mds_url_view};
|