@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,118 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-chip/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-chip - mistakes
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Common incorrect uses of `<mds-chip>`. 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 Use a Clickable Chip Without `clickable` or `selectable`
|
|
13
|
+
|
|
14
|
+
Without `clickable`, the chip has no `role`, no focus management, and no keyboard activation. Listening for click events on a static chip is a silent accessibility failure.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<!-- INCORRECT -->
|
|
18
|
+
<mds-chip label="Apri" variant="primary" onclick="doSomething()"></mds-chip>
|
|
19
|
+
|
|
20
|
+
<!-- CORRECT -->
|
|
21
|
+
<mds-chip label="Apri" clickable variant="primary"></mds-chip>
|
|
22
|
+
<script>
|
|
23
|
+
document.querySelector('mds-chip').addEventListener('mdsChipClickLabel', doSomething);
|
|
24
|
+
</script>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
#### Do Not Use `selected` Without `selectable`
|
|
28
|
+
|
|
29
|
+
`selected` only has visual and semantic meaning when `selectable` is also set. On a non-selectable chip the attribute renders the selected style but the selection can never be toggled and no event fires, misleading users.
|
|
30
|
+
|
|
31
|
+
```html
|
|
32
|
+
<!-- INCORRECT -->
|
|
33
|
+
<mds-chip label="Attivo" selected variant="success"></mds-chip>
|
|
34
|
+
|
|
35
|
+
<!-- CORRECT -->
|
|
36
|
+
<mds-chip label="Attivo" selectable selected variant="success"></mds-chip>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
#### Do Not Apply `tone` Values Outside the Minimal Ladder
|
|
40
|
+
|
|
41
|
+
`mds-chip` accepts only `ToneMinimalVariantType`: `strong` and `weak`. Passing `outline`, `text`, or `box` is invalid: no style matches it, so the chip silently loses its variant colors.
|
|
42
|
+
|
|
43
|
+
```html
|
|
44
|
+
<!-- INCORRECT -->
|
|
45
|
+
<mds-chip label="Categoria" tone="outline" variant="primary"></mds-chip>
|
|
46
|
+
<mds-chip label="Categoria" tone="text" variant="primary"></mds-chip>
|
|
47
|
+
|
|
48
|
+
<!-- CORRECT -->
|
|
49
|
+
<mds-chip label="Categoria" tone="weak" variant="primary"></mds-chip>
|
|
50
|
+
<mds-chip label="Categoria" tone="strong" variant="primary"></mds-chip>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
#### Do Not Slot Content Into the Chip
|
|
54
|
+
|
|
55
|
+
`<mds-chip>` has no default or named slots - all content is driven by props (`label`, `icon`, `deletable`). Slotting HTML children is ignored by the Shadow DOM.
|
|
56
|
+
|
|
57
|
+
```html
|
|
58
|
+
<!-- INCORRECT -->
|
|
59
|
+
<mds-chip>
|
|
60
|
+
<span>Etichetta</span>
|
|
61
|
+
<mds-icon name="mi/baseline/close"></mds-icon>
|
|
62
|
+
</mds-chip>
|
|
63
|
+
|
|
64
|
+
<!-- CORRECT -->
|
|
65
|
+
<mds-chip
|
|
66
|
+
label="Etichetta"
|
|
67
|
+
icon="mi/baseline/pets"
|
|
68
|
+
deletable
|
|
69
|
+
variant="primary"
|
|
70
|
+
></mds-chip>
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
#### Do Not Pierce Shadow DOM to Style the Delete Button
|
|
74
|
+
|
|
75
|
+
The inner `mds-button` used for the delete affordance is a Shadow DOM implementation detail with no styling API of its own: targeting it with `>>>` or undocumented `::part()` names will break on minor releases. Restyle the chip and its leading icon through the public `--mds-chip-*` properties.
|
|
76
|
+
|
|
77
|
+
```css
|
|
78
|
+
/* INCORRECT */
|
|
79
|
+
mds-chip >>> .button-delete {
|
|
80
|
+
color: red;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* CORRECT */
|
|
84
|
+
mds-chip {
|
|
85
|
+
--mds-chip-icon-background: rgb(var(--magma-danger-emphasis));
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
#### Do Not Forget to Remove `await`-Pattern Analogue: Removing `selected` by Setting It to `false`
|
|
90
|
+
|
|
91
|
+
With `selected="false"` the component reads the prop as `false` and drops the attribute when it renders, but until then the attribute is in the DOM and attribute selectors (`mds-chip[selected]`) match it. Remove the attribute; from JavaScript both `false` and `undefined` deselect the chip (the component turns `false` into `undefined` and drops the attribute).
|
|
92
|
+
|
|
93
|
+
```html
|
|
94
|
+
<!-- INCORRECT -->
|
|
95
|
+
<mds-chip label="Filtro" selectable selected="false" variant="primary"></mds-chip>
|
|
96
|
+
|
|
97
|
+
<!-- CORRECT -->
|
|
98
|
+
<mds-chip label="Filtro" selectable variant="primary"></mds-chip>
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
#### Do Not Use `<mds-chip>` as a Navigation Link
|
|
102
|
+
|
|
103
|
+
`<mds-chip>` has no `href` prop. Wrapping it in an `<a>` creates a nested interactive element, breaks keyboard semantics, and fails accessibility audits. Use [`mds-button`](../mds-button/AGENTS.md) with `href` instead.
|
|
104
|
+
|
|
105
|
+
```html
|
|
106
|
+
<!-- INCORRECT -->
|
|
107
|
+
<a href="/categoria/sport">
|
|
108
|
+
<mds-chip label="Sport" variant="primary"></mds-chip>
|
|
109
|
+
</a>
|
|
110
|
+
|
|
111
|
+
<!-- CORRECT -->
|
|
112
|
+
<mds-button
|
|
113
|
+
label="Sport"
|
|
114
|
+
href="/categoria/sport"
|
|
115
|
+
variant="primary"
|
|
116
|
+
tone="weak"
|
|
117
|
+
></mds-button>
|
|
118
|
+
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-details
|
|
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-details>` web component is the disclosure widget of the Magma Design System: a collapsible block with a clickable header that shows or hides its content on demand. It is the styled, accessible equivalent of the native HTML `<details>`/`<summary>` pair, structured into dedicated `title`, `icon`, `action` and content regions.
|
|
12
12
|
|
|
@@ -31,10 +31,10 @@ This component intentionally exposes a single behavioral prop. Visual surface is
|
|
|
31
31
|
|
|
32
32
|
## Read next
|
|
33
33
|
|
|
34
|
-
- [`
|
|
35
|
-
- [`
|
|
34
|
+
- [`examples.md`](examples.md) - correct usage, from the most common case
|
|
35
|
+
- [`mistakes.md`](mistakes.md) - the wrong forms, each with the right one
|
|
36
36
|
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-details--docs) - the live examples, in the published Storybook of `main`
|
|
37
|
-
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`
|
|
37
|
+
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`mistakes.md`](../../../../agents/mistakes.md) - the rules shared by every component
|
|
38
38
|
|
|
39
39
|
## Props
|
|
40
40
|
|
|
@@ -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",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
],
|
|
49
49
|
"usage": {
|
|
50
50
|
"1. Description": "The `<mds-details>` web component is the disclosure widget of the Magma Design System: a collapsible block with a clickable header that shows or hides its content on demand. It is the styled, accessible equivalent of the native HTML `<details>`/`<summary>` pair, structured into dedicated `title`, `icon`, `action` and content regions.\n\n#### Semantic Behavior\n\n- **Open/closed state**: The `opened` prop expands or collapses the content region with a transition.\n- **Header activation**: Clicking the header or the leading icon toggles the open state, and the header is keyboard-activatable with Enter and Space.\n- **Closed content**: While closed, the content is hidden from the tab order and from assistive technologies, not only from the eye; it shows for the whole opening and closing animation.\n- **Change event**: Each user toggle emits `mdsDetailsChange` carrying the new boolean open state; changing `opened` from code emits nothing.\n- **Icon slot presence**: The leading icon area auto-hides when no `icon` slot is provided.\n- **Default slot vs. named slots**: The default (unnamed) slot is the collapsible body. The `title` slot is the always-visible header label, `icon` is the optional leading glyph, and `action` is a footer region inside the expandable content meant for action controls.\n\n#### Properties & Visual Configurations\n\nThis component intentionally exposes a single behavioral prop. Visual surface is driven through slots and the documented shadow parts (`header`, `title`, `content`) rather than through variant/tone props: the component has no public CSS custom property.\n\n- **`opened`** sets the expanded state. Set it to pre-expand the block on first render, or change it to open / close the block from code. A user toggle writes it back too (property and reflected attribute), so it always holds the current state.\n\n#### Other behavioral props\n\n- The **`title`** slot is recommended to hold an `mds-text`; the **`icon`** slot an `mds-icon`; and the **`action`** slot an `mds-button` for the primary action tied to the disclosed content.\n",
|
|
51
|
-
"2.
|
|
52
|
-
"3.
|
|
51
|
+
"2. Examples": "Correct and idiomatic ways to use the `<mds-details>` 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 Disclosure Block\n\nThe minimal form: a `title` slot for the always-visible header and a default slot for the collapsible body. Use `mds-text` in both slots so typography tokens are applied consistently.\n\n```html\n<mds-details>\n <mds-text typography=\"h6\" slot=\"title\">Descrizione del progetto</mds-text>\n <mds-text typography=\"detail\">\n Questa sezione raccoglie le informazioni principali relative all'ambito e agli obiettivi del\n progetto.\n </mds-text>\n</mds-details>\n```\n\n#### Pre-expanded State via `opened`\n\nPass the `opened` boolean attribute to expand the block on first render. User toggles update it, and emit `mdsDetailsChange`.\n\n```html\n<mds-details opened>\n <mds-text typography=\"h6\" slot=\"title\">Note operative</mds-text>\n <mds-text typography=\"paragraph\">\n Le note operative sono visibili fin dal caricamento della pagina per garantire una lettura\n immediata.\n </mds-text>\n</mds-details>\n```\n\n#### Leading Icon via the `icon` Slot\n\nPlace an `mds-icon` in the `icon` slot to add a leading glyph that also acts as a toggle. The icon area auto-hides when the slot is empty, so leaving it out does not leave an empty gap.\n\n```html\n<mds-details>\n <mds-icon slot=\"icon\" name=\"mi/baseline/info\"></mds-icon>\n <mds-text typography=\"h6\" slot=\"title\">Requisiti di accesso</mds-text>\n <mds-text typography=\"detail\">\n Per accedere al servizio e necessario disporre di credenziali SPID di livello 2 o superiore.\n </mds-text>\n</mds-details>\n```\n\n#### Action Button via the `action` Slot\n\nThe `action` slot sits at the bottom of the expandable content region. Use `mds-button` (recommended) for the primary action tied to the disclosed content.\n\n```html\n<mds-details>\n <mds-icon slot=\"icon\" name=\"mi/baseline/check-circle\"></mds-icon>\n <mds-text typography=\"h6\" slot=\"title\">Modulistica richiesta</mds-text>\n <mds-text typography=\"detail\">\n Scarica e compila il modulo A3 prima di procedere con la richiesta.\n </mds-text>\n <mds-button slot=\"action\" size=\"sm\" variant=\"primary\" tone=\"outline\" label=\"Scarica il modulo\"></mds-button>\n</mds-details>\n```\n\n#### Listening to Toggle Events\n\nSubscribe to `mdsDetailsChange` to react to open/close transitions. The event detail carries the new boolean state. Do not listen for native `click` on the host.\n\n```html\n<mds-details id=\"faq-1\">\n <mds-text typography=\"h6\" slot=\"title\">Come posso rinnovare il contratto?</mds-text>\n <mds-text typography=\"detail\">\n Il rinnovo puo essere effettuato online dall'area personale almeno 30 giorni prima della\n scadenza.\n </mds-text>\n</mds-details>\n\n<script>\n document.getElementById('faq-1').addEventListener('mdsDetailsChange', (event) => {\n console.log('Stato apertura:', event.detail); // true | false\n });\n</script>\n```\n\n#### Programmatic Control\n\nAssign the `opened` property to drive the disclosure from code - for example to expand all items at once or to implement accordion logic manually. User toggles write `opened` back, so it always holds the current state: `opened = true` opens a block the user had closed.\n\n```html\n<mds-details id=\"step-1\">\n <mds-text typography=\"h6\" slot=\"title\">Passo 1: Verifica dei dati</mds-text>\n <mds-text typography=\"detail\">\n Controlla che tutti i dati anagrafici siano corretti prima di procedere.\n </mds-text>\n</mds-details>\n\n<mds-button id=\"expand-btn\" label=\"Espandi tutti\" variant=\"primary\" tone=\"text\"></mds-button>\n\n<script>\n document.getElementById('expand-btn').addEventListener('click', () => {\n document.querySelectorAll('mds-details').forEach((el) => {\n el.opened = true;\n });\n });\n</script>\n```\n\n#### CSS Customization\n\n`mds-details` has no public CSS custom property: style it with its props, its parts and the semantic roles. The icon colors and the open/close transition follow the theme. Set colors on the documented parts with the semantic color roles via `rgb(var(--magma-<role>))` so dark mode, named themes and high contrast keep working.\n\n```css\n.custom-faq mds-details::part(header) {\n background: rgb(var(--magma-surface-muted));\n}\n```\n\n#### Styling Shadow Parts\n\nUse the documented shadow `::part()` names: `header`, `title`, and `content`. Do not target undocumented internals.\n\n```css\n/* Increase header padding for a spacious FAQ layout */\n.faq-section mds-details::part(header) {\n padding: calc(var(--spacing) * 300) 0;\n}\n\n/* Give the title extra weight */\n.faq-section mds-details::part(title) {\n font-weight: 600;\n}\n```\n",
|
|
52
|
+
"3. Mistakes": "Common incorrect uses of `<mds-details>`. 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 Put the Title Text in the Default Slot\n\nThe default slot is the collapsible body. Text placed there is hidden until the user expands the block, so it cannot serve as the visible header. Use the `title` slot for the header label.\n\n```html\n<!-- INCORRECT -->\n<mds-details>\n Requisiti di accesso\n</mds-details>\n\n<!-- CORRECT -->\n<mds-details>\n <mds-text typography=\"h6\" slot=\"title\">Requisiti di accesso</mds-text>\n</mds-details>\n```\n\n#### Do Not Replace `<mds-details>` with a Raw `<details>` Element\n\nThe native `<details>` lacks Magma theming, the leading icon slot, the `action` slot, smooth CSS grid transitions, preference support (reduced-motion, high-contrast), and the `mdsDetailsChange` event contract. Always use `<mds-details>` inside a Magma application.\n\n```html\n<!-- INCORRECT -->\n<details>\n <summary>Modulistica richiesta</summary>\n <p>Scarica il modulo A3 prima di procedere.</p>\n</details>\n\n<!-- CORRECT -->\n<mds-details>\n <mds-text typography=\"h6\" slot=\"title\">Modulistica richiesta</mds-text>\n <mds-text typography=\"detail\">Scarica il modulo A3 prima di procedere.</mds-text>\n</mds-details>\n```\n\n#### Do Not Set `opened=\"false\"` to Collapse the Component\n\n`opened` is a boolean attribute. The component reads the string `\"false\"` as `false` and drops the attribute when it renders, but until then the attribute is in the DOM and attribute selectors (`mds-details[opened]`) see the block as open. Remove the attribute entirely to collapse it, or set the property to `undefined` / `false` in JavaScript.\n\n```html\n<!-- INCORRECT -->\n<mds-details opened=\"false\">\n <mds-text typography=\"h6\" slot=\"title\">Note operative</mds-text>\n</mds-details>\n\n<!-- CORRECT -->\n<mds-details>\n <mds-text typography=\"h6\" slot=\"title\">Note operative</mds-text>\n</mds-details>\n```\n\n#### Do Not Inline an `<mds-icon>` in the `title` Slot to Fake a Leading Glyph\n\nThe `icon` slot is the dedicated region for the leading glyph; it also participates in the toggle click area. Putting `mds-icon` inside the `title` slot bypasses this layout: the icon area stays hidden and the glyph sits in the title text.\n\n```html\n<!-- INCORRECT -->\n<mds-details>\n <span slot=\"title\">\n <mds-icon name=\"mi/baseline/info\"></mds-icon>\n Informazioni sul servizio\n </span>\n</mds-details>\n\n<!-- CORRECT -->\n<mds-details>\n <mds-icon slot=\"icon\" name=\"mi/baseline/info\"></mds-icon>\n <mds-text typography=\"h6\" slot=\"title\">Informazioni sul servizio</mds-text>\n</mds-details>\n```\n\n#### Do Not Listen for Native `click` to Detect Toggle\n\nClicking the header triggers `mdsDetailsChange` with the new state. Listening for raw `click` on the host or its shadow parts is fragile - it fires on every sub-element click, may not bubble out of shadow DOM as expected, and gives you no reliable open/closed state.\n\n```html\n<!-- INCORRECT -->\n<mds-details id=\"det\">\n <mds-text typography=\"h6\" slot=\"title\">Dettaglio</mds-text>\n</mds-details>\n\n<script>\n // Do not do this - fires on any click, no open/closed state\n document.getElementById('det').addEventListener('click', () => {\n console.log('click rilevato');\n });\n</script>\n\n<!-- CORRECT -->\n<script>\n document.getElementById('det').addEventListener('mdsDetailsChange', (e) => {\n console.log('Aperto:', e.detail); // true | false\n });\n</script>\n```\n\n#### Do Not Pierce the Shadow DOM to Style Internals\n\n`mds-details` has no public CSS custom property: the only supported customization surface is the three documented shadow parts (`header`, `title`, `content`). Targeting undocumented class names or using `>>>` couples your code to the internal implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-details >>> .helper-icon {\n fill: red;\n}\nmds-details >>> .header {\n background: yellow;\n}\n\n/* CORRECT */\nmds-details::part(header) {\n background: rgb(var(--magma-surface-muted));\n}\n```\n"
|
|
53
53
|
},
|
|
54
54
|
"props": [
|
|
55
55
|
{
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-details/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-details - examples
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Correct and idiomatic ways to use the `<mds-details>` 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 Disclosure Block
|
|
13
|
+
|
|
14
|
+
The minimal form: a `title` slot for the always-visible header and a default slot for the collapsible body. Use `mds-text` in both slots so typography tokens are applied consistently.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<mds-details>
|
|
18
|
+
<mds-text typography="h6" slot="title">Descrizione del progetto</mds-text>
|
|
19
|
+
<mds-text typography="detail">
|
|
20
|
+
Questa sezione raccoglie le informazioni principali relative all'ambito e agli obiettivi del
|
|
21
|
+
progetto.
|
|
22
|
+
</mds-text>
|
|
23
|
+
</mds-details>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
#### Pre-expanded State via `opened`
|
|
27
|
+
|
|
28
|
+
Pass the `opened` boolean attribute to expand the block on first render. User toggles update it, and emit `mdsDetailsChange`.
|
|
29
|
+
|
|
30
|
+
```html
|
|
31
|
+
<mds-details opened>
|
|
32
|
+
<mds-text typography="h6" slot="title">Note operative</mds-text>
|
|
33
|
+
<mds-text typography="paragraph">
|
|
34
|
+
Le note operative sono visibili fin dal caricamento della pagina per garantire una lettura
|
|
35
|
+
immediata.
|
|
36
|
+
</mds-text>
|
|
37
|
+
</mds-details>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
#### Leading Icon via the `icon` Slot
|
|
41
|
+
|
|
42
|
+
Place an `mds-icon` in the `icon` slot to add a leading glyph that also acts as a toggle. The icon area auto-hides when the slot is empty, so leaving it out does not leave an empty gap.
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<mds-details>
|
|
46
|
+
<mds-icon slot="icon" name="mi/baseline/info"></mds-icon>
|
|
47
|
+
<mds-text typography="h6" slot="title">Requisiti di accesso</mds-text>
|
|
48
|
+
<mds-text typography="detail">
|
|
49
|
+
Per accedere al servizio e necessario disporre di credenziali SPID di livello 2 o superiore.
|
|
50
|
+
</mds-text>
|
|
51
|
+
</mds-details>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### Action Button via the `action` Slot
|
|
55
|
+
|
|
56
|
+
The `action` slot sits at the bottom of the expandable content region. Use `mds-button` (recommended) for the primary action tied to the disclosed content.
|
|
57
|
+
|
|
58
|
+
```html
|
|
59
|
+
<mds-details>
|
|
60
|
+
<mds-icon slot="icon" name="mi/baseline/check-circle"></mds-icon>
|
|
61
|
+
<mds-text typography="h6" slot="title">Modulistica richiesta</mds-text>
|
|
62
|
+
<mds-text typography="detail">
|
|
63
|
+
Scarica e compila il modulo A3 prima di procedere con la richiesta.
|
|
64
|
+
</mds-text>
|
|
65
|
+
<mds-button slot="action" size="sm" variant="primary" tone="outline" label="Scarica il modulo"></mds-button>
|
|
66
|
+
</mds-details>
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
#### Listening to Toggle Events
|
|
70
|
+
|
|
71
|
+
Subscribe to `mdsDetailsChange` to react to open/close transitions. The event detail carries the new boolean state. Do not listen for native `click` on the host.
|
|
72
|
+
|
|
73
|
+
```html
|
|
74
|
+
<mds-details id="faq-1">
|
|
75
|
+
<mds-text typography="h6" slot="title">Come posso rinnovare il contratto?</mds-text>
|
|
76
|
+
<mds-text typography="detail">
|
|
77
|
+
Il rinnovo puo essere effettuato online dall'area personale almeno 30 giorni prima della
|
|
78
|
+
scadenza.
|
|
79
|
+
</mds-text>
|
|
80
|
+
</mds-details>
|
|
81
|
+
|
|
82
|
+
<script>
|
|
83
|
+
document.getElementById('faq-1').addEventListener('mdsDetailsChange', (event) => {
|
|
84
|
+
console.log('Stato apertura:', event.detail); // true | false
|
|
85
|
+
});
|
|
86
|
+
</script>
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
#### Programmatic Control
|
|
90
|
+
|
|
91
|
+
Assign the `opened` property to drive the disclosure from code - for example to expand all items at once or to implement accordion logic manually. User toggles write `opened` back, so it always holds the current state: `opened = true` opens a block the user had closed.
|
|
92
|
+
|
|
93
|
+
```html
|
|
94
|
+
<mds-details id="step-1">
|
|
95
|
+
<mds-text typography="h6" slot="title">Passo 1: Verifica dei dati</mds-text>
|
|
96
|
+
<mds-text typography="detail">
|
|
97
|
+
Controlla che tutti i dati anagrafici siano corretti prima di procedere.
|
|
98
|
+
</mds-text>
|
|
99
|
+
</mds-details>
|
|
100
|
+
|
|
101
|
+
<mds-button id="expand-btn" label="Espandi tutti" variant="primary" tone="text"></mds-button>
|
|
102
|
+
|
|
103
|
+
<script>
|
|
104
|
+
document.getElementById('expand-btn').addEventListener('click', () => {
|
|
105
|
+
document.querySelectorAll('mds-details').forEach((el) => {
|
|
106
|
+
el.opened = true;
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
</script>
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
#### CSS Customization
|
|
113
|
+
|
|
114
|
+
`mds-details` has no public CSS custom property: style it with its props, its parts and the semantic roles. The icon colors and the open/close transition follow the theme. Set colors on the documented parts with the semantic color roles via `rgb(var(--magma-<role>))` so dark mode, named themes and high contrast keep working.
|
|
115
|
+
|
|
116
|
+
```css
|
|
117
|
+
.custom-faq mds-details::part(header) {
|
|
118
|
+
background: rgb(var(--magma-surface-muted));
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
#### Styling Shadow Parts
|
|
123
|
+
|
|
124
|
+
Use the documented shadow `::part()` names: `header`, `title`, and `content`. Do not target undocumented internals.
|
|
125
|
+
|
|
126
|
+
```css
|
|
127
|
+
/* Increase header padding for a spacious FAQ layout */
|
|
128
|
+
.faq-section mds-details::part(header) {
|
|
129
|
+
padding: calc(var(--spacing) * 300) 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* Give the title extra weight */
|
|
133
|
+
.faq-section mds-details::part(title) {
|
|
134
|
+
font-weight: 600;
|
|
135
|
+
}
|
|
136
|
+
```
|
|
@@ -60,7 +60,7 @@ export class MdsDetails {
|
|
|
60
60
|
this.km.detachClickBehavior();
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '8843b5ffdb52ff3f1128c174ca5985e8665ecad8', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast }, h("div", { key: '928a6534004d44dee68c2de1ffbaf583c4aad852', class: clsx('icon', this.hasIcon ? '' : 'icon--hidden'), onClick: this.toggle }, h("slot", { key: 'fe388969768f0eabd05135f2fa8673fc01b3d9e0', name: "icon", onSlotchange: this.onSlotChangeHandler })), h("div", { key: '4453f5101ef40108f74ef74684c126c66ae80316', class: "content" }, h("div", { key: 'c8f9b6b91df665d53d181b070dae86f6266a6c48', class: "header", part: "header", role: "button", "aria-expanded": this.isOpened ? 'true' : 'false', tabindex: "0", onClick: this.toggle }, h("div", { key: '8ff7c30137367f1ad03436a86ae340be50d9a493', class: "title", part: "title" }, h("slot", { key: 'd601544ccc6d400a63cfffbf0ed1e3a2225dbaca', name: "title" })), h("i", { key: '60afc4f5cfb2244b1812b9f5be211c96dccd1d2e', class: clsx('helper-icon', this.isOpened && 'opened'), innerHTML: miBaselineKeyboardArrowRight })), h("div", { key: '14a979b4cf9c4c25695d38c1591f014de04e715b', class: clsx('details', this.isOpened && 'opened') }, h("div", { key: 'a90d196b5fe17f90bc657908d6ec631c2aa8750e', class: "content-expander", part: "content" }, h("slot", { key: '6e55a49ee244edf94a699d6e3938d0318ef229dc' }), h("div", { key: '25529cf7a2bf243a59dbf53c84e094db9a300dac', class: "actions" }, h("slot", { key: '80e8d99086cc3f985b9404ce731b8bea17c42982', name: "action" })))))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "mds-details"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-details/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-details - mistakes
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Common incorrect uses of `<mds-details>`. 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 Title Text in the Default Slot
|
|
13
|
+
|
|
14
|
+
The default slot is the collapsible body. Text placed there is hidden until the user expands the block, so it cannot serve as the visible header. Use the `title` slot for the header label.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<!-- INCORRECT -->
|
|
18
|
+
<mds-details>
|
|
19
|
+
Requisiti di accesso
|
|
20
|
+
</mds-details>
|
|
21
|
+
|
|
22
|
+
<!-- CORRECT -->
|
|
23
|
+
<mds-details>
|
|
24
|
+
<mds-text typography="h6" slot="title">Requisiti di accesso</mds-text>
|
|
25
|
+
</mds-details>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
#### Do Not Replace `<mds-details>` with a Raw `<details>` Element
|
|
29
|
+
|
|
30
|
+
The native `<details>` lacks Magma theming, the leading icon slot, the `action` slot, smooth CSS grid transitions, preference support (reduced-motion, high-contrast), and the `mdsDetailsChange` event contract. Always use `<mds-details>` inside a Magma application.
|
|
31
|
+
|
|
32
|
+
```html
|
|
33
|
+
<!-- INCORRECT -->
|
|
34
|
+
<details>
|
|
35
|
+
<summary>Modulistica richiesta</summary>
|
|
36
|
+
<p>Scarica il modulo A3 prima di procedere.</p>
|
|
37
|
+
</details>
|
|
38
|
+
|
|
39
|
+
<!-- CORRECT -->
|
|
40
|
+
<mds-details>
|
|
41
|
+
<mds-text typography="h6" slot="title">Modulistica richiesta</mds-text>
|
|
42
|
+
<mds-text typography="detail">Scarica il modulo A3 prima di procedere.</mds-text>
|
|
43
|
+
</mds-details>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### Do Not Set `opened="false"` to Collapse the Component
|
|
47
|
+
|
|
48
|
+
`opened` is a boolean attribute. The component reads the string `"false"` as `false` and drops the attribute when it renders, but until then the attribute is in the DOM and attribute selectors (`mds-details[opened]`) see the block as open. Remove the attribute entirely to collapse it, or set the property to `undefined` / `false` in JavaScript.
|
|
49
|
+
|
|
50
|
+
```html
|
|
51
|
+
<!-- INCORRECT -->
|
|
52
|
+
<mds-details opened="false">
|
|
53
|
+
<mds-text typography="h6" slot="title">Note operative</mds-text>
|
|
54
|
+
</mds-details>
|
|
55
|
+
|
|
56
|
+
<!-- CORRECT -->
|
|
57
|
+
<mds-details>
|
|
58
|
+
<mds-text typography="h6" slot="title">Note operative</mds-text>
|
|
59
|
+
</mds-details>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### Do Not Inline an `<mds-icon>` in the `title` Slot to Fake a Leading Glyph
|
|
63
|
+
|
|
64
|
+
The `icon` slot is the dedicated region for the leading glyph; it also participates in the toggle click area. Putting `mds-icon` inside the `title` slot bypasses this layout: the icon area stays hidden and the glyph sits in the title text.
|
|
65
|
+
|
|
66
|
+
```html
|
|
67
|
+
<!-- INCORRECT -->
|
|
68
|
+
<mds-details>
|
|
69
|
+
<span slot="title">
|
|
70
|
+
<mds-icon name="mi/baseline/info"></mds-icon>
|
|
71
|
+
Informazioni sul servizio
|
|
72
|
+
</span>
|
|
73
|
+
</mds-details>
|
|
74
|
+
|
|
75
|
+
<!-- CORRECT -->
|
|
76
|
+
<mds-details>
|
|
77
|
+
<mds-icon slot="icon" name="mi/baseline/info"></mds-icon>
|
|
78
|
+
<mds-text typography="h6" slot="title">Informazioni sul servizio</mds-text>
|
|
79
|
+
</mds-details>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
#### Do Not Listen for Native `click` to Detect Toggle
|
|
83
|
+
|
|
84
|
+
Clicking the header triggers `mdsDetailsChange` with the new state. Listening for raw `click` on the host or its shadow parts is fragile - it fires on every sub-element click, may not bubble out of shadow DOM as expected, and gives you no reliable open/closed state.
|
|
85
|
+
|
|
86
|
+
```html
|
|
87
|
+
<!-- INCORRECT -->
|
|
88
|
+
<mds-details id="det">
|
|
89
|
+
<mds-text typography="h6" slot="title">Dettaglio</mds-text>
|
|
90
|
+
</mds-details>
|
|
91
|
+
|
|
92
|
+
<script>
|
|
93
|
+
// Do not do this - fires on any click, no open/closed state
|
|
94
|
+
document.getElementById('det').addEventListener('click', () => {
|
|
95
|
+
console.log('click rilevato');
|
|
96
|
+
});
|
|
97
|
+
</script>
|
|
98
|
+
|
|
99
|
+
<!-- CORRECT -->
|
|
100
|
+
<script>
|
|
101
|
+
document.getElementById('det').addEventListener('mdsDetailsChange', (e) => {
|
|
102
|
+
console.log('Aperto:', e.detail); // true | false
|
|
103
|
+
});
|
|
104
|
+
</script>
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
#### Do Not Pierce the Shadow DOM to Style Internals
|
|
108
|
+
|
|
109
|
+
`mds-details` has no public CSS custom property: the only supported customization surface is the three documented shadow parts (`header`, `title`, `content`). Targeting undocumented class names or using `>>>` couples your code to the internal implementation and will break on minor releases.
|
|
110
|
+
|
|
111
|
+
```css
|
|
112
|
+
/* INCORRECT */
|
|
113
|
+
mds-details >>> .helper-icon {
|
|
114
|
+
fill: red;
|
|
115
|
+
}
|
|
116
|
+
mds-details >>> .header {
|
|
117
|
+
background: yellow;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* CORRECT */
|
|
121
|
+
mds-details::part(header) {
|
|
122
|
+
background: rgb(var(--magma-surface-muted));
|
|
123
|
+
}
|
|
124
|
+
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-dropdown
|
|
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-dropdown>` web component is a floating overlay surface of the Magma Design System that anchors arbitrary slotted content next to an external trigger element. It has no built-in trigger of its own: it attaches to a separate caller resolved via `target` and positions, flips and shifts itself around that element.
|
|
12
12
|
|
|
@@ -35,10 +35,10 @@ The `<mds-dropdown>` web component is a floating overlay surface of the Magma De
|
|
|
35
35
|
|
|
36
36
|
## Read next
|
|
37
37
|
|
|
38
|
-
- [`
|
|
39
|
-
- [`
|
|
38
|
+
- [`examples.md`](examples.md) - correct usage, from the most common case
|
|
39
|
+
- [`mistakes.md`](mistakes.md) - the wrong forms, each with the right one
|
|
40
40
|
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/ui-dropdown--docs) - the live examples, in the published Storybook of `main`
|
|
41
|
-
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`
|
|
41
|
+
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`mistakes.md`](../../../../agents/mistakes.md) - the rules shared by every component
|
|
42
42
|
|
|
43
43
|
## Props
|
|
44
44
|
|
|
@@ -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-dropdown>` web component is a floating overlay surface of the Magma Design System that anchors arbitrary slotted content next to an external trigger element. It has no built-in trigger of its own: it attaches to a separate caller resolved via `target` and positions, flips and shifts itself around that element.\n\n#### Semantic Behavior\n\n- **Caller binding**: The dropdown does not render a trigger; it resolves its caller from the `target` selector and wires the chosen interaction onto that external element. Changing `target` re-binds the caller.\n- **Visibility is the single source of truth**: The `visible` prop drives the whole lifecycle - it positions the floating element, optionally shows the backdrop, and emits the events; setting it back to `false` dismisses it.\n- **Outside-click dismissal**: While open, clicking outside both the host and the caller closes the dropdown.\n- **Escape to close**: Pressing Escape hides the dropdown, and hands the focus back to the caller when the panel was holding it.\n- **Keyboard, when the panel is a `menu`**: the arrows on the caller open the panel and land on the first entry (Up on the last), Enter does the same; inside the panel the arrows walk the entries and wrap at the ends, Home and End go to the first and to the last, Tab closes and lets the focus leave from the caller. A panel that declares another role is left alone: the arrows of a calendar or of a form belong to what the panel holds.\n- **Backdrop**: When `backdrop` is set, a backdrop is shown while the dropdown is visible and removed on close.\n- **Emitted events**: `mdsDropdownChange` fires on every visibility transition; `mdsDropdownVisible` and `mdsDropdownHide` fire on open and close respectively. Each detail carries the resolved `caller` and the current `visible` state.\n- **Default slot is the panel content**: Anything in the default slot (text, HTML, or other components) is the surface shown when the dropdown is triggered.\n- **ARIA wiring**: The panel declares itself a `menu` and names the elements the slot receives as its entries (`role=\"menuitem\"`, a role of their own other than `button` being left alone); the caller receives `aria-haspopup`, an `aria-controls` pointing at the panel and an `aria-expanded` that follows `visible`. A panel that is not a list of actions declares its own `role` in the markup and keeps it, its contents then being left alone. A caller that exposes no role of its own - a generic host that keeps its control inside its shadow root, such as `mds-tab-item` - is left unwired, none of those attributes being valid on it.\n\n#### Properties & Visual Configurations\n\n- **`interaction`** decides how the caller opens the panel: `'click'` toggles on caller click (with outside-click and Escape dismissal), `'mouseover'` opens on hover and closes on mouse leave, and `'none'` wires nothing on the caller, so visibility is controlled programmatically through `visible` (an open panel still closes on outside click and Escape).\n- **`target`** (required) is the CSS selector of the external element the dropdown attaches to and positions against.\n\n#### Other behavioral props\n\n- **`placement`** sets the side relative to the caller, taken whenever it has room: by default (auto-placement) the panel moves to the opposite side, then to the sides across, only when it does not fit there. **`disableAutoPlacement`** pins it to `placement`, and **`flip`** then allows the fallback to the opposite side only. The panel is shifted to stay inside the viewport with a safe margin by default - **`disableShift`** opts out of this and **`shiftPadding`** tunes the margin.\n- **`offset`** controls the gap between the panel and the caller; the pointer toward the caller is shown by default (**`hideArrow`** removes it) and **`arrowPadding`** insets it from the panel edges.\n- the panel tracks the caller smoothly as the page scrolls by default (**`disableSmooth`** opts out); **`strategy`** chooses the CSS positioning mode (`'absolute'` vs `'fixed'`) and **`zIndex`** sets the stacking order.\n",
|
|
27
|
-
"2.
|
|
28
|
-
"3.
|
|
27
|
+
"2. Examples": "Correct and idiomatic ways to use the `<mds-dropdown>` 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 Dropdown Menu\n\nThe minimal required setup: a trigger element with a unique `id` and a `<mds-dropdown>` with `target` pointing at it. The dropdown binds to the caller on `click` by default and dismisses on outside-click or Escape.\n\n```html\n<mds-button id=\"menu-utente\" label=\"Profilo\" icon=\"mi/baseline/account-circle\" variant=\"primary\" tone=\"weak\"></mds-button>\n\n<mds-dropdown target=\"#menu-utente\">\n <mds-button icon=\"mi/baseline/settings\" variant=\"dark\" tone=\"text\" label=\"Impostazioni account\"></mds-button>\n <mds-button icon=\"mi/baseline/logout\" variant=\"error\" tone=\"text\" label=\"Esci\"></mds-button>\n</mds-dropdown>\n```\n\n#### Panel That Is Not a Menu\n\nThe dropdown is a `menu` by default, a list of actions being what it holds most of the time. A panel that holds anything else - a calendar, a form, a paragraph with a link - declares its own `role`, which the component never overwrites: its contents are then left alone instead of being named entries of a menu.\n\n```html\n<mds-button id=\"info-policy\" label=\"Come usiamo i tuoi dati\" variant=\"primary\" tone=\"weak\"></mds-button>\n\n<mds-dropdown target=\"#info-policy\" role=\"group\">\n <mds-text typography=\"tip\">I dati restano sui server di Maggioli.</mds-text>\n <mds-button href=\"/policy\" label=\"Leggi la policy\" variant=\"dark\" tone=\"text\" size=\"sm\"></mds-button>\n</mds-dropdown>\n```\n\n#### Dropdown with Arrow Pointer\n\nThe arrow pointer is shown by default to visually connect the panel to its caller; add `hide-arrow` to remove it. Adjust `arrow-padding` when the panel is narrow and the arrow would clip the rounded corners.\n\n```html\n<mds-button id=\"aiuto-contestuale\" label=\"Aiuto\" icon=\"mi/baseline/help-outline\" variant=\"primary\" tone=\"outline\"></mds-button>\n\n<mds-dropdown target=\"#aiuto-contestuale\" arrow-padding=\"16\">\n <mds-text typography=\"h6\">Come funziona?</mds-text>\n <mds-text typography=\"detail\">Seleziona un campo per vedere la guida contestuale.</mds-text>\n</mds-dropdown>\n```\n\n#### Dropdown with Backdrop\n\nUse `backdrop` to dim the rest of the page while the panel is open. This is appropriate for panels with a higher modal weight, such as user-account menus or multi-step pickers.\n\nThe backdrop is appended to `<body>`, out of reach of the CSS inheritance of the dropdown: when it opens, the dropdown hands it the value it resolves for `--mds-dropdown-backdrop-z-index` and its fade duration, by default the ones of the page backdrop (`--magma-backdrop-z-index`, `--magma-backdrop-animation-duration`). With the animation preference set to reduce, the backdrop appears and goes without a fade.\n\n```html\n<mds-button id=\"selezione-filtri\" label=\"Filtra risultati\" icon=\"mi/baseline/filter-list\" variant=\"primary\"></mds-button>\n\n<mds-dropdown target=\"#selezione-filtri\" backdrop>\n <mds-text typography=\"h6\">Filtra per categoria</mds-text>\n <mds-filter>\n <mds-filter-item label=\"Documenti\"></mds-filter-item>\n <mds-filter-item label=\"Immagini\"></mds-filter-item>\n <mds-filter-item label=\"Video\"></mds-filter-item>\n </mds-filter>\n</mds-dropdown>\n```\n\n#### Mouseover Interaction\n\nSet `interaction=\"mouseover\"` for navigation mega-menus or info tooltips that should open on hover. The component adds a configurable delay (default 0.5 s, controlled by `--mds-dropdown-mouseover-delay`) before opening and closing.\n\n```html\n<mds-button id=\"info-progetto\" label=\"Dettagli progetto\" variant=\"dark\" tone=\"text\"></mds-button>\n\n<mds-dropdown target=\"#info-progetto\" interaction=\"mouseover\">\n <mds-entity icon=\"mi/baseline/folder\">\n <mds-text>Progetto Alfa - In corso</mds-text>\n </mds-entity>\n</mds-dropdown>\n```\n\n#### Programmatic Control via `visible`\n\nSet `interaction=\"none\"` to disable automatic wiring and drive visibility yourself. This is useful when the trigger logic lives in app code - for example, opening on a keyboard shortcut or a programmatic state change.\n\n```html\n<mds-button id=\"apri-manuale\" label=\"Apri pannello\" variant=\"primary\"></mds-button>\n\n<mds-dropdown id=\"pannello-opzioni\" target=\"#apri-manuale\" interaction=\"none\">\n <mds-text typography=\"detail\">Pannello gestito dal codice applicativo.</mds-text>\n</mds-dropdown>\n\n<script>\n const dropdown = document.querySelector('#pannello-opzioni');\n document.querySelector('#apri-manuale').addEventListener('click', () => {\n dropdown.visible = !dropdown.visible;\n });\n</script>\n```\n\n#### Placement and Auto-Placement\n\nUse `placement` to choose the side of the caller the panel opens on. Auto-placement is on by default: the panel takes `placement` whenever it has room there, and moves to the opposite side, then to the sides across, only when it does not fit; add `disable-auto-placement` to pin the panel strictly to `placement`.\n\n```html\n<!-- Pinned right-start placement (auto-placement disabled) -->\n<mds-button id=\"azioni-riga\" label=\"Azioni\" icon=\"mi/baseline/more-vert\" variant=\"dark\" tone=\"text\"></mds-button>\n\n<mds-dropdown target=\"#azioni-riga\" placement=\"right-start\" disable-auto-placement>\n <mds-button icon=\"mi/baseline/edit\" variant=\"dark\" tone=\"text\" label=\"Modifica\"></mds-button>\n <mds-button icon=\"mi/baseline/delete\" variant=\"error\" tone=\"text\" label=\"Elimina\"></mds-button>\n</mds-dropdown>\n\n<!-- Auto-placement (default) for constrained viewports -->\n<mds-button id=\"opzioni-voce\" label=\"Opzioni\" variant=\"primary\" tone=\"weak\"></mds-button>\n<mds-dropdown target=\"#opzioni-voce\">\n <mds-button label=\"Duplica\" icon=\"mi/baseline/content-copy\" variant=\"dark\" tone=\"text\"></mds-button>\n</mds-dropdown>\n```\n\n#### Flip and Shift for Viewport Safety\n\nEnable `flip` together with `disable-auto-placement` to let the pinned panel jump to the opposite side, and to no other, when there is not enough space in the preferred direction; auto-placement already includes that fallback. Shifting the panel to keep it inside the viewport is on by default; tune the safe margin with `shift-padding` (or set `disable-shift` to opt out).\n\n```html\n<mds-button id=\"btn-edge\" label=\"Vicino al bordo\" variant=\"primary\"></mds-button>\n\n<mds-dropdown target=\"#btn-edge\" placement=\"top\" disable-auto-placement flip shift-padding=\"16\">\n <mds-text typography=\"detail\">Questo pannello si sposta automaticamente se manca spazio.</mds-text>\n</mds-dropdown>\n```\n\n#### Listening to Visibility Events\n\nListen for `mdsDropdownVisible`, `mdsDropdownHide`, or `mdsDropdownChange` to react to open/close transitions. Each event detail contains `caller` (the resolved trigger element) and `visible` (the new state).\n\n```html\n<mds-button id=\"btn-notifica\" label=\"Notifiche\" icon=\"mi/baseline/notifications\" variant=\"primary\"></mds-button>\n\n<mds-dropdown id=\"pannello-notifiche\" target=\"#btn-notifica\">\n <mds-text typography=\"detail\">Nessuna nuova notifica.</mds-text>\n</mds-dropdown>\n\n<script>\n document.querySelector('#pannello-notifiche').addEventListener('mdsDropdownVisible', (e) => {\n console.log('Aperto. Trigger:', e.detail.caller);\n });\n document.querySelector('#pannello-notifiche').addEventListener('mdsDropdownHide', () => {\n console.log('Chiuso.');\n });\n</script>\n```\n\n#### Strategy `fixed` Inside Scrolling or Stacked Containers\n\nUse `strategy=\"fixed\"` when the dropdown is placed inside a scroll container, a sticky header, or a modal. With `strategy=\"absolute\"` (the default) the panel may be clipped by `overflow: hidden` ancestors.\n\n```html\n<!-- Inside a modal or a sticky nav - use fixed positioning -->\n<mds-button id=\"menu-header\" label=\"Menu\" variant=\"primary\" tone=\"weak\"></mds-button>\n\n<mds-dropdown target=\"#menu-header\" strategy=\"fixed\">\n <mds-button label=\"Pagina principale\" icon=\"mi/baseline/home\" variant=\"dark\" tone=\"text\"></mds-button>\n <mds-button label=\"Impostazioni\" icon=\"mi/baseline/settings\" variant=\"dark\" tone=\"text\"></mds-button>\n</mds-dropdown>\n```\n\n#### DOM Placement at the Document Root\n\nPlace `<mds-dropdown>` as a direct child of `<body>` (or as close as possible to the root) when the caller lives deep inside a stacking context. Nesting the dropdown inside the same transformed or `overflow: hidden` ancestor as the caller can break positioning and backdrop rendering.\n\n```html\n<body>\n <!-- Trigger lives inside a complex layout -->\n <div class=\"app-layout\">\n <nav>\n <mds-button id=\"btn-profilo\" label=\"Profilo\" variant=\"primary\"></mds-button>\n </nav>\n </div>\n\n <!-- Dropdown is a sibling of the layout root, not nested inside it -->\n <mds-dropdown target=\"#btn-profilo\" strategy=\"fixed\" backdrop>\n <mds-text typography=\"h6\">Mario Rossi</mds-text>\n <mds-button label=\"Esci\" icon=\"mi/baseline/logout\" variant=\"error\" tone=\"text\"></mds-button>\n </mds-dropdown>\n</body>\n```\n\n#### Styling Customization\n\nCustomize the dropdown only through its public `--mds-dropdown-*` CSS custom properties. Use the semantic color roles via `rgb(var(--magma-<role>))` to preserve dark-mode, named-theme and high-contrast behavior.\n\n```css\n.my-context mds-dropdown {\n --mds-dropdown-background: rgb(var(--magma-surface-overlay));\n --mds-dropdown-mouseover-delay: 0.2s;\n --mds-dropdown-z-index: 5000;\n}\n```\n",
|
|
28
|
+
"3. Mistakes": "Common incorrect uses of `<mds-dropdown>`. 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 Place the Dropdown Deep Inside a Scroll or Stacking Context\n\nNesting `<mds-dropdown>` inside a transformed, sticky, or `overflow: hidden` ancestor breaks floating positioning and backdrop rendering. Place it as close to `<body>` as the page structure allows, or switch to `strategy=\"fixed\"`.\n\n```html\n<!-- INCORRECT -->\n<div style=\"overflow: hidden; position: relative;\">\n <mds-button id=\"trigger\" label=\"Apri\" variant=\"primary\"></mds-button>\n <mds-dropdown target=\"#trigger\" backdrop>\n <mds-text>Contenuto</mds-text>\n </mds-dropdown>\n</div>\n\n<!-- CORRECT -->\n<div style=\"overflow: hidden; position: relative;\">\n <mds-button id=\"trigger\" label=\"Apri\" variant=\"primary\"></mds-button>\n</div>\n<mds-dropdown target=\"#trigger\" strategy=\"fixed\" backdrop>\n <mds-text>Contenuto</mds-text>\n</mds-dropdown>\n```\n\n#### Do Not Use `visible=\"false\"` to Close the Dropdown\n\n`visible` is a boolean prop. The component reads the string `\"false\"` as `false` and drops the attribute when it renders, but until then the attribute is in the DOM and attribute selectors (`mds-dropdown[visible]`) match it. Remove the attribute or set the property to `false` in JavaScript to close it.\n\n```html\n<!-- INCORRECT -->\n<mds-dropdown target=\"#btn\" visible=\"false\">\n <mds-text>Contenuto</mds-text>\n</mds-dropdown>\n\n<!-- CORRECT -->\n<mds-dropdown target=\"#btn\">\n <mds-text>Contenuto</mds-text>\n</mds-dropdown>\n```\n\n```js\n// CORRECT - closing programmatically\ndocument.querySelector('mds-dropdown').visible = false;\n```\n\n#### Do Not Listen for Native `click` on the Target Instead of Dropdown Events\n\nThe dropdown manages its own interaction and emits `mdsDropdownVisible`, `mdsDropdownHide`, and `mdsDropdownChange`. Attaching a raw `click` listener to the caller can interfere with inside-click handling and may fire before the dropdown has updated its state.\n\n```html\n<!-- INCORRECT -->\n<mds-button id=\"btn-info\" label=\"Info\" variant=\"primary\"></mds-button>\n<mds-dropdown target=\"#btn-info\">...</mds-dropdown>\n\n<script>\n // raw native event on the caller - races with dropdown internals\n document.querySelector('#btn-info').addEventListener('click', () => {\n console.log('cliccato');\n });\n</script>\n\n<!-- CORRECT -->\n<mds-button id=\"btn-info\" label=\"Info\" variant=\"primary\"></mds-button>\n<mds-dropdown id=\"dd-info\" target=\"#btn-info\">...</mds-dropdown>\n\n<script>\n document.querySelector('#dd-info').addEventListener('mdsDropdownVisible', (e) => {\n console.log('dropdown aperto', e.detail.visible);\n });\n</script>\n```\n\n#### Do Not Use `target` Without a Matching Element in the DOM\n\n`target` is resolved with `querySelector` at `componentDidLoad` time. If the selector does not match any element the dropdown has no caller and cannot position or open itself. Always verify the `id` is present in the DOM before the component loads.\n\n```html\n<!-- INCORRECT - typo: button has id \"btn-salva\", target points to \"#salva\" -->\n<mds-button id=\"btn-salva\" label=\"Salva\" variant=\"primary\"></mds-button>\n<mds-dropdown target=\"#salva\">\n <mds-text>Opzioni di salvataggio</mds-text>\n</mds-dropdown>\n\n<!-- CORRECT -->\n<mds-button id=\"btn-salva\" label=\"Salva\" variant=\"primary\"></mds-button>\n<mds-dropdown target=\"#btn-salva\">\n <mds-text>Opzioni di salvataggio</mds-text>\n</mds-dropdown>\n```\n\n#### Do Not Use `<mds-button-dropdown>` and `<mds-dropdown>` Interchangeably\n\n[`mds-button-dropdown`](../mds-button-dropdown/AGENTS.md) is a compound component that already embeds a trigger button and a dropdown. Use it for a simple action-button-plus-menu. Use `<mds-dropdown>` directly only when the caller is not an `mds-button`, or when you need full control over the trigger element.\n\n```html\n<!-- INCORRECT - re-implementing what mds-button-dropdown already does -->\n<mds-button id=\"btn-azioni\" label=\"Azioni\" icon=\"mi/baseline/expand-more\" variant=\"primary\"></mds-button>\n<mds-dropdown target=\"#btn-azioni\">\n <mds-button label=\"Modifica\" variant=\"dark\" tone=\"text\"></mds-button>\n <mds-button label=\"Elimina\" variant=\"error\" tone=\"text\"></mds-button>\n</mds-dropdown>\n\n<!-- CORRECT - use the dedicated compound component -->\n<mds-button-dropdown label=\"Azioni\" variant=\"primary\">\n <mds-button label=\"Modifica\" variant=\"dark\" tone=\"text\"></mds-button>\n <mds-button label=\"Elimina\" variant=\"error\" tone=\"text\"></mds-button>\n</mds-button-dropdown>\n```\n\n#### Do Not Customize via Undocumented Shadow Internals\n\nThe supported customization surface is the public `--mds-dropdown-*` CSS custom properties. Targeting internal elements via `::part()` on non-documented parts, `>>>`, or class-name selectors couples your code to the Shadow DOM structure and breaks on any internal refactor.\n\n```css\n/* INCORRECT */\nmds-dropdown::part(panel) {\n border: 2px solid red;\n}\nmds-dropdown >>> .arrow {\n display: none;\n}\n\n/* CORRECT */\nmds-dropdown {\n --mds-dropdown-background: rgb(var(--magma-surface-overlay));\n --mds-dropdown-z-index: 6000;\n}\n```\n"
|
|
29
29
|
},
|
|
30
30
|
"props": [
|
|
31
31
|
{
|