@maggioli-design-system/magma 2.9.0 → 2.11.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 +10 -7
- package/CHANGELOG.md +109 -0
- package/README.md +56 -0
- package/agents/assets.md +2 -2
- package/agents/color.md +7 -5
- package/agents/components.md +2 -2
- package/agents/conventions.md +1 -1
- package/agents/mcp.md +78 -8
- package/agents/mistakes.md +42 -0
- package/agents/patterns/actions.md +393 -0
- package/agents/patterns/app-shell.md +223 -0
- package/agents/patterns/choose-items.md +18 -0
- package/agents/patterns/concurrent-editing.md +17 -0
- package/agents/patterns/confirm-action.md +216 -0
- package/agents/patterns/consent-and-legal.md +16 -0
- package/agents/patterns/density.md +236 -0
- package/agents/patterns/empty-state.md +201 -0
- package/agents/patterns/error-recovery.md +237 -0
- package/agents/patterns/form-and-validation.md +16 -0
- package/agents/patterns/item-list.md +214 -0
- package/agents/patterns/labels-and-values.md +184 -0
- package/agents/patterns/list-with-filters.md +282 -0
- package/agents/patterns/loading.md +221 -0
- package/agents/patterns/message-placement.md +304 -0
- package/agents/patterns/notification-center.md +18 -0
- package/agents/patterns/page-header.md +201 -0
- package/agents/patterns/permissions.md +17 -0
- package/agents/patterns/previews/actions/banner.dark.webp +0 -0
- package/agents/patterns/previews/actions/banner.html +21 -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.html +11 -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.html +22 -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.html +19 -0
- package/agents/patterns/previews/actions/destructive-in-menu.light.webp +0 -0
- package/agents/patterns/previews/actions/dismiss-message.dark.webp +0 -0
- package/agents/patterns/previews/actions/dismiss-message.html +15 -0
- package/agents/patterns/previews/actions/dismiss-message.light.webp +0 -0
- package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
- package/agents/patterns/previews/actions/dismiss.html +25 -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.html +21 -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.html +28 -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.html +20 -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/remove.html +44 -0
- package/agents/patterns/previews/actions/remove.light.webp +0 -0
- package/agents/patterns/previews/actions/secondary.dark.webp +0 -0
- package/agents/patterns/previews/actions/secondary.html +20 -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.html +17 -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/actions/toast.html +10 -0
- package/agents/patterns/previews/actions/toast.light.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/back-office.html +41 -0
- package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/many-sections.html +45 -0
- package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
- package/agents/patterns/previews/app-shell/public-service.html +31 -0
- package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/act-then-undo.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/act-then-undo.html +44 -0
- package/agents/patterns/previews/confirm-action/act-then-undo.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.html +25 -0
- package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first-many.html +11 -0
- package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/ask-first.html +14 -0
- package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
- package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
- package/agents/patterns/previews/confirm-action/make-reversible.html +54 -0
- 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 +57 -0
- 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 +19 -0
- 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 +15 -0
- 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 +35 -0
- 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 +15 -0
- 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 +38 -0
- 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 +12 -0
- package/agents/patterns/previews/empty-state/one-line.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/action-another-way.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/action-another-way.html +35 -0
- 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 +26 -0
- 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 +38 -0
- 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 +12 -0
- package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/partial.html +29 -0
- package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-action.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/retry-action.html +35 -0
- 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 +40 -0
- package/agents/patterns/previews/error-recovery/retry-content.light.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.html +44 -0
- package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
- package/agents/patterns/previews/item-list/documents-of-a-request.html +12 -0
- 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.html +109 -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.html +74 -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.html +80 -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 +31 -0
- package/agents/patterns/previews/labels-and-values/data-of-a-contact.light.webp +0 -0
- 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 +21 -0
- 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 +25 -0
- package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
- package/agents/patterns/previews/list-with-filters/act-on-many.html +121 -0
- 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 +109 -0
- 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 +132 -0
- 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 +41 -0
- 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 +28 -0
- 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 +10 -0
- 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 +80 -0
- package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load-measured.html +16 -0
- package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
- package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
- package/agents/patterns/previews/loading/long-load.html +12 -0
- 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 +52 -0
- package/agents/patterns/previews/loading/progress-in-place.light.webp +0 -0
- package/agents/patterns/previews/loading/run-in-background.dark.webp +0 -0
- package/agents/patterns/previews/loading/run-in-background.html +24 -0
- 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 +38 -0
- 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 +53 -0
- 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 +42 -0
- 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 +40 -0
- 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 +31 -0
- 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 +24 -0
- 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 +33 -0
- package/agents/patterns/previews/message-placement/action-partial-elsewhere.light.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/action-partial-in-place.html +51 -0
- 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 +25 -0
- 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 +20 -0
- package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-failed.html +48 -0
- package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
- package/agents/patterns/previews/message-placement/app-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/app-info.html +39 -0
- package/agents/patterns/previews/message-placement/app-info.light.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/decision.html +49 -0
- package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-error.html +28 -0
- package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-hint.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-hint.html +30 -0
- package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/field-valid.html +11 -0
- package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
- package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-failed.html +31 -0
- package/agents/patterns/previews/message-placement/region-failed.light.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
- package/agents/patterns/previews/message-placement/region-info.html +16 -0
- package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
- package/agents/patterns/previews/page-header/contact-being-edited.html +25 -0
- 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 +18 -0
- 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 +17 -0
- 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 +33 -0
- 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 +16 -0
- 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 +72 -0
- 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 +104 -0
- 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 +80 -0
- 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 +87 -0
- 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 +88 -0
- 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 +106 -0
- package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-containers.html +29 -0
- package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-fields.html +14 -0
- package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-groups.html +23 -0
- package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/between-sections.html +17 -0
- package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
- package/agents/patterns/previews/rhythm/content-actions.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/content-actions.html +14 -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.html +12 -0
- package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
- package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/inset.html +11 -0
- package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
- package/agents/patterns/previews/rhythm/label-control.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/label-control.html +8 -0
- package/agents/patterns/previews/rhythm/label-control.light.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
- package/agents/patterns/previews/rhythm/title-content.html +10 -0
- package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
- package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/band.html +73 -0
- package/agents/patterns/previews/surfaces/band.light.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/canvas.html +66 -0
- package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
- package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/card.html +30 -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.html +28 -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.html +35 -0
- package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
- package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
- package/agents/patterns/previews/surfaces/section.html +35 -0
- package/agents/patterns/previews/surfaces/section.light.webp +0 -0
- package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
- package/agents/patterns/previews/titles/dialog.html +18 -0
- package/agents/patterns/previews/titles/dialog.light.webp +0 -0
- package/agents/patterns/previews/titles/group.dark.webp +0 -0
- package/agents/patterns/previews/titles/group.html +14 -0
- package/agents/patterns/previews/titles/group.light.webp +0 -0
- package/agents/patterns/previews/titles/page.dark.webp +0 -0
- package/agents/patterns/previews/titles/page.html +25 -0
- package/agents/patterns/previews/titles/page.light.webp +0 -0
- package/agents/patterns/previews/titles/part.dark.webp +0 -0
- package/agents/patterns/previews/titles/part.html +24 -0
- package/agents/patterns/previews/titles/part.light.webp +0 -0
- package/agents/patterns/previews/titles/section.dark.webp +0 -0
- package/agents/patterns/previews/titles/section.html +14 -0
- package/agents/patterns/previews/titles/section.light.webp +0 -0
- package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
- package/agents/patterns/previews/widths/dialog.html +33 -0
- package/agents/patterns/previews/widths/dialog.light.webp +0 -0
- package/agents/patterns/previews/widths/field.dark.webp +0 -0
- package/agents/patterns/previews/widths/field.html +20 -0
- package/agents/patterns/previews/widths/field.light.webp +0 -0
- package/agents/patterns/previews/widths/form.dark.webp +0 -0
- package/agents/patterns/previews/widths/form.html +27 -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.html +49 -0
- package/agents/patterns/previews/widths/page.light.webp +0 -0
- package/agents/patterns/previews/widths/reading.dark.webp +0 -0
- package/agents/patterns/previews/widths/reading.html +15 -0
- package/agents/patterns/previews/widths/reading.light.webp +0 -0
- package/agents/patterns/record-detail.md +268 -0
- package/agents/patterns/rhythm.md +212 -0
- package/agents/patterns/surfaces.md +212 -0
- package/agents/patterns/titles.md +208 -0
- package/agents/patterns/widths.md +202 -0
- package/agents/patterns.md +121 -0
- package/agents/reporting.md +6 -3
- package/agents/theming.md +36 -12
- package/agents/typography.md +27 -2
- package/agents/variants.md +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/magma-components.cjs.js +1 -1
- package/dist/cjs/mds-accordion-item.cjs.entry.js +6 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +5 -2
- package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
- package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
- package/dist/cjs/mds-book.cjs.entry.js +25 -9
- package/dist/cjs/mds-button_3.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 +2 -2
- package/dist/cjs/mds-card-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
- package/dist/cjs/mds-card.cjs.entry.js +1 -1
- package/dist/cjs/mds-details.cjs.entry.js +1 -1
- package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-emoji.cjs.entry.js +40 -11
- package/dist/cjs/mds-entity.cjs.entry.js +1 -1
- package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
- package/dist/cjs/mds-file.cjs.entry.js +1 -1
- package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-filter.cjs.entry.js +1 -1
- package/dist/cjs/mds-header-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/mds-hr.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date-range.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-date.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-field.cjs.entry.js +8 -2
- package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
- package/dist/cjs/mds-input-select.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +4 -4
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-input-upload.cjs.entry.js +13 -14
- package/dist/cjs/mds-input.cjs.entry.js +3 -3
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
- package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
- package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
- package/dist/cjs/mds-label.cjs.entry.js +1 -1
- package/dist/cjs/mds-link.cjs.entry.js +3 -3
- package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +1 -1
- package/dist/cjs/mds-modal.cjs.entry.js +4 -4
- package/dist/cjs/mds-note.cjs.entry.js +2 -2
- package/dist/cjs/mds-notification.cjs.entry.js +45 -2
- package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
- package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +18 -4
- package/dist/cjs/mds-pref-theme.cjs.entry.js +12 -3
- package/dist/cjs/mds-pref.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
- package/dist/cjs/mds-progress_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
- package/dist/cjs/mds-quote.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
- package/dist/cjs/mds-separator.cjs.entry.js +1 -1
- package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
- package/dist/cjs/mds-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-text.cjs.entry.js +45 -5
- package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/mds-toast.cjs.entry.js +2 -2
- package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-tree.cjs.entry.js +2 -2
- package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
- package/dist/cjs/mds-usage.cjs.entry.js +2 -2
- package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
- package/dist/cjs/mds-zero.cjs.entry.js +2 -2
- package/dist/collection/components/mds-accordion/AGENTS.md +5 -5
- package/dist/collection/components/mds-accordion/documentation.json +4 -4
- package/dist/collection/components/mds-accordion/examples.md +148 -0
- package/dist/collection/components/mds-accordion/mistakes.md +122 -0
- package/dist/collection/components/mds-accordion-item/AGENTS.md +6 -6
- package/dist/collection/components/mds-accordion-item/documentation.json +5 -5
- package/dist/collection/components/mds-accordion-item/examples.md +154 -0
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +6 -3
- package/dist/collection/components/mds-accordion-item/mistakes.md +137 -0
- package/dist/collection/components/mds-accordion-timer/AGENTS.md +4 -4
- package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
- package/dist/collection/components/mds-accordion-timer/examples.md +137 -0
- package/dist/collection/components/mds-accordion-timer/mistakes.md +135 -0
- package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +6 -6
- package/dist/collection/components/mds-accordion-timer-item/documentation.json +5 -5
- package/dist/collection/components/mds-accordion-timer-item/examples.md +133 -0
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +6 -3
- package/dist/collection/components/mds-accordion-timer-item/mistakes.md +142 -0
- package/dist/collection/components/mds-author/AGENTS.md +4 -4
- package/dist/collection/components/mds-author/documentation.json +3 -3
- package/dist/collection/components/mds-author/examples.md +101 -0
- package/dist/collection/components/mds-author/mistakes.md +106 -0
- package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
- package/dist/collection/components/mds-avatar/documentation.json +3 -3
- package/dist/collection/components/mds-avatar/examples.md +118 -0
- package/dist/collection/components/mds-avatar/mistakes.md +96 -0
- package/dist/collection/components/mds-avatar-stack/AGENTS.md +4 -4
- package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
- package/dist/collection/components/mds-avatar-stack/examples.md +122 -0
- package/dist/collection/components/mds-avatar-stack/mistakes.md +121 -0
- package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-avatar-stack-item/documentation.json +3 -3
- package/dist/collection/components/mds-avatar-stack-item/examples.md +104 -0
- package/dist/collection/components/mds-avatar-stack-item/mistakes.md +113 -0
- package/dist/collection/components/mds-badge/AGENTS.md +4 -4
- package/dist/collection/components/mds-badge/documentation.json +3 -3
- package/dist/collection/components/mds-badge/examples.md +126 -0
- package/dist/collection/components/mds-badge/mistakes.md +103 -0
- package/dist/collection/components/mds-banner/AGENTS.md +7 -4
- package/dist/collection/components/mds-banner/documentation.json +4 -4
- package/dist/collection/components/mds-banner/examples.md +175 -0
- package/dist/collection/components/mds-banner/mds-banner.css +19 -0
- package/dist/collection/components/mds-banner/mistakes.md +140 -0
- package/dist/collection/components/mds-benchmark-bar/AGENTS.md +4 -4
- package/dist/collection/components/mds-benchmark-bar/documentation.json +3 -3
- package/dist/collection/components/mds-benchmark-bar/examples.md +102 -0
- package/dist/collection/components/mds-benchmark-bar/mistakes.md +77 -0
- package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
- package/dist/collection/components/mds-bibliography/documentation.json +3 -3
- package/dist/collection/components/mds-bibliography/examples.md +140 -0
- package/dist/collection/components/mds-bibliography/mistakes.md +128 -0
- package/dist/collection/components/mds-book/AGENTS.md +10 -9
- package/dist/collection/components/mds-book/documentation.json +13 -9
- package/dist/collection/components/mds-book/examples.md +139 -0
- package/dist/collection/components/mds-book/mds-book.css +49 -9
- package/dist/collection/components/mds-book/mds-book.js +26 -10
- package/dist/collection/components/mds-book/meta/dictionary.js +1 -1
- package/dist/collection/components/mds-book/mistakes.md +88 -0
- package/dist/collection/components/mds-breadcrumb/AGENTS.md +4 -4
- package/dist/collection/components/mds-breadcrumb/documentation.json +3 -3
- package/dist/collection/components/mds-breadcrumb/examples.md +100 -0
- package/dist/collection/components/mds-breadcrumb/mistakes.md +112 -0
- package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-breadcrumb-item/documentation.json +3 -3
- package/dist/collection/components/mds-breadcrumb-item/examples.md +83 -0
- package/dist/collection/components/mds-breadcrumb-item/mistakes.md +109 -0
- package/dist/collection/components/mds-button/AGENTS.md +4 -4
- package/dist/collection/components/mds-button/documentation.json +3 -3
- package/dist/collection/components/mds-button/examples.md +211 -0
- package/dist/collection/components/mds-button/mistakes.md +160 -0
- package/dist/collection/components/mds-button-dropdown/AGENTS.md +4 -4
- package/dist/collection/components/mds-button-dropdown/documentation.json +3 -3
- package/dist/collection/components/mds-button-dropdown/examples.md +171 -0
- package/dist/collection/components/mds-button-dropdown/mistakes.md +158 -0
- package/dist/collection/components/mds-button-group/AGENTS.md +4 -4
- package/dist/collection/components/mds-button-group/documentation.json +3 -3
- package/dist/collection/components/mds-button-group/examples.md +89 -0
- package/dist/collection/components/mds-button-group/mistakes.md +105 -0
- package/dist/collection/components/mds-calendar/AGENTS.md +4 -4
- package/dist/collection/components/mds-calendar/documentation.json +3 -3
- package/dist/collection/components/mds-calendar/examples.md +127 -0
- package/dist/collection/components/mds-calendar/mistakes.md +113 -0
- package/dist/collection/components/mds-calendar-cell/AGENTS.md +4 -4
- package/dist/collection/components/mds-calendar-cell/documentation.json +3 -3
- package/dist/collection/components/mds-calendar-cell/examples.md +83 -0
- package/dist/collection/components/mds-calendar-cell/mistakes.md +58 -0
- package/dist/collection/components/mds-card/AGENTS.md +10 -7
- package/dist/collection/components/mds-card/documentation.json +6 -6
- package/dist/collection/components/mds-card/examples.md +160 -0
- package/dist/collection/components/mds-card/mds-card.css +50 -9
- package/dist/collection/components/mds-card/mistakes.md +157 -0
- package/dist/collection/components/mds-card-content/AGENTS.md +4 -4
- package/dist/collection/components/mds-card-content/documentation.json +3 -3
- package/dist/collection/components/mds-card-content/examples.md +90 -0
- package/dist/collection/components/mds-card-content/mds-card-content.css +5 -2
- package/dist/collection/components/mds-card-content/mistakes.md +109 -0
- package/dist/collection/components/mds-card-footer/AGENTS.md +5 -4
- package/dist/collection/components/mds-card-footer/documentation.json +4 -4
- package/dist/collection/components/mds-card-footer/examples.md +95 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.css +28 -5
- package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
- package/dist/collection/components/mds-card-footer/mistakes.md +112 -0
- package/dist/collection/components/mds-card-header/AGENTS.md +4 -4
- package/dist/collection/components/mds-card-header/documentation.json +3 -3
- package/dist/collection/components/mds-card-header/examples.md +143 -0
- package/dist/collection/components/mds-card-header/mds-card-header.css +4 -2
- package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
- package/dist/collection/components/mds-card-header/mistakes.md +114 -0
- package/dist/collection/components/mds-card-media/AGENTS.md +4 -4
- package/dist/collection/components/mds-card-media/documentation.json +3 -3
- package/dist/collection/components/mds-card-media/examples.md +93 -0
- package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
- package/dist/collection/components/mds-card-media/mistakes.md +128 -0
- package/dist/collection/components/mds-chip/AGENTS.md +4 -4
- package/dist/collection/components/mds-chip/documentation.json +3 -3
- package/dist/collection/components/mds-chip/examples.md +164 -0
- package/dist/collection/components/mds-chip/mds-chip.js +1 -1
- package/dist/collection/components/mds-chip/mistakes.md +118 -0
- package/dist/collection/components/mds-details/AGENTS.md +4 -4
- package/dist/collection/components/mds-details/documentation.json +3 -3
- package/dist/collection/components/mds-details/examples.md +136 -0
- package/dist/collection/components/mds-details/mds-details.js +1 -1
- package/dist/collection/components/mds-details/mistakes.md +124 -0
- package/dist/collection/components/mds-dropdown/AGENTS.md +4 -4
- package/dist/collection/components/mds-dropdown/documentation.json +3 -3
- package/dist/collection/components/mds-dropdown/examples.md +201 -0
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +3 -0
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
- package/dist/collection/components/mds-dropdown/mistakes.md +137 -0
- package/dist/collection/components/mds-emoji/AGENTS.md +4 -4
- package/dist/collection/components/mds-emoji/documentation.json +3 -3
- package/dist/collection/components/mds-emoji/examples.md +203 -0
- package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
- package/dist/collection/components/mds-emoji/mistakes.md +116 -0
- package/dist/collection/components/mds-entity/AGENTS.md +4 -4
- package/dist/collection/components/mds-entity/documentation.json +3 -3
- package/dist/collection/components/mds-entity/examples.md +132 -0
- package/dist/collection/components/mds-entity/mds-entity.js +1 -1
- package/dist/collection/components/mds-entity/mistakes.md +119 -0
- package/dist/collection/components/mds-file/AGENTS.md +4 -4
- package/dist/collection/components/mds-file/documentation.json +3 -3
- package/dist/collection/components/mds-file/examples.md +107 -0
- package/dist/collection/components/mds-file/mds-file.js +1 -1
- package/dist/collection/components/mds-file/mistakes.md +91 -0
- package/dist/collection/components/mds-file-preview/AGENTS.md +4 -4
- package/dist/collection/components/mds-file-preview/documentation.json +3 -3
- package/dist/collection/components/mds-file-preview/examples.md +163 -0
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
- package/dist/collection/components/mds-file-preview/mistakes.md +129 -0
- package/dist/collection/components/mds-filter/AGENTS.md +4 -4
- package/dist/collection/components/mds-filter/documentation.json +3 -3
- package/dist/collection/components/mds-filter/examples.md +156 -0
- package/dist/collection/components/mds-filter/mds-filter.js +1 -1
- package/dist/collection/components/mds-filter/mistakes.md +140 -0
- package/dist/collection/components/mds-filter-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-filter-item/documentation.json +3 -3
- package/dist/collection/components/mds-filter-item/examples.md +123 -0
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
- package/dist/collection/components/mds-filter-item/mistakes.md +127 -0
- package/dist/collection/components/mds-header/AGENTS.md +8 -5
- package/dist/collection/components/mds-header/documentation.json +4 -4
- package/dist/collection/components/mds-header/examples.md +180 -0
- package/dist/collection/components/mds-header/mds-header.css +27 -4
- package/dist/collection/components/mds-header/mds-header.js +1 -1
- package/dist/collection/components/mds-header/mistakes.md +162 -0
- package/dist/collection/components/mds-header-bar/AGENTS.md +5 -4
- package/dist/collection/components/mds-header-bar/documentation.json +4 -4
- package/dist/collection/components/mds-header-bar/examples.md +153 -0
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +9 -4
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
- package/dist/collection/components/mds-header-bar/mistakes.md +117 -0
- package/dist/collection/components/mds-help/AGENTS.md +4 -4
- package/dist/collection/components/mds-help/documentation.json +3 -3
- package/dist/collection/components/mds-help/examples.md +106 -0
- package/dist/collection/components/mds-help/mds-help.js +1 -1
- package/dist/collection/components/mds-help/mistakes.md +73 -0
- package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +4 -4
- package/dist/collection/components/mds-horizontal-scroll/documentation.json +3 -3
- package/dist/collection/components/mds-horizontal-scroll/examples.md +143 -0
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
- package/dist/collection/components/mds-horizontal-scroll/mistakes.md +120 -0
- package/dist/collection/components/mds-hr/AGENTS.md +4 -4
- package/dist/collection/components/mds-hr/documentation.json +3 -3
- package/dist/collection/components/mds-hr/examples.md +88 -0
- package/dist/collection/components/mds-hr/mds-hr.js +1 -1
- package/dist/collection/components/mds-hr/mistakes.md +84 -0
- package/dist/collection/components/mds-icon/AGENTS.md +4 -4
- package/dist/collection/components/mds-icon/documentation.json +3 -3
- package/dist/collection/components/mds-icon/examples.md +135 -0
- package/dist/collection/components/mds-icon/mds-icon.js +1 -1
- package/dist/collection/components/mds-icon/mistakes.md +118 -0
- package/dist/collection/components/mds-img/AGENTS.md +4 -4
- package/dist/collection/components/mds-img/documentation.json +3 -3
- package/dist/collection/components/mds-img/examples.md +125 -0
- package/dist/collection/components/mds-img/mistakes.md +106 -0
- package/dist/collection/components/mds-input/AGENTS.md +5 -4
- package/dist/collection/components/mds-input/documentation.json +4 -4
- package/dist/collection/components/mds-input/examples.md +265 -0
- package/dist/collection/components/mds-input/mds-input.css +4 -1
- package/dist/collection/components/mds-input/mds-input.js +2 -2
- package/dist/collection/components/mds-input/mistakes.md +128 -0
- package/dist/collection/components/mds-input-date/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-date/documentation.json +3 -3
- package/dist/collection/components/mds-input-date/examples.md +157 -0
- package/dist/collection/components/mds-input-date/mds-input-date.css +34 -4
- package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
- package/dist/collection/components/mds-input-date/mistakes.md +107 -0
- package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-date-range/documentation.json +3 -3
- package/dist/collection/components/mds-input-date-range/examples.md +121 -0
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +7 -6
- package/dist/collection/components/mds-input-date-range/mistakes.md +168 -0
- package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-date-range-preselection/documentation.json +3 -3
- package/dist/collection/components/mds-input-date-range-preselection/examples.md +91 -0
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
- package/dist/collection/components/mds-input-date-range-preselection/mistakes.md +152 -0
- package/dist/collection/components/mds-input-field/AGENTS.md +6 -4
- package/dist/collection/components/mds-input-field/documentation.json +36 -4
- package/dist/collection/components/mds-input-field/examples.md +116 -0
- package/dist/collection/components/mds-input-field/mds-input-field.css +3 -1
- package/dist/collection/components/mds-input-field/mds-input-field.js +27 -1
- package/dist/collection/components/mds-input-field/mistakes.md +142 -0
- package/dist/collection/components/mds-input-otp/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-otp/documentation.json +3 -3
- package/dist/collection/components/mds-input-otp/examples.md +107 -0
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
- package/dist/collection/components/mds-input-otp/mistakes.md +105 -0
- package/dist/collection/components/mds-input-range/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-range/documentation.json +3 -3
- package/dist/collection/components/mds-input-range/examples.md +100 -0
- package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
- package/dist/collection/components/mds-input-range/mistakes.md +123 -0
- package/dist/collection/components/mds-input-select/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-select/documentation.json +3 -3
- package/dist/collection/components/mds-input-select/examples.md +166 -0
- package/dist/collection/components/mds-input-select/mds-input-select.css +4 -1
- package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
- package/dist/collection/components/mds-input-select/mistakes.md +126 -0
- package/dist/collection/components/mds-input-switch/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-switch/documentation.json +3 -3
- package/dist/collection/components/mds-input-switch/examples.md +124 -0
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
- package/dist/collection/components/mds-input-switch/mistakes.md +116 -0
- package/dist/collection/components/mds-input-tip/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-tip/documentation.json +3 -3
- package/dist/collection/components/mds-input-tip/examples.md +122 -0
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
- package/dist/collection/components/mds-input-tip/mistakes.md +112 -0
- package/dist/collection/components/mds-input-tip-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-tip-item/documentation.json +3 -3
- package/dist/collection/components/mds-input-tip-item/examples.md +106 -0
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
- package/dist/collection/components/mds-input-tip-item/mistakes.md +98 -0
- package/dist/collection/components/mds-input-upload/AGENTS.md +4 -4
- package/dist/collection/components/mds-input-upload/documentation.json +3 -3
- package/dist/collection/components/mds-input-upload/examples.md +161 -0
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +4 -1
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
- package/dist/collection/components/mds-input-upload/mistakes.md +143 -0
- package/dist/collection/components/mds-keyboard/AGENTS.md +4 -4
- package/dist/collection/components/mds-keyboard/documentation.json +3 -3
- package/dist/collection/components/mds-keyboard/examples.md +128 -0
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
- package/dist/collection/components/mds-keyboard/mistakes.md +111 -0
- package/dist/collection/components/mds-keyboard-key/AGENTS.md +4 -4
- package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
- package/dist/collection/components/mds-keyboard-key/examples.md +87 -0
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
- package/dist/collection/components/mds-keyboard-key/mistakes.md +116 -0
- package/dist/collection/components/mds-kpi/AGENTS.md +4 -4
- package/dist/collection/components/mds-kpi/documentation.json +3 -3
- package/dist/collection/components/mds-kpi/examples.md +112 -0
- package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
- package/dist/collection/components/mds-kpi/mistakes.md +93 -0
- package/dist/collection/components/mds-kpi-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-kpi-item/documentation.json +3 -3
- package/dist/collection/components/mds-kpi-item/examples.md +117 -0
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
- package/dist/collection/components/mds-kpi-item/mistakes.md +117 -0
- package/dist/collection/components/mds-label/AGENTS.md +4 -4
- package/dist/collection/components/mds-label/documentation.json +3 -3
- package/dist/collection/components/mds-label/examples.md +109 -0
- package/dist/collection/components/mds-label/mistakes.md +92 -0
- package/dist/collection/components/mds-link/AGENTS.md +4 -4
- package/dist/collection/components/mds-link/documentation.json +3 -3
- package/dist/collection/components/mds-link/examples.md +100 -0
- package/dist/collection/components/mds-link/mds-link.js +3 -3
- package/dist/collection/components/mds-link/mistakes.md +96 -0
- package/dist/collection/components/mds-list/AGENTS.md +4 -4
- package/dist/collection/components/mds-list/documentation.json +3 -3
- package/dist/collection/components/mds-list/examples.md +104 -0
- package/dist/collection/components/mds-list/mds-list.js +1 -1
- package/dist/collection/components/mds-list/mistakes.md +117 -0
- package/dist/collection/components/mds-list-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-list-item/documentation.json +3 -3
- package/dist/collection/components/mds-list-item/examples.md +112 -0
- package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
- package/dist/collection/components/mds-list-item/mistakes.md +118 -0
- package/dist/collection/components/mds-mention/AGENTS.md +4 -4
- package/dist/collection/components/mds-mention/documentation.json +3 -3
- package/dist/collection/components/mds-mention/examples.md +89 -0
- package/dist/collection/components/mds-mention/mds-mention.js +1 -1
- package/dist/collection/components/mds-mention/mistakes.md +86 -0
- package/dist/collection/components/mds-modal/AGENTS.md +5 -4
- package/dist/collection/components/mds-modal/documentation.json +4 -4
- package/dist/collection/components/mds-modal/examples.md +230 -0
- package/dist/collection/components/mds-modal/mds-modal.css +10 -0
- package/dist/collection/components/mds-modal/mds-modal.js +3 -3
- package/dist/collection/components/mds-modal/mistakes.md +114 -0
- package/dist/collection/components/mds-note/AGENTS.md +4 -4
- package/dist/collection/components/mds-note/documentation.json +3 -3
- package/dist/collection/components/mds-note/examples.md +107 -0
- package/dist/collection/components/mds-note/mds-note.js +1 -1
- package/dist/collection/components/mds-note/mistakes.md +99 -0
- package/dist/collection/components/mds-notification/AGENTS.md +10 -5
- package/dist/collection/components/mds-notification/documentation.json +94 -4
- package/dist/collection/components/mds-notification/examples.md +115 -0
- package/dist/collection/components/mds-notification/mds-notification.css +67 -1
- package/dist/collection/components/mds-notification/mds-notification.js +94 -3
- package/dist/collection/components/mds-notification/mistakes.md +98 -0
- package/dist/collection/components/mds-paginator/AGENTS.md +4 -4
- package/dist/collection/components/mds-paginator/documentation.json +3 -3
- package/dist/collection/components/mds-paginator/examples.md +98 -0
- package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
- package/dist/collection/components/mds-paginator/mistakes.md +96 -0
- package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-paginator-item/documentation.json +3 -3
- package/dist/collection/components/mds-paginator-item/examples.md +76 -0
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/collection/components/mds-paginator-item/mistakes.md +96 -0
- package/dist/collection/components/mds-policy-ai/AGENTS.md +4 -4
- package/dist/collection/components/mds-policy-ai/documentation.json +3 -3
- package/dist/collection/components/mds-policy-ai/examples.md +107 -0
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
- package/dist/collection/components/mds-policy-ai/mistakes.md +97 -0
- package/dist/collection/components/mds-pref/AGENTS.md +4 -4
- package/dist/collection/components/mds-pref/documentation.json +3 -3
- package/dist/collection/components/mds-pref/examples.md +93 -0
- package/dist/collection/components/mds-pref/mds-pref.js +1 -1
- package/dist/collection/components/mds-pref/mistakes.md +85 -0
- package/dist/collection/components/mds-pref-animation/AGENTS.md +4 -4
- package/dist/collection/components/mds-pref-animation/documentation.json +3 -3
- package/dist/collection/components/mds-pref-animation/examples.md +86 -0
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
- package/dist/collection/components/mds-pref-animation/mistakes.md +67 -0
- package/dist/collection/components/mds-pref-consumption/AGENTS.md +4 -4
- package/dist/collection/components/mds-pref-consumption/documentation.json +3 -3
- package/dist/collection/components/mds-pref-consumption/examples.md +69 -0
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
- package/dist/collection/components/mds-pref-consumption/mistakes.md +84 -0
- package/dist/collection/components/mds-pref-contrast/AGENTS.md +4 -4
- package/dist/collection/components/mds-pref-contrast/documentation.json +3 -3
- package/dist/collection/components/mds-pref-contrast/examples.md +82 -0
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
- package/dist/collection/components/mds-pref-contrast/mistakes.md +71 -0
- package/dist/collection/components/mds-pref-language/AGENTS.md +5 -5
- package/dist/collection/components/mds-pref-language/documentation.json +4 -4
- package/dist/collection/components/mds-pref-language/examples.md +104 -0
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
- package/dist/collection/components/mds-pref-language/mistakes.md +130 -0
- package/dist/collection/components/mds-pref-language-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-pref-language-item/documentation.json +3 -3
- package/dist/collection/components/mds-pref-language-item/examples.md +85 -0
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
- package/dist/collection/components/mds-pref-language-item/mistakes.md +99 -0
- package/dist/collection/components/mds-pref-mode/AGENTS.md +5 -5
- package/dist/collection/components/mds-pref-mode/documentation.json +4 -4
- package/dist/collection/components/mds-pref-mode/examples.md +92 -0
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
- package/dist/collection/components/mds-pref-mode/mistakes.md +103 -0
- package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -6
- package/dist/collection/components/mds-pref-theme/documentation.json +4 -4
- package/dist/collection/components/mds-pref-theme/examples.md +93 -0
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +12 -3
- package/dist/collection/components/mds-pref-theme/mistakes.md +104 -0
- package/dist/collection/components/mds-pref-theme-item/AGENTS.md +8 -8
- package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -8
- package/dist/collection/components/mds-pref-theme-item/examples.md +88 -0
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +13 -7
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +19 -5
- package/dist/collection/components/mds-pref-theme-item/mistakes.md +95 -0
- package/dist/collection/components/mds-price-table/AGENTS.md +4 -4
- package/dist/collection/components/mds-price-table/documentation.json +3 -3
- package/dist/collection/components/mds-price-table/examples.md +182 -0
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table/mistakes.md +131 -0
- package/dist/collection/components/mds-price-table-features/AGENTS.md +4 -4
- package/dist/collection/components/mds-price-table-features/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-features/examples.md +156 -0
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
- package/dist/collection/components/mds-price-table-features/mistakes.md +151 -0
- package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +4 -4
- package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-features-cell/examples.md +123 -0
- 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-cell/mistakes.md +105 -0
- package/dist/collection/components/mds-price-table-features-row/AGENTS.md +4 -4
- package/dist/collection/components/mds-price-table-features-row/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-features-row/examples.md +123 -0
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
- package/dist/collection/components/mds-price-table-features-row/mistakes.md +135 -0
- package/dist/collection/components/mds-price-table-header/AGENTS.md +4 -4
- package/dist/collection/components/mds-price-table-header/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-header/examples.md +176 -0
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-header/mistakes.md +133 -0
- package/dist/collection/components/mds-price-table-list/AGENTS.md +4 -4
- package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-list/examples.md +139 -0
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
- package/dist/collection/components/mds-price-table-list/mistakes.md +130 -0
- package/dist/collection/components/mds-price-table-list-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-price-table-list-item/documentation.json +3 -3
- package/dist/collection/components/mds-price-table-list-item/examples.md +108 -0
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-price-table-list-item/mistakes.md +86 -0
- package/dist/collection/components/mds-progress/AGENTS.md +4 -4
- package/dist/collection/components/mds-progress/documentation.json +3 -3
- package/dist/collection/components/mds-progress/examples.md +140 -0
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/components/mds-progress/mistakes.md +94 -0
- package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
- package/dist/collection/components/mds-push-notification/documentation.json +3 -3
- package/dist/collection/components/mds-push-notification/examples.md +200 -0
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/collection/components/mds-push-notification/mistakes.md +154 -0
- package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-push-notification-item/documentation.json +3 -3
- package/dist/collection/components/mds-push-notification-item/examples.md +198 -0
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
- package/dist/collection/components/mds-push-notification-item/mistakes.md +129 -0
- package/dist/collection/components/mds-quote/AGENTS.md +4 -4
- package/dist/collection/components/mds-quote/documentation.json +3 -3
- package/dist/collection/components/mds-quote/examples.md +108 -0
- package/dist/collection/components/mds-quote/mds-quote.js +1 -1
- package/dist/collection/components/mds-quote/mistakes.md +122 -0
- package/dist/collection/components/mds-radial-menu/AGENTS.md +4 -4
- package/dist/collection/components/mds-radial-menu/documentation.json +3 -3
- package/dist/collection/components/mds-radial-menu/examples.md +159 -0
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
- package/dist/collection/components/mds-radial-menu/mistakes.md +104 -0
- package/dist/collection/components/mds-radial-menu-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-radial-menu-item/documentation.json +3 -3
- package/dist/collection/components/mds-radial-menu-item/examples.md +96 -0
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-menu-item/mistakes.md +108 -0
- package/dist/collection/components/mds-radial-progress/AGENTS.md +4 -4
- package/dist/collection/components/mds-radial-progress/documentation.json +3 -3
- package/dist/collection/components/mds-radial-progress/examples.md +144 -0
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
- package/dist/collection/components/mds-radial-progress/mistakes.md +106 -0
- package/dist/collection/components/mds-separator/AGENTS.md +4 -4
- package/dist/collection/components/mds-separator/documentation.json +3 -3
- package/dist/collection/components/mds-separator/examples.md +82 -0
- package/dist/collection/components/mds-separator/mds-separator.js +1 -1
- package/dist/collection/components/mds-separator/mistakes.md +98 -0
- package/dist/collection/components/mds-spinner/AGENTS.md +4 -4
- package/dist/collection/components/mds-spinner/documentation.json +3 -3
- package/dist/collection/components/mds-spinner/examples.md +105 -0
- package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
- package/dist/collection/components/mds-spinner/mistakes.md +93 -0
- package/dist/collection/components/mds-status-bar/AGENTS.md +6 -4
- package/dist/collection/components/mds-status-bar/documentation.json +4 -4
- package/dist/collection/components/mds-status-bar/examples.md +128 -0
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +29 -3
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
- package/dist/collection/components/mds-status-bar/mistakes.md +127 -0
- package/dist/collection/components/mds-stepper-bar/AGENTS.md +4 -4
- package/dist/collection/components/mds-stepper-bar/documentation.json +3 -3
- package/dist/collection/components/mds-stepper-bar/examples.md +178 -0
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
- package/dist/collection/components/mds-stepper-bar/mistakes.md +123 -0
- package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-stepper-bar-item/documentation.json +3 -3
- package/dist/collection/components/mds-stepper-bar-item/examples.md +200 -0
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
- package/dist/collection/components/mds-stepper-bar-item/mistakes.md +115 -0
- package/dist/collection/components/mds-tab/AGENTS.md +4 -4
- package/dist/collection/components/mds-tab/documentation.json +3 -3
- package/dist/collection/components/mds-tab/examples.md +232 -0
- package/dist/collection/components/mds-tab/mds-tab.js +2 -2
- package/dist/collection/components/mds-tab/mistakes.md +189 -0
- package/dist/collection/components/mds-tab-bar/AGENTS.md +4 -4
- package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
- package/dist/collection/components/mds-tab-bar/examples.md +87 -0
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
- package/dist/collection/components/mds-tab-bar/mistakes.md +105 -0
- package/dist/collection/components/mds-tab-bar-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-tab-bar-item/documentation.json +3 -3
- package/dist/collection/components/mds-tab-bar-item/examples.md +108 -0
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
- package/dist/collection/components/mds-tab-bar-item/mistakes.md +116 -0
- package/dist/collection/components/mds-tab-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-tab-item/documentation.json +3 -3
- package/dist/collection/components/mds-tab-item/examples.md +174 -0
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
- package/dist/collection/components/mds-tab-item/mistakes.md +159 -0
- package/dist/collection/components/mds-table/AGENTS.md +4 -4
- package/dist/collection/components/mds-table/documentation.json +3 -3
- package/dist/collection/components/mds-table/examples.md +317 -0
- package/dist/collection/components/mds-table/mds-table.css +3 -0
- package/dist/collection/components/mds-table/mds-table.js +1 -1
- package/dist/collection/components/mds-table/mistakes.md +169 -0
- package/dist/collection/components/mds-table-body/AGENTS.md +4 -4
- package/dist/collection/components/mds-table-body/documentation.json +3 -3
- package/dist/collection/components/mds-table-body/examples.md +151 -0
- package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
- package/dist/collection/components/mds-table-body/mistakes.md +117 -0
- package/dist/collection/components/mds-table-cell/AGENTS.md +4 -4
- package/dist/collection/components/mds-table-cell/documentation.json +3 -3
- package/dist/collection/components/mds-table-cell/examples.md +168 -0
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
- package/dist/collection/components/mds-table-cell/mistakes.md +100 -0
- package/dist/collection/components/mds-table-footer/AGENTS.md +4 -4
- package/dist/collection/components/mds-table-footer/documentation.json +3 -3
- package/dist/collection/components/mds-table-footer/examples.md +115 -0
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
- package/dist/collection/components/mds-table-footer/mistakes.md +114 -0
- package/dist/collection/components/mds-table-header/AGENTS.md +4 -4
- package/dist/collection/components/mds-table-header/documentation.json +3 -3
- package/dist/collection/components/mds-table-header/examples.md +158 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
- package/dist/collection/components/mds-table-header/mistakes.md +157 -0
- package/dist/collection/components/mds-table-header-cell/AGENTS.md +4 -4
- package/dist/collection/components/mds-table-header-cell/documentation.json +3 -3
- package/dist/collection/components/mds-table-header-cell/examples.md +166 -0
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
- package/dist/collection/components/mds-table-header-cell/mistakes.md +115 -0
- package/dist/collection/components/mds-table-row/AGENTS.md +4 -4
- package/dist/collection/components/mds-table-row/documentation.json +3 -3
- package/dist/collection/components/mds-table-row/examples.md +166 -0
- package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
- package/dist/collection/components/mds-table-row/mistakes.md +141 -0
- package/dist/collection/components/mds-text/AGENTS.md +9 -7
- package/dist/collection/components/mds-text/documentation.json +33 -13
- package/dist/collection/components/mds-text/examples.md +148 -0
- package/dist/collection/components/mds-text/mds-text.css +38 -1
- package/dist/collection/components/mds-text/mds-text.js +14 -12
- package/dist/collection/components/mds-text/meta/dictionary.js +3 -1
- package/dist/collection/components/mds-text/meta/variants.js +38 -0
- package/dist/collection/components/mds-text/mistakes.md +141 -0
- package/dist/collection/components/mds-toast/AGENTS.md +4 -4
- package/dist/collection/components/mds-toast/documentation.json +3 -3
- package/dist/collection/components/mds-toast/examples.md +174 -0
- package/dist/collection/components/mds-toast/mds-toast.js +1 -1
- package/dist/collection/components/mds-toast/mistakes.md +149 -0
- package/dist/collection/components/mds-toast-region/AGENTS.md +4 -4
- package/dist/collection/components/mds-toast-region/documentation.json +3 -3
- package/dist/collection/components/mds-toast-region/examples.md +90 -0
- package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
- package/dist/collection/components/mds-toast-region/mistakes.md +62 -0
- package/dist/collection/components/mds-tooltip/AGENTS.md +4 -4
- package/dist/collection/components/mds-tooltip/documentation.json +3 -3
- package/dist/collection/components/mds-tooltip/examples.md +135 -0
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
- package/dist/collection/components/mds-tooltip/mistakes.md +122 -0
- package/dist/collection/components/mds-tree/AGENTS.md +4 -4
- package/dist/collection/components/mds-tree/documentation.json +3 -3
- package/dist/collection/components/mds-tree/examples.md +196 -0
- package/dist/collection/components/mds-tree/mds-tree.js +1 -1
- package/dist/collection/components/mds-tree/mistakes.md +152 -0
- package/dist/collection/components/mds-tree-item/AGENTS.md +4 -4
- package/dist/collection/components/mds-tree-item/documentation.json +3 -3
- package/dist/collection/components/mds-tree-item/examples.md +197 -0
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
- package/dist/collection/components/mds-tree-item/mistakes.md +148 -0
- package/dist/collection/components/mds-url-view/AGENTS.md +4 -4
- package/dist/collection/components/mds-url-view/documentation.json +3 -3
- package/dist/collection/components/mds-url-view/examples.md +105 -0
- package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
- package/dist/collection/components/mds-url-view/mistakes.md +106 -0
- package/dist/collection/components/mds-usage/AGENTS.md +4 -4
- package/dist/collection/components/mds-usage/documentation.json +3 -3
- package/dist/collection/components/mds-usage/examples.md +131 -0
- package/dist/collection/components/mds-usage/mds-usage.js +1 -1
- package/dist/collection/components/mds-usage/mistakes.md +105 -0
- package/dist/collection/components/mds-video-wall/AGENTS.md +4 -4
- package/dist/collection/components/mds-video-wall/documentation.json +3 -3
- package/dist/collection/components/mds-video-wall/examples.md +99 -0
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
- package/dist/collection/components/mds-video-wall/mistakes.md +97 -0
- package/dist/collection/components/mds-zero/AGENTS.md +4 -4
- package/dist/collection/components/mds-zero/documentation.json +3 -3
- package/dist/collection/components/mds-zero/examples.md +118 -0
- package/dist/collection/components/mds-zero/mds-zero.js +1 -1
- package/dist/collection/components/mds-zero/mistakes.md +106 -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-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.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 +4 -4
- 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.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-link.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.js +1 -1
- package/dist/components/mds-pref-theme-item.js +1 -1
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast-region.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/p-4LbHmDXv.js +1 -0
- package/dist/components/p-B6AFku7a.js +1 -0
- package/dist/components/p-BFDRt7-n.js +1 -0
- package/dist/components/p-BaynxVRZ.js +1 -0
- package/dist/components/p-BiW6luA5.js +1 -0
- package/dist/components/p-Br6-kva-.js +1 -0
- package/dist/components/p-BwT0RJip.js +1 -0
- package/dist/components/p-C7rDjrH4.js +1 -0
- package/dist/components/p-CKnbQQUb.js +1 -0
- package/dist/components/p-COUgBzJ4.js +1 -0
- package/dist/components/p-COkn4Vtq.js +1 -0
- package/dist/components/p-CP5Qw9_T.js +1 -0
- package/dist/components/p-C_Pc94vn.js +1 -0
- package/dist/components/p-D8CloC8I.js +1 -0
- package/dist/components/p-DGhzWuCS.js +1 -0
- package/dist/components/p-DJd8f8dz.js +1 -0
- package/dist/components/p-DOdUioZq.js +1 -0
- package/dist/components/p-DW6ie49j.js +1 -0
- package/dist/components/p-D_RIY063.js +1 -0
- package/dist/components/p-DdzJfsw7.js +1 -0
- package/dist/components/p-DhpcFZrc.js +1 -0
- package/dist/components/p-DlglisEn.js +1 -0
- package/dist/components/p-DqdlT4UG.js +1 -0
- package/dist/components/p-DvDB_L_5.js +1 -0
- package/dist/components/p-FsctOap9.js +1 -0
- package/dist/components/p-G7Udw5H5.js +1 -0
- package/dist/components/p-Ic8cYsgt.js +1 -0
- package/dist/components/p-gLo3t_qO.js +8 -0
- package/dist/components/p-ikNX7XDH.js +1 -0
- package/dist/components/p-l0KS6hTQ.js +1 -0
- package/dist/documentation.json +429 -278
- package/dist/esm/loader.js +1 -1
- package/dist/esm/magma-components.js +1 -1
- package/dist/esm/mds-accordion-item.entry.js +6 -3
- package/dist/esm/mds-accordion-timer-item.entry.js +5 -2
- package/dist/esm/mds-avatar.entry.js +1 -1
- package/dist/esm/mds-banner_3.entry.js +3 -3
- package/dist/esm/mds-book.entry.js +25 -9
- package/dist/esm/mds-button_3.entry.js +4 -4
- package/dist/esm/mds-card-content.entry.js +1 -1
- package/dist/esm/mds-card-footer.entry.js +2 -2
- package/dist/esm/mds-card-header.entry.js +2 -2
- package/dist/esm/mds-card-media.entry.js +1 -1
- package/dist/esm/mds-card.entry.js +1 -1
- package/dist/esm/mds-details.entry.js +1 -1
- package/dist/esm/mds-dropdown.entry.js +3 -3
- package/dist/esm/mds-emoji.entry.js +40 -11
- package/dist/esm/mds-entity.entry.js +1 -1
- package/dist/esm/mds-file-preview.entry.js +2 -2
- package/dist/esm/mds-file.entry.js +1 -1
- package/dist/esm/mds-filter-item.entry.js +1 -1
- package/dist/esm/mds-filter.entry.js +1 -1
- package/dist/esm/mds-header-bar.entry.js +2 -2
- package/dist/esm/mds-header.entry.js +2 -2
- package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
- package/dist/esm/mds-hr.entry.js +1 -1
- package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm/mds-input-date-range.entry.js +1 -1
- package/dist/esm/mds-input-date.entry.js +3 -3
- package/dist/esm/mds-input-field.entry.js +8 -2
- package/dist/esm/mds-input-otp.entry.js +1 -1
- package/dist/esm/mds-input-range.entry.js +1 -1
- package/dist/esm/mds-input-select.entry.js +3 -3
- package/dist/esm/mds-input-switch_2.entry.js +4 -4
- package/dist/esm/mds-input-tip_2.entry.js +3 -3
- package/dist/esm/mds-input-upload.entry.js +13 -14
- package/dist/esm/mds-input.entry.js +3 -3
- package/dist/esm/mds-keyboard-key.entry.js +1 -1
- package/dist/esm/mds-keyboard.entry.js +1 -1
- package/dist/esm/mds-kpi-item.entry.js +2 -2
- package/dist/esm/mds-kpi.entry.js +1 -1
- package/dist/esm/mds-label.entry.js +1 -1
- package/dist/esm/mds-link.entry.js +3 -3
- package/dist/esm/mds-list-item.entry.js +1 -1
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +1 -1
- package/dist/esm/mds-modal.entry.js +4 -4
- package/dist/esm/mds-note.entry.js +2 -2
- package/dist/esm/mds-notification.entry.js +46 -3
- package/dist/esm/mds-paginator-item.entry.js +2 -2
- package/dist/esm/mds-paginator.entry.js +2 -2
- package/dist/esm/mds-policy-ai.entry.js +1 -1
- package/dist/esm/mds-pref-animation.entry.js +1 -1
- package/dist/esm/mds-pref-consumption.entry.js +1 -1
- package/dist/esm/mds-pref-contrast.entry.js +1 -1
- package/dist/esm/mds-pref-language-item.entry.js +1 -1
- package/dist/esm/mds-pref-language.entry.js +1 -1
- package/dist/esm/mds-pref-mode.entry.js +1 -1
- package/dist/esm/mds-pref-theme-item.entry.js +18 -4
- package/dist/esm/mds-pref-theme.entry.js +12 -3
- package/dist/esm/mds-pref.entry.js +1 -1
- package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
- package/dist/esm/mds-price-table-features-row.entry.js +2 -2
- package/dist/esm/mds-price-table-features.entry.js +2 -2
- package/dist/esm/mds-price-table-header.entry.js +1 -1
- package/dist/esm/mds-price-table-list-item.entry.js +2 -2
- package/dist/esm/mds-price-table-list.entry.js +2 -2
- package/dist/esm/mds-price-table.entry.js +1 -1
- package/dist/esm/mds-progress_2.entry.js +3 -3
- package/dist/esm/mds-push-notification-item.entry.js +2 -2
- package/dist/esm/mds-push-notification.entry.js +2 -2
- package/dist/esm/mds-quote.entry.js +1 -1
- package/dist/esm/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm/mds-radial-menu.entry.js +1 -1
- package/dist/esm/mds-separator.entry.js +1 -1
- package/dist/esm/mds-status-bar.entry.js +2 -2
- package/dist/esm/mds-stepper-bar-item.entry.js +2 -2
- package/dist/esm/mds-stepper-bar.entry.js +1 -1
- package/dist/esm/mds-tab-bar-item.entry.js +2 -2
- package/dist/esm/mds-tab-bar.entry.js +2 -2
- package/dist/esm/mds-tab_2.entry.js +3 -3
- package/dist/esm/mds-table-body.entry.js +2 -2
- package/dist/esm/mds-table-footer.entry.js +2 -2
- package/dist/esm/mds-table-header-cell.entry.js +2 -2
- package/dist/esm/mds-table-header.entry.js +2 -2
- package/dist/esm/mds-table-row.entry.js +3 -3
- package/dist/esm/mds-table.entry.js +2 -2
- package/dist/esm/mds-text.entry.js +45 -5
- package/dist/esm/mds-toast-region.entry.js +1 -1
- package/dist/esm/mds-toast.entry.js +2 -2
- package/dist/esm/mds-tooltip.entry.js +2 -2
- package/dist/esm/mds-tree-item.entry.js +1 -1
- package/dist/esm/mds-tree.entry.js +2 -2
- package/dist/esm/mds-url-view.entry.js +2 -2
- package/dist/esm/mds-usage.entry.js +2 -2
- package/dist/esm/mds-video-wall.entry.js +1 -1
- package/dist/esm/mds-zero.entry.js +2 -2
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/magma-components.js +1 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +6 -3
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +5 -2
- package/dist/esm-es5/mds-avatar.entry.js +1 -1
- package/dist/esm-es5/mds-banner_3.entry.js +3 -3
- package/dist/esm-es5/mds-book.entry.js +49 -44
- package/dist/esm-es5/mds-button_3.entry.js +3 -3
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +3 -3
- package/dist/esm-es5/mds-details.entry.js +1 -1
- package/dist/esm-es5/mds-dropdown.entry.js +2 -2
- package/dist/esm-es5/mds-emoji.entry.js +110 -108
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +1 -1
- package/dist/esm-es5/mds-file.entry.js +1 -1
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +1 -1
- package/dist/esm-es5/mds-header-bar.entry.js +2 -2
- package/dist/esm-es5/mds-header.entry.js +3 -3
- 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-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +15 -15
- package/dist/esm-es5/mds-input-date.entry.js +3 -3
- package/dist/esm-es5/mds-input-field.entry.js +7 -2
- package/dist/esm-es5/mds-input-otp.entry.js +1 -1
- package/dist/esm-es5/mds-input-range.entry.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +1 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +1 -1
- package/dist/esm-es5/mds-link.entry.js +1 -1
- package/dist/esm-es5/mds-list-item.entry.js +1 -1
- 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 +15 -15
- package/dist/esm-es5/mds-note.entry.js +2 -2
- package/dist/esm-es5/mds-notification.entry.js +32 -6
- 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 +1 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
- package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
- package/dist/esm-es5/mds-pref-language.entry.js +1 -1
- package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
- package/dist/esm-es5/mds-pref-theme-item.entry.js +12 -5
- package/dist/esm-es5/mds-pref-theme.entry.js +13 -8
- package/dist/esm-es5/mds-pref.entry.js +1 -1
- 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 +2 -2
- package/dist/esm-es5/mds-quote.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
- 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 +2 -2
- package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
- 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 +2 -2
- 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 +4 -4
- 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 +12 -6
- 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 +2 -2
- package/dist/esm-es5/mds-tree-item.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/hydrate/index.js +368 -202
- package/dist/hydrate/index.mjs +368 -202
- package/dist/lint/core/data.d.ts +23 -0
- package/dist/lint/core/data.js +57 -0
- package/dist/lint/core/patterns.d.ts +497 -0
- package/dist/lint/core/patterns.js +1711 -0
- package/dist/lint/index.d.ts +1 -0
- package/dist/lint/index.js +1 -0
- package/dist/lint/mcp/checks.d.ts +17 -3
- package/dist/lint/mcp/checks.js +62 -12
- package/dist/lint/mcp/cli.js +6 -3
- package/dist/lint/mcp/components.js +11 -4
- package/dist/lint/mcp/context.d.ts +11 -2
- package/dist/lint/mcp/context.js +17 -3
- package/dist/lint/mcp/guides.js +58 -7
- package/dist/lint/mcp/icons.d.ts +6 -0
- package/dist/lint/mcp/icons.js +4 -4
- package/dist/lint/mcp/patterns.d.ts +75 -0
- package/dist/lint/mcp/patterns.js +347 -0
- package/dist/lint/mcp/protocol.d.ts +19 -1
- package/dist/lint/mcp/protocol.js +16 -3
- package/dist/lint/mcp/render-page.d.ts +40 -0
- package/dist/lint/mcp/render-page.js +360 -0
- package/dist/lint/mcp/render.d.ts +130 -0
- package/dist/lint/mcp/render.js +693 -0
- package/dist/lint/mcp/server.d.ts +2 -0
- package/dist/lint/mcp/server.js +9 -2
- package/dist/lint/mcp/tools.json +418 -6
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/p-0384db44.system.entry.js +26 -0
- package/dist/magma-components/p-03fb86a6.system.entry.js +7 -0
- package/dist/magma-components/p-05455645.system.entry.js +6 -0
- package/dist/magma-components/p-06691ab3.system.entry.js +27 -0
- package/dist/magma-components/p-074d7b75.entry.js +1 -0
- package/dist/magma-components/p-08da465d.entry.js +1 -0
- package/dist/magma-components/p-0a0dfdf4.system.entry.js +4 -0
- package/dist/magma-components/p-0c8f22dc.system.entry.js +5 -0
- package/dist/magma-components/p-0d3da482.system.entry.js +1 -0
- package/dist/magma-components/p-0d42ac4a.entry.js +1 -0
- package/dist/magma-components/p-0fc41e34.system.entry.js +1 -0
- package/dist/magma-components/p-10d52280.entry.js +1 -0
- package/dist/magma-components/p-11210b60.system.entry.js +24 -0
- package/dist/magma-components/p-12be0f43.system.entry.js +91 -0
- package/dist/magma-components/p-13cfc01a.entry.js +1 -0
- package/dist/magma-components/p-14122f2d.entry.js +1 -0
- package/dist/magma-components/p-1467ded5.system.entry.js +7 -0
- package/dist/magma-components/p-18244fd7.system.entry.js +35 -0
- package/dist/magma-components/p-18b27217.entry.js +1 -0
- package/dist/magma-components/p-1a20f239.system.entry.js +1 -0
- package/dist/magma-components/p-1f746ad1.system.entry.js +82 -0
- package/dist/magma-components/p-2111aa67.system.entry.js +1 -0
- package/dist/magma-components/p-21345ecc.entry.js +1 -0
- package/dist/magma-components/p-25dcbf22.entry.js +1 -0
- package/dist/magma-components/p-27254fbd.entry.js +1 -0
- package/dist/magma-components/p-299dab17.entry.js +1 -0
- package/dist/magma-components/p-29dd6d94.entry.js +1 -0
- package/dist/magma-components/p-2a445b98.system.entry.js +977 -0
- package/dist/magma-components/p-2d199db0.system.entry.js +25 -0
- package/dist/magma-components/p-2d2cdf0d.entry.js +1 -0
- package/dist/magma-components/p-2e68180d.system.entry.js +32 -0
- package/dist/magma-components/p-308a4ae5.system.entry.js +1 -0
- package/dist/magma-components/p-30f95d10.entry.js +1 -0
- package/dist/magma-components/p-34421ef2.system.entry.js +77 -0
- package/dist/magma-components/p-35c170ba.system.entry.js +17 -0
- package/dist/magma-components/p-37881115.system.entry.js +14 -0
- package/dist/magma-components/p-384d93dc.system.entry.js +1 -0
- package/dist/magma-components/p-387fa36d.system.entry.js +1 -0
- package/dist/magma-components/p-3af8a86a.system.entry.js +111 -0
- package/dist/magma-components/p-3b494de7.entry.js +1 -0
- package/dist/magma-components/p-3b578659.system.entry.js +48 -0
- package/dist/magma-components/p-3be9b384.system.entry.js +34 -0
- package/dist/magma-components/p-445198a1.entry.js +1 -0
- package/dist/magma-components/p-445bc62a.system.entry.js +1 -0
- package/dist/magma-components/p-45a3e7eb.entry.js +1 -0
- package/dist/magma-components/p-45b19935.system.entry.js +54 -0
- package/dist/magma-components/p-4606d11f.entry.js +1 -0
- package/dist/magma-components/p-4646cdc0.system.entry.js +17 -0
- package/dist/magma-components/p-4669334a.system.entry.js +3 -0
- package/dist/magma-components/p-46a928c3.entry.js +1 -0
- package/dist/magma-components/p-4748378e.system.entry.js +220 -0
- package/dist/magma-components/p-4da1c089.entry.js +1 -0
- package/dist/magma-components/p-4e5b8618.system.entry.js +1 -0
- package/dist/magma-components/p-4e8c5b68.entry.js +1 -0
- package/dist/magma-components/p-4f0153cd.entry.js +1 -0
- package/dist/magma-components/p-4f48c171.system.entry.js +1 -0
- package/dist/magma-components/p-4fc0e294.entry.js +1 -0
- package/dist/magma-components/p-4fd0fdb8.system.entry.js +61 -0
- package/dist/magma-components/p-5575f198.entry.js +1 -0
- package/dist/magma-components/p-5686da49.system.entry.js +13 -0
- package/dist/magma-components/p-56a25ec6.entry.js +1 -0
- package/dist/magma-components/p-57ee6e32.entry.js +1 -0
- package/dist/magma-components/p-5931fdfc.system.entry.js +41 -0
- package/dist/magma-components/p-5a8fa2d0.entry.js +1 -0
- package/dist/magma-components/p-5aa8f150.entry.js +1 -0
- package/dist/magma-components/p-5c8f408e.entry.js +1 -0
- package/dist/magma-components/p-5d1cba9c.system.entry.js +1 -0
- package/dist/magma-components/p-5d56a7cd.system.entry.js +47 -0
- package/dist/magma-components/p-60acbc5f.system.entry.js +31 -0
- package/dist/magma-components/p-60b21db7.entry.js +1 -0
- package/dist/magma-components/p-60d6e60f.entry.js +1 -0
- package/dist/magma-components/p-6129954d.system.entry.js +22 -0
- package/dist/magma-components/p-61e11cd0.system.entry.js +16 -0
- package/dist/magma-components/p-625de2e6.system.entry.js +24 -0
- package/dist/magma-components/p-627c2780.entry.js +1 -0
- package/dist/magma-components/p-6896786e.entry.js +1 -0
- package/dist/magma-components/p-69319301.system.entry.js +10 -0
- package/dist/magma-components/p-6a994dc1.entry.js +1 -0
- package/dist/magma-components/p-6c73689a.system.entry.js +25 -0
- package/dist/magma-components/p-6d009b42.system.entry.js +8 -0
- package/dist/magma-components/p-72971cf7.system.entry.js +7 -0
- package/dist/magma-components/p-741f8f45.system.entry.js +13 -0
- package/dist/magma-components/p-7837856f.entry.js +1 -0
- package/dist/magma-components/p-797c64f4.system.entry.js +19 -0
- package/dist/magma-components/p-7a920b70.entry.js +1 -0
- package/dist/magma-components/p-7b06b2f2.entry.js +1 -0
- package/dist/magma-components/p-7c055074.entry.js +1 -0
- package/dist/magma-components/p-7c3a7521.entry.js +1 -0
- package/dist/magma-components/p-7d61f442.entry.js +1 -0
- package/dist/magma-components/p-7ee31f2e.entry.js +1 -0
- package/dist/magma-components/p-7f418ae1.entry.js +1 -0
- package/dist/magma-components/p-7ff5552f.entry.js +1 -0
- package/dist/magma-components/p-81d2582a.entry.js +1 -0
- package/dist/magma-components/p-8239e526.system.entry.js +10 -0
- package/dist/magma-components/p-844bce77.entry.js +1 -0
- package/dist/magma-components/p-84aac233.entry.js +1 -0
- package/dist/magma-components/p-85376ff5.entry.js +1 -0
- package/dist/magma-components/p-85bf9c93.entry.js +1 -0
- package/dist/magma-components/p-86f11a5a.entry.js +1 -0
- package/dist/magma-components/p-8a8cad6c.system.entry.js +1 -0
- package/dist/magma-components/p-8aa4cd10.entry.js +1 -0
- package/dist/magma-components/p-8b8cd213.system.entry.js +49 -0
- package/dist/magma-components/p-8bf8e032.entry.js +1 -0
- package/dist/magma-components/p-8feba226.entry.js +1 -0
- package/dist/magma-components/p-90d50492.system.entry.js +4 -0
- package/dist/magma-components/p-9303fb16.system.entry.js +39 -0
- package/dist/magma-components/p-948ecde4.entry.js +8 -0
- package/dist/magma-components/p-95ddc950.system.entry.js +11 -0
- package/dist/magma-components/p-97217527.system.entry.js +1 -0
- package/dist/magma-components/p-97c6e10a.entry.js +1 -0
- package/dist/magma-components/p-98e167e8.system.entry.js +23 -0
- package/dist/magma-components/p-9a0f8eb1.entry.js +1 -0
- package/dist/magma-components/p-9c2b67fc.system.entry.js +40 -0
- package/dist/magma-components/p-9c784173.entry.js +1 -0
- package/dist/magma-components/p-9e07535e.system.entry.js +78 -0
- package/dist/magma-components/p-9e2b1a29.entry.js +1 -0
- package/dist/magma-components/p-9ed54db1.entry.js +1 -0
- package/dist/magma-components/p-9ef0d4e5.system.entry.js +7 -0
- package/dist/magma-components/p-9ef64212.entry.js +18 -0
- package/dist/magma-components/p-9f55fa7a.system.entry.js +51 -0
- package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
- package/dist/magma-components/p-a2e3a545.entry.js +1 -0
- package/dist/magma-components/p-a3156523.system.entry.js +98 -0
- package/dist/magma-components/p-a3d09996.entry.js +1 -0
- package/dist/magma-components/p-a65ce11a.system.entry.js +17 -0
- package/dist/magma-components/p-a8206d9c.entry.js +1 -0
- package/dist/magma-components/p-a9caed77.entry.js +1 -0
- package/dist/magma-components/p-aac622ef.system.entry.js +1 -0
- package/dist/magma-components/p-ac099ed6.entry.js +1 -0
- package/dist/magma-components/p-ac161cb5.entry.js +1 -0
- package/dist/magma-components/p-ad13ade5.system.entry.js +13 -0
- package/dist/magma-components/p-adab176e.system.entry.js +13 -0
- package/dist/magma-components/p-ae9735e4.system.entry.js +22 -0
- package/dist/magma-components/p-b0749f83.system.entry.js +10 -0
- package/dist/magma-components/p-b0850daa.entry.js +1 -0
- package/dist/magma-components/p-b2763352.entry.js +1 -0
- package/dist/magma-components/p-b30b487c.system.entry.js +55 -0
- package/dist/magma-components/p-b464668b.system.entry.js +105 -0
- package/dist/magma-components/p-b523fabe.system.entry.js +46 -0
- package/dist/magma-components/p-b61546fd.entry.js +1 -0
- package/dist/magma-components/p-b6412ddd.system.entry.js +1 -0
- package/dist/magma-components/p-b781c932.system.entry.js +7 -0
- package/dist/magma-components/p-b85f56d7.entry.js +1 -0
- package/dist/magma-components/p-b8f4938a.entry.js +1 -0
- package/dist/magma-components/p-bba4f1f0.system.entry.js +46 -0
- package/dist/magma-components/p-bc054ffa.system.entry.js +19 -0
- package/dist/magma-components/p-be2ca282.entry.js +1 -0
- package/dist/magma-components/p-c35ea44d.system.entry.js +12 -0
- package/dist/magma-components/p-c683cd13.entry.js +1 -0
- package/dist/magma-components/p-c7dc17f8.entry.js +1 -0
- package/dist/magma-components/p-c915fba5.system.entry.js +21 -0
- package/dist/magma-components/p-c9553777.entry.js +1 -0
- package/dist/magma-components/p-c9bd81c5.system.entry.js +225 -0
- package/dist/magma-components/p-ccffdf0b.system.entry.js +80 -0
- package/dist/magma-components/p-cd6dd836.entry.js +1 -0
- package/dist/magma-components/p-cf42d6ea.system.entry.js +9 -0
- package/dist/magma-components/p-cfbf3a76.system.entry.js +23 -0
- package/dist/magma-components/p-d29c959d.entry.js +1 -0
- package/dist/magma-components/p-d360e4c5.entry.js +1 -0
- package/dist/magma-components/p-d43e2a9a.entry.js +1 -0
- package/dist/magma-components/p-d50d4023.entry.js +1 -0
- package/dist/magma-components/p-d81fcbde.system.entry.js +20 -0
- package/dist/magma-components/p-d85f3e5e.system.entry.js +16 -0
- package/dist/magma-components/p-dcb5f965.entry.js +1 -0
- package/dist/magma-components/p-ddfb4da3.entry.js +1 -0
- package/dist/magma-components/p-e0049e96.system.entry.js +33 -0
- package/dist/magma-components/p-e059aaa9.entry.js +1 -0
- package/dist/magma-components/p-e428490d.system.entry.js +5 -0
- package/dist/magma-components/p-e79eb427.system.entry.js +7 -0
- package/dist/magma-components/p-e7f717ab.entry.js +1 -0
- package/dist/magma-components/p-e92327a2.entry.js +1 -0
- package/dist/magma-components/p-ecc2893d.system.entry.js +24 -0
- package/dist/magma-components/p-ed4fd7a4.entry.js +1 -0
- package/dist/magma-components/p-ef1bdd44.entry.js +1 -0
- package/dist/magma-components/p-efe27253.system.entry.js +27 -0
- package/dist/magma-components/p-f09f3fe1.system.entry.js +52 -0
- package/dist/magma-components/p-f181c679.system.entry.js +16 -0
- package/dist/magma-components/p-f22b8091.entry.js +1 -0
- package/dist/magma-components/p-f493fdc3.entry.js +1 -0
- package/dist/magma-components/p-f5d9f625.entry.js +1 -0
- package/dist/magma-components/p-f7426a75.entry.js +1 -0
- package/dist/magma-components/p-fa387b74.system.entry.js +5 -0
- package/dist/magma-components/p-fae9612b.system.entry.js +27 -0
- package/dist/magma-components/p-fbf563c8.entry.js +1 -0
- package/dist/magma-components/p-fd81c4ef.system.entry.js +29 -0
- package/dist/magma-components/p-fdedc0ba.entry.js +1 -0
- package/dist/magma-components/p-ff65fc97.entry.js +1 -0
- package/dist/magma-components/p-ff82edad.entry.js +1 -0
- package/dist/magma-components/p-fff26731.system.entry.js +15 -0
- package/dist/stats.json +1292 -1091
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +4 -1
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +4 -1
- package/dist/types/components/mds-book/mds-book.d.ts +6 -2
- package/dist/types/components/mds-book/meta/types.d.ts +1 -1
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +6 -0
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-notification/mds-notification.d.ts +23 -0
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +9 -2
- package/dist/types/components/mds-text/mds-text.d.ts +8 -5
- package/dist/types/components/mds-text/meta/dictionary.d.ts +2 -1
- package/dist/types/components/mds-text/meta/types.d.ts +5 -0
- package/dist/types/components/mds-text/meta/variants.d.ts +35 -0
- package/dist/types/components.d.ts +52 -19
- package/package.json +27 -18
- package/agents/anti-patterns.md +0 -42
- package/dist/collection/components/mds-accordion/antipattern.md +0 -122
- package/dist/collection/components/mds-accordion/pattern.md +0 -147
- package/dist/collection/components/mds-accordion-item/antipattern.md +0 -137
- package/dist/collection/components/mds-accordion-item/pattern.md +0 -154
- package/dist/collection/components/mds-accordion-timer/antipattern.md +0 -135
- package/dist/collection/components/mds-accordion-timer/pattern.md +0 -137
- package/dist/collection/components/mds-accordion-timer-item/antipattern.md +0 -142
- package/dist/collection/components/mds-accordion-timer-item/pattern.md +0 -132
- package/dist/collection/components/mds-author/antipattern.md +0 -106
- package/dist/collection/components/mds-author/pattern.md +0 -101
- package/dist/collection/components/mds-avatar/antipattern.md +0 -96
- package/dist/collection/components/mds-avatar/pattern.md +0 -118
- package/dist/collection/components/mds-avatar-stack/antipattern.md +0 -121
- package/dist/collection/components/mds-avatar-stack/pattern.md +0 -122
- package/dist/collection/components/mds-avatar-stack-item/antipattern.md +0 -113
- package/dist/collection/components/mds-avatar-stack-item/pattern.md +0 -104
- package/dist/collection/components/mds-badge/antipattern.md +0 -103
- package/dist/collection/components/mds-badge/pattern.md +0 -126
- package/dist/collection/components/mds-banner/antipattern.md +0 -140
- package/dist/collection/components/mds-banner/pattern.md +0 -175
- package/dist/collection/components/mds-benchmark-bar/antipattern.md +0 -77
- package/dist/collection/components/mds-benchmark-bar/pattern.md +0 -102
- package/dist/collection/components/mds-bibliography/antipattern.md +0 -128
- package/dist/collection/components/mds-bibliography/pattern.md +0 -140
- package/dist/collection/components/mds-book/antipattern.md +0 -88
- package/dist/collection/components/mds-book/pattern.md +0 -125
- package/dist/collection/components/mds-breadcrumb/antipattern.md +0 -112
- package/dist/collection/components/mds-breadcrumb/pattern.md +0 -100
- package/dist/collection/components/mds-breadcrumb-item/antipattern.md +0 -109
- package/dist/collection/components/mds-breadcrumb-item/pattern.md +0 -83
- package/dist/collection/components/mds-button/antipattern.md +0 -160
- package/dist/collection/components/mds-button/pattern.md +0 -211
- package/dist/collection/components/mds-button-dropdown/antipattern.md +0 -158
- package/dist/collection/components/mds-button-dropdown/pattern.md +0 -171
- package/dist/collection/components/mds-button-group/antipattern.md +0 -105
- package/dist/collection/components/mds-button-group/pattern.md +0 -89
- package/dist/collection/components/mds-calendar/antipattern.md +0 -113
- package/dist/collection/components/mds-calendar/pattern.md +0 -127
- package/dist/collection/components/mds-calendar-cell/antipattern.md +0 -58
- package/dist/collection/components/mds-calendar-cell/pattern.md +0 -83
- package/dist/collection/components/mds-card/antipattern.md +0 -133
- package/dist/collection/components/mds-card/pattern.md +0 -161
- package/dist/collection/components/mds-card-content/antipattern.md +0 -110
- package/dist/collection/components/mds-card-content/pattern.md +0 -91
- package/dist/collection/components/mds-card-footer/antipattern.md +0 -112
- package/dist/collection/components/mds-card-footer/pattern.md +0 -95
- package/dist/collection/components/mds-card-header/antipattern.md +0 -114
- package/dist/collection/components/mds-card-header/pattern.md +0 -143
- package/dist/collection/components/mds-card-media/antipattern.md +0 -128
- package/dist/collection/components/mds-card-media/pattern.md +0 -93
- package/dist/collection/components/mds-chip/antipattern.md +0 -118
- package/dist/collection/components/mds-chip/pattern.md +0 -164
- package/dist/collection/components/mds-details/antipattern.md +0 -124
- package/dist/collection/components/mds-details/pattern.md +0 -136
- package/dist/collection/components/mds-dropdown/antipattern.md +0 -137
- package/dist/collection/components/mds-dropdown/pattern.md +0 -201
- package/dist/collection/components/mds-emoji/antipattern.md +0 -116
- package/dist/collection/components/mds-emoji/pattern.md +0 -203
- package/dist/collection/components/mds-entity/antipattern.md +0 -119
- package/dist/collection/components/mds-entity/pattern.md +0 -132
- package/dist/collection/components/mds-file/antipattern.md +0 -91
- package/dist/collection/components/mds-file/pattern.md +0 -107
- package/dist/collection/components/mds-file-preview/antipattern.md +0 -129
- package/dist/collection/components/mds-file-preview/pattern.md +0 -163
- package/dist/collection/components/mds-filter/antipattern.md +0 -140
- package/dist/collection/components/mds-filter/pattern.md +0 -156
- package/dist/collection/components/mds-filter-item/antipattern.md +0 -127
- package/dist/collection/components/mds-filter-item/pattern.md +0 -123
- package/dist/collection/components/mds-header/antipattern.md +0 -120
- package/dist/collection/components/mds-header/pattern.md +0 -180
- package/dist/collection/components/mds-header-bar/antipattern.md +0 -117
- package/dist/collection/components/mds-header-bar/pattern.md +0 -138
- package/dist/collection/components/mds-help/antipattern.md +0 -73
- package/dist/collection/components/mds-help/pattern.md +0 -106
- package/dist/collection/components/mds-horizontal-scroll/antipattern.md +0 -120
- package/dist/collection/components/mds-horizontal-scroll/pattern.md +0 -143
- package/dist/collection/components/mds-hr/antipattern.md +0 -84
- package/dist/collection/components/mds-hr/pattern.md +0 -88
- package/dist/collection/components/mds-icon/antipattern.md +0 -118
- package/dist/collection/components/mds-icon/pattern.md +0 -135
- package/dist/collection/components/mds-img/antipattern.md +0 -106
- package/dist/collection/components/mds-img/pattern.md +0 -125
- package/dist/collection/components/mds-input/antipattern.md +0 -128
- package/dist/collection/components/mds-input/pattern.md +0 -265
- package/dist/collection/components/mds-input-date/antipattern.md +0 -107
- package/dist/collection/components/mds-input-date/pattern.md +0 -157
- package/dist/collection/components/mds-input-date-range/antipattern.md +0 -168
- package/dist/collection/components/mds-input-date-range/pattern.md +0 -121
- package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +0 -152
- package/dist/collection/components/mds-input-date-range-preselection/pattern.md +0 -91
- package/dist/collection/components/mds-input-field/antipattern.md +0 -115
- package/dist/collection/components/mds-input-field/pattern.md +0 -95
- package/dist/collection/components/mds-input-otp/antipattern.md +0 -105
- package/dist/collection/components/mds-input-otp/pattern.md +0 -107
- package/dist/collection/components/mds-input-range/antipattern.md +0 -123
- package/dist/collection/components/mds-input-range/pattern.md +0 -100
- package/dist/collection/components/mds-input-select/antipattern.md +0 -126
- package/dist/collection/components/mds-input-select/pattern.md +0 -166
- package/dist/collection/components/mds-input-switch/antipattern.md +0 -116
- package/dist/collection/components/mds-input-switch/pattern.md +0 -124
- package/dist/collection/components/mds-input-tip/antipattern.md +0 -112
- package/dist/collection/components/mds-input-tip/pattern.md +0 -122
- package/dist/collection/components/mds-input-tip-item/antipattern.md +0 -98
- package/dist/collection/components/mds-input-tip-item/pattern.md +0 -106
- package/dist/collection/components/mds-input-upload/antipattern.md +0 -143
- package/dist/collection/components/mds-input-upload/pattern.md +0 -161
- package/dist/collection/components/mds-keyboard/antipattern.md +0 -111
- package/dist/collection/components/mds-keyboard/pattern.md +0 -128
- package/dist/collection/components/mds-keyboard-key/antipattern.md +0 -116
- package/dist/collection/components/mds-keyboard-key/pattern.md +0 -87
- package/dist/collection/components/mds-kpi/antipattern.md +0 -93
- package/dist/collection/components/mds-kpi/pattern.md +0 -112
- package/dist/collection/components/mds-kpi-item/antipattern.md +0 -117
- package/dist/collection/components/mds-kpi-item/pattern.md +0 -117
- package/dist/collection/components/mds-label/antipattern.md +0 -92
- package/dist/collection/components/mds-label/pattern.md +0 -109
- package/dist/collection/components/mds-link/antipattern.md +0 -96
- package/dist/collection/components/mds-link/pattern.md +0 -100
- package/dist/collection/components/mds-list/antipattern.md +0 -117
- package/dist/collection/components/mds-list/pattern.md +0 -104
- package/dist/collection/components/mds-list-item/antipattern.md +0 -118
- package/dist/collection/components/mds-list-item/pattern.md +0 -112
- package/dist/collection/components/mds-mention/antipattern.md +0 -86
- package/dist/collection/components/mds-mention/pattern.md +0 -89
- package/dist/collection/components/mds-modal/antipattern.md +0 -94
- package/dist/collection/components/mds-modal/pattern.md +0 -224
- package/dist/collection/components/mds-note/antipattern.md +0 -99
- package/dist/collection/components/mds-note/pattern.md +0 -107
- package/dist/collection/components/mds-notification/antipattern.md +0 -86
- package/dist/collection/components/mds-notification/pattern.md +0 -96
- package/dist/collection/components/mds-paginator/antipattern.md +0 -96
- package/dist/collection/components/mds-paginator/pattern.md +0 -98
- package/dist/collection/components/mds-paginator-item/antipattern.md +0 -96
- package/dist/collection/components/mds-paginator-item/pattern.md +0 -76
- package/dist/collection/components/mds-policy-ai/antipattern.md +0 -97
- package/dist/collection/components/mds-policy-ai/pattern.md +0 -107
- package/dist/collection/components/mds-pref/antipattern.md +0 -85
- package/dist/collection/components/mds-pref/pattern.md +0 -93
- package/dist/collection/components/mds-pref-animation/antipattern.md +0 -67
- package/dist/collection/components/mds-pref-animation/pattern.md +0 -86
- package/dist/collection/components/mds-pref-consumption/antipattern.md +0 -84
- package/dist/collection/components/mds-pref-consumption/pattern.md +0 -69
- package/dist/collection/components/mds-pref-contrast/antipattern.md +0 -71
- package/dist/collection/components/mds-pref-contrast/pattern.md +0 -82
- package/dist/collection/components/mds-pref-language/antipattern.md +0 -130
- package/dist/collection/components/mds-pref-language/pattern.md +0 -104
- package/dist/collection/components/mds-pref-language-item/antipattern.md +0 -99
- package/dist/collection/components/mds-pref-language-item/pattern.md +0 -85
- package/dist/collection/components/mds-pref-mode/antipattern.md +0 -103
- package/dist/collection/components/mds-pref-mode/pattern.md +0 -92
- package/dist/collection/components/mds-pref-theme/antipattern.md +0 -104
- package/dist/collection/components/mds-pref-theme/pattern.md +0 -96
- package/dist/collection/components/mds-pref-theme-item/antipattern.md +0 -97
- package/dist/collection/components/mds-pref-theme-item/pattern.md +0 -94
- package/dist/collection/components/mds-price-table/antipattern.md +0 -131
- package/dist/collection/components/mds-price-table/pattern.md +0 -182
- package/dist/collection/components/mds-price-table-features/antipattern.md +0 -151
- package/dist/collection/components/mds-price-table-features/pattern.md +0 -156
- package/dist/collection/components/mds-price-table-features-cell/antipattern.md +0 -105
- package/dist/collection/components/mds-price-table-features-cell/pattern.md +0 -123
- package/dist/collection/components/mds-price-table-features-row/antipattern.md +0 -135
- package/dist/collection/components/mds-price-table-features-row/pattern.md +0 -123
- package/dist/collection/components/mds-price-table-header/antipattern.md +0 -133
- package/dist/collection/components/mds-price-table-header/pattern.md +0 -176
- package/dist/collection/components/mds-price-table-list/antipattern.md +0 -130
- package/dist/collection/components/mds-price-table-list/pattern.md +0 -139
- package/dist/collection/components/mds-price-table-list-item/antipattern.md +0 -86
- package/dist/collection/components/mds-price-table-list-item/pattern.md +0 -108
- package/dist/collection/components/mds-progress/antipattern.md +0 -94
- package/dist/collection/components/mds-progress/pattern.md +0 -140
- package/dist/collection/components/mds-push-notification/antipattern.md +0 -154
- package/dist/collection/components/mds-push-notification/pattern.md +0 -200
- package/dist/collection/components/mds-push-notification-item/antipattern.md +0 -129
- package/dist/collection/components/mds-push-notification-item/pattern.md +0 -198
- package/dist/collection/components/mds-quote/antipattern.md +0 -122
- package/dist/collection/components/mds-quote/pattern.md +0 -108
- package/dist/collection/components/mds-radial-menu/antipattern.md +0 -104
- package/dist/collection/components/mds-radial-menu/pattern.md +0 -159
- package/dist/collection/components/mds-radial-menu-item/antipattern.md +0 -108
- package/dist/collection/components/mds-radial-menu-item/pattern.md +0 -96
- package/dist/collection/components/mds-radial-progress/antipattern.md +0 -106
- package/dist/collection/components/mds-radial-progress/pattern.md +0 -144
- package/dist/collection/components/mds-separator/antipattern.md +0 -98
- package/dist/collection/components/mds-separator/pattern.md +0 -82
- package/dist/collection/components/mds-spinner/antipattern.md +0 -93
- package/dist/collection/components/mds-spinner/pattern.md +0 -105
- package/dist/collection/components/mds-status-bar/antipattern.md +0 -127
- package/dist/collection/components/mds-status-bar/pattern.md +0 -121
- package/dist/collection/components/mds-stepper-bar/antipattern.md +0 -123
- package/dist/collection/components/mds-stepper-bar/pattern.md +0 -178
- package/dist/collection/components/mds-stepper-bar-item/antipattern.md +0 -115
- package/dist/collection/components/mds-stepper-bar-item/pattern.md +0 -200
- package/dist/collection/components/mds-tab/antipattern.md +0 -189
- package/dist/collection/components/mds-tab/pattern.md +0 -232
- package/dist/collection/components/mds-tab-bar/antipattern.md +0 -105
- package/dist/collection/components/mds-tab-bar/pattern.md +0 -87
- package/dist/collection/components/mds-tab-bar-item/antipattern.md +0 -116
- package/dist/collection/components/mds-tab-bar-item/pattern.md +0 -108
- package/dist/collection/components/mds-tab-item/antipattern.md +0 -159
- package/dist/collection/components/mds-tab-item/pattern.md +0 -174
- package/dist/collection/components/mds-table/antipattern.md +0 -169
- package/dist/collection/components/mds-table/pattern.md +0 -317
- package/dist/collection/components/mds-table-body/antipattern.md +0 -117
- package/dist/collection/components/mds-table-body/pattern.md +0 -151
- package/dist/collection/components/mds-table-cell/antipattern.md +0 -100
- package/dist/collection/components/mds-table-cell/pattern.md +0 -168
- package/dist/collection/components/mds-table-footer/antipattern.md +0 -114
- package/dist/collection/components/mds-table-footer/pattern.md +0 -115
- package/dist/collection/components/mds-table-header/antipattern.md +0 -157
- package/dist/collection/components/mds-table-header/pattern.md +0 -158
- package/dist/collection/components/mds-table-header-cell/antipattern.md +0 -115
- package/dist/collection/components/mds-table-header-cell/pattern.md +0 -166
- package/dist/collection/components/mds-table-row/antipattern.md +0 -141
- package/dist/collection/components/mds-table-row/pattern.md +0 -166
- package/dist/collection/components/mds-text/antipattern.md +0 -112
- package/dist/collection/components/mds-text/pattern.md +0 -138
- package/dist/collection/components/mds-toast/antipattern.md +0 -149
- package/dist/collection/components/mds-toast/pattern.md +0 -174
- package/dist/collection/components/mds-toast-region/antipattern.md +0 -62
- package/dist/collection/components/mds-toast-region/pattern.md +0 -90
- package/dist/collection/components/mds-tooltip/antipattern.md +0 -122
- package/dist/collection/components/mds-tooltip/pattern.md +0 -135
- package/dist/collection/components/mds-tree/antipattern.md +0 -152
- package/dist/collection/components/mds-tree/pattern.md +0 -196
- package/dist/collection/components/mds-tree-item/antipattern.md +0 -148
- package/dist/collection/components/mds-tree-item/pattern.md +0 -197
- package/dist/collection/components/mds-url-view/antipattern.md +0 -106
- package/dist/collection/components/mds-url-view/pattern.md +0 -105
- package/dist/collection/components/mds-usage/antipattern.md +0 -105
- package/dist/collection/components/mds-usage/pattern.md +0 -131
- package/dist/collection/components/mds-video-wall/antipattern.md +0 -97
- package/dist/collection/components/mds-video-wall/pattern.md +0 -99
- package/dist/collection/components/mds-zero/antipattern.md +0 -106
- package/dist/collection/components/mds-zero/pattern.md +0 -118
- package/dist/components/p-BBO_llcO.js +0 -1
- package/dist/components/p-BM7joOdq.js +0 -1
- package/dist/components/p-BMIaZ4HY.js +0 -1
- package/dist/components/p-BOJQ3tkp.js +0 -1
- package/dist/components/p-BU1O2DcC.js +0 -1
- package/dist/components/p-BeZGLnJJ.js +0 -1
- package/dist/components/p-Bo6ezD1p.js +0 -1
- package/dist/components/p-C0H8bZpf.js +0 -1
- package/dist/components/p-C1YH20BL.js +0 -1
- package/dist/components/p-CEw7GvM-.js +0 -1
- package/dist/components/p-CNUWS_Mg.js +0 -1
- package/dist/components/p-CV7wjM1c.js +0 -1
- package/dist/components/p-CWSIl1jl.js +0 -1
- package/dist/components/p-Chk4rI7N.js +0 -1
- package/dist/components/p-Cwg4vtOr.js +0 -1
- package/dist/components/p-Czqtt8kO.js +0 -1
- package/dist/components/p-DD2muCqG.js +0 -1
- package/dist/components/p-DDTJwlAd.js +0 -1
- package/dist/components/p-DJ401QTd.js +0 -1
- package/dist/components/p-DMyL4CYh.js +0 -1
- package/dist/components/p-DccBbfK8.js +0 -1
- package/dist/components/p-Dzkiu-es.js +0 -1
- package/dist/components/p-H0YXZ5fD.js +0 -8
- package/dist/components/p-IaXq1Xsc.js +0 -1
- package/dist/components/p-M8dGB4KH.js +0 -1
- package/dist/components/p-TNn_HE5x.js +0 -1
- package/dist/components/p-aujz-VM9.js +0 -1
- package/dist/components/p-e9NGNm7d.js +0 -1
- package/dist/components/p-kZBPId_x.js +0 -1
- package/dist/components/p-qnCVkeGX.js +0 -1
- package/dist/magma-components/p-00aa9a51.entry.js +0 -1
- package/dist/magma-components/p-00acb2e1.system.entry.js +0 -10
- package/dist/magma-components/p-037126b7.system.entry.js +0 -21
- package/dist/magma-components/p-03da0376.system.entry.js +0 -1
- package/dist/magma-components/p-05ef91a5.entry.js +0 -1
- package/dist/magma-components/p-09c80fdb.entry.js +0 -1
- package/dist/magma-components/p-0b0ca53c.entry.js +0 -1
- package/dist/magma-components/p-0babf674.system.entry.js +0 -98
- package/dist/magma-components/p-0d90c991.entry.js +0 -1
- package/dist/magma-components/p-103465cf.entry.js +0 -1
- package/dist/magma-components/p-10983da0.entry.js +0 -1
- package/dist/magma-components/p-154ba354.system.entry.js +0 -29
- package/dist/magma-components/p-1685e74c.system.entry.js +0 -33
- package/dist/magma-components/p-1748ca8b.system.entry.js +0 -1
- package/dist/magma-components/p-17a43cb6.system.entry.js +0 -16
- package/dist/magma-components/p-1b415625.system.entry.js +0 -46
- package/dist/magma-components/p-1c00d0f7.entry.js +0 -1
- package/dist/magma-components/p-1cd75adf.system.entry.js +0 -14
- package/dist/magma-components/p-2006cfeb.entry.js +0 -1
- package/dist/magma-components/p-2216f207.system.entry.js +0 -35
- package/dist/magma-components/p-25c07b67.system.entry.js +0 -4
- package/dist/magma-components/p-29fbb7cf.entry.js +0 -1
- package/dist/magma-components/p-2a26b614.entry.js +0 -1
- package/dist/magma-components/p-2a6c2a41.entry.js +0 -1
- package/dist/magma-components/p-2c28056d.entry.js +0 -1
- package/dist/magma-components/p-2c5e5cd1.entry.js +0 -1
- package/dist/magma-components/p-2c7d091e.system.entry.js +0 -14
- package/dist/magma-components/p-2c997b47.entry.js +0 -1
- package/dist/magma-components/p-2f39f4e4.entry.js +0 -1
- package/dist/magma-components/p-31370fdb.system.entry.js +0 -22
- package/dist/magma-components/p-32418266.entry.js +0 -1
- package/dist/magma-components/p-33c80de3.system.entry.js +0 -1
- package/dist/magma-components/p-34c0e63c.system.entry.js +0 -6
- package/dist/magma-components/p-35c6341a.system.entry.js +0 -17
- package/dist/magma-components/p-379f51a6.entry.js +0 -1
- package/dist/magma-components/p-381f49ea.entry.js +0 -1
- package/dist/magma-components/p-384ab014.entry.js +0 -1
- package/dist/magma-components/p-39a2df98.system.entry.js +0 -4
- package/dist/magma-components/p-3a9a75e5.entry.js +0 -1
- package/dist/magma-components/p-3b691cc3.entry.js +0 -1
- package/dist/magma-components/p-3bc65166.system.entry.js +0 -215
- package/dist/magma-components/p-3bdb541f.system.entry.js +0 -46
- package/dist/magma-components/p-3ca004c3.entry.js +0 -1
- package/dist/magma-components/p-3caf6a26.entry.js +0 -1
- package/dist/magma-components/p-3dccd446.entry.js +0 -1
- package/dist/magma-components/p-3dde41b0.system.entry.js +0 -27
- package/dist/magma-components/p-3e8e0003.system.entry.js +0 -7
- package/dist/magma-components/p-425ca155.entry.js +0 -1
- package/dist/magma-components/p-42ab27de.entry.js +0 -1
- package/dist/magma-components/p-430a4c4b.system.entry.js +0 -19
- package/dist/magma-components/p-47b05fa1.system.entry.js +0 -8
- package/dist/magma-components/p-47db3155.entry.js +0 -1
- package/dist/magma-components/p-48f86057.system.entry.js +0 -1
- package/dist/magma-components/p-4aa94380.entry.js +0 -1
- package/dist/magma-components/p-4ab2eb7e.entry.js +0 -1
- package/dist/magma-components/p-4bea91e1.system.entry.js +0 -1
- package/dist/magma-components/p-4de89d1b.entry.js +0 -1
- package/dist/magma-components/p-50c8f36c.system.entry.js +0 -1
- package/dist/magma-components/p-5200ab23.system.entry.js +0 -5
- package/dist/magma-components/p-523f0c30.system.entry.js +0 -80
- package/dist/magma-components/p-5306606b.entry.js +0 -1
- package/dist/magma-components/p-53981624.system.entry.js +0 -13
- package/dist/magma-components/p-53acdc6b.entry.js +0 -1
- package/dist/magma-components/p-5660182a.system.entry.js +0 -1
- package/dist/magma-components/p-56c5ca6f.entry.js +0 -1
- package/dist/magma-components/p-57e92942.system.entry.js +0 -20
- package/dist/magma-components/p-59f06b9c.entry.js +0 -1
- package/dist/magma-components/p-5aa78075.system.entry.js +0 -111
- package/dist/magma-components/p-5cf87a7f.entry.js +0 -1
- package/dist/magma-components/p-5e8df58d.entry.js +0 -1
- package/dist/magma-components/p-5ed74216.system.entry.js +0 -1
- package/dist/magma-components/p-5f064376.system.entry.js +0 -7
- package/dist/magma-components/p-60727165.entry.js +0 -8
- package/dist/magma-components/p-6093aa8e.entry.js +0 -1
- package/dist/magma-components/p-62d9eaca.entry.js +0 -1
- package/dist/magma-components/p-6b402a09.system.entry.js +0 -73
- package/dist/magma-components/p-6b55c5fe.system.entry.js +0 -1
- package/dist/magma-components/p-6d57674c.system.entry.js +0 -52
- package/dist/magma-components/p-6df7da52.system.entry.js +0 -24
- package/dist/magma-components/p-6e751bcc.system.entry.js +0 -7
- package/dist/magma-components/p-718d6384.system.entry.js +0 -34
- package/dist/magma-components/p-71dab494.system.entry.js +0 -40
- package/dist/magma-components/p-732d09b6.entry.js +0 -1
- package/dist/magma-components/p-73f4f67e.entry.js +0 -1
- package/dist/magma-components/p-785fa112.entry.js +0 -1
- package/dist/magma-components/p-798f460b.system.entry.js +0 -31
- package/dist/magma-components/p-7acbc6ea.system.entry.js +0 -45
- package/dist/magma-components/p-7db14777.system.entry.js +0 -32
- package/dist/magma-components/p-7dd0364b.entry.js +0 -1
- package/dist/magma-components/p-7ec28ff1.system.entry.js +0 -48
- package/dist/magma-components/p-7f74ec99.entry.js +0 -1
- package/dist/magma-components/p-7ffce9e8.system.entry.js +0 -22
- package/dist/magma-components/p-8219e58f.system.entry.js +0 -9
- package/dist/magma-components/p-84711ab6.system.entry.js +0 -11
- package/dist/magma-components/p-84bf333b.entry.js +0 -1
- package/dist/magma-components/p-857ae762.entry.js +0 -1
- package/dist/magma-components/p-8641b7b2.entry.js +0 -1
- package/dist/magma-components/p-87395a4d.system.entry.js +0 -35
- package/dist/magma-components/p-896310aa.system.entry.js +0 -5
- package/dist/magma-components/p-8d7093af.entry.js +0 -1
- package/dist/magma-components/p-8e15c151.system.entry.js +0 -1
- package/dist/magma-components/p-8f1c529f.entry.js +0 -1
- package/dist/magma-components/p-8f1e9021.system.entry.js +0 -91
- package/dist/magma-components/p-904c1222.entry.js +0 -1
- package/dist/magma-components/p-907f06cd.system.entry.js +0 -105
- package/dist/magma-components/p-9332358d.entry.js +0 -1
- package/dist/magma-components/p-93b9d39d.system.entry.js +0 -19
- package/dist/magma-components/p-95ccf46d.system.entry.js +0 -54
- package/dist/magma-components/p-965e7a82.system.entry.js +0 -15
- package/dist/magma-components/p-968a2237.entry.js +0 -1
- package/dist/magma-components/p-96dfb60e.system.entry.js +0 -1
- package/dist/magma-components/p-9c408768.system.entry.js +0 -1
- package/dist/magma-components/p-9dd9eadd.entry.js +0 -1
- package/dist/magma-components/p-9e792bed.system.entry.js +0 -1
- package/dist/magma-components/p-9fdd477a.entry.js +0 -1
- package/dist/magma-components/p-9fefa077.system.entry.js +0 -1
- package/dist/magma-components/p-a0d637b6.system.entry.js +0 -17
- package/dist/magma-components/p-a25327a1.entry.js +0 -18
- package/dist/magma-components/p-a26c05b6.entry.js +0 -1
- package/dist/magma-components/p-a67381bf.entry.js +0 -1
- package/dist/magma-components/p-a7baf451.system.entry.js +0 -7
- package/dist/magma-components/p-ac9feb04.entry.js +0 -1
- package/dist/magma-components/p-ad383f92.entry.js +0 -1
- package/dist/magma-components/p-ae4736a0.system.entry.js +0 -55
- package/dist/magma-components/p-b27cb1ac.system.entry.js +0 -975
- package/dist/magma-components/p-b3332c5f.entry.js +0 -1
- package/dist/magma-components/p-b3e2b68a.system.entry.js +0 -10
- package/dist/magma-components/p-b86144d4.entry.js +0 -1
- package/dist/magma-components/p-bbde5701.system.entry.js +0 -13
- package/dist/magma-components/p-bc075b3b.system.entry.js +0 -22
- package/dist/magma-components/p-bc19b136.entry.js +0 -1
- package/dist/magma-components/p-bcca26d9.entry.js +0 -1
- package/dist/magma-components/p-bf35627d.entry.js +0 -1
- package/dist/magma-components/p-c086a5a4.system.entry.js +0 -23
- package/dist/magma-components/p-c27206ca.entry.js +0 -1
- package/dist/magma-components/p-c4a5ab6e.system.entry.js +0 -23
- package/dist/magma-components/p-c58157cf.entry.js +0 -1
- package/dist/magma-components/p-c597ad47.entry.js +0 -1
- package/dist/magma-components/p-c7b2ebb5.entry.js +0 -1
- package/dist/magma-components/p-c89060ec.system.entry.js +0 -41
- package/dist/magma-components/p-c8b06821.system.entry.js +0 -12
- package/dist/magma-components/p-ca1143bc.entry.js +0 -1
- package/dist/magma-components/p-cb88fa71.entry.js +0 -1
- package/dist/magma-components/p-cd783f9e.system.entry.js +0 -27
- package/dist/magma-components/p-cd955bc7.system.entry.js +0 -16
- package/dist/magma-components/p-ce42e251.entry.js +0 -1
- package/dist/magma-components/p-cf4f4561.entry.js +0 -1
- package/dist/magma-components/p-d0a15a3a.system.entry.js +0 -82
- package/dist/magma-components/p-d218ae47.entry.js +0 -1
- package/dist/magma-components/p-d331ff5c.entry.js +0 -1
- package/dist/magma-components/p-d3844c9a.system.entry.js +0 -25
- package/dist/magma-components/p-d3ac9a1a.entry.js +0 -1
- package/dist/magma-components/p-d4c3250f.system.entry.js +0 -47
- package/dist/magma-components/p-d638bbb0.entry.js +0 -1
- package/dist/magma-components/p-d65e9f0a.system.entry.js +0 -10
- package/dist/magma-components/p-d87ecd68.entry.js +0 -1
- package/dist/magma-components/p-d93b48b4.system.entry.js +0 -4
- package/dist/magma-components/p-d94281cb.entry.js +0 -1
- package/dist/magma-components/p-d9f92ff8.entry.js +0 -1
- package/dist/magma-components/p-da9bc02a.entry.js +0 -1
- package/dist/magma-components/p-dc618cae.entry.js +0 -1
- package/dist/magma-components/p-de38f745.entry.js +0 -1
- package/dist/magma-components/p-dee123c7.system.entry.js +0 -39
- package/dist/magma-components/p-e30d0684.system.entry.js +0 -16
- package/dist/magma-components/p-e371f9e1.system.entry.js +0 -5
- package/dist/magma-components/p-e3d262d9.system.entry.js +0 -13
- package/dist/magma-components/p-e54587e7.system.entry.js +0 -49
- package/dist/magma-components/p-e709a52e.system.entry.js +0 -25
- package/dist/magma-components/p-ea503851.entry.js +0 -1
- package/dist/magma-components/p-eb12be86.system.entry.js +0 -24
- package/dist/magma-components/p-ebeb3fff.entry.js +0 -1
- package/dist/magma-components/p-ec44a4ea.system.entry.js +0 -77
- package/dist/magma-components/p-ed133270.entry.js +0 -1
- package/dist/magma-components/p-ef4ee9ca.entry.js +0 -1
- package/dist/magma-components/p-f267ff68.entry.js +0 -1
- package/dist/magma-components/p-f27de6cb.system.entry.js +0 -26
- package/dist/magma-components/p-f2ef884c.entry.js +0 -1
- package/dist/magma-components/p-f3f88f32.entry.js +0 -1
- package/dist/magma-components/p-f4181b35.entry.js +0 -1
- package/dist/magma-components/p-f4351160.entry.js +0 -1
- package/dist/magma-components/p-f5c7b147.system.entry.js +0 -17
- package/dist/magma-components/p-f7d5445c.system.entry.js +0 -7
- package/dist/magma-components/p-f8c85ad7.system.entry.js +0 -1
- package/dist/magma-components/p-f9b601de.entry.js +0 -1
- package/dist/magma-components/p-fa44d0d2.entry.js +0 -1
- package/dist/magma-components/p-fe8e3721.system.entry.js +0 -225
- package/dist/magma-components/p-fe98a77e.system.entry.js +0 -13
- package/dist/magma-components/p-ff7fc1f6.system.entry.js +0 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
System.register(["./p-BZP13mns.system.js","./p-mGgjNqBm.system.js","./p-Qrub-hmK.system.js"],(function(a){"use strict";var t,e,o,r,d,n;return{setters:[function(a){t=a.r;e=a.h;o=a.e;r=a.g},function(a){d=a.p},function(a){n=a.c}],execute:function(){var i=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-card-content,mds-card-footer,mds-card-header,mds-card-media):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-card-gap:var(--magma-rhythm-title-content,12px);--mds-card-padding:var(--magma-rhythm-inset,24px);--mds-card-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));background-color:var(--mds-card-background);border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);corner-shape:var(--magma-corner-shape,squircle);container:mds-card/inline-size;display:grid;min-height:calc(var(--spacing,.0025rem)*400);overflow:hidden}.layout:not(.layout--disabled) ::slotted([slot=media]){grid-area:media;margin-inline:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1)}:is(.layout--cfm:not(.layout--disabled),.layout--cm:not(.layout--disabled),.layout--fm:not(.layout--disabled),.layout--m:not(.layout--disabled)) ::slotted([slot=media]){margin-block-start:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1)}:is(.layout--hm:not(.layout--disabled),.layout--m:not(.layout--disabled)) ::slotted([slot=media]){margin-block-end:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1)}.layout:not(.layout--disabled) ::slotted([slot=header]){grid-area:header}.layout:not(.layout--disabled) ::slotted([slot=content]){grid-area:content}.layout:not(.layout--disabled) ::slotted([slot=footer]){align-self:end;grid-area:footer}.layout:not(.layout--disabled,.layout--f) ::slotted([slot=footer]){margin-block-start:max(0px,var(--magma-rhythm-content-actions,24px) - var(--mds-card-gap,var(--magma-rhythm-title-content,12px)))}.layout{display:grid;gap:var(--mds-card-gap,var(--magma-rhythm-title-content,12px));grid-template-columns:repeat(auto-fit,minmax(1px,100%));padding:var(--mds-card-padding,var(--magma-rhythm-inset,24px))}.layout--cfhm:not(.layout--disabled){grid-template-areas:"header""media""content""footer";grid-template-rows:min-content min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"header""media""content";grid-template-rows:min-content min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media""content""footer";grid-template-rows:min-content 1fr min-content}.layout--fhm:not(.layout--disabled){grid-template-areas:"header""media""footer";grid-template-rows:min-content 1fr min-content}.layout--cfh:not(.layout--disabled){grid-template-areas:"header""content""footer";grid-template-rows:min-content 1fr min-content}.layout--hm:not(.layout--disabled){grid-template-areas:"header""media";grid-template-rows:min-content 1fr}.layout--fm:not(.layout--disabled){grid-template-areas:"media""footer";grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media""content";grid-template-rows:min-content 1fr}.layout--fh:not(.layout--disabled){grid-template-areas:"header""footer";grid-template-rows:min-content 1fr}.layout--ch:not(.layout--disabled){grid-template-areas:"header""content";grid-template-rows:min-content 1fr}.layout--cf:not(.layout--disabled){grid-template-areas:"content""footer";grid-template-rows:1fr min-content}.layout--h:not(.layout--disabled){grid-template-areas:"header";grid-template-rows:1fr}.layout--m:not(.layout--disabled){grid-template-areas:"media";grid-template-rows:1fr}.layout--c:not(.layout--disabled){grid-template-areas:"content";grid-template-rows:1fr}.layout--f:not(.layout--disabled){grid-template-areas:"footer";grid-template-rows:1fr}@container mds-card not (max-width:30em){.layout--cfhm:not(.layout--disabled){grid-template-areas:"media header""media content""media footer";grid-template-columns:minmax(calc(var(--spacing,.0025rem)*6000),1fr) 2fr;grid-template-rows:min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"media header""media content""media content";grid-template-rows:min-content 1fr 1fr}.layout--chm:not(.layout--disabled),.layout--fhm:not(.layout--disabled){grid-template-columns:minmax(calc(var(--spacing,.0025rem)*6000),1fr) 2fr}.layout--fhm:not(.layout--disabled){grid-template-areas:"media header""media footer";grid-template-rows:min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media content""media footer";grid-template-rows:1fr min-content}.layout--cfm:not(.layout--disabled),.layout--cm:not(.layout--disabled){grid-template-columns:minmax(calc(var(--spacing,.0025rem)*6000),1fr) 2fr}.layout--cm:not(.layout--disabled){grid-template-areas:"media content";grid-template-rows:1fr}:is(.layout--cfhm:not(.layout--disabled),.layout--cfm:not(.layout--disabled),.layout--chm:not(.layout--disabled),.layout--cm:not(.layout--disabled),.layout--fhm:not(.layout--disabled)) ::slotted([slot=media]){margin-block:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1);margin-inline:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1) 0}}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'};
|
|
2
|
+
// the regions of the card, in the alphabetical order their initials name a layout with
|
|
3
|
+
var l=["content","footer","header","media"];var m=a("mds_card",/** @class */function(){function a(a){var e=this;t(this,a);
|
|
4
|
+
/**
|
|
5
|
+
* Disables the automatic responsive behavior based on container queries
|
|
6
|
+
*/this.disableAutoGrid=false;
|
|
7
|
+
/**
|
|
8
|
+
* Names the layout after the regions that have content, by their initials (`cfhm` with all
|
|
9
|
+
* four). A child goes in the region of its `slot`, an `mds-card-*` without one in the region of
|
|
10
|
+
* its name, since the card reads it before it has written its own slot. The layout used to be
|
|
11
|
+
* read once, on load, and to name a slotted element after its tag (`d` for a
|
|
12
|
+
* `<div slot="header">`), a layout no rule draws.
|
|
13
|
+
*/this.updateLayout=function(){var a=new Set(Array.from(e.host.children).map((function(a){var t;return(t=a.getAttribute("slot"))!==null&&t!==void 0?t:a.tagName.startsWith("MDS-CARD-")?a.tagName.toLowerCase().replace("mds-card-",""):""})));e.layout=l.filter((function(t){return a.has(t)})).map((function(a){return a.charAt(0)})).join("")}}a.prototype.componentWillLoad=function(){this.updateLayout()};a.prototype.render=function(){return e(o,{key:"4ee6a499e8237b3ac758033408292fcd06421a80","pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("div",{key:"84a453bba42042d39937fc2101bdaa3bc30bae23",class:n("layout",this.layout&&"layout--".concat(this.layout),this.disableAutoGrid?"layout--disabled":""),part:"layout"},e("slot",{key:"0838ad16e610630b8ea27cbbfed2c1c101a1e041",name:"media",onSlotchange:this.updateLayout}),e("slot",{key:"03891802fbdc79d0e8c6b3fc90919c10caed66d3",name:"header",onSlotchange:this.updateLayout}),e("slot",{key:"7c49d83ac9f5ca1f50feec8c7cd0ef5f5fd874eb",name:"content",onSlotchange:this.updateLayout}),e("slot",{key:"6a0cbdaa8914b3185ce730e6a1b6081da9ef14b2",name:"footer",onSlotchange:this.updateLayout})))};Object.defineProperty(a.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});return a}());m.style=i()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r,e as t}from"./p-CvLLN-QH.js";import{p as a}from"./p-iX3kcwYg.js";import{m as o}from"./p-BFhO-KUe.js";import{m as i}from"./p-BE8xuIpS.js";const s=class{constructor(r){e(this,r),this.type="text"}render(){return r(t,{key:"356d11e38d7e9d71b05b179ca4915b0daeef4fa3","pref-animation":a.state.animation,"pref-contrast":a.state.contrast,"pref-mode":a.state.mode,"pref-theme-scheme":a.state["theme-scheme"]},"supported"===this.type&&r("i",{key:"ace42d07970f27f5ef9ced212163d91a56e56d3b",class:"icon icon--supported",innerHTML:o,part:"icon"}),"unsupported"===this.type&&r("i",{key:"33e0c9ffecc787abd80091cd2f8e66157209e7a1",class:"icon icon--unsupported",innerHTML:i,part:"icon"}),"text"===this.type&&r("mds-text",{key:"11d4c40bcef1229af779e57d508419a586b80eed",part:"text",typography:"detail"},r("slot",{key:"a501db58b6ce499465973b9db9d687f61c149d37"})),"custom"===this.type&&r("slot",{key:"876eef5b565b64274112140b286b0d80fd19bc41"}),"label"===this.type&&r("slot",{key:"96edb8a0f5a0247abfe117635a0485c22a5629dc"}))}};s.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-cell-padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-06,34 195 93));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-price-table-features-cell-border-color:var(--mds-price-table-features-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-cell-transition-duration:var(--duration-200,.2s);--private-price-table-features-cell-transition-duration:var(--mds-price-table-features-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:1px solid var(--mds-price-table-features-cell-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));display:table-cell;padding:var(--mds-price-table-features-cell-padding,calc(var(--spacing,.0025rem)*300));transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:border-color,transform;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.icon{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));display:flex;fill:var(--icon-fill-color,currentColor);height:calc(var(--spacing,.0025rem)*600);transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:calc(var(--spacing,.0025rem)*600)}.icon--supported{--icon-fill-color:var(--mds-price-table-features-cell-icon-supported-color,rgb(var(--label-green-06,34 195 93)))}.icon--unsupported{--icon-fill-color:var(--mds-price-table-features-cell-icon-unsupported-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-cell-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,18 103 49));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([pref-contrast=more]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,9 52 25));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-cell-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,18 103 49));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,9 52 25));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}';export{s as mds_price_table_features_cell}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,e as s,g as e}from"./p-CvLLN-QH.js";const o=t=>{var i;const s=null!==(i=t.duration)&&void 0!==i?i:0;return 0!==s&&!Number.isNaN(s)},a=class{constructor(i){t(this,i),this.shown=[],this.position="bottom-center",this.max=3,this.limit=()=>Number.isInteger(this.max)&&this.max>0?this.max:3,this.toasts=()=>Array.from(this.host.querySelectorAll("mds-toast")),this.update=()=>{const t=this.toasts();t.forEach((t=>{t.position!==this.position&&(t.position=this.position)}));const i=t.filter((t=>!!t.visible));this.shown=this.shown.filter((t=>i.includes(t)));const s=i.filter((t=>!this.shown.includes(t)));if(this.shown.push(...s),0===s.length)return;let e=this.shown.length-this.limit();for(const t of this.shown.filter((t=>!s.includes(t)))){if(e<=0)break;o(t)&&(t.visible=!1,e-=1)}this.shown=this.shown.filter((t=>t.visible))},this.observe=()=>{var t;"undefined"!=typeof MutationObserver&&(null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=new MutationObserver(this.update),this.observer.observe(this.host,{attributeFilter:["visible"],childList:!0,subtree:!0}))},this.checkMax=t=>{null==t||Number.isInteger(t)&&t>0||console.warn(`mds-toast-region: ignoring the invalid max "${t}", using 3`)}}connectedCallback(){this.observe()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=void 0}componentWillLoad(){this.checkMax(this.max)}componentDidLoad(){this.update()}positionChanged(){this.update()}maxChanged(t){this.checkMax(t),this.update()}render(){return i(s,{key:"29ede52e2ac6a292a536078d74e8447223eba2c2",role:"status","aria-live":"polite","aria-atomic":"false"},i("slot",{key:"6d1f5a5fa0b083056267bff7d32b4b51b9240bd3"}))}get host(){return e(this)}static get watchers(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}}};a.style="@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}";export{a as mds_toast_region}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
System.register(["./p-BZP13mns.system.js","./p-BeNKMPXR.system.js","./p-Qrub-hmK.system.js","./p-C61qxZLH.system.js","./p-D9J8lbUv.system.js","./p-CuHZXISO.system.js","./p-mGgjNqBm.system.js","./p-CmqQGcAO.system.js"],(function(a){"use strict";var r,e,t,n,o,s,i,c,d,l,m,b;return{setters:[function(a){r=a.r;e=a.d;t=a.h;n=a.e;o=a.g},function(a){s=a.h},function(a){i=a.c},function(a){c=a.m},function(a){d=a.K},function(a){l=a.L},function(a){m=a.p},function(a){b=a.m}],execute:function(){var g="Ακύρωση";var v={cancel:g};var u="Cancel";var h={cancel:u};var p="Cancelar";var f={cancel:p};var x="Annulla";var k={cancel:x};var y=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-banner-cockade-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-banner-cockade-distance:calc(var(--spacing,.0025rem)*600);--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-content-gap:calc(var(--spacing,.0025rem)*400);--mds-banner-headline-color:var(--mds-banner-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-banner-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-banner-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-banner-shadow:none;--mds-banner-transition-duration:var(--duration-300,.3s);--private-banner-transition-duration:var(--mds-banner-transition-duration,var(--duration-300,.3s));--mds-banner-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background-color:var(--mds-banner-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-banner-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--mds-banner-shadow);color:var(--mds-banner-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));corner-shape:var(--magma-corner-shape,squircle);container:mds-banner/inline-size;display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-banner-transition-duration);transition-property:background-color,box-shadow,color;transition-timing-function:var(--mds-banner-transition-timing-function);width:100%}.body{align-items:flex-start;display:flex;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400));justify-content:space-between}.headline{color:var(--mds-banner-headline-color,rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}.content{box-sizing:border-box;flex-direction:column;flex-grow:1;justify-content:center}.actions,.content{display:flex;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400))}.actions{flex-wrap:wrap;justify-content:flex-end}.actions--hidden{display:none}.icon{fill:var(--mds-banner-icon-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));flex-shrink:0;transition-duration:var(--mds-banner-transition-duration,var(--duration-300,.3s));transition-property:background-color,fill;transition-timing-function:var(--mds-banner-transition-timing-function)}.text{display:grid;flex-grow:1;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400))}@container mds-banner (max-width:300px){.body--dismissible .content:not(:has(.headline)),.body--dismissible .headline{padding-right:calc(var(--spacing,.0025rem)*800)}}@container mds-banner not (min-width:23.75rem){::slotted([slot=action]){flex-basis:100%;flex-grow:1}}:host(:not([hide-cockade])) .icon,:host([hide-cockade=false]) .icon{background-color:var(--mds-banner-cockade-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));border-bottom-left-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));border-bottom-right-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));margin-top:calc(-1 * var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)));padding:calc(var(--spacing,.0025rem)*200);padding-top:var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem)*600))}@container mds-banner (max-width:300px){:host(:not([hide-cockade])) .icon,:host([hide-cockade=false]) .icon{padding-top:calc(var(--spacing,.0025rem)*200)}.body{flex-direction:column}.close-button{position:absolute;right:calc(var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)) / 2);top:calc(var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)) / 2)}}:host,:host([variant=primary]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-banner-cockade-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)))}:host([variant=primary]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:host([variant=ai]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190)));--mds-banner-cockade-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=ai]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)))}:host([variant=error]){--mds-banner-headline-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-banner-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--magma-field-fill:var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255));--mds-banner-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-banner-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=error]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)))}:host([variant=warning]){--mds-banner-headline-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-banner-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--magma-field-fill:var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255));--mds-banner-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-banner-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=warning]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)))}:host([variant=info]){--mds-banner-headline-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-banner-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--magma-field-fill:var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255));--mds-banner-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-banner-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=info]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)))}:host([variant=success]){--mds-banner-headline-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-banner-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--magma-field-fill:var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255));--mds-banner-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-banner-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=success]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)))}:host([variant=dark]){--mds-banner-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--magma-field-fill:var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255));--mds-banner-cockade-background:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))/.15);--mds-banner-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-headline-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d)}:host([variant=dark]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a)}:host([variant=light]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-cockade-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([variant=light]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([tone=box]){box-shadow:var(--shadow-box-solid-weak,#0000004d 0 2px 4px,#00000008 0 0 0 1px,#0000001a 0 7px 13px -3px,#0003 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-banner-transition-duration:0s}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-banner-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}"};var w=a("mds_banner",/** @class */function(){function a(a){var t=this;r(this,a);this.closeEvent=e(this,"mdsBannerClose",7);this.km=new d;this.t=new l({el:v,en:h,es:f,it:k});
|
|
2
|
+
/**
|
|
3
|
+
* Sets the theme variant colors
|
|
4
|
+
*/this.variant="primary";
|
|
5
|
+
/**
|
|
6
|
+
* Sets the tone of the color variant
|
|
7
|
+
*/this.tone="weak";
|
|
8
|
+
/**
|
|
9
|
+
* Hides the decoration around the banner icon
|
|
10
|
+
*/this.hideCockade=false;this.ariaVariants={ai:{role:"status",live:"polite"},dark:{role:"presentation",live:undefined},error:{role:"alert",live:"assertive"},info:{role:"status",live:"polite"},light:{role:"presentation",live:undefined},primary:{role:"status",live:"polite"},success:{role:"status",live:"polite"},warning:{role:"alert",live:"assertive"}};this.isDismissible=function(){return t.dismissible===true||t.deletable===true};this.dismissibleHandler=function(){var a;if(t.isDismissible()){var r=(a=t.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".close-button");t.km.addElement(r);t.km.attachClickBehavior();return}t.km.detachClickBehavior()};this.setCloseButtonVariant=function(a){if(a==="dark"){t.closeButtonVariant="light";return}if(a==="light"){t.closeButtonVariant="dark";return}t.closeButtonVariant=a!==null&&a!==void 0?a:"primary"};this.onActionSlotChange=function(){t.hasActions=s(t.host,"action")};this.closeBanner=function(){var a;t.closeEvent.emit();var r=(a=t.host)===null||a===void 0?void 0:a.closest("mds-modal");if(r!=null){r.opened=false}}}a.prototype.componentWillLoad=function(){this.hasActions=s(this.host,"action");this.setCloseButtonVariant(this.variant)};a.prototype.componentDidLoad=function(){this.dismissibleHandler()};a.prototype.componentDidUpdate=function(){this.dismissibleHandler()};a.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};a.prototype.variantHandler=function(a){this.setCloseButtonVariant(a)};a.prototype.render=function(){var a,r;return t(n,{key:"278c0aca520ac2bedadf5a4ca96ad238826ec7b4","aria-label":this.headline,role:this.ariaVariants[(a=this.variant)!==null&&a!==void 0?a:"primary"].role,"aria-live":this.ariaVariants[(r=this.variant)!==null&&r!==void 0?r:"primary"].live,"pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},t("div",{key:"ce53b36682f67edea4cf91fe221bdb43bcbd88cf",class:i("body",this.isDismissible()&&"body--dismissible")},this.icon&&t("mds-icon",{key:"8f54ba530b5494e757654489d1a3cbb87f5a12f4","aria-hidden":"true",class:"icon",name:this.icon}),t("div",{key:"1956316298c6b3c8fd0959f0d988b9ad9fd7382d",class:"content"},this.headline&&t("mds-text",{key:"aa0357e3334f6acb08650e59de1c0db3d0680ae0","aria-hidden":"true",class:"headline",typography:"h6"},this.headline),t("div",{key:"0477620a9fd08ba6ca1b7290020923f1cf710e4d",class:"text",part:"text"},t("slot",{key:"e85c121336d692108485e45d0a350b4b3de44806"}))),this.isDismissible()&&t("mds-button",{key:"c6a5496968f30240d2f9e092a9ee69fe0629ca1b",class:"close-button",icon:c,onClick:this.closeBanner,title:this.t.get("cancel"),variant:this.closeButtonVariant,tone:"text"})),t("div",{key:"b9076e0b13e98b2d017a09c8b0463c3a3db12c62",class:i("actions",!this.hasActions&&"actions--hidden")},t("slot",{key:"fe0bc615edc8bf1d9038703b02f070b455826cf8",name:"action",onSlotchange:this.onActionSlotChange})))};Object.defineProperty(a.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{variant:[{variantHandler:0}]}},enumerable:false,configurable:true});return a}());w.style=y();var j="Αφαίρεση";var q={deleteLabel:j};var C="Remove";var z={deleteLabel:C};var L="Eliminar";var S={deleteLabel:L};var O="Rimuovi";var B={deleteLabel:O};var P=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-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-chip-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-chip-opacity-disabled:.5;--mds-chip-transition-duration:var(--duration-150,.15s);--mds-chip-label-transition-duration:var(--duration-200,.2s);--private-chip-transition-duration:var(--mds-chip-transition-duration);--private-chip-label-transition-duration:var(--mds-chip-label-transition-duration);align-items:center;align-self:self-start;background-color:var(--mds-chip-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border:calc(var(--spacing,.0025rem)*50) solid var(--mds-chip-border,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-shadow:var(--mds-chip-shadow);box-sizing:border-box;color:var(--mds-chip-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));display:inline-flex;gap:calc(var(--spacing,.0025rem)*150);justify-content:center;justify-self:start;max-width:min-content;min-width:min-content;padding:0 calc(var(--spacing,.0025rem)*50);transition-duration:var(--private-chip-transition-duration);transition-property:background-color,border-color,box-shadow,color,opacity;transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));--mds-chip-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-chip-background-selected:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-chip-border:#0000;--mds-chip-border-selected:#0000;--mds-chip-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-chip-color-selected:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-chip-icon-background:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-chip-icon-background-selected:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-chip-shadow-selected:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a)}.label-wrapper{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*800);justify-content:start}.label-wrapper:first-child{padding-left:calc(var(--spacing,.0025rem)*200)}.label-wrapper:last-child{padding-right:calc(var(--spacing,.0025rem)*200)}:host([disabled]:not([disabled=false])){opacity:var(--mds-chip-opacity-disabled,.5);pointer-events:none}.label{border-radius:var(--magma-radius-full,var(--radius-full,1000px));flex-grow:1;text-decoration-color:#0000;transition-duration:var(--private-chip-label-transition-duration);transition-property:color,text-decoration-color,outline,outline-offset;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}:host([clickable]:not([clickable=false])) .label{cursor:pointer;text-decoration:underline}:host([clickable]:not([clickable=false])) .label:hover{-webkit-text-decoration-color:unset;text-decoration-color:unset}.label--interactive{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out}.label--interactive:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running;z-index:10}.icon-area{align-items:center;background-color:var(--mds-chip-icon-background,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*700);justify-content:center;transition-duration:inherit;transition-timing-function:inherit;width:calc(var(--spacing,.0025rem)*700)}.icon{fill:var(--mds-chip-icon-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));height:calc(var(--spacing,.0025rem)*400);transition:fill;transition-duration:var(--private-chip-label-transition-duration);width:calc(var(--spacing,.0025rem)*400)}.button-delete{border-radius:var(--magma-radius-full,var(--radius-full,1000px));corner-shape:round;align-self:center;height:auto;padding:0}.button-delete--hidden{display:none}:host([variant][tone][selected]){--mds-chip-background:var(--mds-chip-background-selected);--mds-chip-border:var(--mds-chip-border-selected);--mds-chip-color:var(--mds-chip-color-selected);--mds-chip-icon-background:var(--mds-chip-icon-background-selected);--mds-chip-icon-color:var(--mds-chip-icon-color-selected);--mds-chip-shadow:var(--mds-chip-shadow-selected)}:host([variant=primary][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-chip-icon-background:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-chip-icon-background-selected:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=primary][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-chip-icon-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-chip-icon-background-selected:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-chip-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-chip-icon-color-selected:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=secondary][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-chip-icon-background:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-chip-icon-background-selected:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=secondary][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-chip-icon-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-chip-icon-background-selected:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-chip-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-chip-icon-color-selected:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=ai][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-chip-icon-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-chip-icon-background-selected:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=ai][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-accent-ai-border,var(--variant-ai-06,184 156 250)));--mds-chip-icon-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)));--mds-chip-icon-background-selected:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)));--mds-chip-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-chip-icon-color-selected:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)))}:host([variant=success][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-chip-icon-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-chip-icon-background-selected:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-chip-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-success-border-strong,var(--border-success-strong,17 166 98)));--mds-chip-icon-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-chip-icon-background-selected:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-chip-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-chip-icon-color-selected:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-chip-icon-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-chip-icon-background-selected:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-chip-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-warning-border-strong,var(--border-warning-strong,184 130 0)));--mds-chip-icon-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-chip-icon-background-selected:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-chip-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-chip-icon-color-selected:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=error][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-chip-icon-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-chip-icon-background-selected:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-chip-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-danger-border-strong,var(--border-error-strong,218 96 93)));--mds-chip-icon-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-chip-icon-background-selected:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-chip-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-chip-icon-color-selected:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info][tone=strong]){--mds-chip-border-selected:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-chip-icon-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-chip-icon-background-selected:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-chip-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info][tone=weak]){--mds-chip-border-selected:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-chip-icon-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-chip-icon-background-selected:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-chip-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-chip-icon-color-selected:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=amaranth][tone=strong]){--mds-chip-border-selected:rgb(var(--label-amaranth-04,213 12 47));--mds-chip-icon-background:rgb(var(--label-amaranth-05,242 37 72));--mds-chip-icon-background-selected:rgb(var(--label-amaranth-05,242 37 72));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=amaranth][tone=weak]){--mds-chip-border-selected:rgb(var(--label-amaranth-06,248 138 157));--mds-chip-icon-background:rgb(var(--label-amaranth-09,253 214 221));--mds-chip-icon-background-selected:rgb(var(--label-amaranth-09,253 214 221));--mds-chip-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-chip-icon-color-selected:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua][tone=strong]){--mds-chip-border-selected:rgb(var(--label-aqua-04,4 122 143));--mds-chip-icon-background:rgb(var(--label-aqua-05,5 141 165));--mds-chip-icon-background-selected:rgb(var(--label-aqua-05,5 141 165));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=aqua][tone=weak]){--mds-chip-border-selected:rgb(var(--label-aqua-06,6 186 217));--mds-chip-icon-background:rgb(var(--label-aqua-09,151 237 252));--mds-chip-icon-background-selected:rgb(var(--label-aqua-09,151 237 252));--mds-chip-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-chip-icon-color-selected:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue][tone=strong]){--mds-chip-border-selected:rgb(var(--label-blue-04,63 94 248));--mds-chip-icon-background:rgb(var(--label-blue-05,90 117 249));--mds-chip-icon-background-selected:rgb(var(--label-blue-05,90 117 249));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=blue][tone=weak]){--mds-chip-border-selected:rgb(var(--label-blue-06,149 166 251));--mds-chip-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-chip-icon-background-selected:rgb(var(--label-blue-09,216 222 254));--mds-chip-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-chip-icon-color-selected:rgb(var(--label-blue-04,63 94 248))}:host([variant=green][tone=strong]){--mds-chip-border-selected:rgb(var(--label-green-04,22 128 61));--mds-chip-icon-background:rgb(var(--label-green-05,26 148 71));--mds-chip-icon-background-selected:rgb(var(--label-green-05,26 148 71));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=green][tone=weak]){--mds-chip-border-selected:rgb(var(--label-green-06,34 195 93));--mds-chip-icon-background:rgb(var(--label-green-09,165 240 193));--mds-chip-icon-background-selected:rgb(var(--label-green-09,165 240 193));--mds-chip-icon-color:rgb(var(--label-green-04,22 128 61));--mds-chip-icon-color-selected:rgb(var(--label-green-04,22 128 61))}:host([variant=lime][tone=strong]){--mds-chip-border-selected:rgb(var(--label-lime-04,81 124 13));--mds-chip-icon-background:rgb(var(--label-lime-05,93 143 15));--mds-chip-icon-background-selected:rgb(var(--label-lime-05,93 143 15));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=lime][tone=weak]){--mds-chip-border-selected:rgb(var(--label-lime-06,123 189 20));--mds-chip-icon-background:rgb(var(--label-lime-09,189 239 111));--mds-chip-icon-background-selected:rgb(var(--label-lime-09,189 239 111));--mds-chip-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-chip-icon-color-selected:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange][tone=strong]){--mds-chip-border-selected:rgb(var(--label-orange-04,185 78 5));--mds-chip-icon-background:rgb(var(--label-orange-05,213 90 5));--mds-chip-icon-background-selected:rgb(var(--label-orange-05,213 90 5));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=orange][tone=weak]){--mds-chip-border-selected:rgb(var(--label-orange-06,250 143 69));--mds-chip-icon-background:rgb(var(--label-orange-09,253 217 191));--mds-chip-icon-background-selected:rgb(var(--label-orange-09,253 217 191));--mds-chip-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-chip-icon-color-selected:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid][tone=strong]){--mds-chip-border-selected:rgb(var(--label-orchid-04,206 21 113));--mds-chip-icon-background:rgb(var(--label-orchid-05,233 44 137));--mds-chip-icon-background-selected:rgb(var(--label-orchid-05,233 44 137));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=orchid][tone=weak]){--mds-chip-border-selected:rgb(var(--label-orchid-06,243 137 189));--mds-chip-icon-background:rgb(var(--label-orchid-09,251 213 232));--mds-chip-icon-background-selected:rgb(var(--label-orchid-09,251 213 232));--mds-chip-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-chip-icon-color-selected:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple][tone=strong]){--mds-chip-border-selected:rgb(var(--label-purple-04,150 51 245));--mds-chip-icon-background:rgb(var(--label-purple-05,168 86 247));--mds-chip-icon-background-selected:rgb(var(--label-purple-05,168 86 247));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=purple][tone=weak]){--mds-chip-border-selected:rgb(var(--label-purple-06,201 149 250));--mds-chip-icon-background:rgb(var(--label-purple-09,235 216 253));--mds-chip-icon-background-selected:rgb(var(--label-purple-09,235 216 253));--mds-chip-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-chip-icon-color-selected:rgb(var(--label-purple-04,150 51 245))}:host([variant=red][tone=strong]){--mds-chip-border-selected:rgb(var(--label-red-04,212 28 28));--mds-chip-icon-background:rgb(var(--label-red-05,230 66 66));--mds-chip-icon-background-selected:rgb(var(--label-red-05,230 66 66));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=red][tone=weak]){--mds-chip-border-selected:rgb(var(--label-red-06,241 144 144));--mds-chip-icon-background:rgb(var(--label-red-09,250 215 215));--mds-chip-icon-background-selected:rgb(var(--label-red-09,250 215 215));--mds-chip-icon-color:rgb(var(--label-red-04,212 28 28));--mds-chip-icon-color-selected:rgb(var(--label-red-04,212 28 28))}:host([variant=sky][tone=strong]){--mds-chip-border-selected:rgb(var(--label-sky-04,10 118 167));--mds-chip-icon-background:rgb(var(--label-sky-05,12 136 193));--mds-chip-icon-background-selected:rgb(var(--label-sky-05,12 136 193));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=sky][tone=weak]){--mds-chip-border-selected:rgb(var(--label-sky-06,47 182 243));--mds-chip-icon-background:rgb(var(--label-sky-09,185 231 251));--mds-chip-icon-background-selected:rgb(var(--label-sky-09,185 231 251));--mds-chip-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-chip-icon-color-selected:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet][tone=strong]){--mds-chip-border-selected:rgb(var(--label-violet-04,126 73 245));--mds-chip-icon-background:rgb(var(--label-violet-05,145 100 246));--mds-chip-icon-background-selected:rgb(var(--label-violet-05,145 100 246));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=violet][tone=weak]){--mds-chip-border-selected:rgb(var(--label-violet-06,184 156 250));--mds-chip-icon-background:rgb(var(--label-violet-09,229 218 253));--mds-chip-icon-background-selected:rgb(var(--label-violet-09,229 218 253));--mds-chip-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-chip-icon-color-selected:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow][tone=strong]){--mds-chip-border-selected:rgb(var(--label-yellow-04,141 107 5));--mds-chip-icon-background:rgb(var(--label-yellow-05,161 124 6));--mds-chip-icon-background-selected:rgb(var(--label-yellow-05,161 124 6));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=yellow][tone=weak]){--mds-chip-border-selected:rgb(var(--label-yellow-06,214 163 7));--mds-chip-icon-background:rgb(var(--label-yellow-09,251 221 131));--mds-chip-icon-background-selected:rgb(var(--label-yellow-09,251 221 131));--mds-chip-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-chip-icon-color-selected:rgb(var(--label-yellow-04,141 107 5))}: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-chip-transition-duration:0s;--private-chip-label-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-chip-background:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-chip-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-chip-color-selected:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-chip-icon-background-selected:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-opacity-disabled:var(--opacity-disabled,.6);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@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-chip-transition-duration:0s;--private-chip-label-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-chip-background:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-chip-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-chip-color-selected:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-chip-icon-background-selected:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-chip-icon-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-icon-color-selected:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-chip-opacity-disabled:var(--opacity-disabled,.6);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}"};var A=a("mds_chip",/** @class */function(){function a(a){var t=this;r(this,a);this.clickLabelEvent=e(this,"mdsChipClickLabel",7);this.deleteEvent=e(this,"mdsChipDelete",7);this.selectEvent=e(this,"mdsChipSelect",7);this.km=new d;this.t=new l({el:q,en:z,es:S,it:B});
|
|
11
|
+
/**
|
|
12
|
+
* Sets the component disabled status: neither the label nor the delete button can be focused
|
|
13
|
+
* or activated
|
|
14
|
+
*/this.disabled=false;
|
|
15
|
+
/**
|
|
16
|
+
* Sets if the component change is status to selected when is clicked
|
|
17
|
+
*/this.selectable=false;
|
|
18
|
+
/**
|
|
19
|
+
* Sets the color variant of the component
|
|
20
|
+
*/this.variant="primary";
|
|
21
|
+
/**
|
|
22
|
+
* Sets the color variant tone of the component
|
|
23
|
+
*/this.tone="strong";this.onClickLabelHandler=function(a){if(!t.clickable||t.disabled)return;if(t.selectable){t.selected=!t.selected;if(t.selected===false){t.selected=undefined}t.selectEvent.emit({event:a,element:t.host,selected:t.selected});return}t.clickLabelEvent.emit({event:a,element:t.host})};this.onDeleteHandler=function(a){if(t.disabled)return;t.deleteEvent.emit({event:a,element:t.host})};
|
|
24
|
+
// the label is a button only while the chip is clickable: Enter and Space click it then, and
|
|
25
|
+
// the click handler ignores them otherwise
|
|
26
|
+
this.labelRef=function(a){if(a===t.labelElement)return;t.km.removeElement("label");t.labelElement=a!==null&&a!==void 0?a:undefined;t.attachLabelKeyboard()};this.attachLabelKeyboard=function(){if(!t.labelElement)return;t.km.addElement(t.labelElement,"label");t.km.attachClickBehavior("label",{space:true})}}a.prototype.handleSelectableProp=function(a){if(a){this.clickable=true}};a.prototype.handleSelectedProp=function(a){if(a===false){this.selected=undefined}};a.prototype.componentWillLoad=function(){
|
|
27
|
+
// A @Watch does not fire for the value a prop is born with, so `handleSelectableProp`
|
|
28
|
+
// only ever ran for a `selectable` set from JS after load: a chip that arrives from
|
|
29
|
+
// markup as <mds-chip selectable> stayed non-clickable, while the readme promises that
|
|
30
|
+
// "selectable implies clickable".
|
|
31
|
+
if(this.selectable){this.clickable=true}};
|
|
32
|
+
// a chip moved in the page is disconnected and connected again, without loading again
|
|
33
|
+
a.prototype.connectedCallback=function(){this.attachLabelKeyboard()};a.prototype.disconnectedCallback=function(){this.km.detachClickBehavior("label")};a.prototype.render=function(){var a=!!this.clickable;return t(n,{key:"7ba4567c6c241ba7a5b09de95bc6a68cf1811b68","aria-disabled":this.disabled?"true":"false","pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},this.icon&&t("div",{key:"06fe517245100cf6fdaf59aed3f2895d19bec3e5","aria-hidden":"true",class:"icon-area"},t("mds-icon",{key:"57bdc6ce0596b7be888690eae019f09adaa9b351",class:"icon",name:this.icon})),t("div",{key:"abeb9f082e1bdfbe79bd81ff1e7b98835f0fc084",class:"label-wrapper"},t("mds-text",{key:"cf4b3df68f9f97438c26b149cb9c0f48550f1655","aria-disabled":a&&this.disabled?"true":undefined,"aria-pressed":a&&this.selectable?this.selected?"true":"false":undefined,class:{label:true,"label--interactive":a},onClick:this.onClickLabelHandler,ref:this.labelRef,role:a?"button":undefined,tabindex:a&&!this.disabled?"0":undefined,typography:"caption",truncate:"word"},this.label)),this.deletable&&t("mds-button",{key:"246858911c92e6b04cd1ed523ae8a44906693bc5",class:"button-delete",icon:b,disabled:this.disabled,onClick:this.onDeleteHandler,title:"".concat(this.t.get("deleteLabel")," ").concat(this.label),variant:"dark",tone:"text",size:"sm"}))};Object.defineProperty(a.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{selectable:[{handleSelectableProp:0}],selected:[{handleSelectedProp:0}]}},enumerable:false,configurable:true});return a}());A.style=P();var H='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5c0-2.21-1.79-4-4-4z"/></svg>';var R=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-help-tooltip-width:fit-content;--mds-help-tooltip-max-width:calc(var(--spacing,.0025rem)*7500);--mds-help-tooltip-min-width:calc(var(--spacing,.0025rem)*5000);--mds-help-tooltip-delay:.25s;color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:help;display:inline-flex;fill:currentColor;height:calc(var(--spacing,.0025rem)*400);justify-content:flex-start;margin-left:calc(var(--spacing,.0025rem)*100);overflow:visible;position:relative;width:calc(var(--spacing,.0025rem)*400)}i{display:flex}i svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}mds-tooltip{--mds-tooltip-delay:var(--mds-help-tooltip-delay,.25s);max-width:var(--mds-help-tooltip-max-width,calc(var(--spacing,.0025rem)*7500));min-width:var(--mds-help-tooltip-min-width,calc(var(--spacing,.0025rem)*5000))}mds-tooltip::part(text){max-width:var(--mds-help-tooltip-max-width,calc(var(--spacing,.0025rem)*7500));min-width:var(--mds-help-tooltip-width);width:var(--mds-help-tooltip-width)}i,mds-icon{fill:inherit;height:inherit;width:inherit}.icon{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-full,1000px);outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out}.icon:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}"};var Z=a("mds_help",/** @class */function(){function a(a){r(this,a);
|
|
34
|
+
/**
|
|
35
|
+
* Pins the tooltip to `placement`: without it, the tooltip moves to another side of the icon
|
|
36
|
+
* when `placement` has no room.
|
|
37
|
+
*/this.disableAutoPlacement=false;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies where the tooltip should be placed relative to the icon: the side it takes
|
|
40
|
+
* whenever it has room there.
|
|
41
|
+
*/this.placement="top"}a.prototype.render=function(){var a;return t(n,{key:"cfd7eb86fb06918a2261694994dcf59cf9f1374d"},t("mds-icon",{key:"b97a5558a972f6dd31c64c1cc3f5ed8da35667ab",class:"icon",name:(a=this.icon)!==null&&a!==void 0?a:H,part:"icon",role:"img",tabindex:"0"}),t("mds-tooltip",{key:"049f2bdf0fc4b2b8567edec1f1e9594d087a27c9",placement:this.placement,disableAutoPlacement:this.disableAutoPlacement,relation:"label",strategy:"absolute",target:".icon"},t("slot",{key:"f79f6259f6b033a5b5068d53535c91765fa2922e"})))};return a}());Z.style=R()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as t,e as r}from"./p-CvLLN-QH.js";import{p as e}from"./p-iX3kcwYg.js";const o=class{constructor(t){a(this,t)}render(){return t(r,{key:"b22fe5e0cf94a49b51b82b058c994219c32f4065",role:"rowgroup","pref-animation":e.state.animation},t("slot",{key:"140031cdddbcbabe2865cb76faac725f09d9a895"}))}};o.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-row:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-body-background-hover:var(--mds-table-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-body-background-alt:var(--mds-table-body-background-hover);--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-body-transition-duration:var(--duration-200,.2s);--private-table-body-transition-duration:var(--mds-table-body-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));display:table-row-group;overflow:hidden;transition-duration:var(--private-table-body-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host(:last-of-type) ::slotted(:last-of-type){--private-cell-border-color:#0000}:host([interactive]:hover){--mds-table-row-background:var(--mds-table-body-background-hover);--mds-table-row-color:var(--mds-table-body-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selection]){--mds-table-body-background:var(--mds-table-body-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-body-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-body-transition-duration:0s}}';export{o as mds_table_body}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,e as i,g as a}from"./p-CvLLN-QH.js";import{L as o}from"./p-OafT80hV.js";import{p as s}from"./p-iX3kcwYg.js";var r={actions:"Ενέργεια",selectAllRows:"Επιλογή όλων των γραμμών",selectNoneRows:"Αποεπιλογή όλων των γραμμών"},n={actions:"Action",selectAllRows:"Select all rows",selectNoneRows:"Deselect all rows"},l={actions:"Acción",selectAllRows:"Seleccionar todas las filas",selectNoneRows:"Deseleccionar todas las filas"},d={actions:"Azione",selectAllRows:"Seleziona tutte le righe",selectNoneRows:"Deseleziona tutte le righe"};const c=class{constructor(t){e(this,t),this.selectAll=!1,this.hasActions=!1,this.indeterminate=!1,this.hasSelection=!1,this.t=new o({el:r,en:n,es:l,it:d}),this.handleSelectAllChange=e=>{var t,i;this.selectAll=!!this.indeterminate||null!==(t=e.detail.checked)&&void 0!==t&&t,this.indeterminate=!1,null===(i=this.table)||void 0===i||i.selectAll(this.selectAll)}}async setSelection(e,t){var i,a;this.indeterminate=0!==e&&e!==t,null!==(i=this.checkboxEl)&&void 0!==i||(this.checkboxEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".checkbox")),this.checkboxEl&&(this.checkboxEl.checked=t>0&&e===t)}async setActions(e){this.hasActions=e}componentWillLoad(){var e;this.table=this.host.closest("mds-table"),this.hasActions=null!=(null===(e=this.table)||void 0===e?void 0:e.querySelector('mds-table-row > [slot="action"]'))}render(){return t(i,{key:"f0c10f794062311dc64648c43fe67503cce1e359",role:"row","pref-animation":s.state.animation},this.selectable&&t("mds-table-cell",{key:"27d20511af3da6ced3e6b4ab924dd3d76cc572e1",class:"selection",role:"columnheader"},t("div",{key:"024b30bafcbc428716801c54233d0def52027a70",class:"checkbox-wrapper"},t("mds-input-switch",{key:"b0bb5f4a65b11295f327081aad9e4e3ae5a06cca",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),t("slot",{key:"1c5f8294357647d4d639476371be246a206bd735"}),this.hasActions&&t("mds-table-header-cell",{key:"27c552d2db1f13a5efc0804162d3c2963d9d8435",part:"actions",class:"actions",label:this.t.get("actions")}))}get host(){return a(this)}};c.style='@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-input-switch,mds-table-cell,mds-table-header-cell):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-header-transition-duration:var(--duration-200,.2s);--private-table-header-transition-duration:var(--mds-table-header-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-header-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions{text-align:right}.selection{--mds-table-cell-background:var(--mds-table-background);vertical-align:middle}.checkbox-wrapper{display:flex}: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-header-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-transition-duration:0s}}';export{c as mds_table_header}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r,e as a,g as t}from"./p-CvLLN-QH.js";import{q as o,o as i}from"./p-AEckDMXh.js";const s=class{constructor(r){e(this,r),this.elements=[],this.childrenElements=[],this.syncedItems=new WeakSet,this.appearance="depth",this.toggle="chevron",this.togglePosition="left",this.truncate="word",this.actions="auto",this.updateChildrenExpanded=e=>{this.childrenElements.forEach((r=>{r.async||(r.expanded=e)}))},this.updateChildrenToggle=e=>{this.childrenElements.forEach((r=>{r.toggle=e}))},this.updateChildrenTogglePosition=e=>{this.childrenElements.forEach((r=>{r.togglePosition=e}))},this.updateChildrenAppearance=e=>{this.childrenElements.forEach((r=>{r.appearance=e}))},this.updateChildrenTruncate=e=>{this.childrenElements.forEach((r=>{r.truncate=e}))},this.updateElements=()=>{var e,r,a;this.elements=null!==(a=null===(r=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector("slot"))||void 0===r?void 0:r.assignedElements())&&void 0!==a?a:[],this.updateZIndex()},this.updateZIndex=()=>{this.elements.forEach(((e,r)=>{e.style.zIndex=""+(this.elements.length-r)}))},this.syncItems=()=>{this.childrenElements=Array.from(this.host.querySelectorAll("mds-tree-item")),this.childrenElements.forEach((e=>{this.syncedItems.has(e)||(this.syncedItems.add(e),e.truncate=this.truncate,e.toggle=this.toggle,e.togglePosition=this.togglePosition,e.appearance=this.appearance,void 0===this.expanded||e.async||(e.expanded=this.expanded))})),o(this.host,"mds-tree-item").forEach((e=>{e.depth=0}))}}handleExpandedChange(e){this.updateChildrenExpanded(e)}handleToggleChange(e){this.updateChildrenToggle(e)}handleTogglePositionChange(e){this.updateChildrenTogglePosition(e)}handleAppearanceChange(e){this.updateChildrenAppearance(e)}handleActionsChange(){this.childrenElements.forEach((e=>{e.refreshActions()}))}handleTruncateChange(e){this.updateChildrenTruncate(e)}componentWillLoad(){this.syncItems(),i(this.host,this.syncItems)}render(){var e;return r(a,{key:"ca115ba5c5d454788374d65afc5f2de2cabfe2a9","aria-label":""!==(null!==(e=this.label)&&void 0!==e?e:"")?this.label:void 0,role:"list"},r("slot",{key:"1ad7ceb2d2ac73c0daaa425ab1c499c16f6eb342",onSlotchange:this.updateElements}))}get host(){return t(this)}static get watchers(){return{expanded:[{handleExpandedChange:0}],toggle:[{handleToggleChange:0}],togglePosition:[{handleTogglePositionChange:0}],appearance:[{handleAppearanceChange:0}],actions:[{handleActionsChange:0}],truncate:[{handleTruncateChange:0}]}}};s.style='@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,36 103 231)));--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,196 196 196)));--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,196 196 196)));--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,7 76 204)));--mds-tree-toggle-icon-chevron-default-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--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,36 103 231)));--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}';export{s as mds_tree}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-BZP13mns.system.js"],(function(t){"use strict";var e,n,i;return{setters:[function(t){e=t.r;n=t.h;i=t.e}],execute:function(){var o=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{background-color:var(--mds-card-background);container-type:inline-size;display:block;flex-grow:1;min-width:0}.actions{align-items:center;display:flex;gap:var(--magma-rhythm-inline,12px);justify-content:flex-end}@container not (min-width:23.75rem){.actions{flex-direction:column}::slotted(*){align-self:stretch}}"};var a=t("mds_card_footer",/** @class */function(){function t(t){e(this,t)}t.prototype.render=function(){return n(i,{key:"1244832dcbc5ec2b4b8ea3c8f5a427559e4017e6",slot:"footer"},n("div",{key:"122a992da6485f84e631eb8b13d01a6c18a9b6ca",class:"actions"},n("slot",{key:"1384adbb3d46542d77eb80e9b737c0a416afe43f"})))};return t}());a.style=o()}}}));
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
System.register(["./p-BZP13mns.system.js","./p-mGgjNqBm.system.js"],(function(r){"use strict";var a,s,e,t,o,i;return{setters:[function(r){a=r.r;s=r.h;e=r.e;t=r.g},function(r){o=r.p;i=r.a}],execute:function(){var n=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))){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-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-progress-duration:.75s;--private-progress-duration:var(--mds-progress-duration,.75s);--mds-progress-transition-duration:var(--duration-300,.3s);--private-progress-transition-duration:var(--mds-progress-transition-duration);--mds-progress-thickness:calc(var(--spacing,.0025rem)*200);--mds-progress-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--mds-progress-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));min-height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));min-width:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));overflow:hidden;position:relative;transition-duration:var(--private-progress-transition-duration);transition-property:background-color;width:100%}:host([direction=vertical]){flex-direction:column;height:unset;min-height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));width:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200))}:host([direction=radial]){aspect-ratio:1;background-color:#0000;height:auto}:host([direction=radial]) mds-radial-progress{width:inherit}.progress{--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));background-color:var(--mds-progress-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));border-radius:inherit;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));corner-shape:inherit;transition-duration:var(--private-progress-duration);transition-property:background-color,flex-grow}:host([variant=dark]){--mds-progress-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-progress-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([variant=light]){--mds-progress-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-progress-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)))}:host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([variant=ai]){--mds-progress-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-progress-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([size=sm]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*200)}:host([size=md]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*600)}: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-progress-duration:0s;--private-progress-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([pref-contrast=more]),:host([pref-contrast=more]):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}@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-progress-duration:0s;--private-progress-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}}'};var m=r("mds_progress",/** @class */function(){function r(r){var s=this;a(this,r);this.leftOut=false;this.stepsList=new Array;
|
|
2
|
+
/**
|
|
3
|
+
* A value between 0 and 1 that rapresents the status progress
|
|
4
|
+
*/this.progress=0;
|
|
5
|
+
/**
|
|
6
|
+
* Specifies the direction of the progress bar, if horizonatl or vertical
|
|
7
|
+
*/this.direction="horizontal";
|
|
8
|
+
/**
|
|
9
|
+
* Sets the theme variant colors
|
|
10
|
+
*/this.variant="primary";
|
|
11
|
+
/**
|
|
12
|
+
* The typography of the component
|
|
13
|
+
*/this.typography="option";
|
|
14
|
+
/**
|
|
15
|
+
* Sets the size of the component
|
|
16
|
+
*/this.size="sm";
|
|
17
|
+
/**
|
|
18
|
+
* Sets the steps that can be pronounced by accessibility technologies
|
|
19
|
+
*/this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine";
|
|
20
|
+
// a value outside 0..1 reads as its nearest end: above 1 it named a step past the last one
|
|
21
|
+
// ("undefined") and a percentage above 100
|
|
22
|
+
this.clampedProgress=function(){var r=Number(s.progress);if(Number.isNaN(r))return 0;return Math.min(1,Math.max(0,r))};
|
|
23
|
+
/**
|
|
24
|
+
* The step the progress has reached, as the spoken value. An aria-valuetext written on the
|
|
25
|
+
* host by the author (mds-benchmark-bar writes its alias) is the more specific one and stays;
|
|
26
|
+
* the one this progress wrote before is its own to update.
|
|
27
|
+
*/this.resolveValueText=function(){var r=s.steps!==""?s.stepsList[Math.round(s.clampedProgress()*(s.stepsList.length-1))]:undefined;var a=s.element.getAttribute("aria-valuetext");if(a!==null&&a!==s.appliedValueText&&a!==r){return a}s.appliedValueText=r;return r}}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.leftOut=this.element.getAttribute("aria-hidden")==="true"};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};
|
|
28
|
+
/**
|
|
29
|
+
* A progress hidden from assistive technologies is no progressbar: role and values leave with
|
|
30
|
+
* `aria-hidden`, and come back when it is removed. It used to be read once, at load.
|
|
31
|
+
*/
|
|
32
|
+
// Stencil watches a native attribute too (it joins observedAttributes), the lint rule predates it
|
|
33
|
+
// eslint-disable-next-line stencil/no-unused-watch
|
|
34
|
+
r.prototype.ariaHiddenChanged=function(){this.leftOut=this.element.getAttribute("aria-hidden")==="true"};r.prototype.render=function(){return s(e,{key:"97d2437438ee1965f12b20cc4336e535a22f7c8e","aria-valuemax":this.leftOut?undefined:"100","aria-valuemin":this.leftOut?undefined:"0","aria-valuenow":this.leftOut?undefined:Math.round(this.clampedProgress()*100),"aria-valuetext":this.leftOut?undefined:this.resolveValueText(),role:this.leftOut?undefined:"progressbar","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},this.direction==="radial"?s("mds-radial-progress",{"aria-hidden":"true",progress:this.clampedProgress(),part:"radial-progress",typography:this.typography,variant:this.variant}):s("div",{class:"progress",part:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.clampedProgress())}:{flexGrow:"".concat(this.clampedProgress()),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return t(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{steps:[{stepsChanged:0}],"aria-hidden":[{ariaHiddenChanged:0}]}},enumerable:false,configurable:true});return r}());m.style=n();var d=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-radial-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-radial-progress-text-background-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-radial-progress-text-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-radial-progress-text-suffix:"%";--mds-radial-progress:0%;align-items:center;aspect-ratio:1;background-color:var(--mds-radial-progress-background);background-image:conic-gradient(var(--mds-radial-progress-color) var(--mds-radial-progress,0),#0000 0);border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;container:mds-radial-progress/inline-size;display:flex;height:auto;justify-content:center;padding:calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-500,.5s);transition-property:background-color,--mds-radial-progress-color,--mds-radial-progress;transition-timing-function:ease-out;width:calc(var(--spacing,.0025rem)*1200)}.value-container{aspect-ratio:1;background-color:var(--mds-radial-progress-text-background);border-radius:inherit;box-shadow:var(--mds-radial-progress-text-background-shadow);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*50);padding:calc(var(--spacing,.0025rem)*50);width:100%}.value-container,.value-container__text{align-items:center;justify-content:center}.value,.value-container__text{display:inline-flex}.value{color:currentColor}.value:after{content:var(--mds-radial-progress-text-suffix)}.icon{aspect-ratio:1;fill:var(--mds-radial-progress-color);max-height:calc(var(--spacing,.0025rem)*600);max-width:calc(var(--spacing,.0025rem)*600);width:100%}@container mds-radial-progress (max-width:47px){:host([typography=label][icon]) .value-container__text,:host([typography=option][icon]) .value-container__text{display:none}}@container mds-radial-progress (max-width:35px){:host([typography=label]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:31px){:host([typography=option]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:23px){:host([typography=label]) .value{display:none}}@container mds-radial-progress (max-width:19px){:host([typography=option]) .value{display:none}}:host([variant=primary]),:host([variant=secondary]){--mds-radial-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=ai]){--mds-radial-progress-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-radial-progress-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=error]){--mds-radial-progress-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-radial-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-radial-progress-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-radial-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-radial-progress-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-radial-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-radial-progress-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-radial-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=light]){--mds-radial-progress-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=dark]){--mds-radial-progress-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-radial-progress-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-radial-progress-text-background:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))/.15);color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}'};var g=r("mds_radial_progress",/** @class */function(){function r(r){var s=this;a(this,r);
|
|
35
|
+
/**
|
|
36
|
+
* A value between 0 and 1 that rapresents the status progress
|
|
37
|
+
*/this.progress=0;this.animatedProgress=0;this.rafId=null;
|
|
38
|
+
/**
|
|
39
|
+
* The typography of the component
|
|
40
|
+
*/this.typography="option";
|
|
41
|
+
/**
|
|
42
|
+
* Sets the theme variant colors
|
|
43
|
+
*/this.variant="primary";
|
|
44
|
+
/**
|
|
45
|
+
* Returns the displayed progress percentage
|
|
46
|
+
* @returns {string} The progress percentage
|
|
47
|
+
*/this.progressPercentage=function(r){return"".concat(Math.round(r*100))};this.clampProgress=function(r){return Math.min(1,Math.max(0,r))};this.easeOutExpo=function(r){return r===1?1:1-Math.pow(2,-10*r)};this.stopAnimation=function(){if(s.rafId!==null){cancelAnimationFrame(s.rafId);s.rafId=null}};this.animateTo=function(r){var a=s.clampProgress(r);var e=s.animatedProgress;s.stopAnimation();if(i()){s.animatedProgress=a;return}var t=500;var o=performance.now();var n=function(r){var i=Math.min(1,(r-o)/t);var m=s.easeOutExpo(i);s.animatedProgress=e+(a-e)*m;if(i<1)s.rafId=requestAnimationFrame(n);else s.rafId=null};s.rafId=requestAnimationFrame(n)}}r.prototype.componentWillLoad=function(){this.animatedProgress=this.clampProgress(this.progress)};r.prototype.disconnectedCallback=function(){this.stopAnimation()};r.prototype.onProgressChange=function(r){this.animateTo(r)};r.prototype.render=function(){var r="".concat((this.animatedProgress*100).toFixed(2),"%");var a=this.progressPercentage(this.clampProgress(this.progress));return s(e,{key:"a9568b4a4ea8bfdd43ce691413f6a2be778a6b7b","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":a,role:"progressbar",style:{"--mds-radial-progress":r}},s("div",{key:"5c8b14469b1a1c9324da60b5b9e354a145542cd3",class:"value-container",part:"value-container"},this.icon&&s("mds-icon",{key:"19cc789bd64f3b8d9306aa5765c147e571b27706",class:"icon",name:this.icon,part:"icon"}),s("div",{key:"1a99635e2ba7e3ce61445031b849bdd415b18966",class:"value-container__text"},s("mds-text",{key:"be23028a21ffb68864286a938fcb9c963f8c1015",class:"value",typography:this.typography},a))))};Object.defineProperty(r,"watchers",{get:function(){return{progress:[{onProgressChange:0}]}},enumerable:false,configurable:true});return r}());g.style=d()}}}));
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
System.register(["./p-BZP13mns.system.js","./p-Qrub-hmK.system.js","./p-mGgjNqBm.system.js","./p-C61qxZLH.system.js","./p-CuHZXISO.system.js"],(function(r){"use strict";var t,e,a,i,s,n,o,d,l,m;return{setters:[function(r){t=r.r;e=r.d;a=r.h;i=r.e;s=r.g;n=r.B},function(r){o=r.c},function(r){d=r.p},function(r){l=r.m},function(r){m=r.L}],execute:function(){var f="Εκκαθάριση φίλτρων";var c={clearFilters:f};var u="Clear filters";var v={clearFilters:u};var h="Borrar filtros";var p={clearFilters:h};var b="Rimuovi i filtri";var g={clearFilters:b};var w=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-filter-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-gap:calc(var(--spacing,.0025rem)*200);--mds-filter-items-padding:calc(var(--spacing,.0025rem)*200);--mds-filter-items-radius:var(--magma-radius-full,var(--radius-full,1000px));--mds-filter-items-scroll-behavior:smooth;--mds-filter-items-transition-duration:var(--duration-300,.3s);--private-filter-items-transition-duration:var(--mds-filter-items-transition-duration);--mds-filter-label-gap:calc(var(--spacing,.0025rem)*300);--mds-filter-label-padding:0 calc(var(--spacing,.0025rem)*600);--mds-filter-wrapper-shadow-color:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)))) inset;--mds-filter-wrapper-shadow-opacity:.1;display:grid;gap:var(--mds-filter-label-gap,calc(var(--spacing,.0025rem)*300));grid-auto-rows:min-content}.items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;background-color:var(--mds-filter-items-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-filter-items-radius,var(--magma-radius-full,var(--radius-full,1000px)));display:flex;gap:var(--mds-filter-items-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-filter-items-padding,calc(var(--spacing,.0025rem)*200));position:relative;scroll-behavior:var(--mds-filter-items-scroll-behavior,smooth);scroll-snap-type:x mandatory;scrollbar-width:none;transition-duration:var(--private-filter-items-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.items-wrapper{display:grid;overflow:hidden;position:relative}.items-wrapper:after{border-radius:var(--mds-filter-items-radius,var(--magma-radius-full,var(--radius-full,1000px)));box-shadow:var(--mds-filter-wrapper-shadow);content:"";inset:0;opacity:var(--mds-filter-wrapper-shadow-opacity,.1);pointer-events:none;position:absolute}.items::-webkit-scrollbar{display:none}.label{padding:var(--mds-filter-label-padding,0 calc(var(--spacing,.0025rem)*600))}.active{background-color:var(--mds-filter-items-background-active,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))))}.reset{display:flex;flex-grow:1;justify-content:flex-end;transform-origin:50%}.reset,.reset-button{transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.reset-button-opened,:host([reset]:not([reset=false])) .reset{transform:scale(1)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-filter-items-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .items{--mds-filter-items-background-active:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]){--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-wrapper-shadow-opacity:.3;--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)))) inset}@media (prefers-reduced-motion:reduce){:host{--mds-filter-items-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-filter-items-transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .items{--mds-filter-items-background-active:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-wrapper-shadow-opacity:.3;--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)))) inset}}'};var y=r("mds_filter",/** @class */function(){function r(r){var a=this;t(this,r);this.changedEvent=e(this,"mdsFilterChange",7);this.t=new m({el:c,en:v,es:p,it:g});this.itemsSelected=0;this.queryItems=function(){return a.element.querySelectorAll("mds-filter-item")};
|
|
2
|
+
/**
|
|
3
|
+
* Centres the selected item in the strip. The measure is taken from the boxes
|
|
4
|
+
* and applied as a delta on the current scroll: `offsetLeft` would mix two
|
|
5
|
+
* coordinate systems, because the items are slotted light children and their
|
|
6
|
+
* offsetParent is whatever is positioned above the host - the page, usually -
|
|
7
|
+
* while the strip lives in the shadow root. The difference between the two is
|
|
8
|
+
* the distance of the filter from that ancestor, so the further right the
|
|
9
|
+
* component sits the more the scroll overshoots, until it clamps at the end of
|
|
10
|
+
* the strip and pushes the clicked item against the left edge.
|
|
11
|
+
*/this.scrollTabs=function(){var r;var t=a.queryItems();var e=t[a.lastSelectedItem];var i=(r=a.element.shadowRoot)===null||r===void 0?void 0:r.querySelector(".items");if(i&&e){var s=i.getBoundingClientRect();var n=e.getBoundingClientRect();i.scrollLeft+=n.left-s.left-(s.width-n.width)/2}};this.checkSelectedItem=function(){var r=a.queryItems();var t=false;r.forEach((function(r){if(r.selected){t=true}}));a.active=t};
|
|
12
|
+
// in multiple mode an item that follows a selected one is marked `sibling`
|
|
13
|
+
this.markSiblings=function(r){if(!a.multiple){return}r.forEach((function(t,e){t.classList.toggle("sibling",e>0&&r[e-1].selected===true)}))};
|
|
14
|
+
/**
|
|
15
|
+
* The selection lives on the items: one the application selects or clears, or renders already
|
|
16
|
+
* selected, is taken in as after a click - one item at a time in single mode, the last one set
|
|
17
|
+
* winning, the reset button shown or hidden, the strip scrolled to it - but no `mdsFilterChange`
|
|
18
|
+
* is emitted, the application already knows. A click goes through here too, once its listener
|
|
19
|
+
* has done the same, and finds nothing left to change.
|
|
20
|
+
*/this.syncSelection=function(r){var t=Array.from(a.queryItems());var e;r.forEach((function(r){var a=r.type==="childList"?Array.from(r.addedNodes):[r.target];a.forEach((function(r){var a=r;if(t.includes(a)&&a.selected===true){e=a}}))}));if(!a.multiple){a.keepOneSelected(t,e)}if(e){a.lastSelectedItem=t.indexOf(e);a.scrollTabs()}a.markSiblings(t);a.checkSelectedItem()};
|
|
21
|
+
// single mode: of the selected items only `keep` stays, by default the last one, as in a select
|
|
22
|
+
this.keepOneSelected=function(r,t){if(t===void 0){t=r.filter((function(r){return r.selected===true})).pop()}r.forEach((function(r){if(r.selected===true&&r!==t){r.selected=false}}))};this.checkAutoReset=function(){if(!a.autoReset){return}a.resetItems()};this.resetItems=function(){var r=a.queryItems();r.forEach((function(r){r.selected=false;r.classList.remove("sibling")}));a.active=false};
|
|
23
|
+
// the reset button is an action of the filter: it clears the selection and tells the
|
|
24
|
+
// application, as a click on the items does
|
|
25
|
+
this.handleResetClick=function(){if(!a.active){return}a.resetItems();a.changedEvent.emit({children:a.queryItems(),value:a.itemsValues()})};this.itemsValues=function(){var r=a.queryItems();var t=[];r.forEach((function(r){if(r.selected){t.push(r.value)}}));return t.toString()}}r.prototype.connectedCallback=function(){var r;(r=this.selectionObserver)===null||r===void 0?void 0:r.disconnect();if(!n.isBrowser){return}this.selectionObserver=new MutationObserver(this.syncSelection);this.selectionObserver.observe(this.element,{attributeFilter:["selected"],childList:true,subtree:true})};r.prototype.disconnectedCallback=function(){var r;(r=this.selectionObserver)===null||r===void 0?void 0:r.disconnect();this.selectionObserver=undefined};r.prototype.componentWillLoad=function(){var r=this.queryItems();
|
|
26
|
+
// an item keeps the id its author gave it, one without gets `item-<index>`, what its events
|
|
27
|
+
// reported before; the filter tells the items apart by element. It used to overwrite every id
|
|
28
|
+
// (#827)
|
|
29
|
+
r.forEach((function(r,t){if(r.id==="")r.id="item-".concat(t)}));if(!this.multiple){this.keepOneSelected(Array.from(r))}this.checkSelectedItem()};r.prototype.activeEventHandler=function(r){var t=this.queryItems();
|
|
30
|
+
// the item itself, not its id: an item rendered after the load has none
|
|
31
|
+
var e=r.target;this.lastSelectedItem=Array.from(t).indexOf(e);this.scrollTabs();if(this.multiple){this.markSiblings(Array.from(t));this.itemsSelected=Array.from(t).filter((function(r){return r.selected===true})).length;this.checkSelectedItem();if(this.itemsSelected===t.length){this.checkAutoReset()}this.changedEvent.emit({children:t,value:this.itemsValues()});return}t.forEach((function(t){t.selected=t===e&&r.detail.selected}));this.checkSelectedItem();this.changedEvent.emit({children:t,value:this.itemsValues()})};r.prototype.render=function(){return a(i,{key:"34783bda1dcec035c7ba41c82042fecba817c97e","aria-label":this.label,role:"group","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},this.label&&a("mds-text",{key:"a55d4926500a688d96ca0c85e83ff111491bc08e","aria-hidden":"true",class:"label",typography:"label"},this.label),a("div",{key:"cb530ed3e375db9c07c5e01470faff5a8565c1f6",class:"items-wrapper"},a("div",{key:"962ae52cb0c3d62943b4d4af190b6a1711e216e4",class:o("items",this.active&&"active")},a("slot",{key:"3e11d0e81d6f44cd0ab44acfe9e7cc76cc56a20b"}),this.reset&&a("div",{key:"9975a29b22631d1b7bb9f7658a081db0c0cd2fab",class:o("reset",this.active&&"reset--opened")},a("mds-filter-item",{key:"cb6309bb672714a384afcee5589e95c1ab9db764","aria-hidden":this.active?undefined:"true","aria-label":this.t.get("clearFilters"),selected:this.active,disabled:!this.active,class:o("reset-button",this.active&&"reset-button-opened"),icon:l,onClick:this.handleResetClick})))))};Object.defineProperty(r.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return r}());y.style=w()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as r,h as e,e as a,g as i,B as s}from"./p-CvLLN-QH.js";import{c as o}from"./p-ChV9xqsO.js";import{p as n}from"./p-iX3kcwYg.js";import{m as d}from"./p-J-ikDhyq.js";import{L as l}from"./p-OafT80hV.js";var m={clearFilters:"Εκκαθάριση φίλτρων"},c={clearFilters:"Clear filters"},h={clearFilters:"Borrar filtros"},f={clearFilters:"Rimuovi i filtri"};const p=class{constructor(e){t(this,e),this.changedEvent=r(this,"mdsFilterChange",7),this.t=new l({el:m,en:c,es:h,it:f}),this.itemsSelected=0,this.queryItems=()=>this.element.querySelectorAll("mds-filter-item"),this.scrollTabs=()=>{var t;const r=this.queryItems()[this.lastSelectedItem],e=null===(t=this.element.shadowRoot)||void 0===t?void 0:t.querySelector(".items");if(e&&r){const t=e.getBoundingClientRect(),a=r.getBoundingClientRect();e.scrollLeft+=a.left-t.left-(t.width-a.width)/2}},this.checkSelectedItem=()=>{const t=this.queryItems();let r=!1;t.forEach((t=>{t.selected&&(r=!0)})),this.active=r},this.markSiblings=t=>{this.multiple&&t.forEach(((r,e)=>{r.classList.toggle("sibling",e>0&&!0===t[e-1].selected)}))},this.syncSelection=t=>{const r=Array.from(this.queryItems());let e;t.forEach((t=>{("childList"===t.type?Array.from(t.addedNodes):[t.target]).forEach((t=>{const a=t;r.includes(a)&&!0===a.selected&&(e=a)}))})),this.multiple||this.keepOneSelected(r,e),e&&(this.lastSelectedItem=r.indexOf(e),this.scrollTabs()),this.markSiblings(r),this.checkSelectedItem()},this.keepOneSelected=(t,r=t.filter((t=>!0===t.selected)).pop())=>{t.forEach((t=>{!0===t.selected&&t!==r&&(t.selected=!1)}))},this.checkAutoReset=()=>{this.autoReset&&this.resetItems()},this.resetItems=()=>{this.queryItems().forEach((t=>{t.selected=!1,t.classList.remove("sibling")})),this.active=!1},this.handleResetClick=()=>{this.active&&(this.resetItems(),this.changedEvent.emit({children:this.queryItems(),value:this.itemsValues()}))},this.itemsValues=()=>{const t=this.queryItems(),r=[];return t.forEach((t=>{t.selected&&r.push(t.value)})),r.toString()}}connectedCallback(){var t;null===(t=this.selectionObserver)||void 0===t||t.disconnect(),s.isBrowser&&(this.selectionObserver=new MutationObserver(this.syncSelection),this.selectionObserver.observe(this.element,{attributeFilter:["selected"],childList:!0,subtree:!0}))}disconnectedCallback(){var t;null===(t=this.selectionObserver)||void 0===t||t.disconnect(),this.selectionObserver=void 0}componentWillLoad(){const t=this.queryItems();t.forEach(((t,r)=>{""===t.id&&(t.id=`item-${r}`)})),this.multiple||this.keepOneSelected(Array.from(t)),this.checkSelectedItem()}activeEventHandler(t){const r=this.queryItems(),e=t.target;if(this.lastSelectedItem=Array.from(r).indexOf(e),this.scrollTabs(),this.multiple)return this.markSiblings(Array.from(r)),this.itemsSelected=Array.from(r).filter((t=>!0===t.selected)).length,this.checkSelectedItem(),this.itemsSelected===r.length&&this.checkAutoReset(),void this.changedEvent.emit({children:r,value:this.itemsValues()});r.forEach((r=>{r.selected=r===e&&t.detail.selected})),this.checkSelectedItem(),this.changedEvent.emit({children:r,value:this.itemsValues()})}render(){return e(a,{key:"34783bda1dcec035c7ba41c82042fecba817c97e","aria-label":this.label,role:"group","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},this.label&&e("mds-text",{key:"a55d4926500a688d96ca0c85e83ff111491bc08e","aria-hidden":"true",class:"label",typography:"label"},this.label),e("div",{key:"cb530ed3e375db9c07c5e01470faff5a8565c1f6",class:"items-wrapper"},e("div",{key:"962ae52cb0c3d62943b4d4af190b6a1711e216e4",class:o("items",this.active&&"active")},e("slot",{key:"3e11d0e81d6f44cd0ab44acfe9e7cc76cc56a20b"}),this.reset&&e("div",{key:"9975a29b22631d1b7bb9f7658a081db0c0cd2fab",class:o("reset",this.active&&"reset--opened")},e("mds-filter-item",{key:"cb6309bb672714a384afcee5589e95c1ab9db764","aria-hidden":this.active?void 0:"true","aria-label":this.t.get("clearFilters"),selected:this.active,disabled:!this.active,class:o("reset-button",this.active&&"reset-button-opened"),icon:d,onClick:this.handleResetClick})))))}get element(){return i(this)}};p.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-filter-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-gap:calc(var(--spacing,.0025rem)*200);--mds-filter-items-padding:calc(var(--spacing,.0025rem)*200);--mds-filter-items-radius:var(--magma-radius-full,var(--radius-full,1000px));--mds-filter-items-scroll-behavior:smooth;--mds-filter-items-transition-duration:var(--duration-300,.3s);--private-filter-items-transition-duration:var(--mds-filter-items-transition-duration);--mds-filter-label-gap:calc(var(--spacing,.0025rem)*300);--mds-filter-label-padding:0 calc(var(--spacing,.0025rem)*600);--mds-filter-wrapper-shadow-color:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)))) inset;--mds-filter-wrapper-shadow-opacity:.1;display:grid;gap:var(--mds-filter-label-gap,calc(var(--spacing,.0025rem)*300));grid-auto-rows:min-content}.items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;background-color:var(--mds-filter-items-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-filter-items-radius,var(--magma-radius-full,var(--radius-full,1000px)));display:flex;gap:var(--mds-filter-items-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-filter-items-padding,calc(var(--spacing,.0025rem)*200));position:relative;scroll-behavior:var(--mds-filter-items-scroll-behavior,smooth);scroll-snap-type:x mandatory;scrollbar-width:none;transition-duration:var(--private-filter-items-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.items-wrapper{display:grid;overflow:hidden;position:relative}.items-wrapper:after{border-radius:var(--mds-filter-items-radius,var(--magma-radius-full,var(--radius-full,1000px)));box-shadow:var(--mds-filter-wrapper-shadow);content:"";inset:0;opacity:var(--mds-filter-wrapper-shadow-opacity,.1);pointer-events:none;position:absolute}.items::-webkit-scrollbar{display:none}.label{padding:var(--mds-filter-label-padding,0 calc(var(--spacing,.0025rem)*600))}.active{background-color:var(--mds-filter-items-background-active,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))))}.reset{display:flex;flex-grow:1;justify-content:flex-end;transform-origin:50%}.reset,.reset-button{transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.reset-button-opened,:host([reset]:not([reset=false])) .reset{transform:scale(1)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-filter-items-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .items{--mds-filter-items-background-active:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]){--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-wrapper-shadow-opacity:.3;--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)))) inset}@media (prefers-reduced-motion:reduce){:host{--mds-filter-items-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-filter-items-transition-duration:0s}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .items{--mds-filter-items-background-active:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-items-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-filter-items-background-active:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-filter-items-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-filter-wrapper-shadow-opacity:.3;--mds-filter-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-filter-wrapper-shadow-color,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)))) inset}}';export{p as mds_filter}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a,e as r,g as t}from"./p-CvLLN-QH.js";const o=class{constructor(a){e(this,a),this.onClick=e=>{var a;const r=null===(a=this.host)||void 0===a?void 0:a.closest("mds-input-date-range");r&&(e.stopPropagation(),r.preselect({caller:this.host,start:this.start,end:this.end}),this.selected=!0)}}componentWillLoad(){this.host.hasAttribute("slot")||this.host.setAttribute("slot","calendar-preselection")}render(){return a(r,{key:"effa1614b0de4544c0e547c3d2991e140b80bf73"},a("mds-button",{key:"65457e92163cfae34fc1a85a3eda3539d2fcf455",onClick:this.onClick,class:"action",variant:"primary",tone:"strong"},a("slot",{key:"94a3697981632b403ebbade363adc0e65205f4e0"})))}get host(){return t(this)}};o.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-date-range-preselection-default-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0);--mds-date-range-preselection-default-border:var(--magma-border-default,var(--border-neutral-default,196 196 196));--mds-date-range-preselection-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-selected-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-selected-border:var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204));--mds-date-range-preselection-selected-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-date-range-preselection-hover-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-hover-border:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237));--mds-date-range-preselection-hover-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-background:var(--mds-date-range-preselection-default-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0));--mds-date-range-preselection-border:var(--mds-date-range-preselection-default-border,var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-default-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));display:inline-flex;justify-self:start}:host .action{--mds-button-background:var(--mds-date-range-preselection-background);--mds-button-border-color-rgb:var(--mds-date-range-preselection-border);--mds-button-color:var(--mds-date-range-preselection-color)}:host .action:hover{--mds-date-range-preselection-background:var(--mds-date-range-preselection-hover-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-hover-border,var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-hover-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selected]) .action{--mds-date-range-preselection-background:var(--mds-date-range-preselection-selected-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-selected-border,var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-selected-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));pointer-events:none}";export{o as mds_input_date_range_preselection}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
System.register(["./p-BZP13mns.system.js"],(function(t){"use strict";var n,i,e,r;return{setters:[function(t){n=t.r;i=t.h;e=t.e;r=t.g}],execute:function(){var o=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 a=3;
|
|
2
|
+
// a removed attribute leaves null, which counts as no duration, like 0
|
|
3
|
+
var s=function(t){var n;var i=(n=t.duration)!==null&&n!==void 0?n:0;return i!==0&&!Number.isNaN(i)};var u=t("mds_toast_region",/** @class */function(){function t(t){var i=this;n(this,t);
|
|
4
|
+
// the visible toasts, oldest first: the order they were shown in, which is not the order of
|
|
5
|
+
// the page when a toast is shown again
|
|
6
|
+
this.shown=[];
|
|
7
|
+
/**
|
|
8
|
+
* Sets the edge of the viewport where the toasts line up, and the `position` of every toast inside the region
|
|
9
|
+
*/this.position="bottom-center";
|
|
10
|
+
/**
|
|
11
|
+
* The most toasts visible at once: when one more shows, the oldest one with a `duration` is hidden. A toast that stays (`duration="0"`) is never hidden by the region
|
|
12
|
+
*/this.max=a;this.limit=function(){return Number.isInteger(i.max)&&i.max>0?i.max:a};this.toasts=function(){return Array.from(i.host.querySelectorAll("mds-toast"))};
|
|
13
|
+
/**
|
|
14
|
+
* Gives the toasts the position of the region, follows the order they are shown in, and when
|
|
15
|
+
* a toast shows while `max` are already visible, hides the oldest ones with a timer. The cap
|
|
16
|
+
* acts only when a toast arrives, and never on the one arriving: a toast that stays until it
|
|
17
|
+
* is closed is never hidden, so the region may hold more than `max` until one of them goes,
|
|
18
|
+
* and a later look at the same toasts must not hide one of them after the fact.
|
|
19
|
+
*/this.update=function(){var t;var n=i.toasts();n.forEach((function(t){if(t.position!==i.position){t.position=i.position}}));var e=n.filter((function(t){return!!t.visible}));i.shown=i.shown.filter((function(t){return e.includes(t)}));var r=e.filter((function(t){return!i.shown.includes(t)}));(t=i.shown).push.apply(t,r);if(r.length===0){return}var o=i.shown.length-i.limit();for(var a=0,u=i.shown.filter((function(t){return!r.includes(t)}));a<u.length;a++){var c=u[a];if(o<=0){break}if(s(c)){c.visible=false;o-=1}}i.shown=i.shown.filter((function(t){return t.visible}))};this.observe=function(){var t;if(typeof MutationObserver==="undefined")return;(t=i.observer)===null||t===void 0?void 0:t.disconnect();i.observer=new MutationObserver(i.update);i.observer.observe(i.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(a))}}}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
|
+
// the live region, in the page before any message: a toast added or shown inside it is
|
|
21
|
+
// announced. Not atomic, or every change would read out all the toasts again
|
|
22
|
+
return i(e,{key:"29ede52e2ac6a292a536078d74e8447223eba2c2",role:"status","aria-live":"polite","aria-atomic":"false"},i("slot",{key:"6d1f5a5fa0b083056267bff7d32b4b51b9240bd3"}))};Object.defineProperty(t.prototype,"host",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}},enumerable:false,configurable:true});return t}());u.style=o()}}}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
System.register(["./p-BZP13mns.system.js","./p-mGgjNqBm.system.js"],(function(a){"use strict";var r,t,e,i,n;return{setters:[function(a){r=a.r;t=a.h;e=a.e;i=a.g},function(a){n=a.p}],execute:function(){var o=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-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-kpi-item-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-kpi-item-text-animation-placeholder-char:var(--mds-kpi-text-animation-placeholder-char," ");--mds-kpi-item-text-animation-speed:var(--mds-kpi-text-animation-speed,.15);--mds-kpi-item-transition-duration:var(--duration-300,.3s);--private-kpi-item-padding:calc(var(--spacing,.0025rem)*400);--private-kpi-item-radius:var(--magma-radius-4xl,var(--radius-squircle-4xl,80px));--private-kpi-item-transition-duration:var(--mds-kpi-item-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));aspect-ratio:1;background-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));border-radius:var(--private-kpi-item-radius);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:flex;flex-direction:column;gap:0;overflow:hidden;padding:var(--private-kpi-item-padding);transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color,box-shadow}.icon-container{align-items:center;display:flex;flex-grow:1;justify-content:center;transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon,.icon-container{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon{fill:var(--mds-kpi-item-icon-color);transition-duration:var(--private-kpi-item-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:40%}.info{background-color:var(--mds-kpi-item-info-background);border-radius:max(0px,calc(var(--private-kpi-item-radius) - var(--private-kpi-item-padding)));box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:inherit;display:grid;flex-shrink:0;gap:0;justify-content:center;padding:calc(var(--spacing,.0025rem)*400);text-align:center;transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color,border-radius,box-shadow}.description,.info,.value{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1))}.description,.value{transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));--mds-text-animation-speed:var(--mds-kpi-item-text-animation-speed);--mds-text-animation-placeholder-char:var(--mds-kpi-item-text-animation-placeholder-char);transition-duration:var(--private-kpi-item-transition-duration);transition-property:fill}: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-kpi-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-kpi-item-info-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]) .info{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more][pref-mode=dark]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-kpi-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-kpi-item-info-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more][pref-mode=system]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .info{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=system][pref-mode=dark]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var s=a("mds_kpi_item",/** @class */function(){function a(a){var t=this;r(this,a);
|
|
2
|
+
/**
|
|
3
|
+
* Specifies the page threshold which starts the text animation
|
|
4
|
+
*/this.threshold=0;
|
|
5
|
+
/**
|
|
6
|
+
* The animated texts stay empty until the item is on screen, and an empty text has no
|
|
7
|
+
* line box at all: the info panel measured 32px and jumped to 82px the moment the value
|
|
8
|
+
* arrived, with the icon sliding up behind it. Waiting on a run of spaces as long as the
|
|
9
|
+
* value holds that line box open - mds-text keeps the whitespace of an animated text, so
|
|
10
|
+
* this is the same picture the animation itself starts from.
|
|
11
|
+
*/this.reserveLine=function(a){return" ".repeat(a.length)};this.setObserver=function(){if(typeof window==="undefined")return;t.observer=new window.IntersectionObserver((function(a){var r=a[0];t.isIntersecting=r.isIntersecting}),{root:null,threshold:t.threshold});t.observer.observe(t.hostElement)};
|
|
12
|
+
/**
|
|
13
|
+
* The spoken name joins the value and its description, leaving out the one that is missing
|
|
14
|
+
* (it used to read "undefined"). An aria-label written on the host by the author is the more
|
|
15
|
+
* specific name and stays; the one this item wrote before is its own to update.
|
|
16
|
+
*/this.resolveName=function(){var a=[t.label,t.description].filter((function(a){return(a!==null&&a!==void 0?a:"")!==""})).join(": ")||undefined;var r=t.hostElement.getAttribute("aria-label");if(r!==null&&r!==t.appliedName&&r!==a){return r}t.appliedName=a;return a}}a.prototype.componentWillLoad=function(){if(this.threshold!==0){this.setObserver()}};a.prototype.render=function(){return t(e,{key:"a7e5fb92c21e9d57810f4311c8d713875f58472b","aria-label":this.resolveName(),role:"listitem","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},this.icon&&t("div",{key:"37b1a451b728377887d2af973c70dcb23b68154c",class:"icon-container",part:"icon-container"},t("mds-icon",{key:"029aff32d27e3bf3988643ebdde160633e894de3",class:"icon",name:this.icon,part:"icon"})),t("div",{key:"0e3903e5a05e25c76f28132c3cb64e99fb54554f",class:"info",part:"content","aria-hidden":"true"},this.label&&this.threshold!==0&&t("mds-text",{key:"89346fe339b5c7e1f6b31c010d92564306902f46",class:"value",typography:"h2",text:this.isIntersecting?this.label:this.reserveLine(this.label),animation:"yugop"}),this.label&&this.threshold===0&&t("mds-text",{key:"49e95e00e2053c4d5394f63a660dc78fb50e05db",class:"value",typography:"h2"},this.label),this.description&&this.threshold!==0&&t("mds-text",{key:"2105b55b883f289c3bbd4b8dc672dd2033a53154",class:"description",typography:"label",text:this.isIntersecting?this.description:this.reserveLine(this.description),animation:"yugop"}),this.description&&this.threshold===0&&t("mds-text",{key:"691817b281e4502367d7a0f4ab67410bdc1f0f46",class:"description",typography:"label"},this.description)))};Object.defineProperty(a.prototype,"hostElement",{get:function(){return i(this)},enumerable:false,configurable:true});return a}());s.style=o()}}}));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
System.register(["./p-BZP13mns.system.js"],(function(r){"use strict";var e,t,a,s,o;return{setters:[function(r){e=r.r;t=r.d;a=r.h;s=r.e;o=r.g}],execute:function(){var n=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-progress,mds-stepper-bar-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-stepper-bar-gap:calc(var(--spacing,.0025rem)*50);--mds-stepper-bar-offset-margin:0;--mds-stepper-bar-scroll-behavior:smooth;--mds-stepper-bar-scrollbar-margin:0;--mds-stepper-bar-scrollbar-radius:0;--mds-stepper-bar-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-stepper-bar-scrollbar-thumb-background:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-stepper-bar-scrollbar-track-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));display:grid;gap:calc(var(--spacing,.0025rem)*600);position:relative}.items{align-items:start;display:flex;flex-grow:1;gap:var(--mds-stepper-bar-gap);margin:0 calc(var(--mds-stepper-bar-offset-margin,0)*-1);overflow:auto;padding:0 var(--mds-stepper-bar-offset-margin,0);position:relative;scroll-behavior:var(--mds-stepper-bar-scroll-behavior,smooth);scroll-snap-type:x mandatory;width:100%;z-index:10}:host([linear=true]) ::slotted(mds-stepper-bar-item),:host([linear]) ::slotted(mds-stepper-bar-item){pointer-events:none}:host([linear=false]) ::slotted(mds-stepper-bar-item){pointer-events:auto}.contents{display:flex;flex-direction:column;width:100%}:host(:not([navigation=scrollbar])) .items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([navigation=scrollbar])) .items::-webkit-scrollbar{display:none}:host([navigation=scrollbar]) .items::-webkit-scrollbar{height:var(--mds-stepper-bar-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-stepper-bar-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([navigation=scrollbar]) .items::-webkit-scrollbar-track{background-color:var(--mds-stepper-bar-scrollbar-track-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--mds-stepper-bar-scrollbar-radius,0);margin-block:var(--mds-stepper-bar-scrollbar-margin,0);margin-inline:var(--mds-stepper-bar-scrollbar-margin,0)}:host([navigation=scrollbar]) .items::-webkit-scrollbar-thumb{background-color:var(--mds-stepper-bar-scrollbar-thumb-background,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));border-radius:var(--mds-stepper-bar-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.items{scrollbar-color:var(--mds-stepper-bar-scrollbar-thumb-background,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)))) var(--mds-stepper-bar-scrollbar-track-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));scrollbar-width:thin}}@media (prefers-reduced-motion:reduce){:host{--mds-stepper-bar-scroll-behavior:auto}}"};var i=r("mds_stepper_bar",/** @class */function(){function r(r){var a=this;e(this,r);this.changedEvent=t(this,"mdsStepperBarChange",7);this.currentItem=0;
|
|
2
|
+
/**
|
|
3
|
+
* Sets the current item by its position, counted from 1: the items before it are done. 1 makes
|
|
4
|
+
* the first item current with none done, 0 makes no item current, the number of items + 1 marks
|
|
5
|
+
* them all done
|
|
6
|
+
*/this.itemsDone=1;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the navigation type
|
|
9
|
+
*/this.navigation="none";this.queryItems=function(){return a.element.querySelectorAll("mds-stepper-bar-item")};this.queryContentItems=function(){return a.element.querySelectorAll("[slot=content]")};
|
|
10
|
+
// private queryContents = (): NodeListOf<HTMLElement> =>
|
|
11
|
+
// this.element.querySelectorAll<HTMLElement>('[slot="content"]')
|
|
12
|
+
this.minmax=function(r,e,t){return Math.min(Math.max(r,e),t)};this.setCurrent=function(r){a.items=a.queryItems();a.currentItem=r-1;var e=new Array;a.items.forEach((function(r,t){var s;r.done=false;if(t<a.currentItem){r.done=true;var o=(s=r.value)!==null&&s!==void 0?s:"";if(o!==""){e.push(o)}}r.current=false;if(t===a.currentItem){r.current=true;a.currentItem=t}}));a.changedEvent.emit({value:e.toString(),step:a.currentItem});a.scrollItems();a.setCurrentContent()};
|
|
13
|
+
// the `hidden` attribute hides a panel without any style of the page: the `hidden` class it
|
|
14
|
+
// used took effect only where the page defined it
|
|
15
|
+
this.setCurrentContent=function(){a.contentItems.forEach((function(r,e){r.hidden=e!==a.currentItem}))};this.scrollItems=function(){var r;var e=(r=a.element.shadowRoot)===null||r===void 0?void 0:r.querySelector(".items");var t=a.queryItems();var s=a.minmax(a.currentItem,0,a.items.length-1);if(!e)throw Error("No mds-stepper-bar-items found");if(s<=0){e.scrollLeft=0;return}if(s>=t.length){a.scrollToItem(e,t[t.length-1],"start");return}a.scrollToItem(e,t[s],"centre")};
|
|
16
|
+
/**
|
|
17
|
+
* Measures from the boxes and moves the current scroll by the difference.
|
|
18
|
+
* `offsetLeft` would mix two coordinate systems: the items are slotted light
|
|
19
|
+
* children, so they measure from whatever is positioned above the host - the
|
|
20
|
+
* page, since mds-stepper-bar does not position itself - while the strip is a
|
|
21
|
+
* div in the shadow root that measures from its own parent. What is left over
|
|
22
|
+
* is the distance of the component from the left of the page, and it lands
|
|
23
|
+
* straight on the scroll.
|
|
24
|
+
*/this.scrollToItem=function(r,e,t){var a=r.getBoundingClientRect();var s=e.getBoundingClientRect();var o=t==="centre"?(a.width-s.width)/2:0;r.scrollLeft+=s.left-a.left-o}}r.prototype.componentWillLoad=function(){this.items=this.queryItems();this.items.forEach((function(r,e){r.id="mds-stepper-bar-item-".concat(e)}))};r.prototype.componentDidLoad=function(){this.contentItems=this.queryContentItems();this.setCurrent(this.itemsDone)};r.prototype.itemDone=function(r){this.setCurrent(r)};r.prototype.render=function(){return a(s,{key:"bb18a2d591a3642d435e7a3e64a02ba8d8d7dfab"},a("div",{key:"9249171b05df2a7b75b59b821343db73e2d3412a",class:"items",part:"items"},a("slot",{key:"cf12320ba42b87989d758a282f17140d81a8ebb1"})),a("div",{key:"f8200536055da9b67161ac7565888fae52da0612",class:"contents",part:"contents"},a("slot",{key:"b8dd8d7665bfee01be176d11c43e138eee18efa6",name:"content"})))};Object.defineProperty(r.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{itemsDone:[{itemDone:0}]}},enumerable:false,configurable:true});return r}());i.style=n()}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,d as e,h as i,e as s}from"./p-CvLLN-QH.js";import{m as a}from"./p-lZldSMeV.js";import{m as n}from"./p-XQgkfNpn.js";import{L as o}from"./p-OafT80hV.js";import{p as r}from"./p-iX3kcwYg.js";var m={animationDisabled:"Απενεργοποιημένο",animationEnabled:"Ενεργοποιημένο",label:"Κινηματογραφήσεις",systemSettings:"Ρυθμίσεις συστήματος"},d={animationDisabled:"Disabled",animationEnabled:"Enabled",label:"Animations",systemSettings:"System settings"},l={animationDisabled:"Deshabilitadas",animationEnabled:"Habilitadas",label:"Animaciones",systemSettings:"Sistema operativo"},h={animationDisabled:"Disabilitate",animationEnabled:"Abilitate",label:"Animazioni",systemSettings:"Sistema operativo"};const c=class{constructor(i){t(this,i),this.prefChangeEvent=e(this,"mdsPrefChange",7),this.localStorageAlias="mdsPrefAnimation",this.customPropertyAlias="--magma-pref-animation",this.defaultMode="system",this.syncingFromStore=!1,this.t=new o({el:m,en:d,es:l,it:h}),this.animation={reduce:{selector:"pref-animation-reduce",label:"animationDisabled"},system:{selector:"pref-animation-system",label:"systemSettings"},"no-preference":{selector:"pref-animation-no-preference",label:"animationEnabled"}},this.isMode=t=>null!=t&&{}.hasOwnProperty.call(this.animation,t),this.warnInvalidMode=t=>{console.warn(`mds-pref-animation: ignoring the invalid mode "${t}", use one of: ${Object.keys(this.animation).join(", ")}`)},this.syncAnimation=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setAnimation=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const t=document.querySelector("html");for(const e in this.animation)({}).hasOwnProperty.call(this.animation,e)&&(null==t||t.classList.remove(this.animation[e].selector));null==t||t.classList.add(this.animation[this.mode].selector),null==t||t.style.setProperty(this.customPropertyAlias,this.mode)}r.state.animation=t,e||this.prefChangeEvent.emit({preference:"animation"})},this.handleModeClick=t=>()=>{this.setAnimation(t)}}componentWillLoad(){var t;null==this.mode||this.isMode(this.mode)||this.warnInvalidMode(this.mode);const e=localStorage.getItem(this.localStorageAlias);null===e||this.isMode(e)||localStorage.removeItem(this.localStorageAlias),this.setAnimation(null!==(t=[this.mode,e].find(this.isMode))&&void 0!==t?t:this.defaultMode)}connectedCallback(){this.unsubscribeStore=r.onChange("animation",this.syncAnimation)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t){if(!this.syncingFromStore)return this.isMode(t)?void this.setAnimation(t):(null!=t&&this.warnInvalidMode(t),void this.syncAnimation(r.state.animation))}render(){var t;return i(s,{key:"86f8dc30cf4bf71b72618991d15e9e77e8f88aa1","pref-contrast":r.state.contrast},i("mds-text",{key:"4a2bf935bae5596232d1598b2a732d860c2327f8",class:"info",typography:"caption"},i("b",{key:"6cd777637bdec20e99b1c50b7092a68f83948449"},this.t.get("label"))," ",this.t.get(this.animation[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"335b56f351c41f8584198b16356b8fe5ce6e3820",fill:!0,size:this.size},i("mds-tab-item",{key:"f3c34d251f4cf3f8bd3adbe91d879fd60e7b0eb4",selected:"reduce"===this.mode,onClick:this.handleModeClick("reduce"),class:"item item--reduce",icon:a,title:this.t.get(this.animation.reduce.label)}),i("mds-tab-item",{key:"ef83e878eac830a8110b347ce417b87a57d64fc8",selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:n,title:this.t.get(this.animation.system.label)}),i("mds-tab-item",{key:"fdeab7eab0160015e635396ef6e5252da776cfe5",selected:"no-preference"===this.mode,onClick:this.handleModeClick("no-preference"),class:"item item--no-preference",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 2c-2.71 0-5.05 1.54-6.22 3.78a7.062 7.062 0 0 0-3 3A7.014 7.014 0 0 0 2 15c0 3.87 3.13 7 7 7c2.71 0 5.05-1.54 6.22-3.78a7.062 7.062 0 0 0 3-3A7.014 7.014 0 0 0 22 9c0-3.87-3.13-7-7-7zM9 20a5.002 5.002 0 0 1-4-8c0 3.87 3.13 7 7 7c-.84.63-1.88 1-3 1zm3-3a5.002 5.002 0 0 1-4-8c0 3.86 3.13 6.99 7 7c-.84.63-1.88 1-3 1zm4.7-3.3c-.53.19-1.1.3-1.7.3c-2.76 0-5-2.24-5-5c0-.6.11-1.17.3-1.7c.53-.19 1.1-.3 1.7-.3c2.76 0 5 2.24 5 5c0 .6-.11 1.17-.3 1.7zM19 12c0-3.86-3.13-6.99-7-7a5.002 5.002 0 0 1 7 7z"/></svg>',title:this.t.get(this.animation["no-preference"].label)})))}static get watchers(){return{mode:[{modeChanged:0}]}}};c.style="@layer reset,vendor,theme,base,components,utilities;:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--disabled,.item--enabled,.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]) .item{--mds-tab-item-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@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}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}";export{c as mds_pref_animation}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as a,e}from"./p-CvLLN-QH.js";import{m as o}from"./p-BJ8rpzfj.js";import{m as t}from"./p-BFhO-KUe.js";import{L as s}from"./p-OafT80hV.js";import{p as n}from"./p-iX3kcwYg.js";const i={do:t,dont:o,info:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>',warn:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M1 21h22L12 2L1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg>'};var d={do:"Επιτρέπεται",dont:"Δεν επιτρέπεται",info:"Πληροφορία",warn:"Προειδοποίηση"},m={do:"Allowed",dont:"Not allowed",info:"Information",warn:"Warning"},c={do:"Permitido",dont:"No permitido",info:"Información",warn:"Advertencia"},g={do:"Consentito",dont:"Non consentito",info:"Informazione",warn:"Attenzione"};const h=class{constructor(a){r(this,a),this.t=new s({el:d,en:m,es:c,it:g}),this.variant="info"}render(){var r,o;const t=this.icon||(null!==(r=i[this.variant])&&void 0!==r?r:i.info);return a(e,{key:"411dfcf781152b67659bcdbe3904b93010a7ef25","pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},a("div",{key:"52b24854ca14ed5f1953f5163fdc6a86cce15e71",class:"header",part:"header"},a("mds-icon",{key:"958f2689f474ca017e3ccb1485163659c690f100",name:t,part:"icon"}),a("mds-text",{key:"af7d66311957a11bb2555a0fd72240d5e0c5b3ba",typography:"label",class:"label",part:"label"},null!==(o=this.alias)&&void 0!==o?o:this.t.get(this.variant))),a("div",{key:"fb295a58dcbd531ec802d40daf8f9840860f8694",class:"content"},a("slot",{key:"7ff0e4881984fec152030d5eca7a96d57c5861f1"})))}};h.style='@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-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-usage-border-color:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-usage-header-background:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));--mds-usage-header-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-usage-transition-duration:var(--duration-200,.2s);--private-usage-transition-duration:var(--mds-usage-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-color:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));border-style:solid;border-width:calc(var(--spacing,.0025rem)*50);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);grid-auto-rows:min-content;grid-template-columns:minmax(0,100%);padding:calc(var(--spacing,.0025rem)*400);padding-top:0;position:relative;transition-duration:var(--private-usage-transition-duration);transition-property:background-color,box-shadow,color;width:100%}.label{color:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}mds-icon{fill:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}.header{background-color:var(--mds-usage-header-background,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-bottom-left-radius:var(--magma-radius-xs,var(--radius-squircle-xs,14px));border-bottom-right-radius:var(--magma-radius-xs,var(--radius-squircle-xs,14px));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);height:calc(var(--spacing,.0025rem)*600);justify-self:start;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}: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-usage-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([variant=do]){--mds-usage-border-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-usage-header-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]){--mds-usage-border-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-usage-header-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=dont]){--mds-usage-border-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-usage-header-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warn]){--mds-usage-border-color:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-usage-header-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}@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-usage-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}';export{h as mds_usage}
|