@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,106 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-img/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-img - mistakes
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Common incorrect uses of `<mds-img>`. 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 Replace `<mds-img>` with a Raw `<img>` Element
|
|
13
|
+
|
|
14
|
+
Using a plain `<img>` bypasses the built-in error fallback, consumption-aware loading, and accessible-name defaults that `<mds-img>` provides.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<!-- INCORRECT -->
|
|
18
|
+
<img src="/assets/img/copertina.jpg" alt="Copertina" loading="lazy">
|
|
19
|
+
|
|
20
|
+
<!-- CORRECT -->
|
|
21
|
+
<mds-img src="/assets/img/copertina.jpg" alt="Copertina"></mds-img>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
#### Do Not Omit `alt` When the Image Conveys Information
|
|
25
|
+
|
|
26
|
+
`<mds-img>` derives a fallback `alt` from the filename when none is supplied, but a raw filename slug is not a meaningful description. Supply a descriptive `alt` for every content image.
|
|
27
|
+
|
|
28
|
+
```html
|
|
29
|
+
<!-- INCORRECT -->
|
|
30
|
+
<mds-img src="/assets/img/report-annuale-2024.jpg"></mds-img>
|
|
31
|
+
|
|
32
|
+
<!-- CORRECT -->
|
|
33
|
+
<mds-img src="/assets/img/report-annuale-2024.jpg" alt="Report annuale 2024"></mds-img>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
#### Do Not Listen to the Native `load` or `error` Events
|
|
37
|
+
|
|
38
|
+
The inner `<img>` lives in shadow DOM, and its native `load` and `error` events do not bubble, so a listener on the host never receives them. Use the documented `mdsImgLoadSuccess` and `mdsImgLoadError` custom events instead.
|
|
39
|
+
|
|
40
|
+
```html
|
|
41
|
+
<!-- INCORRECT -->
|
|
42
|
+
<mds-img id="foto" src="/assets/img/foto.jpg" alt="Foto"></mds-img>
|
|
43
|
+
<script>
|
|
44
|
+
document.getElementById('foto').addEventListener('load', handler);
|
|
45
|
+
document.getElementById('foto').addEventListener('error', handler);
|
|
46
|
+
</script>
|
|
47
|
+
|
|
48
|
+
<!-- CORRECT -->
|
|
49
|
+
<mds-img id="foto" src="/assets/img/foto.jpg" alt="Foto"></mds-img>
|
|
50
|
+
<script>
|
|
51
|
+
document.getElementById('foto').addEventListener('mdsImgLoadSuccess', handler);
|
|
52
|
+
document.getElementById('foto').addEventListener('mdsImgLoadError', handler);
|
|
53
|
+
</script>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
#### Do Not Use `srcset-consumption` Without a Meaningful Bucket Tag
|
|
57
|
+
|
|
58
|
+
Each entry in `srcset-consumption` must end with `low`, `medium`, or `high`. Entries with any other tag, or none, are ignored with a console warning, leaving that consumption level without a source.
|
|
59
|
+
|
|
60
|
+
```html
|
|
61
|
+
<!-- INCORRECT -->
|
|
62
|
+
<mds-img
|
|
63
|
+
srcset-consumption="/assets/img/small.jpg 1x, /assets/img/large.jpg 2x"
|
|
64
|
+
alt="Immagine"
|
|
65
|
+
></mds-img>
|
|
66
|
+
|
|
67
|
+
<!-- CORRECT -->
|
|
68
|
+
<mds-img
|
|
69
|
+
srcset-consumption="/assets/img/small.jpg low, /assets/img/medium.jpg medium, /assets/img/large.jpg high"
|
|
70
|
+
alt="Immagine"
|
|
71
|
+
></mds-img>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
#### Do Not Pierce the Shadow DOM to Style the Inner `<img>`
|
|
75
|
+
|
|
76
|
+
Targeting internal selectors with `>>>`, `/deep/`, or undocumented class names couples your code to the shadow DOM structure and will break on minor releases. Use the public `--mds-img-*` CSS custom properties for color theming, and the documented `::part(media)` for geometry/object-fit overrides.
|
|
77
|
+
|
|
78
|
+
```css
|
|
79
|
+
/* INCORRECT */
|
|
80
|
+
mds-img >>> img {
|
|
81
|
+
border-radius: 8px;
|
|
82
|
+
object-fit: cover;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* CORRECT */
|
|
86
|
+
mds-img::part(media) {
|
|
87
|
+
border-radius: var(--magma-radius-md);
|
|
88
|
+
object-fit: cover;
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
#### Do Not Set `loading="eager"` for Every Image
|
|
93
|
+
|
|
94
|
+
`loading` defaults to `"lazy"`, which is the correct behavior for most images. Setting `"eager"` on all images forces the browser to download every image immediately, degrading performance. Reserve `"eager"` for images that are visible on first paint.
|
|
95
|
+
|
|
96
|
+
```html
|
|
97
|
+
<!-- INCORRECT -->
|
|
98
|
+
<mds-img src="/assets/img/thumbnail-1.jpg" alt="Anteprima 1" loading="eager"></mds-img>
|
|
99
|
+
<mds-img src="/assets/img/thumbnail-2.jpg" alt="Anteprima 2" loading="eager"></mds-img>
|
|
100
|
+
<mds-img src="/assets/img/thumbnail-3.jpg" alt="Anteprima 3" loading="eager"></mds-img>
|
|
101
|
+
|
|
102
|
+
<!-- CORRECT -->
|
|
103
|
+
<mds-img src="/assets/img/hero.jpg" alt="Hero principale" loading="eager"></mds-img>
|
|
104
|
+
<mds-img src="/assets/img/thumbnail-1.jpg" alt="Anteprima 1"></mds-img>
|
|
105
|
+
<mds-img src="/assets/img/thumbnail-2.jpg" alt="Anteprima 2"></mds-img>
|
|
106
|
+
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-input
|
|
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-input>` web component is the primary single- and multi-line text entry control of the Magma Design System. It wraps a native `<input>` (or `<textarea>` when `type="textarea"`) and layers on form association, validation, inline tips, iconography, password masking, numeric steppers, datalist suggestions and speech-to-text dictation.
|
|
12
12
|
|
|
@@ -23,6 +23,7 @@ The `<mds-input>` web component is the primary single- and multi-line text entry
|
|
|
23
23
|
- **Character counter**: When `maxlength` is set a bottom counter tip shows `current / max` and shifts through fullness variants as the value approaches the limit. A `maxlength` of `0` or less is treated as unset.
|
|
24
24
|
- **Password masking**: With `type="password"` a toggle button reveals/hides the value; it is disabled with the field.
|
|
25
25
|
- **Number steppers**: With `type="number"` increment/decrement buttons are rendered; their placement follows `controlsLayout` and their glyphs follow `controlsIcon`. They are disabled on a disabled or read-only field, like the spin buttons of a native one.
|
|
26
|
+
- **A fill a step off its surface**: on a page the field paints `surface-overlay`; inside a surface that paints `overlay` (the window of a dialog, `mds-banner`, `mds-status-bar`, `mds-dropdown`, `mds-table`) it paints `surface-default`, the step below, passed down as `--magma-field-fill`, so the field never melts into the window. `--mds-input-background` still sets the fill outright.
|
|
26
27
|
- **Speech-to-text**: When `mic` is set a dictation button transcribes speech into the value, replacing what was there, and emits `mdsInputSpeechEnd` when the user stops the dictation; when the Web Speech API is unavailable the button switches to an error state and the value is left as it is. The dictation button is disabled on a disabled or read-only field, which the user cannot change, and a dictation in progress stops, emitting `mdsInputSpeechEnd`, when the field becomes so.
|
|
27
28
|
- **Emitted events**: `mdsInputChange` carries the new value, `mdsInputKeydown` fires on every key pressed in the field with the native `KeyboardEvent` as detail (before the value changes: read the value from `mdsInputChange`), and `mdsInputFocus`/`mdsInputBlur` fire on focus transitions.
|
|
28
29
|
|
|
@@ -43,10 +44,10 @@ The shared `variant` ladder (color role) is defined in [`agents/variants.md`](..
|
|
|
43
44
|
|
|
44
45
|
## Read next
|
|
45
46
|
|
|
46
|
-
- [`
|
|
47
|
-
- [`
|
|
47
|
+
- [`examples.md`](examples.md) - correct usage, from the most common case
|
|
48
|
+
- [`mistakes.md`](mistakes.md) - the wrong forms, each with the right one
|
|
48
49
|
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/form-input--docs) - the live examples, in the published Storybook of `main`
|
|
49
|
-
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`
|
|
50
|
+
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`mistakes.md`](../../../../agents/mistakes.md) - the rules shared by every component
|
|
50
51
|
|
|
51
52
|
## Props
|
|
52
53
|
|
|
@@ -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",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
61
|
"usage": {
|
|
62
|
-
"1. Description": "The `<mds-input>` web component is the primary single- and multi-line text entry control of the Magma Design System. It wraps a native `<input>` (or `<textarea>` when `type=\"textarea\"`) and layers on form association, validation, inline tips, iconography, password masking, numeric steppers, datalist suggestions and speech-to-text dictation.\n\n#### Semantic Behavior\n\n- **Form association**: The component reports its value to the surrounding `<form>`, so it submits natively. On `disabled` the reported value is cleared. A form reset brings back the value the field had at load, both shown and submitted, and drops the `'success'` or `'error'` look of a past blur, like a native input.\n- **Disabled fieldset**: A disabled `<fieldset>` around the component disables it as `disabled` does, like a native control: it cannot be changed and its value is left out of the form, until the fieldset is enabled.\n- **Form validity**: The validators below also decide the validity reported to the form, on every change of the value or of the rules: like a native control, an invalid field matches `:invalid` and stops the submit, the browser shows a message in the page language next to the field and focuses it, and the field switches to `'error'` as on blur. Disabled and read-only fields are left out, and `novalidate` on the `<form>` turns the check off. `type=\"email\"` and `type=\"url\"` check the format of the value as a native input does.\n- **Validation on blur**: Validation runs when the field loses focus (and re-runs on input once invalid). A `required` field waits for that first blur too: until then, typing only updates its required tip. It drives the `variant` automatically to `'success'` or `'error'`, emits `mdsInputValidation` with the boolean result, and reverts to `'primary'` when an optional field is emptied.\n- **Type-aware validators**: The active validator set is derived from `type` - `email` and `url` install the format validators of the native types, `cf` the codice fiscale format and length validators, `isbn` a checksum validator, `piva` the partita IVA one (11 digits, the last one the check digit) and `cc` the card number one (13 to 19 digits, in groups split by spaces or dashes, that pass the Luhn check); no type applies an input mask, while `required`, `min`/`max` (any number, `0` included), `minlength`/`maxlength` and `pattern` add the corresponding constraint validators. As on a native input, `pattern` has to match the whole value, an expression that does not compile sets no rule, and `number`, `date`, `time` and `textarea` ignore it. The set is rebuilt whenever one of these props changes, also after load, as with the React wrappers under SSR: a pristine field only updates its required tip, a field already validated on blur is validated again. Custom validators can be attached at runtime through the `addValidator`/`removeValidator`/`hasValidator`/`getErrors` methods.\n- **Localized messages**: The messages of the built-in validators, the ones `getErrors()` returns and `mds-input-field` shows, are in the language of the page when the value is validated (`el`, `en`, `es`, `it`, English for any other).\n- **Error keys**: `getErrors()` reports each failed rule under its own key: `required`, `max`, `min`, `maxlength`, `minlength`, `pattern`, `email`, `url`, `piva`, `cc`, `isbn-error`, `cf-regex` and `cf-length`, plus the keys the custom validators return. Up to 2.5.0, `maxlength` and `minlength` were both reported as `minLenght`.\n- **Disabled / read-only tips**: `disabled` and `readonly` surface a persistent top tip describing the state; read-only fields also auto-select their text on focus.\n- **Character counter**: When `maxlength` is set a bottom counter tip shows `current / max` and shifts through fullness variants as the value approaches the limit. A `maxlength` of `0` or less is treated as unset.\n- **Password masking**: With `type=\"password\"` a toggle button reveals/hides the value; it is disabled with the field.\n- **Number steppers**: With `type=\"number\"` increment/decrement buttons are rendered; their placement follows `controlsLayout` and their glyphs follow `controlsIcon`. They are disabled on a disabled or read-only field, like the spin buttons of a native one.\n- **Speech-to-text**: When `mic` is set a dictation button transcribes speech into the value, replacing what was there, and emits `mdsInputSpeechEnd` when the user stops the dictation; when the Web Speech API is unavailable the button switches to an error state and the value is left as it is. The dictation button is disabled on a disabled or read-only field, which the user cannot change, and a dictation in progress stops, emitting `mdsInputSpeechEnd`, when the field becomes so.\n- **Emitted events**: `mdsInputChange` carries the new value, `mdsInputKeydown` fires on every key pressed in the field with the native `KeyboardEvent` as detail (before the value changes: read the value from `mdsInputChange`), and `mdsInputFocus`/`mdsInputBlur` fire on focus transitions.\n\n#### Properties & Visual Configurations\n\nThe shared `variant` ladder (color role) is defined in [`agents/variants.md`](../../../../agents/variants.md); `<mds-input>` consumes it for both intent styling and validation feedback, but does not expose a `tone` prop. It accepts `primary` (default), `ai`, `info`, `success`, `warning` and `error`.\n\n- **`type`** selects both the rendered control and the validation profile: it covers the native HTML types plus format types (`'cf'`, `'piva'`, `'isbn'`, `'cc'`) and switches the host to a multi-line `<textarea>` for `'textarea'`.\n- **`variant=\"ai\"`** auto-assigns the AI chatbot icon when no `icon` is otherwise provided, signposting AI-assisted fields.\n- **`size`** sets the height of the field, the same as [`<mds-button>`](../mds-button/AGENTS.md): `sm` 28px, `md` 36px, `lg` 48px (default). Match it to the buttons next to the field, or go smaller in dense layouts (filter bars, table toolbars); the text style stays the same, the padding and the inner icon, stepper buttons and password and microphone toggles scale with it. A `textarea` keeps its own height (`--mds-input-textarea-min-height`).\n\n#### Other behavioral props\n\n- **`icon`** is an SVG filename slug from the Magma icon library shown at the leading (left) edge of the field; it is suppressed while `await` is active, since the spinner takes its place.\n- **`controlsLayout`** chooses between stacked (`'vertical'`) and split (`'horizontal'`) stepper buttons, and **`controlsIcon`** picks arrow vs. plus/minus glyphs - both apply only to `type=\"number\"`.\n- **`datalist`** supplies suggestion options for `type=\"search\"` style autocompletion.\n- **`tip`** renders inline helper text below the field, and **`typography`** selects the field's text scale.\n",
|
|
63
|
-
"2. Pattern": "Correct and idiomatic ways to use the `<mds-input>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Text Input\n\nThe simplest form: set `name` for form participation and `placeholder` for a visual hint. Wrap the component in [`mds-input-field`](../mds-input-field/AGENTS.md) to add a visible label and associated tip.\n\n```html\n<mds-input\n name=\"cognome\"\n placeholder=\"Inserisci il tuo cognome\"\n></mds-input>\n```\n\n#### Required Field with `tip` Helper Text\n\nUse `required` to validate that the field is not empty and `tip` to explain the constraint. The component surfaces a top-tip when focused and drives `variant` to `'error'` or `'success'` on blur. When the field collects the user's own data, set the matching `autocomplete` token (`email`, `given-name`, `tel`, ...) so browsers can identify its purpose (WCAG 2.1 SC 1.3.5) and offer autofill; without it the component default `autocomplete=\"off\"` applies.\n\n```html\n<mds-input\n name=\"email\"\n type=\"email\"\n autocomplete=\"email\"\n placeholder=\"nome@esempio.it\"\n required\n tip=\"Inserisci un indirizzo email valido\"\n></mds-input>\n```\n\n#### Textarea for Multi-line Content\n\nSet `type=\"textarea\"` to render a `<textarea>` instead of a single-line `<input>`. Use the `--mds-input-textarea-*` custom properties to control height and resize behaviour.\n\n```html\n<mds-input\n name=\"descrizione\"\n type=\"textarea\"\n placeholder=\"Descrivi il problema...\"\n maxlength=\"500\"\n></mds-input>\n```\n\n#### Character Counter via `maxlength`\n\nWhen `maxlength` is set the component renders a live `current / max` counter below the field. The counter shifts through fullness variants as the limit approaches. A value of `0` or less is treated as unset.\n\n```html\n<mds-input\n name=\"titolo\"\n placeholder=\"Titolo dell'articolo\"\n maxlength=\"120\"\n></mds-input>\n```\n\n#### Numeric Input with Steppers\n\nSet `type=\"number\"` to enable built-in increment/decrement buttons. Use `controlsLayout` to choose between stacked (`'vertical'`, default) and split (`'horizontal'`) placement, and `controlsIcon` to pick arrow vs. plus/minus glyphs. Use `min`, `max`, and `step` to constrain the legal range.\n\n```html\n<!-- Stacked (default) - arrow glyphs -->\n<mds-input\n name=\"quantita\"\n type=\"number\"\n min=\"1\"\n max=\"99\"\n step=\"1\"\n placeholder=\"1\"\n></mds-input>\n\n<!-- Horizontal split - arithmetic glyphs -->\n<mds-input\n name=\"quantita\"\n type=\"number\"\n min=\"0\"\n max=\"100\"\n controls-layout=\"horizontal\"\n controls-icon=\"arithmetic\"\n placeholder=\"0\"\n></mds-input>\n```\n\n#### Password Input\n\nSet `type=\"password\"` to render a masked field with a built-in visibility toggle. The component renders a custom dot-mask overlay and a show/hide button - no extra wiring is needed. Always set `autocomplete` to `new-password` (sign-up, password change) or `current-password` (login): the component default is `autocomplete=\"off\"`, which browsers and password managers ignore on credential fields, but the explicit token is what lets them pair the password with its username field and fill or generate the right value.\n\n```html\n<mds-input\n name=\"password\"\n type=\"password\"\n autocomplete=\"new-password\"\n placeholder=\"Scegli una password\"\n required\n></mds-input>\n```\n\n#### Login Form\n\nPair a username field carrying `autocomplete=\"username\"` with a password field carrying `autocomplete=\"current-password\"` inside a `<form>`, and submit through `<mds-button type=\"submit\">`. The native fields live in the Shadow DOM of each `<mds-input>`: among the password managers tested, Bitwarden, LastPass, Chrome and Edge detect and fill them, Firefox's built-in manager and KeePassXC-Browser do not (they only look at the light DOM).\n\n```html\n<form action=\"/login\" method=\"post\">\n <mds-input-field label=\"Email\">\n <mds-input name=\"username\" type=\"email\" autocomplete=\"username\" required></mds-input>\n </mds-input-field>\n <mds-input-field label=\"Password\">\n <mds-input name=\"password\" type=\"password\" autocomplete=\"current-password\" required></mds-input>\n </mds-input-field>\n\n <mds-button type=\"submit\" label=\"Accedi\" variant=\"primary\" tone=\"strong\"></mds-button>\n</form>\n```\n\n#### Italian-Specific Masked Types\n\n`type=\"cf\"` installs the codice fiscale format and length validators and `type=\"isbn\"` a checksum validator. `type=\"piva\"` accepts 11 digits whose last one is the check digit, without the `IT` prefix or spaces, and `type=\"cc\"` 13 to 19 digits, in groups split by spaces or dashes, that pass the Luhn check of card numbers. A value that breaks the format stops the submit of the form. No type applies a keyboard mask.\n\n```html\n<mds-input name=\"codice_fiscale\" type=\"cf\" placeholder=\"RSSMRA80A01H501Z\"></mds-input>\n<mds-input name=\"partita_iva\" type=\"piva\" placeholder=\"01234567890\"></mds-input>\n```\n\n#### Search Input with Datalist\n\nUse `type=\"search\"` combined with the `datalist` prop to offer autocomplete suggestions from a fixed list. The list is rendered inside the shadow DOM and wired automatically.\n\n```html\n<mds-input\n name=\"comune\"\n type=\"search\"\n placeholder=\"Cerca comune...\"\n></mds-input>\n```\n\n```javascript\n// Pass suggestions as a JavaScript array\ndocument.querySelector('mds-input').datalist = ['Roma', 'Milano', 'Napoli', 'Torino'];\n```\n\n#### Icon Decoration\n\nThe `icon` prop renders an SVG slug from the Magma icon library at the leading edge of the field. The icon is suppressed while `await` is active and the spinner takes its place.\n\n```html\n<mds-input\n name=\"cerca\"\n type=\"search\"\n icon=\"mi/baseline/search\"\n placeholder=\"Cerca...\"\n></mds-input>\n```\n\n#### AI-Assisted Field\n\nSet `variant=\"ai\"` to signal an AI-powered field. When no `icon` prop is present, the component auto-assigns the AI chatbot icon.\n\n```html\n<mds-input\n name=\"prompt\"\n type=\"text\"\n variant=\"ai\"\n placeholder=\"Chiedi qualcosa all'assistente...\"\n></mds-input>\n```\n\n#### Async Loading via `await`\n\nSet the `await` boolean attribute while an async operation (e.g. a lookup) is in flight. The component renders an inline spinner in place of the icon. Remove the attribute when done - do not set `await=\"false\"`.\n\n```html\n<mds-input name=\"codice\" placeholder=\"Verifica in corso...\" await></mds-input>\n```\n\n#### Speech-to-Text Dictation\n\nSet the `mic` boolean attribute to render a dictation button. Starting a dictation clears the current value and writes the recognized speech in its place; the component emits `mdsInputSpeechEnd` when the user stops the dictation. If the Web Speech API is unavailable the button switches to an error state and the value is kept.\n\n```html\n<mds-input\n name=\"note_vocali\"\n type=\"text\"\n mic\n placeholder=\"Parla o scrivi...\"\n></mds-input>\n```\n\n#### Listening to Events\n\nListen for `mdsInputChange` instead of native `input` or `change`: `change` does not cross the shadow boundary, and `input` reports only typing, not the values set by the steppers, the dictation or a script.\n\n```javascript\ndocument.querySelector('mds-input').addEventListener('mdsInputChange', (e) => {\n console.log(e.detail.value);\n});\n\ndocument.querySelector('mds-input').addEventListener('mdsInputValidation', (e) => {\n console.log('valido:', e.detail);\n});\n```\n\n#### Form Participation\n\n`<mds-input>` is form-associated. It submits natively inside a `<form>`; set `name` so the value is included in form data. Its validation is reported to the form too: an empty `required` field, or one that breaks another rule, stops the submit like a native input and shows the error. Add `novalidate` to the `<form>` when your own code validates on submit. A reset brings every field back to its value at load and to its pristine look.\n\n```html\n<form action=\"/salva\" method=\"post\">\n <mds-input name=\"nome\" type=\"text\" placeholder=\"Nome\" required></mds-input>\n <mds-input name=\"cognome\" type=\"text\" placeholder=\"Cognome\" required></mds-input>\n <mds-input name=\"email\" type=\"email\" placeholder=\"Email\" required></mds-input>\n\n <mds-button type=\"submit\" label=\"Invia\" variant=\"primary\" tone=\"strong\"></mds-button>\n <mds-button type=\"reset\" label=\"Annulla\" variant=\"dark\" tone=\"outline\"></mds-button>\n</form>\n```\n\n#### Read-Only Display\n\nUse `readonly` when the value should be visible but not editable. A persistent top tip describes the state, and the field text is auto-selected on focus for easy copying.\n\n```html\n<mds-input\n name=\"codice_riferimento\"\n value=\"REF-2024-00123\"\n readonly\n></mds-input>\n```\n\n#### Styling Customization\n\nStyle the input only through its public `--mds-input-*` CSS custom properties. Set them on the host or a parent selector. Use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast modes keep working.\n\n```css\n.search-bar mds-input {\n --mds-input-background: rgb(var(--magma-wash-base));\n}\n\n/* Textarea: fixed height, allow resize */\n.notes-area mds-input {\n --mds-input-textarea-min-height: 8rem;\n --mds-input-textarea-max-height: 24rem;\n --mds-input-textarea-resize: vertical;\n}\n```\n\n#### Sizing a Field to the Controls Next to It\n\nGive the fields of a row the `size` of the buttons beside them, so they share one height: `sm` 28px, `md` 36px, `lg` 48px (default), the sizes of [`<mds-button>`](../mds-button/AGENTS.md). `<mds-input-select>`, `<mds-input-date>` and `<mds-input-date-range>` take the same values.\n\n```html\n<div class=\"flex items-center gap-200\">\n <mds-input size=\"md\" type=\"search\" icon=\"mi/baseline/search\" placeholder=\"Cerca\"></mds-input>\n <mds-input-select size=\"md\" placeholder=\"Stato\">\n <option value=\"open\">Aperte</option>\n <option value=\"closed\">Chiuse</option>\n </mds-input-select>\n <mds-button size=\"md\" label=\"Filtra\"></mds-button>\n</div>\n```\n\n",
|
|
64
|
-
"3.
|
|
62
|
+
"1. Description": "The `<mds-input>` web component is the primary single- and multi-line text entry control of the Magma Design System. It wraps a native `<input>` (or `<textarea>` when `type=\"textarea\"`) and layers on form association, validation, inline tips, iconography, password masking, numeric steppers, datalist suggestions and speech-to-text dictation.\n\n#### Semantic Behavior\n\n- **Form association**: The component reports its value to the surrounding `<form>`, so it submits natively. On `disabled` the reported value is cleared. A form reset brings back the value the field had at load, both shown and submitted, and drops the `'success'` or `'error'` look of a past blur, like a native input.\n- **Disabled fieldset**: A disabled `<fieldset>` around the component disables it as `disabled` does, like a native control: it cannot be changed and its value is left out of the form, until the fieldset is enabled.\n- **Form validity**: The validators below also decide the validity reported to the form, on every change of the value or of the rules: like a native control, an invalid field matches `:invalid` and stops the submit, the browser shows a message in the page language next to the field and focuses it, and the field switches to `'error'` as on blur. Disabled and read-only fields are left out, and `novalidate` on the `<form>` turns the check off. `type=\"email\"` and `type=\"url\"` check the format of the value as a native input does.\n- **Validation on blur**: Validation runs when the field loses focus (and re-runs on input once invalid). A `required` field waits for that first blur too: until then, typing only updates its required tip. It drives the `variant` automatically to `'success'` or `'error'`, emits `mdsInputValidation` with the boolean result, and reverts to `'primary'` when an optional field is emptied.\n- **Type-aware validators**: The active validator set is derived from `type` - `email` and `url` install the format validators of the native types, `cf` the codice fiscale format and length validators, `isbn` a checksum validator, `piva` the partita IVA one (11 digits, the last one the check digit) and `cc` the card number one (13 to 19 digits, in groups split by spaces or dashes, that pass the Luhn check); no type applies an input mask, while `required`, `min`/`max` (any number, `0` included), `minlength`/`maxlength` and `pattern` add the corresponding constraint validators. As on a native input, `pattern` has to match the whole value, an expression that does not compile sets no rule, and `number`, `date`, `time` and `textarea` ignore it. The set is rebuilt whenever one of these props changes, also after load, as with the React wrappers under SSR: a pristine field only updates its required tip, a field already validated on blur is validated again. Custom validators can be attached at runtime through the `addValidator`/`removeValidator`/`hasValidator`/`getErrors` methods.\n- **Localized messages**: The messages of the built-in validators, the ones `getErrors()` returns and `mds-input-field` shows, are in the language of the page when the value is validated (`el`, `en`, `es`, `it`, English for any other).\n- **Error keys**: `getErrors()` reports each failed rule under its own key: `required`, `max`, `min`, `maxlength`, `minlength`, `pattern`, `email`, `url`, `piva`, `cc`, `isbn-error`, `cf-regex` and `cf-length`, plus the keys the custom validators return. Up to 2.5.0, `maxlength` and `minlength` were both reported as `minLenght`.\n- **Disabled / read-only tips**: `disabled` and `readonly` surface a persistent top tip describing the state; read-only fields also auto-select their text on focus.\n- **Character counter**: When `maxlength` is set a bottom counter tip shows `current / max` and shifts through fullness variants as the value approaches the limit. A `maxlength` of `0` or less is treated as unset.\n- **Password masking**: With `type=\"password\"` a toggle button reveals/hides the value; it is disabled with the field.\n- **Number steppers**: With `type=\"number\"` increment/decrement buttons are rendered; their placement follows `controlsLayout` and their glyphs follow `controlsIcon`. They are disabled on a disabled or read-only field, like the spin buttons of a native one.\n- **A fill a step off its surface**: on a page the field paints `surface-overlay`; inside a surface that paints `overlay` (the window of a dialog, `mds-banner`, `mds-status-bar`, `mds-dropdown`, `mds-table`) it paints `surface-default`, the step below, passed down as `--magma-field-fill`, so the field never melts into the window. `--mds-input-background` still sets the fill outright.\n- **Speech-to-text**: When `mic` is set a dictation button transcribes speech into the value, replacing what was there, and emits `mdsInputSpeechEnd` when the user stops the dictation; when the Web Speech API is unavailable the button switches to an error state and the value is left as it is. The dictation button is disabled on a disabled or read-only field, which the user cannot change, and a dictation in progress stops, emitting `mdsInputSpeechEnd`, when the field becomes so.\n- **Emitted events**: `mdsInputChange` carries the new value, `mdsInputKeydown` fires on every key pressed in the field with the native `KeyboardEvent` as detail (before the value changes: read the value from `mdsInputChange`), and `mdsInputFocus`/`mdsInputBlur` fire on focus transitions.\n\n#### Properties & Visual Configurations\n\nThe shared `variant` ladder (color role) is defined in [`agents/variants.md`](../../../../agents/variants.md); `<mds-input>` consumes it for both intent styling and validation feedback, but does not expose a `tone` prop. It accepts `primary` (default), `ai`, `info`, `success`, `warning` and `error`.\n\n- **`type`** selects both the rendered control and the validation profile: it covers the native HTML types plus format types (`'cf'`, `'piva'`, `'isbn'`, `'cc'`) and switches the host to a multi-line `<textarea>` for `'textarea'`.\n- **`variant=\"ai\"`** auto-assigns the AI chatbot icon when no `icon` is otherwise provided, signposting AI-assisted fields.\n- **`size`** sets the height of the field, the same as [`<mds-button>`](../mds-button/AGENTS.md): `sm` 28px, `md` 36px, `lg` 48px (default). Match it to the buttons next to the field, or go smaller in dense layouts (filter bars, table toolbars); the text style stays the same, the padding and the inner icon, stepper buttons and password and microphone toggles scale with it. A `textarea` keeps its own height (`--mds-input-textarea-min-height`).\n\n#### Other behavioral props\n\n- **`icon`** is an SVG filename slug from the Magma icon library shown at the leading (left) edge of the field; it is suppressed while `await` is active, since the spinner takes its place.\n- **`controlsLayout`** chooses between stacked (`'vertical'`) and split (`'horizontal'`) stepper buttons, and **`controlsIcon`** picks arrow vs. plus/minus glyphs - both apply only to `type=\"number\"`.\n- **`datalist`** supplies suggestion options for `type=\"search\"` style autocompletion.\n- **`tip`** renders inline helper text below the field, and **`typography`** selects the field's text scale.\n",
|
|
63
|
+
"2. Examples": "Correct and idiomatic ways to use the `<mds-input>` component, ordered from most common to most specialized. The examples assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Text Input\n\nThe simplest form: set `name` for form participation and `placeholder` for a visual hint. Wrap the component in [`mds-input-field`](../mds-input-field/AGENTS.md) to add a visible label and associated tip.\n\n```html\n<mds-input\n name=\"cognome\"\n placeholder=\"Inserisci il tuo cognome\"\n></mds-input>\n```\n\n#### Required Field with `tip` Helper Text\n\nUse `required` to validate that the field is not empty and `tip` to explain the constraint. The component surfaces a top-tip when focused and drives `variant` to `'error'` or `'success'` on blur. When the field collects the user's own data, set the matching `autocomplete` token (`email`, `given-name`, `tel`, ...) so browsers can identify its purpose (WCAG 2.1 SC 1.3.5) and offer autofill; without it the component default `autocomplete=\"off\"` applies.\n\n```html\n<mds-input\n name=\"email\"\n type=\"email\"\n autocomplete=\"email\"\n placeholder=\"nome@esempio.it\"\n required\n tip=\"Inserisci un indirizzo email valido\"\n></mds-input>\n```\n\n#### Textarea for Multi-line Content\n\nSet `type=\"textarea\"` to render a `<textarea>` instead of a single-line `<input>`. Use the `--mds-input-textarea-*` custom properties to control height and resize behaviour.\n\n```html\n<mds-input\n name=\"descrizione\"\n type=\"textarea\"\n placeholder=\"Descrivi il problema...\"\n maxlength=\"500\"\n></mds-input>\n```\n\n#### Character Counter via `maxlength`\n\nWhen `maxlength` is set the component renders a live `current / max` counter below the field. The counter shifts through fullness variants as the limit approaches. A value of `0` or less is treated as unset.\n\n```html\n<mds-input\n name=\"titolo\"\n placeholder=\"Titolo dell'articolo\"\n maxlength=\"120\"\n></mds-input>\n```\n\n#### Numeric Input with Steppers\n\nSet `type=\"number\"` to enable built-in increment/decrement buttons. Use `controlsLayout` to choose between stacked (`'vertical'`, default) and split (`'horizontal'`) placement, and `controlsIcon` to pick arrow vs. plus/minus glyphs. Use `min`, `max`, and `step` to constrain the legal range.\n\n```html\n<!-- Stacked (default) - arrow glyphs -->\n<mds-input\n name=\"quantita\"\n type=\"number\"\n min=\"1\"\n max=\"99\"\n step=\"1\"\n placeholder=\"1\"\n></mds-input>\n\n<!-- Horizontal split - arithmetic glyphs -->\n<mds-input\n name=\"quantita\"\n type=\"number\"\n min=\"0\"\n max=\"100\"\n controls-layout=\"horizontal\"\n controls-icon=\"arithmetic\"\n placeholder=\"0\"\n></mds-input>\n```\n\n#### Password Input\n\nSet `type=\"password\"` to render a masked field with a built-in visibility toggle. The component renders a custom dot-mask overlay and a show/hide button - no extra wiring is needed. Always set `autocomplete` to `new-password` (sign-up, password change) or `current-password` (login): the component default is `autocomplete=\"off\"`, which browsers and password managers ignore on credential fields, but the explicit token is what lets them pair the password with its username field and fill or generate the right value.\n\n```html\n<mds-input\n name=\"password\"\n type=\"password\"\n autocomplete=\"new-password\"\n placeholder=\"Scegli una password\"\n required\n></mds-input>\n```\n\n#### Login Form\n\nPair a username field carrying `autocomplete=\"username\"` with a password field carrying `autocomplete=\"current-password\"` inside a `<form>`, and submit through `<mds-button type=\"submit\">`. The native fields live in the Shadow DOM of each `<mds-input>`: among the password managers tested, Bitwarden, LastPass, Chrome and Edge detect and fill them, Firefox's built-in manager and KeePassXC-Browser do not (they only look at the light DOM).\n\n```html\n<form action=\"/login\" method=\"post\">\n <mds-input-field label=\"Email\">\n <mds-input name=\"username\" type=\"email\" autocomplete=\"username\" required></mds-input>\n </mds-input-field>\n <mds-input-field label=\"Password\">\n <mds-input name=\"password\" type=\"password\" autocomplete=\"current-password\" required></mds-input>\n </mds-input-field>\n\n <mds-button type=\"submit\" label=\"Accedi\" variant=\"primary\" tone=\"strong\"></mds-button>\n</form>\n```\n\n#### Italian-Specific Masked Types\n\n`type=\"cf\"` installs the codice fiscale format and length validators and `type=\"isbn\"` a checksum validator. `type=\"piva\"` accepts 11 digits whose last one is the check digit, without the `IT` prefix or spaces, and `type=\"cc\"` 13 to 19 digits, in groups split by spaces or dashes, that pass the Luhn check of card numbers. A value that breaks the format stops the submit of the form. No type applies a keyboard mask.\n\n```html\n<mds-input name=\"codice_fiscale\" type=\"cf\" placeholder=\"RSSMRA80A01H501Z\"></mds-input>\n<mds-input name=\"partita_iva\" type=\"piva\" placeholder=\"01234567890\"></mds-input>\n```\n\n#### Search Input with Datalist\n\nUse `type=\"search\"` combined with the `datalist` prop to offer autocomplete suggestions from a fixed list. The list is rendered inside the shadow DOM and wired automatically.\n\n```html\n<mds-input\n name=\"comune\"\n type=\"search\"\n placeholder=\"Cerca comune...\"\n></mds-input>\n```\n\n```javascript\n// Pass suggestions as a JavaScript array\ndocument.querySelector('mds-input').datalist = ['Roma', 'Milano', 'Napoli', 'Torino'];\n```\n\n#### Icon Decoration\n\nThe `icon` prop renders an SVG slug from the Magma icon library at the leading edge of the field. The icon is suppressed while `await` is active and the spinner takes its place.\n\n```html\n<mds-input\n name=\"cerca\"\n type=\"search\"\n icon=\"mi/baseline/search\"\n placeholder=\"Cerca...\"\n></mds-input>\n```\n\n#### AI-Assisted Field\n\nSet `variant=\"ai\"` to signal an AI-powered field. When no `icon` prop is present, the component auto-assigns the AI chatbot icon.\n\n```html\n<mds-input\n name=\"prompt\"\n type=\"text\"\n variant=\"ai\"\n placeholder=\"Chiedi qualcosa all'assistente...\"\n></mds-input>\n```\n\n#### Async Loading via `await`\n\nSet the `await` boolean attribute while an async operation (e.g. a lookup) is in flight. The component renders an inline spinner in place of the icon. Remove the attribute when done - do not set `await=\"false\"`.\n\n```html\n<mds-input name=\"codice\" placeholder=\"Verifica in corso...\" await></mds-input>\n```\n\n#### Speech-to-Text Dictation\n\nSet the `mic` boolean attribute to render a dictation button. Starting a dictation clears the current value and writes the recognized speech in its place; the component emits `mdsInputSpeechEnd` when the user stops the dictation. If the Web Speech API is unavailable the button switches to an error state and the value is kept.\n\n```html\n<mds-input\n name=\"note_vocali\"\n type=\"text\"\n mic\n placeholder=\"Parla o scrivi...\"\n></mds-input>\n```\n\n#### Listening to Events\n\nListen for `mdsInputChange` instead of native `input` or `change`: `change` does not cross the shadow boundary, and `input` reports only typing, not the values set by the steppers, the dictation or a script.\n\n```javascript\ndocument.querySelector('mds-input').addEventListener('mdsInputChange', (e) => {\n console.log(e.detail.value);\n});\n\ndocument.querySelector('mds-input').addEventListener('mdsInputValidation', (e) => {\n console.log('valido:', e.detail);\n});\n```\n\n#### Form Participation\n\n`<mds-input>` is form-associated. It submits natively inside a `<form>`; set `name` so the value is included in form data. Its validation is reported to the form too: an empty `required` field, or one that breaks another rule, stops the submit like a native input and shows the error. Add `novalidate` to the `<form>` when your own code validates on submit. A reset brings every field back to its value at load and to its pristine look.\n\n```html\n<form action=\"/salva\" method=\"post\">\n <mds-input name=\"nome\" type=\"text\" placeholder=\"Nome\" required></mds-input>\n <mds-input name=\"cognome\" type=\"text\" placeholder=\"Cognome\" required></mds-input>\n <mds-input name=\"email\" type=\"email\" placeholder=\"Email\" required></mds-input>\n\n <mds-button type=\"submit\" label=\"Invia\" variant=\"primary\" tone=\"strong\"></mds-button>\n <mds-button type=\"reset\" label=\"Annulla\" variant=\"dark\" tone=\"outline\"></mds-button>\n</form>\n```\n\n#### Read-Only Display\n\nUse `readonly` when the value should be visible but not editable. A persistent top tip describes the state, and the field text is auto-selected on focus for easy copying.\n\n```html\n<mds-input\n name=\"codice_riferimento\"\n value=\"REF-2024-00123\"\n readonly\n></mds-input>\n```\n\n#### Styling Customization\n\nStyle the input only through its public `--mds-input-*` CSS custom properties. Set them on the host or a parent selector. Use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast modes keep working.\n\n```css\n.search-bar mds-input {\n --mds-input-background: rgb(var(--magma-wash-base));\n}\n\n/* Textarea: fixed height, allow resize */\n.notes-area mds-input {\n --mds-input-textarea-min-height: 8rem;\n --mds-input-textarea-max-height: 24rem;\n --mds-input-textarea-resize: vertical;\n}\n```\n\n#### Sizing a Field to the Controls Next to It\n\nGive the fields of a row the `size` of the buttons beside them, so they share one height: `sm` 28px, `md` 36px, `lg` 48px (default), the sizes of [`<mds-button>`](../mds-button/AGENTS.md). `<mds-input-select>`, `<mds-input-date>` and `<mds-input-date-range>` take the same values.\n\n```html\n<div class=\"flex items-center gap-200\">\n <mds-input size=\"md\" type=\"search\" icon=\"mi/baseline/search\" placeholder=\"Cerca\"></mds-input>\n <mds-input-select size=\"md\" placeholder=\"Stato\">\n <option value=\"open\">Aperte</option>\n <option value=\"closed\">Chiuse</option>\n </mds-input-select>\n <mds-button size=\"md\" label=\"Filtra\"></mds-button>\n</div>\n```\n\n",
|
|
64
|
+
"3. Mistakes": "Common incorrect uses of `<mds-input>`. 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 Use a Raw `<input>` When `<mds-input>` Exists\n\nReaching for a plain `<input>` bypasses theming, validation, tips, accessible state announcements, and form-reset behavior provided by the component.\n\n```html\n<!-- INCORRECT -->\n<input type=\"text\" name=\"nome\" placeholder=\"Nome\" class=\"my-input\">\n\n<!-- CORRECT -->\n<mds-input name=\"nome\" type=\"text\" placeholder=\"Nome\"></mds-input>\n```\n\n#### Do Not Set Boolean Attributes to the String `\"false\"`\n\n`disabled`, `required`, `readonly`, `mic` and `await` are boolean attributes: remove the attribute entirely to turn it off. `mds-input` is form-associated, so as on a native control any value turns them on, `\"false\"` included: this markup renders a disabled, required field.\n\n```html\n<!-- INCORRECT -->\n<mds-input name=\"note\" disabled=\"false\" required=\"false\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input name=\"note\"></mds-input>\n```\n\n#### Do Not Force `variant` for Validation Feedback\n\nThe component drives `variant` to `'success'` or `'error'` automatically on blur when validators are active. Setting `variant` manually overrides the feedback and breaks the visual contract.\n\n```html\n<!-- INCORRECT -->\n<mds-input name=\"codice\" variant=\"error\" tip=\"Valore non valido\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input name=\"codice\" required tip=\"Inserisci un valore valido\"></mds-input>\n```\n\n#### Do Not Listen to Native `input` or `change` Events\n\nThe native `change` event does not cross the shadow boundary, and `input` reports only typing, not the values set by the steppers, the dictation or a script. Use the documented `mdsInputChange` event instead, which fires for every value change.\n\n```javascript\n// INCORRECT\ndocument.querySelector('mds-input').addEventListener('input', (e) => {\n console.log(e.target.value);\n});\n\n// CORRECT\ndocument.querySelector('mds-input').addEventListener('mdsInputChange', (e) => {\n console.log(e.detail.value);\n});\n```\n\n#### Do Not Use `type=\"number\"` Native Browser Spinners and Then Override the Input\n\nThe component renders its own increment/decrement buttons and hides the native browser spinners. Do not try to re-enable them via CSS, and do not add inline JS `stepUp`/`stepDown` calls - use the `controlsLayout` and `controlsIcon` props to configure the built-in controls.\n\n```html\n<!-- INCORRECT -->\n<mds-input type=\"number\" style=\"-moz-appearance: auto;\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input\n type=\"number\"\n controls-layout=\"horizontal\"\n controls-icon=\"arithmetic\"\n min=\"0\"\n max=\"100\"\n></mds-input>\n```\n\n#### Do Not Use a Legacy or Invalid `type` Value\n\n`<mds-input>` accepts a specific set of `type` values: `text`, `email`, `number`, `password`, `search`, `tel`, `url`, `date`, `time`, `textarea`, `cf`, `piva`, `cc`, `isbn`. Supplying anything else (e.g. `\"checkbox\"`, `\"radio\"`, `\"file\"`) is passed straight to the inner native `<input>`, which renders a bare native control that the component neither styles nor reports correctly to the form. Use the dedicated Magma component for those controls.\n\n```html\n<!-- INCORRECT -->\n<mds-input type=\"checkbox\" name=\"accetto\"></mds-input>\n<mds-input type=\"file\" name=\"allegato\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input-switch name=\"accetto\"></mds-input-switch>\n<mds-input-upload name=\"allegato\"></mds-input-upload>\n```\n\n#### Do Not Use `placeholder` as the Accessible Label\n\n`placeholder` disappears on input and is never read as a label by assistive tech. Always pair `<mds-input>` with [`mds-input-field`](../mds-input-field/AGENTS.md) (which shows a visible label and passes it down as the accessible name) or supply `aria-label` directly on the host.\n\n```html\n<!-- INCORRECT -->\n<mds-input name=\"ricerca\" placeholder=\"Cerca per nome\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input-field label=\"Cerca per nome\">\n <mds-input name=\"ricerca\" placeholder=\"Cerca per nome\"></mds-input>\n</mds-input-field>\n```\n\n#### Do Not Pierce the Shadow DOM to Style Internal Parts\n\nThe supported customization surface is the public `--mds-input-*` CSS custom properties plus the documented shadow parts (`field`, `tip-top`, `tip-bottom`, `tip-count`, `password-toggle-button`, `counter-button-increase`, `counter-button-decrease`, `mic-toggle-button`). Targeting undocumented internals via `>>>` or arbitrary class names couples your code to the Shadow DOM implementation.\n\n```css\n/* INCORRECT */\nmds-input >>> .input {\n border: 2px solid red;\n}\n\n/* CORRECT */\nmds-input {\n --mds-input-ring: 0 0 0 2px rgb(var(--magma-danger-border));\n --mds-input-background: rgb(var(--magma-danger-wash-base));\n}\nmds-input::part(field) {\n font-style: italic;\n}\n```\n"
|
|
65
65
|
},
|
|
66
66
|
"props": [
|
|
67
67
|
{
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-input/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-input - examples
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Correct and idiomatic ways to use the `<mds-input>` component, ordered from most common to most specialized. The examples assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).
|
|
11
|
+
|
|
12
|
+
#### Basic Text Input
|
|
13
|
+
|
|
14
|
+
The simplest form: set `name` for form participation and `placeholder` for a visual hint. Wrap the component in [`mds-input-field`](../mds-input-field/AGENTS.md) to add a visible label and associated tip.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<mds-input
|
|
18
|
+
name="cognome"
|
|
19
|
+
placeholder="Inserisci il tuo cognome"
|
|
20
|
+
></mds-input>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
#### Required Field with `tip` Helper Text
|
|
24
|
+
|
|
25
|
+
Use `required` to validate that the field is not empty and `tip` to explain the constraint. The component surfaces a top-tip when focused and drives `variant` to `'error'` or `'success'` on blur. When the field collects the user's own data, set the matching `autocomplete` token (`email`, `given-name`, `tel`, ...) so browsers can identify its purpose (WCAG 2.1 SC 1.3.5) and offer autofill; without it the component default `autocomplete="off"` applies.
|
|
26
|
+
|
|
27
|
+
```html
|
|
28
|
+
<mds-input
|
|
29
|
+
name="email"
|
|
30
|
+
type="email"
|
|
31
|
+
autocomplete="email"
|
|
32
|
+
placeholder="nome@esempio.it"
|
|
33
|
+
required
|
|
34
|
+
tip="Inserisci un indirizzo email valido"
|
|
35
|
+
></mds-input>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
#### Textarea for Multi-line Content
|
|
39
|
+
|
|
40
|
+
Set `type="textarea"` to render a `<textarea>` instead of a single-line `<input>`. Use the `--mds-input-textarea-*` custom properties to control height and resize behaviour.
|
|
41
|
+
|
|
42
|
+
```html
|
|
43
|
+
<mds-input
|
|
44
|
+
name="descrizione"
|
|
45
|
+
type="textarea"
|
|
46
|
+
placeholder="Descrivi il problema..."
|
|
47
|
+
maxlength="500"
|
|
48
|
+
></mds-input>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
#### Character Counter via `maxlength`
|
|
52
|
+
|
|
53
|
+
When `maxlength` is set the component renders a live `current / max` counter below the field. The counter shifts through fullness variants as the limit approaches. A value of `0` or less is treated as unset.
|
|
54
|
+
|
|
55
|
+
```html
|
|
56
|
+
<mds-input
|
|
57
|
+
name="titolo"
|
|
58
|
+
placeholder="Titolo dell'articolo"
|
|
59
|
+
maxlength="120"
|
|
60
|
+
></mds-input>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
#### Numeric Input with Steppers
|
|
64
|
+
|
|
65
|
+
Set `type="number"` to enable built-in increment/decrement buttons. Use `controlsLayout` to choose between stacked (`'vertical'`, default) and split (`'horizontal'`) placement, and `controlsIcon` to pick arrow vs. plus/minus glyphs. Use `min`, `max`, and `step` to constrain the legal range.
|
|
66
|
+
|
|
67
|
+
```html
|
|
68
|
+
<!-- Stacked (default) - arrow glyphs -->
|
|
69
|
+
<mds-input
|
|
70
|
+
name="quantita"
|
|
71
|
+
type="number"
|
|
72
|
+
min="1"
|
|
73
|
+
max="99"
|
|
74
|
+
step="1"
|
|
75
|
+
placeholder="1"
|
|
76
|
+
></mds-input>
|
|
77
|
+
|
|
78
|
+
<!-- Horizontal split - arithmetic glyphs -->
|
|
79
|
+
<mds-input
|
|
80
|
+
name="quantita"
|
|
81
|
+
type="number"
|
|
82
|
+
min="0"
|
|
83
|
+
max="100"
|
|
84
|
+
controls-layout="horizontal"
|
|
85
|
+
controls-icon="arithmetic"
|
|
86
|
+
placeholder="0"
|
|
87
|
+
></mds-input>
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
#### Password Input
|
|
91
|
+
|
|
92
|
+
Set `type="password"` to render a masked field with a built-in visibility toggle. The component renders a custom dot-mask overlay and a show/hide button - no extra wiring is needed. Always set `autocomplete` to `new-password` (sign-up, password change) or `current-password` (login): the component default is `autocomplete="off"`, which browsers and password managers ignore on credential fields, but the explicit token is what lets them pair the password with its username field and fill or generate the right value.
|
|
93
|
+
|
|
94
|
+
```html
|
|
95
|
+
<mds-input
|
|
96
|
+
name="password"
|
|
97
|
+
type="password"
|
|
98
|
+
autocomplete="new-password"
|
|
99
|
+
placeholder="Scegli una password"
|
|
100
|
+
required
|
|
101
|
+
></mds-input>
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
#### Login Form
|
|
105
|
+
|
|
106
|
+
Pair a username field carrying `autocomplete="username"` with a password field carrying `autocomplete="current-password"` inside a `<form>`, and submit through `<mds-button type="submit">`. The native fields live in the Shadow DOM of each `<mds-input>`: among the password managers tested, Bitwarden, LastPass, Chrome and Edge detect and fill them, Firefox's built-in manager and KeePassXC-Browser do not (they only look at the light DOM).
|
|
107
|
+
|
|
108
|
+
```html
|
|
109
|
+
<form action="/login" method="post">
|
|
110
|
+
<mds-input-field label="Email">
|
|
111
|
+
<mds-input name="username" type="email" autocomplete="username" required></mds-input>
|
|
112
|
+
</mds-input-field>
|
|
113
|
+
<mds-input-field label="Password">
|
|
114
|
+
<mds-input name="password" type="password" autocomplete="current-password" required></mds-input>
|
|
115
|
+
</mds-input-field>
|
|
116
|
+
|
|
117
|
+
<mds-button type="submit" label="Accedi" variant="primary" tone="strong"></mds-button>
|
|
118
|
+
</form>
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
#### Italian-Specific Masked Types
|
|
122
|
+
|
|
123
|
+
`type="cf"` installs the codice fiscale format and length validators and `type="isbn"` a checksum validator. `type="piva"` accepts 11 digits whose last one is the check digit, without the `IT` prefix or spaces, and `type="cc"` 13 to 19 digits, in groups split by spaces or dashes, that pass the Luhn check of card numbers. A value that breaks the format stops the submit of the form. No type applies a keyboard mask.
|
|
124
|
+
|
|
125
|
+
```html
|
|
126
|
+
<mds-input name="codice_fiscale" type="cf" placeholder="RSSMRA80A01H501Z"></mds-input>
|
|
127
|
+
<mds-input name="partita_iva" type="piva" placeholder="01234567890"></mds-input>
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
#### Search Input with Datalist
|
|
131
|
+
|
|
132
|
+
Use `type="search"` combined with the `datalist` prop to offer autocomplete suggestions from a fixed list. The list is rendered inside the shadow DOM and wired automatically.
|
|
133
|
+
|
|
134
|
+
```html
|
|
135
|
+
<mds-input
|
|
136
|
+
name="comune"
|
|
137
|
+
type="search"
|
|
138
|
+
placeholder="Cerca comune..."
|
|
139
|
+
></mds-input>
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
```javascript
|
|
143
|
+
// Pass suggestions as a JavaScript array
|
|
144
|
+
document.querySelector('mds-input').datalist = ['Roma', 'Milano', 'Napoli', 'Torino'];
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
#### Icon Decoration
|
|
148
|
+
|
|
149
|
+
The `icon` prop renders an SVG slug from the Magma icon library at the leading edge of the field. The icon is suppressed while `await` is active and the spinner takes its place.
|
|
150
|
+
|
|
151
|
+
```html
|
|
152
|
+
<mds-input
|
|
153
|
+
name="cerca"
|
|
154
|
+
type="search"
|
|
155
|
+
icon="mi/baseline/search"
|
|
156
|
+
placeholder="Cerca..."
|
|
157
|
+
></mds-input>
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
#### AI-Assisted Field
|
|
161
|
+
|
|
162
|
+
Set `variant="ai"` to signal an AI-powered field. When no `icon` prop is present, the component auto-assigns the AI chatbot icon.
|
|
163
|
+
|
|
164
|
+
```html
|
|
165
|
+
<mds-input
|
|
166
|
+
name="prompt"
|
|
167
|
+
type="text"
|
|
168
|
+
variant="ai"
|
|
169
|
+
placeholder="Chiedi qualcosa all'assistente..."
|
|
170
|
+
></mds-input>
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
#### Async Loading via `await`
|
|
174
|
+
|
|
175
|
+
Set the `await` boolean attribute while an async operation (e.g. a lookup) is in flight. The component renders an inline spinner in place of the icon. Remove the attribute when done - do not set `await="false"`.
|
|
176
|
+
|
|
177
|
+
```html
|
|
178
|
+
<mds-input name="codice" placeholder="Verifica in corso..." await></mds-input>
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
#### Speech-to-Text Dictation
|
|
182
|
+
|
|
183
|
+
Set the `mic` boolean attribute to render a dictation button. Starting a dictation clears the current value and writes the recognized speech in its place; the component emits `mdsInputSpeechEnd` when the user stops the dictation. If the Web Speech API is unavailable the button switches to an error state and the value is kept.
|
|
184
|
+
|
|
185
|
+
```html
|
|
186
|
+
<mds-input
|
|
187
|
+
name="note_vocali"
|
|
188
|
+
type="text"
|
|
189
|
+
mic
|
|
190
|
+
placeholder="Parla o scrivi..."
|
|
191
|
+
></mds-input>
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
#### Listening to Events
|
|
195
|
+
|
|
196
|
+
Listen for `mdsInputChange` instead of native `input` or `change`: `change` does not cross the shadow boundary, and `input` reports only typing, not the values set by the steppers, the dictation or a script.
|
|
197
|
+
|
|
198
|
+
```javascript
|
|
199
|
+
document.querySelector('mds-input').addEventListener('mdsInputChange', (e) => {
|
|
200
|
+
console.log(e.detail.value);
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
document.querySelector('mds-input').addEventListener('mdsInputValidation', (e) => {
|
|
204
|
+
console.log('valido:', e.detail);
|
|
205
|
+
});
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
#### Form Participation
|
|
209
|
+
|
|
210
|
+
`<mds-input>` is form-associated. It submits natively inside a `<form>`; set `name` so the value is included in form data. Its validation is reported to the form too: an empty `required` field, or one that breaks another rule, stops the submit like a native input and shows the error. Add `novalidate` to the `<form>` when your own code validates on submit. A reset brings every field back to its value at load and to its pristine look.
|
|
211
|
+
|
|
212
|
+
```html
|
|
213
|
+
<form action="/salva" method="post">
|
|
214
|
+
<mds-input name="nome" type="text" placeholder="Nome" required></mds-input>
|
|
215
|
+
<mds-input name="cognome" type="text" placeholder="Cognome" required></mds-input>
|
|
216
|
+
<mds-input name="email" type="email" placeholder="Email" required></mds-input>
|
|
217
|
+
|
|
218
|
+
<mds-button type="submit" label="Invia" variant="primary" tone="strong"></mds-button>
|
|
219
|
+
<mds-button type="reset" label="Annulla" variant="dark" tone="outline"></mds-button>
|
|
220
|
+
</form>
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
#### Read-Only Display
|
|
224
|
+
|
|
225
|
+
Use `readonly` when the value should be visible but not editable. A persistent top tip describes the state, and the field text is auto-selected on focus for easy copying.
|
|
226
|
+
|
|
227
|
+
```html
|
|
228
|
+
<mds-input
|
|
229
|
+
name="codice_riferimento"
|
|
230
|
+
value="REF-2024-00123"
|
|
231
|
+
readonly
|
|
232
|
+
></mds-input>
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
#### Styling Customization
|
|
236
|
+
|
|
237
|
+
Style the input only through its public `--mds-input-*` CSS custom properties. Set them on the host or a parent selector. Use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast modes keep working.
|
|
238
|
+
|
|
239
|
+
```css
|
|
240
|
+
.search-bar mds-input {
|
|
241
|
+
--mds-input-background: rgb(var(--magma-wash-base));
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/* Textarea: fixed height, allow resize */
|
|
245
|
+
.notes-area mds-input {
|
|
246
|
+
--mds-input-textarea-min-height: 8rem;
|
|
247
|
+
--mds-input-textarea-max-height: 24rem;
|
|
248
|
+
--mds-input-textarea-resize: vertical;
|
|
249
|
+
}
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
#### Sizing a Field to the Controls Next to It
|
|
253
|
+
|
|
254
|
+
Give the fields of a row the `size` of the buttons beside them, so they share one height: `sm` 28px, `md` 36px, `lg` 48px (default), the sizes of [`<mds-button>`](../mds-button/AGENTS.md). `<mds-input-select>`, `<mds-input-date>` and `<mds-input-date-range>` take the same values.
|
|
255
|
+
|
|
256
|
+
```html
|
|
257
|
+
<div class="flex items-center gap-200">
|
|
258
|
+
<mds-input size="md" type="search" icon="mi/baseline/search" placeholder="Cerca"></mds-input>
|
|
259
|
+
<mds-input-select size="md" placeholder="Stato">
|
|
260
|
+
<option value="open">Aperte</option>
|
|
261
|
+
<option value="closed">Chiuse</option>
|
|
262
|
+
</mds-input-select>
|
|
263
|
+
<mds-button size="md" label="Filtra"></mds-button>
|
|
264
|
+
</div>
|
|
265
|
+
```
|
|
@@ -50,7 +50,10 @@ mds-spinner {
|
|
|
50
50
|
*/
|
|
51
51
|
|
|
52
52
|
:host {
|
|
53
|
-
|
|
53
|
+
|
|
54
|
+
/* a field stands a step off its surface: overlay on a page, the step below inside an overlay
|
|
55
|
+
surface, which passes it as --magma-field-fill (#1193) */
|
|
56
|
+
--mds-input-background: rgb(var(--magma-field-fill, var(--magma-surface-overlay, var(--surface-neutral-overlay, 255 255 255))));
|
|
54
57
|
--mds-input-icon-color: rgb(var(--magma-accent-fg, var(--variant-primary-03, 7 76 204)));
|
|
55
58
|
--mds-input-placeholder-default-color: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
56
59
|
--mds-input-placeholder-focus-color: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
|
|
@@ -515,9 +515,9 @@ export class MdsInput {
|
|
|
515
515
|
}
|
|
516
516
|
render() {
|
|
517
517
|
var _a, _b, _c;
|
|
518
|
-
return (h(Host, { key: '
|
|
518
|
+
return (h(Host, { key: 'e6459655ada6857beffebbe1266c80fa3b8948d7', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, this.type === 'number' && this.controlsLayout === 'horizontal' && (h("mds-button", { key: 'f200555db75f245aab855b9e72a00db6e0c41848', class: "counter-button counter-button--horizontal counter-button--decrease", icon: this.controlsIcon === 'arrow' ? miBaselineArrowDown : miBaselineRemove, disabled: !this.canEdit(), onClick: this.stepDown, tabindex: "0", title: this.t.get('decrease'), variant: "dark", tone: "text", part: "counter-button-decrease" })), this.type === 'textarea' ? (h("textarea", { "aria-label": this.accessibleName, class: clsx('input', ((_a = this.icon) !== null && _a !== void 0 ? _a : this.await) && 'has-icon', this.mic && 'has-right-icon'), autoFocus: this.autofocus, disabled: this.isDisabled(), maxLength: this.maxlength, minLength: this.minlength, name: this.name, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, onKeyDown: this.onKeyDown, part: "field", placeholder: this.placeholder, readOnly: this.readonly, ref: (input) => (this.nativeInput = input), required: this.required, tabIndex: this.tabindex, value: this.value })) : (h("input", { "aria-label": this.accessibleName, class: clsx('input', ((_b = this.icon) !== null && _b !== void 0 ? _b : this.await) && 'has-icon', this.mic && 'has-right-icon'), autoComplete: this.autocomplete, autoFocus: this.autofocus, disabled: this.isDisabled(), max: this.max, maxLength: this.maxlength, min: this.min, minLength: this.minlength, name: this.name, onBlur: this.onBlur, onFocus: this.onFocus, onInput: this.onInput, onKeyDown: this.onKeyDown, pattern: this.pattern, list: this.datalistId, part: "field", placeholder: this.placeholder, readOnly: this.readonly, ref: (input) => (this.nativeInput = input), required: this.required, step: this.step, tabIndex: this.tabindex, type: this.type === 'password' && this.isPasswordVisible ? 'text' : this.type, value: this.value })), this.type === 'number' && this.controlsLayout === 'vertical' && (h("div", { key: '861d3153ca216c213ac3d2fa448f022948ba57ec', class: "counter counter--vertical" }, h("mds-button", { key: 'cb09b506dac5429177d3b1c75476d234ab727c7e', class: "counter-button", icon: this.controlsIcon === 'arrow' ? miBaselineArrowUp : miBaselineAdd, disabled: !this.canEdit(), onClick: this.stepUp, tabindex: "0", title: this.t.get('increase'), variant: "dark", size: "sm", tone: "text", part: "counter-button-increase" }), h("mds-button", { key: 'fe6a436d58be3c4651d84a465f0d30e3fa90310e', class: "counter-button", icon: this.controlsIcon === 'arrow' ? miBaselineArrowDown : miBaselineRemove, disabled: !this.canEdit(), onClick: this.stepDown, tabindex: "0", title: this.t.get('decrease'), variant: "dark", size: "sm", tone: "text", part: "counter-button-decrease" }))), this.type === 'number' && this.controlsLayout === 'horizontal' && (h("mds-button", { key: '1235e73a1267cf1dde4299c91f4a42fbfa0b5adb', class: "counter-button counter-button--horizontal counter-button--increase", variant: "dark", tone: "text", icon: this.controlsIcon === 'arrow' ? miBaselineArrowUp : miBaselineAdd, disabled: !this.canEdit(), onClick: this.stepUp, tabindex: "0", title: this.t.get('increase'), part: "counter-button-increase" })), this.type === 'password' && (h("mds-button", { key: '9f5ac1e40498fc3f61a11728ad311d982cfd23b4', class: "password-toggle-button", size: this.buttonSize(), variant: "dark", tone: "text", icon: this.isPasswordVisible ? miBaselineVisibleOff : miBaselineVisible, disabled: this.isDisabled(), onClick: this.handlePasswordToggleClick, tabindex: "0", title: this.isPasswordVisible ? this.t.get('hidePassword') : this.t.get('showPassword'), part: "password-toggle-button" })), this.type === 'password' && !this.isPasswordVisible && ((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) > 0 && (h("div", { key: '45c3966141235bdc766fe366db4fa4f5f834d64c', class: "password-mask" }, h("div", { key: '38dd83cd0399d572f38aaf6c82fb0cf30d4f5201', class: "password-mask-items", part: "password-mask-items" }, Array.from({ length: this.value.length }).map((_, index) => (h("div", { key: index, class: "password-mask-item", part: "password-mask-item" })))))), this.mic && (h("mds-button", { key: '9465b22eb2bf9f59eb97f034129e66e3040c85de', class: clsx('mic-toggle-button', this.isRecording && 'mic-toggle-button--recording'), size: this.buttonSize(), icon: this.speechToTextIcon, disabled: !this.canEdit(), onClick: this.toggleTextRecognition, tabindex: "0", title: this.t.get(this.speechToTextLabelKey), variant: "dark", tone: "text", part: "mic-toggle-button" })), h("mds-input-tip", { key: '7a566ab4a6d4f2df8c24a842d76563302b0e0b77', position: "top", active: this.hasFocus, part: "tip-top" }, this.isDisabled() && (h("mds-input-tip-item", { key: '4c4a6d4a8d31d8cfd387fddc95e71b489d2433b7', expanded: true, variant: "disabled" })), this.readonly && h("mds-input-tip-item", { key: '5bbbc97d57098a667544c5ba8b76435ede09f29d', expanded: true, variant: "readonly" }), this.required && (h("mds-input-tip-item", { key: 'cd90767629662dd7c088726a115b7d8705a4895c', expanded: this.hasFocus, variant: this.isValid ? 'required-success' : 'required' }))), h("mds-input-tip", { key: 'b40fa3f2542d6aad042e9d97592832df4338d6e7', position: "bottom", active: this.hasFocus, part: "tip-bottom" }, this.tip && (h("mds-input-tip-item", { key: '568e232f8afdc28aadfaddd9a62e077d0a53727d', expanded: true, variant: "text" }, this.tip)), this.maxlength && (h("mds-input-tip-item", { key: '0756583391d44171e20861f354b8449cf0c0c7ed', part: "tip-count", expanded: true, variant: this.countVariant }, this.currentLengthLabel))), this.datalist && (h("datalist", { key: '2ae6d968d5096b5ac03fbaa6b655b6ea82a8e837', id: this.datalistId, class: "datalist" }, this.datalist.map((element, i) => {
|
|
519
519
|
return h("option", { key: i, value: element });
|
|
520
|
-
}))), this.icon && !this.await && (h("mds-icon", { key: '
|
|
520
|
+
}))), this.icon && !this.await && (h("mds-icon", { key: 'c865fc8f36ea7dc7f45c3cc23eb72ef2149095f6', class: clsx('icon', this.variant), name: this.icon })), h("mds-spinner", { key: '8324b4186a26524e4ea8260d538d8e515968539b', running: this.await, class: clsx('await', this.variant) })));
|
|
521
521
|
}
|
|
522
522
|
static get is() { return "mds-input"; }
|
|
523
523
|
static get encapsulation() { return "shadow"; }
|