@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-
|
|
2
|
+
"timestamp": "2026-11-04T15:13:27",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
],
|
|
25
25
|
"usage": {
|
|
26
26
|
"1. Description": "The `<mds-input-tip-item>` web component is a single contextual hint row rendered inside the [`<mds-input-tip>`](../mds-input-tip/AGENTS.md) container. It represents one validation/status message of a form field (required, read-only, disabled, character count, or free text) and is orchestrated by the input components (`<mds-input>`, `<mds-input-date>`, `<mds-input-select>`) that own the tip; it has no standalone HTML equivalent.\n\n#### Semantic Behavior\n\n- **Compound child only**: It must be a direct slot child of `<mds-input-tip>` and is not used standalone; the host input decides which items exist and toggles their `expanded` state.\n- **Variant drives the entire render**: The `variant` is not a style modifier but a content switch - each value produces a different body (slotted text, a localized status label, or the `done` success icon), so changing `variant` changes what the item shows, not just how it looks.\n- **Self-localized labels**: For `required`, `readonly`, and `disabled` the visible text comes from the component's own i18n dictionary (en/it/es/el); these variants ignore slotted content. `text` and the `count-*` variants instead render the default slot provided by the parent.\n- **Expanded toggling**: `expanded` is driven by the parent (often bound to the field's focus state).\n- **No interactivity**: It carries no role, ARIA state, focus handling, or emitted events - it is a passive display row whose state is fully driven from above.\n\n#### Properties & Visual Configurations\n\n- **`variant`** is the only meaningful prop and selects both the message type and its source of text. Use `required` / `required-success` for required-field feedback (the success value swaps the label for a checkmark icon), `readonly` and `disabled` for field-state notices (auto-labeled from the dictionary), `text` for an arbitrary slotted hint, and the `count-*` family (`count-empty`, `count-incomplete`, `count-almost`, `count-almost-full`, `count-full`) for character-count feedback whose label text is slotted in by the parent. The full enumerated list lives in [`AGENTS.md`](AGENTS.md).\n- **`expanded`** controls the expansion within the tip (collapsed, the item shrinks to a small colored dot without text) and is intended to be driven by the parent rather than set by hand.\n\nIts public styling hooks (`--mds-input-tip-item-background`, `--mds-input-tip-item-color`) are documented in [`AGENTS.md`](AGENTS.md).\n",
|
|
27
|
-
"2.
|
|
28
|
-
"3.
|
|
27
|
+
"2. Examples": "Correct and idiomatic ways to use the `<mds-input-tip-item>` component, ordered from most common to most specialized. The examples assume a working knowledge of the variant system documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Required-Field Hint\n\nThe most common use. Place one `<mds-input-tip-item variant=\"required\">` inside the parent [`<mds-input-tip>`](../mds-input-tip/AGENTS.md) to signal that the field is mandatory. The localized label (\"Required\" / \"Obbligatorio\" / ...) comes from the component's own i18n dictionary - do not slot text.\n\n```html\n<mds-input-tip active>\n <mds-input-tip-item variant=\"required\" expanded></mds-input-tip-item>\n</mds-input-tip>\n```\n\n#### Required Field Satisfied (Success State)\n\nWhen the required condition is met, switch to `variant=\"required-success\"`. The text label is replaced by a checkmark icon - no slot is needed or expected.\n\n```html\n<mds-input-tip active>\n <mds-input-tip-item variant=\"required-success\" expanded></mds-input-tip-item>\n</mds-input-tip>\n```\n\n#### Read-Only and Disabled State Notices\n\nUse `variant=\"readonly\"` or `variant=\"disabled\"` to communicate field-state context. Both are self-labeled from the i18n dictionary and ignore any slotted content.\n\n```html\n<!-- Campo in sola lettura -->\n<mds-input-tip active>\n <mds-input-tip-item variant=\"readonly\" expanded></mds-input-tip-item>\n</mds-input-tip>\n\n<!-- Campo disabilitato -->\n<mds-input-tip active>\n <mds-input-tip-item variant=\"disabled\" expanded></mds-input-tip-item>\n</mds-input-tip>\n```\n\n#### Arbitrary Hint Text via `variant=\"text\"`\n\nUse `variant=\"text\"` when you need to show a free-form helper message. Slot the text string directly; no nested HTML is accepted.\n\n```html\n<mds-input-tip active>\n <mds-input-tip-item variant=\"text\" expanded>Inserisci il tuo nome completo</mds-input-tip-item>\n</mds-input-tip>\n```\n\n#### Character-Count Feedback\n\nThe `count-*` variants express how full a character-limited field is. The parent input computes the label text and slots it in; you choose the variant that matches the fill stage.\n\n```html\n<mds-input-tip active>\n <!-- Campo vuoto -->\n <mds-input-tip-item variant=\"count-empty\" expanded>0 / 100</mds-input-tip-item>\n\n <!-- In corso, entro i limiti -->\n <mds-input-tip-item variant=\"count-incomplete\" expanded>42 / 100</mds-input-tip-item>\n\n <!-- Vicino al limite -->\n <mds-input-tip-item variant=\"count-almost\" expanded>80 / 100</mds-input-tip-item>\n\n <!-- Quasi al limite -->\n <mds-input-tip-item variant=\"count-almost-full\" expanded>95 / 100</mds-input-tip-item>\n\n <!-- Limite raggiunto -->\n <mds-input-tip-item variant=\"count-full\" expanded>100 / 100</mds-input-tip-item>\n</mds-input-tip>\n```\n\n#### Toggling Visibility with `expanded`\n\nThe `expanded` attribute controls the reveal animation. Drive it from the parent's logic - for example, expand the required hint only while the field is focused. Collapsed, the item shrinks to a small colored dot without text.\n\n```html\n<!-- Espanso: campo focalizzato -->\n<mds-input-tip active>\n <mds-input-tip-item variant=\"required\" expanded></mds-input-tip-item>\n</mds-input-tip>\n\n<!-- Compresso: campo non focalizzato (rimuovere l'attributo, non impostarlo a false) -->\n<mds-input-tip>\n <mds-input-tip-item variant=\"required\"></mds-input-tip-item>\n</mds-input-tip>\n```\n\n#### Styling Customization\n\nOverride the visual appearance only through its two public CSS custom properties. Set them on the host element or a parent selector; use the semantic color roles via `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)) so dark mode keeps working.\n\n```css\n.campo-personalizzato mds-input-tip-item {\n --mds-input-tip-item-background: rgb(var(--magma-accent-emphasis));\n --mds-input-tip-item-color: rgb(var(--magma-accent-on-emphasis));\n}\n```\n",
|
|
28
|
+
"3. Mistakes": "Common incorrect uses of `<mds-input-tip-item>`. 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 Slot Text into Auto-Labeled Variants\n\n`variant=\"required\"`, `variant=\"readonly\"`, and `variant=\"disabled\"` each produce their own localized label from the internal i18n dictionary. Slotted text is silently ignored for these variants, so any copy inside the element is dead markup.\n\n```html\n<!-- INCORRECT -->\n<mds-input-tip-item variant=\"required\" expanded>Obbligatorio</mds-input-tip-item>\n\n<!-- CORRECT -->\n<mds-input-tip-item variant=\"required\" expanded></mds-input-tip-item>\n```\n\n#### Do Not Slot Content into `required-success`\n\n`variant=\"required-success\"` renders a hardcoded checkmark icon (no text). Any slot content is also silently ignored, just like the auto-labeled variants above.\n\n```html\n<!-- INCORRECT -->\n<mds-input-tip-item variant=\"required-success\" expanded>\n <mds-icon name=\"mi/baseline/done\"></mds-icon>\n</mds-input-tip-item>\n\n<!-- CORRECT -->\n<mds-input-tip-item variant=\"required-success\" expanded></mds-input-tip-item>\n```\n\n#### Do Not Set `expanded=\"false\"` to Hide the Item\n\n`expanded` is a boolean attribute: remove it entirely to collapse the item. A string value is fragile: `\"false\"` is read as `false` on this component, but the attribute stays on the element until the component renders (attribute selectors and scripts reading it see it set). Never write a boolean as a string.\n\n```html\n<!-- INCORRECT -->\n<mds-input-tip-item variant=\"required\" expanded=\"false\"></mds-input-tip-item>\n\n<!-- CORRECT -->\n<mds-input-tip-item variant=\"required\"></mds-input-tip-item>\n```\n\n#### Do Not Use Outside `<mds-input-tip>`\n\n`<mds-input-tip-item>` is a compound child - it is designed to live as a direct slot child of [`<mds-input-tip>`](../mds-input-tip/AGENTS.md). Used standalone it renders a loose chip with no input to anchor to and nothing driving its state.\n\n```html\n<!-- INCORRECT -->\n<div class=\"hint-area\">\n <mds-input-tip-item variant=\"text\" expanded>Suggerimento</mds-input-tip-item>\n</div>\n\n<!-- CORRECT -->\n<mds-input-tip active>\n <mds-input-tip-item variant=\"text\" expanded>Suggerimento</mds-input-tip-item>\n</mds-input-tip>\n```\n\n#### Do Not Put HTML Elements in the Default Slot\n\nThe default slot accepts plain text only (`variant=\"text\"` and the `count-*` variants). The chip is a single truncated line of fixed height: nested elements such as `<span>` or `<strong>` add nothing and can break it.\n\n```html\n<!-- INCORRECT -->\n<mds-input-tip-item variant=\"text\" expanded>\n <strong>Nota:</strong> massimo 100 caratteri\n</mds-input-tip-item>\n\n<!-- CORRECT -->\n<mds-input-tip-item variant=\"text\" expanded>Nota: massimo 100 caratteri</mds-input-tip-item>\n```\n\n#### Do Not Pierce the Shadow DOM to Change Appearance\n\nThe only supported customization surface is the two public `--mds-input-tip-item-*` CSS custom properties. Targeting internal elements with `::part()`, `>>>`, or undocumented selectors will break on future releases.\n\n```css\n/* INCORRECT */\nmds-input-tip-item >>> .content {\n border-radius: 0;\n}\nmds-input-tip-item::part(icon) {\n fill: hotpink;\n}\n\n/* CORRECT */\nmds-input-tip-item {\n --mds-input-tip-item-background: rgb(var(--magma-accent-emphasis));\n --mds-input-tip-item-color: rgb(var(--magma-accent-on-emphasis));\n}\n```\n"
|
|
29
29
|
},
|
|
30
30
|
"props": [
|
|
31
31
|
{
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-input-tip-item/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-input-tip-item - examples
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Correct and idiomatic ways to use the `<mds-input-tip-item>` component, ordered from most common to most specialized. The examples assume a working knowledge of the variant system documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).
|
|
11
|
+
|
|
12
|
+
#### Required-Field Hint
|
|
13
|
+
|
|
14
|
+
The most common use. Place one `<mds-input-tip-item variant="required">` inside the parent [`<mds-input-tip>`](../mds-input-tip/AGENTS.md) to signal that the field is mandatory. The localized label ("Required" / "Obbligatorio" / ...) comes from the component's own i18n dictionary - do not slot text.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<mds-input-tip active>
|
|
18
|
+
<mds-input-tip-item variant="required" expanded></mds-input-tip-item>
|
|
19
|
+
</mds-input-tip>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
#### Required Field Satisfied (Success State)
|
|
23
|
+
|
|
24
|
+
When the required condition is met, switch to `variant="required-success"`. The text label is replaced by a checkmark icon - no slot is needed or expected.
|
|
25
|
+
|
|
26
|
+
```html
|
|
27
|
+
<mds-input-tip active>
|
|
28
|
+
<mds-input-tip-item variant="required-success" expanded></mds-input-tip-item>
|
|
29
|
+
</mds-input-tip>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
#### Read-Only and Disabled State Notices
|
|
33
|
+
|
|
34
|
+
Use `variant="readonly"` or `variant="disabled"` to communicate field-state context. Both are self-labeled from the i18n dictionary and ignore any slotted content.
|
|
35
|
+
|
|
36
|
+
```html
|
|
37
|
+
<!-- Campo in sola lettura -->
|
|
38
|
+
<mds-input-tip active>
|
|
39
|
+
<mds-input-tip-item variant="readonly" expanded></mds-input-tip-item>
|
|
40
|
+
</mds-input-tip>
|
|
41
|
+
|
|
42
|
+
<!-- Campo disabilitato -->
|
|
43
|
+
<mds-input-tip active>
|
|
44
|
+
<mds-input-tip-item variant="disabled" expanded></mds-input-tip-item>
|
|
45
|
+
</mds-input-tip>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
#### Arbitrary Hint Text via `variant="text"`
|
|
49
|
+
|
|
50
|
+
Use `variant="text"` when you need to show a free-form helper message. Slot the text string directly; no nested HTML is accepted.
|
|
51
|
+
|
|
52
|
+
```html
|
|
53
|
+
<mds-input-tip active>
|
|
54
|
+
<mds-input-tip-item variant="text" expanded>Inserisci il tuo nome completo</mds-input-tip-item>
|
|
55
|
+
</mds-input-tip>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
#### Character-Count Feedback
|
|
59
|
+
|
|
60
|
+
The `count-*` variants express how full a character-limited field is. The parent input computes the label text and slots it in; you choose the variant that matches the fill stage.
|
|
61
|
+
|
|
62
|
+
```html
|
|
63
|
+
<mds-input-tip active>
|
|
64
|
+
<!-- Campo vuoto -->
|
|
65
|
+
<mds-input-tip-item variant="count-empty" expanded>0 / 100</mds-input-tip-item>
|
|
66
|
+
|
|
67
|
+
<!-- In corso, entro i limiti -->
|
|
68
|
+
<mds-input-tip-item variant="count-incomplete" expanded>42 / 100</mds-input-tip-item>
|
|
69
|
+
|
|
70
|
+
<!-- Vicino al limite -->
|
|
71
|
+
<mds-input-tip-item variant="count-almost" expanded>80 / 100</mds-input-tip-item>
|
|
72
|
+
|
|
73
|
+
<!-- Quasi al limite -->
|
|
74
|
+
<mds-input-tip-item variant="count-almost-full" expanded>95 / 100</mds-input-tip-item>
|
|
75
|
+
|
|
76
|
+
<!-- Limite raggiunto -->
|
|
77
|
+
<mds-input-tip-item variant="count-full" expanded>100 / 100</mds-input-tip-item>
|
|
78
|
+
</mds-input-tip>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
#### Toggling Visibility with `expanded`
|
|
82
|
+
|
|
83
|
+
The `expanded` attribute controls the reveal animation. Drive it from the parent's logic - for example, expand the required hint only while the field is focused. Collapsed, the item shrinks to a small colored dot without text.
|
|
84
|
+
|
|
85
|
+
```html
|
|
86
|
+
<!-- Espanso: campo focalizzato -->
|
|
87
|
+
<mds-input-tip active>
|
|
88
|
+
<mds-input-tip-item variant="required" expanded></mds-input-tip-item>
|
|
89
|
+
</mds-input-tip>
|
|
90
|
+
|
|
91
|
+
<!-- Compresso: campo non focalizzato (rimuovere l'attributo, non impostarlo a false) -->
|
|
92
|
+
<mds-input-tip>
|
|
93
|
+
<mds-input-tip-item variant="required"></mds-input-tip-item>
|
|
94
|
+
</mds-input-tip>
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
#### Styling Customization
|
|
98
|
+
|
|
99
|
+
Override the visual appearance only through its two public CSS custom properties. Set them on the host element or a parent selector; use the semantic color roles via `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)) so dark mode keeps working.
|
|
100
|
+
|
|
101
|
+
```css
|
|
102
|
+
.campo-personalizzato mds-input-tip-item {
|
|
103
|
+
--mds-input-tip-item-background: rgb(var(--magma-accent-emphasis));
|
|
104
|
+
--mds-input-tip-item-color: rgb(var(--magma-accent-on-emphasis));
|
|
105
|
+
}
|
|
106
|
+
```
|
|
@@ -29,11 +29,11 @@ export class MdsInputTipItem {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '4aecbfd0791ceac0dc3e8b2c115e40be31804285', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast }, h("div", { key: '06c0619f6fffaa1f770a28fc1fbe0ac0904b386a', class: "content" }, this.variant === 'text' && (h("mds-text", { key: 'dbf403bbeeb2a3d9cb56525c750cac6e871d6ae0', typography: "option", truncate: "word" }, h("span", { key: 'b0a13272eef48d69c7222eac974a17563f04d1cf', class: "text" }, h("slot", { key: '5221546125ad7b616fb609634549b172c60bdc9c' })))), this.variant === 'readonly' && (h("mds-text", { key: 'fd4cae518dea1a0c209ffc739f5b18f3acb0649d', typography: "option", truncate: "word" }, h("span", { key: '69ebdc909ea716ab90bb4833252ffba2df6f19e1', class: "text" }, this.variant && this.t.get(this.variant.toString())))), this.variant === 'disabled' && (h("mds-text", { key: '1616d8842943726e353dcb1215a79d3ed1dc4512', typography: "option", truncate: "word" }, h("span", { key: '556fed4ec282aa1128ca965398bd9ac2028f60e3', class: "text" }, this.variant && this.t.get(this.variant.toString())))), this.variant === 'required' && (h("mds-text", { key: '55683be5fef2ce23fd0cd8e390ca646112d47da9', typography: "option", truncate: "word" }, h("span", { key: 'c0635c1c2e7c779dad7520232faf6f76793daa25', class: "text" }, this.variant && this.t.get(this.variant.toString())))), this.variant === 'required-success' && (h("span", { key: 'c50fdaf860ce090f4792b9dd4b1e136fd08f3fc0', class: "icon", innerHTML: miBaselineDone })), (this.variant === 'count-almost' ||
|
|
33
33
|
this.variant === 'count-almost-full' ||
|
|
34
34
|
this.variant === 'count-empty' ||
|
|
35
35
|
this.variant === 'count-full' ||
|
|
36
|
-
this.variant === 'count-incomplete') && (h("mds-text", { key: '
|
|
36
|
+
this.variant === 'count-incomplete') && (h("mds-text", { key: '8f7f529f6597ef77653b90533978434d96ad6ff8', typography: "option", truncate: "word" }, h("span", { key: '51c9c75a298105cfca90032021561eefaae041e6', class: "text" }, h("slot", { key: '823fe3f031fb877dab2112f8e852342a5dce4a07' })))))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "mds-input-tip-item"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-input-tip-item/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-input-tip-item - mistakes
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Common incorrect uses of `<mds-input-tip-item>`. 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 Slot Text into Auto-Labeled Variants
|
|
13
|
+
|
|
14
|
+
`variant="required"`, `variant="readonly"`, and `variant="disabled"` each produce their own localized label from the internal i18n dictionary. Slotted text is silently ignored for these variants, so any copy inside the element is dead markup.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<!-- INCORRECT -->
|
|
18
|
+
<mds-input-tip-item variant="required" expanded>Obbligatorio</mds-input-tip-item>
|
|
19
|
+
|
|
20
|
+
<!-- CORRECT -->
|
|
21
|
+
<mds-input-tip-item variant="required" expanded></mds-input-tip-item>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
#### Do Not Slot Content into `required-success`
|
|
25
|
+
|
|
26
|
+
`variant="required-success"` renders a hardcoded checkmark icon (no text). Any slot content is also silently ignored, just like the auto-labeled variants above.
|
|
27
|
+
|
|
28
|
+
```html
|
|
29
|
+
<!-- INCORRECT -->
|
|
30
|
+
<mds-input-tip-item variant="required-success" expanded>
|
|
31
|
+
<mds-icon name="mi/baseline/done"></mds-icon>
|
|
32
|
+
</mds-input-tip-item>
|
|
33
|
+
|
|
34
|
+
<!-- CORRECT -->
|
|
35
|
+
<mds-input-tip-item variant="required-success" expanded></mds-input-tip-item>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
#### Do Not Set `expanded="false"` to Hide the Item
|
|
39
|
+
|
|
40
|
+
`expanded` is a boolean attribute: remove it entirely to collapse the item. A string value is fragile: `"false"` is read as `false` on this component, but the attribute stays on the element until the component renders (attribute selectors and scripts reading it see it set). Never write a boolean as a string.
|
|
41
|
+
|
|
42
|
+
```html
|
|
43
|
+
<!-- INCORRECT -->
|
|
44
|
+
<mds-input-tip-item variant="required" expanded="false"></mds-input-tip-item>
|
|
45
|
+
|
|
46
|
+
<!-- CORRECT -->
|
|
47
|
+
<mds-input-tip-item variant="required"></mds-input-tip-item>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
#### Do Not Use Outside `<mds-input-tip>`
|
|
51
|
+
|
|
52
|
+
`<mds-input-tip-item>` is a compound child - it is designed to live as a direct slot child of [`<mds-input-tip>`](../mds-input-tip/AGENTS.md). Used standalone it renders a loose chip with no input to anchor to and nothing driving its state.
|
|
53
|
+
|
|
54
|
+
```html
|
|
55
|
+
<!-- INCORRECT -->
|
|
56
|
+
<div class="hint-area">
|
|
57
|
+
<mds-input-tip-item variant="text" expanded>Suggerimento</mds-input-tip-item>
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
<!-- CORRECT -->
|
|
61
|
+
<mds-input-tip active>
|
|
62
|
+
<mds-input-tip-item variant="text" expanded>Suggerimento</mds-input-tip-item>
|
|
63
|
+
</mds-input-tip>
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
#### Do Not Put HTML Elements in the Default Slot
|
|
67
|
+
|
|
68
|
+
The default slot accepts plain text only (`variant="text"` and the `count-*` variants). The chip is a single truncated line of fixed height: nested elements such as `<span>` or `<strong>` add nothing and can break it.
|
|
69
|
+
|
|
70
|
+
```html
|
|
71
|
+
<!-- INCORRECT -->
|
|
72
|
+
<mds-input-tip-item variant="text" expanded>
|
|
73
|
+
<strong>Nota:</strong> massimo 100 caratteri
|
|
74
|
+
</mds-input-tip-item>
|
|
75
|
+
|
|
76
|
+
<!-- CORRECT -->
|
|
77
|
+
<mds-input-tip-item variant="text" expanded>Nota: massimo 100 caratteri</mds-input-tip-item>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
#### Do Not Pierce the Shadow DOM to Change Appearance
|
|
81
|
+
|
|
82
|
+
The only supported customization surface is the two public `--mds-input-tip-item-*` CSS custom properties. Targeting internal elements with `::part()`, `>>>`, or undocumented selectors will break on future releases.
|
|
83
|
+
|
|
84
|
+
```css
|
|
85
|
+
/* INCORRECT */
|
|
86
|
+
mds-input-tip-item >>> .content {
|
|
87
|
+
border-radius: 0;
|
|
88
|
+
}
|
|
89
|
+
mds-input-tip-item::part(icon) {
|
|
90
|
+
fill: hotpink;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* CORRECT */
|
|
94
|
+
mds-input-tip-item {
|
|
95
|
+
--mds-input-tip-item-background: rgb(var(--magma-accent-emphasis));
|
|
96
|
+
--mds-input-tip-item-color: rgb(var(--magma-accent-on-emphasis));
|
|
97
|
+
}
|
|
98
|
+
```
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# mds-input-upload
|
|
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-upload>` web component is the Magma Design System file-upload control. It wraps a hidden native `<input type="file">` in a drag-and-drop drop zone with progress, per-file previews, validation and optional sorting, exposing the selected files to a surrounding `<form>` through form association.
|
|
12
12
|
|
|
@@ -33,10 +33,10 @@ The `<mds-input-upload>` web component is the Magma Design System file-upload co
|
|
|
33
33
|
|
|
34
34
|
## Read next
|
|
35
35
|
|
|
36
|
-
- [`
|
|
37
|
-
- [`
|
|
36
|
+
- [`examples.md`](examples.md) - correct usage, from the most common case
|
|
37
|
+
- [`mistakes.md`](mistakes.md) - the wrong forms, each with the right one
|
|
38
38
|
- [Storybook](https://magma-design-system.github.io/magma/storybook/?path=/docs/form-input-upload--docs) - the live examples, in the published Storybook of `main`
|
|
39
|
-
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`
|
|
39
|
+
- [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`mistakes.md`](../../../../agents/mistakes.md) - the rules shared by every component
|
|
40
40
|
|
|
41
41
|
## Props
|
|
42
42
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-
|
|
2
|
+
"timestamp": "2026-11-04T15:13:27",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.45.2",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
],
|
|
21
21
|
"usage": {
|
|
22
22
|
"1. Description": "The `<mds-input-upload>` web component is the Magma Design System file-upload control. It wraps a hidden native `<input type=\"file\">` in a drag-and-drop drop zone with progress, per-file previews, validation and optional sorting, exposing the selected files to a surrounding `<form>` through form association.\n\n#### Semantic Behavior\n\n- **Form association**: Like a native `<input type=\"file\" multiple>`, the form submits every accepted file under `name`, one entry per file, in the order they were added; rejected files are not submitted, and without `name` nothing is. Post the form as `multipart/form-data` to send the file contents. A form reset clears every selected file.\n- **Disabled fieldset**: A disabled `<fieldset>` around the component disables it as `disabled` does, like a native control: no file can be added or removed and the files are left out of the form, until the fieldset is enabled.\n- **Validity reporting**: Per-file errors are reported as native validity flags - too many files, oversize, or wrong type - and the joined messages become the validation message.\n- **Drag-and-drop**: The drop zone reacts to drag events; on dragenter the prompt text swaps to a drag hint, restoring on dragleave or drop.\n- **Per-file validation**: Each added file is checked against `accept` (MIME, wildcard MIME, or extension), `maxFileSize`, and `maxFiles`; valid files render as success previews, invalid ones render as error previews with a localized message and are excluded from the form value.\n- **Change event**: `mdsInputUploadChange` fires with the current valid `FileList` (or `null`) on every add, cancel, or reset.\n- **Imperative API**: Exposes `getFiles()`, `getFilesError()`, and `reset()` methods for host-driven control.\n- **Localization**: All UI strings resolve against the host language (el / en / es / it).\n\n#### Properties & Visual Configurations\n\n- **`accept`** declares the allowed file types as a comma-separated list of MIME types, wildcard MIME types (e.g. `image/*`), or extensions; it both filters the native picker and drives the human-readable extension hint shown to the user.\n- **`maxFileSize`** caps the size of any single file in MB (default `20`); files above it are rejected with a size error.\n- **`maxFiles`** caps how many files may be uploaded (default `1`) and enables multi-file selection when greater than one.\n- **`disabled`** disables the component, like a disabled native file input: the picker and cancel buttons, the sort tabs and the delete action of the previews are disabled, a dropped file is refused, and the files are left out of the form. Code can still set the files through `initialValue` or clear them with `reset()`.\n- **`name`** is the name the accepted files are submitted under with the form.\n- **`initialValue`** seeds the control with files already present, before or after the first render; reassigning it re-runs the add pipeline.\n- **`sort`** controls whether the sort chooser is shown. When `sort` is set to `'date'` or `'status'`, the files start in that order and the sort tab bar appears once more than one file is present; the user's choice from the tab bar then stays in place as files are added, the highlighted tab is always the order applied, and the choice persists to `localStorage`. Changing `sort` applies the new order. When `sort` is omitted, no tab bar is shown and the last `localStorage` preference (defaulting to `'date'`) is applied silently.\n",
|
|
23
|
-
"2.
|
|
24
|
-
"3.
|
|
23
|
+
"2. Examples": "Correct and idiomatic ways to use the `<mds-input-upload>` component, ordered from most common to most specialized. The examples assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Single-File Upload (Default)\n\nThe simplest form. Without any attributes the drop zone accepts one file of any type up to 20 MB. Inside a `<form>` it submits the accepted files under its `name`, as a native file input does: post the form as `multipart/form-data` to send their contents.\n\n```html\n<form action=\"/upload\" method=\"post\" enctype=\"multipart/form-data\">\n <mds-input-upload name=\"allegato\"></mds-input-upload>\n <mds-button type=\"submit\" label=\"Invia\" variant=\"primary\" tone=\"strong\"></mds-button>\n</form>\n```\n\nTo send the form with your own code, `new FormData(form)` carries the files too.\n\n```html\n<form id=\"modulo-upload\" action=\"/upload\">\n <mds-input-upload name=\"allegato\"></mds-input-upload>\n <mds-button type=\"submit\" label=\"Invia\" variant=\"primary\" tone=\"strong\"></mds-button>\n</form>\n\n<script>\n document.querySelector('#modulo-upload').addEventListener('submit', async (e) => {\n e.preventDefault();\n await fetch(e.target.action, { method: 'POST', body: new FormData(e.target) });\n });\n</script>\n```\n\n#### Restricting Accepted File Types\n\nSet `accept` to a comma-separated list of MIME types, wildcard MIME types, or extensions. The native file picker and the per-file validator both respect the same value.\n\n```html\n<!-- Solo PDF -->\n<mds-input-upload accept=\".pdf\"></mds-input-upload>\n\n<!-- Immagini di qualsiasi formato -->\n<mds-input-upload accept=\"image/*\"></mds-input-upload>\n\n<!-- Mix di MIME esplicito ed estensione -->\n<mds-input-upload accept=\"application/pdf, image/jpeg, .png\"></mds-input-upload>\n```\n\n#### Limiting File Size\n\nSet `max-file-size` (in MB) to reject files above that threshold. Each oversized file is shown as an error preview with a localized message and excluded from the form value.\n\n```html\n<mds-input-upload accept=\"image/*\" max-file-size=\"5\"></mds-input-upload>\n```\n\n#### Multi-File Upload\n\nSet `max-files` to a number greater than one to enable multiple selection. The native picker switches to multi-select mode automatically; the progress bar tracks how many slots are filled. The form submits one `name` entry per accepted file.\n\n```html\n<mds-input-upload\n name=\"allegati\"\n accept=\".pdf, image/jpeg, image/png\"\n max-file-size=\"70\"\n max-files=\"3\"\n></mds-input-upload>\n```\n\n#### Seeding with Initial Files\n\nPass a `FileList` or `File[]` to `initialValue` to prepopulate the control - useful when editing an existing record that already has attachments. The files reach the previews, `getFiles()`, the form value and `mdsInputUploadChange` whether you assign them before or after the first render. Reassigning the prop re-runs the add pipeline, including validation.\n\n```html\n<mds-input-upload id=\"allegati\"></mds-input-upload>\n<script>\n const upload = document.querySelector('#allegati');\n // seed with files already loaded from the server as File objects\n upload.initialValue = existingFiles;\n</script>\n```\n\n#### Listening for File Changes\n\nThe `mdsInputUploadChange` event fires with the current valid `FileList` (or `null`) on every add, remove, or reset. Use it to drive UI outside the component - for example to enable a submit button only when files are present.\n\n```html\n<mds-input-upload id=\"doc-upload\" accept=\".pdf\" max-files=\"5\"></mds-input-upload>\n<script>\n document.querySelector('#doc-upload').addEventListener('mdsInputUploadChange', (e) => {\n const files = e.detail;\n console.log('File selezionati:', files ? files.length : 0);\n });\n</script>\n```\n\n#### Programmatic Control via Methods\n\nUse the imperative API for host-driven workflows. `getFiles()` returns the accepted files (an empty `FileList` when there are none), `getFilesError()` returns any validation errors, and `reset()` clears all selections.\n\n```html\n<mds-input-upload id=\"upload-contratto\" accept=\".pdf\" max-file-size=\"10\"></mds-input-upload>\n<mds-button id=\"btn-verifica\" label=\"Verifica\"></mds-button>\n<mds-button id=\"btn-annulla\" label=\"Annulla\" tone=\"outline\"></mds-button>\n<script>\n const upload = document.querySelector('#upload-contratto');\n\n document.querySelector('#btn-verifica').addEventListener('click', async () => {\n const errors = await upload.getFilesError();\n if (errors) {\n console.warn('Errori nei file:', errors);\n return;\n }\n const files = await upload.getFiles();\n console.log('Pronti per il caricamento:', files);\n });\n\n document.querySelector('#btn-annulla').addEventListener('click', () => {\n upload.reset();\n });\n</script>\n```\n\n#### Exposing the Sort Chooser\n\nSetting `sort` to `\"date\"` or `\"status\"` makes the sort tab bar visible once more than one file is present. The files start in the `sort` order; once the user picks another order from the tab bar, it stays in place as files are added, and the choice is persisted to `localStorage`. The highlighted tab is always the order applied. When `sort` is omitted, no tab bar is shown and the last `localStorage` preference is applied silently.\n\n```html\n<!-- Mostra il selettore di ordinamento, avviato su \"per data\" -->\n<mds-input-upload sort=\"date\" max-files=\"5\"></mds-input-upload>\n\n<!-- Mostra il selettore di ordinamento, avviato su \"per stato\" -->\n<mds-input-upload sort=\"status\" max-files=\"5\"></mds-input-upload>\n```\n\n#### Form Reset Behavior\n\nThe component is form-associated: a form reset clears every selected file automatically, without calling `reset()` explicitly.\n\n```html\n<form id=\"modulo-allegati\">\n <mds-input-upload name=\"allegati\" accept=\".pdf\" max-files=\"3\"></mds-input-upload>\n <mds-button type=\"submit\" label=\"Invia\" variant=\"primary\" tone=\"strong\"></mds-button>\n <mds-button type=\"reset\" label=\"Cancella tutto\" variant=\"error\" tone=\"outline\"></mds-button>\n</form>\n```\n\n#### CSS Customization\n\nStyle the component only through its public `--mds-input-upload-min-cols` CSS custom property, the minimum number of columns of the file list. Set it on the host or a parent selector. The drag area takes its colours from the semantic color roles ([`agents/color.md`](../../../../agents/color.md)), so dark mode keeps working without overrides.\n\n```css\n.upload-area-evidenziata mds-input-upload {\n --mds-input-upload-min-cols: 2;\n}\n```\n",
|
|
24
|
+
"3. Mistakes": "Common incorrect uses of `<mds-input-upload>`. 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 Replace the Component with a Raw `<input type=\"file\">`\n\n`<input type=\"file\">` gives you no drag-drop, no per-file validation, no progress bar, and no consistent styling. Use `<mds-input-upload>` whenever a file upload is needed.\n\n```html\n<!-- INCORRECT -->\n<input type=\"file\" accept=\".pdf\" multiple>\n\n<!-- CORRECT -->\n<mds-input-upload accept=\".pdf\" max-files=\"5\"></mds-input-upload>\n```\n\n#### Do Not Listen to the Native `change` Event\n\nThe internal `<input type=\"file\">` lives inside shadow DOM; its native `change` event may not bubble out or may fire before internal validation completes. Always listen to the documented `mdsInputUploadChange` event instead.\n\n```html\n<!-- INCORRECT -->\n<mds-input-upload id=\"uploader\"></mds-input-upload>\n<script>\n document.querySelector('#uploader').addEventListener('change', (e) => {\n console.log(e.target.files); // undefined - input is in shadow DOM\n });\n</script>\n\n<!-- CORRECT -->\n<mds-input-upload id=\"uploader\"></mds-input-upload>\n<script>\n document.querySelector('#uploader').addEventListener('mdsInputUploadChange', (e) => {\n console.log(e.detail); // valid FileList or null\n });\n</script>\n```\n\n#### Do Not Append the Files to a `FormData` Built from the Form\n\nThe component already submits its accepted files under `name`: a `FormData` built from the form carries them, and appending them again sends every file twice. Give the component a `name` and let the form carry the files.\n\n```html\n<!-- INCORRECT - every file is sent twice -->\n<form id=\"modulo\">\n <mds-input-upload name=\"allegati\" max-files=\"3\"></mds-input-upload>\n</form>\n<script type=\"module\">\n const form = document.querySelector('#modulo');\n const data = new FormData(form);\n const files = await form.querySelector('mds-input-upload').getFiles();\n Array.from(files).forEach((file) => data.append('allegati', file));\n</script>\n\n<!-- CORRECT -->\n<form id=\"modulo\">\n <mds-input-upload name=\"allegati\" max-files=\"3\"></mds-input-upload>\n</form>\n<script type=\"module\">\n const data = new FormData(document.querySelector('#modulo'));\n</script>\n```\n\n#### Do Not Reach into Shadow DOM for the Hidden Input\n\nThe hidden `<input type=\"file\">` is an implementation detail inside shadow DOM. Do not query it or read `.files` directly. Use the `getFiles()` method or listen to `mdsInputUploadChange`.\n\n```html\n<!-- INCORRECT -->\n<mds-input-upload id=\"upload\"></mds-input-upload>\n<script>\n const input = document.querySelector('#upload').shadowRoot.querySelector('input[type=\"file\"]');\n console.log(input.files); // fragile - implementation detail\n</script>\n\n<!-- CORRECT -->\n<mds-input-upload id=\"upload\"></mds-input-upload>\n<script type=\"module\">\n const files = await document.querySelector('#upload').getFiles();\n console.log(files);\n</script>\n```\n\n#### Do Not Omit `sort` When You Want the Sort Chooser Visible\n\nThe sort tab bar only appears when `sort` is explicitly set to `\"date\"` or `\"status\"` and more than one file is present. Omitting `sort` silently applies the user's last `localStorage` preference and hides the chooser. Set `sort` when you want users to be able to switch the order interactively.\n\n```html\n<!-- INCORRECT - sort chooser never appears because sort is omitted -->\n<mds-input-upload max-files=\"10\"></mds-input-upload>\n\n<!-- CORRECT - sort chooser appears once more than one file is added -->\n<mds-input-upload max-files=\"10\" sort=\"date\"></mds-input-upload>\n```\n\n#### Do Not Customize Through Undocumented Internal Selectors\n\nThe only supported customization surface is the public `--mds-input-upload-min-cols` CSS custom property. Do not target internal classes or parts not listed in the API.\n\n```css\n/* INCORRECT */\nmds-input-upload >>> .drag-area {\n background: lightblue;\n}\nmds-input-upload .main-action {\n display: none;\n}\n\n/* CORRECT */\nmds-input-upload {\n --mds-input-upload-min-cols: 2;\n}\n```\n\n#### Do Not Use `initialValue` for Each New File Added by the User\n\n`initialValue` is for seeding the control once with pre-existing data - for example files already saved to a server. Every assignment re-runs the add pipeline, which emits `mdsInputUploadChange` again (files already accepted are skipped by name, so nothing is added): reassigning it from that event, as below, loops without end. Let the component manage user-selected files through its own UI.\n\n```html\n<!-- INCORRECT - misusing initialValue as a live file binding -->\n<mds-input-upload id=\"uploader\"></mds-input-upload>\n<script>\n document.querySelector('#uploader').addEventListener('mdsInputUploadChange', (e) => {\n document.querySelector('#uploader').initialValue = e.detail; // causes re-processing\n });\n</script>\n\n<!-- CORRECT - just read the value when you need it -->\n<mds-input-upload id=\"uploader\"></mds-input-upload>\n<script>\n document.querySelector('#uploader').addEventListener('mdsInputUploadChange', (e) => {\n const files = e.detail; // use directly without re-assigning initialValue\n console.log('File correnti:', files ? files.length : 0);\n });\n</script>\n```\n"
|
|
25
25
|
},
|
|
26
26
|
"props": [
|
|
27
27
|
{
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
GENERATED FILE - do not edit by hand.
|
|
3
|
+
Source of truth: src/components/mds-input-upload/usage/ in the magma monorepo.
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
# mds-input-upload - examples
|
|
7
|
+
|
|
8
|
+
> The API of this component: [`AGENTS.md`](AGENTS.md).
|
|
9
|
+
|
|
10
|
+
Correct and idiomatic ways to use the `<mds-input-upload>` component, ordered from most common to most specialized. The examples assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).
|
|
11
|
+
|
|
12
|
+
#### Single-File Upload (Default)
|
|
13
|
+
|
|
14
|
+
The simplest form. Without any attributes the drop zone accepts one file of any type up to 20 MB. Inside a `<form>` it submits the accepted files under its `name`, as a native file input does: post the form as `multipart/form-data` to send their contents.
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<form action="/upload" method="post" enctype="multipart/form-data">
|
|
18
|
+
<mds-input-upload name="allegato"></mds-input-upload>
|
|
19
|
+
<mds-button type="submit" label="Invia" variant="primary" tone="strong"></mds-button>
|
|
20
|
+
</form>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
To send the form with your own code, `new FormData(form)` carries the files too.
|
|
24
|
+
|
|
25
|
+
```html
|
|
26
|
+
<form id="modulo-upload" action="/upload">
|
|
27
|
+
<mds-input-upload name="allegato"></mds-input-upload>
|
|
28
|
+
<mds-button type="submit" label="Invia" variant="primary" tone="strong"></mds-button>
|
|
29
|
+
</form>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
document.querySelector('#modulo-upload').addEventListener('submit', async (e) => {
|
|
33
|
+
e.preventDefault();
|
|
34
|
+
await fetch(e.target.action, { method: 'POST', body: new FormData(e.target) });
|
|
35
|
+
});
|
|
36
|
+
</script>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
#### Restricting Accepted File Types
|
|
40
|
+
|
|
41
|
+
Set `accept` to a comma-separated list of MIME types, wildcard MIME types, or extensions. The native file picker and the per-file validator both respect the same value.
|
|
42
|
+
|
|
43
|
+
```html
|
|
44
|
+
<!-- Solo PDF -->
|
|
45
|
+
<mds-input-upload accept=".pdf"></mds-input-upload>
|
|
46
|
+
|
|
47
|
+
<!-- Immagini di qualsiasi formato -->
|
|
48
|
+
<mds-input-upload accept="image/*"></mds-input-upload>
|
|
49
|
+
|
|
50
|
+
<!-- Mix di MIME esplicito ed estensione -->
|
|
51
|
+
<mds-input-upload accept="application/pdf, image/jpeg, .png"></mds-input-upload>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### Limiting File Size
|
|
55
|
+
|
|
56
|
+
Set `max-file-size` (in MB) to reject files above that threshold. Each oversized file is shown as an error preview with a localized message and excluded from the form value.
|
|
57
|
+
|
|
58
|
+
```html
|
|
59
|
+
<mds-input-upload accept="image/*" max-file-size="5"></mds-input-upload>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### Multi-File Upload
|
|
63
|
+
|
|
64
|
+
Set `max-files` to a number greater than one to enable multiple selection. The native picker switches to multi-select mode automatically; the progress bar tracks how many slots are filled. The form submits one `name` entry per accepted file.
|
|
65
|
+
|
|
66
|
+
```html
|
|
67
|
+
<mds-input-upload
|
|
68
|
+
name="allegati"
|
|
69
|
+
accept=".pdf, image/jpeg, image/png"
|
|
70
|
+
max-file-size="70"
|
|
71
|
+
max-files="3"
|
|
72
|
+
></mds-input-upload>
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
#### Seeding with Initial Files
|
|
76
|
+
|
|
77
|
+
Pass a `FileList` or `File[]` to `initialValue` to prepopulate the control - useful when editing an existing record that already has attachments. The files reach the previews, `getFiles()`, the form value and `mdsInputUploadChange` whether you assign them before or after the first render. Reassigning the prop re-runs the add pipeline, including validation.
|
|
78
|
+
|
|
79
|
+
```html
|
|
80
|
+
<mds-input-upload id="allegati"></mds-input-upload>
|
|
81
|
+
<script>
|
|
82
|
+
const upload = document.querySelector('#allegati');
|
|
83
|
+
// seed with files already loaded from the server as File objects
|
|
84
|
+
upload.initialValue = existingFiles;
|
|
85
|
+
</script>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
#### Listening for File Changes
|
|
89
|
+
|
|
90
|
+
The `mdsInputUploadChange` event fires with the current valid `FileList` (or `null`) on every add, remove, or reset. Use it to drive UI outside the component - for example to enable a submit button only when files are present.
|
|
91
|
+
|
|
92
|
+
```html
|
|
93
|
+
<mds-input-upload id="doc-upload" accept=".pdf" max-files="5"></mds-input-upload>
|
|
94
|
+
<script>
|
|
95
|
+
document.querySelector('#doc-upload').addEventListener('mdsInputUploadChange', (e) => {
|
|
96
|
+
const files = e.detail;
|
|
97
|
+
console.log('File selezionati:', files ? files.length : 0);
|
|
98
|
+
});
|
|
99
|
+
</script>
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
#### Programmatic Control via Methods
|
|
103
|
+
|
|
104
|
+
Use the imperative API for host-driven workflows. `getFiles()` returns the accepted files (an empty `FileList` when there are none), `getFilesError()` returns any validation errors, and `reset()` clears all selections.
|
|
105
|
+
|
|
106
|
+
```html
|
|
107
|
+
<mds-input-upload id="upload-contratto" accept=".pdf" max-file-size="10"></mds-input-upload>
|
|
108
|
+
<mds-button id="btn-verifica" label="Verifica"></mds-button>
|
|
109
|
+
<mds-button id="btn-annulla" label="Annulla" tone="outline"></mds-button>
|
|
110
|
+
<script>
|
|
111
|
+
const upload = document.querySelector('#upload-contratto');
|
|
112
|
+
|
|
113
|
+
document.querySelector('#btn-verifica').addEventListener('click', async () => {
|
|
114
|
+
const errors = await upload.getFilesError();
|
|
115
|
+
if (errors) {
|
|
116
|
+
console.warn('Errori nei file:', errors);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
const files = await upload.getFiles();
|
|
120
|
+
console.log('Pronti per il caricamento:', files);
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
document.querySelector('#btn-annulla').addEventListener('click', () => {
|
|
124
|
+
upload.reset();
|
|
125
|
+
});
|
|
126
|
+
</script>
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
#### Exposing the Sort Chooser
|
|
130
|
+
|
|
131
|
+
Setting `sort` to `"date"` or `"status"` makes the sort tab bar visible once more than one file is present. The files start in the `sort` order; once the user picks another order from the tab bar, it stays in place as files are added, and the choice is persisted to `localStorage`. The highlighted tab is always the order applied. When `sort` is omitted, no tab bar is shown and the last `localStorage` preference is applied silently.
|
|
132
|
+
|
|
133
|
+
```html
|
|
134
|
+
<!-- Mostra il selettore di ordinamento, avviato su "per data" -->
|
|
135
|
+
<mds-input-upload sort="date" max-files="5"></mds-input-upload>
|
|
136
|
+
|
|
137
|
+
<!-- Mostra il selettore di ordinamento, avviato su "per stato" -->
|
|
138
|
+
<mds-input-upload sort="status" max-files="5"></mds-input-upload>
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
#### Form Reset Behavior
|
|
142
|
+
|
|
143
|
+
The component is form-associated: a form reset clears every selected file automatically, without calling `reset()` explicitly.
|
|
144
|
+
|
|
145
|
+
```html
|
|
146
|
+
<form id="modulo-allegati">
|
|
147
|
+
<mds-input-upload name="allegati" accept=".pdf" max-files="3"></mds-input-upload>
|
|
148
|
+
<mds-button type="submit" label="Invia" variant="primary" tone="strong"></mds-button>
|
|
149
|
+
<mds-button type="reset" label="Cancella tutto" variant="error" tone="outline"></mds-button>
|
|
150
|
+
</form>
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
#### CSS Customization
|
|
154
|
+
|
|
155
|
+
Style the component only through its public `--mds-input-upload-min-cols` CSS custom property, the minimum number of columns of the file list. Set it on the host or a parent selector. The drag area takes its colours from the semantic color roles ([`agents/color.md`](../../../../agents/color.md)), so dark mode keeps working without overrides.
|
|
156
|
+
|
|
157
|
+
```css
|
|
158
|
+
.upload-area-evidenziata mds-input-upload {
|
|
159
|
+
--mds-input-upload-min-cols: 2;
|
|
160
|
+
}
|
|
161
|
+
```
|
|
@@ -39,7 +39,10 @@ mds-text {
|
|
|
39
39
|
|
|
40
40
|
:host {
|
|
41
41
|
--mds-input-upload-drag-area-background-color-on-drag: rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237)));
|
|
42
|
-
|
|
42
|
+
|
|
43
|
+
/* a field stands a step off its surface: overlay on a page, the step below inside an overlay
|
|
44
|
+
surface, which passes it as --magma-field-fill (#1193) */
|
|
45
|
+
--mds-input-upload-drag-area-background-color: rgb(var(--magma-field-fill, var(--magma-surface-overlay, var(--surface-neutral-overlay, 255 255 255))));
|
|
43
46
|
--mds-input-upload-drag-area-border-on-drag: --spacing(75) dashed rgb(var(--magma-border-strong, var(--border-neutral-strong, 140 140 140)));
|
|
44
47
|
--mds-input-upload-drag-area-border: --spacing(75) dashed rgb(var(--magma-border-default, var(--border-neutral-default, 196 196 196)));
|
|
45
48
|
--mds-input-upload-min-cols: 3;
|
|
@@ -401,18 +401,18 @@ export class MdsInputUpload {
|
|
|
401
401
|
}
|
|
402
402
|
render() {
|
|
403
403
|
var _a;
|
|
404
|
-
return (h(Host, { key: '
|
|
404
|
+
return (h(Host, { key: '2eaaf1a6b1d3ff4bb44a94674411e2f486300508' }, h("div", { key: 'aa98b700a3d478fac06ceb9055cc5a47c1d4c6c2', class: clsx('drag-area', this.dragging && 'drag-area--on-drag-enter'), onDrop: this.onDropHandler, onDragOver: this.onDragOverHandler, onDragEnter: this.onDragEnterHandler, onDragLeave: this.onDragLeaveHandler }, h("div", { key: '5d9f6785c3f159452fe9b6af2a636d10a97ca06f', class: "main-action" }, h("div", { key: '27ab0b9e4d7d04e1fa30c148e92d5648cc6e732b', class: "main-action-icon" }, h("mds-icon", { key: '2adcfda7a2c73f6ee6d513cdf1916d0e01955bf4', class: "icon", name: miOutlineFileUpload })), h("mds-text", { key: '2d1c444a37e3fe17bdf15ea10fdad6699bf9b5df', animation: this.animateText ? 'yugop' : 'none', variant: "title", typography: "action", text: this.dragging
|
|
405
405
|
? this.t.get('dragEnter')
|
|
406
|
-
: this.t.get('clickOrDrag', { maxFiles: this.maxFiles }) })), h("div", { key: '
|
|
406
|
+
: this.t.get('clickOrDrag', { maxFiles: this.maxFiles }) })), h("div", { key: 'ab001186111d284c3d7f74c5c29580866605525e', class: "main-actions" }, h("mds-button", { key: '76a5939f7e8ee831d005a136d1aa12838c91dcde', variant: "primary", disabled: this.isDisabled(), onClick: this.handleAddFileClick, label: this.files != null
|
|
407
407
|
? this.t.get('addFile', { maxFiles: this.maxFiles })
|
|
408
|
-
: this.t.get('selectFile') }), this.files.length > 0 && (h("mds-button", { key: '
|
|
408
|
+
: this.t.get('selectFile') }), this.files.length > 0 && (h("mds-button", { key: '216bd779101caadad50588a449698e083bb639d5', variant: "error", disabled: this.isDisabled(), onClick: this.onReset, label: this.t.get('cancel') }))), h("div", { key: '657fc03606f2670b749f933cf8984f955affcaf5', class: "main-infos" }, h("mds-progress", { key: '5f6db63d678715a325cb3492ca9add73d38003fd', "aria-hidden": "true", class: "progress-bar", progress: this.progress }), this.files.length < 1 ? (h("mds-text", { variant: "info", typography: "caption" }, this.t.get('maxFilesUpload', { maxFiles: this.maxFiles }))) : (h("mds-text", { variant: "info", typography: "caption" }, ((_a = this.maxFiles) !== null && _a !== void 0 ? _a : 0) !== 0 && !Number.isNaN(this.maxFiles)
|
|
409
409
|
? this.t.get('currentFilesWithMax', {
|
|
410
410
|
currentFiles: this.files.length,
|
|
411
411
|
maxFiles: this.maxFiles,
|
|
412
412
|
})
|
|
413
|
-
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length }))))), h("input", { key: '
|
|
413
|
+
: this.t.get('currentFilesNoMax', { currentFiles: this.files.length }))))), h("input", { key: '8b0591eeb2369af5af9cf7004875757dd612b679', type: "file", accept: this.accept, disabled: this.isDisabled(), hidden: true, ref: (i) => (this.nativeInput = i), onChange: this.onInputChange, multiple: this.maxFiles > 1 }), h("div", { key: '43f844eb73f6677bda8918fd89f4d2ca4e82edc7', class: "additional-infos" }, h("div", { key: 'f6f2884c870251f5e65ab64f32f320c18d720acc', class: clsx('file-specs', this.isSortTabShown() && 'file-specs-sort') }, h("mds-text", { key: '9a372b073390de1dce1e44e30daeaca7d4b2a1c3', variant: "info", typography: "caption" }, this.extensions !== ''
|
|
414
414
|
? `${this.t.get('canUpload')} ${this.extensions}`
|
|
415
|
-
: this.t.get('canUploadAll')), h("mds-text", { key: '
|
|
415
|
+
: this.t.get('canUploadAll')), h("mds-text", { key: '6bad15546f6221010ed41283540ee114ab1a7765', variant: "info", typography: "caption" }, this.t.get('maxFileSizePerFile', { maxFileSize: this.maxFileSize }))), this.isSortTabShown() && (h("mds-tab", { key: 'fb05492c64ccfabd14a9509b65c67afc15a62a6f', class: "action-sort", onMdsTabChange: this.handleTabChange }, h("mds-tab-item", { key: 'ba8a791c088c2330f077c2994e41f268076db314', disabled: this.isDisabled(), icon: iconSortById, selected: this.activeSort === 'date', title: this.t.get('sortByDate'), value: "date" }), h("mds-tab-item", { key: '618fcc501afb586f28e6871e420d0e7c5043f7ab', disabled: this.isDisabled(), icon: iconSortByStatus, selected: this.activeSort === 'status', title: this.t.get('sortByStatus'), value: "status" })))), h("div", { key: 'c2504ae43204969deb49677f2a9cdc8b3ecf081d', class: clsx('file-list', this.files.length > this.cssMinCols && 'file-list--more-items') }, this.files.map((file) => {
|
|
416
416
|
switch (file.status) {
|
|
417
417
|
case Status.ERROR:
|
|
418
418
|
return (h("mds-file-preview", { deletable: !this.isDisabled(), variant: "error", filename: file.file.name, filesize: file.file.size.toString(), onMdsFileDelete: this.handleFileDelete(file.key), message: this.t.get(file.errorKey) }));
|