@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,119 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-entity/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-entity - mistakes
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Common incorrect uses of `<mds-entity>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/mistakes.md`](../../../../agents/mistakes.md) - they apply here too but are not repeated.
|
|
11
|
+
|
|
12
|
+
#### Do Not Put the Name as a Plain Text String in the Default Slot
|
|
13
|
+
|
|
14
|
+
The default slot accepts HTML elements and components, and the component applies truncation to slotted nodes. Passing a bare string bypasses `<mds-text>` typography tokens and truncation utilities; the result may overflow or render with inconsistent styles.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<!-- INCORRECT -->
|
|
18
|
+
<mds-entity src="/avatars/mario-rossi.png">
|
|
19
|
+
Mario Rossi
|
|
20
|
+
</mds-entity>
|
|
21
|
+
|
|
22
|
+
<!-- CORRECT -->
|
|
23
|
+
<mds-entity src="/avatars/mario-rossi.png">
|
|
24
|
+
<mds-text truncate="word" typography="h6">Mario Rossi</mds-text>
|
|
25
|
+
</mds-entity>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
#### Do Not Use `await="false"` to Cancel the Loading State
|
|
29
|
+
|
|
30
|
+
`await` is a boolean attribute: turn it off by removing it (or setting the prop to `undefined`), as for every boolean ([`agents/mistakes.md`](../../../../agents/mistakes.md)). The runtime happens to read the string `"false"` as `false`, but the attribute stays in the markup until the component renders, and HTML, `[await]` selectors and `hasAttribute()` read a present attribute as set.
|
|
31
|
+
|
|
32
|
+
```html
|
|
33
|
+
<!-- INCORRECT -->
|
|
34
|
+
<mds-entity await="false" src="/avatars/mario-rossi.png">
|
|
35
|
+
<mds-text truncate="word" typography="h6">Mario Rossi</mds-text>
|
|
36
|
+
</mds-entity>
|
|
37
|
+
|
|
38
|
+
<!-- CORRECT -->
|
|
39
|
+
<mds-entity src="/avatars/mario-rossi.png">
|
|
40
|
+
<mds-text truncate="word" typography="h6">Mario Rossi</mds-text>
|
|
41
|
+
</mds-entity>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
#### Do Not Put Non-Button Elements in the `action` Slot
|
|
45
|
+
|
|
46
|
+
The `action` slot is sized and spaced for icon-only `<mds-button>` elements. Projecting arbitrary elements (raw `<button>`, `<a>`, large widgets) breaks the fixed square dimensions applied by `::slotted([slot='action'])`.
|
|
47
|
+
|
|
48
|
+
```html
|
|
49
|
+
<!-- INCORRECT -->
|
|
50
|
+
<mds-entity src="/avatars/mario-rossi.png">
|
|
51
|
+
<mds-text truncate="word" typography="h6">Mario Rossi</mds-text>
|
|
52
|
+
<button slot="action">Modifica</button>
|
|
53
|
+
</mds-entity>
|
|
54
|
+
|
|
55
|
+
<!-- CORRECT -->
|
|
56
|
+
<mds-entity src="/avatars/mario-rossi.png">
|
|
57
|
+
<mds-text truncate="word" typography="h6">Mario Rossi</mds-text>
|
|
58
|
+
<mds-button slot="action" icon="mdi/pencil" variant="primary" tone="strong" title="Modifica"></mds-button>
|
|
59
|
+
</mds-entity>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### Do Not Combine `src`, `icon`, and `initials` Expecting All Three to Show
|
|
63
|
+
|
|
64
|
+
The component resolves to a single avatar representation. Setting all three does not create a layered avatar: the inner `mds-avatar` lets `icon` hide the image, `initials` hide the icon and `src` hide the initials, so the chip renders none of them.
|
|
65
|
+
|
|
66
|
+
```html
|
|
67
|
+
<!-- INCORRECT (expects image, icon, and initials to all appear) -->
|
|
68
|
+
<mds-entity src="/avatars/mario-rossi.png" icon="mi/baseline/person" initials="mr">
|
|
69
|
+
<mds-text truncate="word" typography="h6">Mario Rossi</mds-text>
|
|
70
|
+
</mds-entity>
|
|
71
|
+
|
|
72
|
+
<!-- CORRECT - provide the most specific source available -->
|
|
73
|
+
<mds-entity src="/avatars/mario-rossi.png">
|
|
74
|
+
<mds-text truncate="word" typography="h6">Mario Rossi</mds-text>
|
|
75
|
+
</mds-entity>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
#### Do Not Apply an Invalid `tone` Value
|
|
79
|
+
|
|
80
|
+
`<mds-entity>` uses `ToneMinimalVariantType`, which accepts only `strong` and `weak`. Passing other tone values like `outline` or `text` is a type error and is silently ignored: the avatar renders with the `strong` colours.
|
|
81
|
+
|
|
82
|
+
```html
|
|
83
|
+
<!-- INCORRECT -->
|
|
84
|
+
<mds-entity icon="mi/baseline/business" variant="primary" tone="outline">
|
|
85
|
+
<mds-text truncate="word" typography="h6">Divisione Commerciale</mds-text>
|
|
86
|
+
</mds-entity>
|
|
87
|
+
|
|
88
|
+
<!-- CORRECT -->
|
|
89
|
+
<mds-entity icon="mi/baseline/business" variant="primary" tone="strong">
|
|
90
|
+
<mds-text truncate="word" typography="h6">Divisione Commerciale</mds-text>
|
|
91
|
+
</mds-entity>
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
#### Do Not Pierce the Shadow DOM to Style the Avatar
|
|
95
|
+
|
|
96
|
+
The component exposes a `::part(avatar)` surface for styling the inner `<mds-avatar>`, but the part is the limit: the nodes inside it are not API. Color the avatar with the `variant` and `tone` props, and the entity with its public `--mds-entity-background` and `--mds-entity-color` custom properties; do not target undocumented internals.
|
|
97
|
+
|
|
98
|
+
```css
|
|
99
|
+
/* INCORRECT */
|
|
100
|
+
mds-entity::part(avatar) .inner-circle {
|
|
101
|
+
background: hotpink;
|
|
102
|
+
}
|
|
103
|
+
mds-entity >>> mds-avatar {
|
|
104
|
+
width: 80px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* CORRECT */
|
|
108
|
+
mds-entity {
|
|
109
|
+
--mds-entity-background: rgb(var(--magma-accent-surface));
|
|
110
|
+
--mds-entity-color: rgb(var(--magma-accent-fg));
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
```html
|
|
115
|
+
<!-- CORRECT -->
|
|
116
|
+
<mds-entity icon="mi/baseline/business" variant="primary" tone="weak">
|
|
117
|
+
<mds-text truncate="word" typography="h6">Divisione Commerciale</mds-text>
|
|
118
|
+
</mds-entity>
|
|
119
|
+
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-file
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.11.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-file>` web component is the Magma Design System control for representing a downloadable file as a rich, clickable card. It pairs a filename with an auto-detected file-type icon, badge, and human-readable description, and tracks whether the file has already been downloaded.
|
|
12
12
|
|
|
@@ -29,10 +29,10 @@ The `<mds-file>` web component is the Magma Design System control for representi
|
|
|
29
29
|
|
|
30
30
|
## Read next
|
|
31
31
|
|
|
32
|
-
- [`
|
|
33
|
-
- [`
|
|
32
|
+
- [`examples.md`](examples.md) - correct usage, from the most common case
|
|
33
|
+
- [`mistakes.md`](mistakes.md) - the wrong forms, each with the right one
|
|
34
34
|
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-file--docs) - the live examples, in the published Storybook of `main`
|
|
35
|
-
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`
|
|
35
|
+
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`mistakes.md`](../../../../agents/mistakes.md) - the rules shared by every component
|
|
36
36
|
|
|
37
37
|
## Props
|
|
38
38
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-
|
|
2
|
+
"timestamp": "2026-11-04T15:13:27",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
],
|
|
21
21
|
"usage": {
|
|
22
22
|
"1. Description": "The `<mds-file>` web component is the Magma Design System control for representing a downloadable file as a rich, clickable card. It pairs a filename with an auto-detected file-type icon, badge, and human-readable description, and tracks whether the file has already been downloaded.\n\n#### Semantic Behavior\n\n- **Clickable card**: The whole host is a button (`role=\"button\"`, unless you set another role) in the tab order: a click, Enter or Space emits `mdsFileDownload`; the component itself does not fetch or download - the consumer wires the actual download to that event.\n- **Download event payload**: `mdsFileDownload` carries `description` (the `description` prop, or else the description of the detected type in the page language, the text the card shows), `extension` (empty for a filename without one), `filename`, the host element as `target`, and the detected `type`/format.\n- **Downloaded persistence**: On click the component records the file as downloaded in `localStorage`, under a key derived from the filename with a small non-cryptographic hash. Every later render of the same filename on the same origin shows the \"done\" indicator.\n- **Automatic file-type recognition**: From `filename` it derives the format icon, badge variant, and default description; `suffix` overrides this detection.\n- **Localization**: Descriptions and the \"already downloaded\" tooltip are resolved against the active locale.\n\n#### Properties & Visual Configurations\n\n- **`filename`** is the primary input: it provides the displayed title and drives icon, badge, suffix, and description detection. The name and extension are rendered separately, split at the last dot so the dots inside the name are kept (`report.v2.final.docx` shows `report.v2.final` and `.docx`; a leading dot belongs to the name, as in `.env`); the extension is shown only when not explicitly overridden by `suffix`, and a filename without one shows no extension and no badge.\n- **`suffix`** forces a specific file type from the supported format set when the filename's extension is missing or wrong; it bypasses automatic recognition.\n- **`description`** overrides the derived, localized file-type description when a custom label is needed.\n- **`preview`** supplies an image URL (logo or thumbnail) rendered as the preview surface instead of the generic format icon - use it when a meaningful visual of the file exists.\n- **`hideDownloadedIcon`** (default `false`) suppresses the persisted \"already downloaded\" indicator; set it when that affordance is not appropriate.\n- **`format`** is normally populated by the component itself from detection rather than set by the consumer.\n",
|
|
23
|
-
"2.
|
|
24
|
-
"3.
|
|
23
|
+
"2. Examples": "Correct and idiomatic ways to use the `<mds-file>` component, ordered from most common to most specialized. The examples assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic File Card\n\nThe minimal form. Pass `filename` with a real filename (including extension) and the component auto-detects the format icon, badge color, and localized description.\n\n```html\n<mds-file filename=\"relazione-annuale.pdf\"></mds-file>\n```\n\n#### Handling the Download Event\n\nThe component does not fetch or download anything by itself. Listen for `mdsFileDownload` and trigger the actual download in the event handler. The event detail carries `filename`, `extension`, `type`, `description`, and `target`.\n\n```html\n<mds-file filename=\"contratto-servizio.docx\" id=\"file-card\"></mds-file>\n\n<script>\n document.getElementById('file-card').addEventListener('mdsFileDownload', (event) => {\n const { filename, extension, type } = event.detail;\n console.log(`Download avviato: ${filename} (${type})`);\n // avvia il download effettivo dal server\n });\n</script>\n```\n\n#### Forcing a File Type with `suffix`\n\nWhen the filename lacks an extension or carries a misleading one, use `suffix` to force a specific format from the supported set.\n\n```html\n<!-- filename senza estensione - forza il riconoscimento come PDF -->\n<mds-file filename=\"documento-firmato\" suffix=\"pdf\"></mds-file>\n\n<!-- estensione sconosciuta - forzata come archivio ZIP -->\n<mds-file filename=\"backup.bkp\" suffix=\"zip\"></mds-file>\n```\n\n#### Custom Description\n\nOverride the localized auto-generated description with a specific label relevant to the document context. Use `description` when the default type label (e.g. \"Documento Adobe\" for a PDF) is not informative enough.\n\n```html\n<mds-file\n filename=\"verbale-cda-2024.pdf\"\n description=\"Verbale approvato dal Consiglio di Amministrazione\"\n></mds-file>\n```\n\n#### Image Preview\n\nProvide `preview` with an image URL when a meaningful visual thumbnail is available - a logo, a reduced version of an image file, or a document cover. The preview replaces the generic format icon in the left panel.\n\n```html\n<mds-file\n filename=\"logo-aziendale.png\"\n preview=\"https://cdn.example.com/thumbnails/logo-aziendale-128.png\"\n></mds-file>\n```\n\n#### Hiding the \"Already Downloaded\" Indicator\n\nThe component shows a \"done\" indicator once the file has been downloaded, on every later render of the same filename. Add `hide-downloaded-icon` to suppress it when the affordance is not appropriate for the context (e.g. a list where every file is always shown as fresh).\n\n```html\n<mds-file filename=\"modulo-richiesta.xlsx\" hide-downloaded-icon></mds-file>\n```\n\nNote: this is the only valid way to turn the indicator off. Magma 1 used `show-downloaded-icon=\"false\"`; that prop no longer exists (the codemod turns it into `hide-downloaded-icon`).\n\n#### Rendering a List of Files\n\nPlace multiple `<mds-file>` cards inside a container and attach a single delegated event listener when the file list is dynamic.\n\n```html\n<div class=\"file-list\">\n <mds-file filename=\"allegato-1.pdf\"></mds-file>\n <mds-file filename=\"allegato-2.docx\"></mds-file>\n <mds-file filename=\"allegato-3.xlsx\"></mds-file>\n</div>\n\n<script>\n document.querySelector('.file-list').addEventListener('mdsFileDownload', (event) => {\n const { filename } = event.detail;\n avviaDownload(filename);\n });\n</script>\n```\n\n#### Styling Customization\n\nStyle the preview panel only through its public `--mds-file-preview-color` CSS custom property. Use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast modes keep working.\n\n```css\n.archivio-documenti mds-file {\n --mds-file-preview-color: rgb(var(--magma-accent-fg));\n}\n```\n",
|
|
24
|
+
"3. Mistakes": "Common incorrect uses of `<mds-file>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/mistakes.md`](../../../../agents/mistakes.md) - they apply here too but are not repeated.\n\n#### Do Not Expect the Component to Perform the Download\n\n`<mds-file>` is a display card, not a download trigger: it has no `href`. It emits `mdsFileDownload` and the consumer must wire the actual download logic to that event.\n\n```html\n<!-- INCORRECT - expecting the component to handle the download itself -->\n<mds-file filename=\"report.pdf\" href=\"/files/report.pdf\"></mds-file>\n\n<!-- CORRECT - consumer listens to the event and handles the download -->\n<mds-file filename=\"report.pdf\" id=\"card-report\"></mds-file>\n\n<script>\n document.getElementById('card-report').addEventListener('mdsFileDownload', (e) => {\n window.location.href = '/files/' + e.detail.filename;\n });\n</script>\n```\n\n#### Do Not Set `format` Manually\n\n`format` is an internal reflected attribute automatically derived from the filename and suffix. Setting it directly has no guaranteed effect because the component overwrites it during `componentWillLoad` and on every `filename` change. Use `suffix` to control type detection.\n\n```html\n<!-- INCORRECT -->\n<mds-file filename=\"archivio\" format=\"document\"></mds-file>\n\n<!-- CORRECT - use suffix to override file-type detection -->\n<mds-file filename=\"archivio\" suffix=\"pdf\"></mds-file>\n```\n\n#### Do Not Pierce Shadow DOM to Style the Preview Panel\n\nThe supported customization surface is the public `--mds-file-preview-color` CSS custom property. Targeting internal elements with `>>>`, `/deep/`, or undocumented selectors couples your code to the Shadow DOM structure and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-file >>> .preview {\n background-color: blue;\n}\n\n/* CORRECT */\nmds-file {\n --mds-file-preview-color: rgb(var(--magma-accent-fg));\n}\n```\n\n#### Do Not Wrap `<mds-file>` in a Native Anchor or Button\n\nThe host is already focusable (`tabindex=\"0\"`) and emits its own interaction event. Wrapping it in `<a>` or `<button>` creates nested interactive controls and breaks keyboard semantics.\n\n```html\n<!-- INCORRECT -->\n<a href=\"/download/report.pdf\">\n <mds-file filename=\"report.pdf\"></mds-file>\n</a>\n\n<!-- CORRECT - use the mdsFileDownload event to trigger navigation or download -->\n<mds-file filename=\"report.pdf\" id=\"file-report\"></mds-file>\n\n<script>\n document.getElementById('file-report').addEventListener('mdsFileDownload', () => {\n window.location.href = '/download/report.pdf';\n });\n</script>\n```\n\n#### Do Not Use a Raw `<div>` or `<li>` as a File Row When `<mds-file>` Exists\n\n`<mds-file>` handles format detection, theming, accessibility focus, download persistence, and localization. Rolling a custom file row loses all of these affordances.\n\n```html\n<!-- INCORRECT -->\n<div class=\"file-row\" onclick=\"download('report.pdf')\">\n <img src=\"pdf-icon.svg\" alt=\"PDF\" />\n <span>report.pdf</span>\n</div>\n\n<!-- CORRECT -->\n<mds-file filename=\"report.pdf\"></mds-file>\n```\n"
|
|
25
25
|
},
|
|
26
26
|
"props": [
|
|
27
27
|
{
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-file/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-file - examples
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Correct and idiomatic ways to use the `<mds-file>` component, ordered from most common to most specialized. The examples assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).
|
|
11
|
+
|
|
12
|
+
#### Basic File Card
|
|
13
|
+
|
|
14
|
+
The minimal form. Pass `filename` with a real filename (including extension) and the component auto-detects the format icon, badge color, and localized description.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<mds-file filename="relazione-annuale.pdf"></mds-file>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
#### Handling the Download Event
|
|
21
|
+
|
|
22
|
+
The component does not fetch or download anything by itself. Listen for `mdsFileDownload` and trigger the actual download in the event handler. The event detail carries `filename`, `extension`, `type`, `description`, and `target`.
|
|
23
|
+
|
|
24
|
+
```html
|
|
25
|
+
<mds-file filename="contratto-servizio.docx" id="file-card"></mds-file>
|
|
26
|
+
|
|
27
|
+
<script>
|
|
28
|
+
document.getElementById('file-card').addEventListener('mdsFileDownload', (event) => {
|
|
29
|
+
const { filename, extension, type } = event.detail;
|
|
30
|
+
console.log(`Download avviato: ${filename} (${type})`);
|
|
31
|
+
// avvia il download effettivo dal server
|
|
32
|
+
});
|
|
33
|
+
</script>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
#### Forcing a File Type with `suffix`
|
|
37
|
+
|
|
38
|
+
When the filename lacks an extension or carries a misleading one, use `suffix` to force a specific format from the supported set.
|
|
39
|
+
|
|
40
|
+
```html
|
|
41
|
+
<!-- filename senza estensione - forza il riconoscimento come PDF -->
|
|
42
|
+
<mds-file filename="documento-firmato" suffix="pdf"></mds-file>
|
|
43
|
+
|
|
44
|
+
<!-- estensione sconosciuta - forzata come archivio ZIP -->
|
|
45
|
+
<mds-file filename="backup.bkp" suffix="zip"></mds-file>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
#### Custom Description
|
|
49
|
+
|
|
50
|
+
Override the localized auto-generated description with a specific label relevant to the document context. Use `description` when the default type label (e.g. "Documento Adobe" for a PDF) is not informative enough.
|
|
51
|
+
|
|
52
|
+
```html
|
|
53
|
+
<mds-file
|
|
54
|
+
filename="verbale-cda-2024.pdf"
|
|
55
|
+
description="Verbale approvato dal Consiglio di Amministrazione"
|
|
56
|
+
></mds-file>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
#### Image Preview
|
|
60
|
+
|
|
61
|
+
Provide `preview` with an image URL when a meaningful visual thumbnail is available - a logo, a reduced version of an image file, or a document cover. The preview replaces the generic format icon in the left panel.
|
|
62
|
+
|
|
63
|
+
```html
|
|
64
|
+
<mds-file
|
|
65
|
+
filename="logo-aziendale.png"
|
|
66
|
+
preview="https://cdn.example.com/thumbnails/logo-aziendale-128.png"
|
|
67
|
+
></mds-file>
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
#### Hiding the "Already Downloaded" Indicator
|
|
71
|
+
|
|
72
|
+
The component shows a "done" indicator once the file has been downloaded, on every later render of the same filename. Add `hide-downloaded-icon` to suppress it when the affordance is not appropriate for the context (e.g. a list where every file is always shown as fresh).
|
|
73
|
+
|
|
74
|
+
```html
|
|
75
|
+
<mds-file filename="modulo-richiesta.xlsx" hide-downloaded-icon></mds-file>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Note: this is the only valid way to turn the indicator off. Magma 1 used `show-downloaded-icon="false"`; that prop no longer exists (the codemod turns it into `hide-downloaded-icon`).
|
|
79
|
+
|
|
80
|
+
#### Rendering a List of Files
|
|
81
|
+
|
|
82
|
+
Place multiple `<mds-file>` cards inside a container and attach a single delegated event listener when the file list is dynamic.
|
|
83
|
+
|
|
84
|
+
```html
|
|
85
|
+
<div class="file-list">
|
|
86
|
+
<mds-file filename="allegato-1.pdf"></mds-file>
|
|
87
|
+
<mds-file filename="allegato-2.docx"></mds-file>
|
|
88
|
+
<mds-file filename="allegato-3.xlsx"></mds-file>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<script>
|
|
92
|
+
document.querySelector('.file-list').addEventListener('mdsFileDownload', (event) => {
|
|
93
|
+
const { filename } = event.detail;
|
|
94
|
+
avviaDownload(filename);
|
|
95
|
+
});
|
|
96
|
+
</script>
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
#### Styling Customization
|
|
100
|
+
|
|
101
|
+
Style the preview panel only through its public `--mds-file-preview-color` CSS custom property. Use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast modes keep working.
|
|
102
|
+
|
|
103
|
+
```css
|
|
104
|
+
.archivio-documenti mds-file {
|
|
105
|
+
--mds-file-preview-color: rgb(var(--magma-accent-fg));
|
|
106
|
+
}
|
|
107
|
+
```
|
|
@@ -85,7 +85,7 @@ export class MdsFile {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
var _a, _b;
|
|
88
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: 'd88838a05b3bcd4a8c7260633ea264fcea9695b2', tabindex: "0", onClick: this.handleOnClick, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '7a93b138553e85567669e4aaa6471278f924ceac', class: "preview" }, this.preview !== undefined ? (h("div", { class: "image-preview", style: { backgroundImage: `url(${this.preview})` } })) : (h("mds-icon", { class: "icon-preview", name: getFormatsVariant(this.filename, this.suffix).icon })), h("div", { key: '9ca6fd8c6e0e16d6d58790fa0a945d74ee31193a', class: "download-icon" }, h("mds-icon", { key: 'a8d94e28f92d3bd43b0acd038da4619c25f1c9da', name: miOutlineFileDownload }))), h("div", { key: '05388f30d5f3f67a77b7df6034543f6ea548fe5f', class: "info" }, h("div", { key: '2d0917a64d02cd680e0d5a55de7cba053c71ce4f', class: "filename", title: this.filename }, h("mds-text", { key: 'af5bda2c006906641e4d4ce9e505204b63c7421b', truncate: "word", typography: "h6", class: "name" }, getName(this.filename)), this.suffix === undefined && getSuffix(this.filename, this.suffix) && (h("mds-text", { key: '9292f1e1d0e728998f83f88b36ee389fee7f41b6', typography: "h6", class: "extension" }, ".", getSuffix(this.filename, this.suffix)))), h("div", { key: '493e1a38f366b8b6c012cf65ead5ddfe6ed56761', class: "detail" }, getSuffix(this.filename, this.suffix) && (h("mds-badge", { key: 'e286eacac6093692658dc047ddde352d748a78a4', variant: getFormatsVariant(this.filename, this.suffix).variant, tone: "weak", class: "suffix" }, getSuffix(this.filename, this.suffix))), h("mds-text", { key: '1ef42c2b0a0e8a2f6c1e155f4e96e7b98307c251', truncate: "word", typography: "caption", class: "description", title: (_a = this.description) !== null && _a !== void 0 ? _a : this.t.get(this.getDefaultDescription()) }, (_b = this.description) !== null && _b !== void 0 ? _b : this.t.get(this.getDefaultDescription())))), this.wasDownloaded && !this.hideDownloadedIcon && (h("div", { key: 'eae9c6ce71bf7d262b34a6a17cdc3a3b65ae86d8', class: "indicator" }, h("i", { key: '893e5800f0e80befc3f4d0fd3603c1c6e4d09fc4', class: "downloaded", innerHTML: miBaselineFileDownloadDone, title: this.t.get('alreadyDownloaded') })))));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "mds-file"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-file/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-file - mistakes
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Common incorrect uses of `<mds-file>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/mistakes.md`](../../../../agents/mistakes.md) - they apply here too but are not repeated.
|
|
11
|
+
|
|
12
|
+
#### Do Not Expect the Component to Perform the Download
|
|
13
|
+
|
|
14
|
+
`<mds-file>` is a display card, not a download trigger: it has no `href`. It emits `mdsFileDownload` and the consumer must wire the actual download logic to that event.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<!-- INCORRECT - expecting the component to handle the download itself -->
|
|
18
|
+
<mds-file filename="report.pdf" href="/files/report.pdf"></mds-file>
|
|
19
|
+
|
|
20
|
+
<!-- CORRECT - consumer listens to the event and handles the download -->
|
|
21
|
+
<mds-file filename="report.pdf" id="card-report"></mds-file>
|
|
22
|
+
|
|
23
|
+
<script>
|
|
24
|
+
document.getElementById('card-report').addEventListener('mdsFileDownload', (e) => {
|
|
25
|
+
window.location.href = '/files/' + e.detail.filename;
|
|
26
|
+
});
|
|
27
|
+
</script>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
#### Do Not Set `format` Manually
|
|
31
|
+
|
|
32
|
+
`format` is an internal reflected attribute automatically derived from the filename and suffix. Setting it directly has no guaranteed effect because the component overwrites it during `componentWillLoad` and on every `filename` change. Use `suffix` to control type detection.
|
|
33
|
+
|
|
34
|
+
```html
|
|
35
|
+
<!-- INCORRECT -->
|
|
36
|
+
<mds-file filename="archivio" format="document"></mds-file>
|
|
37
|
+
|
|
38
|
+
<!-- CORRECT - use suffix to override file-type detection -->
|
|
39
|
+
<mds-file filename="archivio" suffix="pdf"></mds-file>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
#### Do Not Pierce Shadow DOM to Style the Preview Panel
|
|
43
|
+
|
|
44
|
+
The supported customization surface is the public `--mds-file-preview-color` CSS custom property. Targeting internal elements with `>>>`, `/deep/`, or undocumented selectors couples your code to the Shadow DOM structure and will break on minor releases.
|
|
45
|
+
|
|
46
|
+
```css
|
|
47
|
+
/* INCORRECT */
|
|
48
|
+
mds-file >>> .preview {
|
|
49
|
+
background-color: blue;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* CORRECT */
|
|
53
|
+
mds-file {
|
|
54
|
+
--mds-file-preview-color: rgb(var(--magma-accent-fg));
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
#### Do Not Wrap `<mds-file>` in a Native Anchor or Button
|
|
59
|
+
|
|
60
|
+
The host is already focusable (`tabindex="0"`) and emits its own interaction event. Wrapping it in `<a>` or `<button>` creates nested interactive controls and breaks keyboard semantics.
|
|
61
|
+
|
|
62
|
+
```html
|
|
63
|
+
<!-- INCORRECT -->
|
|
64
|
+
<a href="/download/report.pdf">
|
|
65
|
+
<mds-file filename="report.pdf"></mds-file>
|
|
66
|
+
</a>
|
|
67
|
+
|
|
68
|
+
<!-- CORRECT - use the mdsFileDownload event to trigger navigation or download -->
|
|
69
|
+
<mds-file filename="report.pdf" id="file-report"></mds-file>
|
|
70
|
+
|
|
71
|
+
<script>
|
|
72
|
+
document.getElementById('file-report').addEventListener('mdsFileDownload', () => {
|
|
73
|
+
window.location.href = '/download/report.pdf';
|
|
74
|
+
});
|
|
75
|
+
</script>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
#### Do Not Use a Raw `<div>` or `<li>` as a File Row When `<mds-file>` Exists
|
|
79
|
+
|
|
80
|
+
`<mds-file>` handles format detection, theming, accessibility focus, download persistence, and localization. Rolling a custom file row loses all of these affordances.
|
|
81
|
+
|
|
82
|
+
```html
|
|
83
|
+
<!-- INCORRECT -->
|
|
84
|
+
<div class="file-row" onclick="download('report.pdf')">
|
|
85
|
+
<img src="pdf-icon.svg" alt="PDF" />
|
|
86
|
+
<span>report.pdf</span>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<!-- CORRECT -->
|
|
90
|
+
<mds-file filename="report.pdf"></mds-file>
|
|
91
|
+
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-file-preview
|
|
8
8
|
|
|
9
|
-
> `@maggioli-design-system/magma` 2.
|
|
9
|
+
> `@maggioli-design-system/magma` 2.11.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
|
|
10
10
|
|
|
11
11
|
The `<mds-file-preview>` web component is the Magma Design System card that previews an uploaded or referenced file, surfacing its name, size, type, and a format-aware icon or thumbnail. It pairs with `<mds-input-upload>` to represent each attached file and adds download/delete affordances around the bare file metadata.
|
|
12
12
|
|
|
@@ -38,10 +38,10 @@ The shared `variant` / `tone` ladders are defined in [`agents/variants.md`](../.
|
|
|
38
38
|
|
|
39
39
|
## Read next
|
|
40
40
|
|
|
41
|
-
- [`
|
|
42
|
-
- [`
|
|
41
|
+
- [`examples.md`](examples.md) - correct usage, from the most common case
|
|
42
|
+
- [`mistakes.md`](mistakes.md) - the wrong forms, each with the right one
|
|
43
43
|
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-file-preview--docs) - the live examples, in the published Storybook of `main`
|
|
44
|
-
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`
|
|
44
|
+
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`mistakes.md`](../../../../agents/mistakes.md) - the rules shared by every component
|
|
45
45
|
|
|
46
46
|
## Props
|
|
47
47
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-
|
|
2
|
+
"timestamp": "2026-11-04T15:13:27",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
],
|
|
25
25
|
"usage": {
|
|
26
26
|
"1. Description": "The `<mds-file-preview>` web component is the Magma Design System card that previews an uploaded or referenced file, surfacing its name, size, type, and a format-aware icon or thumbnail. It pairs with `<mds-input-upload>` to represent each attached file and adds download/delete affordances around the bare file metadata.\n\n#### Semantic Behavior\n\n- **Format auto-detection**: The `filename` extension determines the icon, badge colour, and human-readable description; `suffix` forces a specific known format and `format` is the resolved category.\n- **Download interaction**: With `downloadable` the card is a button in the tab order: a click, Enter or Space emits `mdsFileDownload` with `{ target, filename, extension }`, once. Without it the card is not interactive and emits nothing. `downloadable` renders no download icon.\n- **Delete affordance**: When `deletable` is set, a light icon button renders in the corner and emits `mdsFileDelete` with the same detail payload, leaving the actual removal to the consumer.\n- **Filesize formatting**: A numeric `filesize` string is treated as bytes and formatted automatically; any non-numeric string is shown verbatim.\n- **Preview vs. icon vs. status**: A thumbnail renders only when `src` is set, the format supports preview, and no `message` is present; otherwise a format icon is shown, and when `message` is present the card switches to a status layout displaying that feedback text.\n- **Localization**: Default type descriptions and action titles resolve through the locale system (el/en/es/it).\n\n#### Properties & Visual Configurations\n\n- **`filename`** is the source of truth: beyond being the title, it drives icon, badge, and description inference, so prefer a real name with extension over a cosmetic label.\n- **`suffix`** overrides extension detection when the filename is unreliable or missing an extension; pick from the known format set rather than passing the description directly.\n- **`description`** overrides only the textual filetype caption, leaving icon and badge inference intact. The caption is shown only without `filesize`; with a size it stays as the badge tooltip.\n- **`src`** supplies a thumbnail (e.g. a logo or downscaled image) shown in place of the generic icon when the format is previewable and no message is active.\n- **`message`** turns the card into a feedback/status state (validation, error, progress text) and suppresses the thumbnail.\n\n#### Component-specific variants and tones\n\nThe shared `variant` / `tone` ladders are defined in [`agents/variants.md`](../../../../agents/variants.md). `variant` here is an avatar-flavored value and is rendered **only when `message` is set**, coloring the status layout; the format badge derives its own colour from the detected filetype independently (its tone is always `weak`).\n\n#### Other behavioral props\n\n- **`icon`** overrides the auto-detected glyph with a Magma icon slug, an inline `<svg ...>` string or a `data:image/svg+xml;base64,` URI.\n- **`truncate`** controls how the filename is shortened when it overflows, defaulting to `'word'`.\n",
|
|
27
|
-
"2.
|
|
28
|
-
"3.
|
|
27
|
+
"2. Examples": "Correct and idiomatic ways to use the `<mds-file-preview>` component, ordered from most common to most specialized. The examples assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Minimal File Card\n\nThe required prop is `filename`. The component infers icon, badge colour, and type description automatically from the extension. Always pass a real filename with extension.\n\n```html\n<mds-file-preview filename=\"relazione-annuale.pdf\"></mds-file-preview>\n```\n\n#### File Card with Size\n\nPass `filesize` as a numeric byte count and the component formats it automatically (JEDEC: KB, MB, GB). Pass a plain string to show a pre-formatted label verbatim.\n\n```html\n<!-- Numeric bytes - auto-formatted to \"9.77 MB\" -->\n<mds-file-preview filename=\"contratto.docx\" filesize=\"10248594\"></mds-file-preview>\n\n<!-- Pre-formatted string - shown verbatim -->\n<mds-file-preview filename=\"archivio.zip\" filesize=\"12 MB\"></mds-file-preview>\n```\n\n#### Download Interaction\n\nAdd `downloadable` to make the whole card a button: the component emits `mdsFileDownload` with `{ target, filename, extension }` on a click, Enter or Space. Without `downloadable` the card emits nothing. Listen to the event; do not add a click handler on a wrapper element.\n\n```html\n<mds-file-preview\n filename=\"documento.pdf\"\n filesize=\"2048000\"\n downloadable\n></mds-file-preview>\n```\n\n```javascript\ndocument.querySelector('mds-file-preview').addEventListener('mdsFileDownload', (e) => {\n const { filename, extension } = e.detail;\n console.log('Download richiesto:', filename, extension);\n});\n```\n\n#### Delete Affordance\n\nAdd `deletable` to show a dismiss button in the top-right corner. The component emits `mdsFileDelete` with `{ target, filename, extension }`. The consumer is responsible for removing the element from the DOM.\n\n```html\n<mds-file-preview\n filename=\"bozza.docx\"\n filesize=\"512000\"\n deletable\n></mds-file-preview>\n```\n\n```javascript\ndocument.querySelector('mds-file-preview').addEventListener('mdsFileDelete', (e) => {\n e.detail.target.remove();\n});\n```\n\n#### Image Thumbnail\n\nSet `src` to show a thumbnail instead of the generic icon. The thumbnail renders only when the format supports preview (images) and no `message` is set; other formats fall back to the icon.\n\n```html\n<mds-file-preview\n filename=\"foto-profilo.jpg\"\n filesize=\"84791746\"\n src=\"./thumbnails/foto-profilo-thumb.webp\"\n></mds-file-preview>\n```\n\n#### Status / Feedback State\n\nSet `message` to switch the card to a feedback layout - the thumbnail is suppressed and the text is displayed alongside the icon. Pair with `variant` to colour the status region semantically. `variant` has no visual effect without `message`.\n\n```html\n<!-- Errore di formato -->\n<mds-file-preview\n filename=\"documento.exe\"\n message=\"Formato file non consentito\"\n variant=\"error\"\n></mds-file-preview>\n\n<!-- Caricamento in corso -->\n<mds-file-preview\n filename=\"video.mp4\"\n filesize=\"52428800\"\n message=\"Caricamento in corso...\"\n variant=\"info\"\n></mds-file-preview>\n```\n\n#### Overriding Format Detection\n\nUse `suffix` to force a known extension category when the filename has no extension or the extension is ambiguous. Use `description` to override only the textual type caption while leaving icon and badge inference intact.\n\n```html\n<!-- Force suffix when filename has no extension -->\n<mds-file-preview filename=\"report\" suffix=\"pdf\"></mds-file-preview>\n\n<!-- Custom description label, icon unchanged -->\n<mds-file-preview\n filename=\"modulo.pdf\"\n description=\"Modulo di iscrizione\"\n></mds-file-preview>\n```\n\n#### Custom Icon\n\nSet `icon` to override the auto-detected glyph with any icon slug from the Magma library, or a `data:image/svg+xml;base64,` URI for a dynamic icon from an API.\n\n```html\n<!-- Named icon slug -->\n<mds-file-preview\n filename=\"report.csv\"\n filesize=\"32768\"\n icon=\"mi/baseline/table-chart\"\n></mds-file-preview>\n```\n\n#### Filename Truncation\n\n`truncate` defaults to `word`, which keeps the filename on one line with an ellipsis. Use `all` to clamp it to two lines with an ellipsis. Use `none` to allow the filename to wrap freely.\n\n```html\n<mds-file-preview\n filename=\"Questo-e-uno-dei-nomi-file-piu-lunghi-che-lumanita-abbia-mai-visto.docx\"\n filesize=\"84791746\"\n truncate=\"all\"\n></mds-file-preview>\n```\n\n#### Inside `mds-input-upload`\n\n`<mds-file-preview>` is the child card rendered by [`mds-input-upload`](../mds-input-upload/AGENTS.md). When integrating with the upload component, let `mds-input-upload` manage the cards rather than instantiating `mds-file-preview` directly.\n\n```html\n<mds-input-upload\n max-files=\"5\"\n accept=\".pdf,.docx\"\n></mds-input-upload>\n```\n\n#### Styling Customization\n\nStyle the card only through its public `--mds-file-preview-*` CSS custom properties. Set them on the host or a parent selector; use the semantic color roles via `rgb(var(--magma-<role>))` and the `--magma-radius-*` scale so dark mode and the corner geometry keep working.\n\n```css\n.carta-allegato mds-file-preview {\n --mds-file-preview-background-color: rgb(var(--magma-accent-surface-subtle));\n --mds-file-preview-border-radius: var(--magma-radius-md);\n --mds-file-preview-color: rgb(var(--magma-accent-fg));\n}\n```\n",
|
|
28
|
+
"3. Mistakes": "Common incorrect uses of `<mds-file-preview>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/mistakes.md`](../../../../agents/mistakes.md) - they apply here too but are not repeated.\n\n#### Do Not Pass a Label Instead of a Real Filename\n\n`filename` drives automatic icon, badge, and description inference. Passing a cosmetic label without an extension produces the generic fallback icon and no badge, losing all format-aware information.\n\n```html\n<!-- INCORRECT -->\n<mds-file-preview filename=\"Contratto\"></mds-file-preview>\n\n<!-- CORRECT -->\n<mds-file-preview filename=\"contratto-2024.pdf\"></mds-file-preview>\n```\n\n#### Do Not Set `variant` Without `message`\n\n`variant` colours the status layout that is only rendered when `message` is set. Setting `variant` alone has no visual effect and misleads readers of the code into thinking the card is themed.\n\n```html\n<!-- INCORRECT -->\n<mds-file-preview filename=\"report.pdf\" variant=\"error\"></mds-file-preview>\n\n<!-- CORRECT -->\n<mds-file-preview\n filename=\"report.pdf\"\n message=\"File danneggiato\"\n variant=\"error\"\n></mds-file-preview>\n```\n\n#### Do Not Listen for Native `click` to Handle Downloads\n\nThe component emits `mdsFileDownload` with the file detail when the card is clicked. Attaching an outer `click` handler bypasses the detail payload and also fires for clicks on the delete button.\n\n```html\n<!-- INCORRECT -->\n<div onclick=\"handleClick()\">\n <mds-file-preview filename=\"documento.docx\" downloadable></mds-file-preview>\n</div>\n\n<!-- CORRECT -->\n<mds-file-preview filename=\"documento.docx\" downloadable></mds-file-preview>\n```\n\n```javascript\n// INCORRECT - native click on a wrapper\ndocument.querySelector('div').addEventListener('click', handleClick);\n\n// CORRECT - documented mdsFileDownload event\ndocument.querySelector('mds-file-preview').addEventListener('mdsFileDownload', (e) => {\n download(e.detail.filename);\n});\n```\n\n#### Do Not Remove the Element Yourself Without Listening to `mdsFileDelete`\n\n`deletable` makes the delete button visible but leaves removal to the consumer. Removing the element from a `click` listener on the host - rather than `mdsFileDelete` - fires on any click inside the card, not only on the delete button, and bypasses the detail payload.\n\n```html\n<!-- INCORRECT -->\n<mds-file-preview filename=\"allegato.zip\" deletable onclick=\"this.remove()\"></mds-file-preview>\n\n<!-- CORRECT -->\n<mds-file-preview filename=\"allegato.zip\" deletable></mds-file-preview>\n```\n\n```javascript\ndocument.querySelector('mds-file-preview').addEventListener('mdsFileDelete', (e) => {\n e.detail.target.remove();\n});\n```\n\n#### Do Not Wrap `mds-file-preview` in an Anchor to Add Download\n\nWrapping a card in `<a href=\"...\">` nests an already-interactive card (and its delete button, when `deletable`) inside a link, which fails accessibility audits. Use `downloadable` and handle `mdsFileDownload` instead.\n\n```html\n<!-- INCORRECT -->\n<a href=\"/files/documento.pdf\" download>\n <mds-file-preview filename=\"documento.pdf\"></mds-file-preview>\n</a>\n\n<!-- CORRECT -->\n<mds-file-preview filename=\"documento.pdf\" downloadable></mds-file-preview>\n```\n\n#### Do Not Use `suffix` to Pass a Free-Form String\n\n`suffix` accepts only values from the documented `ExtensionSuffixType` union (e.g. `\"pdf\"`, `\"docx\"`, `\"jpg\"`). Passing an unsupported string silently falls back to the default icon and loses format inference.\n\n```html\n<!-- INCORRECT -->\n<mds-file-preview filename=\"report\" suffix=\"documento-word\"></mds-file-preview>\n\n<!-- CORRECT -->\n<mds-file-preview filename=\"report\" suffix=\"docx\"></mds-file-preview>\n```\n\n#### Customize via Documented Vars and the `card` Part Only\n\nThe only documented shadow part is `card`. Targeting inner selectors via `::part()`, `>>>`, or attribute hacks couples code to internal Shadow DOM structure and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-file-preview::part(icon) {\n width: 48px;\n}\nmds-file-preview >>> .file-name {\n font-size: 1rem;\n}\n\n/* CORRECT */\nmds-file-preview {\n --mds-file-preview-color: rgb(var(--magma-accent-fg));\n --mds-file-preview-background-color: rgb(var(--magma-accent-surface-subtle));\n}\nmds-file-preview::part(card) {\n padding: calc(var(--spacing) * 600);\n}\n```\n"
|
|
29
29
|
},
|
|
30
30
|
"props": [
|
|
31
31
|
{
|